You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cacert-webdb/pages/wot/5.php

67 lines
2.5 KiB
PHTML

<? /*
Copyright (C) 2004 by Duane Groth <duane_at_CAcert_dot_org>
This file is part of CAcert.
CAcert has been released under the CAcert Source License
which can be found included with these source files or can
be downloaded from the internet from the following address:
http://www.cacert.org/src-lic.php
CAcert is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the License for more details.
18 years ago
*/
include_once("../includes/shutdown.php");
?>
<? if($_SESSION['_config']['error'] != "") { ?><div color="orange"><?=_("ERROR")?>: <?=$_SESSION['_config']['error']?></div><? unset($_SESSION['_config']['error']); } ?>
20 years ago
<? if($_SESSION['_config']['noemailfound'] == 1) { ?>
<form method="post" action="wot.php">
17 years ago
<input type="hidden" name="email" value="<?=sanitizeHTML($_POST['email'])?>"><br>
19 years ago
<select name="reminder-lang">
<?
if($_SESSION['_config']['reminder-lang'] == "")
$_SESSION['_config']['reminder-lang'] = $_SESSION['profile']['language'];
foreach($_SESSION['_config']['translations'] as $key => $val)
{
echo "<option value='$key'";
if($key == $_SESSION['_config']['reminder-lang'])
echo " selected";
echo ">$val</option>\n";
}
?>
</select><br>
20 years ago
<input type="hidden" name="oldid" value="<?=$id?>">
<input type="submit" name="reminder" value="<?=_("Send reminder notice")?>">
</form>
<? unset($_SESSION['_config']['noemailfound']); } ?>
18 years ago
<form method="post" action="wot.php" name="form1">
<table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper">
<tr>
20 years ago
<td colspan="2" class="title"><?=_("Assure Someone")?></td>
</tr>
<tr>
<td class="DataTD"><?=_("Email")?>:</td>
20 years ago
<? if($_SESSION['_config']['remindersent'] == 1) { unset($_SESSION['_config']['remindersent']) ?>
18 years ago
<td class="DataTD"><input type="text" name="email" id="email" value=""></td>
20 years ago
<? } else { ?>
17 years ago
<td class="DataTD"><input type="text" name="email" id="email" value="<?=sanitizeHTML($_POST['email'])?>"></td>
20 years ago
<? } ?>
</tr>
<tr>
<td class="DataTD" colspan="2"><input type="submit" name="process" value="<?=_("Next")?>"></td>
</tr>
</table>
<input type="hidden" name="oldid" value="<?=$id?>">
</form>
18 years ago
<SCRIPT LANGUAGE="JavaScript">
18 years ago
//<![CDATA[
function my_init()
18 years ago
{
18 years ago
document.getElementById("email").focus();
18 years ago
}
18 years ago
window.onload = my_init();
//]]>
18 years ago
</script>