cacert-webdb/pages/wot/5.php

65 lines
2.4 KiB
PHP
Raw Normal View History

2004-10-16 00:28:17 +00:00
<? /*
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.
2006-08-16 00:00:01 +00:00
*/
include_once("../includes/shutdown.php");
?>
2005-07-01 13:12:14 +00:00
<? if($_SESSION['_config']['error'] != "") { ?><div color="orange"><?=_("ERROR")?>: <?=$_SESSION['_config']['error']?></div><? unset($_SESSION['_config']['error']); } ?>
2005-03-20 17:07:33 +00:00
<? if($_SESSION['_config']['noemailfound'] == 1) { ?>
<form method="post" action="wot.php">
2005-07-24 13:56:10 +00:00
<input type="hidden" name="email" value="<?=$_POST['email']?>"><br>
<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>
2005-03-20 17:07:33 +00:00
<input type="hidden" name="oldid" value="<?=$id?>">
<input type="submit" name="reminder" value="<?=_("Send reminder notice")?>">
</form>
<? unset($_SESSION['_config']['noemailfound']); } ?>
2006-08-15 19:00:15 +00:00
<form method="post" action="wot.php" name="form1">
2004-10-16 00:28:17 +00:00
<table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper">
<tr>
2004-10-24 01:46:49 +00:00
<td colspan="2" class="title"><?=_("Assure Someone")?></td>
2004-10-16 00:28:17 +00:00
</tr>
<tr>
<td class="DataTD"><?=_("Email")?>:</td>
2005-03-20 17:07:33 +00:00
<? if($_SESSION['_config']['remindersent'] == 1) { unset($_SESSION['_config']['remindersent']) ?>
<td class="DataTD"><input type="text" name="email" value=""></td>
<? } else { ?>
2004-10-16 00:28:17 +00:00
<td class="DataTD"><input type="text" name="email" value="<?=$_POST['email']?>"></td>
2005-03-20 17:07:33 +00:00
<? } ?>
2004-10-16 00:28:17 +00:00
</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>
2006-08-15 19:00:15 +00:00
<SCRIPT LANGUAGE="JavaScript">
function focus()
{
document.form1.email.focus();
}
focus();
</script>