// hidden area $options[] = array('type' => 'js_hide_begin'); // colorpicker $options[] = array("name" => '', "desc" => _x('Internet Explorer color', 'theme-options', LANGUAGE_ZONE), "id" => "general-bg_ie_color", "std" => "#252525", "type" => "color"); $options[] = array('type' => 'js_hide_end'); // background_img $options[] = array('desc' => _x('Choose/upload background image', 'theme-options', LANGUAGE_ZONE), 'id' => 'general-bg_image', 'preset_images' => $backgrounds_general_bg_image, 'std' => array('image' => '', 'repeat' => 'repeat', 'position_x' => 'center', 'position_y' => 'center'), 'type' => 'background_img'); // checkbox $options[] = array("desc" => _x('Fullscreen', 'theme-options', LANGUAGE_ZONE), "id" => 'general-bg_fullscreen', "type" => 'checkbox', 'std' => 0); $options[] = array("type" => "block_end"); /** * Layout. */ $options[] = array("name" => _x('Layout', 'theme-options', LANGUAGE_ZONE), "type" => "block_begin"); // radio $options[] = array("desc" => _x('Layout', 'theme-options', LANGUAGE_ZONE), "id" => 'general-layout', "std" => 'wide', "type" => 'radio', "options" => presscore_themeoptions_get_general_layout_options(), "show_hide" => array('boxed' => true)); // hidden area $options[] = array('type' => 'js_hide_begin'); // colorpicker $options[] = array("desc" => _x('Background color', 'theme-options', LANGUAGE_ZONE), "id" => "general-boxed_bg_color", "std" => "#ffffff", "type" => "color"); // background_img $options[] = array('type' => 'background_img', 'id' => 'general-boxed_bg_image', 'desc' => _x('Choose/upload background image', 'theme-options', LANGUAGE_ZONE), 'preset_images' => $backgrounds_general_boxed_bg_image, 'std' => array('image' => '', 'repeat' => 'repeat', 'position_x' => 'center', 'position_y' => 'center')); // checkbox $options[] = array("desc" => _x('Fullscreen ', 'theme-options', LANGUAGE_ZONE), "id" => 'general-boxed_bg_fullscreen', "type" => 'checkbox', 'std' => 0); $options[] = array('type' => 'js_hide_end'); $options[] = array("type" => "block_end"); /** * Title. */ $options[] = array("name" => _x('Titles & Breadcrumbs', 'theme-options', 'presscore'), "type" => "block_begin"); // radio
* Heading definition. */ $options[] = array("name" => _x('Appearance', 'theme-options', LANGUAGE_ZONE), "type" => "heading"); /** * Style. */ $options[] = array("name" => _x("Style", "theme-options", LANGUAGE_ZONE), "type" => "block_begin"); // radio $options[] = array("name" => _x("Style", "theme-options", LANGUAGE_ZONE), "id" => "general-style", "std" => "ios7", "type" => "radio", "options" => array("ios7" => _x("iOS 7 style", "theme-options", LANGUAGE_ZONE), "minimalistic" => _x("Minimalist style", "theme-options", LANGUAGE_ZONE))); $options[] = array("type" => "block_end"); /** * Layout. */ $options[] = array("name" => _x('Layout', 'theme-options', LANGUAGE_ZONE), "type" => "block_begin"); // radio $options[] = array("name" => _x('Layout', 'theme-options', LANGUAGE_ZONE), "id" => 'general-layout', "std" => 'wide', "type" => 'radio', "options" => presscore_themeoptions_get_general_layout_options()); // title $options[] = array("type" => 'title', "name" => _x('Background under the box', 'theme-options', LANGUAGE_ZONE)); // colorpicker $options[] = array("name" => _x('Background color', 'theme-options', LANGUAGE_ZONE), "id" => "general-boxed_bg_color", "std" => "#ffffff", "type" => "color"); // background_img $options[] = array('type' => 'background_img', 'id' => 'general-boxed_bg_image', 'name' => _x('Choose/upload background image', 'theme-options', LANGUAGE_ZONE), 'preset_images' => $backgrounds_general_boxed_bg_image, 'std' => array('image' => '', 'repeat' => 'repeat', 'position_x' => 'center', 'position_y' => 'center')); // checkbox $options[] = array("name" => _x('Fullscreen ', 'theme-options', LANGUAGE_ZONE), "id" => 'general-boxed_bg_fullscreen', "type" => 'checkbox', 'std' => 0); $options[] = array("type" => "block_end"); /** * Background. */ $options[] = array("name" => _x('Background', 'theme-options', LANGUAGE_ZONE), "type" => "block_begin"); // colorpicker $options[] = array("name" => _x('Color', 'theme-options', LANGUAGE_ZONE), "id" => "general-bg_color", "std" => "#252525", "type" => "color");
$options[] = array("name" => _x('Appearance', 'theme-options', 'the7mk2'), "type" => "heading"); /** * Style. */ $options[] = array("name" => _x("Style", "theme-options", 'the7mk2'), "type" => "block_begin"); // radio $options[] = array("name" => _x("Style", "theme-options", 'the7mk2'), "id" => "general-style", "std" => "ios7", "type" => "radio", "options" => array("ios7" => _x("iOS 7 style", "theme-options", 'the7mk2'), "minimalistic" => _x("Minimalist style", "theme-options", 'the7mk2'), "material" => _x("Material design style", "theme-options", 'the7mk2'))); $options[] = array("type" => "block_end"); /** * Layout. */ $options[] = array("name" => _x('Layout', 'theme-options', 'the7mk2'), "type" => "block_begin"); // text $options[] = array("desc" => '', "name" => _x('Content width (in "px" or "%")', 'theme-options', 'the7mk2'), "id" => "general-content_width", "std" => '1200px', "type" => "text", "sanitize" => 'css_width'); // radio $options[] = array("name" => _x('Layout', 'theme-options', 'the7mk2'), "id" => 'general-layout', "std" => 'wide', "type" => 'radio', "options" => presscore_themeoptions_get_general_layout_options(), "show_hide" => array("boxed" => true)); // hidden area $options[] = array("type" => "js_hide_begin"); // text $options[] = array("desc" => '', "name" => _x('Box width (in "px" or "%")', 'theme-options', 'the7mk2'), "id" => "general-box_width", "std" => '1320px', "type" => "text", "sanitize" => 'css_width'); $options[] = array("type" => "js_hide_end"); // title $options[] = array("type" => 'title', "name" => _x('Background under the box', 'theme-options', 'the7mk2')); // colorpicker $options[] = array("name" => _x('Background color', 'theme-options', 'the7mk2'), "id" => "general-boxed_bg_color", "std" => "#ffffff", "type" => "color"); // background_img $options[] = array('type' => 'background_img', 'id' => 'general-boxed_bg_image', 'name' => _x('Add background image', 'theme-options', 'the7mk2'), 'preset_images' => $backgrounds_general_boxed_bg_image, 'std' => array('image' => '', 'repeat' => 'repeat', 'position_x' => 'center', 'position_y' => 'center')); // checkbox $options[] = array("name" => _x('Fullscreen ', 'theme-options', 'the7mk2'), "id" => 'general-boxed_bg_fullscreen', "type" => 'checkbox', 'std' => 0); // Fixed background $options[] = array("name" => _x('Fixed background ', 'theme-options', 'the7mk2'), "id" => 'general-boxed_bg_fixed', "type" => 'checkbox', 'std' => 0);