27 lines
989 B
PHP
Raw Normal View History

2015-08-01 23:47:45 -03:00
<?php defined('BLUDIT') or die('Bludit CMS.');
// ============================================================================
// Check role
// ============================================================================
if ($Login->role()!=='admin') {
Alert::set($Language->g('You do not have sufficient permissions'));
Redirect::page('dashboard');
2015-08-01 23:47:45 -03:00
}
2015-08-02 21:49:12 -03:00
// ============================================================================
// Main after POST
// ============================================================================
2015-08-01 23:47:45 -03:00
// ============================================================================
// POST Method
// ============================================================================
// ============================================================================
2015-08-02 21:49:12 -03:00
// Main after POST
2015-08-01 23:47:45 -03:00
// ============================================================================
2015-08-02 01:40:24 -03:00
2016-01-16 11:01:29 -03:00
$themes = buildThemes();
// Title of the page
$layout['title'] .= ' - '.$Language->g('Themes');