Changeset 46:36f4421937ed for inc/admin/lib.dc.page.php
- Timestamp:
- 04/29/11 10:08:59 (14 years ago)
- Branch:
- userprefs
- Children:
- 48:0891631a2623, 52:9a388f5e4e3a
- Parents:
- 45:282249d3b55d (diff), 43:bd53e32fe98b (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
r45 r46 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.