diff --git a/admin_clients.php b/admin_clients.php index ee91d58a..6e1d8903 100644 --- a/admin_clients.php +++ b/admin_clients.php @@ -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"; } } } diff --git a/lng/english.lng.php b/lng/english.lng.php index 186c9373..4bc05ed0 100644 --- a/lng/english.lng.php +++ b/lng/english.lng.php @@ -1526,6 +1526,7 @@ $lng['admin']['froxlorclients']['name'] = 'Client name'; $lng['admin']['froxlorclients']['desc'] = 'Client description'; $lng['admin']['froxlorclients']['enabled'] = 'Client enabled?'; $lng['admin']['froxlorclients']['settings'] = 'settings'; +$lng['admin']['froxlorclients']['deploy'] = 'deploy'; $lng['menue']['multiserver']['clients'] = 'Multiserver clients'; $lng['admin']['froxlorclient'] = 'Multiserver client settings'; $lng['froxlorclient']['ipaddress'] = 'Client IP'; diff --git a/templates/admin/froxlorclients/froxlorclients.tpl b/templates/admin/froxlorclients/froxlorclients.tpl index 99608a48..09939fd9 100644 --- a/templates/admin/froxlorclients/froxlorclients.tpl +++ b/templates/admin/froxlorclients/froxlorclients.tpl @@ -4,24 +4,24 @@ $header
{$lng['menue']['multiserver']['clients']} |
- {$searchcode} | + {$lng['menue']['multiserver']['clients']} |
+ {$searchcode} | ||||||||
| ID# {$arrowcode['id']} | {$lng['admin']['froxlorclients']['name']} {$arrowcode['name']} | {$lng['admin']['froxlorclients']['desc']} | {$lng['admin']['froxlorclients']['enabled']} {$arrowcode['enabled']} | -{$sortcode} | +{$sortcode} | ||||||
| {$pagingcode} | +{$pagingcode} | ||||||||||
| {$lng['admin']['froxlorclients']['add']} | +{$lng['admin']['froxlorclients']['add']} | ||||||||||