Marius Cramer
2013-11-14 7fe908c50c8dbc5cc05f571dbe11d66141caacd4
Cleaning up code to match coding guidelines
812 files modified
4407 ■■■■■ changed files
helper_scripts/dns_export_to_bind.php 44 ●●●● patch | view | raw | blame | history
helper_scripts/dns_export_to_bind_retrans_daily.php patch | view | raw | blame | history
helper_scripts/mydns_to_powerdns_migration.php patch | view | raw | blame | history
helper_scripts/recreate_webalizer_stats.php 4 ●●●● patch | view | raw | blame | history
install/autoupdate.php 18 ●●●● patch | view | raw | blame | history
install/dist/conf/centos52.conf.php patch | view | raw | blame | history
install/dist/conf/centos53.conf.php patch | view | raw | blame | history
install/dist/conf/debian40.conf.php patch | view | raw | blame | history
install/dist/conf/debian60.conf.php patch | view | raw | blame | history
install/dist/conf/fedora9.conf.php patch | view | raw | blame | history
install/dist/conf/gentoo.conf.php patch | view | raw | blame | history
install/dist/conf/opensuse110.conf.php patch | view | raw | blame | history
install/dist/conf/opensuse112.conf.php patch | view | raw | blame | history
install/dist/lib/centos52.lib.php patch | view | raw | blame | history
install/dist/lib/centos53.lib.php patch | view | raw | blame | history
install/dist/lib/debian40.lib.php patch | view | raw | blame | history
install/dist/lib/debian60.lib.php 1 ●●●● patch | view | raw | blame | history
install/dist/lib/fedora.lib.php 4 ●●●● patch | view | raw | blame | history
install/dist/lib/fedora9.lib.php patch | view | raw | blame | history
install/dist/lib/gentoo.lib.php 7 ●●●● patch | view | raw | blame | history
install/dist/lib/opensuse.lib.php 4 ●●●● patch | view | raw | blame | history
install/dist/lib/opensuse110.lib.php patch | view | raw | blame | history
install/dist/lib/opensuse112.lib.php patch | view | raw | blame | history
install/install.php 12 ●●●● patch | view | raw | blame | history
install/lib/install.lib.php 3 ●●●●● patch | view | raw | blame | history
install/lib/installer_base.lib.php 9 ●●●●● patch | view | raw | blame | history
install/lib/mysql.lib.php 2 ●●● patch | view | raw | blame | history
install/lib/update.lib.php 4 ●●● patch | view | raw | blame | history
install/patches/upd_0001.php 2 ●●●●● patch | view | raw | blame | history
install/setrights.php 18 ●●●● patch | view | raw | blame | history
install/uninstall-fedora.php 4 ●●●● patch | view | raw | blame | history
install/uninstall.php 4 ●●●● patch | view | raw | blame | history
install/update.php 18 ●●●● patch | view | raw | blame | history
interface/lib/app.inc.php 8 ●●●●● patch | view | raw | blame | history
interface/lib/classes/aps_base.inc.php 8 ●●●●● patch | view | raw | blame | history
interface/lib/classes/aps_crawler.inc.php 26 ●●●●● patch | view | raw | blame | history
interface/lib/classes/aps_guicontroller.inc.php 28 ●●●●● patch | view | raw | blame | history
interface/lib/classes/auth.inc.php patch | view | raw | blame | history
interface/lib/classes/client_templates.inc.php 5 ●●●● patch | view | raw | blame | history
interface/lib/classes/cmstree.inc.php patch | view | raw | blame | history
interface/lib/classes/custom_datasource.inc.php patch | view | raw | blame | history
interface/lib/classes/db_firebird.inc.php 3 ●●●● patch | view | raw | blame | history
interface/lib/classes/db_mysql.inc.php patch | view | raw | blame | history
interface/lib/classes/form.inc.php 43 ●●●●● patch | view | raw | blame | history
interface/lib/classes/functions.inc.php 24 ●●●● patch | view | raw | blame | history
interface/lib/classes/getconf.inc.php 1 ●●●● patch | view | raw | blame | history
interface/lib/classes/importer.inc.php 5 ●●●● patch | view | raw | blame | history
interface/lib/classes/ini_parser.inc.php patch | view | raw | blame | history
interface/lib/classes/ispcmail.inc.php 57 ●●●●● patch | view | raw | blame | history
interface/lib/classes/listform.inc.php 8 ●●●●● patch | view | raw | blame | history
interface/lib/classes/listform_actions.inc.php 7 ●●●●● patch | view | raw | blame | history
interface/lib/classes/listform_tpl_generator.inc.php 2 ●●● patch | view | raw | blame | history
interface/lib/classes/plugin.inc.php 4 ●●●● patch | view | raw | blame | history
interface/lib/classes/plugin_backuplist.inc.php 2 ●●● patch | view | raw | blame | history
interface/lib/classes/plugin_base.inc.php patch | view | raw | blame | history
interface/lib/classes/plugin_dbhistory.inc.php 1 ●●●● patch | view | raw | blame | history
interface/lib/classes/plugin_listview.inc.php 3 ●●●● patch | view | raw | blame | history
interface/lib/classes/remoting.inc.php 20 ●●●● patch | view | raw | blame | history
interface/lib/classes/remoting_lib.inc.php 18 ●●●● patch | view | raw | blame | history
interface/lib/classes/searchform.inc.php 4 ●●● patch | view | raw | blame | history
interface/lib/classes/searchform_actions.inc.php 5 ●●●●● patch | view | raw | blame | history
interface/lib/classes/searchform_tpl_generator.inc.php patch | view | raw | blame | history
interface/lib/classes/session.inc.php patch | view | raw | blame | history
interface/lib/classes/simplepie.inc.php 177 ●●●●● patch | view | raw | blame | history
interface/lib/classes/sites_database_plugin.inc.php 1 ●●●● patch | view | raw | blame | history
interface/lib/classes/tform.inc.php 30 ●●●● patch | view | raw | blame | history
interface/lib/classes/tform_actions.inc.php 28 ●●●●● patch | view | raw | blame | history
interface/lib/classes/tform_tpl_generator.inc.php 3 ●●●● patch | view | raw | blame | history
interface/lib/classes/tools_monitor.inc.php 2 ●●●●● patch | view | raw | blame | history
interface/lib/classes/tools_sites.inc.php 1 ●●●● patch | view | raw | blame | history
interface/lib/classes/tpl.inc.php 58 ●●●●● patch | view | raw | blame | history
interface/lib/classes/tpl_cache.inc.php 7 ●●●●● patch | view | raw | blame | history
interface/lib/classes/tpl_error.inc.php 3 ●●●●● patch | view | raw | blame | history
interface/lib/classes/tpl_ini.inc.php 1 ●●●● patch | view | raw | blame | history
interface/lib/classes/tree.inc.php patch | view | raw | blame | history
interface/lib/classes/validate_autoresponder.inc.php 7 ●●●●● patch | view | raw | blame | history
interface/lib/classes/validate_client.inc.php patch | view | raw | blame | history
interface/lib/classes/validate_cron.inc.php patch | view | raw | blame | history
interface/lib/classes/validate_database.inc.php 2 ●●● patch | view | raw | blame | history
interface/lib/classes/validate_datetime.inc.php 24 ●●●●● patch | view | raw | blame | history
interface/lib/classes/validate_dns.inc.php patch | view | raw | blame | history
interface/lib/classes/validate_domain.inc.php 1 ●●●● patch | view | raw | blame | history
interface/lib/classes/validate_ftpuser.inc.php patch | view | raw | blame | history
interface/lib/classes/validate_reseller.inc.php patch | view | raw | blame | history
interface/lib/config.inc.php 6 ●●●● patch | view | raw | blame | history
interface/lib/plugins/clients_template_plugin.inc.php 2 ●●●●● patch | view | raw | blame | history
interface/lib/plugins/mail_user_filter_plugin.inc.php patch | view | raw | blame | history
interface/lib/plugins/sites_web_database_user_plugin.inc.php 2 ●●●●● patch | view | raw | blame | history
interface/lib/plugins/sites_web_domain_plugin.inc.php 2 ●●●●● patch | view | raw | blame | history
interface/lib/plugins/sites_web_vhost_subdomain_plugin.inc.php 2 ●●●●● patch | view | raw | blame | history
interface/lib/plugins/vm_openvz_plugin.inc.php 1 ●●●● patch | view | raw | blame | history
interface/web/admin/directive_snippets_del.php 4 ●●●● patch | view | raw | blame | history
interface/web/admin/directive_snippets_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/admin/directive_snippets_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/admin/firewall_del.php 4 ●●●● patch | view | raw | blame | history
interface/web/admin/firewall_edit.php 5 ●●●●● patch | view | raw | blame | history
interface/web/admin/firewall_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/admin/form/dbsync.tform.php 14 ●●●● patch | view | raw | blame | history
interface/web/admin/form/directive_snippets.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/admin/form/filesync.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/admin/form/firewall.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/admin/form/groups.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/admin/form/iptables.tform.php patch | view | raw | blame | history
interface/web/admin/form/remote_user.tform.php 14 ●●●● patch | view | raw | blame | history
interface/web/admin/form/server.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/admin/form/server_config.tform.php 120 ●●●● patch | view | raw | blame | history
interface/web/admin/form/server_ip.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/admin/form/server_php.tform.php 36 ●●●● patch | view | raw | blame | history
interface/web/admin/form/software_package.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/admin/form/software_repo.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/admin/form/system_config.tform.php 48 ●●●● patch | view | raw | blame | history
interface/web/admin/form/tpl_default.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/admin/form/users.tform.php 24 ●●●● patch | view | raw | blame | history
interface/web/admin/groups_del.php 4 ●●●● patch | view | raw | blame | history
interface/web/admin/groups_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/admin/groups_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/admin/index.php 1 ●●●● patch | view | raw | blame | history
interface/web/admin/iptables_del.php 4 ●●●● patch | view | raw | blame | history
interface/web/admin/iptables_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/admin/iptables_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/admin/language_add.php 6 ●●●● patch | view | raw | blame | history
interface/web/admin/language_complete.php 10 ●●●● patch | view | raw | blame | history
interface/web/admin/language_edit.php 10 ●●●● patch | view | raw | blame | history
interface/web/admin/language_export.php 6 ●●●● patch | view | raw | blame | history
interface/web/admin/language_import.php 6 ●●●● patch | view | raw | blame | history
interface/web/admin/language_list.php 6 ●●●● patch | view | raw | blame | history
interface/web/admin/lib/module.conf.php 2 ●●● patch | view | raw | blame | history
interface/web/admin/lib/remote.conf.php patch | view | raw | blame | history
interface/web/admin/list/directive_snippets.list.php patch | view | raw | blame | history
interface/web/admin/list/firewall.list.php patch | view | raw | blame | history
interface/web/admin/list/groups.list.php patch | view | raw | blame | history
interface/web/admin/list/iptables.list.php patch | view | raw | blame | history
interface/web/admin/list/remote_user.list.php 1 ●●●● patch | view | raw | blame | history
interface/web/admin/list/server.list.php patch | view | raw | blame | history
interface/web/admin/list/server_config.list.php patch | view | raw | blame | history
interface/web/admin/list/server_ip.list.php patch | view | raw | blame | history
interface/web/admin/list/server_php.list.php patch | view | raw | blame | history
interface/web/admin/list/software_repo.list.php patch | view | raw | blame | history
interface/web/admin/list/users.list.php patch | view | raw | blame | history
interface/web/admin/login_as.php 6 ●●●● patch | view | raw | blame | history
interface/web/admin/remote_action_ispcupdate.php 6 ●●●● patch | view | raw | blame | history
interface/web/admin/remote_action_osupdate.php 6 ●●●● patch | view | raw | blame | history
interface/web/admin/remote_user_del.php 5 ●●●●● patch | view | raw | blame | history
interface/web/admin/remote_user_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/admin/remote_user_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/admin/server_config_del.php 4 ●●●● patch | view | raw | blame | history
interface/web/admin/server_config_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/admin/server_config_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/admin/server_del.php 4 ●●●● patch | view | raw | blame | history
interface/web/admin/server_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/admin/server_ip_del.php 4 ●●●● patch | view | raw | blame | history
interface/web/admin/server_ip_edit.php 5 ●●●●● patch | view | raw | blame | history
interface/web/admin/server_ip_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/admin/server_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/admin/server_php_del.php 4 ●●●● patch | view | raw | blame | history
interface/web/admin/server_php_edit.php 5 ●●●●● patch | view | raw | blame | history
interface/web/admin/server_php_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/admin/software_package_del.php 4 ●●●● patch | view | raw | blame | history
interface/web/admin/software_package_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/admin/software_package_install.php 6 ●●●● patch | view | raw | blame | history
interface/web/admin/software_package_list.php 6 ●●●● patch | view | raw | blame | history
interface/web/admin/software_repo_del.php 4 ●●●● patch | view | raw | blame | history
interface/web/admin/software_repo_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/admin/software_repo_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/admin/software_update_list.php 6 ●●●● patch | view | raw | blame | history
interface/web/admin/system_config_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/admin/tpl_default.php 4 ●●●● patch | view | raw | blame | history
interface/web/admin/users_del.php 4 ●●●● patch | view | raw | blame | history
interface/web/admin/users_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/admin/users_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/capp.php 8 ●●●● patch | view | raw | blame | history
interface/web/client/client_circle_del.php 4 ●●●● patch | view | raw | blame | history
interface/web/client/client_circle_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/client/client_circle_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/client/client_del.php 9 ●●●●● patch | view | raw | blame | history
interface/web/client/client_edit.php 6 ●●●●● patch | view | raw | blame | history
interface/web/client/client_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/client/client_message.php 6 ●●●● patch | view | raw | blame | history
interface/web/client/client_template_del.php 5 ●●●●● patch | view | raw | blame | history
interface/web/client/client_template_edit.php 5 ●●●●● patch | view | raw | blame | history
interface/web/client/client_template_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/client/domain_del.php 7 ●●●●● patch | view | raw | blame | history
interface/web/client/domain_edit.php 7 ●●●●● patch | view | raw | blame | history
interface/web/client/domain_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/client/domain_new_client.php 4 ●●●● patch | view | raw | blame | history
interface/web/client/form/client.tform.php 24 ●●●● patch | view | raw | blame | history
interface/web/client/form/client_circle.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/client/form/client_template.tform.php 24 ●●●● patch | view | raw | blame | history
interface/web/client/form/domain.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/client/form/reseller.tform.php 24 ●●●● patch | view | raw | blame | history
interface/web/client/lib/admin.conf.php patch | view | raw | blame | history
interface/web/client/lib/module.conf.php patch | view | raw | blame | history
interface/web/client/list/client.list.php patch | view | raw | blame | history
interface/web/client/list/client_circle.list.php patch | view | raw | blame | history
interface/web/client/list/client_template.list.php patch | view | raw | blame | history
interface/web/client/list/domain.list.php patch | view | raw | blame | history
interface/web/client/list/reseller.list.php patch | view | raw | blame | history
interface/web/client/reseller_del.php 5 ●●●●● patch | view | raw | blame | history
interface/web/client/reseller_edit.php 5 ●●●●● patch | view | raw | blame | history
interface/web/client/reseller_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/content.php 8 ●●●● patch | view | raw | blame | history
interface/web/dashboard/ajax_get_json.php 8 ●●●● patch | view | raw | blame | history
interface/web/dashboard/dashboard.php 8 ●●●● patch | view | raw | blame | history
interface/web/dashboard/dashlets/limits.php 2 ●●● patch | view | raw | blame | history
interface/web/dashboard/dashlets/mailquota.php 3 ●●●● patch | view | raw | blame | history
interface/web/dashboard/dashlets/modules.php 5 ●●●●● patch | view | raw | blame | history
interface/web/dashboard/dashlets/quota.php 3 ●●●● patch | view | raw | blame | history
interface/web/dashboard/lib/admin.conf.php patch | view | raw | blame | history
interface/web/dashboard/lib/custom_menu.inc.php patch | view | raw | blame | history
interface/web/dashboard/lib/module.conf.php patch | view | raw | blame | history
interface/web/designer/form_edit.php 10 ●●●● patch | view | raw | blame | history
interface/web/designer/form_list.php 8 ●●●● patch | view | raw | blame | history
interface/web/designer/form_show.php 8 ●●●● patch | view | raw | blame | history
interface/web/designer/index.php 1 ●●●● patch | view | raw | blame | history
interface/web/designer/lib/admin.conf.php patch | view | raw | blame | history
interface/web/designer/lib/module.conf.php patch | view | raw | blame | history
interface/web/designer/module_edit.php 10 ●●●● patch | view | raw | blame | history
interface/web/designer/module_list.php 8 ●●●● patch | view | raw | blame | history
interface/web/designer/module_nav_del.php 6 ●●●● patch | view | raw | blame | history
interface/web/designer/module_nav_edit.php 10 ●●●● patch | view | raw | blame | history
interface/web/designer/module_nav_flip.php 6 ●●●● patch | view | raw | blame | history
interface/web/designer/module_nav_item_del.php 6 ●●●● patch | view | raw | blame | history
interface/web/designer/module_nav_item_edit.php 10 ●●●● patch | view | raw | blame | history
interface/web/designer/module_nav_item_flip.php 6 ●●●● patch | view | raw | blame | history
interface/web/designer/module_show.php 8 ●●●● patch | view | raw | blame | history
interface/web/dns/ajax_get_json.php 4 ●●●● patch | view | raw | blame | history
interface/web/dns/dns_a_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/dns/dns_a_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/dns/dns_aaaa_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/dns/dns_alias_edit.php 5 ●●●●● patch | view | raw | blame | history
interface/web/dns/dns_cname_edit.php 5 ●●●●● patch | view | raw | blame | history
interface/web/dns/dns_hinfo_edit.php 5 ●●●●● patch | view | raw | blame | history
interface/web/dns/dns_import.php 6 ●●●● patch | view | raw | blame | history
interface/web/dns/dns_mx_edit.php 5 ●●●●● patch | view | raw | blame | history
interface/web/dns/dns_ns_edit.php 5 ●●●●● patch | view | raw | blame | history
interface/web/dns/dns_ptr_edit.php 5 ●●●●● patch | view | raw | blame | history
interface/web/dns/dns_rp_edit.php 5 ●●●●● patch | view | raw | blame | history
interface/web/dns/dns_rr_del.php 5 ●●●●● patch | view | raw | blame | history
interface/web/dns/dns_slave_del.php 5 ●●●●● patch | view | raw | blame | history
interface/web/dns/dns_slave_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/dns/dns_slave_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/dns/dns_soa_del.php 5 ●●●●● patch | view | raw | blame | history
interface/web/dns/dns_soa_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/dns/dns_soa_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/dns/dns_srv_edit.php 5 ●●●●● patch | view | raw | blame | history
interface/web/dns/dns_template_del.php 4 ●●●● patch | view | raw | blame | history
interface/web/dns/dns_template_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/dns/dns_template_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/dns/dns_txt_edit.php 5 ●●●●● patch | view | raw | blame | history
interface/web/dns/dns_wizard.php 6 ●●●● patch | view | raw | blame | history
interface/web/dns/form/dns_a.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/dns/form/dns_aaaa.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/dns/form/dns_alias.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/dns/form/dns_cname.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/dns/form/dns_hinfo.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/dns/form/dns_mx.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/dns/form/dns_ns.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/dns/form/dns_ptr.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/dns/form/dns_rp.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/dns/form/dns_slave.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/dns/form/dns_soa.tform.php 24 ●●●● patch | view | raw | blame | history
interface/web/dns/form/dns_srv.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/dns/form/dns_template.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/dns/form/dns_txt.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/dns/lib/admin.conf.php patch | view | raw | blame | history
interface/web/dns/lib/module.conf.php patch | view | raw | blame | history
interface/web/dns/lib/remote.conf.php patch | view | raw | blame | history
interface/web/dns/list/dns_a.list.php patch | view | raw | blame | history
interface/web/dns/list/dns_slave.list.php patch | view | raw | blame | history
interface/web/dns/list/dns_soa.list.php patch | view | raw | blame | history
interface/web/dns/list/dns_template.list.php patch | view | raw | blame | history
interface/web/help/faq_delete.php 4 ●●●● patch | view | raw | blame | history
interface/web/help/faq_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/help/faq_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/help/faq_manage_questions_list.php 6 ●●●● patch | view | raw | blame | history
interface/web/help/faq_sections_delete.php 4 ●●●● patch | view | raw | blame | history
interface/web/help/faq_sections_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/help/faq_sections_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/help/form/faq.tform.php patch | view | raw | blame | history
interface/web/help/form/faq_sections.tform.php patch | view | raw | blame | history
interface/web/help/form/support_message.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/help/index.php patch | view | raw | blame | history
interface/web/help/lib/admin.conf.php patch | view | raw | blame | history
interface/web/help/lib/module.conf.php patch | view | raw | blame | history
interface/web/help/list/faq_list.php 2 ●●● patch | view | raw | blame | history
interface/web/help/list/faq_manage_questions_list.php 2 ●●● patch | view | raw | blame | history
interface/web/help/list/faq_sections_list.php 2 ●●● patch | view | raw | blame | history
interface/web/help/list/support_message.list.php patch | view | raw | blame | history
interface/web/help/support_message_del.php 4 ●●●● patch | view | raw | blame | history
interface/web/help/support_message_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/help/support_message_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/help/version.php 4 ●●●● patch | view | raw | blame | history
interface/web/index.php 4 ●●●● patch | view | raw | blame | history
interface/web/js/scrigo.js.php 7 ●●●●● patch | view | raw | blame | history
interface/web/keepalive.php 4 ●●●● patch | view | raw | blame | history
interface/web/login/index.php 4 ●●●● patch | view | raw | blame | history
interface/web/login/lib/module.conf.php patch | view | raw | blame | history
interface/web/login/logout.php 10 ●●●● patch | view | raw | blame | history
interface/web/login/password_reset.php 6 ●●●● patch | view | raw | blame | history
interface/web/mail/form/mail_alias.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/mail/form/mail_aliasdomain.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/mail/form/mail_blacklist.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/mail/form/mail_content_filter.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/mail/form/mail_domain.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/mail/form/mail_domain_catchall.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/mail/form/mail_forward.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/mail/form/mail_get.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/mail/form/mail_mailinglist.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/mail/form/mail_relay_recipient.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/mail/form/mail_spamfilter.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/mail/form/mail_transport.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/mail/form/mail_user.tform.php 48 ●●●● patch | view | raw | blame | history
interface/web/mail/form/mail_user_filter.tform.php 14 ●●●● patch | view | raw | blame | history
interface/web/mail/form/mail_whitelist.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/mail/form/spamfilter_blacklist.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/mail/form/spamfilter_config.tform.php 36 ●●●● patch | view | raw | blame | history
interface/web/mail/form/spamfilter_policy.tform.php 48 ●●●● patch | view | raw | blame | history
interface/web/mail/form/spamfilter_users.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/mail/form/spamfilter_whitelist.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/mail/lib/admin.conf.php patch | view | raw | blame | history
interface/web/mail/lib/module.conf.php patch | view | raw | blame | history
interface/web/mail/lib/remote.conf.php patch | view | raw | blame | history
interface/web/mail/list/mail_alias.list.php patch | view | raw | blame | history
interface/web/mail/list/mail_aliasdomain.list.php patch | view | raw | blame | history
interface/web/mail/list/mail_blacklist.list.php patch | view | raw | blame | history
interface/web/mail/list/mail_content_filter.list.php patch | view | raw | blame | history
interface/web/mail/list/mail_domain.list.php patch | view | raw | blame | history
interface/web/mail/list/mail_domain_catchall.list.php patch | view | raw | blame | history
interface/web/mail/list/mail_forward.list.php patch | view | raw | blame | history
interface/web/mail/list/mail_get.list.php patch | view | raw | blame | history
interface/web/mail/list/mail_mailinglist.list.php patch | view | raw | blame | history
interface/web/mail/list/mail_relay_recipient.list.php patch | view | raw | blame | history
interface/web/mail/list/mail_spamfilter.list.php patch | view | raw | blame | history
interface/web/mail/list/mail_transport.list.php patch | view | raw | blame | history
interface/web/mail/list/mail_user.list.php patch | view | raw | blame | history
interface/web/mail/list/mail_user_filter.list.php patch | view | raw | blame | history
interface/web/mail/list/mail_user_stats.list.php patch | view | raw | blame | history
interface/web/mail/list/mail_whitelist.list.php patch | view | raw | blame | history
interface/web/mail/list/spamfilter_blacklist.list.php patch | view | raw | blame | history
interface/web/mail/list/spamfilter_config.list.php patch | view | raw | blame | history
interface/web/mail/list/spamfilter_policy.list.php patch | view | raw | blame | history
interface/web/mail/list/spamfilter_users.list.php patch | view | raw | blame | history
interface/web/mail/list/spamfilter_whitelist.list.php patch | view | raw | blame | history
interface/web/mail/list/user_quota_stats.list.php patch | view | raw | blame | history
interface/web/mail/mail_alias_del.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/mail_alias_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/mail_alias_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/mail_aliasdomain_del.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/mail_aliasdomain_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/mail_aliasdomain_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/mail_blacklist_del.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/mail_blacklist_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/mail_blacklist_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/mail_content_filter_del.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/mail_content_filter_edit.php 5 ●●●●● patch | view | raw | blame | history
interface/web/mail/mail_content_filter_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/mail_domain_catchall_del.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/mail_domain_catchall_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/mail_domain_catchall_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/mail_domain_del.php 5 ●●●●● patch | view | raw | blame | history
interface/web/mail/mail_domain_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/mail_domain_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/mail_forward_del.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/mail_forward_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/mail_forward_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/mail_get_del.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/mail_get_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/mail_get_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/mail_mailinglist_del.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/mail_mailinglist_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/mail_mailinglist_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/mail_relay_recipient_del.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/mail_relay_recipient_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/mail_relay_recipient_list.php 6 ●●●● patch | view | raw | blame | history
interface/web/mail/mail_spamfilter_del.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/mail_spamfilter_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/mail_spamfilter_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/mail_transport_del.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/mail_transport_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/mail_transport_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/mail_user_del.php 5 ●●●●● patch | view | raw | blame | history
interface/web/mail/mail_user_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/mail_user_filter_del.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/mail_user_filter_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/mail_user_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/mail_user_stats.php 5 ●●●●● patch | view | raw | blame | history
interface/web/mail/mail_whitelist_del.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/mail_whitelist_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/mail_whitelist_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/mailinglist.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/spamfilter_blacklist_del.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/spamfilter_blacklist_edit.php 5 ●●●●● patch | view | raw | blame | history
interface/web/mail/spamfilter_blacklist_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/spamfilter_config_del.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/spamfilter_config_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/spamfilter_config_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/spamfilter_policy_del.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/spamfilter_policy_edit.php 5 ●●●●● patch | view | raw | blame | history
interface/web/mail/spamfilter_policy_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/spamfilter_users_del.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/spamfilter_users_edit.php 5 ●●●●● patch | view | raw | blame | history
interface/web/mail/spamfilter_users_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/spamfilter_whitelist_del.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/spamfilter_whitelist_edit.php 5 ●●●●● patch | view | raw | blame | history
interface/web/mail/spamfilter_whitelist_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/mail/user_quota_stats.php 5 ●●●●● patch | view | raw | blame | history
interface/web/mail/webmailer.php 4 ●●●● patch | view | raw | blame | history
interface/web/mailuser/form/mail_user_autoresponder.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/mailuser/form/mail_user_cc.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/mailuser/form/mail_user_filter.tform.php 14 ●●●● patch | view | raw | blame | history
interface/web/mailuser/form/mail_user_password.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/mailuser/form/mail_user_spamfilter.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/mailuser/index.php 6 ●●●● patch | view | raw | blame | history
interface/web/mailuser/lib/admin.conf.php patch | view | raw | blame | history
interface/web/mailuser/lib/module.conf.php patch | view | raw | blame | history
interface/web/mailuser/lib/remote.conf.php patch | view | raw | blame | history
interface/web/mailuser/list/mail_user_filter.list.php patch | view | raw | blame | history
interface/web/mailuser/mail_user_autoresponder_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/mailuser/mail_user_cc_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/mailuser/mail_user_filter_del.php 4 ●●●● patch | view | raw | blame | history
interface/web/mailuser/mail_user_filter_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/mailuser/mail_user_filter_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/mailuser/mail_user_password_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/mailuser/mail_user_spamfilter_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/monitor/datalog_del.php 4 ●●●● patch | view | raw | blame | history
interface/web/monitor/datalog_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/monitor/lib/admin.conf.php patch | view | raw | blame | history
interface/web/monitor/lib/module.conf.php patch | view | raw | blame | history
interface/web/monitor/list/datalog.list.php patch | view | raw | blame | history
interface/web/monitor/list/log.list.php patch | view | raw | blame | history
interface/web/monitor/log_del.php 4 ●●●● patch | view | raw | blame | history
interface/web/monitor/log_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/monitor/show_data.php 4 ●●●● patch | view | raw | blame | history
interface/web/monitor/show_log.php 4 ●●●● patch | view | raw | blame | history
interface/web/monitor/show_monit.php 4 ●●●● patch | view | raw | blame | history
interface/web/monitor/show_munin.php 4 ●●●● patch | view | raw | blame | history
interface/web/monitor/show_sys_state.php 6 ●●●●● patch | view | raw | blame | history
interface/web/nav.php 10 ●●●● patch | view | raw | blame | history
interface/web/remote/index.php 4 ●●●● patch | view | raw | blame | history
interface/web/remote/monitor.php 22 ●●●● patch | view | raw | blame | history
interface/web/sites/ajax_get_ip.php 4 ●●●● patch | view | raw | blame | history
interface/web/sites/ajax_get_json.php 4 ●●●● patch | view | raw | blame | history
interface/web/sites/aps_availablepackages_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/sites/aps_cron_apscrawler_if.php 4 ●●●● patch | view | raw | blame | history
interface/web/sites/aps_do_operation.php 4 ●●●● patch | view | raw | blame | history
interface/web/sites/aps_install_package.php 6 ●●●● patch | view | raw | blame | history
interface/web/sites/aps_installedpackages_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/sites/aps_packagedetails_show.php 6 ●●●● patch | view | raw | blame | history
interface/web/sites/aps_update_packagelist.php 6 ●●●● patch | view | raw | blame | history
interface/web/sites/cron_del.php 5 ●●●●● patch | view | raw | blame | history
interface/web/sites/cron_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/sites/cron_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/sites/database_del.php 5 ●●●●● patch | view | raw | blame | history
interface/web/sites/database_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/sites/database_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/sites/database_phpmyadmin.php 4 ●●●● patch | view | raw | blame | history
interface/web/sites/database_user_del.php 5 ●●●●● patch | view | raw | blame | history
interface/web/sites/database_user_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/sites/database_user_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/sites/form/cron.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/sites/form/database.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/sites/form/database_user.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/sites/form/ftp_user.tform.php 36 ●●●● patch | view | raw | blame | history
interface/web/sites/form/shell_user.tform.php 24 ●●●● patch | view | raw | blame | history
interface/web/sites/form/web_aliasdomain.tform.php 24 ●●●● patch | view | raw | blame | history
interface/web/sites/form/web_domain.tform.php 72 ●●●● patch | view | raw | blame | history
interface/web/sites/form/web_folder.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/sites/form/web_folder_user.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/sites/form/web_subdomain.tform.php 24 ●●●● patch | view | raw | blame | history
interface/web/sites/form/web_vhost_subdomain.tform.php 72 ●●●● patch | view | raw | blame | history
interface/web/sites/form/webdav_user.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/sites/ftp_user_del.php 4 ●●●● patch | view | raw | blame | history
interface/web/sites/ftp_user_edit.php 5 ●●●●● patch | view | raw | blame | history
interface/web/sites/ftp_user_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/sites/lib/admin.conf.php patch | view | raw | blame | history
interface/web/sites/lib/module.conf.php 2 ●●● patch | view | raw | blame | history
interface/web/sites/lib/remote.conf.php patch | view | raw | blame | history
interface/web/sites/list/aps_availablepackages.list.php patch | view | raw | blame | history
interface/web/sites/list/aps_installedpackages.list.php patch | view | raw | blame | history
interface/web/sites/list/cron.list.php patch | view | raw | blame | history
interface/web/sites/list/database.list.php patch | view | raw | blame | history
interface/web/sites/list/database_user.list.php patch | view | raw | blame | history
interface/web/sites/list/ftp_user.list.php patch | view | raw | blame | history
interface/web/sites/list/shell_user.list.php patch | view | raw | blame | history
interface/web/sites/list/user_quota_stats.list.php patch | view | raw | blame | history
interface/web/sites/list/web_aliasdomain.list.php patch | view | raw | blame | history
interface/web/sites/list/web_domain.list.php patch | view | raw | blame | history
interface/web/sites/list/web_folder.list.php patch | view | raw | blame | history
interface/web/sites/list/web_folder_user.list.php patch | view | raw | blame | history
interface/web/sites/list/web_sites_stats.list.php patch | view | raw | blame | history
interface/web/sites/list/web_subdomain.list.php patch | view | raw | blame | history
interface/web/sites/list/web_vhost_subdomain.list.php patch | view | raw | blame | history
interface/web/sites/list/webdav_user.list.php patch | view | raw | blame | history
interface/web/sites/shell_user_del.php 4 ●●●● patch | view | raw | blame | history
interface/web/sites/shell_user_edit.php 5 ●●●●● patch | view | raw | blame | history
interface/web/sites/shell_user_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/sites/user_quota_stats.php 5 ●●●●● patch | view | raw | blame | history
interface/web/sites/web_aliasdomain_del.php 4 ●●●● patch | view | raw | blame | history
interface/web/sites/web_aliasdomain_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/sites/web_aliasdomain_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/sites/web_domain_del.php 5 ●●●●● patch | view | raw | blame | history
interface/web/sites/web_domain_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/sites/web_domain_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/sites/web_folder_del.php 5 ●●●●● patch | view | raw | blame | history
interface/web/sites/web_folder_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/sites/web_folder_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/sites/web_folder_user_del.php 4 ●●●● patch | view | raw | blame | history
interface/web/sites/web_folder_user_edit.php 5 ●●●●● patch | view | raw | blame | history
interface/web/sites/web_folder_user_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/sites/web_sites_stats.php 5 ●●●●● patch | view | raw | blame | history
interface/web/sites/web_subdomain_del.php 4 ●●●● patch | view | raw | blame | history
interface/web/sites/web_subdomain_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/sites/web_subdomain_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/sites/web_vhost_subdomain_del.php 5 ●●●●● patch | view | raw | blame | history
interface/web/sites/web_vhost_subdomain_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/sites/web_vhost_subdomain_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/sites/webdav_user_del.php 4 ●●●● patch | view | raw | blame | history
interface/web/sites/webdav_user_edit.php 5 ●●●●● patch | view | raw | blame | history
interface/web/sites/webdav_user_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/tools/dns_import_tupa.php 4 ●●●● patch | view | raw | blame | history
interface/web/tools/form/interface_settings.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/tools/form/tpl_default.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/tools/form/user_settings.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/tools/import_ispconfig.php 8 ●●●● patch | view | raw | blame | history
interface/web/tools/import_plesk.php 9 ●●●●● patch | view | raw | blame | history
interface/web/tools/index.php 6 ●●●● patch | view | raw | blame | history
interface/web/tools/interface_settings.php 5 ●●●●● patch | view | raw | blame | history
interface/web/tools/lib/interface.d/tpl_default.menu.php patch | view | raw | blame | history
interface/web/tools/lib/menu.d/import.menu.php patch | view | raw | blame | history
interface/web/tools/lib/menu.d/resync.menu.php patch | view | raw | blame | history
interface/web/tools/lib/menu.d/statistics.menu.php patch | view | raw | blame | history
interface/web/tools/lib/module.conf.php 2 ●●● patch | view | raw | blame | history
interface/web/tools/resync.php 6 ●●●● patch | view | raw | blame | history
interface/web/tools/tpl_default.php 6 ●●●● patch | view | raw | blame | history
interface/web/tools/user_settings.php 4 ●●●● patch | view | raw | blame | history
interface/web/vm/ajax_get_ip.php 4 ●●●● patch | view | raw | blame | history
interface/web/vm/form/openvz_ip.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/vm/form/openvz_ostemplate.tform.php 12 ●●●● patch | view | raw | blame | history
interface/web/vm/form/openvz_template.tform.php 24 ●●●● patch | view | raw | blame | history
interface/web/vm/form/openvz_vm.tform.php 24 ●●●● patch | view | raw | blame | history
interface/web/vm/lib/admin.conf.php patch | view | raw | blame | history
interface/web/vm/lib/module.conf.php patch | view | raw | blame | history
interface/web/vm/lib/remote.conf.php patch | view | raw | blame | history
interface/web/vm/list/openvz_ip.list.php patch | view | raw | blame | history
interface/web/vm/list/openvz_ostemplate.list.php patch | view | raw | blame | history
interface/web/vm/list/openvz_template.list.php patch | view | raw | blame | history
interface/web/vm/list/openvz_vm.list.php patch | view | raw | blame | history
interface/web/vm/openvz_action.php 6 ●●●● patch | view | raw | blame | history
interface/web/vm/openvz_ip_del.php 4 ●●●● patch | view | raw | blame | history
interface/web/vm/openvz_ip_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/vm/openvz_ip_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/vm/openvz_ostemplate_del.php 4 ●●●● patch | view | raw | blame | history
interface/web/vm/openvz_ostemplate_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/vm/openvz_ostemplate_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/vm/openvz_template_del.php 4 ●●●● patch | view | raw | blame | history
interface/web/vm/openvz_template_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/vm/openvz_template_list.php 4 ●●●● patch | view | raw | blame | history
interface/web/vm/openvz_vm_del.php 4 ●●●● patch | view | raw | blame | history
interface/web/vm/openvz_vm_edit.php 4 ●●●● patch | view | raw | blame | history
interface/web/vm/openvz_vm_list.php 4 ●●●● patch | view | raw | blame | history
remoting_client/examples/client_add.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/client_change_password.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/client_delete.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/client_delete_everything.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/client_get.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/client_get_by_username.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/client_get_id.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/client_get_sites_by_user.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/client_templates_get_all.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/client_update.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/dns_a_add.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/dns_a_delete.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/dns_a_get.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/dns_a_update.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/dns_aaaa_add.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/dns_aaaa_delete.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/dns_aaaa_get.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/dns_aaaa_update.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/dns_alias_add.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/dns_alias_delete.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/dns_alias_get.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/dns_alias_update.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/dns_cname_add.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/dns_cname_delete.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/dns_cname_get.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/dns_cname_update.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/dns_hinfo_add.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/dns_hinfo_delete.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/dns_hinfo_get.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/dns_hinfo_update.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/dns_mx_add.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/dns_mx_delete.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/dns_mx_get.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/dns_mx_update.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/dns_ns_add.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/dns_ns_delete.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/dns_ns_get.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/dns_ns_update.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/dns_ptr_add.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/dns_ptr_delete.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/dns_ptr_get.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/dns_ptr_update.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/dns_rp_add.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/dns_rp_delete.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/dns_rp_get.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/dns_rp_update.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/dns_rr_get_all_by_zone.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/dns_srv_add.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/dns_srv_delete.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/dns_srv_get.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/dns_srv_update.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/dns_txt_add.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/dns_txt_delete.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/dns_txt_get.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/dns_txt_update.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/dns_zone_add.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/dns_zone_delete.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/dns_zone_get.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/dns_zone_get_by_user.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/dns_zone_set_status.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/dns_zone_update.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/domains_domain_add.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/domains_domain_delete.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/domains_domain_get.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/domains_get_all_by_user.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/get_function_list.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/login.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/logout.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_alias_add.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_alias_delete.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_alias_get.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_alias_update.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_blacklist_add.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_blacklist_delete.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_blacklist_get.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_blacklist_update.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_catchall_add.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_catchall_delete.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_catchall_get.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_catchall_update.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_domain_add.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_domain_delete.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_domain_get.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_domain_get_by_domain.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_domain_set_status.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_domain_update.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_fetchmail_add.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_fetchmail_delete.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_fetchmail_get.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_fetchmail_update.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_filter_add.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_filter_delete.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_filter_get.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_filter_update.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_forward_add.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_forward_delete.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_forward_get.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_forward_update.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_mailinglist_add.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_mailinglist_delete.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_mailinglist_get.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_mailinglist_update.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_policy_add.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_policy_delete.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_policy_get.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_policy_update.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_spamfilter_blacklist_add.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_spamfilter_blacklist_delete.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_spamfilter_blacklist_get.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_spamfilter_blacklist_update.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_spamfilter_user_add.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_spamfilter_user_delete.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_spamfilter_user_get.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_spamfilter_user_update.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_spamfilter_whitelist_add.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_spamfilter_whitelist_delete.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_spamfilter_whitelist_get.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_spamfilter_whitelist_update.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_transport_add.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_transport_delete.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_transport_get.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_transport_update.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_user_add.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_user_delete.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_user_filter_add.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_user_filter_delete.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_user_filter_get.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_user_filter_update.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_user_get.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_user_update.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_whitelist_add.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_whitelist_delete.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_whitelist_get.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/mail_whitelist_update.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/openvz_get_free_ip.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/openvz_ip_add.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/openvz_ip_delete.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/openvz_ip_get.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/openvz_ip_update.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/openvz_ostemplate_add.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/openvz_ostemplate_delete.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/openvz_ostemplate_get.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/openvz_ostemplate_update.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/openvz_template_add.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/openvz_template_delete.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/openvz_template_get.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/openvz_template_update.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/openvz_vm_add.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/openvz_vm_add_from_template.php patch | view | raw | blame | history
remoting_client/examples/openvz_vm_delete.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/openvz_vm_get.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/openvz_vm_get_by_client.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/openvz_vm_update.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/server_get.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/server_get_serverid_by_ip.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/sites_cron_add.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/sites_cron_delete.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/sites_cron_get.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/sites_cron_update.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/sites_database_add.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/sites_database_delete.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/sites_database_get.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/sites_database_get_all_by_user.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/sites_database_update.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/sites_database_user_add.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/sites_database_user_delete.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/sites_database_user_get.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/sites_database_user_update.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/sites_ftp_user_add.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/sites_ftp_user_delete.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/sites_ftp_user_get.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/sites_ftp_user_update.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/sites_shell_user_add.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/sites_shell_user_delete.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/sites_shell_user_get.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/sites_shell_user_update.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/sites_web_aliasdomain_add.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/sites_web_aliasdomain_delete.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/sites_web_aliasdomain_get.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/sites_web_aliasdomain_update.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/sites_web_domain_add.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/sites_web_domain_delete.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/sites_web_domain_get.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/sites_web_domain_set_status.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/sites_web_domain_update.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/sites_web_subdomain_add.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/sites_web_subdomain_delete.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/sites_web_subdomain_get.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/sites_web_subdomain_update.php 2 ●●● patch | view | raw | blame | history
remoting_client/examples/soap-database-add.php 1 ●●●● patch | view | raw | blame | history
server/cron_daily.php 64 ●●●● patch | view | raw | blame | history
server/lib/app.inc.php 4 ●●●● patch | view | raw | blame | history
server/lib/classes/aps_base.inc.php 8 ●●●●● patch | view | raw | blame | history
server/lib/classes/aps_installer.inc.php 31 ●●●●● patch | view | raw | blame | history
server/lib/classes/db_mysql.inc.php patch | view | raw | blame | history
server/lib/classes/file.inc.php 1 ●●●● patch | view | raw | blame | history
server/lib/classes/getconf.inc.php 1 ●●●● patch | view | raw | blame | history
server/lib/classes/ini_parser.inc.php patch | view | raw | blame | history
server/lib/classes/mod_mail_base.inc.php patch | view | raw | blame | history
server/lib/classes/modules.inc.php 4 ●●●● patch | view | raw | blame | history
server/lib/classes/monitor_tools.inc.php 3 ●●●●● patch | view | raw | blame | history
server/lib/classes/openvz_tools.inc.php 4 ●●●● patch | view | raw | blame | history
server/lib/classes/plugins.inc.php 2 ●●● patch | view | raw | blame | history
server/lib/classes/services.inc.php 1 ●●●● patch | view | raw | blame | history
server/lib/classes/system.inc.php 111 ●●●●● patch | view | raw | blame | history
server/lib/classes/tpl.inc.php 62 ●●●●● patch | view | raw | blame | history
server/lib/classes/tpl_cache.inc.php 7 ●●●●● patch | view | raw | blame | history
server/lib/classes/tpl_error.inc.php 3 ●●●●● patch | view | raw | blame | history
server/lib/classes/tpl_ini.inc.php 1 ●●●● patch | view | raw | blame | history
server/mods-available/client_module.inc.php patch | view | raw | blame | history
server/mods-available/cron_module.inc.php patch | view | raw | blame | history
server/mods-available/database_module.inc.php patch | view | raw | blame | history
server/mods-available/dns_module.inc.php 4 ●●●● patch | view | raw | blame | history
server/mods-available/mail_module.inc.php patch | view | raw | blame | history
server/mods-available/monitor_core_module.inc.php 2 ●●●●● patch | view | raw | blame | history
server/mods-available/remoteaction_core_module.inc.php 6 ●●●● patch | view | raw | blame | history
server/mods-available/rescue_core_module.inc.php 12 ●●●●● patch | view | raw | blame | history
server/mods-available/server_module.inc.php patch | view | raw | blame | history
server/mods-available/vm_module.inc.php patch | view | raw | blame | history
server/mods-available/web_module.inc.php patch | view | raw | blame | history
server/plugins-available/apache2_plugin.inc.php 4 ●●● patch | view | raw | blame | history
server/plugins-available/apps_vhost_plugin.inc.php patch | view | raw | blame | history
server/plugins-available/aps_plugin.inc.php 12 ●●●●● patch | view | raw | blame | history
server/plugins-available/backup_plugin.inc.php 2 ●●● patch | view | raw | blame | history
server/plugins-available/bind_dlz_plugin.inc.php 1 ●●●● patch | view | raw | blame | history
server/plugins-available/bind_plugin.inc.php 2 ●●● patch | view | raw | blame | history
server/plugins-available/cron_jailkit_plugin.inc.php 4 ●●●● patch | view | raw | blame | history
server/plugins-available/cron_plugin.inc.php 1 ●●●● patch | view | raw | blame | history
server/plugins-available/firewall_plugin.inc.php patch | view | raw | blame | history
server/plugins-available/ftpuser_base_plugin.inc.php patch | view | raw | blame | history
server/plugins-available/getmail_plugin.inc.php patch | view | raw | blame | history
server/plugins-available/iptables_plugin.inc.php 2 ●●●●● patch | view | raw | blame | history
server/plugins-available/mail_plugin.inc.php patch | view | raw | blame | history
server/plugins-available/maildeliver_plugin.inc.php patch | view | raw | blame | history
server/plugins-available/maildrop_plugin.inc.php patch | view | raw | blame | history
server/plugins-available/mailman_plugin.inc.php patch | view | raw | blame | history
server/plugins-available/mysql_clientdb_plugin.inc.php 13 ●●●● patch | view | raw | blame | history
server/plugins-available/network_settings_plugin.inc.php patch | view | raw | blame | history
server/plugins-available/nginx_plugin.inc.php patch | view | raw | blame | history
server/plugins-available/nginx_reverseproxy_plugin.inc.php patch | view | raw | blame | history
server/plugins-available/openvz_plugin.inc.php patch | view | raw | blame | history
server/plugins-available/pma_symlink_plugin.inc.php patch | view | raw | blame | history
server/plugins-available/postfix_filter_plugin.inc.php patch | view | raw | blame | history
server/plugins-available/postfix_server_plugin.inc.php patch | view | raw | blame | history
server/plugins-available/powerdns_plugin.inc.php patch | view | raw | blame | history
server/plugins-available/shelluser_base_plugin.inc.php patch | view | raw | blame | history
server/plugins-available/shelluser_jailkit_plugin.inc.php 5 ●●●●● patch | view | raw | blame | history
server/plugins-available/software_update_plugin.inc.php 2 ●●● patch | view | raw | blame | history
server/plugins-available/squid_plugin.inc.php patch | view | raw | blame | history
server/plugins-available/webmail_symlink_plugin.inc.php patch | view | raw | blame | history
server/scripts/ispconfig_update.php 2 ●●● patch | view | raw | blame | history
server/server.php 6 ●●●●● patch | view | raw | blame | history
helper_scripts/dns_export_to_bind.php
@@ -29,7 +29,7 @@
while($row = mysql_fetch_array($result))
        {
### Hier ALLES Aktivieren bei Primary Nameserver TEIL 1 #################################################################################
    //## Hier ALLES Aktivieren bei Primary Nameserver TEIL 1 #################################################################################
        $varx11=substr($row["origin"],0,-1);
        $filename="/var/cache/bind/".$varx11;
        if (file_exists($filename)) {
@@ -60,27 +60,27 @@
        fclose($f);
        $arr2=array();
        $arr3=array();
### ENDE Primärer Nameserver TEIL 2 #####################################################################################################
    //## ENDE Primärer Nameserver TEIL 2 #####################################################################################################
### Hier ALLES Aktivieren bei Secondary Nameserver ######################################################################################
#       $tmp1 = substr($row["ns"],0,-1);
#       $tmp2 = substr($row["origin"],0,-1);
    //## Hier ALLES Aktivieren bei Secondary Nameserver ######################################################################################
    //       $tmp1 = substr($row["ns"],0,-1);
    //       $tmp2 = substr($row["origin"],0,-1);
#       if (!isset($dnscache[$tmp1])) $nsip = hostname2ipfunktion($tmp1) ;
#       else $nsip=$dnscache[$tmp1] ;
    //       if (!isset($dnscache[$tmp1])) $nsip = hostname2ipfunktion($tmp1) ;
    //       else $nsip=$dnscache[$tmp1] ;
#               if ($nsip == $tmp1)
#               {
#               echo "$tmp2 $tmp1 Not a valid Nameserver";
#               echo "\n";
#               }
#               else
#               {
#               $dnscache[$tmp1]=$nsip;
#               $arr1[$x11]="zone \"".$tmp2."\" in { type slave; file \"".$tmp2."\"; masters {".$nsip."; }; };\n";
#               $x11=$x11+1;
#               }
### ENDE Secondary Nameserver ###########################################################################################################
    //               if ($nsip == $tmp1)
    //               {
    //               echo "$tmp2 $tmp1 Not a valid Nameserver";
    //               echo "\n";
    //               }
    //               else
    //               {
    //               $dnscache[$tmp1]=$nsip;
    //               $arr1[$x11]="zone \"".$tmp2."\" in { type slave; file \"".$tmp2."\"; masters {".$nsip."; }; };\n";
    //               $x11=$x11+1;
    //               }
    //## ENDE Secondary Nameserver ###########################################################################################################
        }
unlink ("/etc/bind/named.conf.local");
@@ -89,16 +89,16 @@
fclose($fx);
system("rndc reconfig >/dev/null 2>&1");
### ANFANG Primärer Namerserver TEIL 2 ##################################################################################################
//## ANFANG Primärer Namerserver TEIL 2 ##################################################################################################
$serialsearch=date("Ymd");
$resultx13 = mysql_query("SELECT origin,serial FROM dns_soa WHERE serial LIKE '$serialsearch%' ORDER BY origin ASC;");
while ($rowx13=mysql_fetch_array($resultx13)) {
        $serial_ist=($rowx13["serial"]);
        $zone=substr($rowx13["origin"],0,-1);
#       echo "zone: ".$zone." ist: ".$serial_ist." vergleich: ".$serialvergleich[$zone]."\n";
    //       echo "zone: ".$zone." ist: ".$serial_ist." vergleich: ".$serialvergleich[$zone]."\n";
        if ($serialvergleich[$zone] != $serial_ist) {
        $reload=system("rndc reload $zone >/dev/null 2>&1");
        }
}
### ENDE Primärer NamerserverTEIL 2 ######################################################################################################
//## ENDE Primärer NamerserverTEIL 2 ######################################################################################################
?>
helper_scripts/dns_export_to_bind_retrans_daily.php
helper_scripts/mydns_to_powerdns_migration.php
helper_scripts/recreate_webalizer_stats.php
@@ -1,8 +1,8 @@
<?php
#######################################################################################################
//######################################################################################################
// Re-Create webalizer statistics
#######################################################################################################
//######################################################################################################
$sql = "SELECT domain_id, domain, document_root FROM web_domain WHERE server_id = ".$conf["server_id"];
install/autoupdate.php
@@ -56,13 +56,13 @@
}
//** Include the library with the basic installer functions
require_once('lib/install.lib.php');
require_once 'lib/install.lib.php';
//** Include the library with the basic updater functions
require_once('lib/update.lib.php');
require_once 'lib/update.lib.php';
//** Include the base class of the installer class
require_once('lib/installer_base.lib.php');
require_once 'lib/installer_base.lib.php';
//** Ensure that current working directory is install directory
$cur_dir = getcwd();
@@ -75,16 +75,16 @@
//** Get distribution identifier
$dist = get_distname();
include_once("/usr/local/ispconfig/server/lib/config.inc.php");
include_once "/usr/local/ispconfig/server/lib/config.inc.php";
$conf_old = $conf;
unset($conf);
if($dist['id'] == '') die('Linux distribution or version not recognized.');
//** Include the distribution-specific installer class library and configuration
if(is_file('dist/lib/'.$dist['baseid'].'.lib.php')) include_once('dist/lib/'.$dist['baseid'].'.lib.php');
include_once('dist/lib/'.$dist['id'].'.lib.php');
include_once('dist/conf/'.$dist['id'].'.conf.php');
if(is_file('dist/lib/'.$dist['baseid'].'.lib.php')) include_once 'dist/lib/'.$dist['baseid'].'.lib.php';
include_once 'dist/lib/'.$dist['id'].'.lib.php';
include_once 'dist/conf/'.$dist['id'].'.conf.php';
//** Get hostname
exec('hostname -f', $tmp_out);
@@ -124,7 +124,7 @@
$inst->find_installed_apps();
//** Initialize the MySQL server connection
include_once('lib/mysql.lib.php');
include_once 'lib/mysql.lib.php';
//** Database update is a bit brute force and should be rebuild later ;)
@@ -134,7 +134,7 @@
$clientdb_host            = '';
$clientdb_user            = '';
$clientdb_password        = '';
include_once("/usr/local/ispconfig/server/lib/mysql_clientdb.conf");
include_once "/usr/local/ispconfig/server/lib/mysql_clientdb.conf";
$conf["mysql"]["admin_user"] = $clientdb_user;
$conf["mysql"]["admin_password"] = $clientdb_password;
$clientdb_host            = '';
install/dist/conf/centos52.conf.php
install/dist/conf/centos53.conf.php
install/dist/conf/debian40.conf.php
install/dist/conf/debian60.conf.php
install/dist/conf/fedora9.conf.php
install/dist/conf/gentoo.conf.php
install/dist/conf/opensuse110.conf.php
install/dist/conf/opensuse112.conf.php
install/dist/lib/centos52.lib.php
install/dist/lib/centos53.lib.php
install/dist/lib/debian40.lib.php
install/dist/lib/debian60.lib.php
@@ -132,6 +132,7 @@
        copy('tpl/dovecot_fail2ban_jail.local.master','/etc/fail2ban/jail.local');
    */
    }
}
?>
install/dist/lib/fedora.lib.php
@@ -889,7 +889,7 @@
            if ($dh = opendir($dir)) {
                while (($file = readdir($dh)) !== false) {
                    if($file != '.' && $file != '..' && substr($file,-8,8) == '.inc.php') {
                        include_once($install_dir.'/server/mods-available/'.$file);
                        include_once $install_dir.'/server/mods-available/'.$file;
                        $module_name = substr($file,0,-8);
                        $tmp = new $module_name;
                        if($tmp->onInstall()) {
@@ -912,7 +912,7 @@
                    if($conf['apache']['installed'] == true && $file == 'nginx_plugin.inc.php') continue;
                    if($conf['nginx']['installed'] == true && $file == 'apache2_plugin.inc.php') continue;
                    if($file != '.' && $file != '..' && substr($file,-8,8) == '.inc.php') {
                        include_once($install_dir.'/server/plugins-available/'.$file);
                        include_once $install_dir.'/server/plugins-available/'.$file;
                        $plugin_name = substr($file,0,-8);
                        $tmp = new $plugin_name;
                        if($tmp->onInstall()) {
install/dist/lib/fedora9.lib.php
install/dist/lib/gentoo.lib.php
@@ -367,6 +367,8 @@
         * -D displaydotfiles 
         * -H dontresolve
         */
        $content = preg_replace('/MISC_OTHER="[^"]+"/', 'MISC_OTHER="-b -A -E -Z -D -H -O clf:'.$logdir.'/transfer.log"', $content);
        
        $this->write_config_file($conf['pureftpd']['config_file'], $content);
@@ -746,7 +748,7 @@
            if ($dh = opendir($dir)) {
                while (($file = readdir($dh)) !== false) {
                    if($file != '.' && $file != '..' && substr($file,-8,8) == '.inc.php') {
                        include_once($install_dir.'/server/mods-available/'.$file);
                        include_once $install_dir.'/server/mods-available/'.$file;
                        $module_name = substr($file,0,-8);
                        $tmp = new $module_name;
                        if($tmp->onInstall()) {
@@ -775,7 +777,7 @@
                    if($conf['apache']['installed'] == true && $file == 'nginx_plugin.inc.php') continue;
                    if($conf['nginx']['installed'] == true && $file == 'apache2_plugin.inc.php') continue;
                    if($file != '.' && $file != '..' && substr($file,-8,8) == '.inc.php') {
                        include_once($install_dir.'/server/plugins-available/'.$file);
                        include_once $install_dir.'/server/plugins-available/'.$file;
                        $plugin_name = substr($file,0,-8);
                        $tmp = new $plugin_name;
                        if(method_exists($tmp,'onInstall') && $tmp->onInstall()) {
@@ -1047,6 +1049,7 @@
        if(@is_dir('/usr/local/ispconfig/interface/web/domain')) exec('rm -rf /usr/local/ispconfig/interface/web/domain');
        
    }
}
?>
install/dist/lib/opensuse.lib.php
@@ -943,7 +943,7 @@
            if ($dh = opendir($dir)) {
                while (($file = readdir($dh)) !== false) {
                    if($file != '.' && $file != '..' && substr($file,-8,8) == '.inc.php') {
                        include_once($install_dir.'/server/mods-available/'.$file);
                        include_once $install_dir.'/server/mods-available/'.$file;
                        $module_name = substr($file,0,-8);
                        $tmp = new $module_name;
                        if($tmp->onInstall()) {
@@ -966,7 +966,7 @@
                    if($conf['apache']['installed'] == true && $file == 'nginx_plugin.inc.php') continue;
                    if($conf['nginx']['installed'] == true && $file == 'apache2_plugin.inc.php') continue;
                    if($file != '.' && $file != '..' && substr($file,-8,8) == '.inc.php') {
                        include_once($install_dir.'/server/plugins-available/'.$file);
                        include_once $install_dir.'/server/plugins-available/'.$file;
                        $plugin_name = substr($file,0,-8);
                        $tmp = new $plugin_name;
                        if($tmp->onInstall()) {
install/dist/lib/opensuse110.lib.php
install/dist/lib/opensuse112.lib.php
install/install.php
@@ -50,10 +50,10 @@
echo "\n\n>> Initial configuration  \n\n";
//** Include the library with the basic installer functions
require_once('lib/install.lib.php');
require_once 'lib/install.lib.php';
//** Include the base class of the installer class
require_once('lib/installer_base.lib.php');
require_once 'lib/installer_base.lib.php';
//** Ensure that current working directory is install directory
$cur_dir = getcwd();
@@ -76,9 +76,9 @@
if($dist['id'] == '') die('Linux distribution or version not recognized.');
//** Include the distribution-specific installer class library and configuration
if(is_file('dist/lib/'.$dist['baseid'].'.lib.php')) include_once('dist/lib/'.$dist['baseid'].'.lib.php');
include_once('dist/lib/'.$dist['id'].'.lib.php');
include_once('dist/conf/'.$dist['id'].'.conf.php');
if(is_file('dist/lib/'.$dist['baseid'].'.lib.php')) include_once 'dist/lib/'.$dist['baseid'].'.lib.php';
include_once 'dist/lib/'.$dist['id'].'.lib.php';
include_once 'dist/conf/'.$dist['id'].'.conf.php';
//****************************************************************************************************
//** Installer Interface 
@@ -161,7 +161,7 @@
//** Initializing database connection
include_once('lib/mysql.lib.php');
include_once 'lib/mysql.lib.php';
$inst->db = new db();
//** Begin with standard or expert installation
install/lib/install.lib.php
@@ -760,6 +760,8 @@
  Function to find the hash file for timezone detection
  (c) 2012 Marius Cramer, pixcept KG, m.cramer@pixcept.de
*/
function find_hash_file($hash, $dir, $basedir = '') {
    $res = opendir($dir);
    if(!$res) return false;
@@ -784,6 +786,7 @@
    return false;
}
/** 
  Function to get the timezone of the Linux system
  (c) 2012 Marius Cramer, pixcept KG, m.cramer@pixcept.de
install/lib/installer_base.lib.php
@@ -53,7 +53,7 @@
    }
    public function warning($msg) {
        echo('WARNING: '.$msg."\n");
        echo 'WARNING: '.$msg."\n";
    }
    public function simple_query($query, $answers, $default) {
@@ -141,6 +141,8 @@
    }
    /** Create the database for ISPConfig */
    public function configure_database() {
        global $conf;
@@ -1737,7 +1739,7 @@
            if ($dh = opendir($dir)) {
                while (($file = readdir($dh)) !== false) {
                    if($file != '.' && $file != '..' && substr($file,-8,8) == '.inc.php') {
                        include_once($install_dir.'/server/mods-available/'.$file);
                        include_once $install_dir.'/server/mods-available/'.$file;
                        $module_name = substr($file,0,-8);
                        $tmp = new $module_name;
                        if($tmp->onInstall()) {
@@ -1766,7 +1768,7 @@
                    if($conf['apache']['installed'] == true && $file == 'nginx_plugin.inc.php') continue;
                    if($conf['nginx']['installed'] == true && $file == 'apache2_plugin.inc.php') continue;
                    if($file != '.' && $file != '..' && substr($file,-8,8) == '.inc.php') {
                        include_once($install_dir.'/server/plugins-available/'.$file);
                        include_once $install_dir.'/server/plugins-available/'.$file;
                        $plugin_name = substr($file,0,-8);
                        $tmp = new $plugin_name;
                        if(method_exists($tmp,'onInstall') && $tmp->onInstall()) {
@@ -2278,6 +2280,7 @@
        return $tContents;
    }
}
?>
install/lib/mysql.lib.php
@@ -66,7 +66,7 @@
        $this->errorLocation = $location;
        if($this->errorNumber && $this->show_error_messages)
        {
            echo('<br /><b>'.$this->errorLocation.'</b><br />'.$this->errorMessage);
            echo '<br /><b>'.$this->errorLocation.'</b><br />'.$this->errorMessage;
            flush();
        }
    }
install/lib/update.lib.php
@@ -31,8 +31,10 @@
class installer_patch_update {
   protected function onBeforeSQL() {
   }
   protected function onAfterSQL() {
   }
}
//* DB dump function
@@ -168,7 +170,7 @@
                //* Load php patch file and instantiate object
                if(is_file($php_patch_filename)) {
                    $php_patch_class_name = 'upd_'.str_pad($next_db_version, 4, '0', STR_PAD_LEFT);
                    include_once($php_patch_filename);
                    include_once $php_patch_filename;
                    if(class_exists($php_patch_class_name)) {
                        $php_patch = new $php_patch_class_name;
                    } else {
install/patches/upd_0001.php
@@ -13,9 +13,11 @@
   public function onBeforeSQL() {
     // Do something
   }
   public function onAfterSQL() {
     // Do something
   }
}
?>
install/setrights.php
@@ -47,13 +47,13 @@
    echo "\n\n>>This script tries to repair the client rights  \n\n";
//** Include the library with the basic installer functions
require_once('lib/install.lib.php');
require_once 'lib/install.lib.php';
//** Include the library with the basic updater functions
require_once('lib/update.lib.php');
require_once 'lib/update.lib.php';
//** Include the base class of the installer class
require_once('lib/installer_base.lib.php');
require_once 'lib/installer_base.lib.php';
//** Ensure that current working directory is install directory
$cur_dir = getcwd();
@@ -62,16 +62,16 @@
//** Get distribution identifier
$dist = get_distname();
include_once("/usr/local/ispconfig/server/lib/config.inc.php");
include_once "/usr/local/ispconfig/server/lib/config.inc.php";
$conf_old = $conf;
unset($conf);
if($dist['id'] == '') die('Linux distribution or version not recognized.');
//** Include the distribution-specific installer class library and configuration
if(is_file('dist/lib/'.$dist['baseid'].'.lib.php')) include_once('dist/lib/'.$dist['baseid'].'.lib.php');
include_once('dist/lib/'.$dist['id'].'.lib.php');
include_once('dist/conf/'.$dist['id'].'.conf.php');
if(is_file('dist/lib/'.$dist['baseid'].'.lib.php')) include_once 'dist/lib/'.$dist['baseid'].'.lib.php';
include_once 'dist/lib/'.$dist['id'].'.lib.php';
include_once 'dist/conf/'.$dist['id'].'.conf.php';
//** Get hostname
exec('hostname -f', $tmp_out);
@@ -90,7 +90,7 @@
$clientdb_host            = '';
$clientdb_user            = '';
$clientdb_password        = '';
include_once("/usr/local/ispconfig/server/lib/mysql_clientdb.conf");
include_once "/usr/local/ispconfig/server/lib/mysql_clientdb.conf";
$conf["mysql"]["admin_user"] = $clientdb_user;
$conf["mysql"]["admin_password"] = $clientdb_password;
$clientdb_host            = '';
@@ -105,7 +105,7 @@
$inst = new installer();
//** Initialize the MySQL server connection
include_once('lib/mysql.lib.php');
include_once 'lib/mysql.lib.php';
//* initialize the database
$inst->db = new db();
install/uninstall-fedora.php
@@ -47,8 +47,8 @@
echo "\n".str_repeat('-',80)."\n";
echo "\n\n>> Uninstall  \n\n";
require("/usr/local/ispconfig/server/lib/config.inc.php");
require("/usr/local/ispconfig/server/lib/app.inc.php");
require "/usr/local/ispconfig/server/lib/config.inc.php";
require "/usr/local/ispconfig/server/lib/app.inc.php";
// Delete the ISPConfig database
// $app->db->query("DROP DATABASE '".$conf["db_database"]."'");
install/uninstall.php
@@ -47,8 +47,8 @@
echo "\n".str_repeat('-',80)."\n";
echo "\n\n>> Uninstall  \n\n";
require("/usr/local/ispconfig/server/lib/config.inc.php");
require("/usr/local/ispconfig/server/lib/app.inc.php");
require "/usr/local/ispconfig/server/lib/config.inc.php";
require "/usr/local/ispconfig/server/lib/app.inc.php";
// Delete the ISPConfig database
// $app->db->query("DROP DATABASE '".$conf["db_database"]."'");
install/update.php
@@ -50,13 +50,13 @@
echo "\n\n>> Update  \n\n";
//** Include the library with the basic installer functions
require_once('lib/install.lib.php');
require_once 'lib/install.lib.php';
//** Include the library with the basic updater functions
require_once('lib/update.lib.php');
require_once 'lib/update.lib.php';
//** Include the base class of the installer class
require_once('lib/installer_base.lib.php');
require_once 'lib/installer_base.lib.php';
//** Ensure that current working directory is install directory
$cur_dir = getcwd();
@@ -74,16 +74,16 @@
//** Get distribution identifier
$dist = get_distname();
include_once("/usr/local/ispconfig/server/lib/config.inc.php");
include_once "/usr/local/ispconfig/server/lib/config.inc.php";
$conf_old = $conf;
unset($conf);
if($dist['id'] == '') die('Linux distribution or version not recognized.');
//** Include the distribution-specific installer class library and configuration
if(is_file('dist/lib/'.$dist['baseid'].'.lib.php')) include_once('dist/lib/'.$dist['baseid'].'.lib.php');
include_once('dist/lib/'.$dist['id'].'.lib.php');
include_once('dist/conf/'.$dist['id'].'.conf.php');
if(is_file('dist/lib/'.$dist['baseid'].'.lib.php')) include_once 'dist/lib/'.$dist['baseid'].'.lib.php';
include_once 'dist/lib/'.$dist['id'].'.lib.php';
include_once 'dist/conf/'.$dist['id'].'.conf.php';
//** Get hostname
exec('hostname -f', $tmp_out);
@@ -153,7 +153,7 @@
//** Initialize the MySQL server connection
include_once('lib/mysql.lib.php');
include_once 'lib/mysql.lib.php';
//** Database update is a bit brute force and should be rebuild later ;)
@@ -163,7 +163,7 @@
$clientdb_host            = '';
$clientdb_user            = '';
$clientdb_password        = '';
include_once("/usr/local/ispconfig/server/lib/mysql_clientdb.conf");
include_once "/usr/local/ispconfig/server/lib/mysql_clientdb.conf";
$conf["mysql"]["admin_user"] = $clientdb_user;
$conf["mysql"]["admin_password"] = $clientdb_password;
$clientdb_host            = '';
interface/lib/app.inc.php
@@ -96,7 +96,7 @@
                $classname = trim($classname);
                //* Class is not loaded so load it
                if(!array_key_exists($classname, $this->_loaded_classes)) {
                    include_once(ISPC_CLASS_PATH."/$classname.inc.php");
                    include_once ISPC_CLASS_PATH."/$classname.inc.php";
                    $this->$classname = new $classname();
                    $this->_loaded_classes[$classname] = true;
                }
@@ -109,12 +109,14 @@
        if(is_array($fl)) {
            foreach($fl as $file) {
                $file = trim($file);
                include_once(ISPC_CLASS_PATH."/$file.inc.php");
                include_once ISPC_CLASS_PATH."/$file.inc.php";
            }
        }
    }
    /** Priority values are: 0 = DEBUG, 1 = WARNING,  2 = ERROR */
    public function log($msg, $priority = 0) {
        global $conf;
        if($priority >= $this->_conf['log_priority']) {
@@ -198,7 +200,7 @@
        $filename = ISPC_ROOT_PATH.'/'.$filename;
        if(substr($filename,-4) != '.lng') $this->error('Language file has wrong extension.');
        if(file_exists($filename)) {
            @include($filename);
            @include $filename;
            if(is_array($wb)) {
                if(is_array($this->_wb)) {
                    $this->_wb = array_merge($this->_wb,$wb);
interface/lib/classes/aps_base.inc.php
@@ -58,6 +58,8 @@
     * @param $interface_mode act in interface (true) or server mode (false)
     * @param $log_prefix a prefix to set before all log entries
     */
    public function __construct($app, $log_prefix = 'APS: ', $interface_mode = false)
    {
        $this->log_prefix = $log_prefix;
@@ -67,6 +69,8 @@
        $this->packages_dir = ISPC_ROOT_PATH.'/aps_packages';
        $this->interface_pkg_dir = ISPC_ROOT_PATH.'/web/sites/aps_meta_packages';
    }
    
    /**
     * Converts a given value to it's native representation in 1024 units
@@ -79,6 +83,8 @@
        $unit = array('Bytes', 'KB', 'MB', 'GB', 'TB');
        return @round($value/pow(1024, ($i = floor(log($value, 1024)))), 2).' '.$unit[$i];
    }
    
    /**
     * Determine a specific xpath from a given SimpleXMLElement handle. If the
@@ -99,5 +105,7 @@
        
        return $ret;
    }
}
?>
interface/lib/classes/aps_crawler.inc.php
@@ -27,7 +27,7 @@
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('aps_base.inc.php');
require_once 'aps_base.inc.php';
@set_time_limit(0);
@ignore_user_abort(1);
@@ -43,10 +43,14 @@
    * @param $app the application instance (db handle + log method)
    * @param $interface_mode act in interface (true) or server mode (false)
    */
    public function __construct($app, $interface_mode = false)
    {
        parent::__construct($app, 'APS crawler: ', $interface_mode);
    }
    
    /**
     * Before the cron is executed, make sure all necessary options are set
@@ -77,12 +81,15 @@
            
            return true;
        }
        catch(Exception $e)
        {
            $app->log($this->log_prefix.'Aborting execution because '.$e->getMessage(), LOGLEVEL_ERROR);
            return false;
        }
    }
    
    /**
     * Remove a directory recursively
@@ -152,6 +159,8 @@
        return $ret;
    }
    
    /**
     * Fetch binary data from a given array
     * The data is retrieved in binary mode and 
@@ -198,6 +207,8 @@
        curl_multi_close($mh);
    }
    
    /**
     * A method to build query URLs out of a list of vendors
     *
@@ -207,8 +218,10 @@
        $array_item = str_replace(' ', '%20', $array_item);
        $array_item = str_replace('http://', '', $array_item);
        $array_item = '/'.$this->aps_version.'.atom?vendor='.$array_item.'&pageSize=100';
        return($array_item);
        return $array_item;
    }
    
    /**
     * The main method which performs the actual crawling
@@ -457,12 +470,15 @@
                ' apps from the repo. Downloaded '.$apps_updated.
                ' updates, '.$apps_downloaded.' new apps');
        }
        catch(Exception $e)
        {
            $app->log($this->log_prefix.$e->getMessage(), LOGLEVEL_ERROR);
            return false;
        }
    }
    
    /**
     * Read in all possible packages from the interface packages folder and 
@@ -551,6 +567,7 @@
                }
            }
        }
        catch(Exception $e)
        {
            $app->log($this->log_prefix.$e->getMessage(), LOGLEVEL_ERROR);
@@ -558,6 +575,8 @@
            return false;
        }
    }
    
    /**
     * Add missing package URLs to database
@@ -581,6 +600,7 @@
                }
            }
        }
        catch(Exception $e)
        {
            $app->log($this->log_prefix.$e->getMessage(), LOGLEVEL_ERROR);
@@ -588,5 +608,7 @@
            return false;
        }
    }
}
?>
interface/lib/classes/aps_guicontroller.inc.php
@@ -27,7 +27,7 @@
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('aps_base.inc.php');
require_once 'aps_base.inc.php';
class ApsGUIController extends ApsBase
{
@@ -36,10 +36,14 @@
    *
    * @param $app the application instance (db handle)
    */
    public function __construct($app)
    {
        parent::__construct($app);
    }
    
    /**
     * Reads in a package metadata file and registers it's namespaces
@@ -57,6 +61,8 @@
        
        return $sxe; 
    }
    
    /**
     * Applies a RegEx pattern onto a location path in order to secure it against 
@@ -79,6 +85,8 @@
        return $location;
    }
    
    /**
     * Gets the CustomerID (ClientID) which belongs to a specific domain
     * 
@@ -97,6 +105,8 @@
        
        return $customerid;
    }
    
    /**
     * Returns the server_id for an already installed instance. Is actually 
@@ -125,6 +135,8 @@
        
        return $webserver_id;
    } 
    
    /**
     * Finds out if there is a newer package version for 
@@ -173,6 +185,8 @@
         return true;
    }
    
    /**
     * Validates a given instance ID
     *
@@ -195,6 +209,8 @@
         
         return true;
    }    
    
    /**
     * Creates a new database record for the package instance and
@@ -331,6 +347,8 @@
        $app->db->datalogUpdate('aps_instances', "instance_status = ".INSTANCE_INSTALL, 'id', $InstanceID);
    }
    
    /**
     * Sets the status of an instance to "should be removed" and creates a 
     * datalog entry to give the ISPConfig server a real removal advice 
@@ -362,6 +380,8 @@
        $app->db->datalogUpdate('aps_instances', "instance_status = ".INSTANCE_REMOVE, 'id', $instanceid);
    }
    
    /**
     * Sets the status of an instance to "installation planned" and creates a 
@@ -472,6 +492,8 @@
        return $settings;
    }
    
    /**
     * Validates the user input according to the settings array and
@@ -670,6 +692,8 @@
        return $ret;
    }
    
    /**
     * Read the metadata of a package and returns some content
     * 
@@ -841,5 +865,7 @@
        
        return $pkg;
    }
}
?>
interface/lib/classes/auth.inc.php
interface/lib/classes/client_templates.inc.php
@@ -7,7 +7,9 @@
 * @author (original tools.inc.php) Oliver Vogel www.muv.com
 */
 
class client_templates {
    /** 
     *  - check for old-style templates and change to new style
@@ -99,7 +101,7 @@
    function apply_client_templates($clientId) {
        global $app;
        
        include('../client/form/client.tform.php');
        include '../client/form/client.tform.php';
        
        /*
         * Get the master-template for the client
@@ -233,4 +235,5 @@
        }
        unset($form);
    }
}
interface/lib/classes/cmstree.inc.php
interface/lib/classes/custom_datasource.inc.php
interface/lib/classes/db_firebird.inc.php
@@ -55,6 +55,7 @@
        $this->dbPass = $conf["db_password"];
        $this->connect();
    }
    function __destruct() {
        $this->closeConn();
        }
@@ -67,7 +68,7 @@
        $this->errorLocation = $location;
        if($this->errorNumber && $this->show_error_messages)
        {
            echo('<br /><b>'.$this->errorLocation.'</b><br />'.$this->errorMessage);
            echo '<br /><b>'.$this->errorLocation.'</b><br />'.$this->errorMessage;
            flush();
        }
    }
interface/lib/classes/db_mysql.inc.php
interface/lib/classes/form.inc.php
@@ -64,7 +64,10 @@
* @version 1.1
*/
class form {
    
    /**
    * Definition der Tabelle (array)
@@ -72,11 +75,15 @@
    */
    var $tableDef;
    
    /**
    * Private
    * @var action
    */
    var $action;
    
    /**
    * Tabellenname (String)
@@ -84,17 +91,23 @@
    */
    var $table_name;
    
    /**
    * Debug Variable
    * @var debug
    */
    var $debug = 0;
    
    /**
    * name des primary Field der Tabelle (string)
    * @var table_index
    */
    var $table_index;
    
    /**
    * enthält die Fehlermeldung bei Ãœberprüfung
@@ -106,6 +119,10 @@
    var $dateformat = "d.m.Y";
    var $formDef;
    
    /**
    * Laden der Tabellendefinition
    *
@@ -115,7 +132,7 @@
    function loadTableDef($file) {
        global $app,$conf;
        
        include_once($file);
        include_once $file;
        $this->tableDef = $table;
        $this->table_name = $table_name;
        $this->table_index = $table_index;
@@ -125,10 +142,16 @@
    function loadFormDef($file) {
        global $app,$conf;
        
        include_once($file);
        include_once $file;
        $this->formDef = $form;
        return true;
    }
    
    
    /**
@@ -174,6 +197,10 @@
        }
    return $new_record;
    }
    
    /**
    * Record für Ausgabe in Formularen vorbereiten.
@@ -279,6 +306,10 @@
        return $new_record;
    }
    
    /**
    * Record in "maschinen lesbares" Format Ã¼berführen
    * und Werte gegen reguläre Ausdrücke prüfen.
@@ -329,6 +360,10 @@
        }
        return $new_record;
    }
    
    /**
    * SQL Statement für Record erzeugen.
@@ -416,6 +451,10 @@
        return $sql;
    }
    
    /**
    * Debugging arrays.
    *
interface/lib/classes/functions.inc.php
@@ -171,44 +171,44 @@
                if($islist){
                    $json = '[' . implode(',', array_map(array($this, "json_encode"), $data) ) . ']';
                } else {
                    $items = Array();
                    $items = array();
                    foreach( $data as $key => $value ) {
                        $items[] = $this->json_encode("$key") . ':' . $this->json_encode($value);
                    }
                    $json = '{' . implode(',', $items) . '}';
                }
            } elseif(is_string($data)){
                # Escape non-printable or Non-ASCII characters.
                # I also put the \\ character first, as suggested in comments on the 'addclashes' page.
                // Escape non-printable or Non-ASCII characters.
                // I also put the \\ character first, as suggested in comments on the 'addclashes' page.
                $string = '"'.addcslashes($data, "\\\"\n\r\t/".chr(8).chr(12)).'"';
                $json = '';
                $len = strlen($string);
                # Convert UTF-8 to Hexadecimal Codepoints.
                // Convert UTF-8 to Hexadecimal Codepoints.
                for($i = 0; $i < $len; $i++){
                    $char = $string[$i];
                    $c1 = ord($char);
                    # Single byte;
                    // Single byte;
                    if($c1 <128){
                        $json .= ($c1 > 31) ? $char : sprintf("\\u%04x", $c1);
                        continue;
                    }
                    # Double byte
                    // Double byte
                    $c2 = ord($string[++$i]);
                    if(($c1 & 32) === 0){
                        $json .= sprintf("\\u%04x", ($c1 - 192) * 64 + $c2 - 128);
                        continue;
                    }
                    # Triple
                    // Triple
                    $c3 = ord($string[++$i]);
                    if(($c1 & 16) === 0){
                        $json .= sprintf("\\u%04x", (($c1 - 224) <<12) + (($c2 - 128) << 6) + ($c3 - 128));
                        continue;
                    }
                    # Quadruple
                    // Quadruple
                    $c4 = ord($string[++$i]);
                    if(($c1 & 8) === 0){
                        $u = (($c1 & 15) << 2) + (($c2>>4) & 3) - 1;
@@ -219,7 +219,7 @@
                    }
                }
            } else {
                # int, floats, bools, null
                // int, floats, bools, null
                $json = strtolower(var_export($data, true));
            }
            return $json;
@@ -352,6 +352,8 @@
    /** IDN converter wrapper.
     * all converter classes should be placed in ISPC_CLASS_PATH.'/idn/'
     */
    private function _idn_encode_decode($domain, $encode = true) {
        if($domain == '') return '';
        if(preg_match('/^[0-9\.]+$/', $domain)) return $domain; // may be an ip address - anyway does not need to bee encoded
@@ -374,7 +376,7 @@
                 */
                
                if(!is_object($this->idn_converter) || $this->idn_converter_name != 'idna_convert.class') {
                    include_once(ISPC_CLASS_PATH.'/idn/idna_convert.class.php');
                    include_once ISPC_CLASS_PATH.'/idn/idna_convert.class.php';
                    $this->idn_converter = new idna_convert(array('idn_version' => 2008));
                    $this->idn_converter_name = 'idna_convert.class';
                }
@@ -391,7 +393,7 @@
                 */
                
                if(!is_object($this->idn_converter) || $this->idn_converter_name != 'idna_convert.class') {
                    include_once(ISPC_CLASS_PATH.'/idn/idna_convert.class.php');
                    include_once ISPC_CLASS_PATH.'/idn/idna_convert.class.php';
                    $this->idn_converter = new idna_convert(array('idn_version' => 2008));
                    $this->idn_converter_name = 'idna_convert.class';
                }
interface/lib/classes/getconf.inc.php
@@ -54,6 +54,7 @@
        }
        return ($section == '') ? $this->config['global'] : $this->config['global'][$section];
    }
}
?>
interface/lib/classes/importer.inc.php
@@ -30,7 +30,7 @@
*/
require_once(realpath(dirname(__FILE__)) . '/remoting.inc.php');
require_once realpath(dirname(__FILE__)) . '/remoting.inc.php';
class fakeserver {
    private $faultMessage;
@@ -46,6 +46,7 @@
        $this->faultText = null;
        return $ret;
    }
}
class importer extends remoting {
@@ -81,5 +82,7 @@
    {    
        return array(); // we have no sessions here
    }
}
?>
interface/lib/classes/ini_parser.inc.php
interface/lib/classes/ispcmail.inc.php
@@ -34,6 +34,8 @@
 * @package pxFramework
 *
 */
class ispcmail {
    
    /**#@+
@@ -58,6 +60,8 @@
    private $user_agent = 'ISPConfig/3 (Mailer Class)';
    /**#@-*/
    
    /**
     * set the mail charset
     */
@@ -68,31 +72,38 @@
     *
     * @access public
     */
    /**
     * if set to true smtp is used instead of mail() to send emails
     * @see mail
     */
    private $use_smtp = false;
    /**
     * the smtp helo string - use the mail server name here!
     */
    private $smtp_helo = '';
    /**
     * the smtp server to send mails
     */
    private $smtp_host = '';
    /**
     * the smtp port
     */
    private $smtp_port = 25;
    /**
     * if the smtp server needs authentication you can set the smtp user here
     */
    private $smtp_user = '';
    /**
     * if the smtp server needs authentication you can set the smtp password here
     */
    private $smtp_pass = '';
    /**
     * If you want to use tls/ssl specify it here
     */
@@ -101,10 +112,12 @@
     * How many mails should be sent via one single smtp connection
     */
    private $smtp_max_mails = 20;
    /**
     * Should the mail be signed
     */
    private $sign_email = false;
    /**
     * The cert and key to use for email signing
     */
@@ -113,6 +126,7 @@
    private $sign_cert = '';
    private $sign_bundle = '';
    private $_is_signed = false;
    /**
     * get disposition notification
     */
@@ -134,6 +148,8 @@
    public function __destruct() {
        $this->finish();
    }
    
    /**
     * Set option
@@ -197,6 +213,8 @@
        }
    }
    
    /** Detect the helo string if none given
     * 
     */
@@ -207,6 +225,8 @@
        if($this->smtp_helo == '') $this->smtp_helo = 'localhost';
    }
    
    /**
     * Set options
     * 
@@ -215,6 +235,8 @@
    public function setOptions($options) {
        foreach($options as $key => $value) $this->setOption($key, $value);
    }
    
    /**
     * Read a file's contents
@@ -238,6 +260,8 @@
        
        return $content;
    }
    
    /**
     * set smtp connection encryption
@@ -266,6 +290,8 @@
        $this->headers["$header"] = $value;
    }
    
    /**
     * get a mail header value
     *
@@ -279,8 +305,10 @@
        if(strtolower($header) == 'bcc') $header = 'Bcc';
        elseif(strtolower($header) == 'cc') $header = 'Cc';
        elseif(strtolower($header) == 'from') $header = 'From';
        return (isset($this->headers["$header"]) ? $this->headers["$header"] : '');
        return isset($this->headers["$header"]) ? $this->headers["$header"] : '';
    }
    
    /**
     * Set email sender
@@ -300,6 +328,8 @@
        $this->setHeader('From', $header);
    }
    
    /**
     * Set mail subject
     *
@@ -311,6 +341,8 @@
        $this->setHeader('Subject', $subject);
    }
    
    /**
     * Get current mail subject
     *
@@ -320,6 +352,8 @@
    public function getSubject() {
        return $this->headers['Subject'];
    }
    
    /**
     * Set mail content
@@ -334,6 +368,8 @@
        $this->text_part = $text;
        $this->html_part = $html;
    }
    
    /**
     * Read and attach a file
@@ -354,6 +390,8 @@
        $this->attachFile($this->read_File($filename), $display_name);
    }
    
    /**
     * Attach a file
     *
@@ -371,6 +409,8 @@
                           );
        $this->attachments[] = $attachment;
    }
    
    /**
     * @access private
@@ -458,6 +498,8 @@
        }
    }
    
    /**
     * Function to sign an email body
     */
@@ -500,6 +542,8 @@
        return '=' . strtoupper(dechex(ord($matches[1])));
    }
    
    /**
    * Function to encode a header if necessary
    * according to RFC2047
@@ -514,6 +558,8 @@
        
        return $input;
    }
    
    /**
    * Function to encode the subject if necessary
@@ -535,6 +581,8 @@
        
        return $input;
    }
    
    /**
     * @access private
@@ -572,6 +620,8 @@
        return true;
    }
    
    /**
     * @access private
     */
@@ -586,6 +636,8 @@
        $response = @fgets($this->_smtp_conn, 515);
        return true;
    }
    
    /**
     * Send the mail to one or more recipients
@@ -697,6 +749,8 @@
        return $result;
    }
    
    /**
     * Close mail connections
     *
@@ -730,6 +784,7 @@
        
        return;
    }
}
?>
interface/lib/classes/listform.inc.php
@@ -46,7 +46,7 @@
        if(!is_file($file)){
            die("List-Definition: $file not found.");
        }
        require_once($file);
        require_once $file;
        $this->listDef = $liste;
        $this->module = $module;
        
@@ -62,7 +62,7 @@
        //* Set local Language File
        $lng_file = 'lib/lang/'.$_SESSION['s']['language'].'_'.$this->listDef['name'].'_list.lng';
        if(!file_exists($lng_file)) $lng_file = 'lib/lang/en_'.$this->listDef['name'].'_list.lng';
        include($lng_file);
        include $lng_file;
        
        $this->wordbook = $wb;
        
@@ -76,6 +76,8 @@
    * @param record = Dataset as array
    * @return array key => value array for the value field of a form
    */
    private function getDatasourceData($field)
    {
        global $app;
@@ -248,7 +250,7 @@
        global $app, $conf;
        
        //* Add Global Limit from selectbox
        if(!empty($_POST['search_limit']) AND $app->functions->intval($_POST['search_limit']) > 0){
        if(!empty($_POST['search_limit']) and $app->functions->intval($_POST['search_limit']) > 0){
            $_SESSION['search']['limit'] = $app->functions->intval($_POST['search_limit']);
        }
        
interface/lib/classes/listform_actions.inc.php
@@ -51,8 +51,8 @@
            $b = $aTwo[$sKey];
            if(is_string($a)) $a = strtolower($a);
            if(is_string($b)) $b = strtolower($b);
            if($a < $b) return ($sDir == 'DESC' ? 1 : -1);
            elseif($a > $b) return ($sDir == 'DESC' ? -1 : 1);
            if($a < $b) return $sDir == 'DESC' ? 1 : -1;
            elseif($a > $b) return $sDir == 'DESC' ? -1 : 1;
        }
        return 0;
    }
@@ -251,7 +251,7 @@
        $lng_file = ISPC_LIB_PATH.'/lang/'.$_SESSION['s']['language'].'.lng';
        if(!file_exists($lng_file))
        $lng_file = ISPC_LIB_PATH.'/lang/en.lng';
        include($lng_file);
        include $lng_file;
        $app->tpl->setVar($wb);
        
        //* Limit each page
@@ -288,6 +288,7 @@
        $app->tpl_defaults();
        $app->tpl->pparse();
    }
}
?>
interface/lib/classes/listform_tpl_generator.inc.php
@@ -162,7 +162,7 @@
        }
        
        if(is_file($lng_file)) {
            include_once($lng_file);
            include_once $lng_file;
        } else {
            $wb = array();
        }
interface/lib/classes/plugin.inc.php
@@ -62,7 +62,7 @@
                
                //** load the plugins
                foreach($tmp_plugins as $plugin_name => $file) {
                    include_once($plugins_dir.$file);
                    include_once $plugins_dir.$file;
                    if($this->debug) $app->log('Loading plugin: '.$plugin_name,LOGLEVEL_DEBUG);
                    $app->loaded_plugins[$plugin_name] = new $plugin_name;
                    $app->loaded_plugins[$plugin_name]->onLoad();
@@ -145,7 +145,7 @@
                
                if(is_file($plugin_file)) {
                    if(!isset($app->loaded_plugins[$plugin_name])) {
                        include_once($plugin_file);
                        include_once $plugin_file;
                        $app->loaded_plugins[$plugin_name] = new $plugin_name;
                    }
                    
interface/lib/classes/plugin_backuplist.inc.php
@@ -46,7 +46,7 @@
                
                //* Loading language file
                $lng_file = "lib/lang/".$_SESSION["s"]["language"]."_web_backup_list.lng";
                include($lng_file);
        include $lng_file;
                $listTpl->setVar($wb);
                
                $message = '';
interface/lib/classes/plugin_base.inc.php
interface/lib/classes/plugin_dbhistory.inc.php
@@ -64,6 +64,7 @@
            return $content;
        }
}
?>
interface/lib/classes/plugin_listview.inc.php
@@ -121,7 +121,7 @@
        
                // Loading language field
                $lng_file = "lib/lang/".$_SESSION["s"]["language"]."_".$app->listform->listDef['name']."_list.lng";
                include($lng_file);
        include $lng_file;
                $listTpl->setVar($wb);
                
@@ -177,6 +177,7 @@
                return $listTpl->grab();
        }
}
?>
interface/lib/classes/remoting.inc.php
@@ -127,7 +127,7 @@
        
        $sql = "DELETE FROM remote_session WHERE remote_session = '$session_id'";
        $app->db->query($sql);
        return ($app->db->affectedRows() == 1);
        return $app->db->affectedRows() == 1;
    }
    
@@ -138,6 +138,8 @@
        @param string  section of the config field in the server table. Could be 'web', 'dns', 'mail', 'dns', 'cron', etc
        @author Julio Montoya <gugli100@gmail.com> BeezNest 2010
    */
    public function server_get($session_id, $server_id, $section ='') {
        global $app;        
        if(!$this->checkPerm($session_id, 'server_get')) {
@@ -3219,6 +3221,8 @@
        }
    }
    
    /**
     * Change domains status
     * @param    int        session id
@@ -3227,7 +3231,6 @@
     * @return    mixed    false if error
     * @author    Julio Montoya <gugli100@gmail.com> BeezNest 2010
     */
    public function sites_web_domain_set_status($session_id, $primary_id, $status) {
        global $app;
        if(!$this->checkPerm($session_id, 'sites_web_domain_set_status')) {
@@ -3249,6 +3252,8 @@
            return false;
        }      
    }
    
    /**
     * Get sys_user information by username
@@ -3272,6 +3277,7 @@
            return false;
        }
    }
      /**
       * Get All client_id's from database
       * @param int    session_id
@@ -3362,6 +3368,8 @@
        return get_class_methods($this);
    }
    
    /**
     * Get all databases by user
     * @author    Julio Montoya <gugli100@gmail.com> BeezNest 2010
@@ -3379,6 +3387,8 @@
        return $all;
    }
    
    /**
     *     Get all client templates
     *    @param     int        session id
@@ -3394,6 +3404,8 @@
        $result = $app->db->queryAllRecords($sql);
        return $result;
   }
    
    /**
     * Get all DNS zone by user 
@@ -3414,6 +3426,8 @@
        }
        return false;
    }
    
    /**
     *     Get all dns records for a zone
@@ -3439,7 +3453,6 @@
     *    @param    string    status active or inactive string
     *    @author    Julio Montoya <gugli100@gmail.com> BeezNest 2010
     */
    public function dns_zone_set_status($session_id, $primary_id, $status) {
        global $app;
        if(!$this->checkPerm($session_id, 'dns_zone_set_status')) {
@@ -3945,4 +3958,5 @@
    
    
}
?>
interface/lib/classes/remoting_lib.inc.php
@@ -64,7 +64,10 @@
*
*/
class remoting_lib {
    
        /**
        * Definition of the database table (array)
@@ -121,7 +124,7 @@
        function loadFormDef($file) {
            global $app,$conf;
            
            include($file);
        include $file;
                
            $this->formDef = $form;
            unset($this->formDef['tabs']);
@@ -232,6 +235,7 @@
        return $new_record;
        }
        /**
        * Get the key => value array of a form filled from a datasource definitiom
        *
@@ -239,7 +243,6 @@
        * @param record = Dataset as array
        * @return key => value array for the value field of a form
        */
        function getDatasourceData($field, $record) {
                global $app;
@@ -289,6 +292,7 @@
                return $values;
        }
        /**
        /**
@@ -397,6 +401,10 @@
                return $new_record;
        }
        
        /**
        * process the filters for a given field.
        *
@@ -406,7 +414,6 @@
        * @param filter_event = 'SAVE'or 'SHOW'
        * @return record
        */
        function filterField($field_name, $field_value, $filters, $filter_event) {
            global $app;
@@ -438,6 +445,7 @@
            return $returnval;
        }
        /**
        * process the validators for a given field.
        *
@@ -446,7 +454,6 @@
        * @param validatoors = Array of validators
        * @return record
        */
        function validateField($field_name, $field_value, $validators) {
                global $app;
@@ -562,7 +569,7 @@
                                if(preg_match("/^[0-9]{1,3}(\.)[0-9]{1,3}(\.)[0-9]{1,3}(\.)[0-9]{1,3}$/", $field_value)){
                                $groups=explode(".",$field_value);
                                foreach($groups as $group){
                                    if($group<0 OR $group>255)
                        if($group<0 or $group>255)
                                    $vip=0;
                                }
                                }else{$vip=0;}
@@ -661,6 +668,7 @@
                return true;
        }
        /**
        * Create SQL statement
        *
interface/lib/classes/searchform.inc.php
@@ -45,7 +45,7 @@
        if(!is_file($file)){
            die("List-Definition: $file not found.");
        }
        include_once($file);
        include_once $file;
        $this->listDef = $liste;
        $this->module = $module;
        
@@ -65,6 +65,7 @@
    * @param record = Dataset as array
    * @return key => value array for the value field of a form
    */
    public function getDatasourceData($field)
    {
@@ -342,6 +343,7 @@
        }
        return $record;
    }
}
?>
interface/lib/classes/searchform_actions.inc.php
@@ -153,10 +153,10 @@
        // Language File setzen
        $lng_file = ISPC_WEB_PATH.'/lang/lib/lang/'.$_SESSION['s']['language'].'_list.lng';
        if(!file_exists($lng_file)) $lng_file = ISPC_WEB_PATH.'/lang/lib/lang/en_'.'_list.lng';
        include($lng_file);
        include $lng_file;
        $lng_file = "lib/lang/".$_SESSION["s"]["language"]."_".$app->searchform->listDef['name']."_search.lng";
        if(!file_exists($lng_file)) $lng_file = 'lib/lang/en_'.$app->searchform->listDef['name']."_search.lng";
        include($lng_file);
        include $lng_file;
        $app->tpl->setVar($wb);
        $app->tpl->setVar("form_action",$app->searchform->listDef["file"]);
        
@@ -196,6 +196,7 @@
        $app->tpl_defaults();
        $app->tpl->pparse();
    }
}
?>
interface/lib/classes/searchform_tpl_generator.inc.php
interface/lib/classes/session.inc.php
interface/lib/classes/simplepie.inc.php
@@ -43,6 +43,7 @@
 * @todo phpDoc comments
 */
/**
 * SimplePie Name
 */
@@ -395,6 +396,7 @@
 */
class simplepie
{
    /**
     * @var array Raw data
     * @access private
@@ -711,6 +713,7 @@
     */
    var $strip_htmltags = array('base', 'blink', 'body', 'doctype', 'embed', 'font', 'form', 'frame', 'frameset', 'html', 'iframe', 'input', 'marquee', 'meta', 'noscript', 'object', 'param', 'script', 'style');
    /**
     * The SimplePie class contains feed level data and options
     *
@@ -756,6 +759,7 @@
        }
    }
    /**
     * Used for converting object to a string
     */
@@ -763,6 +767,7 @@
    {
        return md5(serialize($this->data));
    }
    /**
     * Remove items that link back to this before destroying this object
@@ -790,6 +795,7 @@
        }
    }
    /**
     * Force the given data/URL to be treated as a feed no matter what it
     * appears like
@@ -802,6 +808,7 @@
    {
        $this->force_feed = (bool) $enable;
    }
    /**
     * This is the URL of the feed you want to parse.
@@ -835,6 +842,7 @@
        }
    }
    /**
     * Provides an instance of SimplePie_File to use as a feed
     *
@@ -853,6 +861,7 @@
        return false;
    }
    /**
     * Allows you to use a string of RSS/Atom data instead of a remote feed.
     *
@@ -870,6 +879,7 @@
        $this->raw_data = $data;
    }
    /**
     * Allows you to override the default timeout for fetching remote feeds.
     *
@@ -885,6 +895,7 @@
        $this->timeout = (int) $timeout;
    }
    /**
     * Forces SimplePie to use fsockopen() instead of the preferred cURL
     * functions.
@@ -897,6 +908,7 @@
    {
        $this->force_fsockopen = (bool) $enable;
    }
    /**
     * Outputs the raw XML content of the feed, after it has gone through
@@ -918,6 +930,7 @@
        $this->xml_dump = (bool) $enable;
    }
    /**
     * Enables/disables caching in SimplePie.
     *
@@ -933,6 +946,7 @@
        $this->cache = (bool) $enable;
    }
    /**
     * Set the length of time (in seconds) that the contents of a feed
     * will be cached.
@@ -944,6 +958,7 @@
    {
        $this->cache_duration = (int) $seconds;
    }
    /**
     * Set the length of time (in seconds) that the autodiscovered feed
@@ -957,6 +972,7 @@
        $this->autodiscovery_cache_duration = (int) $seconds;
    }
    /**
     * Set the file system location where the cached files should be stored.
     *
@@ -968,6 +984,7 @@
        $this->cache_location = (string) $location;
    }
    /**
     * Determines whether feed items should be sorted into reverse chronological order.
     *
@@ -978,6 +995,7 @@
    {
        $this->order_by_date = (bool) $enable;
    }
    /**
     * Allows you to override the character encoding reported by the feed.
@@ -996,6 +1014,7 @@
            $this->input_encoding = false;
        }
    }
    /**
     * Set how much feed autodiscovery to do
@@ -1016,6 +1035,7 @@
        $this->autodiscovery = (int) $level;
    }
    /**
     * Allows you to change which class SimplePie uses for caching.
     * Useful when you are overloading or extending SimplePie's default classes.
@@ -1034,6 +1054,7 @@
        }
        return false;
    }
    /**
     * Allows you to change which class SimplePie uses for auto-discovery.
@@ -1054,6 +1075,7 @@
        return false;
    }
    /**
     * Allows you to change which class SimplePie uses for XML parsing.
     * Useful when you are overloading or extending SimplePie's default classes.
@@ -1072,6 +1094,7 @@
        }
        return false;
    }
    /**
     * Allows you to change which class SimplePie uses for remote file fetching.
@@ -1092,6 +1115,7 @@
        return false;
    }
    /**
     * Allows you to change which class SimplePie uses for data sanitization.
     * Useful when you are overloading or extending SimplePie's default classes.
@@ -1110,6 +1134,7 @@
        }
        return false;
    }
    /**
     * Allows you to change which class SimplePie uses for handling feed items.
@@ -1130,6 +1155,7 @@
        return false;
    }
    /**
     * Allows you to change which class SimplePie uses for handling author data.
     * Useful when you are overloading or extending SimplePie's default classes.
@@ -1148,6 +1174,7 @@
        }
        return false;
    }
    /**
     * Allows you to change which class SimplePie uses for handling category data.
@@ -1168,6 +1195,7 @@
        return false;
    }
    /**
     * Allows you to change which class SimplePie uses for feed enclosures.
     * Useful when you are overloading or extending SimplePie's default classes.
@@ -1186,6 +1214,7 @@
        }
        return false;
    }
    /**
     * Allows you to change which class SimplePie uses for <media:text> captions
@@ -1206,6 +1235,7 @@
        return false;
    }
    /**
     * Allows you to change which class SimplePie uses for <media:copyright>
     * Useful when you are overloading or extending SimplePie's default classes.
@@ -1224,6 +1254,7 @@
        }
        return false;
    }
    /**
     * Allows you to change which class SimplePie uses for <media:credit>
@@ -1244,6 +1275,7 @@
        return false;
    }
    /**
     * Allows you to change which class SimplePie uses for <media:rating>
     * Useful when you are overloading or extending SimplePie's default classes.
@@ -1262,6 +1294,7 @@
        }
        return false;
    }
    /**
     * Allows you to change which class SimplePie uses for <media:restriction>
@@ -1282,6 +1315,7 @@
        return false;
    }
    /**
     * Allows you to change which class SimplePie uses for content-type sniffing.
     * Useful when you are overloading or extending SimplePie's default classes.
@@ -1300,6 +1334,7 @@
        }
        return false;
    }
    /**
     * Allows you to change which class SimplePie uses item sources.
@@ -1320,6 +1355,7 @@
        return false;
    }
    /**
     * Allows you to override the default user agent string.
     *
@@ -1330,6 +1366,7 @@
    {
        $this->useragent = (string) $ua;
    }
    /**
     * Set callback function to create cache filename with
@@ -1344,6 +1381,7 @@
            $this->cache_name_function = $function;
        }
    }
    /**
     * Set javascript query string parameter
@@ -1362,6 +1400,7 @@
            $this->javascript = false;
        }
    }
    /**
     * Set options to make SP as fast as possible.  Forgoes a
@@ -1382,6 +1421,7 @@
            $this->set_image_handler(false);
        }
    }
    /**
     * Set maximum number of feeds to check with autodiscovery
@@ -1436,6 +1476,7 @@
        $this->sanitize->strip_comments($strip);
    }
    /**
     * Set element/attribute key/value pairs of HTML attributes
     * containing URLs that need to be resolved relative to the feed
@@ -1448,6 +1489,7 @@
    {
        $this->sanitize->set_url_replacements($element_attribute);
    }
    /**
     * Set the handler to enable the display of cached favicons.
@@ -1468,6 +1510,7 @@
        }
    }
    /**
     * Set the handler to enable the display of cached images.
     *
@@ -1486,6 +1529,7 @@
            $this->image_handler = '';
        }
    }
    /**
     * Set the limit for items returned per-feed with multifeeds.
@@ -1830,6 +1874,7 @@
        }
    }
    /**
     * Return the error message for the occured error
     *
@@ -1943,6 +1988,7 @@
        return $this->data['type'];
    }
    /**
     * Returns the URL for the favicon of the feed's website.
     *
@@ -2003,6 +2049,7 @@
        }
        return false;
    }
    /**
     * @todo If we have a perm redirect we should return the new URL
@@ -2068,6 +2115,7 @@
            return null;
        }
    }
    /**
     * Creates the subscribe_* methods' return data
@@ -2577,6 +2625,7 @@
        }
    }
    /**
     * Added for parity between the parent-level and the item/entry-level.
     */
@@ -3048,6 +3097,7 @@
        }
    }
    /**
     * @static
     */
@@ -3055,6 +3105,7 @@
    {
        return $a->get_date('U') <= $b->get_date('U');
    }
    /**
     * @static
@@ -3106,6 +3157,7 @@
            return array();
        }
    }
}
class SimplePie_Item
@@ -3123,6 +3175,7 @@
    {
        return md5(serialize($this->data));
    }
    /**
     * Remove items that link back to this before destroying this object
@@ -3758,6 +3811,7 @@
        }
    }
    /**
     * @todo Add ability to prefer one type of content over another (in a media group).
     */
@@ -3773,6 +3827,7 @@
            return null;
        }
    }
    /**
     * Grabs all available enclosures (podcasts, etc.)
@@ -5626,6 +5681,7 @@
        }
    }
    /**
     * Creates the add_to_* methods' return data
     *
@@ -5725,6 +5781,7 @@
    {
        return $this->add_to_service('http://www.technorati.com/search/');
    }
}
class SimplePie_Source
@@ -6043,6 +6100,7 @@
        }
    }
    /**
     * Added for parity between the parent-level and the item/entry-level.
     */
@@ -6276,6 +6334,7 @@
            return null;
        }
    }
}
class SimplePie_Author
@@ -6333,6 +6392,7 @@
            return null;
        }
    }
}
class SimplePie_Category
@@ -6390,6 +6450,7 @@
            return $this->get_term();
        }
    }
}
class SimplePie_Enclosure
@@ -6914,6 +6975,7 @@
        return $this->embed($options, true);
    }
    /**
     * @todo If the dimensions for media:content are defined, use them when width/height are set to 'auto'.
     */
@@ -7345,6 +7407,7 @@
            return $type;
        }
    }
}
class SimplePie_Caption
@@ -7430,6 +7493,7 @@
            return null;
        }
    }
}
class SimplePie_Credit
@@ -7487,6 +7551,7 @@
            return null;
        }
    }
}
class SimplePie_Copyright
@@ -7530,6 +7595,7 @@
            return null;
        }
    }
}
class SimplePie_Rating
@@ -7573,6 +7639,7 @@
            return null;
        }
    }
}
class SimplePie_Restriction
@@ -7630,6 +7697,7 @@
            return null;
        }
    }
}
/**
@@ -7862,6 +7930,7 @@
            }
        }
    }
}
/**
@@ -7871,6 +7940,7 @@
 */
