No, I did not change the themeoptions:
`require_once(SERVERPATH . "/" . ZENFOLDER . "/admin-functions.php");
class ThemeOptions {
var $iSupport = array('Allow_comments' => array('type' => 1, 'desc' => 'Set to enable comment section.'),
'Allow_ratings' => array('type' => 1, 'desc' => 'Set to enable album and image ratings.'),
'Allow_search' => array('type' => 1, 'desc' => 'Set to enable search form.'),
'Theme_colors' => array('type' => 2, 'desc' => 'Set the colors of the theme')
);
function ThemeOptions() {
setOptionDefault('Allow_comments', true);
setOptionDefault('Allow_ratings', true);
setOptionDefault('Allow_search', true);
setOptionDefault('Theme_colors', 'light');
}
function getOptionsSupported() {
return $this->iSupport;
}
function handleOption($option, $currentValue) {
if ($option == 'Theme_colors') {
$gallery = new Gallery();
$theme = $gallery->getCurrentTheme();
$themeroot = SERVERPATH . "/themes/$theme/styles";
echo '<select id="themeselect" name="' . $option . '"' . ">\n";
generateListFromFiles($currentValue, $themeroot , '.css');
echo "</select>\n";
}
}
}`
When I just use
`<?php printSearchForm(''); ?>`
it works, but the first page is blank. When I click on page 2 it will begin showing the pictures.