root/trunk/gui/client/cronjobs_overview.php

Revision 1373, 2.2 kB (checked in by rats, 1 month ago)

* Added Mailsize function
* Fixed #1594: (CentOS) More perl dependencies on CentOS
* Fixed #1595: (CentOS) CentOS perl docs: Advice to autoconfigure first
* Fixed #1483: Misleading information in INSTALL-files
* Fixed #1512: Subdomains for domain-aliases
* Fixed #1509: New subdomain management system
* Fixed Order delete bug
* Fixed #1507: Some errors on around "Execute Query" option on a database
* Fixed #1511: e-mail aliases & autoreply
* Fixed #1151: Update Hosting Package should only visible for a customer if a hosting plan to update is available (thanks Feg)
* Fixed #1556: Special Characters like Umlauts (äüöÄÜÖ) and Ligatures (ß) in Javascript messages are encoded, wrongly.
* PHPmyAdmin 3.0.0

Line 
1 <?php
2 /**
3  * ispCP ω (OMEGA) a Virtual Hosting Control System
4  *
5  * @copyright     2001-2006 by moleSoftware GmbH
6  * @copyright     2006-2008 by ispCP | http://isp-control.net
7  * @version     SVN: $Id$
8  * @link         http://isp-control.net
9  * @author         ispCP Team
10  *
11  * @license
12  *   This program is free software; you can redistribute it and/or modify it under
13  *   the terms of the MPL General Public License as published by the Free Software
14  *   Foundation; either version 1.1 of the License, or (at your option) any later
15  *   version.
16  *   You should have received a copy of the MPL Mozilla Public License along with
17  *   this program; if not, write to the Open Source Initiative (OSI)
18  *   http://opensource.org | osi@opensource.org
19  */
20
21 require '../include/ispcp-lib.php';
22
23 check_login(__FILE__);
24
25 $tpl = new pTemplate();
26 $tpl->define_dynamic('page', Config::get('CLIENT_TEMPLATE_PATH') . '/cronjobs_overview.tpl');
27 $tpl->define_dynamic('page_message', 'page');
28 $tpl->define_dynamic('logged_from', 'page');
29 $tpl->define_dynamic('cronjobs', 'page');
30
31 $theme_color = Config::get('USER_INITIAL_THEME');
32
33 $tpl->assign(
34     array('TR_CLIENT_CRONJOBS_TITLE' => tr('ispCP - Client/Cronjob Manager'),
35         'THEME_COLOR_PATH' => "../themes/$theme_color",
36         'THEME_CHARSET' => tr('encoding'),
37         'ISP_LOGO' => get_logo($_SESSION['user_id'])
38         )
39     );
40
41 /*
42 Functions start
43 */
44 function gen_cron_jobs(&$tpl, &$sql, $user_id) {
45 } // End of gen_cron_job();
46 /*
47 Functions end
48 */
49
50 /*
51  *
52  * static page messages.
53  *
54  */
55
56 gen_client_mainmenu($tpl, Config::get('CLIENT_TEMPLATE_PATH') . '/main_menu_webtools.tpl');
57 gen_client_menu($tpl, Config::get('CLIENT_TEMPLATE_PATH') . '/menu_webtools.tpl');
58
59 gen_logged_from($tpl);
60
61 check_permissions($tpl);
62
63 gen_cron_jobs($tpl, $sql, $_SESSION['user_id']);
64
65 $tpl->assign(
66     array('TR_CRON_MANAGER' => tr('Cronjob Manager'),
67         'TR_MESSAGE_DELETE' => tr('Are you sure you want to delete %s?', true, '%s'),
68         'TR_CRONJOBS' => tr('Cronjobs'),
69         'TR_ACTIVE' => tr('Active'),
70         'TR_ACTION' => tr('Active'),
71         'TR_EDIT' => tr('Edit'),
72         'TR_DELETE' => tr('Delete'),
73         'TR_ADD' => tr('Add Cronjob')
74         )
75     );
76
77 gen_page_message($tpl);
78
79 $tpl->parse('PAGE', 'page');
80 $tpl->prnt();
81
82 if (Config::get('DUMP_GUI_DEBUG'))
83     dump_gui_debug();
84
85 unset_messages();
86
87 ?>
88
Note: See TracBrowser for help on using the browser.