forked from Admidio/admidio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoverview.php
30 lines (24 loc) · 990 Bytes
/
overview.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
/**
***********************************************************************************************
* A small overview of all Admidio modules with the integration of Admidio plugins
*
* @copyright 2004-2021 The Admidio Team
* @see https://www.admidio.org/
* @license https://www.gnu.org/licenses/gpl-2.0.html GNU General Public License v2.0 only
***********************************************************************************************
*/
// if config file doesn't exists, than show installation dialog
if (!is_file(dirname(__DIR__) . '/adm_my_files/config.php'))
{
header('Location: installation/index.php');
exit();
}
require_once(__DIR__ . '/system/common.php');
$headline = $gL10n->get('SYS_OVERVIEW');
// Navigation of the module starts here
$gNavigation->addStartUrl(CURRENT_URL, $headline);
// create html page object and load template file
$page = new HtmlPage('admidio-overview', $headline);
$page->addTemplateFile('overview.tpl');
$page->show();