/** * * * @return string */ private function _getButton() { $Url = $this->authorizeUri(); return socialSigninButton('Facebook', $Url, 'icon', array('rel' => 'nofollow')); }
/** * * * @return string */ private function _getButton() { $Url = $this->_authorizeHref(); return socialSigninButton('Twitter', $Url, 'icon', array('class' => 'js-extern', 'rel' => 'nofollow')); }
/** * * * @return string */ private function _getButton() { if ($this->signInAllowed()) { $Url = $this->_authorizeHref(); return socialSigninButton('OpenID', $Url, 'icon', array('class' => 'js-extern', 'rel' => 'nofollow')); } }
/** * @param Gdn_Controller $Sender */ public function entryController_signIn_handler($Sender, $Args) { $Provider = $this->provider(); if (!$Provider) { return; } if (isset($Sender->Data['Methods'])) { $Url = $this->authorizeUri(); // Add the Disqus method to the controller. $Method = array('Name' => 'Disqus', 'SignInHtml' => socialSigninButton('Disqus', $Url, 'button')); $Sender->Data['Methods'][] = $Method; } }