First Version of the Server-Config of the new rescue module (module is not implemented yet, only the Config-interface)
2 files modified
1 files added
| | |
| | | ) |
| | | ); |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | $form["tabs"]['rescue'] = array( |
| | | 'title' => "Rescue", |
| | | 'width' => 80, |
| | | 'template' => "templates/server_config_rescue_edit.htm", |
| | | 'fields' => array( |
| | | ################################## |
| | | # Begin Datatable fields |
| | | ################################## |
| | | 'try_rescue' => array( |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'CHECKBOX', |
| | | 'default' => 'n', |
| | | 'value' => array(0 => 'n', 1 => 'y') |
| | | ), |
| | | 'do_not_try_rescue_apache' => array( |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'CHECKBOX', |
| | | 'default' => 'n', |
| | | 'value' => array(0 => 'n', 1 => 'y') |
| | | ), |
| | | 'do_not_try_rescue_mysql' => array( |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'CHECKBOX', |
| | | 'default' => 'n', |
| | | 'value' => array(0 => 'n', 1 => 'y') |
| | | ), |
| | | 'do_not_try_rescue_mail' => array( |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'CHECKBOX', |
| | | 'default' => 'n', |
| | | 'value' => array(0 => 'n', 1 => 'y') |
| | | ), |
| | | ################################## |
| | | # ENDE Datatable fields |
| | | ################################## |
| | | ) |
| | | ); |
| | | ?> |
| | |
| | | <?php |
| | | $wb["try_rescue_txt"] = 'Activate rescue of all services installed at this server';
|
| | | $wb["do_not_try_rescue_apache_txt"] = 'If rescue ist activated, do NOT try to rescue Apache';
|
| | | $wb["do_not_try_rescue_mysql_txt"] = 'If rescue ist activated, do NOT try to rescue mysql';
|
| | | $wb["do_not_try_rescue_mail_txt"] = 'If rescue ist activated, do NOT try to rescue mail';
|
| | | $wb["jailkit_chroot_home_txt"] = 'Jailkit chroot home'; |
| | | $wb["jailkit_chroot_app_sections_txt"] = 'Jailkit chroot app sections'; |
| | | $wb["jailkit_chroot_app_programs_txt"] = 'Jailkit chrooted applications'; |
| | | $wb['jailkit_chroot_cron_programs_txt'] = 'Jailkit cron chrooted applications'; |
| | | $wb["jailkit_chroot_cron_programs_txt"] = 'Jailkit cron chrooted applications';
|
| | | $wb["website_path_txt"] = 'Website path'; |
| | | $wb["website_symlinks_txt"] = 'Website symlinks'; |
| | | $wb["website_basedir_txt"] = 'Website basedir'; |
New file |
| | |
| | | <h2><tmpl_var name="list_head_txt"></h2> |
| | | <p><tmpl_var name="list_desc_txt"></p> |
| | | |
| | | <div class="panel panel_server_config"> |
| | | |
| | | <div class="pnl_formsarea"> |
| | | <fieldset class="inlineLabels"><legend>Rescue</legend> |
| | | <div class="ctrlHolder"> |
| | | <p class="label" style="width:300px">{tmpl_var name='try_rescue_txt'}</p> |
| | | <div class="multiField" style="width:100px"> |
| | | {tmpl_var name='try_rescue'} |
| | | </div> |
| | | </div> |
| | | <div class="ctrlHolder"> |
| | | <p class="label" style="width:300px">{tmpl_var name='do_not_try_rescue_apache_txt'}</p> |
| | | <div class="multiField" style="width:100px"> |
| | | {tmpl_var name='do_not_try_rescue_apache'} |
| | | </div> |
| | | </div> |
| | | <div class="ctrlHolder"> |
| | | <p class="label" style="width:300px">{tmpl_var name='do_not_try_rescue_mysql_txt'}</p> |
| | | <div class="multiField" style="width:100px"> |
| | | {tmpl_var name='do_not_try_rescue_mysql'} |
| | | </div> |
| | | </div> |
| | | <div class="ctrlHolder"> |
| | | <p class="label" style="width:300px">{tmpl_var name='do_not_try_rescue_mail_txt'}</p> |
| | | <div class="multiField" style="width:100px"> |
| | | {tmpl_var name='do_not_try_rescue_mail'} |
| | | </div> |
| | | </div> |
| | | </fieldset> |
| | | |
| | | <input type="hidden" name="id" value="{tmpl_var name='id'}"> |
| | | |
| | | <div class="buttonHolder buttons"> |
| | | <button class="positive iconstxt icoPositive" type="button" value="{tmpl_var name='btn_save_txt'}" onClick="submitForm('pageForm','admin/server_config_edit.php');"><span>{tmpl_var name='btn_save_txt'}</span></button> |
| | | <button class="negative iconstxt icoNegative" type="button" value="{tmpl_var name='btn_cancel_txt'}" onClick="loadContent('admin/server_config_list.php');"><span>{tmpl_var name='btn_cancel_txt'}</span></button> |
| | | </div> |
| | | </div> |
| | | |
| | | </div> |