ininitial froxlor commit;

'reverted' old-style update-process;
removed billing-classes, -functions and -templates;
some sql-fixes;
This commit is contained in:
Michael Kaufmann (d00p)
2010-01-20 09:12:52 +00:00
commit 9907afe630
580 changed files with 60898 additions and 0 deletions

View File

@@ -0,0 +1,239 @@
<?php
/**
* This file is part of the SysCP project.
* Copyright (c) 2003-2009 the SysCP Team (see authors).
*
* For the full copyright and license information, please view the COPYING
* file that was distributed with this source code. You can also view the
* COPYING file online at http://files.syscp.org/misc/COPYING.txt
*
* @copyright (c) the authors
* @author Florian Lippert <flo@syscp.org>
* @license GPLv2 http://files.syscp.org/misc/COPYING.txt
* @package Panel
* @version $Id: 00.syscp.main.php 2733 2009-11-06 09:32:00Z flo $
*/
return array (
'customer' => array (
'index' => array (
'url' => 'customer_index.php',
'label' => $lng['menue']['main']['main'],
'elements' => array (
array (
'label' => $lng['menue']['main']['username'],
),
array (
'url' => 'customer_index.php?page=change_password',
'label' => $lng['menue']['main']['changepassword'],
),
array (
'url' => 'customer_index.php?page=change_language',
'label' => $lng['menue']['main']['changelanguage'],
),
array (
'url' => 'customer_index.php?action=logout',
'label' => $lng['login']['logout'],
),
),
),
'email' => array (
'url' => 'customer_email.php',
'label' => $lng['menue']['email']['email'],
'elements' => array (
array (
'url' => 'customer_email.php?page=emails',
'label' => $lng['menue']['email']['emails'],
'required_resources' => 'emails',
),
array (
'url' => 'customer_email.php?page=emails&action=add',
'label' => $lng['emails']['emails_add'],
'required_resources' => 'emails',
),
array (
'url' => 'customer_autoresponder.php',
'label' => $lng['menue']['email']['autoresponder'],
'required_resources' => 'emails',
'show_element' => ( getSetting('autoresponder', 'autoresponder_active') == true ),
),
array (
'url' => getSetting('panel', 'webmail_url'),
'new_window' => true,
'label' => $lng['menue']['email']['webmail'],
'required_resources' => 'emails_used',
'show_element' => ( getSetting('panel', 'webmail_url') != '' ),
),
),
),
'mysql' => array (
'url' => 'customer_mysql.php',
'label' => $lng['menue']['mysql']['mysql'],
'elements' => array (
array (
'url' => 'customer_mysql.php?page=mysqls',
'label' => $lng['menue']['mysql']['databases'],
'required_resources' => 'mysqls',
),
array (
'url' => getSetting('panel', 'phpmyadmin_url'),
'new_window' => true,
'label' => $lng['menue']['mysql']['phpmyadmin'],
'required_resources' => 'mysqls_used',
'show_element' => ( getSetting('panel', 'phpmyadmin_url') != '' ),
),
),
),
'domains' => array (
'url' => 'customer_domains.php',
'label' => $lng['menue']['domains']['domains'],
'elements' => array (
array (
'url' => 'customer_domains.php?page=domains',
'label' => $lng['menue']['domains']['settings'],
),
),
),
'ftp' => array (
'url' => 'customer_ftp.php',
'label' => $lng['menue']['ftp']['ftp'],
'elements' => array (
array (
'url' => 'customer_ftp.php?page=accounts',
'label' => $lng['menue']['ftp']['accounts'],
),
array (
'url' => getSetting('panel', 'webftp_url'),
'new_window' => true,
'label' => $lng['menue']['ftp']['webftp'],
'show_element' => ( getSetting('panel', 'webftp_url') != '' ),
),
),
),
'extras' => array (
'url' => 'customer_extras.php',
'label' => $lng['menue']['extras']['extras'],
'elements' => array (
array (
'url' => 'customer_extras.php?page=htpasswds',
'label' => $lng['menue']['extras']['directoryprotection'],
),
array (
'url' => 'customer_extras.php?page=htaccess',
'label' => $lng['menue']['extras']['pathoptions'],
),
),
),
'traffic' => array (
'url' => 'customer_traffic.php',
'label' => $lng['menue']['traffic']['traffic'],
'elements' => array (
array (
'url' => 'customer_traffic.php?page=current',
'label' => $lng['menue']['traffic']['current'],
),
),
),
),
'admin' => array (
'index' => array (
'url' => 'admin_index.php',
'label' => $lng['admin']['overview'],
'elements' => array (
array (
'label' => $lng['menue']['main']['username'],
),
array (
'url' => 'admin_index.php?page=change_password',
'label' => $lng['menue']['main']['changepassword'],
),
array (
'url' => 'admin_index.php?page=change_language',
'label' => $lng['menue']['main']['changelanguage'],
),
array (
'url' => 'admin_index.php?action=logout',
'label' => $lng['login']['logout'],
),
),
),
'resources' => array (
'label' => $lng['admin']['resources'],
'required_resources' => 'customers',
'elements' => array (
array (
'url' => 'admin_customers.php?page=customers',
'label' => $lng['admin']['customers'],
'required_resources' => 'customers',
),
array (
'url' => 'admin_domains.php?page=domains',
'label' => $lng['admin']['domains'],
'required_resources' => 'domains',
),
array (
'url' => 'admin_admins.php?page=admins',
'label' => $lng['admin']['admins'],
'required_resources' => 'change_serversettings',
),
),
),
'server' => array (
'label' => $lng['admin']['server'],
'required_resources' => 'change_serversettings',
'elements' => array (
array (
'url' => 'admin_configfiles.php?page=configfiles',
'label' => $lng['admin']['configfiles']['serverconfiguration'],
'required_resources' => 'change_serversettings',
),
array (
'url' => 'admin_settings.php?page=settings',
'label' => $lng['admin']['serversettings'],
'required_resources' => 'change_serversettings',
),
array (
'url' => 'admin_ipsandports.php?page=ipsandports',
'label' => $lng['admin']['ipsandports']['ipsandports'],
'required_resources' => 'change_serversettings',
),
array (
'url' => 'admin_settings.php?page=rebuildconfigs',
'label' => $lng['admin']['rebuildconf'],
'required_resources' => 'change_serversettings',
),
array (
'url' => 'admin_settings.php?page=updatecounters',
'label' => $lng['admin']['updatecounters'],
'required_resources' => 'change_serversettings',
),
array (
'url' => 'admin_phpsettings.php?page=overview',
'label' => $lng['menue']['phpsettings']['maintitle'],
'show_element' => ( getSetting('system', 'mod_fcgid') == true ),
),
),
),
'misc' => array (
'label' => $lng['admin']['misc'],
'elements' => array (
array (
'url' => 'admin_templates.php?page=email',
'label' => $lng['admin']['templates']['email'],
),
array (
'url' => 'admin_logger.php?page=log',
'label' => $lng['menue']['logger']['logger'],
'required_resources' => 'change_serversettings',
'show_element' => ( getSetting('logger', 'enabled') == true ),
),
array (
'url' => 'admin_message.php?page=message',
'label' => $lng['admin']['message'],
),
),
),
),
);
?>