class SimplePie_HTTP_Parser
{
    /**
     * HTTP Version
     *
@@ -7959,6 +8029,7 @@
     */
    var $value = '';
    /**
     * Create an instance of the class with the input data
     *
@@ -7970,6 +8041,7 @@
        $this->data = $data;
        $this->data_length = strlen($this->data);
    }
    /**
     * Parse the input data
@@ -8000,6 +8072,7 @@
        }
    }
    /**
     * Check whether there is data beyond the pointer
     *
@@ -8010,6 +8083,7 @@
    {
        return (bool) ($this->position < $this->data_length);
    }
    /**
     * See if the next character is LWS
@@ -8025,6 +8099,7 @@
                && isset($this->data[$this->position + 1])
                && ($this->data[$this->position + 1] === "\x09" || $this->data[$this->position + 1] === "\x20")));
    }
    /**
     * Parse the HTTP version
@@ -8055,6 +8130,7 @@
        }
    }
    /**
     * Parse the status code
     *
@@ -8074,6 +8150,7 @@
        }
    }
    /**
     * Parse the reason phrase
     *
@@ -8086,6 +8163,7 @@
        $this->position += $len + 1;
        $this->state = 'new_line';
    }
    /**
     * Deal with a new line, shifting data around as needed
@@ -8125,6 +8203,7 @@
        }
    }
    /**
     * Parse a header name
     *
@@ -8153,6 +8232,7 @@
        }
    }
    /**
     * Parse LWS, replacing consecutive LWS characters with a single space
     *
@@ -8174,6 +8254,7 @@
        } while ($this->has_data() && $this->is_linear_whitespace());
        $this->value .= "\x20";
    }
    /**
     * See what state to move to while within non-quoted header values
@@ -8207,6 +8288,7 @@
        }
    }
    /**
     * Parse a header value while outside quotes
     *
@@ -8219,6 +8301,7 @@
        $this->position += $len;
        $this->state = 'value';
    }
    /**
     * See what state to move to while within quoted header values
@@ -8257,6 +8340,7 @@
        }
    }
    /**
     * Parse a header value while within quotes
     *
@@ -8270,6 +8354,7 @@
        $this->state = 'value';
    }
    /**
     * Parse an escaped character within quotes
     *
@@ -8282,6 +8367,7 @@
        $this->state = 'quote';
    }
    /**
     * Parse the body
     *
@@ -8292,6 +8378,7 @@
        $this->body = substr($this->data, $this->position);
        $this->state = 'emit';
    }
}
/**
@@ -8301,6 +8388,7 @@
 */
class SimplePie_gzdecode
{
    /**
     * Compressed data
     *
@@ -8407,6 +8495,7 @@
     */
    var $comment;
    /**
     * Don't allow anything to be set
     *
@@ -8416,6 +8505,7 @@
    {
        trigger_error("Cannot write property $name", E_USER_ERROR);
    }
    /**
     * Set the compressed string and related properties
@@ -8427,6 +8517,7 @@
        $this->compressed_data = $data;
        $this->compressed_size = strlen($data);
    }
    /**
     * Decode the GZIP stream
@@ -8602,10 +8693,13 @@
            return false;
        }
    }
}
class SimplePie_Cache
{
    /**
     * Don't call the constructor. Please.
     *
@@ -8615,6 +8709,7 @@
    {
        trigger_error('Please call SimplePie_Cache::create() instead of the constructor', E_USER_ERROR);
    }
    /**
     * Create a new SimplePie_Cache object
@@ -8638,6 +8733,7 @@
                return new SimplePie_Cache_File($location, $filename, $extension);
        }
    }
}
class SimplePie_Cache_File
@@ -8719,6 +8815,7 @@
        }
        return false;
    }
}
class SimplePie_Cache_DB
@@ -8799,6 +8896,7 @@
        }
        return array(serialize($data->data), $items_by_id);
    }
}
class SimplePie_Cache_MySQL extends SimplePie_Cache_DB
@@ -9071,6 +9169,7 @@
            return false;
        }
    }
}
class SimplePie_Misc
@@ -9260,6 +9359,7 @@
        return $message;
    }
    /**
     * If a file has been cached, retrieve and display it.
     *
@@ -9378,6 +9478,7 @@
        }
    }
    /**
     * Remove bad UTF-8 bytes
     *
@@ -9412,6 +9513,7 @@
            return '';
        }
    }
    /**
     * Converts a Windows-1252 encoded string to a UTF-8 encoded string
@@ -10840,6 +10942,7 @@
        return false;
    }
    /**
     * Strip HTML comments
     *
@@ -10884,6 +10987,7 @@
        $decoder = new SimplePie_Decode_HTML_Entities($data);
        return $decoder->parse();
    }
    /**
     * Remove RFC822 comments
@@ -11125,6 +11229,7 @@
        }
    }
    /**
     * Converts a unicode codepoint to a UTF-8 character
     *
@@ -11162,6 +11267,7 @@
            return "\xEF\xBF\xBD";
        }
    }
    /**
     * Re-implementation of PHP 5's stripos()
@@ -11205,6 +11311,7 @@
            return strpos(strtolower($haystack), $needle, $offset);
        }
    }
    /**
     * Similar to parse_str()
@@ -11381,6 +11488,7 @@
}
        <?php
    }
}
/**
@@ -11392,6 +11500,7 @@
 */
class SimplePie_Decode_HTML_Entities
{
    /**
     * Data to be parsed
     *
@@ -11416,6 +11525,7 @@
     */
    var $position = 0;
    /**
     * Create an instance of the class with the input data
     *
@@ -11426,6 +11536,7 @@
    {
        $this->data = $data;
    }
    /**
     * Parse the input data
@@ -11443,6 +11554,7 @@
        }
        return $this->data;
    }
    /**
     * Consume the next byte
@@ -11462,6 +11574,7 @@
            return false;
        }
    }
    /**
     * Consume a range of characters
@@ -11485,6 +11598,7 @@
        }
    }
    /**
     * Unconsume one byte
     *
@@ -11495,6 +11609,7 @@
        $this->consumed = substr($this->consumed, 0, -1);
        $this->position--;
    }
    /**
     * Decode an entity
@@ -11585,6 +11700,7 @@
                break;
        }
    }
}
/**
@@ -11594,6 +11710,7 @@
 */
class SimplePie_IRI
{
    /**
     * Scheme
     *
@@ -11658,6 +11775,7 @@
     */
    var $valid = array();
    /**
     * Return the entire IRI when you try and read the object as a string
     *
@@ -11668,6 +11786,7 @@
    {
        return $this->get_iri();
    }
    /**
     * Create a new IRI object, from a specified string
@@ -11771,6 +11890,7 @@
        return $target;
    }
    /**
     * Parse an IRI into scheme/authority/path/query/fragment segments
     *
@@ -11787,6 +11907,7 @@
        }
        return array('scheme' => $match[2], 'authority' => $match[4], 'path' => $match[5], 'query' => $match[7], 'fragment' => $match[9]);
    }
    /**
     * Remove dot segments from a path
@@ -11848,6 +11969,7 @@
        }
        return $output . $input;
    }
    /**
     * Replace invalid character with percent encoding
@@ -11928,6 +12050,7 @@
        return $string;
    }
    /**
     * Check if the object represents a valid IRI
     *
@@ -11938,6 +12061,7 @@
    {
        return array_sum($this->valid) === count($this->valid);
    }
    /**
     * Set the scheme. Returns true on success, false on failure (if there are
@@ -11980,6 +12104,7 @@
        return true;
    }
    /**
     * Set the authority. Returns true on success, false on failure (if there are
     * any invalid characters).
@@ -12013,6 +12138,7 @@
        return $this->set_userinfo($userinfo) && $this->set_host($authority) && $this->set_port($port);
    }
    /**
     * Set the userinfo.
     *
@@ -12033,6 +12159,7 @@
        $this->valid[__FUNCTION__] = true;
        return true;
    }
    /**
     * Set the host. Returns true on success, false on failure (if there are
@@ -12073,6 +12200,7 @@
        }
    }
    /**
     * Set the port. Returns true on success, false on failure (if there are
     * any invalid characters).
@@ -12102,6 +12230,7 @@
            return false;
        }
    }
    /**
     * Set the path.
@@ -12136,6 +12265,7 @@
        }
    }
    /**
     * Set the query.
     *
@@ -12157,6 +12287,7 @@
        return true;
    }
    /**
     * Set the fragment.
     *
@@ -12177,6 +12308,7 @@
        $this->valid[__FUNCTION__] = true;
        return true;
    }
    /**
     * Get the complete IRI
@@ -12218,6 +12350,7 @@
        }
    }
    /**
     * Get the scheme
     *
@@ -12228,6 +12361,7 @@
    {
        return $this->scheme;
    }
    /**
     * Get the complete authority
@@ -12261,6 +12395,7 @@
        }
    }
    /**
     * Get the user information
     *
@@ -12271,6 +12406,7 @@
    {
        return $this->userinfo;
    }
    /**
     * Get the host
@@ -12283,6 +12419,7 @@
        return $this->host;
    }
    /**
     * Get the port
     *
@@ -12293,6 +12430,7 @@
    {
        return $this->port;
    }
    /**
     * Get the path
@@ -12305,6 +12443,7 @@
        return $this->path;
    }
    /**
     * Get the query
     *
@@ -12316,6 +12455,7 @@
        return $this->query;
    }
    /**
     * Get the fragment
     *
@@ -12326,6 +12466,7 @@
    {
        return $this->fragment;
    }
}
/**
@@ -12342,6 +12483,8 @@
 */
class SimplePie_Net_IPv6
{
    /**
     * Removes a possible existing netmask specification of an IP address.
     *
@@ -12363,6 +12506,7 @@
        }
        return $addr;
    }
    /**
     * Uncompresses an IPv6 address
@@ -12451,6 +12595,7 @@
        return $uip;
    }
    /**
     * Splits an IPv6 address into the IPv6 and a possible IPv4 part
     *
@@ -12480,6 +12625,7 @@
            return array($ip, '');
        }
    }
    /**
     * Checks an IPv6 address
@@ -12538,6 +12684,7 @@
            return false;
        }
    }
}
/**
@@ -12547,6 +12694,7 @@
 */
class SimplePie_Parse_Date
{
    /**
     * Input data
     *
@@ -13029,6 +13177,7 @@
     */
    var $user = array();
    /**
     * Create new SimplePie_Parse_Date object, and set self::day_pcre,
     * self::month_pcre, and self::built_in
@@ -13075,6 +13224,7 @@
        return $object;
    }
    /**
     * Parse a date
     *
@@ -13104,6 +13254,7 @@
        return false;
    }
    /**
     * Add a callback method to parse a date
     *
@@ -13122,6 +13273,7 @@
            trigger_error('User-supplied function must be a valid callback', E_USER_WARNING);
        }
    }
    /**
     * Parse a superset of W3C-DTF (allows hyphens and colons to be omitted, as
@@ -13196,6 +13348,7 @@
        }
    }
    /**
     * Remove RFC822 comments
     *
@@ -13256,6 +13409,7 @@
        return $output;
    }
    /**
     * Parse RFC2822's date format
@@ -13350,6 +13504,7 @@
        }
    }
    /**
     * Parse RFC850's date format
     *
@@ -13415,6 +13570,7 @@
        }
    }
    /**
     * Parse C99's asctime()'s date format
     *
@@ -13457,6 +13613,7 @@
        }
    }
    /**
     * Parse dates using strtotime()
     *
@@ -13475,6 +13632,7 @@
            return $strtotime;
        }
    }
}
/**
@@ -13484,6 +13642,7 @@
 */
class SimplePie_Content_Type_Sniffer
{
    /**
     * File object
     *
@@ -13491,6 +13650,7 @@
     * @access private
     */
    var $file;
    /**
     * Create an instance of the class with the input file
@@ -13502,6 +13662,7 @@
    {
        $this->file = $file;
    }
    /**
     * Get the Content-Type of the specified file
@@ -13568,6 +13729,7 @@
        }
    }
    /**
     * Sniff text or binary
     *
@@ -13592,6 +13754,7 @@
            return 'text/plain';
        }
    }
    /**
     * Sniff unknown
@@ -13639,6 +13802,7 @@
        }
    }
    /**
     * Sniff images
     *
@@ -13669,6 +13833,7 @@
            return false;
        }
    }
    /**
     * Sniff HTML
@@ -13751,6 +13916,7 @@
        return 'text/html';
    }
}
/**
@@ -13760,6 +13926,7 @@
 */
class SimplePie_XML_Declaration_Parser
{
    /**
     * XML Version
     *
@@ -13816,6 +13983,7 @@
     */
    var $position = 0;
    /**
     * Create an instance of the class with the input data
     *
@@ -13827,6 +13995,7 @@
        $this->data = $data;
        $this->data_length = strlen($this->data);
    }
    /**
     * Parse the input data
@@ -13855,6 +14024,7 @@
        }
    }
    /**
     * Check whether there is data beyond the pointer
     *
@@ -13865,6 +14035,7 @@
    {
        return (bool) ($this->position < $this->data_length);
    }
    /**
     * Advance past any whitespace
@@ -13877,6 +14048,7 @@
        $this->position += $whitespace;
        return $whitespace;
    }
    /**
     * Read value
@@ -14068,6 +14240,7 @@
            $this->state = false;
        }
    }
}
class SimplePie_Locator
@@ -14325,6 +14498,7 @@
        }
        return null;
    }
}
class SimplePie_Parser
@@ -14663,6 +14837,7 @@
        }
        return $cache[$string];
    }
}
/**
@@ -14817,6 +14992,7 @@
    {
        $this->output_encoding = (string) $encoding;
    }
    /**
     * Set element/attribute key/value pairs of HTML attributes
@@ -15018,6 +15194,7 @@
            return '';
        }
    }
}
?>
interface/lib/classes/sites_database_plugin.inc.php
@@ -173,6 +173,7 @@
        }*/
        
    }
}
?>
interface/lib/classes/tform.inc.php
@@ -58,6 +58,7 @@
*
*/
class tform {
        /**
@@ -124,24 +125,24 @@
    function loadFormDef($file,$module = '') {
                global $app,$conf;
                include($file);
        include $file;
                $this->formDef = $form;
                $this->module = $module;
                $wb = array();
                
                include_once(ISPC_ROOT_PATH.'/lib/lang/'.$_SESSION['s']['language'].'.lng');
        include_once ISPC_ROOT_PATH.'/lib/lang/'.$_SESSION['s']['language'].'.lng';
                
                if(is_array($wb)) $wb_global = $wb;
                
                if($module == '') {
                    $lng_file = "lib/lang/".$_SESSION["s"]["language"]."_".$this->formDef["name"].".lng";
                    if(!file_exists($lng_file)) $lng_file = "lib/lang/en_".$this->formDef["name"].".lng";
                    include($lng_file);
            include $lng_file;
                } else {
                    $lng_file = "../$module/lib/lang/".$_SESSION["s"]["language"]."_".$this->formDef["name"].".lng";
                    if(!file_exists($lng_file)) $lng_file = "../$module/lib/lang/en_".$this->formDef["name"].".lng";
                    include($lng_file);
            include $lng_file;
                }
                if(is_array($wb_global)) {
@@ -223,6 +224,7 @@
        return $new_record;
        }
        /**
        * Get the key => value array of a form filled from a datasource definitiom
        *
@@ -230,7 +232,6 @@
        * @param record = Dataset as array
        * @return key => value array for the value field of a form
        */
        function getDatasourceData($field, $record) {
                global $app;
@@ -626,6 +627,7 @@
                return $new_record;
        }
        /**
        * Rewrite the record data to be stored in the database
        * and check values with regular expressions.
@@ -734,6 +736,10 @@
                return $new_record;
        }
        
        /**
        * process the filters for a given field.
        *
@@ -743,7 +749,6 @@
        * @param filter_event = 'SAVE'or 'SHOW'
        * @return record
        */
        function filterField($field_name, $field_value, $filters, $filter_event) {
            global $app;
@@ -774,6 +779,7 @@
            return $returnval;
        }
        /**
        * process the validators for a given field.
        *
@@ -782,7 +788,6 @@
        * @param validatoors = Array of validators
        * @return record
        */
        function validateField($field_name, $field_value, $validators) {
                global $app;
@@ -931,7 +936,7 @@
                                if(preg_match("/^[0-9]{1,3}(\.)[0-9]{1,3}(\.)[0-9]{1,3}(\.)[0-9]{1,3}$/", $field_value)){
                                $groups=explode(".",$field_value);
                                foreach($groups as $group){
                                    if($group<0 OR $group>255)
                        if($group<0 or $group>255)
                                    $vip=0;
                                }
                                }else{$vip=0;}
@@ -1030,6 +1035,7 @@
                return true;
        }
        /**
        * Create SQL statement
@@ -1189,6 +1195,7 @@
                return $sql;
        }
        /**
        * Debugging arrays.
        *
@@ -1323,7 +1330,7 @@
                        if(@stristr($this->formDef["auth_preset"]["perm_other"],$perm)) $result = true;
                        // if preset == 0, everyone can insert a record of this type
                        if($this->formDef["auth_preset"]["userid"] == 0 AND $this->formDef["auth_preset"]["groupid"] == 0 AND (@stristr($this->formDef["auth_preset"]["perm_user"],$perm) OR @stristr($this->formDef["auth_preset"]["perm_group"],$perm))) $result = true;
            if($this->formDef["auth_preset"]["userid"] == 0 and $this->formDef["auth_preset"]["groupid"] == 0 and (@stristr($this->formDef["auth_preset"]["perm_user"], $perm) or @stristr($this->formDef["auth_preset"]["perm_group"], $perm))) $result = true;
                        return $result;
@@ -1469,6 +1476,10 @@
        
        }
        
        /**
         * Generate HTML for DATETIME fields.
         * 
@@ -1571,6 +1582,7 @@
            
            return $out;
        }
}
?>
interface/lib/classes/tform_actions.inc.php
@@ -75,6 +75,7 @@
        * Function called on page submit
        */
        function onSubmit() {
                global $app, $conf;
                
@@ -97,10 +98,10 @@
                }
        }
        /**
        * Function called on data update
        */
        function onUpdate() {
                global $app, $conf;
                
@@ -181,10 +182,12 @@
        }
        
