mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-18 02:59:27 +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;
|
$this->theme = $theme;
|
||||||
}
|
}
|
||||||
|
|
||||||
function getStyles() { /* {{{ */
|
static function getStyles() { /* {{{ */
|
||||||
global $settings;
|
global $settings;
|
||||||
|
|
||||||
$themes = array();
|
$themes = array();
|
||||||
|
@ -637,7 +637,7 @@ class UI_Default {
|
||||||
print UI::getImgPath($img);
|
print UI::getImgPath($img);
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
|
|
||||||
function exitError($pagetitle,$error) { /* {{{ */
|
static function exitError($pagetitle,$error) { /* {{{ */
|
||||||
|
|
||||||
UI::htmlStartPage($pagetitle);
|
UI::htmlStartPage($pagetitle);
|
||||||
UI::globalNavigation();
|
UI::globalNavigation();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user