X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FOpenID%2FOpenIDPlugin.php;h=ed6d6534c09dbdaff0ebef609fabd235cee9b628;hb=ae3eaee6cd5f67b0260abf30c3517072e372e270;hp=023ff8e86d2e26c0ce39fee9c792713a5a05aef7;hpb=7d64d8c78cfa102b91975598ef9e574d2ef14b8c;p=quix0rs-gnu-social.git diff --git a/plugins/OpenID/OpenIDPlugin.php b/plugins/OpenID/OpenIDPlugin.php index 023ff8e86d..ed6d6534c0 100644 --- a/plugins/OpenID/OpenIDPlugin.php +++ b/plugins/OpenID/OpenIDPlugin.php @@ -536,15 +536,12 @@ class OpenIDPlugin extends Plugin * * @return boolean hook value */ - function onEndLoadDoc($title, &$output) - { - if ($title == 'help') { - // TRANS: Item on help page. This message contains Markdown links in the form [description](link). - $menuitem = _m('* [OpenID](%%doc.openid%%) - What OpenID is and how to use it with this service.'); - - $output .= common_markup_to_html($menuitem); - } - + function onEndDocsMenu(&$items) { + $items[] = array('doc', + array('title' => 'openid'), + _m('MENU', 'OpenID'), + _('Logging in with OpenID'), + 'nav_doc_openid'); return true; }