This commit is contained in:
root 2006-08-16 19:35:58 +00:00
parent 4b88af6f3c
commit a2b743131e
2 changed files with 7 additions and 1 deletions

View file

@ -133,7 +133,7 @@
<td class="DataTD"><a href="<?=$cap?>" target="_NEW">A4 - <?=_("WoT Form")?></a> <a href="<?=$cap?>&format=letter" target="_NEW">US - <?=_("WoT Form")?></a></td>
</tr>
<tr>
<td class="DataTD" colspan="2"><input type="submit" name="process" value="<?=_("I am sure of myself")?>"></td>
<td class="DataTD" colspan="2"><input type="submit" name="process" value="<?=_("I am sure of myself")?>"> <input type="submit" name="cancel" value="<?=_("Cancel")?>"></td>
</tr>
</table>
<input type="hidden" name="pagehash" value="<?=$_SESSION['_config']['wothash']?>">

View file

@ -98,6 +98,12 @@
if($oldid == 5 || $oldid == 6)
{
if($_REQUEST['cancel'] != "")
{
header("location: wot.php");
exit;
}
if($_SESSION['_config']['notarise']['id'] == $_SESSION['profile']['id'])
{
$id = 5;