X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Ftheme_functions.php;h=ff9e5e3497297cb6348b51c708204abd1b3f3da5;hb=e1d636846bafc8ae71855595a2a2843463025e26;hp=2e4b807dbec1170a46dd19965596c411eadc4ee9;hpb=116747e4dba29e9e2e4daa82c45d8bbb302e9378;p=mailer.git diff --git a/inc/libs/theme_functions.php b/inc/libs/theme_functions.php index 2e4b807dbe..ff9e5e3497 100644 --- a/inc/libs/theme_functions.php +++ b/inc/libs/theme_functions.php @@ -43,7 +43,7 @@ if (!defined('__SECURITY')) { } // Create a selection box with installed and activated themes -function THEME_SELECTION_BOX ($mod, $act, $wht, $result) { +function generateThemeSelectionBox ($mod, $act, $wht, $result) { // Construction URL $formAction = "{!URL!}/modules.php?module=".$mod; if (!empty($act)) $formAction .= "&action=".$act; @@ -59,9 +59,9 @@ function THEME_SELECTION_BOX ($mod, $act, $wht, $result) { while ($content = SQL_FETCHARRAY($result)) { // Load it's theme.php file $INC = sprintf("theme/%s/theme.php", SQL_ESCAPE($content['theme_path'])); - if (INCLUDE_READABLE($INC)) { + if (isIncludeReadable($INC)) { // And save all data in array - LOAD_INC($INC); + loadInclude($INC); $themesArray['theme_unix'][] = $content['theme_path']; $themesArray['theme_name'][] = $GLOBALS['theme_data']['name']; } // END - if @@ -74,7 +74,7 @@ function THEME_SELECTION_BOX ($mod, $act, $wht, $result) { $OUT = ''; foreach ($themesArray['theme_unix'] as $key => $theme) { $OUT .= "