Changeset 42:aba6d23140fc for inc
- Timestamp:
- 04/29/11 08:32:10 (14 years ago)
- Branch:
- userprefs
- Parents:
- 41:54016742931c (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. - Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/admin/lib.dc.page.php
r37 r42 122 122 '<form action="index.php" method="post"><div>'. 123 123 $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>'. 124 '<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>'. 125 '</div></form>'. 126 '</div>'. 127 '<div id="info-box2"><form action="index.php" method="post><div>"'. 128 ' '.__('User:').' <strong>'.$core->auth->userID().'</strong>'. 129 ' - <a href="index.php?logout=1" class="logout">'.__('Logout').' <img src="images/logout.png" alt="" /></a>'. 127 130 '</div></form>'. 128 131 '</div>'; … … 166 169 echo 167 170 '</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>'). 171 '<div id="footer"><p>'. 172 sprintf(__('Thank you for using %s.'),'<a href="http://dotclear.org/">Dotclear '.DC_VERSION.'</a>'). 173 ' <span class="credit"> (Icons by <a href="http://dryicons.com/">Dryicons</a>)</span>'. 170 174 '</p></div>'."\n". 171 175 "</div>\n"; // End of #wrapper … … 332 336 333 337 echo 334 '<div id="help"><hr /><div class="help-content "><h2>'.__('Help').'</h2>'.338 '<div id="help"><hr /><div class="help-content clear"><h2>'.__('Help').'</h2>'. 335 339 $content. 336 340 '</div></div>'; -
inc/admin/lib.dc.page.php
r18 r42 76 76 } 77 77 78 $safe_mode = isset($_SESSION['sess_safe_mode']) && $_SESSION['sess_safe_mode']; 79 78 80 # Display 79 81 header('Content-Type: text/html; charset=UTF-8'); … … 109 111 echo 110 112 "</head>\n". 111 '<body id="dotclear-admin">'."\n". 113 '<body id="dotclear-admin'. 114 ($safe_mode ? ' safe-mode' : ''). 115 '">'."\n". 112 116 113 117 '<div id="top"><h1><a href="index.php">'.DC_VENDOR_NAME.'</a></h1></div>'."\n"; … … 131 135 '<div id="main">'."\n". 132 136 '<div id="content">'."\n"; 137 138 # Safe mode 139 if ($safe_mode) 140 { 141 echo 142 '<div class="error"><h3>'.__('Safe mode').'</h3>'. 143 '<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>'. 144 '</div>'; 145 } 133 146 134 147 if ($core->error->flag()) {
Note: See TracChangeset
for help on using the changeset viewer.