Changeset 2005:7c2f3454ba94 for inc/admin/lib.dc.page.php
- Timestamp:
- 09/22/13 15:07:08 (12 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/admin/lib.dc.page.php
r1947 r2005 73 73 } 74 74 $blog_box = 75 '<p><label for="switchblog" class="classic nomobile">'.75 '<p><label for="switchblog" class="classic">'. 76 76 __('Blogs:').'</label> '. 77 77 $core->formNonce(). 78 78 form::combo('switchblog',$blogs,$core->blog->id). 79 '</p>'. 80 '<p class="hidden-if-js"><input type="submit" value="'.__('ok').'" /></p>'; 79 '<input type="submit" value="'.__('ok').'" class="hidden-if-js" /></p>'; 81 80 } 82 81 … … 125 124 ($safe_mode ? ' safe-mode' : '').'" class="no-js">'."\n". 126 125 127 '<div id="header">'.128 126 '<ul id="prelude">'. 129 127 '<li><a href="#content">'.__('Go to the content').'</a></li>'. … … 131 129 '<li><a href="#qx">'.__('Go to search').'</a></li>'. 132 130 '</ul>'."\n". 133 '<div id="top"><h1><a href="index.php">'.DC_VENDOR_NAME.'</a></h1></div>'."\n"; 134 135 echo 136 '<div id="info-boxes">'. 137 '<div id="info-box1">'. 138 '<form action="index.php" method="post">'. 131 '<div id="header">'. 132 '<h1><a href="index.php"><span class="hidden">'.DC_VENDOR_NAME.'</span></a></h1>'."\n"; 133 134 echo 135 '<form action="index.php" method="post" id="top-info-blog">'. 139 136 $blog_box. 140 '<p class="nomobile"><a href="'.$core->blog->url.'" onclick="window.open(this.href);return false;" title="'.__('Go to site').137 '<p><a href="'.$core->blog->url.'" onclick="window.open(this.href);return false;" title="'.__('Go to site'). 141 138 ' ('.__('new window').')'.'">'.__('Go to site').'<img src="images/outgoing.png" alt="" /></a>'. 142 139 '</p></form>'. 143 '</div>'. 144 '<div id="info-box2">'. 145 '<a class="smallscreen'.(preg_match('/index.php$/',$_SERVER['REQUEST_URI']) ? ' active' : '').'" href="index.php">'.__('My dashboard').'</a>'. 146 '<span class="smallscreen"> | </span><a class="smallscreen'.(preg_match('/preferences.php(\?.*)?$/',$_SERVER['REQUEST_URI']) ? ' active' : ''). 147 '" href="preferences.php">'.__('My preferences').'</a>'. 148 '<span class="smallscreen"> | </span><a href="index.php?logout=1" class="logout">'.sprintf(__('Logout %s'),$core->auth->userID()). 149 '<img src="images/logout.png" alt="" /></a>'. 150 '</div>'. 151 '</div>'. 152 '</div>'; 140 '<ul id="top-info-user">'. 141 '<li><a class="'.(preg_match('/index.php$/',$_SERVER['REQUEST_URI']) ? ' active' : '').'" href="index.php">'.__('My dashboard').'</a></li>'. 142 '<li><a class="smallscreen'.(preg_match('/preferences.php(\?.*)?$/',$_SERVER['REQUEST_URI']) ? ' active' : ''). 143 '" href="preferences.php">'.__('My preferences').'</a></li>'. 144 '<li><a href="index.php?logout=1" class="logout">'.sprintf(__('Logout %s'),$core->auth->userID()). 145 '<img src="images/logout.png" alt="" /></a></li>'. 146 '</ul>'. 147 '</div>'; // end header 153 148 154 149 echo
Note: See TracChangeset
for help on using the changeset viewer.