        /**
        * Function called on data insert
        */
        function onInsert() {
                global $app, $conf;
                
@@ -275,7 +278,6 @@
        /**
        * Function called on data insert or update error
        */
        function onError() {
                global $app, $conf;
@@ -284,14 +286,14 @@
                $this->onShow();
        }
        /**
        * Function called on data delete
        */
        function onDelete() {
                global $app, $conf,$list_def_file,$tform_def_file;
                include_once($list_def_file);
        include_once $list_def_file;
                // Loading tform framework
                if(!is_object($app->tform)) $app->uses('tform');
@@ -360,10 +362,13 @@
            global $app, $conf;
        }
        
        /**
        * Function to print the form content
        */
        function onPrintForm() {
            global $app, $conf;
            
@@ -390,10 +395,13 @@
            
        }
        
        /**
        * Function to print the form content
        */
        function onMailSendForm() {
            global $app, $conf;
            
@@ -467,10 +475,10 @@
            
        }
        /**
        * Function called on page show
        */
        function onShow() {
                global $app, $conf;
@@ -524,10 +532,10 @@
        }
        /**
        * Function called on new record
        */
        function onShowNew() {
                global $app, $conf;
@@ -541,10 +549,10 @@
                $app->tpl->setVar($record);
        }
        /**
        * Function called on edit record
        */
        function onShowEdit() {
                global $app, $conf;
interface/lib/classes/tform_tpl_generator.inc.php
@@ -300,7 +300,7 @@
        
        $lng_file = "lib/lang/".$conf["language"]."_".$formDef['name'].".lng";
        if(is_file($lng_file)) {
            include($lng_file);
            include $lng_file;
        } else {
            $wb = array();
        }
@@ -319,6 +319,7 @@
            fclose($fp);
        }
    }
}
?>
interface/lib/classes/tools_monitor.inc.php
@@ -508,5 +508,7 @@
        }
        return $res;
    }
}
?>
interface/lib/classes/tools_sites.inc.php
@@ -170,6 +170,7 @@
        if(!$domain || !$domain['domain_id']) return false;
        return $domain['domain'];
    }
}
?>
interface/lib/classes/tpl.inc.php
@@ -11,6 +11,7 @@
* @see vlibTemplate.html
*/
/* vim: set expandtab tabstop=4 shiftwidth=4: */
// +----------------------------------------------------------------------+
// | PHP version 4.0                                                      |
@@ -26,8 +27,8 @@
if (!defined('vlibTemplateClassLoaded')) {
    define('vlibTemplateClassLoaded', 1);
       include_once (ISPC_CLASS_PATH.'/tpl_error.inc.php');
       include_once (ISPC_CLASS_PATH.'/tpl_ini.inc.php');
    include_once ISPC_CLASS_PATH.'/tpl_error.inc.php';
    include_once ISPC_CLASS_PATH.'/tpl_ini.inc.php';
    class tpl{
    
@@ -68,6 +69,8 @@
                'hexentity' => array('open' => '$this->_escape_hex('  ,'close'=> ', true)')
                );
    
        /** open and close tags used for formatting */
        private $FORMAT_TAGS = array(
                'strtoupper' => array('open' => 'strtoupper(',          'close'=> ')'),
@@ -83,33 +86,53 @@
        /** operators allowed when using extended TMPL_IF syntax */
        private $allowed_if_ops = array('==','!=','<>','<','>','<=','>=');
    
        /** dbs allowed by vlibTemplate::setDbLoop(). */
        private $allowed_loop_dbs = array('MYSQL','POSTGRESQL','INFORMIX','INTERBASE','INGRES',
                                        'MSSQL','MSQL','OCI8','ORACLE','OVRIMOS','SYBASE');
    
        /** root directory of vlibTemplate automagically filled in */
        private $VLIBTEMPLATE_ROOT = null;
    
        /** contains current directory used when doing recursive include */
        private $_currentincludedir = array();
    
        /** current depth of includes */
        private $_includedepth = 0;
    
        /** full path to tmpl file */
        private $_tmplfilename = null;
    
        /** file data before it's parsed */
        private $_tmplfile = null;
    
        /** parsed version of file, ready for eval()ing */
        private $_tmplfilep = null;
    
        /** eval()ed version ready for printing or whatever */
        private $_tmploutput = null;
    
        /** array for variables to be kept */
        private $_vars = array();
    
        /** array where loop variables are kept */
        private $_arrvars = array();
@@ -117,27 +140,43 @@
        /** array which holds the current namespace during parse */
        private $_namespace = array();
    
        /** variable is set to true once the template is parsed, to save re-parsing everything */
        private $_parsed = false;
    
        /** array holds all unknowns vars */
        private $_unknowns = array();
    
        /** microtime when template parsing began */
        private $_firstparsetime = null;
    
        /** total time taken to parse template */
        private $_totalparsetime = null;
    
        /** name of current loop being passed in */
        private $_currloopname = null;
    
        /** rows with the above loop */
        private $_currloop = array();
    
        /** define vars to avoid warnings */
        private $_debug = null;
        private $_cache = null;
        
        /** array which holds the dynamic Includes */
        private $_dyninclude = array();
@@ -145,6 +184,9 @@
        /*-----------------------------------------------------------------------------\
        |                           public functions                                   |
        \-----------------------------------------------------------------------------*/
            
        
        /**
@@ -206,6 +248,8 @@
            }
            return true;
        }
        
        /**
         * Sets dynamic includes to be used by the template
@@ -612,7 +656,7 @@
         */
        public function unknownsExist()
        {
            return (!empty($this->_unknowns));
            return !empty($this->_unknowns);
        }
        /**
@@ -1346,7 +1390,7 @@
        private function _getMicrotime() 
        {
            list($msec, $sec) = explode(' ',microtime());
            return ((float)$msec + (float)$sec);
            return (float)$msec + (float)$sec;
        }
        /**
@@ -1371,13 +1415,17 @@
    vlibTemplate if the user is quickly bypassing the vlibTemplateCache class.
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/
        function clearCache()        {vlibTemplateError::raiseError('VT_WARNING_NOT_CACHE_OBJ', WARNING, 'clearCache()');}
        function recache()           {vlibTemplateError::raiseError('VT_WARNING_NOT_CACHE_OBJ', WARNING, 'recache()');}
        function setCacheLifeTime()  {vlibTemplateError::raiseError('VT_WARNING_NOT_CACHE_OBJ', WARNING, 'setCacheLifeTime()');}
        function setCacheExtension() {vlibTemplateError::raiseError('VT_WARNING_NOT_CACHE_OBJ', WARNING, 'setCacheExtension()');}
    } // << end class Def
    //include_once (ISPC_CLASS_PATH.'/vlibTemplate/debug.php');
    include_once (ISPC_CLASS_PATH.'/tpl_cache.inc.php');
    include_once ISPC_CLASS_PATH.'/tpl_cache.inc.php';
} // << end if(!defined())..
?>
interface/lib/classes/tpl_cache.inc.php
@@ -20,6 +20,7 @@
 * @access public
 */
class tplc extends tpl {
/*-----------------------------------------------------------------------------\
@@ -46,6 +47,7 @@
        return true;
    }
    /**
     * FUNCTION: recache
     * alias for clearCache().
@@ -56,6 +58,7 @@
    function recache() {
        return $this->clearCache();
    }
    /**
     * FUNCTION: setCacheLifeTime
@@ -72,6 +75,7 @@
        $this->OPTIONS['CACHE_LIFETIME'] = $int;
        return true;
    }
    /**
     * FUNCTION: setCacheExtension
@@ -91,6 +95,7 @@
/*----------------------------------------\
          Private Functions
-----------------------------------------*/
    /**
     * FUNCTION: _checkCache
@@ -132,6 +137,7 @@
        return $this->OPTIONS['CACHE_DIRECTORY'].'/'.md5('vlibCachestaR'.realpath($tmplfile)).'.'.$this->OPTIONS['CACHE_EXTENSION'];
    }
    /**
     * FUNCTION: _createCache
     * creates the cached file
@@ -151,6 +157,7 @@
        return true;
    }
    /**
     * FUNCTION: _prepareDirs
     * prepares the directory structure
interface/lib/classes/tpl_error.inc.php
@@ -25,6 +25,7 @@
 * @access private
 */
class vlibTemplateError {
/*-----------------------------------------------------------------------------\
@@ -88,5 +89,7 @@
        }
        return;
    }
}
?>
interface/lib/classes/tpl_ini.inc.php
@@ -10,6 +10,7 @@
     * @access private
     */
/* vim: set expandtab tabstop=4 shiftwidth=4: */
// +----------------------------------------------------------------------+
// | PHP version 4.0                                                      |
interface/lib/classes/tree.inc.php
interface/lib/classes/validate_autoresponder.inc.php
@@ -27,17 +27,17 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
include_once('validate_datetime.inc.php');
include_once 'validate_datetime.inc.php';
class validate_autoresponder extends validate_datetime 
{
    function start_date($field_name, $field_value, $validator)
    {
        # save field value for later use in end_date()
        // save field value for later use in end_date()
        $this->start_date = $field_value;
        
        if ($this->_datetime_selected($field_value)) {
            # We just require a start date be set
            // We just require a start date be set
            return;
        }
        if($_POST['autoresponder'] == 'y') {
@@ -64,4 +64,5 @@
            return $_msg;
        }
    }
}
interface/lib/classes/validate_client.inc.php
interface/lib/classes/validate_cron.inc.php
interface/lib/classes/validate_database.inc.php
@@ -47,7 +47,7 @@
            if(preg_match("/^[0-9]{1,3}(\.)[0-9]{1,3}(\.)[0-9]{1,3}(\.)[0-9]{1,3}$/", $cur_value)) {
                $groups = explode(".", $cur_value);
                foreach($groups as $group){
                  if($group<0 OR $group>255)
                        if($group<0 or $group>255)
                  $valid=false;
                }
            } else {
interface/lib/classes/validate_datetime.inc.php
@@ -36,16 +36,22 @@
     * @param array $field_value
     * @return bool
     */
    function _datetime_selected($field_value)
    {
        if (is_array($field_value) && count($field_value) >= 5) 
        {
            $result = array_filter($field_value, create_function('$dt_unit', 'return ($dt_unit > 0);'));
            return (count($result) !== 0);
            return count($result) !== 0;
        }
        
        return false;
    }
    
    /**
     * Check wordbook for the existence of an
@@ -65,6 +71,10 @@
        return $errmsg;
    }
    
    /**
     * Helper function - filter the contents of the 
     * selectors and return the resulting unix timestamp.
@@ -81,6 +91,10 @@
        
        return mktime($hour, $minute, $second, $month, $day, $year);
    }
    
    /**
     * The minimum requirement to submit a datetime field
@@ -101,6 +115,10 @@
        }
    }
    
    /**
     * Check that the selected datetime is in the future.
     * 
@@ -115,6 +133,10 @@
        return $this->is_greater($field_name, $field_value, $validator);
    }
    
    /**
     * Compare the selected datetime to a timestamp
     * parsed via the validator array (key: compare).
interface/lib/classes/validate_dns.inc.php
interface/lib/classes/validate_domain.inc.php
@@ -290,4 +290,5 @@
        }
        return true; // admin may always add wildcard domain
    }
}
interface/lib/classes/validate_ftpuser.inc.php
interface/lib/classes/validate_reseller.inc.php
interface/lib/config.inc.php
@@ -31,9 +31,9 @@
//** Web-only
if( !empty($_SERVER['DOCUMENT_ROOT']) ) {
    Header("Pragma: no-cache");
    Header("Cache-Control: no-store, no-cache, max-age=0, must-revalidate");
    Header("Content-Type: text/html; charset=utf-8");
    header("Pragma: no-cache");
    header("Cache-Control: no-store, no-cache, max-age=0, must-revalidate");
    header("Content-Type: text/html; charset=utf-8");
    ini_set('register_globals',0);
}
interface/lib/plugins/clients_template_plugin.inc.php
@@ -7,6 +7,7 @@
 * @author (original tools.inc.php) Oliver Vogel www.muv.com
 */
 
class clients_template_plugin {
    var $plugin_name        = 'clients_template_plugin';
@@ -31,4 +32,5 @@
        $app->uses('client_templates');
        $app->client_templates->apply_client_templates($page_form->id);
    }
}
interface/lib/plugins/mail_user_filter_plugin.inc.php
interface/lib/plugins/sites_web_database_user_plugin.inc.php
@@ -5,6 +5,7 @@
 * @author Marius Cramer <m.cramer@pixcept.de> pixcept KG 2012
 */
 
class sites_web_database_user_plugin {
    var $plugin_name        = 'sites_web_database_user_plugin';
@@ -38,4 +39,5 @@
        }
        //$app->db->query("UPDATE web_database_user SET server_id = '" . $app->functions->intval($conf['server_id']) . "' WHERE database_user_id = ".$page_form->id);
    }
}                  
interface/lib/plugins/sites_web_domain_plugin.inc.php
@@ -5,6 +5,7 @@
 * @author Julio Montoya <gugli100@gmail.com> BeezNest 2010
 */
 
class sites_web_domain_plugin {
    var $plugin_name        = 'sites_web_domain_plugin';
@@ -89,4 +90,5 @@
        $sql = "UPDATE web_domain SET system_user = '$system_user', system_group = '$system_group', document_root = '$document_root', allow_override = '$htaccess_allow_override', php_open_basedir = '$php_open_basedir'  WHERE domain_id = ".$page_form->id;
        $app->db->query($sql);
    }
}                  
interface/lib/plugins/sites_web_vhost_subdomain_plugin.inc.php
@@ -6,6 +6,7 @@
 * @author Julio Montoya <gugli100@gmail.com> BeezNest 2010
 */
 
class sites_web_vhost_subdomain_plugin {
    var $plugin_name        = 'sites_web_vhost_subdomain_plugin';
@@ -63,4 +64,5 @@
        $sql = "UPDATE web_domain SET sys_groupid = ".$app->functions->intval($parent_domain['sys_groupid']).",system_user = '$system_user', system_group = '$system_group', document_root = '$document_root', allow_override = '$htaccess_allow_override', php_open_basedir = '$php_open_basedir'  WHERE domain_id = ".$page_form->id;
        $app->db->query($sql);
    }
}                  
interface/lib/plugins/vm_openvz_plugin.inc.php
@@ -5,6 +5,7 @@
 * @author Till Brehm, projektfarm GmbH
 */
 
