numeric-prüfung vergessen

main
radiskull 13 years ago
parent 36e5dacfcf
commit 4e60c3ef1b

@ -240,12 +240,14 @@ if($raumname !== NULL){
function displayGeneralOptions($ccfee) {
$change = false;
if($ccfee != null && $ccfee != CLAN_CREATION_FEE) {
setDefine('CLAN_CREATION_FEE', $ccfee);
if(is_numeric($ccfee)) {
setDefine('CLAN_CREATION_FEE', $ccfee);
}
}
?>
<form method="POST">
<input type="hidden" name="choose" value="clan">
<input type="hidden" name="action" value="general">
<input type="hidden" name="choose" value="clan"> <input type="hidden"
name="action" value="general">
<table width="50%">
<tr>
<th colspan="2" align="center"><h1>Übersicht</h1></th>
@ -257,19 +259,22 @@ function displayGeneralOptions($ccfee) {
<?php }?>
<tr>
<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>
<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>
<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>
</tr>
</table>
</form>
<?php
<?php
}
function displayClanOptions() {

Loading…
Cancel
Save