3 class YammerAuthVerifyForm extends Form
7 function __construct($out, $auth_url)
9 parent::__construct($out);
10 $this->verify_url = $auth_url;
16 * @return int ID of the form
21 return 'yammer-auth-verify-form';
28 * @return string of the form class
33 return 'form_yammer_auth_verify';
40 * @return string URL of the action
45 return common_local_url('yammeradminpanel');
56 $this->out->element('legend', null, _m('Connect to Yammer'));
60 * Data elements of the form
75 function formActions()
77 $this->out->input('verify-code', _m('Verification code:'), '', _m("Click through and paste the code it gives you below..."));
78 $this->out->submit('submit', _m('Verify code'), 'submit', null, _m('Verification code'));
79 $this->element('iframe', array('id' => 'yammer-oauth',
80 'src' => $this->auth_url));