class vm_openvz_plugin {
    var $plugin_name        = 'vm_openvz_plugin';
interface/web/admin/directive_snippets_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('admin');
interface/web/admin/directive_snippets_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('admin');
interface/web/admin/directive_snippets_list.php
@@ -28,8 +28,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/admin/firewall_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('admin');
interface/web/admin/firewall_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('admin');
@@ -64,6 +64,7 @@
            unset($rec);
        }
    }
}
$page = new page_action;
interface/web/admin/firewall_list.php
@@ -28,8 +28,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/admin/form/dbsync.tform.php
@@ -80,7 +80,7 @@
    $handle = @opendir(ISPC_WEB_PATH."/$md/form"); 
    while ($file = @readdir ($handle)) { 
        if ($file != '.' && $file != '..' && substr($file, 0, 1) != '.') {
            include_once(ISPC_WEB_PATH."/$md/form/$file");
            include_once ISPC_WEB_PATH."/$md/form/$file";
            if(isset($form['db_history']) && $form['db_history'] == 'yes') {
                $tmp_id = $form['db_table'];
                $db_tables[$tmp_id] = $form['db_table'];
@@ -109,9 +109,9 @@
    'width'     => 80,
    'template'  => 'templates/dbsync_edit.htm',
    'fields'    => array (
    ##################################
    # Beginn Datenbankfelder
    ##################################
        //#################################
        // Beginn Datenbankfelder
        //#################################
        'jobname' => array (
            'datatype'  => 'VARCHAR',
            'formtype'  => 'TEXT',
@@ -255,9 +255,9 @@
            'rows'      => '',
            'cols'      => ''
        )
    ##################################
    # ENDE Datenbankfelder
    ##################################
        //#################################
        // ENDE Datenbankfelder
        //#################################
    )
);
interface/web/admin/form/directive_snippets.tform.php
@@ -60,9 +60,9 @@
    'width'     => 100,
    'template'     => "templates/directive_snippets_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'name' => array (
            'datatype'    => 'VARCHAR',
            'formtype'    => 'TEXT',
@@ -99,9 +99,9 @@
            'default'    => 'y',
            'value'        => array(0 => 'n',1 => 'y')
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
interface/web/admin/form/filesync.tform.php
@@ -76,9 +76,9 @@
    'width'     => 80,
    'template'     => "templates/filesync_edit.htm",
    'fields'     => array (
    ##################################
    # Beginn Datenbankfelder
    ##################################
        //#################################
        // Beginn Datenbankfelder
        //#################################
        'jobname' => array (
            'datatype'    => 'VARCHAR',
            'formtype'    => 'TEXT',
@@ -196,9 +196,9 @@
            'rows'        => '',
            'cols'        => ''
        )
    ##################################
    # ENDE Datenbankfelder
    ##################################
        //#################################
        // ENDE Datenbankfelder
        //#################################
    )
);
interface/web/admin/form/firewall.tform.php
@@ -55,9 +55,9 @@
    'width'     => 100,
    'template'     => "templates/firewall_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'server_id' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'SELECT',
@@ -102,9 +102,9 @@
            'default'    => 'y',
            'value'        => array(0 => 'n',1 => 'y')
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
interface/web/admin/form/groups.tform.php
@@ -75,9 +75,9 @@
    'width'     => 80,
    'template'     => "templates/groups_edit.htm",
    'fields'     => array (
    ##################################
    # Beginn Datenbankfelder
    ##################################
        //#################################
        // Beginn Datenbankfelder
        //#################################
        'name' => array (
            'datatype'    => 'VARCHAR',
            'formtype'    => 'TEXT',
@@ -104,9 +104,9 @@
            'rows'        => '5',
            'cols'        => '30'
        )
    ##################################
    # ENDE Datenbankfelder
    ##################################
        //#################################
        // ENDE Datenbankfelder
        //#################################
    )
);
?>
interface/web/admin/form/iptables.tform.php
interface/web/admin/form/remote_user.tform.php
@@ -40,7 +40,7 @@
if(is_array($modules)) {
    foreach($modules as $mt) {
        if(is_file(ISPC_WEB_PATH.'/'.$mt.'/lib/remote.conf.php')) {
            include(ISPC_WEB_PATH."/$mt/lib/remote.conf.php");
            include ISPC_WEB_PATH."/$mt/lib/remote.conf.php";
        }
    }
}
@@ -67,9 +67,9 @@
    'width'     => 100,
    'template'     => "templates/remote_user_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'remote_userid' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'SELECT',
@@ -121,9 +121,9 @@
            'cols'        => '30'
        )
        
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
interface/web/admin/form/server.tform.php
@@ -55,9 +55,9 @@
    'width'     => 100,
    'template'     => "templates/server_edit_services.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'server_name' => array (
            'datatype'    => 'VARCHAR',
            'formtype'    => 'TEXT',
