Changeset 2720:bc400ebfc2e9 for inc/admin/lib.dc.page.php
- Timestamp:
- 06/19/14 16:56:47 (11 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/admin/lib.dc.page.php
r2614 r2720 66 66 67 67 if ($core->auth->getBlogCount() > 20) { 68 $blog_box .= ' - <a href=" blogs.php">'.__('Change blog').'</a>';68 $blog_box .= ' - <a href="'.$core->adminurl->get("admin.blogs").'">'.__('Change blog').'</a>'; 69 69 } 70 70 $blog_box .= '</p>'; … … 137 137 '</ul>'."\n". 138 138 '<div id="header">'. 139 '<h1><a href=" index.php"><span class="hidden">'.DC_VENDOR_NAME.'</span></a></h1>'."\n";140 141 echo 142 '<form action=" index.php" method="post" id="top-info-blog">'.139 '<h1><a href="'.$core->adminurl->get("admin.home").'"><span class="hidden">'.DC_VENDOR_NAME.'</span></a></h1>'."\n"; 140 141 echo 142 '<form action="'.$core->adminurl->get("admin.home").'" method="post" id="top-info-blog">'. 143 143 $blog_box. 144 144 '<p><a href="'.$core->blog->url.'" class="outgoing" title="'.__('Go to site'). … … 146 146 '</p></form>'. 147 147 '<ul id="top-info-user">'. 148 '<li><a class="'.(preg_match('/index.php$/',$_SERVER['REQUEST_URI']) ? ' active' : '').'" href=" index.php">'.__('My dashboard').'</a></li>'.148 '<li><a class="'.(preg_match('/index.php$/',$_SERVER['REQUEST_URI']) ? ' active' : '').'" href="'.$core->adminurl->get("admin.home").'">'.__('My dashboard').'</a></li>'. 149 149 '<li><a class="smallscreen'.(preg_match('/preferences.php(\?.*)?$/',$_SERVER['REQUEST_URI']) ? ' active' : ''). 150 '" href=" preferences.php">'.__('My preferences').'</a></li>'.151 '<li><a href=" index.php?logout=1" class="logout"><span class="nomobile">'.sprintf(__('Logout %s'),$core->auth->userID()).150 '" href="'.$core->adminurl->get("admin.user.preferences").'">'.__('My preferences').'</a></li>'. 151 '<li><a href="'.$core->adminurl->get("admin.home",array('logout' => 1)).'" class="logout"><span class="nomobile">'.sprintf(__('Logout %s'),$core->auth->userID()). 152 152 '</span><img src="images/logout.png" alt="" /></a></li>'. 153 153 '</ul>'. … … 255 255 if (!$GLOBALS['__resources']['ctxhelp']) { 256 256 echo 257 '<p id="help-button"><a href=" help.php" class="outgoing" title="'.257 '<p id="help-button"><a href="'.$core->adminurl->get("admin.help").'" class="outgoing" title="'. 258 258 __('Global help').'">'.__('Global help').'</a></p>'; 259 259 } … … 267 267 '<div id="main-menu">'."\n". 268 268 269 '<form id="search-menu" action=" search.php" method="get">'.269 '<form id="search-menu" action="'.$core->adminurl->get("admin.search").'" method="get">'. 270 270 '<p><label for="qx" class="hidden">'.__('Search:').' </label>'.form::field('qx',30,255,''). 271 271 '<input type="submit" value="'.__('OK').'" /></p>'. … … 374 374 public static function breadcrumb($elements=null,$options=array()) 375 375 { 376 global $core; 376 377 $with_home_link = isset($options['home_link'])?$options['home_link']:true; 377 378 $hl = isset($options['hl'])?$options['hl']:true; … … 379 380 // First item of array elements should be blog's name, System or Plugins 380 381 $res = '<h2>'.($with_home_link ? 381 '<a class="go_home" href=" index.php"><img src="style/dashboard.png" alt="'.__('Go to dashboard').'" /></a>' :382 '<a class="go_home" href="'.$core->adminurl->get("admin.home").'"><img src="style/dashboard.png" alt="'.__('Go to dashboard').'" /></a>' : 382 383 '<img src="style/dashboard-alt.png" alt="" />'); 383 384 $index = 0; … … 473 474 public static function helpBlock() 474 475 { 476 global $core; 475 477 $args = func_get_args(); 476 478 … … 526 528 '<div id="helplink"><hr />'. 527 529 '<p>'. 528 sprintf(__('See also %s'),sprintf('<a href=" help.php">%s</a>',__('the global help'))).530 sprintf(__('See also %s'),sprintf('<a href="'.$core->adminurl->get("admin.help").'">%s</a>',__('the global help'))). 529 531 '.</p>'. 530 532 '</div></div>'; … … 829 831 } 830 832 831 833 832 834 public static function jsToolBar() 833 835 {
Note: See TracChangeset
for help on using the changeset viewer.