liam-linux-account-manager/views/tools.php

15 lines
283 B
PHP
Raw Permalink Normal View History

2021-11-16 15:11:32 +01:00
<?php
if(!$active_user->admin) {
require('views/error403.php');
die;
}
$content = new PageSection('tools');
$page = new PageSection('base');
$page->set('title', 'Tools');
$page->set('content', $content);
$page->set('alerts', $active_user->pop_alerts());
echo $page->generate();