r104133 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r104132‎ | r104133 | r104134 >
Date:02:45, 24 November 2011
Author:preilly
Status:resolved
Tags:
Comment:
add logout link to footer
Modified paths:
  • /trunk/extensions/MobileFrontend/views/layout/_footmenu_default.html.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MobileFrontend/views/layout/_footmenu_default.html.php
@@ -19,13 +19,15 @@
2020 $imagesURL = self::$enableImagesURL;
2121 }
2222
 23+$logoutLink = ( $logoutHtml ) ? ' | ' . $logoutHtml : '';
 24+
2325 $feedbackLink = ( self::$code == 'en' && self::$isBetaGroupMember ) ? "| <a href=\"{$leaveFeedbackURL}\">{$leaveFeedback}</a>" : '';
2426
2527 $footerHtml = <<<EOD
2628 <div id='footer'>
2729 <div class='nav' id='footmenu'>
2830 <div class='mwm-notice'>
29 - <a href="{$viewNormalSiteURL}">{$regularSite}</a> | <a href="{$imagesURL}">{$imagesToggle}</a> {$feedbackLink}
 31+ <a href="{$viewNormalSiteURL}">{$regularSite}</a> | <a href="{$imagesURL}">{$imagesToggle}</a> {$feedbackLink} {$logoutLink}
3032 <div id="perm">
3133 <a href="{$disableMobileSiteURL}">{$permStopRedirect}</a>
3234 </div>

Follow-up revisions

RevisionCommit summaryAuthorDate
r104502Undefined variable: logoutHtmlpreilly22:52, 28 November 2011

Status & tagging log