few minor changes for multiserver-support

This commit is contained in:
Michael Kaufmann (d00p)
2010-10-18 11:34:19 +00:00
parent 8d27f71cee
commit f42fa0ee7b
6 changed files with 72 additions and 12 deletions

View File

@@ -97,9 +97,12 @@ if((int)$settings['multiserver']['enabled'] == 1)
}
}
/**
* edit client-base data like name and description
*/
elseif($action == 'edit'
&& $id != 0)
{
&& $id != 0
) {
$client = froxlorclient::getInstance($userinfo, $db, $settings, $id);
if(isset($_POST['send'])
@@ -112,5 +115,24 @@ if((int)$settings['multiserver']['enabled'] == 1)
}
}
/**
* edit client settings
*/
elseif($action == 'settings'
&& $id != 0
) {
$client = froxlorclient::getInstance($userinfo, $db, $settings, $id);
$settings_data = $client->getSettingsData();
$settings = $client->getSettingsArray();
if(isset($_POST['send'])
&& $_POST['send'] == 'send')
{
}
else
{
}
}
}
}