out->element('legend', null, _m('Connect to Yammer')); } /** * Data elements of the form * * @return void */ function formData() { $this->out->hidden('subaction', 'authinit'); $this->out->elementStart('fieldset'); // TRANS: Button text for starting Yammer authentication. $this->out->submit('submit', _m('BUTTON','Start authentication'), // TRANS: Button title for starting Yammer authentication. 'submit', null, _m('Request authorization to connect to a Yammer account.')); // TRANS: Button text for starting changing a Yammer API key. $this->out->submit('change-apikey', _m('BUTTON','Change API key')); $this->out->elementEnd('fieldset'); } /** * Action elements * * @return void */ function formActions() { } }