mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
- simplyfied code
This commit is contained in:
parent
7990a1caef
commit
30bf179ea2
|
@ -30,16 +30,11 @@ UI::pageNavigation(getMLText("password_forgotten"));
|
|||
<?php UI::contentContainerStart(); ?>
|
||||
<form action="../op/op.PasswordForgotten.php" method="post" name="form1" onsubmit="return checkForm();">
|
||||
<?php
|
||||
if (isset($_GET["referuri"]) && strlen($_GET["referuri"])>0) {
|
||||
$refer=$_GET["referuri"];
|
||||
}
|
||||
else if (isset($_POST["referuri"]) && strlen($_POST["referuri"])>0) {
|
||||
$refer=$_POST["referuri"];
|
||||
}
|
||||
if (isset($refer) && strlen($refer)>0) {
|
||||
echo "<input type='hidden' name='referuri' value='".$refer."'/>";
|
||||
if (isset($_REQUEST["referuri"]) && strlen($_REQUEST["referuri"])>0) {
|
||||
echo "<input type='hidden' name='referuri' value='".$_REQUEST["referuri"]."'/>";
|
||||
}
|
||||
?>
|
||||
<p><?php printMLText("password_forgotten_text"); ?></p>
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td><?php printMLText("login");?></td>
|
||||
|
|
Loading…
Reference in New Issue
Block a user