- adding overview for admin_cronjobs (planned for 1.0);

- added 'isactive' for cronjobs so the admin can deactivate them (planned for 1.0);
- re-adding 'panel_diskspace' and 'panel_diskspace_admins' to install/froxlor.sql;
- show only 'logout' and 'froxlor update' in menulist when files have been updated and db is not up to date;
- bugixing success.tpl (closing <a>-tag);
This commit is contained in:
Michael Kaufmann (d00p)
2010-01-27 09:19:19 +00:00
parent 883963d2e2
commit f0379e26cc
13 changed files with 211 additions and 8 deletions

View File

@@ -699,6 +699,49 @@ CREATE TABLE `panel_diskspace_admins` (
# --------------------------------------------------------
#
# Table structure for table `panel_diskspace`
#
CREATE TABLE `panel_diskspace` (
`id` int(11) unsigned NOT NULL auto_increment,
`customerid` int(11) unsigned NOT NULL default '0',
`year` int(4) unsigned zerofill NOT NULL default '0000',
`month` int(2) unsigned zerofill NOT NULL default '00',
`day` int(2) unsigned zerofill NOT NULL default '00',
`stamp` int(11) unsigned NOT NULL default '0',
`webspace` bigint(30) unsigned NOT NULL default '0',
`mail` bigint(30) unsigned NOT NULL default '0',
`mysql` bigint(30) unsigned NOT NULL default '0',
PRIMARY KEY (`id`),
KEY `customerid` (`customerid`)
) TYPE=MyISAM ;
#
# Dumping data for table `panel_diskspace`
#
# --------------------------------------------------------
#
# Table structure for table `panel_diskspace_admins`
#
CREATE TABLE `panel_diskspace_admins` (
`id` int(11) unsigned NOT NULL auto_increment,
`adminid` int(11) unsigned NOT NULL default '0',
`year` int(4) unsigned zerofill NOT NULL default '0000',
`month` int(2) unsigned zerofill NOT NULL default '00',
`day` int(2) unsigned zerofill NOT NULL default '00',
`stamp` int(11) unsigned NOT NULL default '0',
`webspace` bigint(30) unsigned NOT NULL default '0',
`mail` bigint(30) unsigned NOT NULL default '0',
`mysql` bigint(30) unsigned NOT NULL default '0',
PRIMARY KEY (`id`),
KEY `adminid` (`adminid`)
) TYPE=MyISAM ;
#
# Table structure for table `panel_languages`
#
@@ -931,6 +974,7 @@ CREATE TABLE IF NOT EXISTS `cronjobs_run` (
`cronfile` varchar(250) NOT NULL,
`lastrun` int(15) NOT NULL DEFAULT '0',
`interval` varchar(100) DEFAULT '5 MINUTE',
`isactive` tinyint(1) DEFAULT '1',
PRIMARY KEY (`id`)
) ENGINE=MyISAM;

View File

@@ -272,6 +272,7 @@ if(isFroxlorVersion('0.9-r3'))
`cronfile` varchar(250) NOT NULL,
`lastrun` int(15) NOT NULL DEFAULT '0',
`interval` varchar(100) DEFAULT '5 MINUTE',
`isactive` tinyint(1) DEFAULT '1',
PRIMARY KEY (`id`)
) ENGINE=MyISAM;");