Dotclear

Changeset 18:3b981ecb888d for inc


Ignore:
Timestamp:
04/27/11 16:32:48 (14 years ago)
Author:
Dsls <dsls@…>
Branch:
userprefs
Parents:
16:40836c17e96a (diff), 17:6fc4226eaebd (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:

Merged safe_mode removal on userprefs branch

Files:
2 edited

Legend:

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

    r3 r18  
    131131          '<div id="main">'."\n". 
    132132          '<div id="content">'."\n"; 
    133            
    134           # Recovery mode 
    135           if (isset($_SESSION['sess_safe_mode']) && $_SESSION['sess_safe_mode']) 
    136           { 
    137                echo 
    138                '<div class="error"><h3>'.__('Recovery mode').'</h3>'. 
    139                '<p>'.__('You are in recovery mode means no plugin have been loaded.').'</p>'. 
    140                '</div>'; 
    141           } 
    142133           
    143134          if ($core->error->flag()) { 
  • inc/admin/lib.dc.page.php

    r17 r18  
    118118          '<form action="index.php" method="post"><div>'. 
    119119          $blog_box. 
    120           ' - <a href="'.$core->blog->url.'" class="button">'.__('View site').'</a>'. 
    121           ' - '.__('User:').' <strong>'.$core->auth->userID().'</strong>'. 
    122           ' - <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>'. 
    123126          '</div></form>'. 
    124127          '</div>'; 
     
    153156          echo 
    154157          '</div>'."\n".      // End of #main-menu 
    155           '<div id="footer"><p><img src="images/dotclear_pw.png" alt="Dotclear" /> '. 
    156           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>'. 
    157161          '</p></div>'."\n". 
    158162          "</div>\n";         // End of #wrapper 
     
    319323           
    320324          echo 
    321           '<div id="help"><hr /><div class="help-content"><h2>'.__('Help').'</h2>'. 
     325          '<div id="help"><hr /><div class="help-content clear"><h2>'.__('Help').'</h2>'. 
    322326          $content. 
    323327          '</div></div>'; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map