@@ -122,9 +122,9 @@
            'default'    => '1',
            'value'        => array(0 => 'No', 1 => 'Yes')
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
interface/web/admin/form/server_config.tform.php
@@ -55,9 +55,9 @@
    'width' => 70,
    'template' => "templates/server_config_server_edit.htm",
    'fields' => array(
        ##################################
        # Begin Datatable fields
        ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'auto_network_configuration' => array(
            'datatype' => 'VARCHAR',
            'formtype' => 'CHECKBOX',
@@ -235,9 +235,9 @@
            'width' => '40',
            'maxlength' => '255'
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
@@ -246,9 +246,9 @@
    'width' => 60,
    'template' => "templates/server_config_mail_edit.htm",
    'fields' => array(
        ##################################
        # Begin Datatable fields
        ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'module' => array(
            'datatype' => 'VARCHAR',
            'formtype' => 'SELECT',
@@ -417,9 +417,9 @@
            'default' => 'n',
            'value' => array(0 => 'n', 1 => 'y')
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
@@ -428,9 +428,9 @@
    'width' => 80,
    'template' => "templates/server_config_getmail_edit.htm",
    'fields' => array(
        ##################################
        # Begin Datatable fields
        ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'getmail_config_dir' => array(
            'datatype' => 'VARCHAR',
            'formtype' => 'TEXT',
@@ -442,9 +442,9 @@
            'width' => '40',
            'maxlength' => '255'
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
@@ -453,9 +453,9 @@
    'width' => 60,
    'template' => "templates/server_config_web_edit.htm",
    'fields' => array(
        ##################################
        # Begin Datatable fields
        ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'server_type' => array(
            'datatype' => 'VARCHAR',
            'formtype' => 'SELECT',
@@ -890,9 +890,9 @@
            'width' => '40',
            'maxlength' => '255'
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
@@ -901,9 +901,9 @@
    'width' => 60,
    'template' => "templates/server_config_dns_edit.htm",
    'fields' => array(
        ##################################
        # Begin Datatable fields
        ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'bind_user' => array(
            'datatype' => 'VARCHAR',
            'formtype' => 'TEXT',
@@ -959,9 +959,9 @@
            'width' => '40',
            'maxlength' => '255'
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
@@ -970,9 +970,9 @@
    'width' => 80,
    'template' => "templates/server_config_fastcgi_edit.htm",
    'fields' => array(
        ##################################
        # Begin Datatable fields
        ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'fastcgi_starter_path' => array(
            'datatype' => 'VARCHAR',
            'formtype' => 'TEXT',
@@ -1061,9 +1061,9 @@
            'width' => '40',
            'maxlength' => '255'
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
@@ -1073,9 +1073,9 @@
    'width' => 80,
    'template' => "templates/server_config_jailkit_edit.htm",
    'fields' => array(
        ##################################
        # Begin Datatable fields
        ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'jailkit_chroot_home' => array(
            'datatype' => 'VARCHAR',
            'formtype' => 'TEXT',
@@ -1120,9 +1120,9 @@
            'width' => '40',
            'maxlength' => '1000'
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
@@ -1195,9 +1195,9 @@
    'width' => 80,
    'template' => "templates/server_config_vlogger_edit.htm",
    'fields' => array(
        ##################################
        # Begin Datatable fields
        ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'config_dir' => array(
            'datatype' => 'VARCHAR',
            'formtype' => 'TEXT',
@@ -1209,9 +1209,9 @@
            'width' => '40',
            'maxlength' => '255'
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
@@ -1222,9 +1222,9 @@
    'width' => 80,
    'template' => "templates/server_config_cron_edit.htm",
    'fields' => array(
        ##################################
        # Begin Datatable fields
        ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'init_script' => array(
            'datatype' => 'VARCHAR',
            'formtype' => 'TEXT',
@@ -1258,9 +1258,9 @@
            'width' => '40',
            'maxlength' => '255'
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
@@ -1269,9 +1269,9 @@
    'width' => 80,
    'template' => "templates/server_config_rescue_edit.htm",
    'fields' => array(
        ##################################
        # Begin Datatable fields
        ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'try_rescue' => array(
            'datatype' => 'VARCHAR',
            'formtype' => 'CHECKBOX',
@@ -1296,9 +1296,9 @@
            'default' => 'n',
            'value' => array(0 => 'n', 1 => 'y')
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
?>
interface/web/admin/form/server_ip.tform.php
@@ -86,9 +86,9 @@
    'width'     => 80,
    'template'     => "templates/server_ip_edit.htm",
    'fields'     => array (
    ##################################
    # Beginn Datenbankfelder
    ##################################
        //#################################
        // Beginn Datenbankfelder
        //#################################
        'server_id' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'SELECT',
@@ -156,9 +156,9 @@
            'rows'        => '',
            'cols'        => ''
        ),
    ##################################
    # ENDE Datenbankfelder
    ##################################
        //#################################
        // ENDE Datenbankfelder
        //#################################
    )
);
?>
interface/web/admin/form/server_php.tform.php
@@ -81,9 +81,9 @@
    'width'     => 80,
    'template'     => "templates/server_php_name_edit.htm",
    'fields'     => array (
    ##################################
    # Beginn Datenbankfelder
    ##################################
        //#################################
        // Beginn Datenbankfelder
        //#################################
        'server_id' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'SELECT',
@@ -118,9 +118,9 @@
            'width'        => '40',
            'maxlength'    => '255'
        ),
    ##################################
    # ENDE Datenbankfelder
    ##################################
        //#################################
        // ENDE Datenbankfelder
        //#################################
    )
);
@@ -129,9 +129,9 @@
    'width' => 80,
    'template' => "templates/server_php_fastcgi_edit.htm",
    'fields' => array(
        ##################################
        # Begin Datatable fields
        ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'php_fastcgi_binary' => array(
            'datatype' => 'VARCHAR',
            'formtype' => 'TEXT',
@@ -148,9 +148,9 @@
            'width' => '40',
            'maxlength' => '255'
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
@@ -159,9 +159,9 @@
    'width' => 80,
    'template' => "templates/server_php_fpm_edit.htm",
    'fields' => array(
        ##################################
        # Begin Datatable fields
        ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'php_fpm_init_script' => array(
            'datatype' => 'VARCHAR',
            'formtype' => 'TEXT',
@@ -186,9 +186,9 @@
            'width' => '40',
            'maxlength' => '255'
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
?>
interface/web/admin/form/software_package.tform.php
@@ -81,9 +81,9 @@
    'width'     => 80,
    'template'     => "templates/software_package_edit.htm",
    'fields'     => array (
    ##################################
    # Beginn Datenbankfelder
    ##################################
        //#################################
        // Beginn Datenbankfelder
        //#################################
        'package_title' => array (
            'datatype'    => 'VARCHAR',
            'formtype'    => 'TEXT',
@@ -108,9 +108,9 @@
            'rows'        => '',
            'cols'        => ''
        ),
    ##################################
    # ENDE Datenbankfelder
    ##################################
        //#################################
        // ENDE Datenbankfelder
        //#################################
    )
);
?>
interface/web/admin/form/software_repo.tform.php
@@ -81,9 +81,9 @@
    'width'     => 80,
    'template'     => "templates/software_repo_edit.htm",
    'fields'     => array (
    ##################################
    # Beginn Datenbankfelder
    ##################################
        //#################################
        // Beginn Datenbankfelder
        //#################################
        'repo_name' => array (
            'datatype'    => 'VARCHAR',
            'formtype'    => 'TEXT',
@@ -145,9 +145,9 @@
            'default'    => 'y',
            'value'        => array(0 => 'n',1 => 'y')
        ),
    ##################################
    # ENDE Datenbankfelder
    ##################################
        //#################################
        // ENDE Datenbankfelder
        //#################################
    )
);
?>
interface/web/admin/form/system_config.tform.php
@@ -55,9 +55,9 @@
    'width'     => 70,
    'template'     => "templates/system_config_sites_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'dbname_prefix' => array (
            'datatype'    => 'VARCHAR',
            'formtype'    => 'TEXT',
@@ -160,9 +160,9 @@
            'default'    => 'n',
            'value'        => array(0 => 'n',1 => 'y')
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
@@ -171,9 +171,9 @@
    'width'     => 70,
    'template'     => "templates/system_config_mail_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
    'enable_custom_login' => array(
      'datatype' => 'VARCHAR',
      'formtype' => 'CHECKBOX',
@@ -291,9 +291,9 @@
            'default'    => 'n',
            'value'        => array(0 => 'n',1 => 'y')
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
@@ -302,9 +302,9 @@
    'width'     => 70,
    'template'     => "templates/system_config_domains_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'use_domain_module' => array (
            'datatype'    => 'VARCHAR',
            'formtype'    => 'CHECKBOX',
@@ -317,9 +317,9 @@
            'default'    => '',
            'value'        => ''
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
@@ -352,9 +352,9 @@
    'width'     => 70,
    'template'     => "templates/system_config_misc_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'dashboard_atom_url_admin' => array (
            'datatype'    => 'VARCHAR',
            'formtype'    => 'TEXT',
@@ -445,9 +445,9 @@
            'default'    => '',
            'value'        => ''
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
interface/web/admin/form/tpl_default.tform.php
@@ -81,9 +81,9 @@
    'width'     => 80,
    'template'     => "templates/tpl_default_basic.htm",
    'fields'     => array (
    ##################################
    # Beginn Datenbankfelder
    ##################################
        //#################################
        // Beginn Datenbankfelder
        //#################################
        'username' => array (
            'datatype'    => 'VARCHAR',
            'formtype'    => 'TEXT',
@@ -104,9 +104,9 @@
            'width'        => '40',
            'maxlength'    => '255'
        ),
    ##################################
    # ENDE Datenbankfelder
    ##################################
        //#################################
        // ENDE Datenbankfelder
        //#################################
    )
);
interface/web/admin/form/users.tform.php
@@ -133,9 +133,9 @@
    'width'     => 80,
    'template'     => 'templates/users_user_edit.htm',
    'fields'     => array (
    ##################################
    # Beginn Datenbankfelder
    ##################################
        //#################################
        // Beginn Datenbankfelder
        //#################################
        'username' => array (
            'datatype'    => 'VARCHAR',
            'formtype'    => 'TEXT',
@@ -253,9 +253,9 @@
            'rows'        => '',
            'cols'        => ''
        )
    ##################################
    # ENDE Datenbankfelder
    ##################################
        //#################################
        // ENDE Datenbankfelder
        //#################################
    )
);
/*
@@ -423,9 +423,9 @@
    'width'     => 80,
    'template'     => 'templates/users_groups_edit.htm',
    'fields'     => array (
    ##################################
    # Beginn Datenbankfelder
    ##################################
        //#################################
        // Beginn Datenbankfelder
        //#################################
        'default_group' => array (
            'datatype'    => 'VARCHAR',
            'formtype'    => 'SELECT',
@@ -453,9 +453,9 @@
            'cols'        => ''
        )
    ##################################
    # ENDE Datenbankfelder
    ##################################
        //#################################
        // ENDE Datenbankfelder
        //#################################
    )
);
interface/web/admin/groups_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('admin');
interface/web/admin/groups_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('admin');
interface/web/admin/groups_list.php
@@ -28,8 +28,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/admin/index.php
@@ -73,6 +73,7 @@
        return 'dd';
        */
    }
}
?>
interface/web/admin/iptables_del.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('admin');
interface/web/admin/iptables_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('admin');
interface/web/admin/iptables_list.php
@@ -27,8 +27,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/admin/language_add.php
@@ -27,8 +27,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('admin');
@@ -95,7 +95,7 @@
//* load language file 
$lng_file = 'lib/lang/'.$_SESSION['s']['language'].'_language_add.lng';
include($lng_file);
include $lng_file;
$app->tpl->setVar($wb);
$app->tpl_defaults();
interface/web/admin/language_complete.php
@@ -27,8 +27,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('admin');
@@ -107,7 +107,7 @@
    if(is_file($langfile)) {
    
        // Load the english language file
        include($masterfile);
        include $masterfile;
        if(isset($wb) && is_array($wb)) {
            $wb_master = $wb;
            unset($wb);
@@ -117,7 +117,7 @@
    
        // Load the incomplete language file
        $wb = array();
        include($langfile);
        include $langfile;
    
        $n = 0;
        foreach($wb_master as $key => $val) {
@@ -158,7 +158,7 @@
//* load language file 
$lng_file = 'lib/lang/'.$_SESSION['s']['language'].'_language_complete.lng';
include($lng_file);
include $lng_file;
$app->tpl->setVar($wb);
$app->tpl_defaults();
interface/web/admin/language_edit.php
@@ -27,8 +27,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('admin');
@@ -74,10 +74,10 @@
$app->tpl->setVar(array('module' => $module,'lang_file' => $lang_file, 'lang' => $lang, 'msg' => $msg));
if($module == 'global') {
    include(ISPC_LIB_PATH."/lang/$lang_file");
    include ISPC_LIB_PATH."/lang/$lang_file";
    $file_path = ISPC_LIB_PATH."/lang/$lang_file";
} else {
    include(ISPC_WEB_PATH."/$module/lib/lang/$lang_file");
    include ISPC_WEB_PATH."/$module/lib/lang/$lang_file";
    $file_path = ISPC_WEB_PATH."/$module/lib/lang/$lang_file";
}
$app->tpl->setVar("file_path", $file_path);
@@ -95,7 +95,7 @@
//* load language file 
$lng_file = 'lib/lang/'.$_SESSION['s']['language'].'_language_edit.lng';
include($lng_file);
include $lng_file;
$app->tpl->setVar($wb);
$app->tpl_defaults();
interface/web/admin/language_export.php
@@ -27,8 +27,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('admin');
@@ -111,7 +111,7 @@
//* load language file 
$lng_file = 'lib/lang/'.$_SESSION['s']['language'].'_language_export.lng';
include($lng_file);
include $lng_file;
$app->tpl->setVar($wb);
$app->tpl_defaults();
interface/web/admin/language_import.php
@@ -27,8 +27,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
function normalize_string($string, $quote, $allow_special = false) {
    $escaped = false;
@@ -184,7 +184,7 @@
//* load language file 
$lng_file = 'lib/lang/'.$_SESSION['s']['language'].'_language_import.lng';
include($lng_file);
include $lng_file;
$app->tpl->setVar($wb);
$app->tpl_defaults();
interface/web/admin/language_list.php
@@ -27,8 +27,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('admin');
@@ -98,7 +98,7 @@
//* load language file 
$lng_file = 'lib/lang/'.$_SESSION['s']['language'].'_language_list.lng';
include($lng_file);
include $lng_file;
$app->tpl->setVar($wb);
$app->tpl_defaults();
interface/web/admin/lib/module.conf.php
@@ -171,7 +171,7 @@
    foreach($modules as $mt) {
        if(is_file($mt.'/lib/admin.conf.php')) {
            $options = array();
            include_once(ISPC_WEB_PATH."/$mt/lib/admin.conf.php");
            include_once ISPC_WEB_PATH."/$mt/lib/admin.conf.php";
            if(is_array($options)) {
                foreach($options as $opt) {
                    $module['nav'][] = $opt;
interface/web/admin/lib/remote.conf.php
interface/web/admin/list/directive_snippets.list.php
interface/web/admin/list/firewall.list.php
interface/web/admin/list/groups.list.php
interface/web/admin/list/iptables.list.php
interface/web/admin/list/remote_user.list.php
@@ -62,4 +62,3 @@
        );
?>
interface/web/admin/list/server.list.php
interface/web/admin/list/server_config.list.php
interface/web/admin/list/server_ip.list.php
interface/web/admin/list/server_php.list.php
interface/web/admin/list/software_repo.list.php
interface/web/admin/list/users.list.php
interface/web/admin/login_as.php
@@ -28,8 +28,8 @@
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/* Check permissions for module */
$app->auth->check_module_permissions('admin');
@@ -69,7 +69,7 @@
 */
 
 $lng_file = 'lib/lang/'.$_SESSION['s']['language'].'_login_as.lng';
include($lng_file);
include $lng_file;
 
echo '
    <br /> <br />    <br /> <br />
interface/web/admin/remote_action_ispcupdate.php
@@ -29,8 +29,8 @@
//die('Function has been removed.');
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('admin');
@@ -45,7 +45,7 @@
//* load language file
$lng_file = 'lib/lang/'.$_SESSION['s']['language'].'_remote_action.lng';
include($lng_file);
include $lng_file;
/*
 * We need a list of all Servers
interface/web/admin/remote_action_osupdate.php
@@ -27,8 +27,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('admin');
@@ -43,7 +43,7 @@
//* load language file
$lng_file = 'lib/lang/'.$_SESSION['s']['language'].'_remote_action.lng';
include($lng_file);
include $lng_file;
/*
 * We need a list of all Servers
interface/web/admin/remote_user_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('admin');
@@ -56,6 +56,7 @@
    // Customisations for the page actions will be defined here
       
}
$page = new page_action;
$page->onDelete();
interface/web/admin/remote_user_edit.php
@@ -4,8 +4,8 @@
$tform_def_file = 'form/remote_user.tform.php';
// include the core configuration and application classes
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
// Check the  module permissions and redirect if not allowed.
if(!stristr($_SESSION['s']['user']['modules'],'admin')) {
interface/web/admin/remote_user_list.php
@@ -1,7 +1,7 @@
<?php
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
// Path to the list definition file
$list_def_file = 'list/remote_user.list.php';
interface/web/admin/server_config_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('admin');
interface/web/admin/server_config_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('admin');
interface/web/admin/server_config_list.php
@@ -28,8 +28,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/admin/server_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('admin');
interface/web/admin/server_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('admin');
interface/web/admin/server_ip_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('admin');
interface/web/admin/server_ip_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('admin');
@@ -65,6 +65,7 @@
            unset($rec);
        }
    }
}
$page = new page_action;
interface/web/admin/server_ip_list.php
@@ -28,8 +28,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/admin/server_list.php
@@ -28,8 +28,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/admin/server_php_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('admin');
interface/web/admin/server_php_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('admin');
@@ -65,6 +65,7 @@
            unset($rec);
        }
    }
}
$page = new page_action;
interface/web/admin/server_php_list.php
@@ -28,8 +28,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/admin/software_package_del.php
@@ -28,8 +28,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('admin');
interface/web/admin/software_package_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('admin');
interface/web/admin/software_package_install.php
@@ -28,8 +28,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('admin');
@@ -157,7 +157,7 @@
$app->tpl->setVar('server_id',$install_server_id);
include_once('lib/lang/en_software_package_install.lng');
include_once 'lib/lang/en_software_package_install.lng';
$app->tpl->setVar($wb);
interface/web/admin/software_package_list.php
@@ -28,8 +28,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('admin');
@@ -182,7 +182,7 @@
$app->tpl->setLoop('records',$packages);
$language = (isset($_SESSION['s']['language']))?$_SESSION['s']['language']:$conf['language'];
include_once('lib/lang/'.$language.'_software_package_list.lng');
include_once 'lib/lang/'.$language.'_software_package_list.lng';
$app->tpl->setVar($wb);
interface/web/admin/software_repo_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('admin');
interface/web/admin/software_repo_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('admin');
interface/web/admin/software_repo_list.php
@@ -28,8 +28,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/admin/software_update_list.php
@@ -28,8 +28,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('admin');
@@ -212,7 +212,7 @@
$app->tpl->setLoop('records',$records_out);
$language = (isset($_SESSION['s']['language']))?$_SESSION['s']['language']:$conf['language'];
include_once('lib/lang/'.$language.'_software_update_list.lng');
include_once 'lib/lang/'.$language.'_software_update_list.lng';
$app->tpl->setVar($wb);
interface/web/admin/system_config_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('admin');
interface/web/admin/tpl_default.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('admin');
interface/web/admin/users_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('admin');
interface/web/admin/users_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('admin');
interface/web/admin/users_list.php
@@ -28,8 +28,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/capp.php
@@ -28,8 +28,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../lib/config.inc.php');
require_once('../lib/app.inc.php');
require_once '../lib/config.inc.php';
require_once '../lib/app.inc.php';
//* Import module variable
$mod = $_REQUEST["mod"];
@@ -51,7 +51,7 @@
//* Load module configuration into the session.
if(is_file($mod."/lib/module.conf.php")) {
    include_once($mod."/lib/module.conf.php");
    include_once $mod."/lib/module.conf.php";
    
    $menu_dir = ISPC_WEB_PATH.'/' . $mod . '/lib/menu.d';
@@ -60,7 +60,7 @@
            //** Go through all files in the menu dir
            while (($file = readdir($dh)) !== false) {
                if ($file != '.' && $file != '..' && substr($file, -9, 9) == '.menu.php' && $file != 'dns_resync.menu.php') {
                    include_once($menu_dir . '/' . $file);
                    include_once $menu_dir . '/' . $file;
                }
            }
        }
interface/web/client/client_circle_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('client');
interface/web/client/client_circle_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('client');
interface/web/client/client_circle_list.php
@@ -1,6 +1,6 @@
<?php
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/client/client_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('client');
@@ -65,7 +65,7 @@
        $app->tpl->newTemplate("form.tpl.htm");
        $app->tpl->setInclude('content_tpl', 'templates/client_del.htm');
        
        include_once($list_def_file);
            include_once $list_def_file;
        
        // Load table definition from file
        $app->tform->loadFormDef($tform_def_file);
@@ -102,7 +102,7 @@
        
        //* load language file 
        $lng_file = 'lib/lang/'.$_SESSION['s']['language'].'_client_del.lng';
        include($lng_file);
            include $lng_file;
        $app->tpl->setVar($wb);
        
        $app->tpl_defaults();
@@ -171,6 +171,7 @@
        }
        
    }
}
$page = new page_action;
interface/web/client/client_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('client');
@@ -274,6 +274,7 @@
        if(isset($conf['demo_mode']) && $conf['demo_mode'] != true && $this->dataRecord["locked"] != $this->oldDataRecord['locked']) {
            /** lock all the things like web, mail etc. - easy to extend */
            
            // get tmp_data of client
            $client_data = $app->db->queryOneRecord('SELECT `tmp_data` FROM `client` WHERE `client_id` = ' . $this->id);
            
@@ -388,6 +389,7 @@
        
        parent::onAfterUpdate();
    }
}
$page = new page_action;
interface/web/client/client_list.php
@@ -1,6 +1,6 @@
<?php
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/client/client_message.php
@@ -27,8 +27,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('client');
@@ -43,7 +43,7 @@
//* load language file 
$lng_file = 'lib/lang/'.$_SESSION['s']['language'].'_client_message.lng';
include($lng_file);
include $lng_file;
$app->tpl->setVar($wb);
$msg = '';
interface/web/client/client_template_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('client');
@@ -66,6 +66,7 @@
        }
        
    }
}
$page = new page_action;
interface/web/client/client_template_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('client');
@@ -90,6 +90,7 @@
            }
        }
    }
}
$page = new page_action;
interface/web/client/client_template_list.php
@@ -26,8 +26,8 @@
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/client/domain_del.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('client');
@@ -55,7 +55,7 @@
        
        //* load language file
        $lng_file = 'lib/lang/'.$_SESSION['s']['language'].'.lng';
        include($lng_file);
        include $lng_file;
        
        /*
         * We can only delete domains if they are NOT in use
@@ -74,6 +74,7 @@
            $app->error($wb['error_domain_in webuse']);
        }
    }
}
$page = new page_action;
interface/web/client/domain_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('client');
@@ -50,7 +50,7 @@
//* load language file
$lng_file = 'lib/lang/'.$_SESSION['s']['language'].'.lng';
include($lng_file);
include $lng_file;
class page_action extends tform_actions {
@@ -146,6 +146,7 @@
            $app->db->query("UPDATE domain SET sys_groupid = $client_group_id, sys_perm_group = 'ru' WHERE domain_id = ".$this->id);
        }
    }
}
$page = new page_action;
interface/web/client/domain_list.php
@@ -27,8 +27,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/client/domain_new_client.php
@@ -27,8 +27,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('client');
interface/web/client/form/client.tform.php
@@ -85,9 +85,9 @@
    'width'     => 100,
    'template'     => "templates/client_edit_address.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'company_name' => array (
            'datatype'    => 'VARCHAR',
            'formtype'    => 'TEXT',
@@ -472,9 +472,9 @@
            'default'    => 'n',
            'value'        => array(0 => 'n',1 => 'y')
        ),
    ##################################
    # END Datatable fields
    ##################################
        //#################################
        // END Datatable fields
        //#################################
    )
);
@@ -483,9 +483,9 @@
    'width'     => 80,
    'template'     => "templates/client_edit_limits.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'template_master' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'SELECT',
@@ -1082,9 +1082,9 @@
            'rows'        => '',
            'cols'        => ''
        ),
    ##################################
    # END Datatable fields
    ##################################
        //#################################
        // END Datatable fields
        //#################################
    )
);
interface/web/client/form/client_circle.tform.php
@@ -85,9 +85,9 @@
    'width'     => 100,
    'template'     => "templates/client_circle_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'circle_name' => array (
            'datatype'    => 'VARCHAR',
            'formtype'    => 'TEXT',
@@ -129,9 +129,9 @@
            'default'    => 'y',
            'value'        => array(0 => 'n',1 => 'y')
        ),
    ##################################
    # END Datatable fields
    ##################################
        //#################################
        // END Datatable fields
        //#################################
    )
);
interface/web/client/form/client_template.tform.php
@@ -67,9 +67,9 @@
    'width'     => 80,
    'template'     => "templates/client_template_edit_template.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'template_type' => array (
            'datatype'    => 'VARCHAR',
            'formtype'    => 'SELECT',
@@ -87,9 +87,9 @@
            'width'        => '30',
            'maxlength'    => '255'
        ),
    ##################################
    # END Datatable fields
    ##################################
        //#################################
        // END Datatable fields
        //#################################
    )
);
@@ -98,9 +98,9 @@
    'width'     => 80,
    'template'     => "templates/client_template_edit_limits.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'limit_maildomain' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'TEXT',
@@ -630,9 +630,9 @@
            'rows'        => '',
            'cols'        => ''
        ),
    ##################################
    # END Datatable fields
    ##################################
        //#################################
        // END Datatable fields
        //#################################
    )
);
interface/web/client/form/domain.tform.php
@@ -82,9 +82,9 @@
    'width'     => 100,
    'template'     => "templates/domain_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'domain' => array (
            'datatype'    => 'VARCHAR',
            'formtype'    => 'TEXT',
@@ -108,9 +108,9 @@
            'width'        => '30',
            'maxlength'    => '255'
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
interface/web/client/form/reseller.tform.php
@@ -85,9 +85,9 @@
    'width'     => 100,
    'template'     => "templates/reseller_edit_address.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'company_name' => array (
            'datatype'    => 'VARCHAR',
            'formtype'    => 'TEXT',
@@ -469,9 +469,9 @@
            'default'    => 'n',
            'value'        => array(0 => 'n',1 => 'y')
        ),
    ##################################
    # END Datatable fields
    ##################################
        //#################################
        // END Datatable fields
        //#################################
    )
);
@@ -480,9 +480,9 @@
    'width'     => 80,
    'template'     => "templates/reseller_edit_limits.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'template_master' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'SELECT',
@@ -1080,9 +1080,9 @@
            'rows'        => '',
            'cols'        => ''
        ),
    ##################################
    # END Datatable fields
    ##################################
        //#################################
        // END Datatable fields
        //#################################
    )
);
interface/web/client/lib/admin.conf.php
interface/web/client/lib/module.conf.php
interface/web/client/list/client.list.php
interface/web/client/list/client_circle.list.php
interface/web/client/list/client_template.list.php
interface/web/client/list/domain.list.php
interface/web/client/list/reseller.list.php
interface/web/client/reseller_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('client');
@@ -86,6 +86,7 @@
        }
        
    }
}
$page = new page_action;
interface/web/client/reseller_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('client');
@@ -256,6 +256,7 @@
        parent::onAfterUpdate();
    }
}
$page = new page_action;
interface/web/client/reseller_list.php
@@ -27,8 +27,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/content.php
@@ -28,8 +28,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../lib/config.inc.php');
require_once('../lib/app.inc.php');
require_once '../lib/config.inc.php';
require_once '../lib/app.inc.php';
/*
$module = $_REQUEST["s_mod"];
@@ -44,7 +44,7 @@
if(is_file(ISPC_WEB_PATH."/$module/$page.php")) {
    
    include_once(ISPC_WEB_PATH."/$module/$page.php");
    include_once ISPC_WEB_PATH."/$module/$page.php";
    $classname = $module.'_'.$page;
    $page = new $classname();
@@ -60,7 +60,7 @@
        if(!preg_match("/^[a-z]{2,20}$/i", $page)) die('target page name contains unallowed chars.');
        
        if(is_file(ISPC_WEB_PATH."/$module/$page.php")) {
            include_once(ISPC_WEB_PATH."/$module/$page.php");
            include_once ISPC_WEB_PATH."/$module/$page.php";
            
            $classname = $module.'_'.$page;
            $page = new $classname();
interface/web/dashboard/ajax_get_json.php
@@ -28,8 +28,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('dashboard');
@@ -161,7 +161,7 @@
        $search_fields = array();
        $desc_fields = array();
        if(is_file('../'.$module.'/form/'.$section.'.tform.php')){
            include_once('../'.$module.'/form/'.$section.'.tform.php');
            include_once '../'.$module.'/form/'.$section.'.tform.php';
            
            $category_title = $form["title"];
            $form_file = $form["action"];
@@ -207,7 +207,7 @@
        
        if(is_array($results) && !empty($results)){    
            $lng_file = '../'.$module.'/lib/lang/'.$_SESSION['s']['language'].'_'.$section.'.lng';
            if(is_file($lng_file)) include($lng_file);
            if(is_file($lng_file)) include $lng_file;
            $result_array['cheader'] = array('title' => $category_title,
                                            'total' => count($results),
                                            'limit' => count($results)
interface/web/dashboard/dashboard.php
@@ -27,8 +27,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('dashboard');
@@ -39,7 +39,7 @@
//* load language file
$lng_file = 'lib/lang/'.$_SESSION['s']['language'].'.lng';
include($lng_file);
include $lng_file;
$app->tpl->setVar($wb);
//* set Default - Values
@@ -149,7 +149,7 @@
    if ($file != '.' && $file != '..' && !is_dir($file)) {
        $dashlet_name = substr($file,0,-4);
        $dashlet_class = 'dashlet_'.$dashlet_name;
        include_once(ISPC_WEB_PATH.'/dashboard/dashlets/'.$file);
        include_once ISPC_WEB_PATH.'/dashboard/dashlets/'.$file;
        $dashlet_list[$dashlet_name] = new $dashlet_class;
    }
}
interface/web/dashboard/dashlets/limits.php
@@ -116,7 +116,7 @@
        
        $wb = array();
        $lng_file = 'lib/lang/'.$_SESSION['s']['language'].'_dashlet_limits.lng';
        if(is_file($lng_file)) include($lng_file);
        if(is_file($lng_file)) include $lng_file;
        $tpl->setVar($wb);
        
        if($app->auth->is_admin()) {
interface/web/dashboard/dashlets/mailquota.php
@@ -13,7 +13,7 @@
        
        $wb = array();
        $lng_file = 'lib/lang/'.$_SESSION['s']['language'].'_dashlet_mailquota.lng';
        if(is_file($lng_file)) include($lng_file);
        if(is_file($lng_file)) include $lng_file;
        $tpl->setVar($wb);
        
        $tmp_rec =  $app->db->queryAllRecords("SELECT data from monitor_data WHERE type = 'email_quota' ORDER BY created DESC");
@@ -81,6 +81,7 @@
        
        
    }
}
interface/web/dashboard/dashlets/modules.php
@@ -13,7 +13,7 @@
        
        $wb = array();
        $lng_file = 'lib/lang/'.$_SESSION['s']['language'].'_dashlet_modules.lng';
        if(is_file($lng_file)) include($lng_file);
        if(is_file($lng_file)) include $lng_file;
        $tpl->setVar($wb);
        
        /*
@@ -25,7 +25,7 @@
            foreach($modules as $mt) {
                if(is_file('../' . $mt . '/lib/module.conf.php')) {
                    if(!preg_match("/^[a-z]{2,20}$/i", $mt)) die('module name contains unallowed chars.');
                    include_once('../' . $mt.'/lib/module.conf.php');
                    include_once '../' . $mt.'/lib/module.conf.php';
                    /* We don't want to show the dashboard */
                    if ($mt != 'dashboard') {
                        $module_title = $app->lng($module['title']);
@@ -47,6 +47,7 @@
        return $tpl->grab();
        
    }
}
interface/web/dashboard/dashlets/quota.php
@@ -13,7 +13,7 @@
        
        $wb = array();
        $lng_file = 'lib/lang/'.$_SESSION['s']['language'].'_dashlet_quota.lng';
        if(is_file($lng_file)) include($lng_file);
        if(is_file($lng_file)) include $lng_file;
        $tpl->setVar($wb);
        
        $tmp_rec =  $app->db->queryAllRecords("SELECT data from monitor_data WHERE type = 'harddisk_quota' ORDER BY created DESC");
@@ -104,6 +104,7 @@
        
        
    }
}
interface/web/dashboard/lib/admin.conf.php
interface/web/dashboard/lib/custom_menu.inc.php
interface/web/dashboard/lib/module.conf.php
interface/web/designer/form_edit.php
@@ -27,8 +27,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
if($_SESSION["s"]["user"]["typ"] != "admin") die("Admin permissions required.");
if($conf['demo_mode'] == true) $app->error('This function is disabled in demo mode.');
@@ -66,7 +66,7 @@
        $form_new = $_POST["form"];
        
        if(@is_file($filename)) {
            include_once($filename);
            include_once $filename;
            $tabs = $form["tabs"];
            unset($form["tabs"]);
            $form_new["tabs"] = $tabs;
@@ -104,7 +104,7 @@
    // bestehenden Datensatz anzeigen
    if($error == '') {
        // es liegt ein Fehler vor
        include_once("../".$module_name."/form/".$form_name.".tform.php");
        include_once "../".$module_name."/form/".$form_name.".tform.php";
        //$tabs = $form["tabs"];
        unset($form["tabs"]);
        $record = $form;
@@ -141,7 +141,7 @@
$app->tpl->setVar($record);
include_once("lib/lang/".$_SESSION["s"]["language"]."_form_edit.lng");
include_once "lib/lang/".$_SESSION["s"]["language"]."_form_edit.lng";
$app->tpl->setVar($wb);
// Defaultwerte setzen
interface/web/designer/form_list.php
@@ -27,8 +27,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('designer');
@@ -40,7 +40,7 @@
function getinfo($file, $form_file, $bgcolor) {
    $module_name = $file;
    include(ISPC_WEB_PATH."/$file/form/$form_file");
    include ISPC_WEB_PATH."/$file/form/$form_file";
    return array(     'name' =>        $form['name'],
                    'title' =>       $form['title'],
                    'description' => $form['description'],
@@ -79,7 +79,7 @@
//* load language file 
$lng_file = 'lib/lang/'.$_SESSION['s']['language'].'_form_list.lng';
include($lng_file);
include $lng_file;
$app->tpl->setVar($wb);
$app->tpl_defaults();
interface/web/designer/form_show.php
@@ -27,8 +27,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('designer');
@@ -48,7 +48,7 @@
if(!preg_match('/^[A-Za-z0-9_]{1,50}$/',$module_name)) die("module_name contains invalid chars.");
if(!preg_match('/^[A-Za-z0-9_]{1,50}$/',$form_name)) die("form_name contains invalid chars.");
include_once("../".$module_name."/form/".$form_name.".tform.php");
include_once "../".$module_name."/form/".$form_name.".tform.php";
$tabs = $form["tabs"];
unset($form["tabs"]);
$record = $form;
@@ -57,7 +57,7 @@
// loading language file 
$lng_file = "lib/lang/".$_SESSION["s"]["language"]."_form_show.lng";
include($lng_file);
include $lng_file;
$app->tpl->setVar($wb);
// baue Tabs navi
interface/web/designer/index.php
@@ -0,0 +1 @@
interface/web/designer/lib/admin.conf.php
interface/web/designer/lib/module.conf.php
interface/web/designer/module_edit.php
@@ -27,8 +27,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
if($_SESSION["s"]["user"]["typ"] != "admin") die("Admin permissions required.");
if($conf['demo_mode'] == true) $app->error('This function is disabled in demo mode.');
@@ -63,7 +63,7 @@
        $module_new = $_POST["module"];
        
        if(@is_file($filename)) {
            include_once($filename);
            include_once $filename;
            $navi = $module["nav"];
            unset($module);
            $module_new["nav"] = $navi;
@@ -123,7 +123,7 @@
    // bestehenden Datensatz anzeigen
    if($error == '') {
        // es liegt ein Fehler vor
        include_once("../".$id."/lib/module.conf.php");
        include_once "../".$id."/lib/module.conf.php";
        //$navi = $module["nav"];
        unset($module["nav"]);
        $record = $module;
@@ -172,7 +172,7 @@
$app->tpl->setVar($record);
include_once("lib/lang/".$_SESSION["s"]["language"]."_module_edit.lng");
include_once "lib/lang/".$_SESSION["s"]["language"]."_module_edit.lng";
$app->tpl->setVar($wb);
// Defaultwerte setzen
interface/web/designer/module_list.php
@@ -27,8 +27,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('designer');
@@ -46,7 +46,7 @@
    if ($file != '.' && $file != '..') {
        if(@is_dir(ISPC_WEB_PATH."/$file")) {
            if(is_file(ISPC_WEB_PATH."/$file/lib/module.conf.php") and $file != 'login') {
                include_once(ISPC_WEB_PATH."/$file/lib/module.conf.php");
                include_once ISPC_WEB_PATH."/$file/lib/module.conf.php";
                $modules_list[] = array(     'module' =>   $module['name'],
                                            'title' =>    $module['title'],
                                            'bgcolor' =>  ($bgcolor == '#FFFFFF') ? '#EEEEEE' : '#FFFFFF'
@@ -60,7 +60,7 @@
//* loading language file 
$lng_file = 'lib/lang/'.$_SESSION['s']['language'].'_module_list.lng';
include($lng_file);
include $lng_file;
$app->tpl->setVar($wb);
$app->tpl_defaults();
interface/web/designer/module_nav_del.php
@@ -27,8 +27,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
if($_SESSION["s"]["user"]["typ"] != "admin") die("Admin permissions required.");
@@ -55,7 +55,7 @@
    $filename = "../".$module_name."/lib/module.conf.php";
        
    if(!@is_file($filename)) die("File not found: $filename");
    include_once($filename);
    include_once $filename;
    
    unset($module["nav"][$nav_id]);
    
interface/web/designer/module_nav_edit.php
@@ -27,8 +27,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Security checkpoint
if($_SESSION['s']['user']['typ'] != 'admin'){
@@ -73,7 +73,7 @@
        if(!@is_file($filename)){
            die("File not found: $filename");
        }
        include_once($filename);
        include_once $filename;
        
        $items = ($action == 'UPDATE') ?  $module['nav'][$nav_id]['items'] : array();
        
@@ -114,7 +114,7 @@
if($nav_id != '') {
    //* Data record exists
    if($error == '') {
        include_once('../'.$module_name.'/lib/module.conf.php');
        include_once '../'.$module_name.'/lib/module.conf.php';
        $record = $module['nav'][$nav_id];
    } else {
        //* error
@@ -138,7 +138,7 @@
$app->tpl->setVar($record);
include_once('lib/lang/'.$_SESSION['s']['language'].'_module_nav_edit.lng');
include_once 'lib/lang/'.$_SESSION['s']['language'].'_module_nav_edit.lng';
$app->tpl->setVar($wb);
$app->tpl_defaults();
interface/web/designer/module_nav_flip.php
@@ -27,8 +27,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
if($_SESSION["s"]["user"]["typ"] != "admin") die("Admin permissions required.");
@@ -56,7 +56,7 @@
    $filename = "../".$module_name."/lib/module.conf.php";
        
    if(!@is_file($filename)) die("File not found: $filename");
    include_once($filename);
    include_once $filename;
    
    if($dir == 'up' and $nav_id > 0) {
        $tmp = $module["nav"][$nav_id - 1];
interface/web/designer/module_nav_item_del.php
@@ -27,8 +27,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
if($_SESSION["s"]["user"]["typ"] != "admin") die("Admin permissions required.");
if($conf['demo_mode'] == true) $app->error('This function is disabled in demo mode.');
@@ -57,7 +57,7 @@
    $filename = "../".$module_name."/lib/module.conf.php";
        
    if(!@is_file($filename)) die("File not found: $filename");
    include_once($filename);
    include_once $filename;
    
    unset($module["nav"][$nav_id]["items"][$item_id]);
    
interface/web/designer/module_nav_item_edit.php
@@ -27,8 +27,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
if($_SESSION["s"]["user"]["typ"] != "admin") die("Admin permissions required.");
if($conf['demo_mode'] == true) $app->error('This function is disabled in demo mode.');
@@ -70,7 +70,7 @@
        $filename = "../".$module_name."/lib/module.conf.php";
        
        if(!@is_file($filename)) die("File not found: $filename");
        include_once($filename);
        include_once $filename;
        
        $tmp = array('title' =>$_POST["title"],
                     'target' => $_POST["target"],
@@ -113,7 +113,7 @@
    // bestehenden Datensatz anzeigen
    if($error == '') {
        // es liegt ein Fehler vor
        include_once("../".$module_name."/lib/module.conf.php");
        include_once "../".$module_name."/lib/module.conf.php";
        $record = $module["nav"][$nav_id]["items"][$item_id];
    } else {
        // ein Fehler
@@ -139,7 +139,7 @@
$app->tpl->setVar($record);
include_once("lib/lang/".$_SESSION["s"]["language"]."_module_nav_item_edit.lng");
include_once "lib/lang/".$_SESSION["s"]["language"]."_module_nav_item_edit.lng";
$app->tpl->setVar($wb);
// Defaultwerte setzen
interface/web/designer/module_nav_item_flip.php
@@ -27,8 +27,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
if($_SESSION["s"]["user"]["typ"] != "admin") die("Admin permissions required.");
if($conf['demo_mode'] == true) $app->error('This function is disabled in demo mode.');
@@ -58,7 +58,7 @@
    $filename = "../".$module_name."/lib/module.conf.php";
        
    if(!@is_file($filename)) die("File not found: $filename");
    include_once($filename);
    include_once $filename;
    
    if($dir == 'up' and $item_id > 0) {
        $tmp = $module["nav"][$nav_id]["items"][$item_id - 1];
interface/web/designer/module_show.php
@@ -27,8 +27,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('designer');
@@ -44,14 +44,14 @@
$module_name = $_REQUEST["id"];
if(!preg_match('/^[A-Za-z0-9_]{0,50}$/',$module_name)) die("id contains invalid chars.");
include_once("../".$module_name."/lib/module.conf.php");
include_once "../".$module_name."/lib/module.conf.php";
$navi = $module["nav"];
unset($module["nav"]);
$record = $module;
// loading language file 
$lng_file = "lib/lang/".$_SESSION["s"]["user"]["language"]."_module_show.lng";
include($lng_file);
include $lng_file;
$app->tpl->setVar($wb);
// baue Modul navi
interface/web/dns/ajax_get_json.php
@@ -28,8 +28,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('dns');
interface/web/dns/dns_a_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('dns');
interface/web/dns/dns_a_list.php
@@ -1,6 +1,6 @@
<?php
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/dns/dns_aaaa_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('dns');
interface/web/dns/dns_alias_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('dns');
@@ -130,6 +130,7 @@
        $serial = $app->validate_dns->increase_serial($soa["serial"]);
        $app->db->datalogUpdate('dns_soa', "serial = $serial", 'id', $soa_id);
    }
}
$page = new page_action;
interface/web/dns/dns_cname_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('dns');
@@ -135,6 +135,7 @@
        $serial = $app->validate_dns->increase_serial($soa["serial"]);
        $app->db->datalogUpdate('dns_soa', "serial = $serial", 'id', $soa_id);
    }
}
$page = new page_action;
interface/web/dns/dns_hinfo_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('dns');
@@ -130,6 +130,7 @@
        $serial = $app->validate_dns->increase_serial($soa["serial"]);
        $app->db->datalogUpdate('dns_soa', "serial = $serial", 'id', $soa_id);
    }
}
$page = new page_action;
interface/web/dns/dns_import.php
@@ -28,8 +28,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('dns');
@@ -121,7 +121,7 @@
}
$lng_file = 'lib/lang/'.$_SESSION['s']['language'].'_dns_import.lng';
include($lng_file);
include $lng_file;
$app->tpl->setVar($wb);
// Import the zone-file
interface/web/dns/dns_mx_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('dns');
@@ -152,6 +152,7 @@
        $serial = $app->validate_dns->increase_serial($soa["serial"]);
        $app->db->datalogUpdate('dns_soa', "serial = $serial", 'id', $soa_id);
    }
}
$page = new page_action;
interface/web/dns/dns_ns_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('dns');
@@ -130,6 +130,7 @@
        $serial = $app->validate_dns->increase_serial($soa["serial"]);
        $app->db->datalogUpdate('dns_soa', "serial = $serial", 'id', $soa_id);
    }
}
$page = new page_action;
interface/web/dns/dns_ptr_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('dns');
@@ -130,6 +130,7 @@
        $serial = $app->validate_dns->increase_serial($soa["serial"]);
        $app->db->datalogUpdate('dns_soa', "serial = $serial", 'id', $soa_id);
    }
}
$page = new page_action;
interface/web/dns/dns_rp_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('dns');
@@ -130,6 +130,7 @@
        $serial = $app->validate_dns->increase_serial($soa["serial"]);
        $app->db->datalogUpdate('dns_soa', "serial = $serial", 'id', $soa_id);
    }
}
$page = new page_action;
interface/web/dns/dns_rr_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('dns');
@@ -59,6 +59,7 @@
        $serial = $app->validate_dns->increase_serial($soa["serial"]);
        $app->db->datalogUpdate('dns_soa', "serial = $serial", 'id', $soa_id);
    }
}
$page = new page_action;
interface/web/dns/dns_slave_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('dns');
@@ -61,6 +61,7 @@
            $app->db->datalogDelete('dns_slave','id',$rec['id']);
        }
    }
}
$page = new page_action;
interface/web/dns/dns_slave_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('dns');
interface/web/dns/dns_slave_list.php
@@ -1,6 +1,6 @@
<?php
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/dns/dns_soa_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('dns');
@@ -61,6 +61,7 @@
            $app->db->datalogDelete('dns_rr','id',$rec['id']);
        }
    }
}
$page = new page_action;
interface/web/dns/dns_soa_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('dns');
interface/web/dns/dns_soa_list.php
@@ -1,6 +1,6 @@
<?php
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/dns/dns_srv_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('dns');
@@ -151,6 +151,7 @@
        $serial = $app->validate_dns->increase_serial($soa["serial"]);
        $app->db->datalogUpdate('dns_soa', "serial = $serial", 'id', $soa_id);
    }
}
$page = new page_action;
interface/web/dns/dns_template_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('dns');
interface/web/dns/dns_template_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('dns');
interface/web/dns/dns_template_list.php
@@ -1,6 +1,6 @@
<?php
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/dns/dns_txt_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('dns');
@@ -130,6 +130,7 @@
        $serial = $app->validate_dns->increase_serial($soa["serial"]);
        $app->db->datalogUpdate('dns_soa', "serial = $serial", 'id', $soa_id);
    }
}
$page = new page_action;
interface/web/dns/dns_wizard.php
@@ -28,8 +28,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('dns');
@@ -288,7 +288,7 @@
$app->tpl->setVar("title",'DNS Wizard');
$lng_file = 'lib/lang/'.$_SESSION['s']['language'].'_dns_wizard.lng';
include($lng_file);
include $lng_file;
$app->tpl->setVar($wb);
$app->tpl_defaults();
interface/web/dns/form/dns_a.tform.php
@@ -56,9 +56,9 @@
    'width'     => 100,
    'template'     => "templates/dns_a_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'server_id' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'SELECT',
