summaryrefslogtreecommitdiff
path: root/plugins/YammerImport/lib/yammerauthverifyform.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/YammerImport/lib/yammerauthverifyform.php')
-rw-r--r--plugins/YammerImport/lib/yammerauthverifyform.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/plugins/YammerImport/lib/yammerauthverifyform.php b/plugins/YammerImport/lib/yammerauthverifyform.php
index dc9d2ce1b..96decea10 100644
--- a/plugins/YammerImport/lib/yammerauthverifyform.php
+++ b/plugins/YammerImport/lib/yammerauthverifyform.php
@@ -65,8 +65,17 @@ class YammerAuthVerifyForm extends Form
function formData()
{
$this->out->input('verify_token', _m('Verification code:'), '', _m("Click through and paste the code it gives you below..."));
+
+ // iframe would be nice to avoid leaving -- since they don't seem to have callback url O_O
+ /*
$this->out->element('iframe', array('id' => 'yammer-oauth',
'src' => $this->runner->getAuthUrl()));
+ */
+ // yeah, it ignores the callback_url
+ $this->out->element('a',
+ array('href' => $this->runner->getAuthUrl(),
+ 'target' => '_blank'),
+ 'clicky click');
}
/**