Init Repo
This commit is contained in:
41
resources/content/settings.php
Normal file
41
resources/content/settings.php
Normal file
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
if (!defined('PICONTROL')) exit();
|
||||
|
||||
(include_once LIBRARY_PATH.'cron/cron.class.php') or die('Error: 0x0010');
|
||||
(include_once LIBRARY_PATH.'cache/cache.class.php') or die('Error: 0x0011');
|
||||
(include_once LIBRARY_PATH.'curl/curl.class.php') or die('Error: 0x0012');
|
||||
$tpl->setHeaderTitle(_t('Einstellungen'));
|
||||
|
||||
switch ((isset($_GET['do']) ? $_GET['do'] : ''))
|
||||
{
|
||||
case 'overview':
|
||||
include_once CONTENT_PATH.'settings/overview.php';
|
||||
break;
|
||||
case 'pi-control':
|
||||
include_once CONTENT_PATH.'settings/pi-control.php';
|
||||
break;
|
||||
case 'update':
|
||||
include_once CONTENT_PATH.'settings/update.php';
|
||||
break;
|
||||
case 'plugins':
|
||||
include_once CONTENT_PATH.'settings/plugins.php';
|
||||
break;
|
||||
case 'troubleshooting':
|
||||
include_once CONTENT_PATH.'settings/troubleshooting.php';
|
||||
break;
|
||||
case 'statistic':
|
||||
include_once CONTENT_PATH.'settings/statistic.php';
|
||||
break;
|
||||
case 'notification':
|
||||
include_once CONTENT_PATH.'settings/notification.php';
|
||||
break;
|
||||
case 'user':
|
||||
include_once CONTENT_PATH.'settings/user.php';
|
||||
break;
|
||||
case 'cache':
|
||||
include_once CONTENT_PATH.'settings/cache.php';
|
||||
break;
|
||||
default:
|
||||
$tpl->draw('settings');
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user