@@ -156,9 +156,9 @@
            'width'        => '10',
            'maxlength'    => '10'
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
interface/web/dns/form/dns_aaaa.tform.php
@@ -56,9 +56,9 @@
    'width'     => 100,
    'template'     => "templates/dns_aaaa_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'server_id' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'SELECT',
@@ -149,9 +149,9 @@
            'width'        => '10',
            'maxlength'    => '10'
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
interface/web/dns/form/dns_alias.tform.php
@@ -56,9 +56,9 @@
    'width'     => 100,
    'template'     => "templates/dns_alias_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'server_id' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'SELECT',
@@ -165,9 +165,9 @@
            'width'        => '10',
            'maxlength'    => '10'
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
interface/web/dns/form/dns_cname.tform.php
@@ -56,9 +56,9 @@
    'width'     => 100,
    'template'     => "templates/dns_cname_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'server_id' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'SELECT',
@@ -163,9 +163,9 @@
            'width'        => '10',
            'maxlength'    => '10'
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
interface/web/dns/form/dns_hinfo.tform.php
@@ -56,9 +56,9 @@
    'width'     => 100,
    'template'     => "templates/dns_hinfo_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'server_id' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'SELECT',
@@ -155,9 +155,9 @@
            'width'        => '10',
            'maxlength'    => '10'
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
interface/web/dns/form/dns_mx.tform.php
@@ -57,9 +57,9 @@
    'width'     => 100,
    'template'     => "templates/dns_mx_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'server_id' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'SELECT',
@@ -164,9 +164,9 @@
            'width'        => '10',
            'maxlength'    => '10'
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
interface/web/dns/form/dns_ns.tform.php
@@ -56,9 +56,9 @@
    'width'     => 100,
    'template'     => "templates/dns_ns_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'server_id' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'SELECT',
@@ -163,9 +163,9 @@
            'width'        => '10',
            'maxlength'    => '10'
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
interface/web/dns/form/dns_ptr.tform.php
@@ -56,9 +56,9 @@
    'width'     => 100,
    'template'     => "templates/dns_ptr_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'server_id' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'SELECT',
@@ -163,9 +163,9 @@
            'width'        => '10',
            'maxlength'    => '10'
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
interface/web/dns/form/dns_rp.tform.php
@@ -56,9 +56,9 @@
    'width'     => 100,
    'template'     => "templates/dns_rp_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'server_id' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'SELECT',
@@ -156,9 +156,9 @@
            'width'        => '10',
            'maxlength'    => '10'
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
interface/web/dns/form/dns_slave.tform.php
@@ -60,9 +60,9 @@
    'width'     => 100,
    'template'     => "templates/dns_slave_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'server_id' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'SELECT',
@@ -132,9 +132,9 @@
            'default'    => 'Y',
            'value'        => array(0 => 'N',1 => 'Y')
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
interface/web/dns/form/dns_soa.tform.php
@@ -61,9 +61,9 @@
    'width'     => 100,
    'template'     => "templates/dns_soa_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'server_id' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'SELECT',
