~quam-plures-core/quam-plures/xml-comment-feeds-fix

« back to all changes in this revision

Viewing changes to qp_inc/tools/system.ctrl.php

  • Committer: EdB
  • Date: 2013-05-18 17:02:22 UTC
  • mfrom: (7556.2.107 quam-plures)
  • Revision ID: 1912webworks@gmail.com-20130518170222-ccp8ok2njoasujlb
updating to current core

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?php
2
2
/**
3
 
 * This file implements the UI controller for System configuration and analysis.
4
 
 *
5
 
 * This file is part of Quam Plures - {@link http://quamplures.net/}
6
 
 * See also {@link https://launchpad.net/quam-plures}.
7
 
 *
8
 
 * @copyright (c) 2009 - 2011 by the Quam Plures developers - {@link http://quamplures.net/}
9
 
 * @copyright (c)2003-2009 by Francois PLANQUE - {@link http://fplanque.net/}
10
 
 * Parts of this file are copyright (c)2006 by Daniel HAHLER - {@link http://daniel.hahler.de/}.
11
 
 *
12
 
 * {@internal License choice
13
 
 * - If you have received this file as part of a package, please find the license.txt file in
14
 
 *   the same folder or the closest folder above for complete license terms.
15
 
 * - If you have received this file individually (e-g: from http://evocms.cvs.sourceforge.net/)
16
 
 *   then you must choose one of the following licenses before using the file:
17
 
 *   - GNU General Public License 2 (GPL) - http://www.opensource.org/licenses/gpl-license.php
18
 
 *   - Mozilla Public License 1.1 (MPL) - http://www.opensource.org/licenses/mozilla1.1.php
19
 
 * }}
20
 
 *
21
 
 * {@internal Open Source relicensing agreement:
22
 
 * Daniel HAHLER grants Francois PLANQUE the right to license
23
 
 * Daniel HAHLER's contributions to this file and the b2evolution project
24
 
 * under any OSI approved OSS license (http://www.opensource.org/licenses/).
25
 
 * }}
26
 
 *
27
 
 * {@internal Below is a list of authors who have contributed to design/coding of this file: }}
28
 
 * @author fplanque: Francois PLANQUE.
 
3
 * $ctrl_mappings: 'system' || Tools -> System
 
4
 *
 
5
 * @author {@link http://wonderwinds.com/ Ed Bennett}
 
6
 * @author {@link http://daniel.hahler.de/ Daniel HAHLER}
 
7
 * @author {@link http://fplanque.net/ Francois PLANQUE}
29
8
 * @author blueyed
30
 
 *
31
 
 * @package pond
 
9
 * @copyright (c) 2009 by {@link http://quamplures.net/ the Quam Plures project}
 
10
 * @license http://www.gnu.org/licenses/gpl.txt GNU General Public License v3
 
11
 * @package tools
32
12
 */
33
 
if( !defined('QP_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
 
13
if(!defined('QP_MAIN_INIT')) die('fail');
34
14
 
35
15
load_funcs( 'tools/model/_system.funcs.php' );
36
16
 
41
21
 
42
22
param_action( 'list' );
43
23
 
44
 
// Display <html><head>...</head> section! (Note: should be done early if actions do not redirect)
 
24
// Display <html><head>...</head> section (should be done early if actions do not redirect)
45
25
$AdminUI->disp_html_head();
46
 
 
47
 
// Display title, menu, messages, etc. (Note: messages MUST be displayed AFTER the actions)
 
26
// Display title, menu, messages, etc... (messages MUST be displayed AFTER the actions)
48
27
$AdminUI->disp_body_top();
49
 
 
50
 
// Begin payload block:
 
28
// Begin payload block
51
29
$AdminUI->disp_payload_begin();
52
30
 
53
31
switch( $action )
54
32
{
55
33
        case 'info':
56
 
                // Display VIEW:
57
 
                $AdminUI->disp_view( 'tools/views/_phpinfo.view.php' ); // this space for phpinfo() one day...
58
 
                break;
 
34
        // Display VIEW
 
35
        $AdminUI->disp_view( 'tools/views/_phpinfo.view.php' ); // this space for phpinfo() one day...
 
36
        break;
59
37
 
60
38
        case 'list':
61
39
        default:
62
 
                // Display VIEW:
63
 
                $AdminUI->disp_view( 'tools/views/_system_list.view.php' );
64
 
                break;
 
40
        // Display VIEW
 
41
        $AdminUI->disp_view( 'tools/views/_system_list.view.php' );
 
42
        break;
65
43
}
66
44
 
67
 
// End payload block:
 
45
// End payload block
68
46
$AdminUI->disp_payload_end();
69
 
 
70
 
// Display body bottom, debug info and close </html>:
 
47
// Display body bottom, debug info, close </html>
71
48
$AdminUI->disp_global_footer();
72
49
 
73
50
?>