Added custom feeds for admin, reseller and client
http://bugtracker.ispconfig.org/index.php?do=details&task_id=1689
| | |
| | | ################################## |
| | | # Begin Datatable fields |
| | | ################################## |
| | | 'dashboard_atom_url' => array ( |
| | | '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', |
| | |
| | | $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'; |
| | |
| | | <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" /> |
| | | <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> |
| | |
| | | */ |
| | | |
| | | $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'); |
| | | |
| | | //* We want to show the news only to the admin user |
| | | if($misc_config['dashboard_atom_url'] != '') { |
| | | |
| | | 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($misc_config['dashboard_atom_url']); |
| | | $app->simplepie->set_feed_url($atom_url);
|
| | | $app->simplepie->enable_cache(false); |
| | | $app->simplepie->init(); |
| | | $items = $app->simplepie->get_items(); |