diff --git a/ag/gm/gm_seite.php b/ag/gm/gm_seite.php
index 9d5b9be..836e2ce 100644
--- a/ag/gm/gm_seite.php
+++ b/ag/gm/gm_seite.php
@@ -236,7 +236,7 @@ if(checkLoginData($_SESSION['user'],$_SESSION['password'])){
} else if($_REQUEST['choose'] == 'poll'){
displayPolls($_REQUEST['action'], $_REQUEST['openumfrage'], $_REQUEST['closeumfrage'],$_REQUEST['thema'],$_REQUEST['optionen'],$_REQUEST['text'],$_REQUEST['pollid']);
} else if($_REQUEST['choose'] == 'clan'){
- displayClanMenu($_REQUEST['action'],$_REQUEST['raumid'],$_REQUEST['raumname'],$_REQUEST['staerke'],$_REQUEST['verteidigung'],$_REQUEST['glueck'],$_REQUEST['ausdauer'],$_REQUEST['geschwindigkeit'], $_REQUEST['info'], $_REQUEST['req_level'], $_REQUEST['ccfee']);
+ displayClanMenu($_REQUEST['action'],$_REQUEST['raumid'],$_REQUEST['raumname'],$_REQUEST['staerke'],$_REQUEST['verteidigung'],$_REQUEST['glueck'],$_REQUEST['ausdauer'],$_REQUEST['geschwindigkeit'], $_REQUEST['info'], $_REQUEST['req_level'], $_REQUEST['ccfee'], $_REQUEST['data']);
} else if($_REQUEST['choose'] == 'drop'){
displayDrops();
} else if($_REQUEST['choose'] == 'news'){
diff --git a/ag/gm/include/clan.inc.php b/ag/gm/include/clan.inc.php
index 8e5f1b4..fc86cc2 100644
--- a/ag/gm/include/clan.inc.php
+++ b/ag/gm/include/clan.inc.php
@@ -237,11 +237,61 @@ if($raumname !== NULL){
$value) {
+ if($value != null && is_numeric($value) && $value != $value_array[$i]) {
+ setDefine($key, $value);
+ $log .= $key.'('.$value_array[$i].' auf '.$value.') ';
+ $change = true;
+ }
+ $i++;
+ }
+ if($log != null) {
+ logaction('Die Clankampf-Optionen wurden geändert: '.$log);
+ }
+ }
+
+ echo '
'."\n";
+}
+
function displayGeneralOptions($ccfee) {
$change = false;
if($ccfee != null && $ccfee != CLAN_CREATION_FEE) {
if(is_numeric($ccfee)) {
setDefine('CLAN_CREATION_FEE', $ccfee);
+ logaction('Clangebühr wurde von '.CLAN_CREATION_FEE.' auf '.$ccfee.' geändert.');
}
}
?>
@@ -250,7 +300,7 @@ function displayGeneralOptions($ccfee) {
name="action" value="general">
- Übersicht |
+ Clan-Optionen |
@@ -282,7 +332,13 @@ function displayClanOptions() {