Changeset 489:2e9dba880461 for inc/admin
- Timestamp:
- 07/02/11 16:07:33 (14 years ago)
- Branch:
- default
- Location:
- inc/admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/admin/lib.dc.page.php
r485 r489 123 123 '">'."\n". 124 124 125 '<div id=header>'. 125 126 '<ul id="prelude"><li><a href="#content">Aller au contenu</a></li><li><a href="#main-menu">Aller au menu</a></li></ul>'."\n". 126 '<div id="top"><h1><a href="index.php">'.DC_VENDOR_NAME.'</a></h1></div>'."\n"; 127 128 129 echo130 '<div id="info-box ">'.131 '<form action="index.php" method="post"> <div>'.127 '<div id="top"><h1><a href="index.php">'.DC_VENDOR_NAME.'</a></h1></div>'."\n"; 128 129 echo 130 '<div id="info-boxes">'. 131 '<div id="info-box1">'. 132 '<form action="index.php" method="post">'. 132 133 $blog_box. 133 134 '<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>'. 134 '</ div></form>'.135 '</form>'. 135 136 '</div>'. 136 '<div id="info-box2"><div>'. 137 ' <a'.(preg_match('/preferences.php(\?.*)?$/',$_SERVER['REQUEST_URI']) ? ' class="active"' : '').' href="preferences.php">'.__('My preferences').'</a>'. 138 ' | <a href="index.php?logout=1" class="logout">'.sprintf(__('Logout %s'),$core->auth->userID()).' <img src="images/logout.png" alt="" /></a>'. 137 '<div id="info-box2">'. 138 '<a'.(preg_match('/index.php$/',$_SERVER['REQUEST_URI']) ? ' class="active"' : '').' href="index.php">'.__('My dashboard').'</a>'. 139 '<span> | </span><a'.(preg_match('/preferences.php(\?.*)?$/',$_SERVER['REQUEST_URI']) ? ' class="active"' : '').' href="preferences.php">'.__('My preferences').'</a>'. 140 '<span> | </span><a href="index.php?logout=1" class="logout">'.sprintf(__('Logout %s'),$core->auth->userID()).' <img src="images/logout.png" alt="" /></a>'. 141 '</div>'. 139 142 '</div>'. 140 143 '</div>'; -
inc/admin/prepend.php
r484 r489 267 267 } 268 268 */ 269 $_menu['Dashboard']->prependItem(__('Dashboard'),'index.php','images/menu/dashboard.png',270 preg_match('/index.php$/',$_SERVER['REQUEST_URI']),271 $core->auth->check('usage,contentadmin',$core->blog->id));272 273 269 $_menu['Blog']->prependItem(__('Blog appearance'),'blog_theme.php','images/menu/themes.png', 274 270 preg_match('/blog_theme.php(\?.*)?$/',$_SERVER['REQUEST_URI']),
Note: See TracChangeset
for help on using the changeset viewer.