@@ -255,9 +255,9 @@
            'default'    => 'Y',
            'value'        => array(0 => 'N',1 => 'Y')
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
@@ -266,13 +266,13 @@
    'width'     => 100,
    'template'     => "templates/dns_records_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    ),
    'plugins' => array (
         'dns_records' => array (
interface/web/dns/form/dns_srv.tform.php
@@ -56,9 +56,9 @@
    'width'     => 100,
    'template'     => "templates/dns_srv_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'server_id' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'SELECT',
@@ -154,9 +154,9 @@
            'width'        => '10',
            'maxlength'    => '10'
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
interface/web/dns/form/dns_template.tform.php
@@ -55,9 +55,9 @@
    'width'     => 100,
    'template'     => "templates/dns_template_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'name' => array (
            'datatype'    => 'VARCHAR',
            'formtype'    => 'TEXT',
@@ -90,9 +90,9 @@
            'default'    => 'Y',
            'value'        => array(0 => 'N',1 => 'Y')
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
interface/web/dns/form/dns_txt.tform.php
@@ -56,9 +56,9 @@
    'width'     => 100,
    'template'     => "templates/dns_txt_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'server_id' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'SELECT',
@@ -153,9 +153,9 @@
            'width'        => '10',
            'maxlength'    => '10'
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
interface/web/dns/lib/admin.conf.php
interface/web/dns/lib/module.conf.php
interface/web/dns/lib/remote.conf.php
interface/web/dns/list/dns_a.list.php
interface/web/dns/list/dns_slave.list.php
interface/web/dns/list/dns_soa.list.php
interface/web/dns/list/dns_template.list.php
interface/web/help/faq_delete.php
@@ -5,8 +5,8 @@
$tform_def_file = 'form/faq.tform.php';
// Include the base libraries
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
// Check module permissions
if(!stristr($_SESSION['s']['user']['modules'],'help')) {
interface/web/help/faq_edit.php
@@ -4,8 +4,8 @@
$tform_def_file = 'form/faq.tform.php';
// include the core configuration and application classes
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
// Check the  module permissions and redirect if not allowed.
if(!stristr($_SESSION['s']['user']['modules'],'help')) {
interface/web/help/faq_list.php
@@ -1,7 +1,7 @@
<?php
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
// Path to the list definition file
$list_def_file = 'list/faq_list.php';
interface/web/help/faq_manage_questions_list.php
@@ -1,6 +1,6 @@
<?php
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Path to the list definition file
$list_def_file = "list/faq_manage_questions_list.php";
@@ -12,7 +12,7 @@
$app->uses('listform_actions');
//* Optional limit
#$app->listform_actions->SQLExtWhere = "recipient_id = ".$_SESSION['s']['user']['userid'];
//$app->listform_actions->SQLExtWhere = "recipient_id = ".$_SESSION['s']['user']['userid'];
//* Start the form rendering and action ahndling
$app->listform_actions->onLoad();
interface/web/help/faq_sections_delete.php
@@ -5,8 +5,8 @@
$tform_def_file = 'form/faq_sections.tform.php';
// Include the base libraries
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
// Check module permissions
if(!stristr($_SESSION['s']['user']['modules'],'help')) {
interface/web/help/faq_sections_edit.php
@@ -4,8 +4,8 @@
$tform_def_file = 'form/faq_sections.tform.php';
// include the core configuration and application classes
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
// Check the  module permissions and redirect if not allowed.
if(!stristr($_SESSION['s']['user']['modules'],'help')) {
interface/web/help/faq_sections_list.php
@@ -1,7 +1,7 @@
<?php
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
// Path to the list definition file
$list_def_file = 'list/faq_sections_list.php';
interface/web/help/form/faq.tform.php
interface/web/help/form/faq_sections.tform.php
interface/web/help/form/support_message.tform.php
@@ -63,9 +63,9 @@
    'width'     => 100, // Tab width
    'template'     => "templates/support_message_edit.htm", // Template file name
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'recipient_id' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'SELECT',
@@ -125,9 +125,9 @@
            'width'        => '30',
            'maxlength'    => '30'
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
interface/web/help/index.php
interface/web/help/lib/admin.conf.php
interface/web/help/lib/module.conf.php
interface/web/help/list/faq_list.php
@@ -10,7 +10,7 @@
$liste['table_idx'] = 'hf_id';
// Search Field Prefix
#$liste['search_prefix'] = 'search_';
//$liste['search_prefix'] = 'search_';
// Records per page
$liste['records_per_page']= 100;
interface/web/help/list/faq_manage_questions_list.php
@@ -10,7 +10,7 @@
$liste['table_idx'] = 'hf_id';
// Search Field Prefix
#$liste['search_prefix'] = 'search_';
//$liste['search_prefix'] = 'search_';
// Records per page
$liste['records_per_page']= 30;
interface/web/help/list/faq_sections_list.php
@@ -10,7 +10,7 @@
$liste['table_idx'] = 'hfs_id';
// Search Field Prefix
#$liste['search_prefix'] = 'search_';
//$liste['search_prefix'] = 'search_';
// Records per page
$liste['records_per_page'] = 100;
interface/web/help/list/support_message.list.php
interface/web/help/support_message_del.php
@@ -35,8 +35,8 @@
$tform_def_file = 'form/support_message.tform.php';
//* Include the base libraries
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('help');
interface/web/help/support_message_edit.php
@@ -4,8 +4,8 @@
$tform_def_file = 'form/support_message.tform.php';
//* include the basic application and configuration files
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('help');
interface/web/help/support_message_list.php
@@ -1,6 +1,6 @@
<?php
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Path to the list definition file
$list_def_file = "list/support_message.list.php";
interface/web/help/version.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('help');
interface/web/index.php
@@ -28,8 +28,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../lib/config.inc.php');
require_once('../lib/app.inc.php');
require_once '../lib/config.inc.php';
require_once '../lib/app.inc.php';
if(!isset($_SESSION['s']['module']['name'])) $_SESSION['s']['module']['name'] = 'login';
interface/web/js/scrigo.js.php
@@ -1,10 +1,10 @@
<?php
    session_start();
    include('../../lib/config.inc.php');
include '../../lib/config.inc.php';
    header('Content-Type: text/javascript; charset=utf-8'); // the config file sets the content type header so we have to override it here!
    require_once('../../lib/app.inc.php');
require_once '../../lib/app.inc.php';
    $lang = (isset($_SESSION['s']['language']) && $_SESSION['s']['language'] != '')?$_SESSION['s']['language']:'en';
    include_once(ISPC_ROOT_PATH.'/web/strengthmeter/lib/lang/'.$lang.'_strengthmeter.lng');
include_once ISPC_ROOT_PATH.'/web/strengthmeter/lib/lang/'.$lang.'_strengthmeter.lng';
    
    $app->uses('ini_parser,getconf');
    $server_config_array = $app->getconf->get_global_config();
@@ -823,4 +823,3 @@
        })
    }
});
interface/web/keepalive.php
@@ -30,7 +30,7 @@
error_reporting(E_ALL|E_STRICT);
require_once('../lib/config.inc.php');
require_once('../lib/app.inc.php');
require_once '../lib/config.inc.php';
require_once '../lib/app.inc.php';
?>
interface/web/login/index.php
@@ -194,7 +194,7 @@
                                $_SESSION["s"]['theme'] = $_SESSION['s']['user']['theme'];
                                if(is_file($_SESSION['s']['user']['startmodule'].'/lib/module.conf.php')) {
                                    include_once($_SESSION['s']['user']['startmodule'].'/lib/module.conf.php');
                                    include_once $_SESSION['s']['user']['startmodule'].'/lib/module.conf.php';
                                    $menu_dir = ISPC_WEB_PATH.'/' . $_SESSION['s']['user']['startmodule'] . '/lib/menu.d';
                                    if (is_dir($menu_dir)) {
@@ -202,7 +202,7 @@
                                            //** Go through all files in the menu dir
                                            while (($file = readdir($dh)) !== false) {
                                                if ($file != '.' && $file != '..' && substr($file, -9, 9) == '.menu.php' && $file != 'dns_resync.menu.php') {
                                                    include_once($menu_dir . '/' . $file);
                                                    include_once $menu_dir . '/' . $file;
                                                }
                                            }
                                        }
interface/web/login/lib/module.conf.php
interface/web/login/logout.php
@@ -27,8 +27,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/*
 * Check if the logout is forced
@@ -68,12 +68,12 @@
//header("Location: ../index.php?phpsessid=".$_SESSION["s"]["id"]);
if($_SESSION["s"]["site"]["logout"] != '') {
    echo('URL_REDIRECT:'.$_SESSION["s"]["site"]["logout"]);
    echo 'URL_REDIRECT:'.$_SESSION["s"]["site"]["logout"];
} else {
    if($conf["interface_logout_url"] != '') {
        echo('URL_REDIRECT:'.$conf["interface_logout_url"]);
        echo 'URL_REDIRECT:'.$conf["interface_logout_url"];
    } else {
        echo('URL_REDIRECT:index.php');
        echo 'URL_REDIRECT:index.php';
    }
}
// Destroy the session completely now
interface/web/login/password_reset.php
@@ -28,8 +28,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
// Loading the template
$app->uses('tpl');
@@ -38,7 +38,7 @@
$app->tpl_defaults();
include(ISPC_ROOT_PATH.'/web/login/lib/lang/'.$_SESSION['s']['language'].'.lng');
include ISPC_ROOT_PATH.'/web/login/lib/lang/'.$_SESSION['s']['language'].'.lng';
$app->tpl->setVar($wb);
if(isset($_POST['username']) && $_POST['username'] != '' && $_POST['email'] != '' && $_POST['username'] != 'admin') {
interface/web/mail/form/mail_alias.tform.php
@@ -60,9 +60,9 @@
    'width'     => 100,
    'template'     => "templates/mail_alias_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'server_id' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'TEXT',
@@ -124,9 +124,9 @@
            'default'    => 'y',
            'value'        => array(0 => 'n',1 => 'y')
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
interface/web/mail/form/mail_aliasdomain.tform.php
@@ -60,9 +60,9 @@
    'width'     => 100,
    'template'     => "templates/mail_aliasdomain_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'server_id' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'TEXT',
@@ -123,9 +123,9 @@
            'default'    => 'y',
            'value'        => array(0 => 'n',1 => 'y')
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
interface/web/mail/form/mail_blacklist.tform.php
@@ -55,9 +55,9 @@
    'width'     => 100,
    'template'     => "templates/mail_blacklist_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'server_id' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'SELECT',
@@ -100,9 +100,9 @@
            'default'    => 'y',
            'value'        => array(0 => 'n',1 => 'y')
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
interface/web/mail/form/mail_content_filter.tform.php
@@ -55,9 +55,9 @@
    'width'     => 100,
    'template'     => "templates/mail_content_filter_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'server_id' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'SELECT',
@@ -106,9 +106,9 @@
            'default'    => 'y',
            'value'        => array(0 => 'n',1 => 'y')
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
interface/web/mail/form/mail_domain.tform.php
@@ -60,9 +60,9 @@
    'width'     => 100,
    'template'     => "templates/mail_domain_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'server_id' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'SELECT',
@@ -104,9 +104,9 @@
            'default'    => 'y',
            'value'        => array(0 => 'n',1 => 'y')
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
interface/web/mail/form/mail_domain_catchall.tform.php
@@ -60,9 +60,9 @@
    'width'     => 100,
    'template'     => "templates/mail_domain_catchall_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'server_id' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'TEXT',
@@ -131,9 +131,9 @@
            'default'    => 'y',
            'value'        => array(0 => 'n',1 => 'y')
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
interface/web/mail/form/mail_forward.tform.php
@@ -60,9 +60,9 @@
    'width'     => 100,
    'template'     => "templates/mail_forward_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'server_id' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'TEXT',
@@ -118,9 +118,9 @@
            'default'    => 'y',
            'value'        => array(0 => 'n',1 => 'y')
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
interface/web/mail/form/mail_get.tform.php
@@ -60,9 +60,9 @@
    'width'     => 100,
    'template'     => "templates/mail_get_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'server_id' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'SELECT',
@@ -166,9 +166,9 @@
            'default'    => 'y',
            'value'        => array(0 => 'n',1 => 'y')
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
interface/web/mail/form/mail_mailinglist.tform.php
@@ -60,9 +60,9 @@
    'width'     => 100,
    'template'     => "templates/mail_mailinglist_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'server_id' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'SELECT',
@@ -138,9 +138,9 @@
            'width'        => '30',
            'maxlength'    => '255'
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
?>
interface/web/mail/form/mail_relay_recipient.tform.php
@@ -55,9 +55,9 @@
    'width'     => 100,
    'template'     => "templates/mail_relay_recipient_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'server_id' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'SELECT',
@@ -94,9 +94,9 @@
            'default'    => 'y',
            'value'        => array(0 => 'n',1 => 'y')
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
interface/web/mail/form/mail_spamfilter.tform.php
@@ -55,9 +55,9 @@
    'width'     => 100,
    'template'     => "templates/mail_spamfilter_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'server_id' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'TEXT',
@@ -136,9 +136,9 @@
            'default'    => 'y',
            'value'        => array(0 => 'n',1 => 'y')
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
interface/web/mail/form/mail_transport.tform.php
@@ -60,9 +60,9 @@
    'width'     => 100,
    'template'     => "templates/mail_transport_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'server_id' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'SELECT',
@@ -111,9 +111,9 @@
            'default'    => 'y',
            'value'        => array(0 => 'n',1 => 'y')
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
interface/web/mail/form/mail_user.tform.php
@@ -61,9 +61,9 @@
    'width'     => 100,
    'template'     => "templates/mail_user_mailbox_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'server_id' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'TEXT',
@@ -224,9 +224,9 @@
            'default'    => 'n',
            'value'        => array(1 => 'y',0 => 'n')
        ),
    ##################################
    # END Datatable fields
    ##################################
        //#################################
        // END Datatable fields
        //#################################
    )
);
@@ -235,9 +235,9 @@
    'width'     => 100,
    'template'     => "templates/mail_user_autoresponder_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'autoresponder_subject' => array (
            'datatype'  => 'VARCHAR',
            'formtype'  => 'TEXT',
@@ -278,9 +278,9 @@
                                                    'errmsg'=> 'autoresponder_end_date_isgreater'),
                                 ),
        ),
    ##################################
    # END Datatable fields
    ##################################
        //#################################
        // END Datatable fields
        //#################################
    )
);
@@ -289,18 +289,18 @@
    'width'     => 100,
    'template'     => "templates/mail_user_mailfilter_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'move_junk' => array (
            'datatype'    => 'VARCHAR',
            'formtype'    => 'CHECKBOX',
            'default'    => 'n',
            'value'        => array(0 => 'n',1 => 'y')
        ),
    ##################################
    # END Datatable fields
    ##################################
        //#################################
        // END Datatable fields
        //#################################
    ),
    'plugins' => array (
         'filter_records' => array (
@@ -321,9 +321,9 @@
    'width'     => 100,
    'template'     => "templates/mail_user_custom_rules_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
            //#################################
            // Begin Datatable fields
            //#################################
        'custom_mailfilter' => array (
            'datatype'    => 'TEXT',
            'formtype'    => 'TEXTAREA',
@@ -332,9 +332,9 @@
            'cols'        => '30',
            'rows'        => '15'
        ),
    ##################################
    # END Datatable fields
    ##################################
            //#################################
            // END Datatable fields
            //#################################
    )
);
interface/web/mail/form/mail_user_filter.tform.php
@@ -56,9 +56,9 @@
    'width'     => 100,
    'template'     => "templates/mail_user_filter_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'mailuser_id' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'TEXT',
@@ -88,7 +88,7 @@
            'datatype'    => 'VARCHAR',
            'formtype'    => 'SELECT',
            'default'    => '',
            #'value'        => array('contains'=>'contains_txt','is' => 'Is','begins'=>'Begins with','ends'=>'Ends with')
            //'value'  => array('contains'=>'contains_txt','is' => 'Is','begins'=>'Begins with','ends'=>'Ends with')
            'value'        => array('contains'=>'contains_txt','is' => 'is_txt','begins'=>'begins_with_txt','ends'=>'ends_with_txt')
        ),
        'searchterm' => array (
@@ -126,9 +126,9 @@
            'default'    => 'y',
            'value'        => array(0 => 'n',1 => 'y')
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
interface/web/mail/form/mail_whitelist.tform.php
@@ -55,9 +55,9 @@
    'width'     => 100,
    'template'     => "templates/mail_whitelist_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'server_id' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'SELECT',
@@ -100,9 +100,9 @@
            'default'    => 'y',
            'value'        => array(0 => 'n',1 => 'y')
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
interface/web/mail/form/spamfilter_blacklist.tform.php
@@ -55,9 +55,9 @@
    'width'     => 100,
    'template'     => "templates/spamfilter_blacklist_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'server_id' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'SELECT',
@@ -109,9 +109,9 @@
            'default'    => 'y',
            'value'        => array(0 => 'n',1 => 'y')
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
interface/web/mail/form/spamfilter_config.tform.php
@@ -55,9 +55,9 @@
    'width'     => 100,
    'template'     => "templates/spamfilter_config_server_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'ip_address' => array (
            'datatype'    => 'VARCHAR',
            'formtype'    => 'TEXT',
@@ -120,9 +120,9 @@
            'width'        => '40',
            'maxlength'    => '255'
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
@@ -131,9 +131,9 @@
    'width'     => 100,
    'template'     => "templates/spamfilter_config_mail_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'module' => array (
            'datatype'    => 'VARCHAR',
            'formtype'    => 'SELECT',
@@ -246,9 +246,9 @@
            'width'        => '10',
            'maxlength'    => '15'
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
@@ -257,9 +257,9 @@
    'width'     => 100,
    'template'     => "templates/spamfilter_config_getmail_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'getmail_config_dir' => array (
            'datatype'    => 'VARCHAR',
            'formtype'    => 'TEXT',
@@ -271,9 +271,9 @@
            'width'        => '40',
            'maxlength'    => '255'
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
interface/web/mail/form/spamfilter_policy.tform.php
@@ -55,9 +55,9 @@
    'width'     => 100,
    'template'     => "templates/spamfilter_policy_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'policy_name' => array (
            'datatype'    => 'VARCHAR',
            'formtype'    => 'TEXT',
@@ -111,9 +111,9 @@
            'default'    => 'N',
            'value'        => array('N' => 'No','Y' => 'Yes')
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
@@ -123,9 +123,9 @@
    'width'     => 100,
    'template'     => "templates/spamfilter_quarantine_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'virus_quarantine_to' => array (
            'datatype'    => 'VARCHAR',
            'formtype'    => 'TEXT',
@@ -174,9 +174,9 @@
            'width'        => '30',
            'maxlength'    => '255'
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
@@ -185,9 +185,9 @@
    'width'     => 100,
    'template'     => "templates/spamfilter_taglevel_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'spam_tag_level' => array (
            'datatype'    => 'DOUBLE',
            'formtype'    => 'TEXT',
@@ -250,9 +250,9 @@
            'width'        => '30',
            'maxlength'    => '255'
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
@@ -262,9 +262,9 @@
    'width'     => 100,
    'template'     => "templates/spamfilter_other_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'addr_extension_virus' => array (
            'datatype'    => 'VARCHAR',
            'formtype'    => 'TEXT',
@@ -373,9 +373,9 @@
            'maxlength'    => '255'
        ),
        
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
interface/web/mail/form/spamfilter_users.tform.php
@@ -55,9 +55,9 @@
    'width'     => 100,
    'template'     => "templates/spamfilter_users_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'server_id' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'SELECT',
@@ -122,9 +122,9 @@
            'value'        => array('Y' => 'Yes','N' => 'No')
        ),
        
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
interface/web/mail/form/spamfilter_whitelist.tform.php
@@ -55,9 +55,9 @@
    'width'     => 100,
    'template'     => "templates/spamfilter_whitelist_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'server_id' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'SELECT',
@@ -116,9 +116,9 @@
            'default'    => 'y',
            'value'        => array(0 => 'n',1 => 'y')
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
interface/web/mail/lib/admin.conf.php
interface/web/mail/lib/module.conf.php
interface/web/mail/lib/remote.conf.php
interface/web/mail/list/mail_alias.list.php
interface/web/mail/list/mail_aliasdomain.list.php
interface/web/mail/list/mail_blacklist.list.php
interface/web/mail/list/mail_content_filter.list.php
interface/web/mail/list/mail_domain.list.php
interface/web/mail/list/mail_domain_catchall.list.php
interface/web/mail/list/mail_forward.list.php
interface/web/mail/list/mail_get.list.php
interface/web/mail/list/mail_mailinglist.list.php
interface/web/mail/list/mail_relay_recipient.list.php
interface/web/mail/list/mail_spamfilter.list.php
interface/web/mail/list/mail_transport.list.php
interface/web/mail/list/mail_user.list.php
interface/web/mail/list/mail_user_filter.list.php
interface/web/mail/list/mail_user_stats.list.php
interface/web/mail/list/mail_whitelist.list.php
interface/web/mail/list/spamfilter_blacklist.list.php
interface/web/mail/list/spamfilter_config.list.php
interface/web/mail/list/spamfilter_policy.list.php
interface/web/mail/list/spamfilter_users.list.php
interface/web/mail/list/spamfilter_whitelist.list.php
interface/web/mail/list/user_quota_stats.list.php
interface/web/mail/mail_alias_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('mail');
interface/web/mail/mail_alias_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('mail');
interface/web/mail/mail_alias_list.php
@@ -1,6 +1,6 @@
<?php
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/mail/mail_aliasdomain_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('mail');
interface/web/mail/mail_aliasdomain_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('mail');
interface/web/mail/mail_aliasdomain_list.php
@@ -1,6 +1,6 @@
<?php
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/mail/mail_blacklist_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('mail');
interface/web/mail/mail_blacklist_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('mail');
interface/web/mail/mail_blacklist_list.php
@@ -1,6 +1,6 @@
<?php
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/mail/mail_content_filter_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('mail');
interface/web/mail/mail_content_filter_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('mail');
@@ -67,6 +67,7 @@
            unset($rec);
        }
    }
}
$page = new page_action;
interface/web/mail/mail_content_filter_list.php
@@ -1,6 +1,6 @@
<?php
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/mail/mail_domain_catchall_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('mail');
interface/web/mail/mail_domain_catchall_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('mail');
interface/web/mail/mail_domain_catchall_list.php
@@ -1,6 +1,6 @@
<?php
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/mail/mail_domain_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('mail');
@@ -90,6 +90,7 @@
        }
        
    }
}
$page = new page_action;
interface/web/mail/mail_domain_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('mail');
interface/web/mail/mail_domain_list.php
@@ -1,6 +1,6 @@
<?php
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/mail/mail_forward_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('mail');
interface/web/mail/mail_forward_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('mail');
interface/web/mail/mail_forward_list.php
@@ -1,6 +1,6 @@
<?php
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/mail/mail_get_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('mail');
interface/web/mail/mail_get_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('mail');
interface/web/mail/mail_get_list.php
@@ -1,6 +1,6 @@
<?php
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/mail/mail_mailinglist_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('mail');
interface/web/mail/mail_mailinglist_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('mail');
interface/web/mail/mail_mailinglist_list.php
@@ -1,6 +1,6 @@
<?php
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/mail/mail_relay_recipient_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('mail');
interface/web/mail/mail_relay_recipient_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('mail');
interface/web/mail/mail_relay_recipient_list.php
@@ -1,6 +1,6 @@
<?php
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
@@ -16,7 +16,7 @@
$app->auth->check_module_permissions('mail');
$app->uses('listform_actions');
# $app->listform_actions->SQLExtWhere = "access = 'OK'";
// $app->listform_actions->SQLExtWhere = "access = 'OK'";
$app->listform_actions->onLoad();
interface/web/mail/mail_spamfilter_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('mail');
interface/web/mail/mail_spamfilter_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('mail');
interface/web/mail/mail_spamfilter_list.php
@@ -1,6 +1,6 @@
<?php
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/mail/mail_transport_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('mail');
interface/web/mail/mail_transport_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('mail');
interface/web/mail/mail_transport_list.php
@@ -1,6 +1,6 @@
<?php
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/mail/mail_user_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('mail');
@@ -65,6 +65,7 @@
            }
            
        }
}
$page = new page_action;
interface/web/mail/mail_user_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('mail');
interface/web/mail/mail_user_filter_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('mail');
interface/web/mail/mail_user_filter_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('mail');
interface/web/mail/mail_user_list.php
@@ -1,6 +1,6 @@
<?php
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/mail/mail_user_stats.php
@@ -1,6 +1,6 @@
<?php
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
@@ -134,6 +134,7 @@
        $sql = 'SELECT '.$select.$extselect.' FROM '.$app->listform->listDef['table'].($app->listform->listDef['additional_tables'] != ''? ','.$app->listform->listDef['additional_tables'] : '')."$join WHERE $sql_where $order_by_sql $limit_sql";
        return $sql;
    }
}
$list = new list_action;
interface/web/mail/mail_whitelist_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('mail');
interface/web/mail/mail_whitelist_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('mail');
interface/web/mail/mail_whitelist_list.php
@@ -1,6 +1,6 @@
<?php
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/mail/mailinglist.php
@@ -28,8 +28,8 @@
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('mail');
interface/web/mail/spamfilter_blacklist_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('mail');
interface/web/mail/spamfilter_blacklist_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('mail');
@@ -109,6 +109,7 @@
        
        parent::onSubmit();
    }
}
$app->tform_actions = new page_action;
interface/web/mail/spamfilter_blacklist_list.php
@@ -1,6 +1,6 @@
<?php
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/mail/spamfilter_config_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('mail');
interface/web/mail/spamfilter_config_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('mail');
interface/web/mail/spamfilter_config_list.php
@@ -1,6 +1,6 @@
<?php
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/mail/spamfilter_policy_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('mail');
interface/web/mail/spamfilter_policy_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('mail');
@@ -86,6 +86,7 @@
        
        parent::onSubmit();
    }
}
$app->tform_actions = new page_action;
interface/web/mail/spamfilter_policy_list.php
@@ -1,6 +1,6 @@
<?php
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/mail/spamfilter_users_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('mail');
interface/web/mail/spamfilter_users_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('mail');
@@ -102,6 +102,7 @@
        
        parent::onSubmit();
    }
}
$app->tform_actions = new page_action;
interface/web/mail/spamfilter_users_list.php
@@ -1,6 +1,6 @@
<?php
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/mail/spamfilter_whitelist_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('mail');
interface/web/mail/spamfilter_whitelist_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('mail');
@@ -110,6 +110,7 @@
        
        parent::onSubmit();
    }
}
$app->tform_actions = new page_action;
interface/web/mail/spamfilter_whitelist_list.php
@@ -1,6 +1,6 @@
<?php
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/mail/user_quota_stats.php
@@ -1,6 +1,6 @@
<?php
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
@@ -73,6 +73,7 @@
        $rec['id'] = $rec[$this->idx_key];
        return $rec;
    }
}
$list = new list_action;
interface/web/mail/webmailer.php
@@ -28,8 +28,8 @@
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('mail');
interface/web/mailuser/form/mail_user_autoresponder.tform.php
@@ -56,9 +56,9 @@
    'width'     => 100,
    'template'     => "templates/mail_user_autoresponder_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'autoresponder_subject' => array (
            'datatype'      => 'VARCHAR',
            'formtype'      => 'TEXT',
@@ -99,9 +99,9 @@
                                                    'errmsg'=> 'autoresponder_end_date_isgreater'),
                                 ),
        ),
    ##################################
    # END Datatable fields
    ##################################
        //#################################
        // END Datatable fields
        //#################################
    )
);
interface/web/mailuser/form/mail_user_cc.tform.php
@@ -55,9 +55,9 @@
    'width'     => 100,
    'template'     => "templates/mail_user_cc_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'cc' => array (
            'datatype'    => 'VARCHAR',
            'formtype'    => 'TEXT',
@@ -77,9 +77,9 @@
            'width'        => '30',
            'maxlength'    => '255'
        ),
    ##################################
    # END Datatable fields
    ##################################
        //#################################
        // END Datatable fields
        //#################################
    )
);
interface/web/mailuser/form/mail_user_filter.tform.php
@@ -57,9 +57,9 @@
    'width'     => 100,
    'template'     => "templates/mail_user_filter_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'mailuser_id' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'TEXT',
@@ -89,7 +89,7 @@
            'datatype'    => 'VARCHAR',
            'formtype'    => 'SELECT',
            'default'    => '',
            #'value'        => array('contains'=>'contains_txt','is' => 'Is','begins'=>'Begins with','ends'=>'Ends with')
            //'value'  => array('contains'=>'contains_txt','is' => 'Is','begins'=>'Begins with','ends'=>'Ends with')
            'value'        => array('contains'=>'contains_txt','is' => 'is_txt','begins'=>'begins_with_txt','ends'=>'ends_with_txt')
        ),
        'searchterm' => array (
@@ -127,9 +127,9 @@
            'default'    => 'y',
            'value'        => array(0 => 'n',1 => 'y')
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
interface/web/mailuser/form/mail_user_password.tform.php
@@ -55,9 +55,9 @@
    'width'     => 100,
    'template'     => "templates/mail_user_password_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'password' => array (
            'datatype'    => 'VARCHAR',
            'formtype'    => 'PASSWORD',
@@ -67,9 +67,9 @@
            'width'        => '30',
            'maxlength'    => '255'
        ),
    ##################################
    # END Datatable fields
    ##################################
        //#################################
        // END Datatable fields
        //#################################
    )
);
interface/web/mailuser/form/mail_user_spamfilter.tform.php
@@ -55,13 +55,13 @@
    'width'     => 100,
    'template'     => "templates/mail_user_spamfilter_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
    
    ##################################
    # END Datatable fields
    ##################################
        //#################################
        // END Datatable fields
        //#################################
    )
);
interface/web/mailuser/index.php
@@ -1,6 +1,6 @@
<?php
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('mailuser');
@@ -14,7 +14,7 @@
//* load language file
$lng_file = 'lib/lang/'.$_SESSION['s']['language'].'_index.lng';
include($lng_file);
include $lng_file;
$app->tpl->setVar($wb);
$sql = "SELECT * FROM mail_user WHERE mailuser_id = ".$_SESSION['s']['user']['mailuser_id'];
interface/web/mailuser/lib/admin.conf.php
interface/web/mailuser/lib/module.conf.php
interface/web/mailuser/lib/remote.conf.php
interface/web/mailuser/list/mail_user_filter.list.php
interface/web/mailuser/mail_user_autoresponder_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('mailuser');
interface/web/mailuser/mail_user_cc_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('mailuser');
interface/web/mailuser/mail_user_filter_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('mailuser');
interface/web/mailuser/mail_user_filter_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('mailuser');
interface/web/mailuser/mail_user_filter_list.php
@@ -1,6 +1,6 @@
<?php
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/mailuser/mail_user_password_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('mailuser');
interface/web/mailuser/mail_user_spamfilter_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('mailuser');
interface/web/monitor/datalog_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('monitor');
interface/web/monitor/datalog_list.php
@@ -28,8 +28,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/monitor/lib/admin.conf.php
interface/web/monitor/lib/module.conf.php
interface/web/monitor/list/datalog.list.php
interface/web/monitor/list/log.list.php
interface/web/monitor/log_del.php
@@ -28,8 +28,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('monitor');
interface/web/monitor/log_list.php
@@ -28,8 +28,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/monitor/show_data.php
@@ -28,8 +28,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('monitor');
interface/web/monitor/show_log.php
@@ -28,8 +28,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('monitor');
interface/web/monitor/show_monit.php
@@ -28,8 +28,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('monitor');
interface/web/monitor/show_munin.php
@@ -28,8 +28,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('monitor');
interface/web/monitor/show_sys_state.php
@@ -27,8 +27,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/* Check permissions for module */
$app->auth->check_module_permissions('monitor');
@@ -103,6 +103,8 @@
    global $app;
    /** The data of all Servers as (sorted by name) array */
    $serverData = array();
    /*
interface/web/nav.php
@@ -28,8 +28,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../lib/config.inc.php');
require_once('../lib/app.inc.php');
require_once '../lib/config.inc.php';
require_once '../lib/app.inc.php';
$app->uses('tpl');
@@ -55,7 +55,7 @@
            foreach($modules as $mt) {
                if(is_file($mt.'/lib/module.conf.php')) {
                    if(!preg_match("/^[a-z]{2,20}$/i", $mt)) die('module name contains unallowed chars.');
                    include_once($mt.'/lib/module.conf.php');
                    include_once $mt.'/lib/module.conf.php';
                    $language = (isset($_SESSION['s']['user']['language']))?$_SESSION['s']['user']['language']:$conf['language'];
                    $app->load_language_file('web/'.$mt.'/lib/'.$language.'.lng');
                    $active = ($module['name'] == $_SESSION['s']['module']['name']) ? 1 : 0;
@@ -67,7 +67,7 @@
        }
    } else {
        //*  Loading Login Module
        include_once('login/lib/module.conf.php');
        include_once 'login/lib/module.conf.php';
        $_SESSION['s']['module'] = $module;
        $topnav[] = array(    'title'     => 'Login',
                'active'     => 1);
@@ -84,7 +84,7 @@
if(isset($_GET['nav']) && $_GET['nav'] == 'side') {
    if(isset($_SESSION['s']['module']['name']) && is_file($_SESSION['s']['module']['name'].'/lib/custom_menu.inc.php')) {
        include_once($_SESSION['s']['module']['name'].'/lib/custom_menu.inc.php');
        include_once $_SESSION['s']['module']['name'].'/lib/custom_menu.inc.php';
    } else {
    
        $app->tpl->newTemplate('sidenav.tpl.htm');
interface/web/remote/index.php
@@ -1,8 +1,8 @@
<?php
require_once('../../lib/config.inc.php');
require_once '../../lib/config.inc.php';
$conf['start_session'] = false;
require_once('../../lib/app.inc.php');
require_once '../../lib/app.inc.php';
if($conf['demo_mode'] == true) $app->error('This function is disabled in demo mode.');
interface/web/remote/monitor.php
@@ -1,7 +1,7 @@
<?php
require_once('../../lib/config.inc.php');
require_once '../../lib/config.inc.php';
$conf['start_session'] = false;
require_once('../../lib/app.inc.php');
require_once '../../lib/app.inc.php';
if($conf['demo_mode'] == true) $app->error('This function is disabled in demo mode.');
@@ -67,45 +67,45 @@
        if( $islist ) {
            $json = '[' . implode(',', array_map('__json_encode', $data) ) . ']';
        } else {
            $items = Array();
            $items = array();
            foreach( $data as $key => $value ) {
                $items[] = __json_encode("$key") . ':' . __json_encode($value);
            }
            $json = '{' . implode(',', $items) . '}';
        }
    } elseif( is_string($data) ) {
        # Escape non-printable or Non-ASCII characters.
        # I also put the \\ character first, as suggested in comments on the 'addcslashes' page.
        // Escape non-printable or Non-ASCII characters.
        // I also put the \\ character first, as suggested in comments on the 'addcslashes' page.
        $string = '"' . addcslashes($data, "\\\"\n\r\t/" . chr(8) . chr(12)) . '"';
        $json    = '';
        $len    = strlen($string);
        # Convert UTF-8 to Hexadecimal Codepoints.
        // Convert UTF-8 to Hexadecimal Codepoints.
        for( $i = 0; $i < $len; $i++ ) {
           
            $char = $string[$i];
            $c1 = ord($char);
           
            # Single byte;
            // Single byte;
            if( $c1 <128 ) {
                $json .= ($c1 > 31) ? $char : sprintf("\\u%04x", $c1);
                continue;
            }
           
            # Double byte
            // Double byte
            $c2 = ord($string[++$i]);
            if ( ($c1 & 32) === 0 ) {
                $json .= sprintf("\\u%04x", ($c1 - 192) * 64 + $c2 - 128);
                continue;
            }
           
            # Triple
            // Triple
            $c3 = ord($string[++$i]);
            if( ($c1 & 16) === 0 ) {
                $json .= sprintf("\\u%04x", (($c1 - 224) <<12) + (($c2 - 128) << 6) + ($c3 - 128));
                continue;
            }
               
            # Quadruple
            // Quadruple
            $c4 = ord($string[++$i]);
            if( ($c1 & 8 ) === 0 ) {
                $u = (($c1 & 15) << 2) + (($c2>>4) & 3) - 1;
@@ -116,7 +116,7 @@
            }
        }
    } else {
        # int, floats, bools, null
        // int, floats, bools, null
        $json = strtolower(var_export( $data, true ));
    }
    return $json;
interface/web/sites/ajax_get_ip.php
@@ -28,8 +28,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('sites');
interface/web/sites/ajax_get_json.php
@@ -28,8 +28,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('sites');
interface/web/sites/aps_availablepackages_list.php
@@ -28,8 +28,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//require_once('classes/class.base.php'); // for constants
$app->load('aps_base');
interface/web/sites/aps_cron_apscrawler_if.php
@@ -27,8 +27,8 @@
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//require_once('classes/class.crawler.php');
$app->load('aps_crawler');
interface/web/sites/aps_do_operation.php
@@ -28,8 +28,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
$app->load('aps_guicontroller');
// Check the module permissions
interface/web/sites/aps_install_package.php
@@ -28,8 +28,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//require_once('classes/class.guicontroller.php');
$app->load('aps_guicontroller');
@@ -43,7 +43,7 @@
// Load the language file
$lngfile = 'lib/lang/'.$_SESSION['s']['language'].'_aps.lng';
require_once($lngfile);
require_once $lngfile;
$app->tpl->setVar($wb);
$app->load_language_file('web/sites/'.$lngfile);
interface/web/sites/aps_installedpackages_list.php
@@ -28,8 +28,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//require_once('classes/class.base.php'); // for constants
$app->load('aps_base');
interface/web/sites/aps_packagedetails_show.php
@@ -28,8 +28,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//require_once('classes/class.guicontroller.php');
$app->load('aps_guicontroller');
@@ -43,7 +43,7 @@
// Load the language file
$lngfile = 'lib/lang/'.$_SESSION['s']['language'].'_aps.lng';
require_once($lngfile);
require_once $lngfile;
$app->tpl->setVar($wb);
$gui = new ApsGUIController($app);
interface/web/sites/aps_update_packagelist.php
@@ -27,8 +27,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('sites');
@@ -42,7 +42,7 @@
//* load language file
$lng_file = 'lib/lang/'.$_SESSION['s']['language'].'_aps_update_packagelist.lng';
include($lng_file);
include $lng_file;
$app->tpl->setVar($wb);
interface/web/sites/cron_del.php
@@ -40,8 +40,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('sites');
@@ -56,6 +56,7 @@
        
        if($app->tform->checkPerm($this->id,'d') == false) $app->error($app->lng('error_no_delete_permission'));
    }
}
$page = new page_action;
interface/web/sites/cron_edit.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('sites');
interface/web/sites/cron_list.php
@@ -1,6 +1,6 @@
<?php
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/sites/database_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('sites');
@@ -54,6 +54,7 @@
        $app->uses('sites_database_plugin');
        //$app->sites_database_plugin->processDatabaseDelete($this->id);
    }
}
$page = new page_action;
interface/web/sites/database_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('sites');
interface/web/sites/database_list.php
@@ -28,8 +28,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/sites/database_phpmyadmin.php
@@ -28,8 +28,8 @@
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('sites');
interface/web/sites/database_user_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('sites');
@@ -75,6 +75,7 @@
            $app->db->datalogUpdate('web_database','database_ro_user_id=NULL','database_id', $rec['database_id']);
        }
    }
}
$page = new page_action;
interface/web/sites/database_user_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('sites');
interface/web/sites/database_user_list.php
@@ -28,8 +28,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/sites/form/cron.tform.php
@@ -55,9 +55,9 @@
    'width'     => 100,
    'template'     => "templates/cron_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'server_id' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'SELECT',
@@ -178,9 +178,9 @@
            'default'    => 'y',
            'value'        => array(0 => 'n',1 => 'y')
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
interface/web/sites/form/database.tform.php
@@ -60,9 +60,9 @@
    'width'     => 100,
    'template'     => "templates/database_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'server_id' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'SELECT',
@@ -167,9 +167,9 @@
          'width'   => '60',
          'searchable' => 2
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
interface/web/sites/form/database_user.tform.php
@@ -60,9 +60,9 @@
    'width'     => 100,
    'template'     => "templates/database_user_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'server_id' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'SELECT',
@@ -108,9 +108,9 @@
            'width'        => '30',
            'maxlength'    => '255'
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
interface/web/sites/form/ftp_user.tform.php
@@ -60,9 +60,9 @@
    'width'     => 100,
    'template'     => "templates/ftp_user_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'server_id' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'SELECT',
@@ -137,9 +137,9 @@
            'default'    => 'y',
            'value'        => array(0 => 'n',1 => 'y')
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
@@ -150,9 +150,9 @@
    'width'     => 100,
    'template'  => "templates/ftp_user_advanced.htm",
    'fields'    => array (
    ##################################
    # Begin Datatable fields
    ##################################
            //#################################
            // Begin Datatable fields
            //#################################
        'uid' => array (
            'datatype'  => 'VARCHAR',
            'formtype'  => 'TEXT',
@@ -226,9 +226,9 @@
            'width'     => '7',
            'maxlength' => '7'
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
            //#################################
            // ENDE Datatable fields
            //#################################
    )
);
@@ -239,9 +239,9 @@
    'width'     => 100,
    'template'  => "templates/ftp_user_advanced_client.htm",
    'fields'    => array (
    ##################################
    # Begin Datatable fields
    ##################################
            //#################################
            // Begin Datatable fields
            //#################################
        'dir' => array (
            'datatype'  => 'VARCHAR',
            'formtype'  => 'TEXT',
@@ -257,9 +257,9 @@
            'width'     => '30',
            'maxlength' => '255'
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
            //#################################
            // ENDE Datatable fields
            //#################################
    )
);
interface/web/sites/form/shell_user.tform.php
@@ -60,9 +60,9 @@
    'width'     => 100,
    'template'     => "templates/shell_user_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'server_id' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'SELECT',
@@ -148,9 +148,9 @@
            'value'        => '',
            'maxlength'    => '600'
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
@@ -161,9 +161,9 @@
    'width'     => 100,
    'template'     => "templates/shell_user_advanced.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
            //#################################
            // Begin Datatable fields
            //#################################
        'puser' => array (
            'datatype'    => 'VARCHAR',
            'formtype'    => 'TEXT',
@@ -205,9 +205,9 @@
            'width'        => '30',
            'maxlength'    => '255'
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
            //#################################
            // ENDE Datatable fields
            //#################################
    )
);
interface/web/sites/form/web_aliasdomain.tform.php
@@ -60,9 +60,9 @@
    'width'     => 100,
    'template'     => "templates/web_aliasdomain_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'server_id' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'SELECT',
@@ -153,9 +153,9 @@
            'default'    => 'y',
            'value'        => array(0 => 'n',1 => 'y')
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
@@ -167,9 +167,9 @@
    'template'     => "templates/web_aliasdomain_advanced.htm",
    'readonly'    => false,
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
            //#################################
            // Begin Datatable fields
            //#################################
        'proxy_directives' => array (
            'datatype'    => 'TEXT',
            'formtype'    => 'TEXT',
@@ -178,9 +178,9 @@
            'width'        => '30',
            'maxlength'    => '255'
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
            //#################################
            // ENDE Datatable fields
            //#################################
    )
);
interface/web/sites/form/web_domain.tform.php
@@ -78,9 +78,9 @@
    'template'     => "templates/web_domain_edit.htm",
    'readonly'    => $web_domain_edit_readonly,
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'server_id' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'SELECT',
@@ -275,9 +275,9 @@
            'default'    => 'y',
            'value'        => array(0 => 'n',1 => 'y')
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
@@ -288,9 +288,9 @@
    'template'     => "templates/web_domain_redirect.htm",
    'readonly'    => false,
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'redirect_type' => array (
            'datatype'    => 'VARCHAR',
            'formtype'    => 'SELECT',
@@ -323,9 +323,9 @@
            'width'        => '30',
            'maxlength'    => '255'
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
@@ -336,9 +336,9 @@
    'template'     => "templates/web_domain_ssl.htm",
    'readonly'    => false,
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
            //#################################
            // Begin Datatable fields
            //#################################
        'ssl_state' => array (
            'datatype'    => 'VARCHAR',
            'formtype'    => 'TEXT',
@@ -458,9 +458,9 @@
            'default'    => '',
            'value'        => array('' => 'none_txt', 'save' => 'save_certificate_txt', 'create' => 'create_certificate_txt','del' => 'delete_certificate_txt')
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
            //#################################
            // ENDE Datatable fields
            //#################################
    )
);
}
@@ -472,9 +472,9 @@
    'template'     => "templates/web_domain_stats.htm",
    'readonly'    => false,
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'stats_password' => array (
            'datatype'    => 'VARCHAR',
            'formtype'    => 'PASSWORD',
@@ -490,9 +490,9 @@
            'default'    => 'webalizer',
            'value'        => array('webalizer' => 'Webalizer', 'awstats' => 'AWStats')
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
@@ -505,9 +505,9 @@
    'template'     => "templates/web_domain_backup.htm",
    'readonly'    => false,
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'backup_interval' => array (
            'datatype'    => 'VARCHAR',
            'formtype'    => 'SELECT',
@@ -520,9 +520,9 @@
            'default'    => '',
            'value'        => array('1' => '1', '2' => '2', '3' => '3', '4' => '4', '5' => '5', '6' => '6', '7' => '7', '8' => '8', '9' => '9', '10' => '10')
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    ),
    'plugins' => array (
         'backup_records' => array (
@@ -543,9 +543,9 @@
    'template'     => "templates/web_domain_advanced.htm",
    'readonly'    => false,
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
            //#################################
            // Begin Datatable fields
            //#################################
        'document_root' => array (
            'datatype'    => 'VARCHAR',
            'formtype'    => 'TEXT',
@@ -717,9 +717,9 @@
            'width'        => '30',
            'maxlength'    => '255'
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
            //#################################
            // ENDE Datatable fields
            //#################################
    )
);
interface/web/sites/form/web_folder.tform.php
@@ -55,9 +55,9 @@
    'width'     => 100,
    'template'     => "templates/web_folder_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'server_id' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'SELECT',
@@ -98,9 +98,9 @@
            'default'    => 'y',
            'value'        => array(0 => 'n',1 => 'y')
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
interface/web/sites/form/web_folder_user.tform.php
@@ -55,9 +55,9 @@
    'width'     => 100,
    'template'     => "templates/web_folder_user_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'server_id' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'SELECT',
@@ -110,9 +110,9 @@
            'default'    => 'y',
            'value'        => array(0 => 'n',1 => 'y')
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
interface/web/sites/form/web_subdomain.tform.php
@@ -60,9 +60,9 @@
    'width'     => 100,
    'template'     => "templates/web_subdomain_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'server_id' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'SELECT',
@@ -137,9 +137,9 @@
            'default'    => 'y',
            'value'        => array(0 => 'n',1 => 'y')
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
@@ -151,9 +151,9 @@
    'template'     => "templates/web_subdomain_advanced.htm",
    'readonly'    => false,
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
            //#################################
            // Begin Datatable fields
            //#################################
        'proxy_directives' => array (
            'datatype'    => 'TEXT',
            'formtype'    => 'TEXT',
@@ -162,9 +162,9 @@
            'width'        => '30',
            'maxlength'    => '255'
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
            //#################################
            // ENDE Datatable fields
            //#################################
    )
);
interface/web/sites/form/web_vhost_subdomain.tform.php
@@ -70,9 +70,9 @@
    'template'     => "templates/web_vhost_subdomain_edit.htm",
    'readonly'    => false,
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'server_id' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'SELECT',
@@ -265,9 +265,9 @@
            'default'    => 'y',
            'value'        => array(0 => 'n',1 => 'y')
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
@@ -278,9 +278,9 @@
    'template'     => "templates/web_vhost_subdomain_redirect.htm",
    'readonly'    => false,
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'redirect_type' => array (
            'datatype'    => 'VARCHAR',
            'formtype'    => 'SELECT',
@@ -313,9 +313,9 @@
            'width'        => '30',
            'maxlength'    => '255'
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
@@ -326,9 +326,9 @@
    'template'     => "templates/web_vhost_subdomain_ssl.htm",
    'readonly'    => false,
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
            //#################################
            // Begin Datatable fields
            //#################################
        'ssl_state' => array (
            'datatype'    => 'VARCHAR',
            'formtype'    => 'TEXT',
@@ -448,9 +448,9 @@
            'default'    => '',
            'value'        => array('' => 'none_txt', 'save' => 'save_certificate_txt', 'create' => 'create_certificate_txt','del' => 'delete_certificate_txt')
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
            //#################################
            // ENDE Datatable fields
            //#################################
    )
);
}
@@ -462,9 +462,9 @@
    'template'     => "templates/web_vhost_subdomain_stats.htm",
    'readonly'    => false,
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'stats_password' => array (
            'datatype'    => 'VARCHAR',
            'formtype'    => 'PASSWORD',
@@ -480,9 +480,9 @@
            'default'    => 'webalizer',
            'value'        => array('webalizer' => 'Webalizer', 'awstats' => 'AWStats')
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
@@ -495,9 +495,9 @@
    'template'     => "templates/web_vhost_subdomain_backup.htm",
    'readonly'    => false,
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'backup_interval' => array (
            'datatype'    => 'VARCHAR',
            'formtype'    => 'SELECT',
@@ -510,9 +510,9 @@
            'default'    => '',
            'value'        => array('1' => '1', '2' => '2', '3' => '3', '4' => '4', '5' => '5', '6' => '6', '7' => '7', '8' => '8', '9' => '9', '10' => '10')
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    ),
    'plugins' => array (
         'backup_records' => array (
@@ -533,9 +533,9 @@
    'template'     => "templates/web_vhost_subdomain_advanced.htm",
    'readonly'    => false,
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
            //#################################
            // Begin Datatable fields
            //#################################
        'document_root' => array (
            'datatype'    => 'VARCHAR',
            'formtype'    => 'TEXT',
@@ -707,9 +707,9 @@
            'width'        => '30',
            'maxlength'    => '255'
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
            //#################################
            // ENDE Datatable fields
            //#################################
    )
);
interface/web/sites/form/webdav_user.tform.php
@@ -55,9 +55,9 @@
    'width'     => 100,
    'template'     => "templates/webdav_user_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'server_id' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'SELECT',
@@ -127,9 +127,9 @@
            'width'        => '30',
            'maxlength'    => '255'
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
?>
interface/web/sites/ftp_user_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('sites');
interface/web/sites/ftp_user_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('sites');
@@ -203,6 +203,7 @@
        }
        
    }
}
$page = new page_action;
interface/web/sites/ftp_user_list.php
@@ -28,8 +28,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/sites/lib/admin.conf.php
interface/web/sites/lib/module.conf.php
@@ -108,7 +108,7 @@
// CMD menu
if($app->auth->get_client_limit($userid,'shell_user') != 0 OR $app->auth->get_client_limit($userid,'cron') != 0)
if($app->auth->get_client_limit($userid, 'shell_user') != 0 or $app->auth->get_client_limit($userid, 'cron') != 0)
{
$items=array();
interface/web/sites/lib/remote.conf.php
interface/web/sites/list/aps_availablepackages.list.php
interface/web/sites/list/aps_installedpackages.list.php
interface/web/sites/list/cron.list.php
interface/web/sites/list/database.list.php
interface/web/sites/list/database_user.list.php
interface/web/sites/list/ftp_user.list.php
interface/web/sites/list/shell_user.list.php
interface/web/sites/list/user_quota_stats.list.php
interface/web/sites/list/web_aliasdomain.list.php
interface/web/sites/list/web_domain.list.php
interface/web/sites/list/web_folder.list.php
interface/web/sites/list/web_folder_user.list.php
interface/web/sites/list/web_sites_stats.list.php
interface/web/sites/list/web_subdomain.list.php
interface/web/sites/list/web_vhost_subdomain.list.php
interface/web/sites/list/webdav_user.list.php
interface/web/sites/shell_user_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('sites');
interface/web/sites/shell_user_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('sites');
@@ -210,6 +210,7 @@
        
        
    }
}
$page = new page_action;
interface/web/sites/shell_user_list.php
@@ -28,8 +28,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/sites/user_quota_stats.php
@@ -1,6 +1,6 @@
<?php
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
@@ -93,6 +93,7 @@
        $rec['id'] = $rec[$this->idx_key];
        return $rec;
    }
}
$list = new list_action;
interface/web/sites/web_aliasdomain_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('sites');
interface/web/sites/web_aliasdomain_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('sites');
interface/web/sites/web_aliasdomain_list.php
@@ -28,8 +28,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/sites/web_domain_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('sites');
@@ -116,6 +116,7 @@
            $app->db->datalogDelete('web_folder','web_folder_id',$rec['web_folder_id']);
        }
    }
}
$page = new page_action;
interface/web/sites/web_domain_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('sites');
interface/web/sites/web_domain_list.php
@@ -28,8 +28,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/sites/web_folder_del.php
@@ -40,8 +40,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('sites');
@@ -62,6 +62,7 @@
        }
        unset($records);
    }
}
$page = new page_action;
interface/web/sites/web_folder_edit.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('sites');
interface/web/sites/web_folder_list.php
@@ -1,6 +1,6 @@
<?php
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/sites/web_folder_user_del.php
@@ -40,8 +40,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('sites');
interface/web/sites/web_folder_user_edit.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('sites');
@@ -63,6 +63,7 @@
        
        parent::onSubmit();
    }
}
$page = new page_action;
interface/web/sites/web_folder_user_list.php
@@ -1,6 +1,6 @@
<?php
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/sites/web_sites_stats.php
@@ -1,6 +1,6 @@
<?php
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
@@ -165,6 +165,7 @@
        $sql = 'SELECT '.$select.$extselect.' FROM '.$app->listform->listDef['table'].($app->listform->listDef['additional_tables'] != ''? ','.$app->listform->listDef['additional_tables'] : '')."$join WHERE $sql_where $order_by_sql $limit_sql";
        return $sql;
    }
}
$list = new list_action;
interface/web/sites/web_subdomain_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('sites');
interface/web/sites/web_subdomain_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('sites');
interface/web/sites/web_subdomain_list.php
@@ -28,8 +28,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/sites/web_vhost_subdomain_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('sites');
@@ -64,6 +64,7 @@
        }
    }
}
$page = new page_action;
interface/web/sites/web_vhost_subdomain_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('sites');
interface/web/sites/web_vhost_subdomain_list.php
@@ -28,8 +28,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/sites/webdav_user_del.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('sites');
interface/web/sites/webdav_user_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('sites');
@@ -185,6 +185,7 @@
    function onAfterUpdate() {
        global $app, $conf;
    }
}
$page = new page_action;
interface/web/sites/webdav_user_list.php
@@ -27,8 +27,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/tools/dns_import_tupa.php
@@ -27,8 +27,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('admin');
interface/web/tools/form/interface_settings.tform.php
@@ -138,9 +138,9 @@
    'width'     => 80,
    'template'     => 'templates/interface_settings.htm',
    'fields'     => array (
    ##################################
    # Beginn Datenbankfelder
    ##################################
        //#################################
        // Beginn Datenbankfelder
        //#################################
                'startmodule' => array (
            'datatype'    => 'VARCHAR',
            'formtype'    => 'SELECT',
@@ -167,9 +167,9 @@
                            'rows'    => '',
                            'cols'    => ''
                    )
    ##################################
    # ENDE Datenbankfelder
    ##################################
        //#################################
        // ENDE Datenbankfelder
        //#################################
    )
);
interface/web/tools/form/tpl_default.tform.php
@@ -125,9 +125,9 @@
    'width'     => 80,
    'template'     => 'templates/interface_settings.htm',
    'fields'     => array (
    ##################################
    # Beginn Datenbankfelder
    ##################################
        //#################################
        // Beginn Datenbankfelder
        //#################################
                'startmodule' => array (
            'datatype'    => 'VARCHAR',
            'formtype'    => 'SELECT',
@@ -173,9 +173,9 @@
                            'rows'    => '',
                            'cols'    => ''
                    )
    ##################################
    # ENDE Datenbankfelder
    ##################################
        //#################################
        // ENDE Datenbankfelder
        //#################################
    )
);
interface/web/tools/form/user_settings.tform.php
@@ -98,9 +98,9 @@
    'width'     => 80,
    'template'     => 'templates/user_settings.htm',
    'fields'     => array (
    ##################################
    # Beginn Datenbankfelder
    ##################################
        //#################################
        // Beginn Datenbankfelder
        //#################################
        'passwort' => array (
            'datatype'    => 'VARCHAR',
            'formtype'    => 'PASSWORD',
@@ -134,9 +134,9 @@
            'rows'        => '',
            'cols'        => ''
        )
    ##################################
    # ENDE Datenbankfelder
    ##################################
        //#################################
        // ENDE Datenbankfelder
        //#################################
    )
);
interface/web/tools/import_ispconfig.php
@@ -27,8 +27,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('admin');
@@ -45,7 +45,7 @@
//* load language file
$lng_file = 'lib/lang/'.$_SESSION['s']['language'].'_import_ispconfig.lng';
include($lng_file);
include $lng_file;
$app->tpl->setVar($wb);
if(isset($_POST['connected'])) {
@@ -136,7 +136,7 @@
$app->tpl_defaults();
$app->tpl->pparse();
###########################################################
//##########################################################
function start_domain_import($mail_domain) {
    global $app, $conf, $client, $msg, $error, $remote_session_id;
interface/web/tools/import_plesk.php
@@ -30,15 +30,17 @@
global $app, $conf;
require_once('../../lib/config.inc.php');
require_once '../../lib/config.inc.php';
require_once('../../lib/app.inc.php');
require_once '../../lib/app.inc.php';
/**
 *
 * @param db $exdb
 * @return array 
 */
function read_limit_data($exdb) {
    $limits = array();
    // Limits
@@ -73,6 +75,7 @@
    return $limits;
}
/**
 *
 * @param array $limits
@@ -106,7 +109,7 @@
}
function yes_no($num, $reverse = false) {
    return (($num == 1 && !$reverse) || ($num != 1 && $reverse) ? 'y' : 'n');
    return ($num == 1 && !$reverse) || ($num != 1 && $reverse) ? 'y' : 'n';
}
// taken from the web_domain_edit.php
interface/web/tools/index.php
@@ -30,8 +30,8 @@
global $app, $conf;
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('tools');
@@ -42,7 +42,7 @@
$app->tpl->setInclude('content_tpl', 'templates/index.htm');
$lng_file = 'lib/lang/'.$_SESSION['s']['language'].'_index.lng';
include($lng_file);
include $lng_file;
$app->tpl->setVar($wb);
interface/web/tools/interface_settings.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('tools');
@@ -118,6 +118,7 @@
    function onAfterInsert() {
        $this->onAfterUpdate();
    }
    function onAfterUpdate() {
        if($this->_theme_changed == true) {
            // not the best way, but it works
interface/web/tools/lib/interface.d/tpl_default.menu.php
interface/web/tools/lib/menu.d/import.menu.php
interface/web/tools/lib/menu.d/resync.menu.php
interface/web/tools/lib/menu.d/statistics.menu.php
interface/web/tools/lib/module.conf.php
@@ -32,7 +32,7 @@
                    'link'    => 'tools/interface_settings.php',
                    'html_id'   => 'interface_settings');
if(file_exists(ISPC_WEB_PATH.'/tools/lib/interface.d/tpl_' . $_SESSION['s']['user']['app_theme'] . '.menu.php')) include_once(ISPC_WEB_PATH.'/tools/lib/interface.d/tpl_' . $_SESSION['s']['user']['app_theme'] . '.menu.php');
if(file_exists(ISPC_WEB_PATH.'/tools/lib/interface.d/tpl_' . $_SESSION['s']['user']['app_theme'] . '.menu.php')) include_once ISPC_WEB_PATH.'/tools/lib/interface.d/tpl_' . $_SESSION['s']['user']['app_theme'] . '.menu.php';
                  
$module['nav'][] = array(    'title'    => 'Interface',
                                'open'     => 1,
interface/web/tools/resync.php
@@ -27,8 +27,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('admin');
@@ -45,7 +45,7 @@
//* load language file
$lng_file = 'lib/lang/'.$_SESSION['s']['language'].'_resync.lng';
include($lng_file);
include $lng_file;
$app->tpl->setVar($wb);
//* Resyncing websites
interface/web/tools/tpl_default.php
@@ -30,8 +30,8 @@
global $app, $conf;
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('tools');
@@ -42,7 +42,7 @@
$app->tpl->setInclude('content_tpl', 'templates/tpl_default.htm');
$lng_file = 'lib/lang/'.$_SESSION['s']['language'].'_tpl_default.lng';
include($lng_file);
include $lng_file;
$app->tpl->setVar($wb);
interface/web/tools/user_settings.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('tools');
interface/web/vm/ajax_get_ip.php
@@ -28,8 +28,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('vm');
interface/web/vm/form/openvz_ip.tform.php
@@ -60,9 +60,9 @@
    'width'     => 100,
    'template'     => "templates/openvz_ip_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'server_id' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'SELECT',
@@ -108,9 +108,9 @@
            'default'    => 'n',
            'value'        => array(0 => 'n',1 => 'y')
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
interface/web/vm/form/openvz_ostemplate.tform.php
@@ -60,9 +60,9 @@
    'width'     => 100,
    'template'     => "templates/openvz_ostemplate_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'template_name' => array (
            'datatype'    => 'VARCHAR',
            'formtype'    => 'TEXT',
@@ -122,9 +122,9 @@
            'cols'        => '30',
            'searchable' => 2
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
interface/web/vm/form/openvz_template.tform.php
@@ -60,9 +60,9 @@
    'width'     => 100,
    'template'     => "templates/openvz_template_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'template_name' => array (
            'datatype'    => 'VARCHAR',
            'formtype'    => 'TEXT',
@@ -195,9 +195,9 @@
            'rows'        => '10',
            'cols'        => '30'
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
@@ -206,9 +206,9 @@
    'width'     => 100,
    'template'     => "templates/openvz_template_advanced_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'numproc' => array (
            'datatype'    => 'VARCHAR',
            'formtype'    => 'TEXT',
@@ -459,9 +459,9 @@
            'width'        => '30',
            'maxlength'    => '255'
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
interface/web/vm/form/openvz_vm.tform.php
@@ -60,9 +60,9 @@
    'width'     => 100,
    'template'     => "templates/openvz_vm_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
        //#################################
        // Begin Datatable fields
        //#################################
        'server_id' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'SELECT',
@@ -176,9 +176,9 @@
            'cols'        => '30',
            'searchable' => 2
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
        //#################################
        // ENDE Datatable fields
        //#################################
    )
);
@@ -188,9 +188,9 @@
    'width'     => 100,
    'template'     => "templates/openvz_vm_advanced_edit.htm",
    'fields'     => array (
    ##################################
    # Begin Datatable fields
    ##################################
            //#################################
            // Begin Datatable fields
            //#################################
        'veid' => array (
            'datatype'    => 'INTEGER',
            'formtype'    => 'TEXT',
@@ -306,9 +306,9 @@
            'width'        => '30',
            'maxlength'    => '255'
        ),
    ##################################
    # ENDE Datatable fields
    ##################################
            //#################################
            // ENDE Datatable fields
            //#################################
    )
);
}
interface/web/vm/lib/admin.conf.php
interface/web/vm/lib/module.conf.php
interface/web/vm/lib/remote.conf.php
interface/web/vm/list/openvz_ip.list.php
interface/web/vm/list/openvz_ostemplate.list.php
interface/web/vm/list/openvz_template.list.php
interface/web/vm/list/openvz_vm.list.php
interface/web/vm/openvz_action.php
@@ -4,8 +4,8 @@
All rights reserved.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('vm');
@@ -29,7 +29,7 @@
    
//* load language file 
$lng_file = 'lib/lang/'.$_SESSION['s']['language'].'_openvz_action.lng';
include_once($lng_file);
include_once $lng_file;
$app->tpl->setVar($wb);
    
$app->tpl->setVar('id',$vm_id);
interface/web/vm/openvz_ip_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('vm');
interface/web/vm/openvz_ip_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('vm');
interface/web/vm/openvz_ip_list.php
@@ -28,8 +28,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/vm/openvz_ostemplate_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('vm');
interface/web/vm/openvz_ostemplate_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('vm');
interface/web/vm/openvz_ostemplate_list.php
@@ -28,8 +28,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/vm/openvz_template_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('vm');
interface/web/vm/openvz_template_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('vm');
interface/web/vm/openvz_template_list.php
@@ -28,8 +28,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
interface/web/vm/openvz_vm_del.php
@@ -39,8 +39,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('vm');
interface/web/vm/openvz_vm_edit.php
@@ -38,8 +38,8 @@
* End Form configuration
******************************************/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
//* Check permissions for module
$app->auth->check_module_permissions('vm');
interface/web/vm/openvz_vm_list.php
@@ -28,8 +28,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
remoting_client/examples/client_add.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/client_change_password.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/client_delete.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/client_delete_everything.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/client_get.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/client_get_by_username.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/client_get_id.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/client_get_sites_by_user.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/client_templates_get_all.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/client_update.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/dns_a_add.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/dns_a_delete.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/dns_a_get.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/dns_a_update.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/dns_aaaa_add.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/dns_aaaa_delete.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/dns_aaaa_get.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/dns_aaaa_update.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/dns_alias_add.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/dns_alias_delete.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/dns_alias_get.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/dns_alias_update.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/dns_cname_add.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/dns_cname_delete.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/dns_cname_get.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/dns_cname_update.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/dns_hinfo_add.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/dns_hinfo_delete.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/dns_hinfo_get.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/dns_hinfo_update.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/dns_mx_add.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/dns_mx_delete.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/dns_mx_get.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/dns_mx_update.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/dns_ns_add.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/dns_ns_delete.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/dns_ns_get.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/dns_ns_update.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/dns_ptr_add.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/dns_ptr_delete.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/dns_ptr_get.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/dns_ptr_update.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/dns_rp_add.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/dns_rp_delete.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/dns_rp_get.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/dns_rp_update.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/dns_rr_get_all_by_zone.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/dns_srv_add.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/dns_srv_delete.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/dns_srv_get.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/dns_srv_update.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/dns_txt_add.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/dns_txt_delete.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/dns_txt_get.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/dns_txt_update.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/dns_zone_add.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/dns_zone_delete.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/dns_zone_get.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/dns_zone_get_by_user.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/dns_zone_set_status.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/dns_zone_update.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/domains_domain_add.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/domains_domain_delete.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/domains_domain_get.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/domains_get_all_by_user.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/get_function_list.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/login.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/logout.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_alias_add.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_alias_delete.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_alias_get.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_alias_update.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_blacklist_add.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_blacklist_delete.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_blacklist_get.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_blacklist_update.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_catchall_add.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_catchall_delete.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_catchall_get.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_catchall_update.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_domain_add.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_domain_delete.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_domain_get.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_domain_get_by_domain.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_domain_set_status.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_domain_update.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_fetchmail_add.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_fetchmail_delete.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_fetchmail_get.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_fetchmail_update.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_filter_add.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_filter_delete.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_filter_get.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_filter_update.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_forward_add.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_forward_delete.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_forward_get.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_forward_update.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_mailinglist_add.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_mailinglist_delete.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_mailinglist_get.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_mailinglist_update.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_policy_add.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_policy_delete.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_policy_get.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_policy_update.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_spamfilter_blacklist_add.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_spamfilter_blacklist_delete.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_spamfilter_blacklist_get.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_spamfilter_blacklist_update.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_spamfilter_user_add.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_spamfilter_user_delete.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_spamfilter_user_get.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_spamfilter_user_update.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_spamfilter_whitelist_add.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_spamfilter_whitelist_delete.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_spamfilter_whitelist_get.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_spamfilter_whitelist_update.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_transport_add.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_transport_delete.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_transport_get.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_transport_update.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_user_add.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_user_delete.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_user_filter_add.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_user_filter_delete.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_user_filter_get.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_user_filter_update.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_user_get.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_user_update.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_whitelist_add.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_whitelist_delete.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_whitelist_get.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/mail_whitelist_update.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/openvz_get_free_ip.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/openvz_ip_add.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/openvz_ip_delete.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/openvz_ip_get.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/openvz_ip_update.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/openvz_ostemplate_add.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/openvz_ostemplate_delete.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/openvz_ostemplate_get.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/openvz_ostemplate_update.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/openvz_template_add.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/openvz_template_delete.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/openvz_template_get.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/openvz_template_update.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/openvz_vm_add.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/openvz_vm_add_from_template.php
remoting_client/examples/openvz_vm_delete.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/openvz_vm_get.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/openvz_vm_get_by_client.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/openvz_vm_update.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/server_get.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/server_get_serverid_by_ip.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/sites_cron_add.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/sites_cron_delete.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/sites_cron_get.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/sites_cron_update.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/sites_database_add.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/sites_database_delete.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/sites_database_get.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/sites_database_get_all_by_user.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/sites_database_update.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/sites_database_user_add.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/sites_database_user_delete.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/sites_database_user_get.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/sites_database_user_update.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/sites_ftp_user_add.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/sites_ftp_user_delete.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/sites_ftp_user_get.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/sites_ftp_user_update.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/sites_shell_user_add.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/sites_shell_user_delete.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/sites_shell_user_get.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/sites_shell_user_update.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/sites_web_aliasdomain_add.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/sites_web_aliasdomain_delete.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/sites_web_aliasdomain_get.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/sites_web_aliasdomain_update.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/sites_web_domain_add.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/sites_web_domain_delete.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/sites_web_domain_get.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/sites_web_domain_set_status.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/sites_web_domain_update.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/sites_web_subdomain_add.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/sites_web_subdomain_delete.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/sites_web_subdomain_get.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/sites_web_subdomain_update.php
@@ -1,6 +1,6 @@
<?php
require('soap_config.php');
require 'soap_config.php';
$client = new SoapClient(null, array('location' => $soap_location,
remoting_client/examples/soap-database-add.php
@@ -45,4 +45,3 @@
}
?>
server/cron_daily.php
@@ -29,8 +29,8 @@
*/
define('SCRIPT_PATH', dirname($_SERVER["SCRIPT_FILENAME"]));
require(SCRIPT_PATH."/lib/config.inc.php");
require(SCRIPT_PATH."/lib/app.inc.php");
require SCRIPT_PATH."/lib/config.inc.php";
require SCRIPT_PATH."/lib/app.inc.php";
set_time_limit(0);
ini_set('error_reporting', E_ALL & ~E_NOTICE);
@@ -43,9 +43,9 @@
$app->uses('ini_parser,file,services,getconf,system');
#######################################################################################################
//######################################################################################################
// store the mailbox statistics in the database
#######################################################################################################
//######################################################################################################
$parse_mail_log = false;
$sql = "SELECT mailuser_id,maildir FROM mail_user WHERE server_id = ".$conf['server_id'];
@@ -244,9 +244,9 @@
    if($last_line) file_put_contents($state_file, $last_line);
}
#######################################################################################################
//######################################################################################################
// Create webalizer statistics
#######################################################################################################
//######################################################################################################
function setConfigVar( $filename, $varName, $varValue, $append = 0 ) {
    if($lines = @file($filename)) {
@@ -319,9 +319,9 @@
    exec("$webalizer -c $webalizer_conf -n $domain -s $domain -r $domain -q -T -p -o $statsdir $logfile");
}
#######################################################################################################
//######################################################################################################
// Create awstats statistics
#######################################################################################################
//######################################################################################################
$sql = "SELECT domain_id, domain, document_root, web_folder, type, system_user, system_group, parent_domain_id FROM web_domain WHERE (type = 'vhost' or type = 'vhostsubdomain') and stats_type = 'awstats' AND server_id = ".$conf['server_id'];
$records = $app->db->queryAllRecords($sql);
@@ -437,15 +437,15 @@
}
#######################################################################################################
//######################################################################################################
// Make the web logfiles directories world readable to enable ftp access
#######################################################################################################
//######################################################################################################
if(is_dir('/var/log/ispconfig/httpd')) exec('chmod +r /var/log/ispconfig/httpd/*');
#######################################################################################################
//######################################################################################################
// Manage and compress web logfiles and create traffic statistics
#######################################################################################################
//######################################################################################################
$sql = "SELECT domain_id, domain, type, document_root, web_folder, parent_domain_id FROM web_domain WHERE (type = 'vhost' or type = 'vhostsubdomain') AND server_id = ".$conf['server_id'];
$records = $app->db->queryAllRecords($sql);
@@ -531,9 +531,9 @@
}
unset($tmp_hostname);
#######################################################################################################
//######################################################################################################
// Rotate the ispconfig.log file
#######################################################################################################
//######################################################################################################
// rotate the ispconfig.log when it exceeds a size of 10 MB
$logfile = $conf['ispconfig_log_dir'].'/ispconfig.log';
@@ -556,9 +556,9 @@
    exec("cat /dev/null > $logfile");
}
#######################################################################################################
//######################################################################################################
// Cleanup website tmp directories
#######################################################################################################
//######################################################################################################
$sql = "SELECT domain_id, domain, document_root, system_user FROM web_domain WHERE server_id = ".$conf['server_id'];
$records = $app->db->queryAllRecords($sql);
@@ -572,12 +572,14 @@
    }
}
#######################################################################################################
//######################################################################################################
// Cleanup logs in master database (only the "master-server")
#######################################################################################################
//######################################################################################################
if ($app->dbmaster == $app->db) {
    /** 7 days */
    $tstamp = time() - (60*60*24*7);
    /*
@@ -642,9 +644,9 @@
    }
}
#########
//########
// function for sending notification emails
#########
//########
function send_notification_email($template, $placeholders, $recipients) {
    global $conf;
    
@@ -700,9 +702,9 @@
}
#######################################################################################################
//######################################################################################################
// enforce traffic quota (run only on the "master-server")
#######################################################################################################
//######################################################################################################
if ($app->dbmaster == $app->db) {
@@ -780,9 +782,9 @@
}
#######################################################################################################
//######################################################################################################
// send website quota warnings by email
#######################################################################################################
//######################################################################################################
if ($app->dbmaster == $app->db) {
@@ -927,9 +929,9 @@
}
#######################################################################################################
//######################################################################################################
// send mail quota warnings by email
#######################################################################################################
//######################################################################################################
if ($app->dbmaster == $app->db) {
@@ -1057,9 +1059,9 @@
}
#######################################################################################################
//######################################################################################################
// deactivate virtual servers (run only on the "master-server")
#######################################################################################################
//######################################################################################################
if ($app->dbmaster == $app->db) {
    $current_date = date('Y-m-d');
@@ -1077,9 +1079,9 @@
}
#######################################################################################################
//######################################################################################################
// Create website backups
#######################################################################################################
//######################################################################################################
$server_config = $app->getconf->get_server_config($conf['server_id'], 'server');
$backup_dir = $server_config['backup_dir'];
@@ -1215,7 +1217,7 @@
    $records = $app->db->queryAllRecords($sql);
    if(is_array($records)) {
        include('lib/mysql_clientdb.conf');
        include 'lib/mysql_clientdb.conf';
        foreach($records as $rec) {
server/lib/app.inc.php
@@ -69,7 +69,7 @@
            foreach($cl as $classname) {
                if(!@is_object($this->$classname)) {
                    if(is_file($conf['classpath'].'/'.$classname.'.inc.php') && (DEVSYSTEM ||  !is_link($conf['classpath'].'/'.$classname.'.inc.php'))) {
                        include_once($conf['classpath'].'/'.$classname.'.inc.php');
                        include_once $conf['classpath'].'/'.$classname.'.inc.php';
                        $this->$classname = new $classname;
                    }
                }
@@ -85,7 +85,7 @@
        if(is_array($cl)) {
            foreach($cl as $classname) {
                if(is_file($conf['classpath'].'/'.$classname.'.inc.php') && (DEVSYSTEM || !is_link($conf['classpath'].'/'.$classname.'.inc.php'))) {
                    include_once($conf['classpath'].'/'.$classname.'.inc.php');
                    include_once $conf['classpath'].'/'.$classname.'.inc.php';
                } else {
                    die('Unable to load: '.$conf['classpath'].'/'.$classname.'.inc.php');
                }
server/lib/classes/aps_base.inc.php
@@ -58,6 +58,8 @@
     * @param $interface_mode act in interface (true) or server mode (false)
     * @param $log_prefix a prefix to set before all log entries
     */
    public function __construct($app, $log_prefix = 'APS: ', $interface_mode = false)
    {
        $this->log_prefix = $log_prefix;
@@ -67,6 +69,8 @@
        $this->packages_dir = ISPC_ROOT_PATH.'/aps_packages';
        $this->interface_pkg_dir = ISPC_ROOT_PATH.'/web/sites/aps_meta_packages';
    }
    
    /**
     * Converts a given value to it's native representation in 1024 units
@@ -79,6 +83,8 @@
        $unit = array('Bytes', 'KB', 'MB', 'GB', 'TB');
        return @round($value/pow(1024, ($i = floor(log($value, 1024)))), 2).' '.$unit[$i];
    }
    
    /**
     * Determine a specific xpath from a given SimpleXMLElement handle. If the
@@ -99,5 +105,7 @@
        
        return $ret;
    }
}
?>
server/lib/classes/aps_installer.inc.php
@@ -27,7 +27,7 @@
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('aps_base.inc.php');
require_once 'aps_base.inc.php';
@set_time_limit(0);
@ignore_user_abort(1);
@@ -52,10 +52,14 @@
    * @param $app the application instance (db handle + log method)
    * @param $interface_mode act in interface (true) or server mode (false)
    */
    public function __construct($app, $interface_mode = false)
    {
        parent::__construct($app, 'APS installer: ', $interface_mode);
    }
    
    /**
     * Before the cron is executed, make sure all necessary options are set
@@ -75,12 +79,15 @@
            
            return true;
        }
        catch(Exception $e)
        {
            $app->log('Aborting execution because '.$e->getMessage(), 1);
            return false;
        }
    }
    
    /**
     * Get a file from a ZIP archive and either return it's content or
@@ -127,6 +134,7 @@
            $zip->close();
            
        }
        catch(Exception $e)
        {
            // The exception message is only interesting for debugging reasons
@@ -134,6 +142,8 @@
            return false;
        }
    }    
    
    /**
     * Extract the complete directory of a ZIP file
@@ -236,6 +246,8 @@
        }
    }    
    
    /**
     * Setup the environment with data for the install location
     * 
@@ -280,6 +292,8 @@
        $this->putenv[] = 'BASE_URL_HOST='.$this->domain;
        $this->putenv[] = 'BASE_URL_PATH='.$this->sublocation.'/';
    }    
    
    /**
     * Setup a database (if needed) and the appropriate environment variables
@@ -365,6 +379,8 @@
        $this->putenv[] = 'DB_'.$db_id.'_PORT=3306';
        $this->putenv[] = 'DB_'.$db_id.'_VERSION='.$mysqlver;
    }    
    
    /**
     * Extract all needed files from the package
@@ -463,6 +479,8 @@
        return true;
    }
    
    /**
     * Get all user config variables and set them to environment variables
     * 
@@ -490,6 +508,8 @@
            $this->putenv[] = 'SETTINGS_'.$data['name'].'='.$data['value'];
        }
    }
    
    /**
     * Fetch binary data from a given array
@@ -536,6 +556,8 @@
        }
        curl_multi_close($mh);
    }
    
    /**
     * The installation script should be executed
@@ -593,6 +615,7 @@
                    WHERE id = "'.$app->db->quote($task['instance_id']).'";');
            }
        }
        catch(Exception $e)
        {
            $app->dbmaster->query('UPDATE aps_instances SET instance_status = "'.INSTANCE_ERROR.'" 
@@ -603,6 +626,8 @@
        
        return true;
    }
    
    /**
     * Cleanup: Remove install scripts, remove tasks and update the database
@@ -615,6 +640,8 @@
        chdir($this->local_installpath);
        exec("rm -Rf ".escapeshellarg($this->local_installpath).'install_scripts');
    }    
    
    /**
     * The main method which performs the actual package installation
@@ -716,5 +743,7 @@
        
        unset($sxe);
    }
}
?>
server/lib/classes/db_mysql.inc.php
server/lib/classes/file.inc.php
@@ -287,4 +287,5 @@
    }
}
?>
server/lib/classes/getconf.inc.php
@@ -59,6 +59,7 @@
        }
        return ($section == '') ? $this->config['global'] : $this->config['global'][$section];
    }
}
?>
server/lib/classes/ini_parser.inc.php
server/lib/classes/mod_mail_base.inc.php
server/lib/classes/modules.inc.php
@@ -49,7 +49,7 @@
                while (($file = readdir($dh)) !== false) {
                    if($file != '.' && $file != '..' && substr($file,-8,8) == '.inc.php') {
                        $module_name = substr($file,0,-8);
                        include_once($modules_dir.$file);
                        include_once $modules_dir.$file;
                        if($this->debug) $app->log('Loading Module: '.$module_name,LOGLEVEL_DEBUG);
                        $app->loaded_modules[$module_name] = new $module_name;
                        $app->loaded_modules[$module_name]->onLoad();
@@ -246,7 +246,7 @@
        //* get the server_id of the local server
        $server_id = intval($conf["server_id"]);
        
        include_once (SCRIPT_PATH."/lib/remote_action.inc.php");
        include_once SCRIPT_PATH."/lib/remote_action.inc.php";
        
        //* SQL query to get all pending actions
        $sql = "SELECT action_id, action_type, action_param " .
server/lib/classes/monitor_tools.inc.php
@@ -370,6 +370,8 @@
        $server_id = intval($conf['server_id']);
        /** The type of the data */
        $type = 'server_load';
        /*
@@ -1911,6 +1913,7 @@
    }
    private function _getIntArray($line) {
        /** The array of float found */
        $res = array();
        /* First build a array from the line */
server/lib/classes/openvz_tools.inc.php
@@ -31,6 +31,8 @@
    /**
     * Checks, if the server ist a OpenVZ - Host
     */
    public function isOpenVzHost() {
        /*
         * if there is a "/proc/user_beanconters" we have OpenVz "in use"
@@ -145,5 +147,7 @@
        /* ready */
        return $res;
    }
}
?>
server/lib/classes/plugins.inc.php
@@ -62,7 +62,7 @@
                
                //** load the plugins
                foreach($tmp_plugins as $plugin_name => $file) {
                    include_once($plugins_dir.$file);
                    include_once $plugins_dir.$file;
                    if($this->debug) $app->log('Loading plugin: '.$plugin_name,LOGLEVEL_DEBUG);
                    $app->loaded_plugins[$plugin_name] = new $plugin_name;
                    $app->loaded_plugins[$plugin_name]->onLoad();
server/lib/classes/services.inc.php
@@ -79,4 +79,5 @@
    }
}
?>
server/lib/classes/system.inc.php
@@ -40,6 +40,8 @@
     *
     * @return system
     */
    public function system(){
        //global $go_info;
          //$this->server_id = $go_info['isp']['server_id'];
@@ -48,6 +50,8 @@
          $this->server_conf['shadow_datei'] = '/etc/shadow';
          $this->server_conf['group_datei'] = '/etc/group';
    }
    
    /**
     * Get the hostname from the server
@@ -76,6 +80,8 @@
          }
          return $hostname;
    }
    
    /**
     * Add an user to the system
@@ -118,6 +124,10 @@
      }
    }
    
    /**
     * Update users when someone edit it
     *
@@ -128,6 +138,10 @@
        //* Add the user again
          $this->adduser($user_username, $uid, $gid, $username, $homedir, $shell, $passwort);
    }
    
    /**
     * Lock the user
@@ -144,6 +158,8 @@
          $this->deluser($user_username);
          $this->adduser($user_username, $uid, $gid, $username, $homedir, $shell, $passwort);
    }
    /**
     * Delete a user from the system
     *
@@ -220,6 +236,10 @@
          }
    }
    
    /**
     * Add a usergroup to the system
     *
@@ -243,6 +263,10 @@
          }
    }
    
    /**
     * Update usersgroup in way to delete and add it again
     *
@@ -251,6 +275,10 @@
        $this->delgroup($group);
          $this->addgroup($group, $gid, $members);
    }
    
    /**
     * Delete a usergroup from the system
@@ -287,6 +315,8 @@
            return false;
          }
    }
    /**
     * Order usergroups
     *
@@ -356,6 +386,10 @@
          unset($arr);
    }
    
    /**
     * Find a user / group id
     *
@@ -424,6 +458,10 @@
          }
    }
    
    /**
     * Check if the users is really a user into the system
     *
@@ -443,6 +481,10 @@
          }
          return false;
    }
    
    /**
     * Check if the group is on this system
@@ -502,6 +544,10 @@
          return false;
    }
    
    /**
     * Get the groups of an user
     *
@@ -528,6 +574,10 @@
          return '';
    }
    
    /**
     * Get a user password
     *
@@ -550,6 +600,10 @@
            return false;
          }
    }
    
    /**
     * Get the user id from an user
@@ -574,6 +628,10 @@
          }
    }
    
    /**
     * Get the group id from an group
     *
@@ -596,6 +654,10 @@
            return false;
          }
    }
    
    /**
    * Return info about a group by name
@@ -625,6 +687,10 @@
            return posix_getgrnam($group);
        }
    }
    
    /**
     * Get all information from a user
@@ -657,6 +723,10 @@
            return false;
          }
    }
    
    /**
     * Edit the owner of a file
@@ -794,6 +864,10 @@
        return true;
    }
    
    /**
     * Add an user to a specific group
     *
@@ -922,6 +996,10 @@
          }
    }
    
    /**
     * Filter information from the commands
     *
@@ -972,6 +1050,10 @@
          }
    }
    
    /**
     * Strip content from fields
     *
@@ -994,6 +1076,10 @@
          }
    }
    
    /**
     * Get the content off a file
     *
@@ -1002,6 +1088,10 @@
        global $app;
          return $app->file->rf($file);
    }
    
    /**
     * Control services to restart etc
@@ -1078,6 +1168,10 @@
      return bindec($f1).'.'.bindec($f2).'.'.bindec($f3).'.'.bindec($f4);
    }
    
    /**
     * Make a broadcast address from an IP number in combination with netmask
     *
@@ -1092,6 +1186,10 @@
          list($f1,$f2,$f3,$f4) = explode('.', trim($broadcast_bin));
          return bindec($f1).'.'.bindec($f2).'.'.bindec($f3).'.'.bindec($f4);
    }
    
    /**
     * Get the network address information
@@ -1136,6 +1234,10 @@
            return false;
          }
    }
    
    /**
     * Configure the network settings from the system
@@ -1211,6 +1313,10 @@
      }
    }
    
    /**
     * Scan the trash for virusses infection
     *
@@ -1244,6 +1350,10 @@
          chown($datei,'admispconfig');
          chgrp($datei,'admispconfig');
    }
    
    /**
     * Get the current time
@@ -1616,4 +1726,5 @@
    }
}
?>
server/lib/classes/tpl.inc.php
@@ -14,8 +14,8 @@
if (!defined('vlibTemplateClassLoaded')) {
    define('vlibTemplateClassLoaded', 1);
       include_once ($conf['classpath'].'/tpl_error.inc.php');
       include_once ($conf['classpath'].'/tpl_ini.inc.php');
    include_once $conf['classpath'].'/tpl_error.inc.php';
    include_once $conf['classpath'].'/tpl_ini.inc.php';
    /**
     * vlibTemplate is a class used to seperate PHP and HTML.
@@ -28,6 +28,7 @@
     * @access public
     * @see vlibTemplate.html
     */
    class tpl {
@@ -158,11 +159,19 @@
        var $_debug = null;
        var $_cache = null;
        
        /** array which holds the dynamic Includes */
        var $_dyninclude = array();
    /*-----------------------------------------------------------------------------\
    |                           public functions                                   |
    \-----------------------------------------------------------------------------*/
        
        
        /**
@@ -194,6 +203,7 @@
            $this->_tmplfilename = $tfile;
            return true;
        }
        /**
         * FUNCTION: setVar
@@ -228,6 +238,10 @@
            return true;
        }
        
        /**
         * FUNCTION: setInclude
         *
@@ -240,7 +254,6 @@
         * @return boolean true/false
         * @access public
         */
        function setInclude($k, $v = null) {
            if(is_array($k)) {
                foreach($k as $key => $val) {
@@ -252,6 +265,7 @@
            
            return true;
        }
        /**
         * FUNCTION: unsetVar
@@ -276,6 +290,7 @@
            return true;
        }
        /**
         * FUNCTION: getVars
         *
@@ -288,6 +303,7 @@
            if (empty($this->_vars)) return false;
            return $this->_vars;
        }
        /**
         * FUNCTION: getVar
@@ -302,6 +318,7 @@
            if (empty($var) || !isset($this->_vars[$var])) return false;
            return $this->_vars[$var];
        }
        /**
         * FUNCTION: setContextVars
@@ -326,6 +343,7 @@
            return true;
        }
        /**
         * FUNCTION: setLoop
         *
@@ -347,6 +365,7 @@
            }
            return true;
        }
        /**
         * FUNCTION: setDbLoop [** EXPERIMENTAL **]
@@ -490,6 +509,7 @@
            */
        }
        /**
         * FUNCTION: newLoop
         *
@@ -509,6 +529,7 @@
                return false;
            }
        }
        /**
         * FUNCTION: addRow
@@ -535,6 +556,7 @@
                return false;
            }
        }
        /**
         * FUNCTION: addLoop
@@ -570,6 +592,7 @@
            }
            return true;
        }
        /**
         * FUNCTION: unsetLoop
@@ -620,6 +643,7 @@
            return true;
        }
        /**
         * FUNCTION: clearVars
         *
@@ -632,6 +656,7 @@
            $this->_vars = array();
            return true;
        }
        /**
         * FUNCTION: clearLoops
@@ -648,6 +673,7 @@
            return true;
        }
        /**
         * FUNCTION: clearAll
         *
@@ -662,6 +688,7 @@
            return true;
        }
        /**
         * FUNCTION: unknownsExist
         *
@@ -672,8 +699,9 @@
         * @access public
         */
        function unknownsExist () {
            return (!empty($this->_unknowns));
            return !empty($this->_unknowns);
        }
        /**
         * FUNCTION: unknowns
@@ -685,6 +713,7 @@
        function unknowns () {
            return $this->unknownsExist();
        }
        /**
         * FUNCTION: getUnknowns
@@ -698,6 +727,7 @@
        function getUnknowns () {
            return $this->_unknowns;
        }
        /**
         * FUNCTION: setUnknowns
@@ -717,6 +747,7 @@
            }
            return false;
        }
        /**
         * FUNCTION: setPath
@@ -743,6 +774,7 @@
            }
            return true;
        }
        /**
         * FUNCTION: getParseTime
@@ -793,6 +825,7 @@
            return true;
        }
        /**
         * FUNCTION: pprint
         *
@@ -822,6 +855,7 @@
    /*-----------------------------------------------------------------------------\
    |                           private functions                                  |
    \-----------------------------------------------------------------------------*/
        /**
         * FUNCTION: vlibTemplate
@@ -863,6 +897,7 @@
            if ($this->OPTIONS['GLOBAL_CONTEXT_VARS']) $this->setContextVars();
            return true;
        }
        /** FUNCTION: _getData
         *
@@ -952,6 +987,7 @@
        }
        /**
         * FUNCTION: _fileSearch
         *
@@ -1016,6 +1052,7 @@
            return false; // uh oh, file not found
        }
        /**
         * FUNCTION: _arrayBuild
         *
@@ -1059,6 +1096,7 @@
                return true;
            }
        }
        /**
         * FUNCTION: _parseIf
@@ -1139,6 +1177,7 @@
            }
            return $retstr."); \$_".$tempvar."++) {";
        }
        /**
         * FUNCTION: _parseVar
@@ -1227,6 +1266,7 @@
                break;
            }
        }
        /**
         * FUNCTION: _parseTag
@@ -1335,6 +1375,7 @@
        }
        /**
         * FUNCTION: _intParse
         *
@@ -1353,6 +1394,7 @@
            //set_magic_quotes_runtime($mqrt);
            return true;
        }
        /**
         * FUNCTION: _parse
@@ -1393,6 +1435,7 @@
            
            return true;
        }
        /**
         * FUNCTION: _setOption
@@ -1448,6 +1491,7 @@
            return true;
        }
        /**
         * FUNCTION: _setUnknown
         *
@@ -1461,6 +1505,7 @@
            if (!in_array($var, $this->_unknowns)) array_push($this->_unknowns, $var);
        }
        /**
         * FUNCTION: _getMicrotime
         * Returns microtime as a float number
@@ -1470,8 +1515,9 @@
         */
        function _getMicrotime () {
            list($msec, $sec) = explode(" ",microtime());
            return ((float)$msec + (float)$sec);
            return (float)$msec + (float)$sec;
        }
        /**
         * FUNCTION: _escape_hex
@@ -1497,13 +1543,17 @@
    vlibTemplate if the user is quickly bypassing the vlibTemplateCache class.
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/
        function clearCache()        {vlibTemplateError::raiseError('VT_WARNING_NOT_CACHE_OBJ', WARNING, 'clearCache()');}
        function recache()           {vlibTemplateError::raiseError('VT_WARNING_NOT_CACHE_OBJ', WARNING, 'recache()');}
        function setCacheLifeTime()  {vlibTemplateError::raiseError('VT_WARNING_NOT_CACHE_OBJ', WARNING, 'setCacheLifeTime()');}
        function setCacheExtension() {vlibTemplateError::raiseError('VT_WARNING_NOT_CACHE_OBJ', WARNING, 'setCacheExtension()');}
    }
    //include_once ($conf['classpath'].'/vlibTemplate/debug.php');
    include_once ($conf['classpath'].'/tpl_cache.inc.php');
    include_once $conf['classpath'].'/tpl_cache.inc.php';
} // << end if(!defined())..
?>
server/lib/classes/tpl_cache.inc.php
@@ -20,6 +20,7 @@
 * @access public
 */
class tplc extends tpl {
/*-----------------------------------------------------------------------------\
@@ -46,6 +47,7 @@
        return true;
    }
    /**
     * FUNCTION: recache
     * alias for clearCache().
@@ -56,6 +58,7 @@
    function recache() {
        return $this->clearCache();
    }
    /**
     * FUNCTION: setCacheLifeTime
@@ -72,6 +75,7 @@
        $this->OPTIONS['CACHE_LIFETIME'] = $int;
        return true;
    }
    /**
     * FUNCTION: setCacheExtension
@@ -91,6 +95,7 @@
/*----------------------------------------\
          Private Functions
-----------------------------------------*/
    /**
     * FUNCTION: _checkCache
@@ -132,6 +137,7 @@
        return $this->OPTIONS['CACHE_DIRECTORY'].'/'.md5('vlibCachestaR'.realpath($tmplfile)).'.'.$this->OPTIONS['CACHE_EXTENSION'];
    }
    /**
     * FUNCTION: _createCache
     * creates the cached file
@@ -151,6 +157,7 @@
        return true;
    }
    /**
     * FUNCTION: _prepareDirs
     * prepares the directory structure
server/lib/classes/tpl_error.inc.php
@@ -25,6 +25,7 @@
 * @access private
 */
class vlibTemplateError {
/*-----------------------------------------------------------------------------\
@@ -88,5 +89,7 @@
        }
        return;
    }
}
?>
server/lib/classes/tpl_ini.inc.php
@@ -40,6 +40,7 @@
     * @access private
     */
    class vlibIni {
        /** config vars for vlibTemplate */
server/mods-available/client_module.inc.php
server/mods-available/cron_module.inc.php
server/mods-available/database_module.inc.php
server/mods-available/dns_module.inc.php
@@ -150,6 +150,8 @@
*        however any of these IPs is allowed to AXFR transfer any of the zones we are masters
*        for.
*/
        $tmps = $app->db->queryAllRecords("SELECT DISTINCT xfer FROM dns_soa WHERE active = 'Y' UNION SELECT DISTINCT xfer FROM dns_slave WHERE active = 'Y' ");
        //* Make sure the list is never empty
@@ -168,6 +170,8 @@
        $options = "allow-axfr-ips=".implode(",",array_unique(explode(",",$options)));
        $app->log("".$options,LOGLEVEL_DEBUG);
    
/**        Not an ideal way to use a hardcoded path like that, but currently
*        we have no way to find out where powerdns' configuration files are 
*        located, so we have to work on assumption. 
server/mods-available/mail_module.inc.php
server/mods-available/monitor_core_module.inc.php
@@ -36,6 +36,8 @@
    /* No actions at this time. maybe later... */
    var $actions_available = array();
    /** The Tools */
    private $_tools = null;
    //** time the script was called
    private $_run_time = null;
server/mods-available/remoteaction_core_module.inc.php
@@ -80,6 +80,8 @@
    /**
     * This method searches for scheduled actions and exec then
     */
    private function _execActions() {
        global $app;
        global $conf;
@@ -96,7 +98,7 @@
         * stop a service, a admin stopped some days before! To avoid this, we ignore
         * the status (it is only for the interface to show) and use our own maxid
        */
        include_once (SCRIPT_PATH."/lib/remote_action.inc.php");
        include_once SCRIPT_PATH."/lib/remote_action.inc.php";
        /*
         * Get all actions this server should execute
@@ -245,5 +247,7 @@
         */
        //$this->_actionDone($action['action_id'], 'ok');
    }
}
?>
server/mods-available/rescue_core_module.inc.php
@@ -38,9 +38,13 @@
     * The monitoring-Data of this module. 
     * [0] are the actual data, [1] are the data 1 minnute ago [2] are teh data 2 minuntes...
     */
    private $_monitoringData = array();
    /** The rescue-Data of this module. */
    private $_rescueData = array();
    /**
     *  This function is called during ispconfig installation to determine
@@ -50,12 +54,14 @@
        return true;
    }
    /**
     * This function is called when the module is loaded
     */
    function onLoad() {
        $this->_doRescue();
    }
    /**
     * This function is called when a change in one of the registered tables is detected.
@@ -169,6 +175,8 @@
        /* Thats it */
        return $data;
    }
    
    /**
     * This gets the rescue-Data, needed for rescuing the system.
@@ -289,6 +297,8 @@
        $this->_rescueDaemon($daemon);
    }
    
    /**
     * restarts mysql, if needed
     */
@@ -388,5 +398,7 @@
         */
        exec($app->system->getinitcommand($daemon, 'start'));
    }
}
?>
server/mods-available/server_module.inc.php
server/mods-available/vm_module.inc.php
server/mods-available/web_module.inc.php
server/plugins-available/apache2_plugin.inc.php
@@ -1116,6 +1116,7 @@
         * TODO: Create form for fastcgi configs per site.
         */
        if ($data['new']['php'] == 'fast-cgi') {
            $fastcgi_starter_path = str_replace('[system_user]',$data['new']['system_user'],$fastcgi_config['fastcgi_starter_path']);
@@ -1200,6 +1201,8 @@
            }
        }
        
        /**
        * PHP-FPM
        */
