Dotclear


Ignore:
Timestamp:
04/29/11 10:08:59 (14 years ago)
Author:
kozlika
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.
Message:

Merge

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/admin/lib.dc.page.php

    r45 r46  
    7676          } 
    7777           
     78          $safe_mode = isset($_SESSION['sess_safe_mode']) && $_SESSION['sess_safe_mode']; 
     79           
    7880          # Display 
    7981          header('Content-Type: text/html; charset=UTF-8'); 
     
    109111          echo 
    110112          "</head>\n". 
    111           '<body id="dotclear-admin">'."\n". 
     113          '<body id="dotclear-admin'. 
     114          ($safe_mode ? ' safe-mode' : ''). 
     115          '">'."\n". 
    112116           
    113117          '<div id="top"><h1><a href="index.php">'.DC_VENDOR_NAME.'</a></h1></div>'."\n"; 
     
    131135          '<div id="main">'."\n". 
    132136          '<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          } 
    133146           
    134147          if ($core->error->flag()) { 
Note: See TracChangeset for help on using the changeset viewer.

Sites map