This commit is contained in:
root 2006-08-14 08:26:42 +00:00
parent 6480e48fd5
commit 8a8b14a0f4
2 changed files with 8 additions and 1 deletions

View file

@ -130,7 +130,7 @@
</tr>
<tr>
<td class="DataTD"><?=_("Points")?>:<br><nobr>(Max <?=maxpoints()?>)</nobr></td>
<td class="DataTD"><input type="text" name="points" value="<?=intval($_POST['points'])?>"></td>
<td class="DataTD"><input type="text" name="points" value=""></td>
</tr>
<tr>
<td class="DataTD"><?=_("WoT Form")?>:</td>

View file

@ -183,6 +183,13 @@
}
}
if($oldid == 6 && $_REQUEST['points'] == "")
{
$id = $oldid;
unset($oldid);
$_SESSION['_config']['error'] = _("You must enter the number of points you wish to allocate to this person.");
}
if($oldid == 6)
{
$max = maxpoints();