mirror of
https://github.com/Mibew/i18n.git
synced 2025-02-02 09:34:41 +03:00
Fix paths in login-related forms
This commit is contained in:
parent
4e6eff55e5
commit
621f5951c4
@ -75,7 +75,7 @@ require_once('inc_errors.php');
|
|||||||
<input type="image" name="login" src="<?php echo $webimroot . htmlspecialchars(getlocal("image.button.login")) ?>" alt="<?php echo htmlspecialchars(getlocal("button.enter")) ?>"/>
|
<input type="image" name="login" src="<?php echo $webimroot . htmlspecialchars(getlocal("image.button.login")) ?>" alt="<?php echo htmlspecialchars(getlocal("button.enter")) ?>"/>
|
||||||
|
|
||||||
<div class="links">
|
<div class="links">
|
||||||
<a href="restore.php"><?php echo getlocal("restore.pwd.message") ?></a><br/>
|
<a href="<?php echo $webimroot ?>/operator/restore.php"><?php echo getlocal("restore.pwd.message") ?></a><br/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ function tpl_content() {
|
|||||||
<?php echo getlocal("resetpwd.changed") ?>
|
<?php echo getlocal("resetpwd.changed") ?>
|
||||||
<br/>
|
<br/>
|
||||||
<br/>
|
<br/>
|
||||||
<a href="login.php?login=<?php echo urlencode($page['loginname']) ?>"><?php echo getlocal("resetpwd.login") ?></a>
|
<a href="<?php echo $webimroot ?>/operator/login.php?login=<?php echo urlencode($page['loginname']) ?>"><?php echo getlocal("resetpwd.login") ?></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -91,11 +91,11 @@ require_once('inc_errors.php');
|
|||||||
</tr></table>
|
</tr></table>
|
||||||
|
|
||||||
<div class="links">
|
<div class="links">
|
||||||
<a href="login.php"><?php echo getlocal("restore.back_to_login") ?></a>
|
<a href="<?php echo $webimroot ?>/operator/login.php"><?php echo getlocal("restore.back_to_login") ?></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<?php } else { ?>
|
<?php } else { ?>
|
||||||
<a href="login.php"><?php echo getlocal("restore.back_to_login") ?></a>
|
<a href="<?php echo $webimroot ?>/operator/login.php"><?php echo getlocal("restore.back_to_login") ?></a>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -23,13 +23,13 @@ $page['headertitle'] = getlocal("app.title");
|
|||||||
$page['show_small_login'] = true;
|
$page['show_small_login'] = true;
|
||||||
$page['fixedwrap'] = true;
|
$page['fixedwrap'] = true;
|
||||||
|
|
||||||
function tpl_content() {
|
function tpl_content() {
|
||||||
global $page, $webimroot, $errors;
|
global $page, $webimroot, $errors;
|
||||||
|
|
||||||
if($page['isdone']) {
|
if($page['isdone']) {
|
||||||
?>
|
?>
|
||||||
<div id="loginpane">
|
<div id="loginpane">
|
||||||
<div class="header">
|
<div class="header">
|
||||||
<h2><?php echo getlocal("restore.sent.title") ?></h2>
|
<h2><?php echo getlocal("restore.sent.title") ?></h2>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -37,29 +37,29 @@ function tpl_content() {
|
|||||||
<?php echo getlocal("restore.sent") ?>
|
<?php echo getlocal("restore.sent") ?>
|
||||||
<br/>
|
<br/>
|
||||||
<br/>
|
<br/>
|
||||||
<a href="login.php"><?php echo getlocal("restore.back_to_login") ?></a>
|
<a href="<?php echo $webimroot ?>/operator/login.php"><?php echo getlocal("restore.back_to_login") ?></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
} else {
|
} else {
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<form name="restoreForm" method="post" action="<?php echo $webimroot ?>/operator/restore.php">
|
<form name="restoreForm" method="post" action="<?php echo $webimroot ?>/operator/restore.php">
|
||||||
<div id="loginpane">
|
<div id="loginpane">
|
||||||
|
|
||||||
<div class="header">
|
<div class="header">
|
||||||
<h2><?php echo getlocal("restore.title") ?></h2>
|
<h2><?php echo getlocal("restore.title") ?></h2>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="fieldForm">
|
<div class="fieldForm">
|
||||||
|
|
||||||
<?php echo getlocal("restore.intro") ?><br/><br/>
|
<?php echo getlocal("restore.intro") ?><br/><br/>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
require_once('inc_errors.php');
|
require_once('inc_errors.php');
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<div class="fleftlabel"><?php echo getlocal("restore.emailorlogin") ?></div>
|
<div class="fleftlabel"><?php echo getlocal("restore.emailorlogin") ?></div>
|
||||||
<div class="fvalue">
|
<div class="fvalue">
|
||||||
@ -71,11 +71,11 @@ require_once('inc_errors.php');
|
|||||||
<div class="fbutton">
|
<div class="fbutton">
|
||||||
<table class="submitbutton"><tr>
|
<table class="submitbutton"><tr>
|
||||||
<td><a href="javascript:document.restoreForm.submit();">
|
<td><a href="javascript:document.restoreForm.submit();">
|
||||||
<img src='<?php echo $webimroot ?>/images/submit.gif' width="40" height="35" border="0" alt="" /></a></td>
|
<img src="<?php echo $webimroot ?>/images/submit.gif" width="40" height="35" border="0" alt="" /></a></td>
|
||||||
<td class="submit"><a href="javascript:document.restoreForm.submit();">
|
<td class="submit"><a href="javascript:document.restoreForm.submit();">
|
||||||
<?php echo getlocal("restore.submit") ?></a></td>
|
<?php echo getlocal("restore.submit") ?></a></td>
|
||||||
<td><a href="javascript:document.restoreForm.submit();">
|
<td><a href="javascript:document.restoreForm.submit();">
|
||||||
<img src='<?php echo $webimroot ?>/images/submitrest.gif' width="10" height="35" border="0" alt="" /></a></td>
|
<img src="<?php echo $webimroot ?>/images/submitrest.gif" width="10" height="35" border="0" alt="" /></a></td>
|
||||||
</tr></table>
|
</tr></table>
|
||||||
|
|
||||||
<div class="links">
|
<div class="links">
|
||||||
@ -85,10 +85,10 @@ require_once('inc_errors.php');
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
} /* content */
|
} /* content */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user