Changeset 2720:bc400ebfc2e9 for admin/auth.php
- Timestamp:
- 06/19/14 16:56:47 (11 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/auth.php
r2566 r2720 16 16 if (isset($_SESSION['sess_user_id'])) 17 17 { 18 http::redirect( 'index.php');18 http::redirect($core->adminurl->get('admin.home')); 19 19 } 20 20 … … 185 185 } 186 186 187 http::redirect( 'index.php');187 http::redirect($core->adminurl->get('admin.home')); 188 188 } 189 189 catch (Exception $e) … … 243 243 } 244 244 245 http::redirect( 'index.php');245 http::redirect($core->adminurl->get('admin.home')); 246 246 } 247 247 else … … 326 326 <body id="dotclear-admin" class="auth"> 327 327 328 <form action=" auth.php" method="post" id="login-screen">328 <form action="<?php echo $core->adminurl->get('admin.auth'); ?>" method="post" id="login-screen"> 329 329 <h1><?php echo html::escapeHTML(DC_VENDOR_NAME); ?></h1> 330 330 … … 339 339 if ($akey) 340 340 { 341 echo '<p><a href=" auth.php">'.__('Back to login screen').'</a></p>';341 echo '<p><a href="'.$core->adminurl->get('admin.auth').'">'.__('Back to login screen').'</a></p>'; 342 342 } 343 343 elseif ($recover) … … 356 356 357 357 '<div id="issue">'. 358 '<p><a href=" auth.php">'.__('Back to login screen').'</a></p>'.358 '<p><a href="'.$core->adminurl->get('admin.auth').'">'.__('Back to login screen').'</a></p>'. 359 359 '</div>'; 360 360 } … … 426 426 if ($safe_mode) { 427 427 echo 428 '<p><a href=" auth.php" id="normal_mode_link">'.__('Get back to normal authentication').'</a></p>';428 '<p><a href="'.$core->adminurl->get('admin.auth').'" id="normal_mode_link">'.__('Get back to normal authentication').'</a></p>'; 429 429 } else { 430 430 echo '<p id="more"><strong>'.__('Connection issue?').'</strong></p>'; 431 431 if ($core->auth->allowPassChange()) { 432 echo '<p><a href=" auth.php?recover=1">'.__('I forgot my password').'</a></p>';432 echo '<p><a href="'.$core->adminurl->get('admin.auth',array('recover' => 1)).'">'.__('I forgot my password').'</a></p>'; 433 433 } 434 echo '<p><a href=" auth.php?safe_mode=1" id="safe_mode_link">'.__('I want to log in in safe mode').'</a></p>';434 echo '<p><a href="'.$core->adminurl->get('admin.auth',array('safe_mode' => 1)).'" id="safe_mode_link">'.__('I want to log in in safe mode').'</a></p>'; 435 435 } 436 436
Note: See TracChangeset
for help on using the changeset viewer.