mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 08:55:54 +00:00
make getStyles() and exitError() static
This commit is contained in:
parent
cfc301290e
commit
52268d659c
|
@ -27,7 +27,7 @@ class UI_Default {
|
|||
$this->theme = $theme;
|
||||
}
|
||||
|
||||
function getStyles() { /* {{{ */
|
||||
static function getStyles() { /* {{{ */
|
||||
global $settings;
|
||||
|
||||
$themes = array();
|
||||
|
@ -637,7 +637,7 @@ class UI_Default {
|
|||
print UI::getImgPath($img);
|
||||
} /* }}} */
|
||||
|
||||
function exitError($pagetitle,$error) { /* {{{ */
|
||||
static function exitError($pagetitle,$error) { /* {{{ */
|
||||
|
||||
UI::htmlStartPage($pagetitle);
|
||||
UI::globalNavigation();
|
||||
|
|
Loading…
Reference in New Issue
Block a user