exit;
}
/**
 * Page definition.
 */
$options[] = array("page_title" => _x("Images Styling & Hovers", 'theme-options', 'the7mk2'), "menu_title" => _x("Images Styling & Hovers", 'theme-options', 'the7mk2'), "menu_slug" => "of-imghoovers-menu", "type" => "page");
/**
 * Heading definition.
 */
$options[] = array("name" => _x('Images Styling & Hovers', 'theme-options', 'the7mk2'), "type" => "heading");
/**
 * Styling.
 */
$options[] = array("name" => _x('Styling', 'theme-options', 'the7mk2'), "type" => "block_begin");
// radio
$options['image_hover-style'] = array("name" => _x('Image & hover decoration', 'theme-options', 'the7mk2'), "id" => 'image_hover-style', "std" => 'none', "type" => 'radio', "options" => presscore_themeoptions_get_hoover_options());
// radio
$options["image_hover-default_icon"] = array("name" => _x("Default hover icon", "theme-options", 'the7mk2'), "id" => "image_hover-default_icon", "std" => "white_icon", "type" => "radio", "options" => array("none" => _x('No icon', 'theme-options', 'the7mk2'), "white_icon" => _x('White icon', 'theme-options', 'the7mk2')));
$options[] = array("type" => "block_end");
/**
 * Hover color.
 */
$options[] = array("name" => _x('Hover color overlay', 'theme-options', 'the7mk2'), "type" => "block_begin");
// radio
$options["image_hover-color_mode"] = array("name" => _x("Hovers background color", "theme-options", 'the7mk2'), "id" => "image_hover-color_mode", "std" => "accent", "type" => "radio", "show_hide" => array('color' => "image-hover-color-mode-color", 'gradient' => "image-hover-color-mode-gradient"), "options" => array("accent" => _x('Accent', 'theme-options', 'the7mk2'), "color" => _x('Custom color', 'theme-options', 'the7mk2'), "gradient" => _x('Custom gradient', 'theme-options', 'the7mk2')));
// hidden area
$options[] = array("type" => "js_hide_begin", "class" => "image_hover-color_mode image-hover-color-mode-color");
// colorpicker
$options["image_hover-color"] = array("name" => " ", "id" => "image_hover-color", "std" => "#ffffff", "type" => "color");
$options[] = array("type" => "js_hide_end");
// hidden area
Example #2
0
}
/**
 * Page definition.
 */
$options[] = array("page_title" => _x("Image Styling & Hovers", 'theme-options', LANGUAGE_ZONE), "menu_title" => _x("Image Styling & Hovers", 'theme-options', LANGUAGE_ZONE), "menu_slug" => "of-imghoovers-menu", "type" => "page");
/**
 * Heading definition.
 */
$options[] = array("name" => _x('Image styling & hovers', 'theme-options', LANGUAGE_ZONE), "type" => "heading");
/**
 * Hover color.
 */
$options[] = array("name" => _x('Hover color overlay', 'theme-options', LANGUAGE_ZONE), "type" => "block_begin");
// colorpicker
$options[] = array("name" => '', "desc" => _x('Color', 'theme-options', LANGUAGE_ZONE), "id" => "hoover-color", "std" => "#000000", "type" => "color");
$options[] = array("type" => "block_end");
/**
 * Hover opacity.
 */
$options[] = array("name" => _x('Hover opacity', 'theme-options', LANGUAGE_ZONE), "type" => "block_begin");
// TODO: add some helpful info about opacity in ie <= 8
// slider
$options[] = array("name" => '', "desc" => _x('Opacity', 'theme-options', LANGUAGE_ZONE), "id" => "hoover-opacity", "std" => 100, "type" => "slider");
$options[] = array("type" => "block_end");
/**
 * Style.
 */
$options[] = array("name" => _x('Style', 'theme-options', LANGUAGE_ZONE), "type" => "block_begin");
// radio
$options[] = array("desc" => _x('Style', 'theme-options', LANGUAGE_ZONE), "id" => 'hoover-style', "std" => 'none', "type" => 'radio', "options" => presscore_themeoptions_get_hoover_options());
$options[] = array("type" => "block_end");