Changeset 2720:bc400ebfc2e9 for admin/index.php
- Timestamp:
- 06/19/14 16:56:47 (11 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/index.php
r2708 r2720 21 21 try { 22 22 $core->setUserDefaultBlog($core->auth->userID(),$core->blog->id); 23 http::redirect( 'index.php');23 http::redirect($core->adminurl->get("admin.home")); 24 24 } catch (Exception $e) { 25 25 $core->error->add($e->getMessage()); … … 36 36 setcookie('dc_admin',false,-600,'','',DC_ADMIN_SSL); 37 37 } 38 http::redirect( 'auth.php');38 http::redirect($core->adminurl->get("admin.auth")); 39 39 exit; 40 40 } … … 193 193 echo 194 194 '<div class="dc-update"><h3>'.sprintf(__('Dotclear %s is available!'),$new_v).'</h3> '. 195 '<p><a class="button submit" href=" update.php">'.sprintf(__('Upgrade now'),$new_v).'</a> '.196 '<a class="button" href=" update.php?hide_msg=1">'.__('Remind me later').'</a>'.195 '<p><a class="button submit" href="'.$core->adminurl->get("admin.update").'">'.sprintf(__('Upgrade now'),$new_v).'</a> '. 196 '<a class="button" href="'.$core->adminurl->get("admin.update", array('hide_msg' => 1)).'">'.__('Remind me later').'</a>'. 197 197 ($version_info ? ' </p>'. 198 198 '<p class="updt-info"><a href="'.$version_info.'">'.__('Information about this version').'</a>' : '').'</p>'. … … 203 203 if ($core->auth->getInfo('user_default_blog') != $core->blog->id && $core->auth->getBlogCount() > 1) { 204 204 echo 205 '<p><a href=" index.php?default_blog=1" class="button">'.__('Make this blog my default blog').'</a></p>';205 '<p><a href="'.$core->adminurl->get("admin.home",array('default_blog' => 1)).'" class="button">'.__('Make this blog my default blog').'</a></p>'; 206 206 } 207 207
Note: See TracChangeset
for help on using the changeset viewer.