3 class YammerAuthInitForm extends Form
8 * @return int ID of the form
13 return 'yammer-auth-init-form';
20 * @return string of the form class
25 return 'form_yammer_auth_init form_settings';
32 * @return string URL of the action
37 return common_local_url('yammeradminpanel');
48 // TRANS: Form legend.
49 $this->out->element('legend', null, _m('Connect to Yammer'));
53 * Data elements of the form
60 $this->out->hidden('subaction', 'authinit');
62 $this->out->elementStart('fieldset');
63 // TRANS: Button text for starting Yammer authentication.
64 $this->out->submit('submit', _m('BUTTON','Start authentication'),
65 // TRANS: Button title for starting Yammer authentication.
66 'submit', null, _m('Request authorization to connect to a Yammer account.'));
67 // TRANS: Button text for starting changing a Yammer API key.
68 $this->out->submit('change-apikey', _m('BUTTON','Change API key'));
69 $this->out->elementEnd('fieldset');
78 function formActions()