<?php
-if(! function_exists('get_theme_config_file')) {
-function get_theme_config_file($theme) {
+
+function get_theme_config_file($theme){
$a = get_app();
$base_theme = $a->theme_info['extends'];
}
return null;
}
-}
-if(! function_exists('settings_init')) {
function settings_init(&$a) {
if(! local_user()) {
'$class' => 'settings-widget',
'$items' => $tabs,
));
+
}
-}
-if(! function_exists('settings_post')) {
+
function settings_post(&$a) {
if(! local_user())
goaway($a->get_baseurl(true) . '/settings' );
return; // NOTREACHED
}
-}
-if(! function_exists('settings_content')) {
+
function settings_content(&$a) {
$o = '';
$o .= '</form>' . "\r\n";
return $o;
+
}
-}
+