Changeset 45:282249d3b55d for inc/admin
- Timestamp:
- 04/29/11 10:06:34 (14 years ago)
- Branch:
- userprefs
- Parents:
- 39:859596664e23 (diff), 37:89b90dfd3913 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/admin/lib.dc.page.php
r37 r45 76 76 } 77 77 78 $safe_mode = isset($_SESSION['sess_safe_mode']) && $_SESSION['sess_safe_mode'];79 80 78 # Display 81 79 header('Content-Type: text/html; charset=UTF-8'); … … 111 109 echo 112 110 "</head>\n". 113 '<body id="dotclear-admin'. 114 ($safe_mode ? ' safe-mode' : ''). 115 '">'."\n". 111 '<body id="dotclear-admin">'."\n". 116 112 117 113 '<div id="top"><h1><a href="index.php">'.DC_VENDOR_NAME.'</a></h1></div>'."\n"; … … 122 118 '<form action="index.php" method="post"><div>'. 123 119 $blog_box. 124 ' - <a href="'.$core->blog->url.'" class="button">'.__('View site').'</a>'. 125 ' - '.__('User:').' <strong>'.$core->auth->userID().'</strong>'. 126 ' - <a href="index.php?logout=1" class="logout">'.__('Logout').'</a>'. 120 '<a href="'.$core->blog->url.'"onclick="window.open(this.href);return false;" title="'.__('Go to site').' ('.__('new window').')'.'">'.__('Go to site').' <img src="images/outgoing.png" alt="" /></a>'. 121 '</div></form>'. 122 '</div>'. 123 '<div id="info-box2"><form action="index.php" method="post><div>"'. 124 ' '.__('User:').' <strong>'.$core->auth->userID().'</strong>'. 125 ' - <a href="index.php?logout=1" class="logout">'.__('Logout').' <img src="images/logout.png" alt="" /></a>'. 127 126 '</div></form>'. 128 127 '</div>'; … … 132 131 '<div id="main">'."\n". 133 132 '<div id="content">'."\n"; 134 135 # Safe mode136 if ($safe_mode)137 {138 echo139 '<div class="error"><h3>'.__('Safe mode').'</h3>'.140 '<p>'.__('You are in safe mode. All plugins have been temporarily disabled. Remind to log out then log in again normally to get back all functionalities').'</p>'.141 '</div>';142 }143 133 144 134 if ($core->error->flag()) { … … 166 156 echo 167 157 '</div>'."\n". // End of #main-menu 168 '<div id="footer"><p><img src="images/dotclear_pw.png" alt="Dotclear" /> '. 169 sprintf(__('Thank you for using %s.'),'<a href="http://dotclear.org/">Dotclear</a>'). 158 '<div id="footer"><p>'. 159 sprintf(__('Thank you for using %s.'),'<a href="http://dotclear.org/">Dotclear '.DC_VERSION.'</a>'). 160 ' <span class="credit"> (Icons by <a href="http://dryicons.com/">Dryicons</a>)</span>'. 170 161 '</p></div>'."\n". 171 162 "</div>\n"; // End of #wrapper … … 332 323 333 324 echo 334 '<div id="help"><hr /><div class="help-content "><h2>'.__('Help').'</h2>'.325 '<div id="help"><hr /><div class="help-content clear"><h2>'.__('Help').'</h2>'. 335 326 $content. 336 327 '</div></div>';
Note: See TracChangeset
for help on using the changeset viewer.