'Site title', 'name' => 'title', 'type' => 'text' ); $theme['config'][] = Array( 'title' => 'Slogan', 'name' => 'subtitle', 'type' => 'text', 'comment' => '(optional)' ); $theme['config'][] = Array( 'title' => 'File', 'name' => 'file', 'type' => 'text', 'default' => $config['file_index'], 'comment' => '(eg. "index.html")' ); $theme['config'][] = Array( 'title' => '# of recent entries', 'name' => 'no_recent', 'type' => 'text', 'default' => 0, 'size' => 3, 'comment' => '(number of recent news entries to display; "0" is infinite)' ); // Unique function name for building everything $theme['build_function'] = 'basic_build'; $theme['install_callback'] = 'build_install'; if(!function_exists('build_install')) { function build_install($settings) { if(!is_numeric($settings['no_recent']) || $settings['no_recent'] < 0) return Array(false, '' . $settings['no_recent'] . ' is not a non-negative integer.'); } }