- added "deploy" menu to Froxlor-client (multiserver-support)

This commit is contained in:
Michael Kaufmann (d00p)
2010-10-19 19:50:20 +00:00
parent ce83e8f92b
commit 58499a068f
4 changed files with 42 additions and 8 deletions

View File

@@ -190,6 +190,36 @@ if((int)$settings['multiserver']['enabled'] == 1)
}
else
{
/**
* @TODO
* - show all client settings
* - validate settings
*/
echo $header;
echo "Here you will see the clients configuration, you will know most of the settings from the 'master'-panel already";
echo $footer;
}
}
/**
* deploy client to the destination server
*/
elseif($action == 'deploy'
&& $id != 0
) {
$client = froxlorclient::getInstance($userinfo, $db, $id);
if(isset($_POST['send'])
&& $_POST['send'] == 'send')
{
}
else
{
/**
* @TODO
* - validate client-settings
* - validate client ssh connection (test?)
*/
echo "Here the client's settings and ssh-connection will be validated";
}
}
}