@@ -1251,7 +1254,6 @@
         * first we create the script directory if not already created, then copy over the starter script.
         * TODO: we have to fetch the data from the server-settings.
         */
        if ($data['new']['php'] == 'cgi') {
            //$cgi_config = $app->getconf->get_server_config($conf['server_id'], 'cgi');
server/plugins-available/apps_vhost_plugin.inc.php
server/plugins-available/aps_plugin.inc.php
@@ -28,7 +28,7 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
if(defined('ISPC_ROOT_PATH')) include_once(ISPC_ROOT_PATH.'/lib/classes/aps_installer.inc.php');
if(defined('ISPC_ROOT_PATH')) include_once ISPC_ROOT_PATH.'/lib/classes/aps_installer.inc.php';
//require_once(ISPC_ROOT_PATH.'/lib/classes/class.installer.php');
class aps_plugin
@@ -52,6 +52,8 @@
    /**
     * This method gets called when the plugin is loaded
     */
    public function onLoad()
    {
        global $app;
@@ -61,6 +63,8 @@
        $app->plugins->registerEvent('aps_instance_update', $this->plugin_name, 'install');
        $app->plugins->registerEvent('aps_instance_delete', $this->plugin_name, 'delete');
    }
    
    /**
     * (Re-)install a package
@@ -90,6 +94,8 @@
        }
    }
    
    /**
     * Update an existing instance (currently unused)
     */
@@ -98,6 +104,8 @@
    {
    }
    */
    
    /**
     * Uninstall an instance
@@ -114,5 +122,7 @@
            $aps->installHandler($instanceid, 'install');
        }        
    }
}
?>
server/plugins-available/backup_plugin.inc.php
@@ -84,7 +84,7 @@
            //* Restore a mysql backup
            if($action_name == 'backup_restore' && $backup['backup_type'] == 'mysql') {
                //* Load sql dump into db
                include('lib/mysql_clientdb.conf');
                include 'lib/mysql_clientdb.conf';
                
                if(file_exists($backup_dir.'/'.$backup['filename'])) {
                    //$parts = explode('_',$backup['filename']);
server/plugins-available/bind_dlz_plugin.inc.php
@@ -348,5 +348,6 @@
        $app->db->query("DELETE FROM named.records WHERE ispconfig_id = {$data["old"]["id"]} AND type != 'SOA'");
        //unset($_db);
    }
} // end class
?>
server/plugins-available/bind_plugin.inc.php
@@ -304,7 +304,7 @@
        
    }
    
    ###################################################################
    //##################################################################
    
    function write_named_conf($data, $dns_config) {
        global $app, $conf;
server/plugins-available/cron_jailkit_plugin.inc.php
@@ -94,6 +94,8 @@
            /**
             * Setup Jailkit Chroot System If Enabled 
             */
            if ($data['new']['type'] == "chrooted")
            {
                // load the server configuration options
@@ -164,6 +166,8 @@
        
        if($app->system->is_user($parent_domain['system_user'])) {
        
            /**
             * Setup Jailkit Chroot System If Enabled 
             */
server/plugins-available/cron_plugin.inc.php
@@ -146,6 +146,7 @@
        
        /** TODO READ CRON MASTER **/
        
        $this->parent_domain = $parent_domain;
        $this->_write_crontab();
        
server/plugins-available/firewall_plugin.inc.php
server/plugins-available/ftpuser_base_plugin.inc.php
server/plugins-available/getmail_plugin.inc.php
server/plugins-available/iptables_plugin.inc.php
@@ -77,5 +77,7 @@
  global $app, $conf;
  exec('iptables -D xyz');
 }
}
?>
server/plugins-available/mail_plugin.inc.php
server/plugins-available/maildeliver_plugin.inc.php
server/plugins-available/maildrop_plugin.inc.php
server/plugins-available/mailman_plugin.inc.php
server/plugins-available/mysql_clientdb_plugin.inc.php
@@ -97,7 +97,7 @@
          } elseif(preg_match("/^[0-9]{1,3}(\.)[0-9]{1,3}(\.)[0-9]{1,3}(\.)[0-9]{1,3}$/", $db_host)) {
              $groups = explode('.', $db_host);
              foreach($groups as $group){
                if($group<0 OR $group>255)
                    if($group<0 or $group>255)
                $valid=false;
              }
          } else {
@@ -168,7 +168,7 @@
        global $app, $conf;
        
        if($data['new']['type'] == 'mysql') {
            if(!include(ISPC_LIB_PATH.'/mysql_clientdb.conf')) {
            if(!include ISPC_LIB_PATH.'/mysql_clientdb.conf') {
                $app->log('Unable to open'.ISPC_LIB_PATH.'/mysql_clientdb.conf',LOGLEVEL_ERROR);
                return;
            }
@@ -233,7 +233,7 @@
        if($data['new']['active'] == 'n' && $data['old']['active'] == 'n') return;
        
        if($data['new']['type'] == 'mysql') {
            if(!include(ISPC_LIB_PATH.'/mysql_clientdb.conf')) {
            if(!include ISPC_LIB_PATH.'/mysql_clientdb.conf') {
                $app->log('Unable to open'.ISPC_LIB_PATH.'/mysql_clientdb.conf',LOGLEVEL_ERROR);
                return;
            }
@@ -456,7 +456,7 @@
        global $app, $conf;
        
        if($data['old']['type'] == 'mysql') {
            if(!include(ISPC_LIB_PATH.'/mysql_clientdb.conf')) {
            if(!include ISPC_LIB_PATH.'/mysql_clientdb.conf') {
                $app->log('Unable to open'.ISPC_LIB_PATH.'/mysql_clientdb.conf',LOGLEVEL_ERROR);
                return;
            }
@@ -512,7 +512,7 @@
    function db_user_update($event_name,$data) {
        global $app, $conf;
        
        if(!include(ISPC_LIB_PATH.'/mysql_clientdb.conf')) {
        if(!include ISPC_LIB_PATH.'/mysql_clientdb.conf') {
            $app->log('Unable to open'.ISPC_LIB_PATH.'/mysql_clientdb.conf',LOGLEVEL_ERROR);
            return;
        }
@@ -567,7 +567,7 @@
    function db_user_delete($event_name,$data) {
        global $app, $conf;
        
        if(!include(ISPC_LIB_PATH.'/mysql_clientdb.conf')) {
        if(!include ISPC_LIB_PATH.'/mysql_clientdb.conf') {
            $app->log('Unable to open'.ISPC_LIB_PATH.'/mysql_clientdb.conf',LOGLEVEL_ERROR);
            return;
        }
@@ -598,6 +598,7 @@
        $link->query('FLUSH PRIVILEGES;');
        $link->close();
    }
} // end class
?>
server/plugins-available/network_settings_plugin.inc.php
server/plugins-available/nginx_plugin.inc.php
server/plugins-available/nginx_reverseproxy_plugin.inc.php
server/plugins-available/openvz_plugin.inc.php
server/plugins-available/pma_symlink_plugin.inc.php
server/plugins-available/postfix_filter_plugin.inc.php
server/plugins-available/postfix_server_plugin.inc.php
server/plugins-available/powerdns_plugin.inc.php
server/plugins-available/shelluser_base_plugin.inc.php
server/plugins-available/shelluser_jailkit_plugin.inc.php
@@ -78,6 +78,8 @@
            /**
             * Setup Jailkit Chroot System If Enabled 
             */
            if ($data['new']['chroot'] == "jailkit")
            {
                
@@ -127,6 +129,8 @@
        $web = $app->db->queryOneRecord("SELECT * FROM web_domain WHERE domain_id = ".$data['new']['parent_domain_id']);
        
        if($app->system->is_user($data['new']['username'])) {
        
            /**
             * Setup Jailkit Chroot System If Enabled 
@@ -463,6 +467,7 @@
        exec("chmod 600 '$sshkeys'");
        
    }
} // end class
?>
server/plugins-available/software_update_plugin.inc.php
@@ -235,7 +235,7 @@
            $db_config['database_name'] != '' &&
            $db_config['database_host'] != '') {
            
            if(!include(ISPC_LIB_PATH.'/mysql_clientdb.conf')) {
            if(!include ISPC_LIB_PATH.'/mysql_clientdb.conf') {
                $app->log('Unable to open'.ISPC_LIB_PATH.'/mysql_clientdb.conf',LOGLEVEL_ERROR);
                return;
            }
server/plugins-available/squid_plugin.inc.php
server/plugins-available/webmail_symlink_plugin.inc.php
server/scripts/ispconfig_update.php
@@ -72,7 +72,7 @@
        return $answer;
}
require_once('/usr/local/ispconfig/server/lib/config.inc.php');
require_once '/usr/local/ispconfig/server/lib/config.inc.php';
echo "\n\n".str_repeat('-',80)."\n";
server/server.php
@@ -28,8 +28,8 @@
 */
define('SCRIPT_PATH', dirname($_SERVER["SCRIPT_FILENAME"]));
require(SCRIPT_PATH."/lib/config.inc.php");
require(SCRIPT_PATH."/lib/app.inc.php");
require SCRIPT_PATH."/lib/config.inc.php";
require SCRIPT_PATH."/lib/app.inc.php";
set_time_limit(0);
ini_set('error_reporting', E_ALL & ~E_NOTICE);
@@ -147,6 +147,8 @@
$app->log('Set Lock: ' . $conf['temppath'] . $conf['fs_div'] . '.ispconfig_lock', LOGLEVEL_DEBUG);
/** Do we need to start the core-modules */
$needStartCore = true;
/*