1) { // If more than 1 is installed output selection box $OUT = generateThemeSelectionBox(); } elseif (($num_themes == 1) || ((!isAdmin()) && ($num_themes == 0))) { // If there's only one just output it's name $OUT = loadTemplate('theme_one', true, getCurrentThemeName()); } elseif (isAdmin()) { // If there is no theme installed and there's an admin notify him! $OUT = '{--ADMIN_NO_THEME_INSTALLED_WARNING--}'; } // Load final box template $GLOBALS['rows'] .= loadTemplate('theme_select_box', true, $OUT); // [EOF] ?>