Added custom feeds for admin, reseller and client
http://bugtracker.ispconfig.org/index.php?do=details&task_id=1689
| | |
| | | <?php |
| | | |
| | | /* |
| | | Form Definition |
| | | |
| | | Tabledefinition |
| | | |
| | | Datatypes: |
| | | - INTEGER (Forces the input to Int) |
| | | - DOUBLE |
| | | - CURRENCY (Formats the values to currency notation) |
| | | - VARCHAR (no format check, maxlength: 255) |
| | | - TEXT (no format check) |
| | | - DATE (Dateformat, automatic conversion to timestamps) |
| | | |
| | | Formtype: |
| | | - TEXT (Textfield) |
| | | - TEXTAREA (Textarea) |
| | | - PASSWORD (Password textfield, input is not shown when edited) |
| | | - SELECT (Select option field) |
| | | - RADIO |
| | | - CHECKBOX |
| | | - CHECKBOXARRAY |
| | | - FILE |
| | | |
| | | VALUE: |
| | | - Wert oder Array |
| | | |
| | | Hint: |
| | | The ID field of the database table is not part of the datafield definition. |
| | | The ID field must be always auto incement (int or bigint). |
| | | |
| | | |
| | | */ |
| | | |
| | | $form["title"] = "System Config"; |
| | | $form["description"] = ""; |
| | | $form["name"] = "system_config"; |
| | | $form["action"] = "system_config_edit.php"; |
| | | $form["db_table"] = "sys_ini"; |
| | | $form["db_table_idx"] = "sysini_id"; |
| | | $form["db_history"] = "yes"; |
| | | $form["tab_default"] = "sites"; |
| | | $form["list_default"] = "server_list.php"; |
| | | $form["auth"] = 'yes'; // yes / no |
| | | |
| | | $form["auth_preset"]["userid"] = 0; // 0 = id of the user, > 0 id must match with id of current user |
| | | $form["auth_preset"]["groupid"] = 0; // 0 = default groupid of the user, > 0 id must match with groupid of current user |
| | | $form["auth_preset"]["perm_user"] = 'riud'; //r = read, i = insert, u = update, d = delete |
| | | $form["auth_preset"]["perm_group"] = 'riud'; //r = read, i = insert, u = update, d = delete |
| | | $form["auth_preset"]["perm_other"] = ''; //r = read, i = insert, u = update, d = delete |
| | | |
| | | $form["tabs"]['sites'] = array ( |
| | | 'title' => "Sites", |
| | | 'width' => 70, |
| | | 'template' => "templates/system_config_sites_edit.htm", |
| | | 'fields' => array ( |
| | | ################################## |
| | | # Begin Datatable fields |
| | | ################################## |
| | | 'dbname_prefix' => array ( |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'TEXT', |
| | | 'validators' => array ( 0 => array ( 'type' => 'REGEX', |
| | | 'regex' => '/^[a-zA-Z0-0\-\_\[\]]{0,50}$/', |
| | | 'errmsg'=> 'dbname_prefix_error_regex'), |
| | | ), |
| | | 'default' => '', |
| | | 'value' => '', |
| | | 'width' => '30', |
| | | 'maxlength' => '255' |
| | | ), |
| | | 'dbuser_prefix' => array ( |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'TEXT', |
| | | 'validators' => array ( 0 => array ( 'type' => 'REGEX', |
| | | 'regex' => '/^[a-zA-Z0-0\-\_\[\]]{0,50}$/', |
| | | 'errmsg'=> 'dbuser_prefix_error_regex'), |
| | | ), |
| | | 'default' => '', |
| | | 'value' => '', |
| | | 'width' => '30', |
| | | 'maxlength' => '255' |
| | | ), |
| | | 'ftpuser_prefix' => array ( |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'TEXT', |
| | | 'validators' => array ( 0 => array ( 'type' => 'REGEX', |
| | | 'regex' => '/^[a-zA-Z0-0\-\_\[\]]{0,50}$/', |
| | | 'errmsg'=> 'ftpuser_prefix_error_regex'), |
| | | ), |
| | | 'default' => '', |
| | | 'value' => '', |
| | | 'width' => '30', |
| | | 'maxlength' => '255' |
| | | ), |
| | | 'shelluser_prefix' => array ( |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'TEXT', |
| | | 'validators' => array ( 0 => array ( 'type' => 'REGEX', |
| | | 'regex' => '/^[a-zA-Z0-0\-\_\[\]]{0,50}$/', |
| | | 'errmsg'=> 'shelluser_prefix_error_regex'), |
| | | ), |
| | | 'default' => '', |
| | | 'value' => '', |
| | | 'width' => '30', |
| | | 'maxlength' => '255' |
| | | ), |
| | | 'webdavuser_prefix' => array ( |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'TEXT', |
| | | 'validators' => array ( 0 => array ( 'type' => 'REGEX', |
| | | 'regex' => '/^[a-zA-Z0-0\-\_\[\]]{0,50}$/', |
| | | 'errmsg'=> 'webdavuser_prefix_error_regex'), |
| | | ), |
| | | 'default' => '', |
| | | 'value' => '', |
| | | 'width' => '30', |
| | | 'maxlength' => '255' |
| | | ), |
| | | 'dblist_phpmyadmin_link' => array ( |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'CHECKBOX', |
| | | 'default' => 'n', |
| | | 'value' => array(0 => 'n',1 => 'y') |
| | | ), |
| | | 'phpmyadmin_url' => array ( |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'TEXT', |
| | | 'validators' => array ( 0 => array ( 'type' => 'REGEX', |
| | | 'regex' => '/^[0-9a-zA-Z\:\/\-\.]{0,255}$/', |
| | | 'errmsg'=> 'phpmyadmin_url_error_regex'), |
| | | ), |
| | | 'default' => '', |
| | | 'value' => '', |
| | | 'width' => '30', |
| | | 'maxlength' => '255' |
| | | ), |
| | | 'webftp_url' => array ( |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'TEXT', |
| | | 'validators' => array ( 0 => array ( 'type' => 'REGEX', |
| | | 'regex' => '/^[0-9a-zA-Z\:\/\-\.]{0,255}$/', |
| | | 'errmsg'=> 'webftp_url_error_regex'), |
| | | ), |
| | | 'default' => '', |
| | | 'value' => '', |
| | | 'width' => '30', |
| | | 'maxlength' => '255' |
| | | ), |
| | | ################################## |
| | | # ENDE Datatable fields |
| | | ################################## |
| | | ) |
| | | ); |
| | | |
| | | $form["tabs"]['mail'] = array ( |
| | | 'title' => "Mail", |
| | | 'width' => 70, |
| | | 'template' => "templates/system_config_mail_edit.htm", |
| | | 'fields' => array ( |
| | | ################################## |
| | | # Begin Datatable fields |
| | | ################################## |
| | | 'enable_custom_login' => array( |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'CHECKBOX', |
| | | 'default' => 'n', |
| | | 'value' => array(0 => 'n', 1 => 'y') |
| | | ), |
| | | 'mailboxlist_webmail_link' => array ( |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'CHECKBOX', |
| | | 'default' => 'n', |
| | | 'value' => array(0 => 'n',1 => 'y') |
| | | ), |
| | | 'webmail_url' => array ( |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'TEXT', |
| | | 'validators' => array ( 0 => array ( 'type' => 'REGEX', |
| | | 'regex' => '/^[0-9a-zA-Z\:\/\-\.]{0,255}$/', |
| | | 'errmsg'=> 'webmail_url_error_regex'), |
| | | ), |
| | | 'default' => '', |
| | | 'value' => '', |
| | | 'width' => '30', |
| | | 'maxlength' => '255' |
| | | ), |
| | | 'mailmailinglist_link' => array ( |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'CHECKBOX', |
| | | 'default' => 'n', |
| | | 'value' => array(0 => 'n',1 => 'y') |
| | | ), |
| | | 'mailmailinglist_url' => array ( |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'TEXT', |
| | | 'validators' => array ( 0 => array ( 'type' => 'REGEX', |
| | | 'regex' => '/^[0-9a-zA-Z\:\/\-\.]{0,255}$/', |
| | | 'errmsg'=> 'mailinglist_url_error_regex'), |
| | | ), |
| | | 'default' => '', |
| | | 'value' => '', |
| | | 'width' => '30', |
| | | 'maxlength' => '255' |
| | | ), |
| | | 'admin_mail' => array ( |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'TEXT', |
| | | 'default' => '', |
| | | 'value' => '', |
| | | 'width' => '30', |
| | | 'maxlength' => '255' |
| | | ), |
| | | 'admin_name' => array ( |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'TEXT', |
| | | 'default' => '', |
| | | 'value' => '', |
| | | 'width' => '30', |
| | | 'maxlength' => '255' |
| | | ), |
| | | ################################## |
| | | # ENDE Datatable fields |
| | | ################################## |
| | | ) |
| | | ); |
| | | |
| | | $form["tabs"]['domains'] = array ( |
| | | 'title' => "Domains", |
| | | 'width' => 70, |
| | | 'template' => "templates/system_config_domains_edit.htm", |
| | | 'fields' => array ( |
| | | ################################## |
| | | # Begin Datatable fields |
| | | ################################## |
| | | 'use_domain_module' => array ( |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'CHECKBOX', |
| | | 'default' => 'n', |
| | | 'value' => array(0 => 'n',1 => 'y') |
| | | ), |
| | | 'new_domain_html' => array ( |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'TEXT', |
| | | 'default' => '', |
| | | 'value' => '' |
| | | ), |
| | | ################################## |
| | | # ENDE Datatable fields |
| | | ################################## |
| | | ) |
| | | ); |
| | | |
| | | $form["tabs"]['misc'] = array ( |
| | | 'title' => "Misc", |
| | | 'width' => 70, |
| | | 'template' => "templates/system_config_misc_edit.htm", |
| | | 'fields' => array ( |
| | | ################################## |
| | | # Begin Datatable fields |
| | | ################################## |
| | | 'dashboard_atom_url' => array ( |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'TEXT', |
| | | 'default' => 'http://www.ispconfig.org/atom', |
| | | 'value' => '' |
| | | ), |
| | | 'monitor_key' => array ( |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'TEXT', |
| | | 'default' => '', |
| | | 'value' => '' |
| | | ), |
| | | ################################## |
| | | # ENDE Datatable fields |
| | | ################################## |
| | | ) |
| | | ); |
| | | |
| | | |
| | | ?> |
| | | <?php
|
| | |
|
| | | /*
|
| | | Form Definition
|
| | |
|
| | | Tabledefinition
|
| | |
|
| | | Datatypes:
|
| | | - INTEGER (Forces the input to Int)
|
| | | - DOUBLE
|
| | | - CURRENCY (Formats the values to currency notation)
|
| | | - VARCHAR (no format check, maxlength: 255)
|
| | | - TEXT (no format check)
|
| | | - DATE (Dateformat, automatic conversion to timestamps)
|
| | |
|
| | | Formtype:
|
| | | - TEXT (Textfield)
|
| | | - TEXTAREA (Textarea)
|
| | | - PASSWORD (Password textfield, input is not shown when edited)
|
| | | - SELECT (Select option field)
|
| | | - RADIO
|
| | | - CHECKBOX
|
| | | - CHECKBOXARRAY
|
| | | - FILE
|
| | |
|
| | | VALUE:
|
| | | - Wert oder Array
|
| | |
|
| | | Hint:
|
| | | The ID field of the database table is not part of the datafield definition.
|
| | | The ID field must be always auto incement (int or bigint).
|
| | |
|
| | |
|
| | | */
|
| | |
|
| | | $form["title"] = "System Config";
|
| | | $form["description"] = "";
|
| | | $form["name"] = "system_config";
|
| | | $form["action"] = "system_config_edit.php";
|
| | | $form["db_table"] = "sys_ini";
|
| | | $form["db_table_idx"] = "sysini_id";
|
| | | $form["db_history"] = "yes";
|
| | | $form["tab_default"] = "sites";
|
| | | $form["list_default"] = "server_list.php";
|
| | | $form["auth"] = 'yes'; // yes / no
|
| | |
|
| | | $form["auth_preset"]["userid"] = 0; // 0 = id of the user, > 0 id must match with id of current user
|
| | | $form["auth_preset"]["groupid"] = 0; // 0 = default groupid of the user, > 0 id must match with groupid of current user
|
| | | $form["auth_preset"]["perm_user"] = 'riud'; //r = read, i = insert, u = update, d = delete
|
| | | $form["auth_preset"]["perm_group"] = 'riud'; //r = read, i = insert, u = update, d = delete
|
| | | $form["auth_preset"]["perm_other"] = ''; //r = read, i = insert, u = update, d = delete
|
| | |
|
| | | $form["tabs"]['sites'] = array (
|
| | | 'title' => "Sites",
|
| | | 'width' => 70,
|
| | | 'template' => "templates/system_config_sites_edit.htm",
|
| | | 'fields' => array (
|
| | | ##################################
|
| | | # Begin Datatable fields
|
| | | ##################################
|
| | | 'dbname_prefix' => array (
|
| | | 'datatype' => 'VARCHAR',
|
| | | 'formtype' => 'TEXT',
|
| | | 'validators' => array ( 0 => array ( 'type' => 'REGEX',
|
| | | 'regex' => '/^[a-zA-Z0-0\-\_\[\]]{0,50}$/',
|
| | | 'errmsg'=> 'dbname_prefix_error_regex'),
|
| | | ),
|
| | | 'default' => '',
|
| | | 'value' => '',
|
| | | 'width' => '30',
|
| | | 'maxlength' => '255'
|
| | | ),
|
| | | 'dbuser_prefix' => array (
|
| | | 'datatype' => 'VARCHAR',
|
| | | 'formtype' => 'TEXT',
|
| | | 'validators' => array ( 0 => array ( 'type' => 'REGEX',
|
| | | 'regex' => '/^[a-zA-Z0-0\-\_\[\]]{0,50}$/',
|
| | | 'errmsg'=> 'dbuser_prefix_error_regex'),
|
| | | ),
|
| | | 'default' => '',
|
| | | 'value' => '',
|
| | | 'width' => '30',
|
| | | 'maxlength' => '255'
|
| | | ),
|
| | | 'ftpuser_prefix' => array (
|
| | | 'datatype' => 'VARCHAR',
|
| | | 'formtype' => 'TEXT',
|
| | | 'validators' => array ( 0 => array ( 'type' => 'REGEX',
|
| | | 'regex' => '/^[a-zA-Z0-0\-\_\[\]]{0,50}$/',
|
| | | 'errmsg'=> 'ftpuser_prefix_error_regex'),
|
| | | ),
|
| | | 'default' => '',
|
| | | 'value' => '',
|
| | | 'width' => '30',
|
| | | 'maxlength' => '255'
|
| | | ),
|
| | | 'shelluser_prefix' => array (
|
| | | 'datatype' => 'VARCHAR',
|
| | | 'formtype' => 'TEXT',
|
| | | 'validators' => array ( 0 => array ( 'type' => 'REGEX',
|
| | | 'regex' => '/^[a-zA-Z0-0\-\_\[\]]{0,50}$/',
|
| | | 'errmsg'=> 'shelluser_prefix_error_regex'),
|
| | | ),
|
| | | 'default' => '',
|
| | | 'value' => '',
|
| | | 'width' => '30',
|
| | | 'maxlength' => '255'
|
| | | ),
|
| | | 'webdavuser_prefix' => array (
|
| | | 'datatype' => 'VARCHAR',
|
| | | 'formtype' => 'TEXT',
|
| | | 'validators' => array ( 0 => array ( 'type' => 'REGEX',
|
| | | 'regex' => '/^[a-zA-Z0-0\-\_\[\]]{0,50}$/',
|
| | | 'errmsg'=> 'webdavuser_prefix_error_regex'),
|
| | | ),
|
| | | 'default' => '',
|
| | | 'value' => '',
|
| | | 'width' => '30',
|
| | | 'maxlength' => '255'
|
| | | ),
|
| | | 'dblist_phpmyadmin_link' => array (
|
| | | 'datatype' => 'VARCHAR',
|
| | | 'formtype' => 'CHECKBOX',
|
| | | 'default' => 'n',
|
| | | 'value' => array(0 => 'n',1 => 'y')
|
| | | ),
|
| | | 'phpmyadmin_url' => array (
|
| | | 'datatype' => 'VARCHAR',
|
| | | 'formtype' => 'TEXT',
|
| | | 'validators' => array ( 0 => array ( 'type' => 'REGEX',
|
| | | 'regex' => '/^[0-9a-zA-Z\:\/\-\.]{0,255}$/',
|
| | | 'errmsg'=> 'phpmyadmin_url_error_regex'),
|
| | | ),
|
| | | 'default' => '',
|
| | | 'value' => '',
|
| | | 'width' => '30',
|
| | | 'maxlength' => '255'
|
| | | ),
|
| | | 'webftp_url' => array (
|
| | | 'datatype' => 'VARCHAR',
|
| | | 'formtype' => 'TEXT',
|
| | | 'validators' => array ( 0 => array ( 'type' => 'REGEX',
|
| | | 'regex' => '/^[0-9a-zA-Z\:\/\-\.]{0,255}$/',
|
| | | 'errmsg'=> 'webftp_url_error_regex'),
|
| | | ),
|
| | | 'default' => '',
|
| | | 'value' => '',
|
| | | 'width' => '30',
|
| | | 'maxlength' => '255'
|
| | | ),
|
| | | ##################################
|
| | | # ENDE Datatable fields
|
| | | ##################################
|
| | | )
|
| | | );
|
| | |
|
| | | $form["tabs"]['mail'] = array (
|
| | | 'title' => "Mail",
|
| | | 'width' => 70,
|
| | | 'template' => "templates/system_config_mail_edit.htm",
|
| | | 'fields' => array (
|
| | | ##################################
|
| | | # Begin Datatable fields
|
| | | ##################################
|
| | | 'enable_custom_login' => array(
|
| | | 'datatype' => 'VARCHAR',
|
| | | 'formtype' => 'CHECKBOX',
|
| | | 'default' => 'n',
|
| | | 'value' => array(0 => 'n', 1 => 'y')
|
| | | ),
|
| | | 'mailboxlist_webmail_link' => array (
|
| | | 'datatype' => 'VARCHAR',
|
| | | 'formtype' => 'CHECKBOX',
|
| | | 'default' => 'n',
|
| | | 'value' => array(0 => 'n',1 => 'y')
|
| | | ),
|
| | | 'webmail_url' => array (
|
| | | 'datatype' => 'VARCHAR',
|
| | | 'formtype' => 'TEXT',
|
| | | 'validators' => array ( 0 => array ( 'type' => 'REGEX',
|
| | | 'regex' => '/^[0-9a-zA-Z\:\/\-\.]{0,255}$/',
|
| | | 'errmsg'=> 'webmail_url_error_regex'),
|
| | | ),
|
| | | 'default' => '',
|
| | | 'value' => '',
|
| | | 'width' => '30',
|
| | | 'maxlength' => '255'
|
| | | ),
|
| | | 'mailmailinglist_link' => array (
|
| | | 'datatype' => 'VARCHAR',
|
| | | 'formtype' => 'CHECKBOX',
|
| | | 'default' => 'n',
|
| | | 'value' => array(0 => 'n',1 => 'y')
|
| | | ),
|
| | | 'mailmailinglist_url' => array (
|
| | | 'datatype' => 'VARCHAR',
|
| | | 'formtype' => 'TEXT',
|
| | | 'validators' => array ( 0 => array ( 'type' => 'REGEX',
|
| | | 'regex' => '/^[0-9a-zA-Z\:\/\-\.]{0,255}$/',
|
| | | 'errmsg'=> 'mailinglist_url_error_regex'),
|
| | | ),
|
| | | 'default' => '',
|
| | | 'value' => '',
|
| | | 'width' => '30',
|
| | | 'maxlength' => '255'
|
| | | ),
|
| | | 'admin_mail' => array (
|
| | | 'datatype' => 'VARCHAR',
|
| | | 'formtype' => 'TEXT',
|
| | | 'default' => '',
|
| | | 'value' => '',
|
| | | 'width' => '30',
|
| | | 'maxlength' => '255'
|
| | | ),
|
| | | 'admin_name' => array (
|
| | | 'datatype' => 'VARCHAR',
|
| | | 'formtype' => 'TEXT',
|
| | | 'default' => '',
|
| | | 'value' => '',
|
| | | 'width' => '30',
|
| | | 'maxlength' => '255'
|
| | | ),
|
| | | ##################################
|
| | | # ENDE Datatable fields
|
| | | ##################################
|
| | | )
|
| | | );
|
| | |
|
| | | $form["tabs"]['domains'] = array (
|
| | | 'title' => "Domains",
|
| | | 'width' => 70,
|
| | | 'template' => "templates/system_config_domains_edit.htm",
|
| | | 'fields' => array (
|
| | | ##################################
|
| | | # Begin Datatable fields
|
| | | ##################################
|
| | | 'use_domain_module' => array (
|
| | | 'datatype' => 'VARCHAR',
|
| | | 'formtype' => 'CHECKBOX',
|
| | | 'default' => 'n',
|
| | | 'value' => array(0 => 'n',1 => 'y')
|
| | | ),
|
| | | 'new_domain_html' => array (
|
| | | 'datatype' => 'VARCHAR',
|
| | | 'formtype' => 'TEXT',
|
| | | 'default' => '',
|
| | | 'value' => ''
|
| | | ),
|
| | | ##################################
|
| | | # ENDE Datatable fields
|
| | | ##################################
|
| | | )
|
| | | );
|
| | |
|
| | | $form["tabs"]['misc'] = array (
|
| | | 'title' => "Misc",
|
| | | 'width' => 70,
|
| | | 'template' => "templates/system_config_misc_edit.htm",
|
| | | 'fields' => array (
|
| | | ##################################
|
| | | # Begin Datatable fields
|
| | | ##################################
|
| | | 'dashboard_atom_url_admin' => array (
|
| | | 'datatype' => 'VARCHAR',
|
| | | 'formtype' => 'TEXT',
|
| | | 'default' => 'http://www.ispconfig.org/atom',
|
| | | 'value' => ''
|
| | | ),
|
| | | 'dashboard_atom_url_reseller' => array (
|
| | | 'datatype' => 'VARCHAR',
|
| | | 'formtype' => 'TEXT',
|
| | | 'default' => 'http://www.ispconfig.org/atom',
|
| | | 'value' => ''
|
| | | ),
|
| | | 'dashboard_atom_url_client' => array (
|
| | | 'datatype' => 'VARCHAR',
|
| | | 'formtype' => 'TEXT',
|
| | | 'default' => 'http://www.ispconfig.org/atom',
|
| | | 'value' => ''
|
| | | ),
|
| | | 'monitor_key' => array (
|
| | | 'datatype' => 'VARCHAR',
|
| | | 'formtype' => 'TEXT',
|
| | | 'default' => '',
|
| | | 'value' => ''
|
| | | ),
|
| | | ##################################
|
| | | # ENDE Datatable fields
|
| | | ##################################
|
| | | )
|
| | | );
|
| | |
|
| | |
|
| | | ?>
|
| | |
| | | $wb['use_domain_module_txt'] = 'Use the domain-module to add new domains'; |
| | | $wb['use_domain_module_hint'] = 'If you use this module, your customers can only select one of the domains the admin creates for them. They cannot free edit the domain-field.You have to re-login after changing this value, to make the changes visible.'; |
| | | $wb['new_domain_txt'] = 'HTML to create a new domain'; |
| | | $wb['dashboard_atom_url_txt'] = 'Dashboard atom feed URL'; |
| | | $wb['dashboard_atom_url_admin_txt'] = 'Dashboard atom feed URL (admin)'; |
| | | $wb['dashboard_atom_url_reseller_txt'] = 'Dashboard atom feed URL (reseller)'; |
| | | $wb['dashboard_atom_url_client_txt'] = 'Dashboard atom feed URL (client)'; |
| | | $wb['webdavuser_prefix_txt'] = 'Webdav user prefix'; |
| | | $wb['webdavuser_prefix_error_regex'] = 'Char not allowed in webdav user prefix.'; |
| | | $wb['webftp_url_txt'] = 'WebFTP URL'; |
| | |
| | | $wb['use_domain_module_txt'] = 'Use the domain-module to add new domains'; |
| | | $wb['use_domain_module_hint'] = 'If you use this module, your customers can only select one of the domains the admin creates for them. They cannot free edit the domain-field.You have to re-login after changing this value, to make the changes visible.'; |
| | | $wb['new_domain_txt'] = 'HTML to create a new domain'; |
| | | $wb['dashboard_atom_url_txt'] = 'Dashboard atom feed URL'; |
| | | $wb['dashboard_atom_url_admin_txt'] = 'Dashboard atom feed URL (admin)'; |
| | | $wb['dashboard_atom_url_reseller_txt'] = 'Dashboard atom feed URL (reseller)'; |
| | | $wb['dashboard_atom_url_client_txt'] = 'Dashboard atom feed URL (client)'; |
| | | $wb['webdavuser_prefix_txt'] = 'Webdav user prefix'; |
| | | $wb['webdavuser_prefix_error_regex'] = 'Char not allowed in webdav user prefix.'; |
| | | $wb['webftp_url_txt'] = 'WebFTP URL'; |
| | |
| | | $wb['use_domain_module_txt'] = 'Use o módulo domínios para adcionar novos domínios'; |
| | | $wb['use_domain_module_hint'] = 'Se você usar este módulo, os clientes podem selecionar apenas um dos domínios do administrador cria para eles. Eles não podem editar o campo domínio livremente.Você deve relogar-se depois de alterar esse valor, para que as mudanças sejam visíveis.'; |
| | | $wb['new_domain_txt'] = 'HTML para criar um novo domínio'; |
| | | $wb['dashboard_atom_url_txt'] = 'URL do Dashboard atom feed'; |
| | | $wb['dashboard_atom_url_admin_txt'] = 'Dashboard atom feed URL (admin)'; |
| | | $wb['dashboard_atom_url_reseller_txt'] = 'Dashboard atom feed URL (reseller)'; |
| | | $wb['dashboard_atom_url_client_txt'] = 'Dashboard atom feed URL (client)'; |
| | | $wb['webdavuser_prefix_txt'] = 'Prefixo do usuário Webdav'; |
| | | $wb['webdavuser_prefix_error_regex'] = 'Caractere não permitido no prefixo de usuário webdav.'; |
| | | $wb['webftp_url_txt'] = 'URL do WebFTP'; |
| | |
| | | $wb['mailboxlist_webmail_link_txt'] = 'Odkaz na aplikaci Webmail v Mailbox seznamu'; |
| | | $wb['webmail_url_txt'] = 'Webmail URL'; |
| | | $wb['phpmyadmin_url_txt'] = 'PHPMyAdmin URL'; |
| | | $wb['dashboard_atom_url_txt'] = 'Dashboard atom feed URL'; |
| | | $wb['dashboard_atom_url_admin_txt'] = 'Dashboard atom feed URL (admin)'; |
| | | $wb['dashboard_atom_url_reseller_txt'] = 'Dashboard atom feed URL (reseller)'; |
| | | $wb['dashboard_atom_url_client_txt'] = 'Dashboard atom feed URL (client)'; |
| | | $wb['webdavuser_prefix_txt'] = 'Webdav user prefix'; |
| | | $wb['webdavuser_prefix_error_regex'] = 'Char not allowed in webdav user prefix.'; |
| | | $wb['use_domain_module_txt'] = 'Use the domain-module to add new domains'; |
| | |
| | | $wb['mailboxlist_webmail_link_txt'] = 'Link zu Webmail in der Mailboxliste'; |
| | | $wb['webmail_url_txt'] = 'Webmail URL'; |
| | | $wb['phpmyadmin_url_txt'] = 'PHPMyAdmin URL'; |
| | | $wb['dashboard_atom_url_txt'] = 'Dashboard atom feed URL'; |
| | | $wb['dashboard_atom_url_admin_txt'] = 'Dashboard atom feed URL (admin)'; |
| | | $wb['dashboard_atom_url_reseller_txt'] = 'Dashboard atom feed URL (reseller)'; |
| | | $wb['dashboard_atom_url_client_txt'] = 'Dashboard atom feed URL (client)'; |
| | | $wb['webdavuser_prefix_txt'] = 'Webdav user prefix'; |
| | | $wb['webdavuser_prefix_error_regex'] = 'Char not allowed in webdav user prefix.'; |
| | | $wb['use_domain_module_txt'] = 'Use the domain-module to add new domains'; |
| | |
| | | <?php |
| | | $wb['dashboard_atom_url_txt'] = 'URL των atom δημοσιεύσεων του Dashboard'; |
| | | $wb['dashboard_atom_url_admin_txt'] = 'Dashboard atom feed URL (admin)'; |
| | | $wb['dashboard_atom_url_reseller_txt'] = 'Dashboard atom feed URL (reseller)'; |
| | | $wb['dashboard_atom_url_client_txt'] = 'Dashboard atom feed URL (client)'; |
| | | $wb['warning'] = 'Επεξεργαστείτε τις τιμές με προσοχή! ΜΗΝ αφαιρείτε τα προθέματα σε συστήματα με περισσότερους από έναν πελάτες.'; |
| | | $wb['dbname_prefix_txt'] = 'Πρόθεμα Ονόματος Βάσης Δεδομένων'; |
| | | $wb['dbuser_prefix_txt'] = 'Πρόθεμα Χρήστη Βάσης Δεδομένων'; |
| | |
| | | <?php |
| | | $wb["dashboard_atom_url_txt"] = 'Dashboard atom feed URL'; |
| | | $wb['dashboard_atom_url_admin_txt'] = 'Dashboard atom feed URL (admin)'; |
| | | $wb['dashboard_atom_url_reseller_txt'] = 'Dashboard atom feed URL (reseller)'; |
| | | $wb['dashboard_atom_url_client_txt'] = 'Dashboard atom feed URL (client)'; |
| | | $wb["warning"] = 'Edit these values carefully! Do not remove the prefixes on a systems with more then one client.'; |
| | | $wb["dbname_prefix_txt"] = 'Database name prefix'; |
| | | $wb["dbuser_prefix_txt"] = 'Database user prefix'; |
| | |
| | | $wb['use_domain_module_txt'] = 'Use the domain-module to add new domains'; |
| | | $wb['use_domain_module_hint'] = 'If you use this module, your customers can only select one of the domains the admin creates for them. They can not free edit the domain-field.You have to re-login after changing this value, to make the changes visible.'; |
| | | $wb['new_domain_txt'] = 'HTML to create a new domain'; |
| | | $wb['dashboard_atom_url_txt'] = 'Dashboard atom feed URL'; |
| | | $wb['dashboard_atom_url_admin_txt'] = 'Dashboard atom feed URL (admin)'; |
| | | $wb['dashboard_atom_url_reseller_txt'] = 'Dashboard atom feed URL (reseller)'; |
| | | $wb['dashboard_atom_url_client_txt'] = 'Dashboard atom feed URL (client)'; |
| | | $wb['webdavuser_prefix_txt'] = 'Webdav user prefix'; |
| | | $wb['webdavuser_prefix_error_regex'] = 'Char not allowed in webdav user prefix.'; |
| | | $wb['webftp_url_txt'] = 'WebFTP URL'; |
| | |
| | | $wb['use_domain_module_txt'] = 'Use the domain-module to add new domains'; |
| | | $wb['use_domain_module_hint'] = 'If you use this module, your customers can only select one of the domains the admin creates for them. They can not free edit the domain-field.You have to re-login after changing this value, to make the changes visible.'; |
| | | $wb['new_domain_txt'] = 'HTML to create a new domain'; |
| | | $wb['dashboard_atom_url_txt'] = 'Dashboard atom feed URL'; |
| | | $wb['dashboard_atom_url_admin_txt'] = 'Dashboard atom feed URL (admin)'; |
| | | $wb['dashboard_atom_url_reseller_txt'] = 'Dashboard atom feed URL (reseller)'; |
| | | $wb['dashboard_atom_url_client_txt'] = 'Dashboard atom feed URL (client)'; |
| | | $wb['webdavuser_prefix_txt'] = 'Webdav user prefix'; |
| | | $wb['webdavuser_prefix_error_regex'] = 'Char not allowed in webdav user prefix.'; |
| | | $wb['webftp_url_txt'] = 'WebFTP URL'; |
| | |
| | | $wb['shelluser_prefix_error_regex'] = 'Caractère non autorisé dans le préfixe de l\'utilisateur Shell.'; |
| | | $wb['dblist_phpmyadmin_link_txt'] = 'Lien vers PHPMyAdmin dans la liste des bases'; |
| | | $wb['mailboxlist_webmail_link_txt'] = 'Lien vers le Webmail dans la liste des boites mail'; |
| | | $wb['dashboard_atom_url_txt'] = 'URL du fil Atom du tableau de bord'; |
| | | $wb['dashboard_atom_url_admin_txt'] = 'Dashboard atom feed URL (admin)'; |
| | | $wb['dashboard_atom_url_reseller_txt'] = 'Dashboard atom feed URL (reseller)'; |
| | | $wb['dashboard_atom_url_client_txt'] = 'Dashboard atom feed URL (client)'; |
| | | $wb['webdavuser_prefix_txt'] = 'Prefixe utilisateur Webdav'; |
| | | $wb['webdavuser_prefix_error_regex'] = 'Caractère non autorisé dans le préfixe utilisateur Webdav.'; |
| | | $wb['webmail_url_txt'] = 'URL du Webmail'; |
| | |
| | | $wb['use_domain_module_txt'] = 'Use the domain-module to add new domains'; |
| | | $wb['use_domain_module_hint'] = 'If you use this module, your customers can only select one of the domains the admin creates for them. They can not free edit the domain-field.You have to re-login after changing this value, to make the changes visible.'; |
| | | $wb['new_domain_txt'] = 'HTML to create a new domain'; |
| | | $wb['dashboard_atom_url_txt'] = 'Dashboard atom feed URL'; |
| | | $wb['dashboard_atom_url_admin_txt'] = 'Dashboard atom feed URL (admin)'; |
| | | $wb['dashboard_atom_url_reseller_txt'] = 'Dashboard atom feed URL (reseller)'; |
| | | $wb['dashboard_atom_url_client_txt'] = 'Dashboard atom feed URL (client)'; |
| | | $wb['webdavuser_prefix_txt'] = 'Webdav user prefix'; |
| | | $wb['webdavuser_prefix_error_regex'] = 'Char not allowed in webdav user prefix.'; |
| | | $wb['webftp_url_txt'] = 'WebFTP URL'; |
| | |
| | | $wb['mailboxlist_webmail_link_txt'] = 'Tautan ke webmail di daftar Mailbox'; |
| | | $wb['webmail_url_txt'] = 'URL Webmail'; |
| | | $wb['phpmyadmin_url_txt'] = 'URL PHPMyAdmin'; |
| | | $wb['dashboard_atom_url_txt'] = 'URL feed atom Dashboard'; |
| | | $wb['dashboard_atom_url_admin_txt'] = 'Dashboard atom feed URL (admin)'; |
| | | $wb['dashboard_atom_url_reseller_txt'] = 'Dashboard atom feed URL (reseller)'; |
| | | $wb['dashboard_atom_url_client_txt'] = 'Dashboard atom feed URL (client)'; |
| | | $wb['webdavuser_prefix_txt'] = 'Prefiks pengguna Webdav'; |
| | | $wb['webdavuser_prefix_error_regex'] = 'Karakter tidak diperbolehkan di prefiks pengguna webdav.'; |
| | | $wb['use_domain_module_txt'] = 'Gunakan modul domain untuk menambahkan domain baru'; |
| | |
| | | $wb['use_domain_module_txt'] = 'Use the domain-module to add new domains'; |
| | | $wb['use_domain_module_hint'] = 'If you use this module, your customers can only select one of the domains the admin creates for them. They can not free edit the domain-field.You have to re-login after changing this value, to make the changes visible.'; |
| | | $wb['new_domain_txt'] = 'HTML to create a new domain'; |
| | | $wb['dashboard_atom_url_txt'] = 'Dashboard atom feed URL'; |
| | | $wb['dashboard_atom_url_admin_txt'] = 'Dashboard atom feed URL (admin)'; |
| | | $wb['dashboard_atom_url_reseller_txt'] = 'Dashboard atom feed URL (reseller)'; |
| | | $wb['dashboard_atom_url_client_txt'] = 'Dashboard atom feed URL (client)'; |
| | | $wb['webdavuser_prefix_txt'] = 'Webdav user prefix'; |
| | | $wb['webdavuser_prefix_error_regex'] = 'Char not allowed in webdav user prefix.'; |
| | | $wb['webftp_url_txt'] = 'WebFTP URL'; |
| | |
| | | $wb['use_domain_module_txt'] = 'Use the domain-module to add new domains'; |
| | | $wb['use_domain_module_hint'] = 'If you use this module, your customers can only select one of the domains the admin creates for them. They can not free edit the domain-field.You have to re-login after changing this value, to make the changes visible.'; |
| | | $wb['new_domain_txt'] = 'HTML to create a new domain'; |
| | | $wb['dashboard_atom_url_txt'] = 'Dashboard atom feed URL'; |
| | | $wb['dashboard_atom_url_admin_txt'] = 'Dashboard atom feed URL (admin)'; |
| | | $wb['dashboard_atom_url_reseller_txt'] = 'Dashboard atom feed URL (reseller)'; |
| | | $wb['dashboard_atom_url_client_txt'] = 'Dashboard atom feed URL (client)'; |
| | | $wb['webdavuser_prefix_txt'] = 'Webdav user prefix'; |
| | | $wb['webdavuser_prefix_error_regex'] = 'Char not allowed in webdav user prefix.'; |
| | | $wb['webftp_url_txt'] = 'WebFTP URL'; |
| | |
| | | <?php |
| | | $wb['dashboard_atom_url_txt'] = 'Dashboard atom feed URL'; |
| | | $wb['dashboard_atom_url_admin_txt'] = 'Dashboard atom feed URL (admin)'; |
| | | $wb['dashboard_atom_url_reseller_txt'] = 'Dashboard atom feed URL (reseller)'; |
| | | $wb['dashboard_atom_url_client_txt'] = 'Dashboard atom feed URL (client)'; |
| | | $wb['warning'] = 'Edit these values carefully! Verwijder de voorvoegsels niet op systemen met meer dan ♪één klant.'; |
| | | $wb['dbname_prefix_txt'] = 'Database naam voorvoegsel'; |
| | | $wb['dbuser_prefix_txt'] = 'Database gebruiker voorvoegsel'; |
| | |
| | | $wb['use_domain_module_txt'] = 'Użyj modułu Domeny do dodawania nowych domen'; |
| | | $wb['use_domain_module_hint'] = 'Jeżeli użyjesz tego modułu, Twoi użytkownicy będą mogli użyć tylko domeny stworzonej im przez administratora. Nie mogą edytować wpisów domeny. Musisz przelogować się po zmianie tej wartości, aby zobaczyć widoczne rezultaty.'; |
| | | $wb['new_domain_txt'] = 'HTML do stworzenia nowej domeny'; |
| | | $wb['dashboard_atom_url_txt'] = 'Dashboard atom feed URL'; |
| | | $wb['dashboard_atom_url_admin_txt'] = 'Dashboard atom feed URL (admin)'; |
| | | $wb['dashboard_atom_url_reseller_txt'] = 'Dashboard atom feed URL (reseller)'; |
| | | $wb['dashboard_atom_url_client_txt'] = 'Dashboard atom feed URL (client)'; |
| | | $wb['webdavuser_prefix_txt'] = 'Prefiks użytkownika webdav'; |
| | | $wb['webdavuser_prefix_error_regex'] = 'Niedozwolony znak w prefiksie użytkownika webdav.'; |
| | | $wb['webftp_url_txt'] = 'WebFTP URL'; |
| | |
| | | $wb['use_domain_module_txt'] = 'Use the domain-module to add new domains'; |
| | | $wb['use_domain_module_hint'] = 'If you use this module, your customers can only select one of the domains the admin creates for them. They can not free edit the domain-field.You have to re-login after changing this value, to make the changes visible.'; |
| | | $wb['new_domain_txt'] = 'HTML to create a new domain'; |
| | | $wb['dashboard_atom_url_txt'] = 'Dashboard atom feed URL'; |
| | | $wb['dashboard_atom_url_admin_txt'] = 'Dashboard atom feed URL (admin)'; |
| | | $wb['dashboard_atom_url_reseller_txt'] = 'Dashboard atom feed URL (reseller)'; |
| | | $wb['dashboard_atom_url_client_txt'] = 'Dashboard atom feed URL (client)'; |
| | | $wb['webdavuser_prefix_txt'] = 'Webdav user prefix'; |
| | | $wb['webdavuser_prefix_error_regex'] = 'Char not allowed in webdav user prefix.'; |
| | | $wb['webftp_url_txt'] = 'WebFTP URL'; |
| | |
| | | $wb['use_domain_module_txt'] = 'Use the domain-module to add new domains'; |
| | | $wb['use_domain_module_hint'] = 'If you use this module, your customers can only select one of the domains the admin creates for them. They can not free edit the domain-field.You have to re-login after changing this value, to make the changes visible.'; |
| | | $wb['new_domain_txt'] = 'HTML to create a new domain'; |
| | | $wb['dashboard_atom_url_txt'] = 'Dashboard atom feed URL'; |
| | | $wb['dashboard_atom_url_admin_txt'] = 'Dashboard atom feed URL (admin)'; |
| | | $wb['dashboard_atom_url_reseller_txt'] = 'Dashboard atom feed URL (reseller)'; |
| | | $wb['dashboard_atom_url_client_txt'] = 'Dashboard atom feed URL (client)'; |
| | | $wb['webdavuser_prefix_txt'] = 'Webdav user prefix'; |
| | | $wb['webdavuser_prefix_error_regex'] = 'Char not allowed in webdav user prefix.'; |
| | | $wb['webftp_url_txt'] = 'WebFTP URL'; |
| | |
| | | $wb['use_domain_module_txt'] = 'Use the domain-module to add new domains'; |
| | | $wb['use_domain_module_hint'] = 'If you use this module, your customers can only select one of the domains the admin creates for them. They can not free edit the domain-field.You have to re-login after changing this value, to make the changes visible.'; |
| | | $wb['new_domain_txt'] = 'HTML to create a new domain'; |
| | | $wb['dashboard_atom_url_txt'] = 'Dashboard atom feed URL'; |
| | | $wb['dashboard_atom_url_admin_txt'] = 'Dashboard atom feed URL (admin)'; |
| | | $wb['dashboard_atom_url_reseller_txt'] = 'Dashboard atom feed URL (reseller)'; |
| | | $wb['dashboard_atom_url_client_txt'] = 'Dashboard atom feed URL (client)'; |
| | | $wb['webdavuser_prefix_txt'] = 'Webdav user prefix'; |
| | | $wb['webdavuser_prefix_error_regex'] = 'Char not allowed in webdav user prefix.'; |
| | | $wb['webftp_url_txt'] = 'WebFTP URL'; |
| | |
| | | $wb['use_domain_module_txt'] = 'Use the domain-module to add new domains'; |
| | | $wb['use_domain_module_hint'] = 'If you use this module, your customers can only select one of the domains the admin creates for them. They can not free edit the domain-field.You have to re-login after changing this value, to make the changes visible.'; |
| | | $wb['new_domain_txt'] = 'HTML to create a new domain'; |
| | | $wb['dashboard_atom_url_txt'] = 'Dashboard atom feed URL'; |
| | | $wb['dashboard_atom_url_admin_txt'] = 'Dashboard atom feed URL (admin)'; |
| | | $wb['dashboard_atom_url_reseller_txt'] = 'Dashboard atom feed URL (reseller)'; |
| | | $wb['dashboard_atom_url_client_txt'] = 'Dashboard atom feed URL (client)'; |
| | | $wb['webdavuser_prefix_txt'] = 'Webdav user prefix'; |
| | | $wb['webdavuser_prefix_error_regex'] = 'Char not allowed in webdav user prefix.'; |
| | | $wb['webftp_url_txt'] = 'WebFTP URL'; |
| | |
| | | $wb['mailboxlist_webmail_link_txt'] = 'Odkaz na webmail v zozname schránok'; |
| | | $wb['webmail_url_txt'] = 'Webmail URL'; |
| | | $wb['phpmyadmin_url_txt'] = 'PHPMyAdmin URL'; |
| | | $wb['dashboard_atom_url_txt'] = 'Dashboard atom feed URL'; |
| | | $wb['dashboard_atom_url_admin_txt'] = 'Dashboard atom feed URL (admin)'; |
| | | $wb['dashboard_atom_url_reseller_txt'] = 'Dashboard atom feed URL (reseller)'; |
| | | $wb['dashboard_atom_url_client_txt'] = 'Dashboard atom feed URL (client)'; |
| | | $wb['webdavuser_prefix_txt'] = 'Webdav user prefix'; |
| | | $wb['webdavuser_prefix_error_regex'] = 'Char not allowed in webdav user prefix.'; |
| | | $wb['use_domain_module_txt'] = 'Use the domain-module to add new domains'; |
| | |
| | | $wb['mailboxlist_webmail_link_txt'] = 'Mail kutusunda webmaile link ver'; |
| | | $wb['webmail_url_txt'] = 'Webmail URL'; |
| | | $wb['phpmyadmin_url_txt'] = 'PHPMyAdmin URL'; |
| | | $wb['dashboard_atom_url_txt'] = 'Dashboard atom feed URL'; |
| | | $wb['dashboard_atom_url_admin_txt'] = 'Dashboard atom feed URL (admin)'; |
| | | $wb['dashboard_atom_url_reseller_txt'] = 'Dashboard atom feed URL (reseller)'; |
| | | $wb['dashboard_atom_url_client_txt'] = 'Dashboard atom feed URL (client)'; |
| | | $wb['webdavuser_prefix_txt'] = 'Webdav user prefix'; |
| | | $wb['webdavuser_prefix_error_regex'] = 'Char not allowed in webdav user prefix.'; |
| | | $wb['use_domain_module_txt'] = 'Use the domain-module to add new domains'; |
| | |
| | | <h2><tmpl_var name="list_head_txt"></h2> |
| | | <p><tmpl_var name="list_desc_txt"></p> |
| | | |
| | | <div class="panel panel_system_config"> |
| | | |
| | | <div class="pnl_formsarea"> |
| | | <fieldset class="inlineLabels"><legend>Misc</legend> |
| | | <div class="ctrlHolder"> |
| | | <label for="dashboard_atom_url">{tmpl_var name='dashboard_atom_url_txt'}</label> |
| | | <input name="dashboard_atom_url" id="dashboard_atom_url" value="{tmpl_var name='dashboard_atom_url'}" size="" maxlength="" type="text" class="textInput" /> |
| | | </div> |
| | | <div class="ctrlHolder"> |
| | | <label for="monitor_key">{tmpl_var name='monitor_key_txt'}</label> |
| | | <input name="monitor_key" id="monitor_key" value="{tmpl_var name='monitor_key'}" size="" maxlength="" type="text" class="textInput" /> |
| | | </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/system_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_list.php');"><span>{tmpl_var name='btn_cancel_txt'}</span></button> |
| | | </div> |
| | | </div> |
| | | |
| | | </div> |
| | | <h2><tmpl_var name="list_head_txt"></h2>
|
| | | <p><tmpl_var name="list_desc_txt"></p>
|
| | |
|
| | | <div class="panel panel_system_config">
|
| | | <div class="pnl_formsarea">
|
| | | <fieldset class="inlineLabels"><legend>Misc</legend>
|
| | | <div class="ctrlHolder">
|
| | | <label for="dashboard_atom_url_admin">{tmpl_var name='dashboard_atom_url_admin_txt'}</label>
|
| | | <input name="dashboard_atom_url_admin" id="dashboard_atom_url_admin" value="{tmpl_var name='dashboard_atom_url_admin'}" size="" maxlength="" type="text" class="textInput" />
|
| | | </div>
|
| | | <div class="ctrlHolder">
|
| | | <label for="dashboard_atom_url_reseller">{tmpl_var name='dashboard_atom_url_reseller_txt'}</label>
|
| | | <input name="dashboard_atom_url_reseller" id="dashboard_atom_url_reseller" value="{tmpl_var name='dashboard_atom_url_reseller'}" size="" maxlength="" type="text" class="textInput" />
|
| | | </div>
|
| | | <div class="ctrlHolder">
|
| | | <label for="dashboard_atom_url_client">{tmpl_var name='dashboard_atom_url_client_txt'}</label>
|
| | | <input name="dashboard_atom_url_client" id="dashboard_atom_url_client" value="{tmpl_var name='dashboard_atom_url_client'}" size="" maxlength="" type="text" class="textInput" />
|
| | | </div>
|
| | | <div class="ctrlHolder">
|
| | | <label for="monitor_key">{tmpl_var name='monitor_key_txt'}</label>
|
| | | <input name="monitor_key" id="monitor_key" value="{tmpl_var name='monitor_key'}" size="" maxlength="" type="text" class="textInput" />
|
| | | </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/system_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_list.php');"><span>{tmpl_var name='btn_cancel_txt'}</span></button>
|
| | | </div>
|
| | | </div>
|
| | | </div>
|
| | |
| | | <?php |
| | | |
| | | /* |
| | | Copyright (c) 2010 Till Brehm, projektfarm Gmbh |
| | | All rights reserved. |
| | | |
| | | Redistribution and use in source and binary forms, with or without modification, |
| | | are permitted provided that the following conditions are met: |
| | | |
| | | * Redistributions of source code must retain the above copyright notice, |
| | | this list of conditions and the following disclaimer. |
| | | * Redistributions in binary form must reproduce the above copyright notice, |
| | | this list of conditions and the following disclaimer in the documentation |
| | | and/or other materials provided with the distribution. |
| | | * Neither the name of ISPConfig nor the names of its contributors |
| | | may be used to endorse or promote products derived from this software without |
| | | specific prior written permission. |
| | | |
| | | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND |
| | | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
| | | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
| | | IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, |
| | | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, |
| | | BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| | | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY |
| | | OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |
| | | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, |
| | | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| | | */ |
| | | |
| | | $app->uses('simplepie'); |
| | | |
| | | $app->tpl->newTemplate('dashboard/templates/custom_menu.htm'); |
| | | |
| | | $app->uses('getconf'); |
| | | $misc_config = $app->getconf->get_global_config('misc'); |
| | | |
| | | //* We want to show the news only to the admin user |
| | | if($misc_config['dashboard_atom_url'] != '') { |
| | | |
| | | if(!isset($_SESSION['s']['rss_news'])) { |
| | | |
| | | $app->simplepie->set_feed_url($misc_config['dashboard_atom_url']); |
| | | $app->simplepie->enable_cache(false); |
| | | $app->simplepie->init(); |
| | | $items = $app->simplepie->get_items(); |
| | | |
| | | $rows = array(); |
| | | $n = 1; |
| | | |
| | | foreach ($items as $item) |
| | | { |
| | | //* We want to show only the first 10 news records |
| | | if($n <= 10) { |
| | | $rows[] = array('title' => $item->get_title(), |
| | | 'link' => $item->get_link(), |
| | | 'content' => $item->get_content(), |
| | | 'date' => $item->get_date('Y-m-d') |
| | | ); |
| | | } |
| | | $n++; |
| | | } |
| | | |
| | | $_SESSION['s']['rss_news'] = $rows; |
| | | |
| | | } else { |
| | | $rows = $_SESSION['s']['rss_news']; |
| | | } |
| | | |
| | | $app->tpl->setVar('latest_news_txt',$app->lng('latest_news_txt')); |
| | | |
| | | } |
| | | |
| | | $app->tpl->setLoop('news',$rows); |
| | | |
| | | ?> |
| | | <?php
|
| | |
|
| | | /*
|
| | | Copyright (c) 2010 Till Brehm, projektfarm Gmbh
|
| | | All rights reserved.
|
| | |
|
| | | Redistribution and use in source and binary forms, with or without modification,
|
| | | are permitted provided that the following conditions are met:
|
| | |
|
| | | * Redistributions of source code must retain the above copyright notice,
|
| | | this list of conditions and the following disclaimer.
|
| | | * Redistributions in binary form must reproduce the above copyright notice,
|
| | | this list of conditions and the following disclaimer in the documentation
|
| | | and/or other materials provided with the distribution.
|
| | | * Neither the name of ISPConfig nor the names of its contributors
|
| | | may be used to endorse or promote products derived from this software without
|
| | | specific prior written permission.
|
| | |
|
| | | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
| | | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
| | | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
| | | IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
| | | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
| | | BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
| | | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
|
| | | OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
| | | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
| | | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| | | */
|
| | |
|
| | | $app->uses('simplepie');
|
| | | $app->uses('auth');
|
| | |
|
| | | $app->tpl->newTemplate('dashboard/templates/custom_menu.htm');
|
| | |
|
| | | $app->uses('getconf');
|
| | | $misc_config = $app->getconf->get_global_config('misc');
|
| | |
|
| | |
|
| | | switch($_SESSION['s']['user']['typ']) {
|
| | | case 'admin':
|
| | | $atom_url = $misc_config['dashboard_atom_url_admin'];
|
| | | break;
|
| | | case 'user':
|
| | | if ($app->auth->has_clients($_SESSION['s']['user']['userid']) === true)
|
| | | $atom_url = $misc_config['dashboard_atom_url_reseller'];
|
| | | else
|
| | | $atom_url = $misc_config['dashboard_atom_url_client'];
|
| | | break;
|
| | | default:
|
| | | $atom_url = "";
|
| | | }
|
| | |
|
| | | if( $atom_url != '' ) {
|
| | | if(!isset($_SESSION['s']['rss_news'])) {
|
| | | |
| | | $app->simplepie->set_feed_url($atom_url);
|
| | | $app->simplepie->enable_cache(false);
|
| | | $app->simplepie->init();
|
| | | $items = $app->simplepie->get_items();
|
| | |
|
| | | $rows = array();
|
| | | $n = 1;
|
| | |
|
| | | foreach ($items as $item)
|
| | | {
|
| | | //* We want to show only the first 10 news records
|
| | | if($n <= 10) {
|
| | | $rows[] = array('title' => $item->get_title(),
|
| | | 'link' => $item->get_link(),
|
| | | 'content' => $item->get_content(),
|
| | | 'date' => $item->get_date('Y-m-d')
|
| | | );
|
| | | }
|
| | | $n++;
|
| | | }
|
| | | |
| | | $_SESSION['s']['rss_news'] = $rows;
|
| | | |
| | | } else {
|
| | | $rows = $_SESSION['s']['rss_news'];
|
| | | }
|
| | | |
| | | $app->tpl->setVar('latest_news_txt',$app->lng('latest_news_txt'));
|
| | |
|
| | | }
|
| | |
|
| | | $app->tpl->setLoop('news',$rows);
|
| | |
|
| | | ?>
|