View File

@@ -0,0 +1,53 @@
<?php
/**
* This file is part of the SysCP project.
* Copyright (c) 2003-2009 the SysCP Team (see authors).
*
* For the full copyright and license information, please view the COPYING
* file that was distributed with this source code. You can also view the
* COPYING file online at http://files.syscp.org/misc/COPYING.txt
*
* @copyright (c) the authors
* @author Florian Lippert <flo@syscp.org>
* @license GPLv2 http://files.syscp.org/misc/COPYING.txt
* @package Panel
* @version $Id: 20.tickets.php 2733 2009-11-06 09:32:00Z flo $
*/
return array (
'customer' => array (
'tickets' => array (
'url' => 'customer_tickets.php',
'label' => $lng['menue']['ticket']['ticket'],
'show_element' => ( getSetting('ticket', 'enabled') == true ),
'elements' => array (
array (
'url' => 'customer_tickets.php?page=tickets',
'label' => $lng['menue']['ticket']['ticket'],
),
),
),
),
'admin' => array (
'tickets' => array (
'label' => $lng['admin']['ticketsystem'],
'show_element' => ( getSetting('ticket', 'enabled') == true ),
'elements' => array (
array (
'url' => 'admin_tickets.php?page=tickets',
'label' => $lng['menue']['ticket']['ticket'],
),
array (
'url' => 'admin_tickets.php?page=archive',
'label' => $lng['menue']['ticket']['archive'],
),
array (
'url' => 'admin_tickets.php?page=categories',
'label' => $lng['menue']['ticket']['categories'],
),
),
),
),
);
?>

View File

@@ -0,0 +1,66 @@
<?php
/**
* This file is part of the SysCP project.
* Copyright (c) 2003-2009 the SysCP Team (see authors).
*
* For the full copyright and license information, please view the COPYING
* file that was distributed with this source code. You can also view the
* COPYING file online at http://files.syscp.org/misc/COPYING.txt
*
* @copyright (c) the authors
* @author Florian Lippert <flo@syscp.org>
* @license GPLv2 http://files.syscp.org/misc/COPYING.txt
* @package Panel
* @version $Id: 30.aps.installer.php 2733 2009-11-06 09:32:00Z flo $
*/
return array (
'customer' => array (
'aps' => array (
'label' => $lng['customer']['aps'],
'required_resources' => 'phpenabled',
'show_element' => ( getSetting('aps', 'aps_active') == true ),
'elements' => array (
array (
'url' => 'customer_aps.php?action=overview',
'label' => $lng['aps']['overview'],
),
array (
'url' => 'customer_aps.php?action=customerstatus',
'label' => $lng['aps']['status'],
),
array (
'url' => 'customer_aps.php?action=search',
'label' => $lng['aps']['search'],
),
),
),
),
'admin' => array (
'aps' => array (
'label' => $lng['admin']['aps'],
'required_resources' => 'can_manage_aps_packages',
'show_element' => ( getSetting('aps', 'aps_active') == true ),
'elements' => array (
array (
'url' => 'admin_aps.php?action=upload',
'label' => $lng['aps']['upload'],
),
array (
'url' => 'admin_aps.php?action=scan',
'label' => $lng['aps']['scan'],
),
array (
'url' => 'admin_aps.php?action=managepackages',
'label' => $lng['aps']['managepackages'],
),
array (
'url' => 'admin_aps.php?action=manageinstances',
'label' => $lng['aps']['manageinstances'],
),
),
),
),
);
?>