numeric-prüfung vergessen

main
radiskull 13 years ago
parent 36e5dacfcf
commit 4e60c3ef1b

@ -240,12 +240,14 @@ if($raumname !== NULL){
function displayGeneralOptions($ccfee) { function displayGeneralOptions($ccfee) {
$change = false; $change = false;
if($ccfee != null && $ccfee != CLAN_CREATION_FEE) { if($ccfee != null && $ccfee != CLAN_CREATION_FEE) {
setDefine('CLAN_CREATION_FEE', $ccfee); if(is_numeric($ccfee)) {
setDefine('CLAN_CREATION_FEE', $ccfee);
}
} }
?> ?>
<form method="POST"> <form method="POST">
<input type="hidden" name="choose" value="clan"> <input type="hidden" name="choose" value="clan"> <input type="hidden"
<input type="hidden" name="action" value="general"> name="action" value="general">
<table width="50%"> <table width="50%">
<tr> <tr>
<th colspan="2" align="center"><h1>Übersicht</h1></th> <th colspan="2" align="center"><h1>Übersicht</h1></th>
@ -257,19 +259,22 @@ function displayGeneralOptions($ccfee) {
<?php }?> <?php }?>
<tr> <tr>
<td align="left">Gr&uuml;ndungsgeb&uuml;hr</td> <td align="left">Gr&uuml;ndungsgeb&uuml;hr</td>
<td align="center"><input type="text" name="ccfee" value=<?php echo ($ccfee == null)?CLAN_CREATION_FEE:$ccfee;?>></td> <td align="center"><input type="text" name="ccfee"
value=<?php echo ($ccfee == null)?CLAN_CREATION_FEE:$ccfee;?>></td>
</tr> </tr>
<tr> <tr>
<td align="center" colspan="2"><input type="submit" value="&auml;ndern"></td> <td align="center" colspan="2"><input type="submit"
value="&auml;ndern"></td>
</tr> </tr>
<tr> <tr>
<td align="center" colspan="2"><a <td align="center" colspan="2"><a
href="<?php echo $_SERVER['PHP_SELF'].'?choose=clan'; ?>">Zum Clanmenu</a> href="<?php echo $_SERVER['PHP_SELF'].'?choose=clan'; ?>">Zum
Clanmenu</a>
</td> </td>
</tr> </tr>
</table> </table>
</form> </form>
<?php <?php
} }
function displayClanOptions() { function displayClanOptions() {

Loading…
Cancel
Save