'Header Options', 'id' => 'ttw_header_options', 'type' => 'header',
'info' => 'Other header options available in Appearance -> Header',
'std' => 'h3'),
array( 'name' => 'Menu Bar', 'id' => 'ttw_menubar_color', 'type' => 'ctext',
'info' => 'Color of the menu bar (Both Primary and Secondary Menus will have same colors)',
'std' => '#000000'),
array( 'name' => 'Menu Bar hover BG', 'id' => 'ttw_menubar_hoverbg_color', 'type' => 'ctext',
'info' => 'Color of the menu item and drop down background when hovering over item.',
'std' => '#333333'),
array( 'name' => 'Menu Bar text', 'id' => 'ttw_menubar_text_color', 'type' => 'ctext',
'info' => 'Color of the main menu bar text item when not hovering',
'std' => '#AAAAAA'),
array( 'name' => 'Menu Bar text hover', 'id' => 'ttw_menubar_hover_color', 'type' => 'ctext',
'info' => 'Color of the main menu bar text item when hovering',
'std' => '#FFFFFF'),
array( 'name' => 'Menu Bar current page', 'id' => 'ttw_menubar_curpage_color', 'type' => 'ctext',
'info' => 'Color of the main menu bar text item for currently displayed page',
'std' => '#FFFFFF'),
array( 'name' => 'Bold Menu Text', 'id' => 'ttw_bold_menu', 'type' => 'checkbox',
'info' => 'Check to use bold font style for menu text.',
'std' => false),
array( 'name' => 'Hide Menu Bars', 'id' => 'ttw_hide_menu', 'type' => 'checkbox',
'info' => "Don't want menu bars? Hide them. (If empty, Primary or Secondary menus won't display.)",
'std' => false),
array( 'name' => 'Menu Bar Gradient', 'id' => 'ttw_gradient_menu', 'type' => 'checkbox',
'info' => 'Check to add gradient effect to menu bars',
'std' => false),
array( 'name' => 'Move Primary Menu to Top', 'id' => 'ttw_move_menu', 'type' => 'checkbox',
'info' => 'Move the Primary Menu to above the image (Secondary Menu will be on bottom)',
'std' => false),
array( 'name' => 'Blog Title', 'id' => 'ttw_title_color', 'type' => 'ctext',
'info' => "Color of the blog's main title in header",
'std' => '#000000'),
array( 'name' => 'Blog Description', 'id' => 'ttw_desc_color', 'type' => 'ctext',
'info' => "Color of the blog's description tag line",
'std' => '#666666'),
array( 'name' => 'Larger Site Tagline', 'id' => 'ttw_large_tagline', 'type' => 'checkbox',
'info' => 'Check to make site Tagline larger.',
'std' => false),
array( 'name' => 'Title over Header Image', 'id' => 'ttw_title_on_header', 'type' => 'checkbox',
'info' => 'Check to move the site Title and Description over the Header Image.',
'std' => false),
array( 'name' => 'Hide Site Title/Description', 'id' => 'ttw_hide_site_title', 'type' => 'checkbox',
'info' => 'Check to hide display of Site Title and Description',
'std' => false),
array( 'name' => 'Header Image Links to Site', 'id' => 'ttw_link_site_image', 'type' => 'checkbox',
'info' => 'Check to add a link to site home page for Header Image',
'std' => false),
array( 'name' => 'Header Image Height', 'id' => 'ttw_header_image_height', 'type' => 'text', /* text-int to eventually validate */
'info' => 'Change the default height of the Header Image (use 0 to HIDE image). Standard size is 198. Upload new image in Appearance -> Header after changing height.',
'std' => '198'),
array( 'name' => 'Space After Header', 'id' => 'ttw_after_header', 'type' => 'text', /* text-int to eventually validate */
'info' => 'Change the space between Header and Body (specify space in px, but just give number, no px).',
'std' => '40'),
array( 'name' => 'General Appearance', 'id' => 'ttw_general_appearance', 'type' => 'header',
'info'=> '',
'std' => 'h3'),
array( 'name' => 'Theme Width', 'id' => 'ttw_header_image_width', 'type' => 'text', /* text-int to eventually validate */
'info' => 'Change Theme Width. Standard size is 940px. Header Image width is automatically changed, too.',
'std' => '940'),
array( 'name' => 'Main Sidebars', 'id' => 'ttw_sidebars', 'type' => 'select',
'info' => 'Choices for one on right (default), one on left, 3 varieties of two sidebars, or none.',
'std' => SB_default,
'value' => array( SB_default, SB_1rw, SB_1l, SB_2c, SB_2r, SB_2l, SB_none ),
),
array( 'name' => 'Sidebar Width', 'id' => 'ttw_sidebar_width', 'type' => 'text', /* text-int to eventually validate */
'info' => 'Change width of primary and secondary side bars. Use 0 for default width (varies depending on sidebar selection). Interacts with Theme Width.',
'std' => '0'),
array ('name' => __('Full Width Top/Bottom widget areas',TTW_TRANS), 'id' => 'ttw_wide_top_bottom', 'type' => 'checkbox',
'info' => __('Use full width of content area for top and bottom widget areas',TTW_TRANS),
'std' => false),
array ('name' => __('Hide Top/Bottom widget area in pages',TTW_TRANS), 'id' => 'ttw_hide_widg_pages', 'type' => 'checkbox',
'info' => __('Hide the top and bottom widget areas on pages. They do not display if no widgets added to area.',TTW_TRANS),
'std' => false),
array ('name' => __('Hide Top/Bottom widget area in posts',TTW_TRANS), 'id' => 'ttw_hide_widg_posts', 'type' => 'checkbox',
'info' => __('Hide the top and bottom widget areas on posts (blog entries). They do not display if no widgets added to area.',TTW_TRANS),
'std' => false),
array ('name' => __('Always ShowTop/Bottom widget area on front page',TTW_TRANS), 'id' => 'ttw_force_widg_frontpage', 'type' => 'checkbox',
'info' => __('When checked, the top and bottom widget areas will always be displayed on the front page. Overrides other settings.',TTW_TRANS),
'std' => false),
array( 'name' => 'Bar under Widget Titles', 'id' => 'ttw_widget_header_underline', 'type' => 'text',
'info' => 'Enter size in px (just value, no px) if you want a bar under Widget Titles. Leave 0 for no bar.',
'std' => '0'),
array ( 'name' => 'Widget List Bullet',
'id' => 'ttw_list_bullet', 'type' => 'imgselect', 'info' => 'Bullet used for Sidebar Lists (black square default).',
'std' => '',
'value' => array('default','none', 'circle', 'disc', 'square',
'arrow1-black','arrow1-blue','arrow1-gray','arrow1-green','arrow1-red',
'arrow2-black','arrow2-blue','arrow2-gray','arrow2-green','arrow2-red',
'arrow3-black','arrow3-blue','arrow3-gray','arrow3-green','arrow3-red',
'arrow4-black','arrow4-blue','arrow4-gray','arrow4-green','arrow4-red',
'arrow5-black','arrow5-blue','arrow5-gray','arrow5-green','arrow5-red',
'check1-black','check1-blue','check1-gray','check1-green','check1-red',
'circle1-black','circle1-blue','circle1-gray','circle1-green','circle1-red',
'circle2-black','circle2-blue','circle2-gray','circle2-green','circle2-red',
'diamond1-black','diamond1-blue','diamond1-gray','diamond1-green','diamond1-red',
'diamond2-black','diamond2-blue','diamond2-gray','diamond2-green','diamond2-red',
'plus1-black','plus1-blue','plus1-gray','plus1-green','plus1-red',
'square1-black','square1-blue','square1-gray','square1-green','square1-red',
'square2-black','square2-blue','square2-gray','square2-green','square2-red',
'square3-black','square3-blue','square3-gray','square3-green','square3-red',
'star1-black','star1-blue','star1-gray','star1-green','star1-red',
'star2-black','star2-blue','star2-gray','star2-green','star2-red',
'star3-black','star3-blue','star3-gray','star3-green','star3-red',
'custom-black','custom-blue','custom-gray','custom-green','custom-red'
)),
array ( 'name' => 'Content List Bullet',
'id' => 'ttw_contentlist_bullet', 'type' => 'imgselect', 'info' => 'Bullet used for Unorderd Lists in Content areas',
'std' => '',
'value' => array('default','none', 'circle', 'disc', 'square',
'arrow1-black','arrow1-blue','arrow1-gray','arrow1-green','arrow1-red',
'arrow2-black','arrow2-blue','arrow2-gray','arrow2-green','arrow2-red',
'arrow3-black','arrow3-blue','arrow3-gray','arrow3-green','arrow3-red',
'arrow4-black','arrow4-blue','arrow4-gray','arrow4-green','arrow4-red',
'arrow5-black','arrow5-blue','arrow5-gray','arrow5-green','arrow5-red',
'check1-black','check1-blue','check1-gray','check1-green','check1-red',
'circle1-black','circle1-blue','circle1-gray','circle1-green','circle1-red',
'circle2-black','circle2-blue','circle2-gray','circle2-green','circle2-red',
'diamond1-black','diamond1-blue','diamond1-gray','diamond1-green','diamond1-red',
'diamond2-black','diamond2-blue','diamond2-gray','diamond2-green','diamond2-red',
'plus1-black','plus1-blue','plus1-gray','plus1-green','plus1-red',
'square1-black','square1-blue','square1-gray','square1-green','square1-red',
'square2-black','square2-blue','square2-gray','square2-green','square2-red',
'square3-black','square3-blue','square3-gray','square3-green','square3-red',
'star1-black','star1-blue','star1-gray','star1-green','star1-red',
'star2-black','star2-blue','star2-gray','star2-green','star2-red',
'star3-black','star3-blue','star3-gray','star3-green','star3-red',
'custom-black','custom-blue','custom-gray','custom-green','custom-red'
)),
array ( 'name' => 'Content Font',
/* IMPORTANT! make sure font style (e.g., '(serif)') has no spaces (other than defaut case). */
'id' => 'ttw_content_font', 'type' => 'select', 'info' => 'Font used for main site content',
'std' => 'Bitstream Charter (default,serif)',
'value' => array( 'Bitstream Charter (default,serif)',
'Helvetica Neue (sans-serif)', 'Arial (sans-serif)', 'Verdana (sans-serif)', 'Tahoma (sans-serif)',
'Arial Black (sans-serif)', 'Avant Garde (sans-serif)', 'Comic Sans MS (sans-serif)',
'Impact (sans-serif)', 'Trebuchet (sans-serif)', 'Century Gothic (sans-serif)',
'Lucida Grande (sans-serif)', 'Univers (sans-serif)',
'Times New Roman (serif)', 'Georgia (serif)', 'Palatino (serif)',
'Bookman (serif)', 'Garamond (serif)',
'Courier New (mono)', 'Andale Mono (mono)'
)),
array ('name' => 'Smaller Content Font', 'id' => 'ttw_small_content_font', 'type' => 'checkbox',
'info' => 'Make font of article and post text a bit smaller.',
'std' => false),
array ( 'name' => 'Titles Font', 'id' => 'ttw_title_font', 'type' => 'select',
'info' => 'Font used for titles, labels, and other text.',
'std' => 'Helvetica Neue (default, sans)',
'value' => array( 'Helvetica Neue (default, sans)',
'Bitstream Charter (serif)', 'Arial (sans-serif)', 'Verdana (sans-serif)', 'Tahoma (sans-serif)',
'Arial Black (sans-serif)', 'Avant Garde (sans-serif)', 'Comic Sans MS (sans-serif)',
'Impact (sans-serif)', 'Trebuchet (sans-serif)', 'Century Gothic (sans-serif)',
'Lucida Grande (sans-serif)', 'Univers (sans-serif)',
'Times New Roman (serif)', 'Georgia (serif)', 'Palatino (serif)',
'Bookman (serif)', 'Garamond (serif)',
'Courier New (mono)', 'Andale Mono (mono)'
)),
array( 'name' => 'Bar under Titles', 'id' => 'ttw_header_underline', 'type' => 'text',
'info' => 'Enter size in px (just value, no px) if you want a bar under Titles. Leave 0 for no bar.',
'std' => '0'),
array( 'name' => 'Rounded Corners', 'id' => 'ttw_rounded_corners', 'type' => 'checkbox',
'info' => "Check to use rounded corners for main area and colored sidebars (won't show on IE, but looks good on Mozilla/Safari/others)",
'std' => false),
array( 'name' => 'Area Border', 'id' => 'ttw_useborders', 'type' => 'checkbox',
'info' => 'Check to include border around main area and colored sidebars',
'std' => false),
array( 'name' => 'Weaver Table Style', 'id' => 'ttw_weaver_tables', 'type' => 'checkbox',
'info' => 'Use alternative Weaver styles for tables: more compact, less padding.',
'std' => false),
array( 'name' => 'Footer Border', 'id' => 'ttw_footer_border_color', 'type' => 'ctext',
'info' => 'Color of the border above the footer area.',
'std' => '#000000'),
array( 'name' => '<HR> color', 'id' => 'ttw_hr_color', 'type' => 'ctext',
'info' => 'Color of horizontal (<hr>) lines in posts and pages.',
'std' => '#000000'),
array( 'name' => 'Theme Text Colors', 'id' => 'ttw_themecolors', 'type' => 'header',
'info' => '', 'std' => 'h3'),
array( 'name' => 'Heading text', 'id' => 'ttw_text_color', 'type' => 'ctext',
'info' => 'Default color for headings and other text not otherwise specified.',
'std' => '#000000'),
array( 'name' => 'Content text', 'id' => 'ttw_content_color', 'type' => 'ctext',
'info' => 'Color for main blog and article content.',
'std' => '#444444'),
array( 'name' => 'Widget Title', 'id' => 'ttw_widget_title_color', 'type' => 'ctext',
'info' => 'Color for Widget titles and labels.',
'std' => '#222222'),
array( 'name' => 'Widget text', 'id' => 'ttw_widget_color', 'type' => 'ctext',
'info' => 'Color for widget content.',
'std' => '#666666'),
array( 'name' => 'Standard Link', 'id' => 'ttw_link_color', 'type' => 'ctext',
'info' => 'Color for most links.',
'std' => '#0066CC'),
array( 'name' => 'Standard Link Visited', 'id' => 'ttw_link_visited_color', 'type' => 'ctext',
'info' => 'Color for links that have been visited.',
'std' => '#743399'),
array( 'name' => 'Standard Link Hover', 'id' => 'ttw_link_hover_color', 'type' => 'ctext',
'info' => 'Color for links when hovering.',
'std' => '#FF4B33'),
array( 'name' => 'Widget Link', 'id' => 'ttw_wlink_color', 'type' => 'ctext',
'info' => 'Color for links in widgets (uses Standard Link colors if left to default color).',
'std' => '#0066CC'),
array( 'name' => 'Widget Link Visited', 'id' => 'ttw_wlink_visited_color', 'type' => 'ctext',
'info' => 'Color for widget links that have been visited.',
'std' => '#743399'),
array( 'name' => 'Widget Link Hover', 'id' => 'ttw_wlink_hover_color', 'type' => 'ctext',
'info' => 'Color for widget links when hovering.',
'std' => '#FF4B33'),
array( 'name' => 'Post Entry Title Link', 'id' => 'ttw_plink_color',
'type' => 'ctext', 'info' => 'Post entry title link color (blog entry titles are links).',
'std' => '#000000'),
array( 'name' => 'Post Entry Title Link Visited', 'id' => 'ttw_plink_visited_color', 'type' => 'ctext',
'info' => 'Post entry title links that have been visited.',
'std' => '#000000'),
array( 'name' => 'Post Entry Title Link Hover', 'id' => 'ttw_plink_hover_color', 'type' => 'ctext',
'info' => 'Post entry title for links when hovering.',
'std' => '#FF4B33'),
array( 'name' => 'Information text', 'id' => 'ttw_info_color', 'type' => 'ctext',
'info' => 'Color for secondary and information text like dates and small labels.',
'std' => '#888888'),
array( 'name' => 'Information Link', 'id' => 'ttw_ilink_color', 'type' => 'ctext',
'info' => 'Links in secondary and information text like dates and small labels.',
'std' => '#888888'),
array( 'name' => 'Information Link Visited', 'id' => 'ttw_ilink_visited_color', 'type' => 'ctext',
'info' => 'Visited Information Links.',
'std' => '#888888'),
array( 'name' => 'Information Link Hover', 'id' => 'ttw_ilink_hover_color', 'type' => 'ctext',
'info' => 'Hovering on Information links.',
'std' => '#FF4B33'),
array( 'name' => 'Theme Background Colors', 'id' => 'ttw_themecolors', 'type' => 'header',
'info' => '', 'std' => 'h3'),
array( 'name' => 'Wrapper Page BG', 'id' => 'ttw_page_bgcolor', 'type' => 'ctext',
'info' => "Background for top level #wrapper div - default BG if you don't change others.",
'std' => '#FFFFFF'),
array( 'name' => 'Main Area BG', 'id' => 'ttw_main_bgcolor', 'type' => 'ctext',
'info' => 'Background for main page #main div - wraps conatiner, content and sidebars (uses wrapper bg if not set).',
'std' => 'transparent'),
array( 'name' => 'Container Area BG', 'id' => 'ttw_container_bgcolor', 'type' => 'ctext',
'info' => 'Background for #container div - wraps content and sidebars (uses wrapper bg if not set).',
'std' => 'transparent'),
array( 'name' => 'Content BG', 'id' => 'ttw_content_bgcolor', 'type' => 'ctext',
'info' => 'Background for post and page #content div (uses main bg if not set).',
'std' => 'transparent'),
array( 'name' => 'Primary Widget Area BG', 'id' => 'ttw_side1_bgcolor', 'type' => 'ctext',
'info' => 'Background for the primary (#1 sidebar) widget area.',
'std' => 'transparent'),
array( 'name' => 'Secondary Widget Area BG', 'id' => 'ttw_side2_bgcolor', 'type' => 'ctext',
'info' => 'Background for the secondary (#2 sidebar) widget area.',
'std' => 'transparent'),
array( 'name' => 'Top/Bottom Widget Area BG', 'id' => 'ttw_topbottom_bgcolor', 'type' => 'ctext',
'info' => 'Background for the top and bottom widget areas.',
'std' => 'transparent'),
array( 'name' => 'Footer BG', 'id' => 'ttw_footer_bgcolor', 'type' => 'ctext',
'info' => 'Background for the footer area.',
'std' => 'transparent'),
/* array( 'name' => 'Sticky Post BG', 'id' => 'ttw_sticky_bgcolor', 'type' => 'ctext',
'info' => 'Background for sticky posts.',
'std' => 'inherit'), */
array( 'name' => 'Outside BG', 'id' => 'ttw_body_bgcolor', 'type' => 'ctext',
'info' => 'Background color that wraps entire page. Using Appearance->Background will override this value, or allow a background image instead.',
'std' => '#F8F8F8'),
array( 'name' => 'Fade Outside BG', 'id' => 'ttw_fadebody_bg', 'type' => 'checkbox',
'info' => 'Will fade the Outside BG color, darker at top to lighter at bottom.',
'std' => false),
array( 'name' => 'Wrap site with shadow', 'id' => 'ttw_wrap_shadow', 'type' => 'checkbox',
'info' => "Will wrap site's main area with a shadow (won't show on IE, but looks good on Mozilla/Safari/others)",
'std' => false)
);
/* $ttw_optionsList is a "master" list of every option TT Weaver can change. It is IMPORTANT to keep it up to date, because
it is used to save the user's own theme. While this array very closely parallels the theme definitions above,
it has the extra fields for the advanced options. Also used to download and restore themes. And it now uses
false for non-set values - to indicate to use the default std value.
*/
$ttw_optionsList = array (
'ttw_menubar_color' => false,
'ttw_menubar_hoverbg_color' => false,
'ttw_menubar_text_color' => false,
'ttw_menubar_hover_color' => false,
'ttw_menubar_curpage_color' => false,
'ttw_bold_menu' => false,
'ttw_hide_menu' => false,
'ttw_gradient_menu' => false,
'ttw_move_menu' => false,
'ttw_large_tagline' => false,
'ttw_hide_site_title' => false,
'ttw_link_site_image' => false,
'ttw_title_on_header' => false,
'ttw_header_image_height' => false,
'ttw_header_image_width' => false,
'ttw_sidebar_width' => false,
'ttw_after_header' => false,
'ttw_sidebars' => false,
'ttw_wide_top_bottom' => false,
'ttw_hide_widg_pages' => false,
'ttw_hide_widg_posts' => false,
'ttw_force_widg_frontpage' => false,
'ttw_content_font' => false,
'ttw_small_content_font' => false,
'ttw_title_font' => false,
'ttw_header_underline' => false,
'ttw_list_bullet' => false,
'ttw_contentlist_bullet' => false,
'ttw_widget_header_underline' => false,
'ttw_rounded_corners' => false,
'ttw_weaver_tables' => false,
'ttw_useborders' => false,
'ttw_footer_border_color' => false,
'ttw_hr_color' => false,
'ttw_title_color' => false,
'ttw_desc_color' => false,
'ttw_text_color' => false,
'ttw_content_color' => false,
'ttw_widget_title_color' => false,
'ttw_widget_color' => false,
'ttw_link_color' => false,
'ttw_link_visited_color' => false,
'ttw_link_hover_color' => false,
'ttw_wlink_color' => false,
'ttw_wlink_visited_color' => false,
'ttw_wlink_hover_color' => false,
'ttw_plink_color' => false,
'ttw_plink_visited_color' => false,
'ttw_plink_hover_color' => false,
'ttw_info_color' => false,
'ttw_ilink_color' => false,
'ttw_ilink_visited_color' => false,
'ttw_ilink_hover_color' => false,
'ttw_page_bgcolor' => false,
'ttw_main_bgcolor' => false,
'ttw_content_bgcolor' => false,
'ttw_side1_bgcolor' => false,
'ttw_side2_bgcolor' => false,
'ttw_topbottom_bgcolor' => false,
'ttw_footer_bgcolor' => false,
'ttw_body_bgcolor' => false,
'ttw_fadebody_bg' => false,
'ttw_wrap_shadow' => false,
'ttw_theme_head_opts' => false, /* PLUS the advanced opts! */
'ttw_head_opts' => false,
'ttw_footer_opts' => false,
'ttw_header_insert' => false,
'ttw_header_frontpage_only' => false,
'ttw_themename' => false,
'ttw_theme_description' => false,
'ttw_theme_image' =>'',
'ttw_subtheme' => false /* plus current subtheme */
);
$ttw_myoptionsList = array ();
$ttw_myoptionsList = $ttw_optionsList; /* make a copy */
/* This list determines the order the themes are displayed on the pick a theme select box.
It needs to be updated with each newly created subtheme. */
$ttw_themeList = array('Wheat', 'My Saved Theme', 'Black and White', 'Blue', 'Browns', 'Dark with Green','Dark - 2 Left Sidebars', 'IndieAve',
'Ivory Drive', 'Orange','Reds', 'Shadows', 'Simple Silver','Sopris','Tan and Gray', TTW_DEFAULT_THEME, 'White','WP Weaver');
$ttw_fullThemeList = array();
$ttw_adminOpts = array('ttw_version_id'=>TTW_VERSION_ID, 'ttw_hide_preview'=>false, 'ttw_hide_theme_thumbs'=>false,
'ttw_hide_metainfo'=>false, 'ttw_metainfo'=>'','ttw_end_opts' => false,);
?>