Dotclear

Changeset 45:282249d3b55d for inc/admin


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

Correction des formulaires, étape 2

File:
1 edited

Legend:

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

    r37 r45  
    7676          } 
    7777           
    78           $safe_mode = isset($_SESSION['sess_safe_mode']) && $_SESSION['sess_safe_mode']; 
    79            
    8078          # Display 
    8179          header('Content-Type: text/html; charset=UTF-8'); 
     
    111109          echo 
    112110          "</head>\n". 
    113           '<body id="dotclear-admin'. 
    114           ($safe_mode ? ' safe-mode' : ''). 
    115           '">'."\n". 
     111          '<body id="dotclear-admin">'."\n". 
    116112           
    117113          '<div id="top"><h1><a href="index.php">'.DC_VENDOR_NAME.'</a></h1></div>'."\n"; 
     
    122118          '<form action="index.php" method="post"><div>'. 
    123119          $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>'. 
    127126          '</div></form>'. 
    128127          '</div>'; 
     
    132131          '<div id="main">'."\n". 
    133132          '<div id="content">'."\n"; 
    134            
    135           # Safe mode 
    136           if ($safe_mode) 
    137           { 
    138                echo 
    139                '<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           } 
    143133           
    144134          if ($core->error->flag()) { 
     
    166156          echo 
    167157          '</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>'. 
    170161          '</p></div>'."\n". 
    171162          "</div>\n";         // End of #wrapper 
     
    332323           
    333324          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>'. 
    335326          $content. 
    336327          '</div></div>'; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map