Exemplo n.º 1
0
	display: block !important;
	float: left !important;
	border-bottom: none;
	margin-top: -10px;
}

ul#bottom-right-menu li {
	margin-left: 20px;
}

ul#bottom-left-menu li {
	margin-right:20px;
}

/* Skin dynamic settings */

/* Font override */

h1, h2, h3, h4, h5, h6 {
	color:<?php echo epanel_option('headings_color');?> !important;
}

#page-content a, #homepage-content a, #products-scroller a, #sidebar a {
	color:<?php echo epanel_option('content_link');?> !important;
} 

#page-content, #page-content p, #homepage-content, #homepage-content p {
	color:<?php echo epanel_option('content_text');?> !important; 
}

<?php } ?>
Exemplo n.º 2
0
	function menus () {
		global $wp;
		$this->pages = array();
		$this->menus = array();
		$this->addpage('logout',__('Logout','Ecart'));
		if(epanel_option('area_custom')) {
		$this->addpage('custom',__(epanel_option('custom_link_text'),'Ecart'));
		}
		
		if(epanel_option('area_orders')) {
		$this->addpage('history',__('Order History','Ecart'),true,array(&$this,'load_orders'));
		}
		
		if(epanel_option('area_downloads')) {
		$this->addpage('downloads',__('Downloads','Ecart'),true,array(&$this,'load_downloads'));
		}
		
		if(epanel_option('area_account')) {
		$this->addpage('account',__('My Account','Ecart'));
		}


		// Pages with not in menu navigation
		$this->addpage('order','Order',false,array(&$this,'order'));
		$this->addpage('recover','Password Recovery',false);

		if (isset($wp->query_vars['acct']) && $wp->query_vars['acct'] == "rp") $this->reset_password($_GET['key']);
		if (isset($_POST['recover-login'])) $this->recovery();

		do_action_ref_array('ecart_account_menu',array(&$this));
	}
Exemplo n.º 3
0
}

#main-menu-wrapper > ul > li > a {
	text-transform: uppercase;
	font-family: '<?php echo epanel_option('google_font_url');?>', Lucida Sans Unicode, Lucida Grande, Trebuchet MS,Helvetica,Arial,sans-serif;
	font-weight: normal;
}

#main-menu-wrapper ul ul li a, #main-menu-wrapper ul ul ul li a, .sub-menu a, .shopp.account a, .purchase-fields span { font-family: Lucida Sans Unicode, Lucida Grande, Trebuchet MS,Helvetica,Arial,sans-serif !important; }

#intro-text {
	font-family: '<?php echo epanel_option('google_font_url');?>', Lucida Sans Unicode, Lucida Grande, Trebuchet MS,Helvetica,Arial,sans-serif;
}

.mini-content h2 {
	font-family: '<?php echo epanel_option('google_font_url');?>', Lucida Sans Unicode, Lucida Grande, Trebuchet MS,Helvetica,Arial,sans-serif;
}

#products-scroller p {
	font-family: '<?php echo epanel_option('google_font_url');?>', Lucida Sans Unicode, Lucida Grande, Trebuchet MS,Helvetica,Arial,sans-serif;
}

.latest-post p.the-date {
	font-family: '<?php echo epanel_option('google_font_url');?>', Lucida Sans Unicode, Lucida Grande, Trebuchet MS,Helvetica,Arial,sans-serif;
}

#store-home-wrapper .epanel_mega a, #store-home-menu > li > a, #widget-login input[type=submit], #widget-login label, #recover-button, #customer-registration input[type=submit], #searchform input[type=submit], #cart-header, #cart-header ol, #cart-header-confirm, #wrapper {
	font-family: '<?php echo epanel_option('google_font_url');?>', Lucida Sans Unicode, Lucida Grande, Trebuchet MS,Helvetica,Arial,sans-serif;
}

<?php } ?>
Exemplo n.º 4
0
		<?php if (get_post_meta($post->ID, 'sidebar_position', true ) =='left') { ?>
		
			<div class="one_fourth" id="sidebar">
				<?php if ( !function_exists('dynamic_sidebar') || ! generated_dynamic_sidebar('Page Sidebar') ) ; ?>
			</div>
			
			<div class="three_fourth last" id="page-content">
			<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
			
			<?php the_content();?>
			
			<?php endwhile; endif; ?>
			
			<div class="contact-area">
			
			        <?php $success_msg  = epanel_option('contact_ok');?>
			
			        <div class="success-contact"><?php echo ($success_msg) ? $success_msg : "Your message has been sent successfully. Thank you!";?></div>                                
			
			        <div id="contactFormArea">                                  
			            <form action="#" id="contactform"> 
			                <fieldset>
			                    <label>Full Name</label>
			                    <input type="text" name="name" class="textfield" id="name" value="" />
			
			                    <label>Email Address</label>
			                    <input type="text" name="email" class="textfield" id="email" value="" />
			
			                    <label>Subject</label>
			                    <input type="text" name="subject" class="textfield" id="subject" value="" />
				
Exemplo n.º 5
0
				</li>
				
				<?php } else { ?>
				
				<li><a href="<?php echo get_post_meta($post->ID, 'item_url', true ); ?>"><img src="<?php echo $image_scroll[url]; ?>" width="<?php echo $image_scroll[width]; ?>" height="<?php echo $image_scroll[height]; ?>" alt="<?php the_title();?>" title="<?php the_title()?>" /></a>
					<p><?php the_title();?></p>
				</li>
				
		<?php } endwhile;?>
			
		</ul>
		</div>
			
	</div><!-- end product slider -->
	
	<?php } else if(epanel_option('home_product_slider') == 'store_scroll_mode') { ?>
	
		<div id="product-slider">
		
			<h5 class="container"><?php _e('Latest Featured Products','epanel');?></h5>
			
			<div id="scroller-wrapper" class="container">
			
			<?php 
						
			ecart('catalog','featured-products','order='.$shop_catalog_order.'&load=true'); 
							
			// START SHOP SYSTEM LOOP - PLEASE DO NOT EDIT THIS UNLESS YOU KNOW WHAT YOU ARE DOING 
			
			if(ecart('category','hasproducts','load=prices,specs,categories&limit='.$shop_home_limit)) : ?>
				
Exemplo n.º 6
0
						
						<?php if(epanel_option('show_product_summary')) { ?>
							<?php ecart('product','summary');?>
						<?php } ?>
						
					</div>
					
					<div class="price-details">
						
						 <?php if(ecart('product','has-savings')): ?>
						 	
						 	<div class="discounted-price">
						 		<p class="old-price"><?php ecart('product','price'); ?></p>
						 		
						 		<div class="new-price">
							 		<p><?php if (epanel_option('store_home_sale_show_text')) { echo epanel_option('store_home_sale_text'); } ?></p>
							 		<p><?php ecart('product','saleprice'); ?></p>
						 		</div>
						 	</div>
						 	
						 	<a class="catalog-link-discount" href="<?php ecart('product','link');?>"><?php _e('Read Details','epanel');?></a>
						 
						 <?php else: ?>
						 	
						 	<div class="catalog-price">
						 	 <?php ecart('product','price'); ?>
						 	</div>
						 	
						 	<a class="catalog-link" href="<?php ecart('product','link');?>"><?php _e('Read Details','epanel');?></a>
						 	
						 <?php endif; ?>
Exemplo n.º 7
0
function epanel_template_scripts() {
	if (!is_admin()) {
		
		wp_deregister_script('jquery');
		wp_register_script('jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js', false, '1.4');
		wp_enqueue_script('jquery');
		
		if (epanel_option('fontreplacement')) {
		
			wp_enqueue_script('cufon', get_template_directory_uri() . '/js/cufon.js', 'jquery');
			wp_enqueue_script('cufon-font', get_template_directory_uri() . '/js/cufon/'. epanel_option('cufon_font_file'), 'jquery');
		}
		wp_enqueue_script('menu', get_template_directory_uri() . '/js/superfish.js', 'jquery');
		wp_enqueue_script('menu-hover', get_template_directory_uri() . '/js/hoverIntent.js', 'jquery');
		wp_enqueue_script('menu-bgframe', get_template_directory_uri() . '/js/jquery.bgiframe.min.js', 'jquery');
		wp_enqueue_script('menu-super', get_template_directory_uri() . '/js/supersubs.js', 'jquery');

		wp_enqueue_script('easing', get_template_directory_uri() . '/js/easing.js', 'jquery');
		
		if (epanel_option('enabled_product_slider')) { 
		wp_enqueue_script('carousel', get_template_directory_uri() . '/js/carousel.js', 'jquery');
		}
		wp_register_script('flow', get_template_directory_uri() . '/js/flowplayer-3.2.4.min.js', 'jquery');
		wp_enqueue_script('flow');
		
		if (epanel_option('home_slider') == 'nivo') {
		
			wp_enqueue_style('nivo-slider-css', get_template_directory_uri() . '/css/nivo-slider.css');
			wp_enqueue_script('nivo-slider', get_template_directory_uri() . '/js/jquery.nivo.slider.js');

		} else if (epanel_option('home_slider') == 'bx' OR 'mini') {
			
			wp_enqueue_style('bx-css', get_template_directory_uri() . '/css/bx_styles/bx_styles.css');
			wp_enqueue_script('bx-slider', get_template_directory_uri() . '/js/jquery.bxSlider.min.js');
		
		}
		
		wp_enqueue_script('tabs', get_template_directory_uri() . '/js/jquery.tools.tabs.min.js', 'jquery');
		//wp_enqueue_script('colorbox', get_template_directory_uri() . '/js/jquery.colorbox-min.js', 'jquery');
		wp_enqueue_script('block', get_template_directory_uri() . '/js/block.js', 'jquery');		
		wp_enqueue_script('custom', get_template_directory_uri() . '/js/custom.js', 'jquery');
		wp_enqueue_style('fix-css', get_template_directory_uri() . '/css/fix.css');
		
	}
	
}
Exemplo n.º 8
0
	function custom_css(){
		$this->css .= '/* Custom CSS */'."\n\n";
		$this->css .= epanel_option('customcss');
		$this->css .= "\n\n";
	}
Exemplo n.º 9
0
function epanel_process_reset_options() {


	foreach(get_option_array() as $menuitem => $options ){
		foreach($options as $optionid => $o ){
			if( $o['type']=='reset' && epanel_option($optionid) ){

					call_user_func($o['callback']);
				
					// Set the 'reset' option back to not set !important 
					epanel_update_option($optionid, null);
				
					wp_redirect( admin_url( 'admin.php?page=epanel&reset=true&opt_id='.$optionid ) );
					exit;

			}

		}
	}

}
Exemplo n.º 10
0
		jQuery('.selected_template').removeClass('selected_template');
		jQuery('.'+stemplate).addClass('selected_template');
		setSortable(stemplate);
	
	});

/*
	Layout Builder management - still under development not for production now
*/
	// Default Layout Select
	jQuery(' .layout-select-default .layout-image-border').click(function(){
		LayoutSelectControl(this);
	});
	
	<?php 
		if( epanel_option('layout') ) $tmap = epanel_option('layout');
		
		$last_edit = ( isset($tmap['last_edit']) ) ? $tmap['last_edit'] : null;
	
		$load_layout = new EPANEL_WPLayout($last_edit);
		$load_margin = $load_layout->margin->bwidth;
		$load_west = $load_layout->west->bwidth;
		$load_east = $load_layout->east->bwidth;
		$load_gutter = $load_layout->gutter->bwidth;
		
		$build_last_edit = (isset($load_layout->layout_map['last_edit'])) ? $load_layout->layout_map['last_edit'] : 'one-sidebar-right';
	
	?>
	setLayoutBuilder('<?php echo $build_last_edit; ?>', <?php echo $load_margin;?>, <?php echo $load_east;?>, <?php echo $load_west;?>, 10);

	jQuery('.selected_template .layout-builder-select .layout-image-border').click(function(){
Exemplo n.º 11
0
<?php } else if ($font_selected == 'Neucha') { ?>

<link href='http://fonts.googleapis.com/css?family=Neucha' rel='stylesheet' type='text/css'>

<?php } else if ($font_selected == 'Kristi') { ?>

<link href='http://fonts.googleapis.com/css?family=Kristi' rel='stylesheet' type='text/css'>

<?php } else if ($font_selected == 'Mountains of Christmas') { ?>

<link href='http://fonts.googleapis.com/css?family=Mountains+of+Christmas' rel='stylesheet' type='text/css'>

<?php } ?>

<?php $font_selected_headings = epanel_option('google_font_url_headings'); ?>
<?php if ($font_selected_headings == 'Droid Sans') { ?>

<link href='http://fonts.googleapis.com/css?family=Droid+Sans:regular,bold' rel='stylesheet' type='text/css'>

<?php } else if ($font_selected_headings == 'Droid Sans Mono') { ?>

<link href='http://fonts.googleapis.com/css?family=Droid+Sans+Mono' rel='stylesheet' type='text/css'>

<?php } else if ($font_selected_headings == 'Irish Growler') { ?>
	
<link href='http://fonts.googleapis.com/css?family=Irish+Growler' rel='stylesheet' type='text/css'>

<?php } else if ($font_selected_headings == 'Walter Turncoat') { ?>

<link href='http://fonts.googleapis.com/css?family=Walter+Turncoat' rel='stylesheet' type='text/css'>
Exemplo n.º 12
0
function section_control_checkbox($section, $template_slug, $template_area, $template){ 
		global $pl_section_factory;
		global $post;
		
		$s = $pl_section_factory->sections[$section];
		
		// Load Global Section Control Options
		$section_control = epanel_option('section-control');
		$hidden_by_default = isset($section_control[$template_slug][$section]['hide']) ? $section_control[$template_slug][$section]['hide'] : null;
		
		$check_type = ($hidden_by_default) ? 'show' : 'hide';
		
		// used to be _hide_SectionClass;
		// needs to be _hide_TemplateSlug_SectionClass
		// Why? 
		$check_name = "_".$check_type."_".$section;
		
		$check_label = ucfirst($check_type)." ".$s->name;
		
		$check_value = get_epanel_meta($check_name, $post->ID);
		
	?>
	
	<div class="section_checkbox_row <?php echo 'type_'.$check_type;?>" >
	
		<input class="section_control_check" type="checkbox" id="<?php echo $check_name; ?>" name="<?php echo $check_name; ?>" <?php checked((bool) $check_value); ?> />
		<label for="<?php echo $check_name;?>"><?php echo $check_label;?></label>
		
	</div>
<?php }
Exemplo n.º 13
0
function get_option_array( $load_unavailable = false ){
	
	$default_options = array();
	
	$default_options['general_settings'] = array(
				'epanel_custom_logo' => array(
					'default' 	=> THEME_IMAGES.'/logo.png',
					'type' 		=> 'image_upload',
					'imagepreview' 	=> '270',
					'inputlabel' 	=> 'Upload custom logo',
					'title'		=> 'Custom Header Logo',						
					'shortexp' 	=> 'Input or upload your own logo url.',
					'exp' 		=> 'Upload a logo for your theme, or specify the image address of your online logo. (http://yoursite.com/logo.png)'
				),
				'epanel_favicon'	=> array(
					'default' 	=> 	CORE_IMAGES."/favicon-epanel.ico",
					'type' 		=> 	'image_upload',
					'imagepreview' 	=> 	'16',
					'title' 	=> 	'Favicon Image',						
					'shortexp' 	=> 	'Input Full URL to favicon image ("favicon.ico" image file)',
					'exp' 		=> 	'Enter the full URL location of your custom "favicon" which is visible in ' .
								'browser favorites and tabs.<br/> (<strong>Must be .png or .ico file - 16px by 16px</strong> ).'
				),
				
				'epanel_theme'		=> array(
						'default'	=> 'default_skin',
						'type'		=> 'select',
						'selectvalues'	=> array(
							'default_skin'	=> array("name" => "Default Skin"),
							'skin2'	=> array("name" => "Patter Skin 2"),
							'skin3'	=> array("name" => "Patter Skin 3"),
							'skin4'	=> array("name" => "Patter Skin 4"),
							'skin5'	=> array("name" => "Patter Skin 5"),
							'skin6'	=> array("name" => "Patter Skin 6"),
							'skin7'	=> array("name" => "Patter Skin 7"),
							'skin8'	=> array("name" => "Patter Skin 8"),
							'skin9'	=> array("name" => "Patter Skin 9"),
							'skin10'	=> array("name" => "Patter Skin 10"),
							'skin11'	=> array("name" => "Non Wide Skin"),
							'custom'		=> array("name" => "Custom Skin")
							), 
						'inputlabel'	=> 'Select a skin',
						'title'		=> 'Theme Style',						
						'shortexp'	=> 'Here you can choose a different skin.',
						'exp'		=> 'Choose between various available skins. <br/><strong>Note :</strong> if you want to customize the skin of this theme you can choose the option &quot;Custom Skin&quot; than use the light editor tab to customize the layout, however we recommend to directly edit .css file using code editors.'
					),	
				
				
				'enable_related' => array(
						'default'	=> false,
						'type'		=> 'check',
						'inputlabel'	=> 'Show Featured Products?',
						'title'		=> 'Show featured products in Product Single Page?',
						'shortexp'	=> '',
						'exp'		=> 'Enable Featured products slider in product single page.'
				),
				
			'related_title' => array(
					'default' 	=> 'Related Products',
					'type' 		=> 'text',
					'inputlabel' 	=> 'Scroller Heading',
					'title' 	=> 'Scroller Heading Title (Product Single Page)',
					'shortexp' 	=> '',
					'exp' 		=> 'Customize the heading title for the single product page scroller.' 
				),
				
				
		
	);
	

	
	$cufon_path = TEMPLATEPATH . '/js/cufon/';
	$alt_cufon = array();
	
	if ( is_dir($cufon_path) ) {
	    if ($cufon_dir = opendir($cufon_path) ) { 
	        while ( ($cufon_file = readdir($cufon_dir)) !== false ) {
	            if(stristr($cufon_file, ".js") !== false) {
	                $alt_cufon[] = $cufon_file;
	            }
	        }    
	    }
	}
	
	$theme_url =  get_bloginfo('template_url');
	$google_fonts = array(			
					"droid_sans" => "Droid Sans",
					"droid_mono" => "Droid Sans Mono",
					"irish" => "Irish Growler",
					"walter" => "Walter Turncoat",
					"chewy" => "Chewy",
					"cherry_cream" => "Cherry Cream Soda",
					"font_diner" => "Fontdiner Swanky",
					"sunshiney" => "Sunshiney",
					"permanent" => "Permanent Marker",
					"sbell" => "Schoolbell",
					"home_apple" => "Homemade Apple",
					"slackey" => "Slackey",
					"luck" => "Luckiest Guy",
					"crush" => "Crushed",
					"kranky" => "Kranky",
					"crafty" => "Crafty Girls",
					"salt" => "Rock Salt",
					"soon" => "Coming Soon",
					"corben" => "Corben",
					"calli" => "Calligraffitti",
					"orbi" => "Orbitron",
					"unke" => "Unkempt",
					"lek" => "Lekton",
					"buda" => "Buda",
					"benth" => "Bentham",
					"nerry" => "Merriweather",
					"cabin" => "Cabin",
					"cousine" => "Cousine",
					"vibur" => "Vibur",
					"coda" => "Coda",
					"gruppo" => "Gruppo",
					"tinos" => "Tinos",
					"lato" => "Lato",
					"rale" => "Raleway",
					"cove" => "Covered By Your Grace",
					"arimo" => "Arimo",
					"cop" => "Copse",
					"sync" => "Syncopate",
					"arvo" => "Arvo",
					"hand" => "Just Another Hand",
					"pro" => "Anonymous Pro",
					"down" => "Just Me Again Down Here",
					"lob" => "Lobster",
					"geo" => "Geo",
					"pt" => "PT Sans",
					"ubuntu"  => "Ubuntu",
					"unifra" => "UnifrakturMaguntia",
					"neu" => "Neuton",
					"cook" => "UnifrakturCook",
					"alle" => "Allerta",
					"crim" => "Crimson Text",
					"kenia" => "Kenia",
					"phil" => "Philosopher",
					"cup" => "Cuprum",
					"puri" => "Puritan",
					"jose" => "Josefin Sans",
					"nobile" => "Nobile",
					"mol" => "Molengo",
					"all" => "Allerta Stencil",
					"im" => "IM Fell Great Primer",
					"reen" => "Reenie Beanie",
					"yanone" => "Yanone Kaffeesatz",
					"old" => "Old Standard TT",
					"canta" => "Cantarell",
					"allan" => "Allan",
					"cardo" => "Cardo",
					"vol" => "Vollkorn",
					"inco" => "Inconsolata",
					"sni" => "Sniglet",
					"dseri" => "Droid Serif",
					"tang" => "Tangerine",
					"ofl" => "OFL Sorts Mill Goudy TT",
					"josla" => "Josefin Slab",
					"neuc" => "Neucha",
					"kri" => "Kristi",
					"mount" => "Mountains of Christmas");
	/*
		Typography related options
	*/
	$default_options['typography'] = array(
				
				'fontreplacement' => array(
						'default'	=> false,
						'type'		=> 'check',
						'inputlabel'	=> 'Use Cufon font replacement?',
						'title'		=> 'Use Cufon Font Replacement',
						'shortexp'	=> 'Use a special font replacement technique for certain text',
						'exp'		=> 'Cufon is a special technique for allowing you to use fonts outside of the 10 or so "web-safe" fonts. <br/><br/>' .
								 THEMENAME.' is equipped to use it.  Select this option to enable it. Visit the <a href="http://cufon.shoqolate.com/generate/">Cufon site</a>.'
				),
				
				'google_font_url'		=> array(
						'default'	=> 'Droid Sans',
						'type'		=> 'select_same',
						'selectvalues'	=> $google_fonts, 
						'inputlabel'	=> 'Google Font Api Normal Text',
						'title'		=> 'Google Font Replacement',						
						'shortexp'	=> 'Choose a font from the google font api',
						'exp'		=> 'If you have disabled cufon then you can use the google font api as font replacement. <br/><br/> Preview each font at the <a href="http://www.google.com/webfonts?subset=latin">following url</a>'
					),
				
				
				'google_font_url_headings'		=> array(
						'default'	=> 'Droid Serif',
						'type'		=> 'select_same',
						'selectvalues'	=> $google_fonts, 
						'inputlabel'	=> 'Google Font Api Headings',
						'title'		=> 'Google Font Replacement',						
						'shortexp'	=> 'Choose a font from the google font api',
						'exp'		=> 'If you have disabled cufon then you can use the google font api as font replacement. <br/><br/> Preview each font at the <a href="http://www.google.com/webfonts?subset=latin">following url</a>'
					),
				
				/*
				'font_normal_text' => array(
						'default' 	=> array(
						'font' 		=> 'lucida_grande',
						),
						'type' 		=> 'typography',
						'selectors'	=> 'h1, h2, h3, h4, h5, h6, .site-title',
						'inputlabel' 	=> 'Select Font',
						'title' 	=> 'Typography - Normal Text Font',
						'shortexp' 	=> 'Here you can customize the font for normal text',
						'exp' 		=> 'Set typography for your normal text (p)tag. <br/><br/><strong>*</strong> Denotes Web Safe Fonts<br/><strong>G</strong> Denotes Google Fonts<br/><br/><strong>Note:</strong> These options make use of the <a href="http://code.google.com/webfonts" target="_blank">Google fonts API</a> to vastly increase the number of websafe fonts you can use.',
				),*/
				
				/*
				'font_file'	=> array(
						'default'	=> TEMPLATEPATH.'/js/',
						'type'		=> 'text',
						'inputlabel'	=> 'Cufon replacement font file URL',
						'title'		=> 'Cufon: Replacement Font File URL',
						'shortexp'	=> 'The font file used to replace text.',
						'exp'		=> 'Use the <a href="http://cufon.shoqolate.com/generate/">Cufon site</a> to generate a font file for use with this theme.  Place it in your theme folder and add the full URL to it here. The default font is Museo Sans.'
				),
				*/
				
						'cufon_font_file'		=> array(
								'default'	=> 'Lato_400-Lato_700.font.js',
								'type'		=> 'select_same',
								'selectvalues'	=> $alt_cufon, 
								'inputlabel'	=> 'Cufon replacement font file',
								'title'		=> 'Cufon Font File',						
								'shortexp'	=> 'Here you can customize the font file for heading text',
								'exp'		=> 'Choose beetwen an *unlimited* number of cufon fonts, you can generate your own cufon font on <a href="http://cufon.shoqolate.com/generate/">Cufon site</a>  <br/><br/> Upload your own cufon generated font via ftp in <strong>'.$theme_url.'/js/cufon'.'</strong>'
							),
				
	);
	
	// Navigation settings
	
	$easing_fx = array(
		"jswing", 
		"def", 
		"easeInQuad",
		"easeOutQuad",
		"easeInOutQuad",
		"easeInCubic",
		"easeOutCubic",
		"easeInOutCubic",
		"easeInQuart",
		"easeOutQuart",
		"easeInOutQuart",
		"easeInQuint",
		"easeOutQuint",
		"easeInOutQuint",
		"easeInSine",
		"easeOutSine",
		"easeInOutSine",
		"easeInExpo",
		"easeOutExpo",
		"easeInOutExpo",
		"easeInCirc",
		"easeOutCirc",
		"easeInOutCirc",
		"easeInElastic",
		"easeOutElastic",
		"easeInOutElastic",
		"easeInBack",
		"easeOutBack",
		"easeInOutBack",
		"easeInBounce",
		"easeOutBounce",
		"easeInOutBounce" 
	);
	
	// Menu manager not required for this theme
	
	/*
	
	$default_options['menu_manager'] = array(
		
		'menu_hide_speed' => array(
				
				'default'	=> '500',
				'type'		=> 'text_small',
				'inputlabel'	=> 'Submenu Hide Speed',
				'title'		=> 'Header Main Menu submenu hide speed',						
				'shortexp'	=> 'Customize the submenu hide speed',
				'exp' 		=> "Change the number to customize the hiding time (in ms). Note : 1000ms = 1 second."
		),
		
		'menu_show_speed' => array(
				
				'default'	=> '750',
				'type'		=> 'text_small',
				'inputlabel'	=> 'Submenu Show Effect Speed',
				'title'		=> 'Header Main Menu submenu show effet speed',						
				'shortexp'	=> 'Customize the submenu show effect hide speed',
				'exp' 		=> "Change the number to customize the show effect speed time (in ms). Note : 1000ms = 1 second."
		),
		
		'menu_effect_hide_speed' => array(
				
				'default'	=> '350',
				'type'		=> 'text_small',
				'inputlabel'	=> 'Submenu Hide Effect Speed',
				'title'		=> 'Header Main Menu submenu hide effet speed',						
				'shortexp'	=> 'Customize the submenu hide effect hide speed',
				'exp' 		=> "Change the number to customize the hide effect speed time (in ms). Note : 1000ms = 1 second."
		),
		
		
		'menu_show_easing'		=> array(
				'default'	=> 'easeInCirc',
				'type'		=> 'select_same',
				'selectvalues'	=> $easing_fx, 
				'inputlabel'	=> 'Submenu Show Effect',
				'title'		=> 'Submenu Show Effect',						
				'shortexp'	=> 'Here you can customize the show effect of your main menu.',
				'exp'		=> 'Here you can customize the show effect of your main menu. This is the hover effect, if you want to preview each effect <a href=http://gsgd.co.uk/sandbox/jquery/easing/>go here</a>.'
			),
		
		'menu_hide_easing'		=> array(
				'default'	=> 'easeOutCirc',
				'type'		=> 'select_same',
				'selectvalues'	=> $easing_fx, 
				'inputlabel'	=> 'Submenu Hide Effect',
				'title'		=> 'Submenu Hide Effect',						
				'shortexp'	=> 'Here you can customize the hide effect of your main menu.',
				'exp'		=> 'Here you can customize the hide effect of your main menu. This is the hover(out) effect, if you want to preview each effect <a href=http://gsgd.co.uk/sandbox/jquery/easing/>go here</a>.'
			),
		
	); */
	
	
	// Homepage Setup Settings
	
	$default_options['homepage_settings'] = array(
	
		'home_slider'		=> array(
				'default'	=> 'static',
				'type'		=> 'select',
				'selectvalues'	=> array(
					'static'	=> array("name" => "Static Picture No Slide"),
					'nivo'		=> array("name" => "Nivo Slider"),
					'bx'     => array("name" => "BX Slider")
					
					), 
				'inputlabel'	=> 'Homepage Slider Type',
				'title'		=> 'Homepage Slider Type',						
				'shortexp'	=> 'Choose wich slider you need for your homepage',
				'exp'		=> 'Choose between different sliders available for your homepage, you can find more slide settings into the "Home Slider" component from your wordpress admin menu.'
			),
			
			
		'slide_static_picture' => array(
			'default' 	=> THEME_IMAGES.'/static_picture.png',
			'type' 		=> 'image_upload',
			'imagepreview' 	=> '250',
			'inputlabel' 	=> 'Homepage Static Picture',
			'title'		=> 'Homepage Static picture',						
			'shortexp' 	=> 'Input the url or upload your own homepage static picture url.',
			'exp' 		=> 'Upload a picture for your homepage static area or simply paste the url into the input field. Recommended max width is 950px.<br/><br/> Note : the recommended width is only for the static picture! Other sliders type automatically resize pictures.'
		),
		
		'slider_height' => array(
				
				'default'	=> '360',
				'type'		=> 'text_small',
				'inputlabel'	=> 'Homepage slider height',
				'title'		=> 'Homepage Slider Height',						
				'shortexp'	=> 'Customize the homepage slider height',
				'exp' 		=> "Change the number to customize the homepage slider height. <strong>Note : this affects every other slider type but not the static picture.</strong>"
		),
		
		'enabled_intro_text' => array(
				'default'	=> true,
				'type'		=> 'check',
				'inputlabel'	=> 'Enable Homepage Intro Text?',
				'title'		=> 'Enable homepage introduction text ?',
				'shortexp'	=> 'Enable or disable homepage introduction text',
				'exp'		=> 'Check this option to enable the homepage text below the main slider.'
		),
		
		'intro_text' => array(
				
				'default'	=> '<h2>Express Store is an extremely versatile theme with a myriad of options and styles</h2> <p>Aliquam venenatis enim in mi iaculis in tempor lectus tempor et convallis erat pellentesque.</p> ',
				'type'		=> 'textarea',
				'inputlabel'	=> 'Homepage intro text',
				'title'		=> 'Homepage intro text',						
				'shortexp'	=> 'Customize the text of the homepage intro bar text',
				'exp' 		=> "Here you can customize the text of the homepage intro bar, the one below the slider."
		),
		
		'enabled_product_slider' => array(
				'default'	=> true,
				'type'		=> 'check',
				'inputlabel'	=> 'Enable Homepage Product Slider ?',
				'title'		=> 'Enable homepage product slider ?',
				'shortexp'	=> 'Enable or disable homepage product slider',
				'exp'		=> 'Check this option to enable the homepage product scroller below the main slider.'
		),
		
		'home_scroller_position'		=> array(
				'default'	=> 'top',
				'type'		=> 'select',
				'selectvalues'	=> array(
					'top'	=> array("name" => "Show Product Slider Below homepage slider"),
					'bottom'		=> array("name" => "Show produc slider below homepage content area")
					
					
					), 
				'inputlabel'	=> 'Product Slider Position',
				'title'		=> 'Homepage Product Slider Position',						
				'shortexp'	=> 'Choose where you want to show the homepage product slider',
				'exp'		=> 'Choose where you want to show the homepage product slider'
			),
		
		'home_product_slider'		=> array(
				'default'	=> 'custom',
				'type'		=> 'select',
				'selectvalues'	=> array(
					'custom'	=> array("name" => "Custom Flexible Management"),
					'store_scroll_mode'		=> array("name" => "Grab Featured Products From The Catalog")
					), 
				'inputlabel'	=> 'Homepage Product Slider Content',
				'title'		=> 'Homepage Product Slider Content',						
				'shortexp'	=> '',
				'exp'		=> 'Choose how to populate the content of the homepage product slider. <br/><br/> <strong>Custom Flexible Management :</strong> using this method you\'ll have full control on your homepage scroller, you can even use this scroller for something else other than products, to add items using this way you have to use the <a href="#">Product Scroller Component</a> <br/><br/> <strong>Grab Featured Products :</strong> using this method the scroller will automatically grab featured products from your catalog.'
			),
		
					
		
	);
	
	// store homepage template settings
	
	
	$default_options['store_homepage'] = array(
		
		'store_info' => array(
			'type'		=> 'text_content',
				'layout'	=> 'full',
				'exp'		=> '<strong>The following settings affects only on a specific page template (Homepage Store) if you want to show the store within the homepage, create a page and as page template select "Homepage Store"!</strong> <br/><br/>
				
				There are other ways you can set your homepage. For example you can show the entire catalog without the sections contained in the homepage (slider, scroller, etc. ..), or you can show only featured products, it\' up to you.<br/><br/><strong>Note: a few settings (like grabbing specific products) doesn\'t affect the "Homepage Store Catalog With Sidebar" page template</strong>'
			),
					
		'store_info2' => array(
			'type'		=> 'text_content',
				'layout'	=> 'full',
				'exp'		=> '<strong><h3>Grabbing Products On The Homepage Store Template</h3></strong>
				
				The homepage store template was built to be flexible to give users the possibility to display any type of product. You can choose what kind of products to display on the homepage by selecting from the options below.<br/><br/>
				
				<strong>Grab Recent Products :</strong> which displays the products most recently added to the catalog.<br/><br/>
				<strong>Displays a specific category :</strong> wich displays products from a specifc category (given the ID)<br/><br/>
				<strong>Displays Featured Products From Your Catalog :</strong> which displays the featured products from your catalog.<br/><br/>
				<strong>Displays On Sale Products From Your Catalog :</strong> which displays the products that have a Sale Price or a promotion that applies to the product.'
			),
		
		'store_home_catalog_mode' => array(
				'default'	=> 'default',
				'type'		=> 'select',
				'selectvalues'	=> array(
					'default'	=> array("name" => "Grab Every Product From Your Catalog."),
					'latest'		=> array("name" => "Grab Recent Products"),
					'singular'	=> array("name" => "Displays a specific category."),
					'featured' => array("name" => "Displays Featured Products From Your Catalog"),
					'on_sale' => array("name" => "Displays On Sale Products From Your Catalog"),
					), 
				'inputlabel'	=> 'What kind of products you want on the homepage ?',
				'title'		=> 'Grabbing Products On The Homepage Store Template',						
				'shortexp'	=> '',
				'exp'		=> 'Choose how to populate the content of the store homepage <br/><br/> <strong>For additional informations please read the info above this option.</strong>'
		),
		
		'store_home_catid' => array(
				
				'default'	=> '',
				'type'		=> 'text_small',
				'inputlabel'	=> 'Singular Category ID',
				'title'		=> 'Grab Products From A Specific Category',						
				'shortexp'	=> '',
				'exp' 		=> "If you have choosed to show products ONLY from one category, here you can type the ID number of the category. <br/><br/><strong>You Can find the category ID here :</strong>"
		),
		
		'store_home_catalog_limit' => array(
				
				'default'	=> '10',
				'type'		=> 'text_small',
				'inputlabel'	=> 'Homepage Store Products Limit',
				'title'		=> 'Products Limit On The Homepage',						
				'shortexp'	=> '',
				'exp' 		=> "Choose how many products you want to display on the homepage store template."
		),
		
		'store_home_catalog_order' => array(
				'default'	=> 'newest',
				'type'		=> 'select',
				'selectvalues'	=> array(
					'title'	=> array("name" => "Order Products By Title"),
					'newest'		=> array("name" => "Order Products By Newest"),
					'oldest' => array("name" => "Order Products By Oldest"),
					'random'	=> array("name" => "Random Products Order"),
					), 
				'inputlabel'	=> 'Store Homepage Products Order',
				'title'		=> 'Homepage Store Template Products Order',						
				'shortexp'	=> '',
				'exp'		=> 'Choose how to order products of the store homepage.<br/><br/>'
		),
		
		
		'store_home_handler' => array(
				'type'		=> 'check_multi',
				'selectvalues'	=> array(
					'store_home_summary'		=> array('inputlabel'=>'Enable Product Summary on Homepage', 'default'=> true),
					'store_home_read_more'		=> array('inputlabel'=>'Enable Read Details Link on Homepage', 'default'=> true),
					'store_home_sale_show_text' => array('inputlabel' => 'Show Sale Text Before Sale Price on Homepage', 'default' => true),
					//'store_home_buy_button' => array('inputlabel' => 'Show Add To Cart Button on Homepage', 'default' => false),
				),
				'title'		=> 'Homepage Store Products Layout',
				'shortexp'	=> '',
				'exp'		=> 'Use these options to control which elements are shown on the homepage store layout. <br/><br/> 
				<strong>Product Summary :</strong> check this option to show a product summary below the product thumb, you can customize the summary of each product into the product page.<br/><br/> '
		),
		
		
		'store_home_sale_text' => array(
				
				'default'	=> 'Save !',
				'type'		=> 'text_small',
				'inputlabel'	=> 'Sale Price Text',
				'title'		=> 'Custom Sale Price Text',						
				'shortexp'	=> '',
				'exp' 		=> "If you have choosed to show the &quot;sale&quot; text before the sale price, here you can customize it."
		),
		
		
	);
	
	
	// Homepage slider settings
	$nivo_fx = array ("sliceDown","sliceDownLeft","sliceUp","sliceUpLeft","sliceUpDown","sliceUpDownLeft","fold","slideInRight","slideInLeft","boxRandom","boxRain","boxRainReverse","boxRainGrow","boxRainGrowReverse");
	
	$default_options['nivo_slider_settings'] = array (
	
		'nivo_fx'		=> array(
				'default'	=> 'random',
				'type'		=> 'select_same',
				'selectvalues'	=> $nivo_fx, 
				'inputlabel'	=> 'Nivo Slider Effect',
				'title'		=> 'Nivo Slider Effect',						
				'shortexp'	=> 'Choose an effect for your nivo slider',
				'exp'		=> 'Choose an effect for your nivo slider'
			),
		
				
		'nivo_slices' => array(
				
				'default'	=> '15',
				'type'		=> 'text_small',
				'inputlabel'	=> 'Nivo Slider Slices',
				'title'		=> 'Nivo Slider Slices for animations',						
				'shortexp'	=> 'Here you can customize Nivo Slider slices',
				'exp' 		=> "Change the number to customize Nivo Slider slices"
		),
		
		
		'nivo_anim_spd' => array(
				
				'default'	=> '500',
				'type'		=> 'text_small',
				'inputlabel'	=> 'Animation Speed',
				'title'		=> 'Nivo Slider Animationa Speed',						
				'shortexp'	=> 'Here you can customize Nivo slider animation speed',
				'exp' 		=> "Here you can customize Nivo slider animation speed"
		),
		
		'nivo_pause_time' => array(
				
				'default'	=> '3000',
				'type'		=> 'text_small',
				'inputlabel'	=> 'Slide Delay',
				'title'		=> 'Nivo Slider Slide Delay',						
				'shortexp'	=> 'Here you can customize nivo slider slide delay',
				'exp' 		=> "Change the number to customize the nivo slider slide delay"
		),
		
		
		'nivo_pause_hover' => array(
				'default'	=> true,
				'type'		=> 'check',
				'inputlabel'	=> 'Enable Pause on hover on Nivo Slides ?',
				'title'		=> 'Enable Pause on hover on Nivo Slides ?',
				'shortexp'	=> 'Enable or disable Pause on hover on nivo slides',
				'exp'		=> 'Check this option to enable Pause on hover on nivo slides'
		),
		
	);
	
	// cycle slider settings
	
	$cycle_fx = array(
		"blindX",
		"blindZ",
		"blindY",
		"cover",
		"curtainX",
		"curtainY",
		"fade",
		"fadeZoom",
		"growX",
		"growY",
		"none",
		"scrollUp",
		"scrollDown",
		"scrollLeft",
		"scrollRight",
		"scrollHorz",
		"scrollVert",
		"shuffle",
		"slideX",
		"slideY",
		"toss",
		"turnUp",
		"turnDown",
		"turnLeft",
		"turnRight",
		"uncover",
		"wipe",
		"zoom",
	);
	
	$bx_mode = array("horizontal","vertical","fade");
	
	$default_options['bx_slider_settings'] = array (
		
		'bx_mode'		=> array(
				'default'	=> 'horizontal',
				'type'		=> 'select_same',
				'selectvalues'	=> $bx_mode, 
				'inputlabel'	=> 'Bx Slider Mode',
				'title'		=> 'Bx Slider Mode',						
				'shortexp'	=> 'Choose an effect for your cycle slider',
				'exp'		=> 'Choose an effect for your cycle slider <br> You can preview each effect at <a href="http://jquery.malsup.com/cycle/browser.html" target="_blank">the following page</a>'
			),
		
		
		'bx_fx_spd' => array(
				
				'default'	=> '500',
				'type'		=> 'text_small',
				'inputlabel'	=> 'Bx Slider Effect Speed',
				'title'		=> 'Bx Slider Effect Speed',						
				'shortexp'	=> 'Here you can customize the bx slider effect speed',
				'exp' 		=> "Change the number to customize the bx slider effect speed"
		),
		
		
		'bx_easing'		=> array(
				'default'	=> 'fade',
				'type'		=> 'select_same',
				'selectvalues'	=> $easing_fx, 
				'inputlabel'	=> 'BX Slider Transition Easing Fx',
				'title'		=> 'BX Slider Transition Easing Fx',						
				'shortexp'	=> 'Choose the transition easing effect',
				'exp'		=> 'Choose an effect for your bx slider slide transition <br/> Note: if you have enabled the Fade mode, the easing effect won\' work.</a>'
			),
		
		'bx_pause' => array(
				'default'	=> false,
				'type'		=> 'check',
				'inputlabel'	=> 'Stop the slider on mouse hover ?',
				'title'		=> 'Stop the slider on mouse hover ?',
				'shortexp'	=> 'Choose if you want to stop the slider on mouse hover',
				'exp'		=> 'Check this option to stop the slider on mouse hover'
		),
		
		'bx_delay' => array(
				
				'default'	=> '3000',
				'type'		=> 'text_small',
				'inputlabel'	=> 'Bx Slider Slide Delay',
				'title'		=> 'Bx Slider Slide Delay',						
				'shortexp'	=> 'Here you can customize bx slider slide delay',
				'exp' 		=> "integer - in ms, the duration between each slide transition"
		),
		
		/*
		'cycle_fx'		=> array(
				'default'	=> 'fade',
				'type'		=> 'select_same',
				'selectvalues'	=> $cycle_fx, 
				'inputlabel'	=> 'Cycle Slider Effect',
				'title'		=> 'Cycle Slider Effect',						
				'shortexp'	=> 'Choose an effect for your cycle slider',
				'exp'		=> 'Choose an effect for your cycle slider <br> You can preview each effect at <a href="http://jquery.malsup.com/cycle/browser.html" target="_blank">the following page</a>'
			),
		
		'cycle_easing_check' => array(
				'default'	=> false,
				'type'		=> 'check',
				'inputlabel'	=> 'Enable Easing Effect On Transition ?',
				'title'		=> 'Enable Easing Effect On Transition ?',
				'shortexp'	=> 'Enable or disable the easing effect on slide transition',
				'exp'		=> 'Check this option to enable the easing effect on each slide transition, you can choose the easing effect from the option below.'
		),
		
		'cycle_easing'		=> array(
				'default'	=> 'jswing',
				'type'		=> 'select_same',
				'selectvalues'	=> $easing_fx, 
				'inputlabel'	=> 'Cycle Easing Effect',
				'title'		=> 'Cycle Easing Effect',						
				'shortexp'	=> 'Choose an easing effect for your transitions',
				'exp'		=> 'To use this option you must enable the option above this one, then you can choose the easing transition effect-'
			),
		
		'cycle_delay' => array(
				
				'default'	=> '3000',
				'type'		=> 'text_small',
				'inputlabel'	=> 'Cycle Slider Slide Delay',
				'title'		=> 'Cycle Slider Slide Delay',						
				'shortexp'	=> 'Here you can customize cycle slider slide delay',
				'exp' 		=> "Change the number to customize the cycle slide delay"
		),
		
		'cycle_pause' => array(
				'default'	=> false,
				'type'		=> 'check',
				'inputlabel'	=> 'Stop the slider on mouse hover ?',
				'title'		=> 'Stop the slider on mouse hover ?',
				'shortexp'	=> 'Choose if you want to stop the slider on mouse hover',
				'exp'		=> 'Check this option to stop the slider on mouse hover'
		),
		*/
	);

	
	// Customer Area Settings
	
	$of_pages = array();
	$of_pages_obj = get_pages('sort_column=post_parent,menu_order');    
	foreach ($of_pages_obj as $of_page) {
	    $of_pages[$of_page->ID] = $of_page->post_name; }
	$of_pages_tmp = array_unshift($of_pages);
	
	$default_options['customer_area'] = array(
	
		'store_info_general_acc' => array(
			'type'		=> 'text_content',
				'layout'	=> 'full',
				'exp'		=> '
				
				This section gives you the ability to customize certain sections of the customer area of your store.'
			),
		
		'customer_area_links' => array(
				'default'	=> '',
				'type'		=> 'check_multi',
				'selectvalues'	=> array(
					'area_account'	=> array('inputlabel'=>'Show My Account Link', 'default'=> true),
					'area_downloads'		=> array('inputlabel'=>'Show Downloads Area Link', 'default'=> true),
					'area_orders'	=> array('inputlabel'=>'Show Order History Link', 'default'=> true),
					'area_custom'		=> array('inputlabel'=>'Show Additional Custom Link', 'default'=> false),
					'area_logout'		=> array('inputlabel'=>'Show Logout link', 'default'=> true),
				),
				'inputlabel'	=> 'Select Which Links To Show',
				'title'		=> 'Customer Area/Widget Available Links',						
				'shortexp'	=> '',
				'exp'		=> "Select which links you would like to show in your customer area. <br/><br/><strong>Please Note: </strong>if you enable or disable any link from here it will be available/unavailable into the account widget too."
		), 
		
		'custom_link_text' => array(
				'default'	=> 'FAQs',
				'type'		=> 'text',
				'inputlabel'	=> 'Custom Link Text',
				'title'		=> 'Custom Additional Link For The Customer Area',
				'shortexp'	=> '',
				'exp'		=> 'If you choosed to display an additional link into your customer area here you can customize the link label.'
		),
		
		'enable_customer_area_link' => array(
				'default'	=> true,
				'type'		=> 'check',
				'inputlabel'	=> 'Show the customer area back link',
				'title'		=> 'Show the customer area back link',
				'shortexp'	=> '',
				'exp'		=> 'Choose if you want to show the customer area link into the account profile editor page.'
		),
		
		'custom_page_content'		=> array(
				'default'	=> '',
				'type'		=> 'select_same',
				'selectvalues'	=> $of_pages, 
				'inputlabel'	=> 'Custom Page Content Grabber',
				'title'		=> 'Grab Custom Page Content from a page',						
				'shortexp'	=> '',
				'exp'		=> 'In order to give more flexibility to the content of this page, <strong>you must first create a new page</strong> and add the contents, after which select the page you just created using this option.'
			),
		
		'store_info_general_acc2' => array(
		'type'		=> 'text_content',
			'layout'	=> 'full',
			'exp'		=> '<h4>Customer Area Link Customization</h4>
			
			This section gives you the ability to customize the description below each link into the customer area. <br/><strong>Please note :</strong> when you customize the Fourth link you must edit the css skin file in order to see the link icon.<br/><br/> First of all open your stylesheet file (based on the selected skin) under the css folder and edit the "li" class at line 1218. You have to assign the new class name based on your new text link label.<br/><br/>
			For example if your link label is "FAQs" the class is .FAQs, if your text label is "My Custom Link" the class is .My.Custom.Link'
		),
		
		'link_description' => array(
				'type'		=> 'text_multi',
				'inputsize'	=> 'regular',
				'selectvalues'	=> array(
					'first_link_desc'	=> array('inputlabel'=>'First Link Text Description', 'default'=> 'Add your custom description using the theme options panel.'),
					'second_link_desc'	=> array('inputlabel'=>'Second Link Text Description', 'default'=> 'Add your custom description using the theme options panel.'),
					'third_link_desc'	=> array('inputlabel'=>'Third Link Text Description', 'default'=> 'Add your custom description using the theme options panel.'),
					'fourth_link_desc'	=> array('inputlabel'=>'Fourth Link Text Description', 'default'=> 'Add your custom description using the theme options panel.'),
					'fifth_link_desc'	=> array('inputlabel'=>'Fifth Link Text Description', 'default'=> 'Add your custom description using the theme options panel.'),
				),
				'title'		=> 'Customer Area Links Description',
				'shortexp'	=> '',
				'exp'		=> 'Here you can customize the description for each link inside the customer area. <strong>Html is allowed</strong><br/><br/> Remember : when you customize the Fourth link you must edit the css skin file in order to see the link icon. <br/><br/> For example if your link label is "FAQs" the class is .FAQs, if your text label is "My Custom Link" the class is .My.Custom.Link'
		),
		
		'profile_edit_additional_content' => array(
				'default' 	=> '',
				'type' 		=> 'textarea',
				'layout' 	=> 'full',
				'inputlabel' 	=> 'Profile Editor Additional Content',
				'title' 	=> 'Customer Profile Editor Additional Content',
				'shortexp' 	=> '',
				'exp' 		=> 'By default the customer profile editor page shows only profile fields, but you can add additional content using this field. <strong>Html allowed.</strong>', 
			),
	
	);
	
	$default_options['general_store_layout'] = array(
	
		'store_main_settings' => array(
				'default'	=> '',
				'type'		=> 'check_multi',
				'selectvalues'	=> array(
					'show_category_name'	=> array('inputlabel'=>'Show category name on store pages ?', 'default'=> true),
					'show_product_sorter'		=> array('inputlabel'=>'Show Product Sorter ?', 'default'=> true),
					'show_product_summary'	=> array('inputlabel'=>'Show Product Summary ?', 'default'=> true)
				),
				'inputlabel'	=> 'Select Elements You Want To Show',
				'title'		=> 'Store Main Page Layout Settings',						
				'shortexp'	=> '',
				'exp'		=> "Select which elements you would like to show in your store main page. <br/><br/> <strong>Category Name : </strong> Choose if you want to show the category name on each store page (catalog, store category, product page etc...).<br/><br/> <strong>Product Sorter : </strong> Choose if you want to show the product sorter form on your store.."
		), 
		
		'store_main_sale_text' => array(
				
				'default'	=> 'Save !',
				'type'		=> 'text_small',
				'inputlabel'	=> 'Sale Price Text',
				'title'		=> 'Custom Sale Price Text',						
				'shortexp'	=> '',
				'exp' 		=> "If you have choosed to show the &quot;sale&quot; text before the sale price, here you can customize it."
		),

		'catalog_pic_resize_method' => array(
		'default'	=> 'matte',
		'type'		=> 'select',
		'selectvalues'	=> array(
			'matte'	=> array('name'=>'Automatically Resize Picture', 'default'=> true),
			'crop'		=> array('name'=>'Crop Catalog Pictures', 'default'=> true),
		),
		'inputlabel'	=> 'Resize Method',
		'title'		=> 'Store Product Main Image Resize Method',						
		'shortexp'	=> '',
		'exp'		=> "Select which resize method you want to use for the catalog and product category page."
), 
		
		'product_pic_set' => array(
				'type'		=> 'text_multi',
				'inputsize'	=> 'medium',
				'selectvalues'	=> array(
					'inner_width'	=> array('inputlabel'=>'Main Thumb Width', 'default'=> '240'),
					'inner_height'	=> array('inputlabel'=>'Main Thumb Height', 'default'=> '300'),
					),
				'title'		=> 'Single Product Page Main Picture Sizes',
				'shortexp'	=> '',
				'exp'		=> 'Here you can customize the size of the main picture of your product. These sizes will affect only the main picture of the single product page. <br/><br/><strong>Just type the value without &quot;px&quot;</strong>'
		),
		
		'show_free_shipping' => array(
				'default'	=> true,
				'type'		=> 'check',
				'inputlabel'	=> 'Show the message ?',
				'title'		=> 'Show a free shipping message',
				'shortexp'	=> '',
				'exp'		=> 'Check the option if you want to show a free shipping message if the product has the free shipping option enabled.'
		),
		
		
	);
	
	$default_options['contact_page'] = array(
	
		'contact_ok' => array(
				'default' 	=> 'Your inquiry has been successfully sent to us.',
				'type' 		=> 'textarea',
				'inputlabel' 	=> 'Contact Form Confirm',
				'title' 	=> 'Contact Form Confirmation Message',
				'shortexp' 	=> '',
				'exp' 		=> 'Here you can customize the message that appears after the email has been sent, using the contact form.' 
			),
		
		'custom_email' => array(
				'default' 	=> '*****@*****.**',
				'type' 		=> 'text',
				'inputlabel' 	=> 'Your Email Address',
				'title' 	=> 'Contact Form Email Address',
				'shortexp' 	=> '',
				'exp' 		=> 'Email where you\'ll receive messages from the contact page' 
			),
		
	);
	
	
	/*
		Footer related options
	*/		
	$default_options['footer_options'] = array(
				
				'footer_columns' => array(
						'default'	=> 'three',
						'type'		=> 'select',
						'selectvalues'=> array(
							'two'		=> array( 'name' => 'Footer With 2 Widgetized Columns' ),
							'three' 	=> array( 'name' => 'Footer With 3 Widgetized Columns' ),
							'four'	=> array( 'name' => 'Footer With 4 Widgetized Columns' ),
							),
						'title'		=> "Widgetized footer columns",
						'shortexp'	=> "Select how many widgetized columns you want",
						'inputlabel'	=> 'Select how many widgetized columns you want',
						'exp'		=> 'Use this option to select how many widgetized columns you want into your footer, remember to use widgets to add content to your footer.'
				),
				'footer_left_content' => array(
						'default'	=> 'content',
						'type'		=> 'select',
						'selectvalues'=> array(
							'content'		=> array( 'name' => 'Add Your Custom Content' ),
							'menu' 	=> array( 'name' => 'Display A Wordpress Powered Menu' ),
							),
						'title'		=> "Footer Bottom Left Content",
						'shortexp'	=> "Footer Bottom Left Content",
						'inputlabel'	=> 'Footer Bottom Left Content',
						'exp'		=> 'Use this option to select wich content you want to display into the footer below widgetized columns (left side)'
				),
				
				'custom_footer_left_content' => array(
						'default' 	=> 'EXPRESS - STORE &copy; 2011 EnovaStudio.org',
						'type' 		=> 'textarea',
						'inputlabel' 	=> 'Footer Bottom Left Custom Content',
						'title' 	=> 'Footer Bottom Left Custom Content',
						'shortexp' 	=> 'Footer Bottom Left Custom Content',
						'exp' 		=> 'If you have choosed to display your own custom content, use this field to add your content (Xhtml Allowed)' 
					),
				
				'footer_right_content' => array(
						'default'	=> 'content',
						'type'		=> 'select',
						'selectvalues'=> array(
							'content'		=> array( 'name' => 'Add Your Custom Content' ),
							'menu' 	=> array( 'name' => 'Display A Wordpress Powered Menu' ),
							),
						'title'		=> "Footer Bottom Right Content",
						'shortexp'	=> "Footer Bottom Right Content",
						'inputlabel'	=> 'Footer Bottom Right Content',
						'exp'		=> 'Use this option to select wich content you want to display into the footer below widgetized columns (right side)'
				),
				
				'custom_footer_right_content' => array(
						'default' 	=> '',
						'type' 		=> 'textarea',
						'inputlabel' 	=> 'Footer Bottom Right Custom Content',
						'title' 	=> 'Footer Bottom Right Custom Content',
						'shortexp' 	=> 'Footer Bottom Right Custom Content',
						'exp' 		=> 'If you have choosed to display your own custom content, use this field to add your content (Xhtml Allowed)' 
					),
	);
	
	$misc_settings = array();
		
	// Import & Export theme options 
	
	
	
	/*
		Custom Scripts, Customization, Option related options...
	*/
	$custom_code = array();
		
	
	$welcome = array();
	
	$default_options['light_editor'] = array(
		
		'page_colors'		=> array(
			'title' 	=> 'Basic Layout Colors',						
			'shortexp' 	=> 'The Main Layout Colors For Your Site',
			'exp' 		=> 'Use these options to configure the main layout colors for your site.<br/><br/> Using this light editor you can change some basic settings of the layout, however we suggest to manually edit css skin files this is the best way if you want to customize the layout of this theme.',
			'type' 		=> 'color_multi',
			'selectvalues'	=> array(
				'bodybg'	=> array(				
				'default' 	=> '#000000',
				'css_prop'	=> 'background-color',
				'selectors'	=> 'body, body.fixed_width',
				'inputlabel' 	=> 'Body Main Background Color',
				),
			'headings_color'		=> array(				
				'default' 	=> '#000000',
				'inputlabel' 	=> 'Layout Headings Text Color',
				),
			'menu_link_hover'	=> array(				
				'default' 	=> '#727171',
				'inputlabel' 	=> 'Main Menu Selected And Hover Color',
				),
			'menu_link'	=> array(				
				'default' 	=> '#AEAEAE',
				'inputlabel' 	=> 'Main Menu Link Color',
				),
			'content_link'	=> array(				
				'default' 	=> '#A7193B2',
				'inputlabel' 	=> 'Page Content Area Links Color',
				),
			'content_text'	=> array(				
				'default' 	=> '#717171',
				'inputlabel' 	=> 'Content Page Text Color',
				),
			),
		),
		
		'background_custom_img' => array(
			'default' 	=> '',
			'type' 		=> 'image_upload',
			'imagepreview' 	=> '270',
			'inputlabel' 	=> 'Upload Background Picture',
			'title'		=> 'Custom Background Picture',						
			'shortexp' 	=> '',
			'exp' 		=> 'Upload a custom background picture for your website, you can add additional background rules using the field below.'
		),
		
		'additional_bg_rules'	=> array(
				'default'	=> 'repeat',
				'type'		=> 'text',
				'inputlabel'	=> 'Additional Rules',
				'title'		=> 'Custom Additional background rules',
				'shortexp'	=> '',
				'exp'		=> 'Use this field to add additional background rules repeat-x or repeat etc...'
		),
		
	);
	
	if( epanel_option('forum_options') ){
		$forum_options = array(
				'forum_settings' => array(
						'forum_tags'		=> array(
							'default'	=> true,
							'type'		=> 'check',
							'inputlabel'	=> 'Show tags in sidebar?',
							'title'		=> 'Tag Cloud In Sidebar',
							'shortexp'	=> 'Including post tags on the forum sidebar.',
							'exp'		=> 'Tags are added by users and moderators on your forum and can help people locate posts.'
						),
						'forum_image_1'		=> array(
							'default'	=> '',
							'type'		=> 'image_upload',
							'inputlabel'	=> 'Upload Forum Image',
							'imagepreview'	=> 125,
							'title'		=> 'Forum Sidebar Image #1',
							'shortexp'	=> 'Add a 125px by 125px image to your forum sidebar',
							'exp'		=> "Spice up your forum with a promotional image in the forum sidebar."
						),
						'forum_image_link_1' => array(
							'default'	=> '',
							'type'		=> 'text',
							'inputlabel'	=> 'Image Link URL',
							'title'		=> 'Forum Image #1 Link',
							'shortexp'	=> 'Full URL for your forum image.',
							'exp'		=> "Add the full url for your forum image."
						),
						'forum_image_2' => array(
							'default'	=> '',
							'type'		=> 'image_upload',
							'imagepreview'	=> 125,
							'inputlabel'	=> 'Upload Forum Image',
							'title'		=> 'Forum Sidebar Image #2',
							'shortexp'	=> 'Add a 125px by 125px image to your forum sidebar',
							'exp'		=> "Spice up your forum with a promotional image in the forum sidebar."
						),
						'forum_image_link_2'	=> array(
							'default'	=> '',
							'type'		=> 'text',
							'inputlabel'	=> 'Image Link URL',
							'title'		=> 'Forum Image #2 Link',
							'shortexp'	=> 'Full URL for your forum image.',
							'exp'		=> "Add the full url for your forum image."
						),
						'forum_sidebar_link'	=> array(
							'default'	=> '#',
							'type'		=> 'text',
							'inputlabel'	=> 'Forum Image Caption URL',
							'title'		=> 'Forum Caption Link URL (Text Link)',
							'shortexp'	=> 'Add the URL for your forum caption (optional)',
							'exp'		=> "Text link underneath your forum images."
						),
						'forum_sidebar_link_text' => array(
							'default'	=> 'About '.get_bloginfo('name'),
							'type'		=> 'text',
							'inputlabel'	=> 'Forum Sidebar Link Text',
							'title'		=> 'Forum Sidebar Link Text',
							'shortexp'	=> 'The text of your image caption link',
							'exp'		=> "Change the text of the caption placed under your forum images."
						)
				)
		);
	}else{$forum_options = array();}
	
	/*
		Custom Options
	*/
	$custom_options = array( 'custom_options' => apply_filters('epanel_custom_options', array()) );
	
	/*
		Merge preset functions
	*/
	$optionarray = array_merge($welcome, $default_options, $forum_options);

	/*
		Load Section Options
	*/
	// Comes before, so you can load on to 'new' option sets
	$optionarray =  array_merge(load_section_options('new', 'top', $load_unavailable), $optionarray, load_section_options('new', 'bottom', $load_unavailable), $misc_settings, $custom_code);
	
	if(isset($custom_options['custom_options']) && !empty($custom_options['custom_options']))
		$optionarray = array_merge($optionarray, $custom_options);
	
	foreach($optionarray as $optionset => $options){
		$optionarray[$optionset] = array_merge( load_section_options($optionset, 'top', $load_unavailable), $options, load_section_options($optionset, 'bottom', $load_unavailable));
	}
	return apply_filters('epanel_options_array', $optionarray); 
}
Exemplo n.º 14
0
				</ul><!-- end thumb list -->
				
			<?php else: ?>
				
			<?php endif; ?>
		</div><!-- end thumbs -->
		
		
	</div><!-- end pictures wrapper -->
	
	<div id="singular-product" class="three_fourth last">
		<h3><?php ecart('product','name'); ?></h3>
			
		<?php ecart('product','description'); ?>

		<?php if (epanel_option('show_free_shipping')) { 
			
			if(ecart('product','freeshipping')) { 
			
				echo '<span class="free-shipping">'; _e('Free Shipping Available on this product!','Ecart'); echo '</span>';
				
				} 
			} 
		?>
		<form action="<?php ecart('cart','url'); ?>" method="post" class="ecart product validate">
		
		<div class="product-prices">
			
			<div class="prices-show">
			<?php if (ecart('product','onsale')): ?>
				<p class="singular-price old-price"><?php _e('Product Price : ','Ecart'); ecart('product','price'); ?></p>
Exemplo n.º 15
0
		function get_layout_map(){
			if(epanel_option('layout')){
				
				$this->layout_map = epanel_option('layout');

				
			}else{
				
				$this->layout_map = $this->default_layout_setup();
				
			}
		}
Exemplo n.º 16
0
	function print_section_html( $hook_id ){
	
		global $pl_section_factory;
		global $post;
		global $epanel_post;		
		
		$section_control = epanel_option('section-control');

		if( is_array( $this->$hook_id ) ){

			$markup_type = $this->map[$hook_id]['markup'];

			foreach( $this->$hook_id as $section ){

				$template_slug = ($hook_id == 'templates' || $hook_id == 'main') ? $hook_id.'-'.$this->template_type : $hook_id;
				
				$sc = (isset($section_control[$template_slug][$section])) ? $section_control[$template_slug][$section] : null;
				
				if(isset($pl_section_factory->sections[$section]) && is_object($pl_section_factory->sections[ $section ])){
					$pl_section_factory->sections[ $section ]->before_section( $markup_type );
					
					// If overridden in child theme get that, if not load the class template function
					$pl_section_factory->sections[ $section ]->section_template_load();
					
					$pl_section_factory->sections[ $section ]->after_section( $markup_type );
				}
			
				$post = $epanel_post; // Set the $post variable back to the default for the page (prevents sections from messing with others)
	
			}
		}
	}
Exemplo n.º 17
0
function epanel_layout_mode() {

	global $epanel_layout;
	global $post;

	if(!epanel_is_posts_page() && isset($post) && get_post_meta($post->ID, '_epanel_layout_mode', true)){
		$epanel_layout->build_layout(get_post_meta($post->ID, '_epanel_layout_mode', true));
		return get_post_meta($post->ID, '_epanel_layout_mode', true);
	} elseif(epanel_is_posts_page() && epanel_option('posts_page_layout')){
		$epanel_layout->build_layout(epanel_option('posts_page_layout'));
		return epanel_option('posts_page_layout');
	} else {
		return $epanel_layout->layout_mode;
	}

}
Exemplo n.º 18
0
<?php

require_once( '../../../wp-load.php' );

$mailto   = (epanel_option('custom_email')) ? epanel_option('custom_email') : epanel_option('custom_email');
$name     = ucwords($_POST['name']); 
$subject  = $_POST['subject'];
$email    = $_POST['email'];
$message  = $_POST['message'];

	if(strlen($_POST['name']) < 1 ){
		echo  'email_error';
	}
	
  else if(strlen($email) < 1 ) {
		echo 'email_error';
	}

  else if (!eregi("^[A-Z0-9._%-]+@[A-Z0-9._%-]+\.[A-Z]{2,4}$", $email)) {
    echo 'email_error';
  }

	else if(strlen($message) < 1 ){
		echo 'email_error';

  } else {

	// NOW SEND THE ENQUIRY

	$email_message="\n\n" .
		"Name: " .
Exemplo n.º 19
0
						
							wp_nav_menu(  array( 'theme_location' => 'ep-bottomright-navigation', 'container' =>'', 'menu' =>'ep-bottomright-navigation', 'menu_class'  => 'bottom-menu', 'menu_id' => 'bottom-right-menu'  ));
							
						} else { epanel_no_menu_location(); } } 
				?>
			</div>
		
		</div>
		
	</div>
	<div class="clearfix"></div>
	
</div>
</div><!-- end wrapper -->
</body>
<?php if(!epanel_option('fontreplacement')){ ?>
<?php }else{ ?> 
<script type="text/javascript">
	Cufon.replace('#top-left-menu li a, #top-right-menu li a, #main-menu2 > li > a',{hover: true	}); 
	Cufon.replace('h6,h5,h4,h3,h2,h1'); 
</script>
<script type="text/javascript"> Cufon.now(); </script>
<?php } ?>
<script> 
 
flowplayer(".video_player", "<?php echo get_template_directory_uri() ?>/js/flowplayer-3.2.5.swf",  {
	clip: {
		
		// these two configuration variables does the trick
		autoPlay: false, 
		autoBuffering: true // <- do not place a comma here  
Exemplo n.º 20
0
     		 
            setTimeout(jQuery.unblockUI, 1000); 
        }); 
    });  
</script>
</head>
<body <?php body_class();?>>
<div id="wrapper">

	<div id="header">
	
		<div id="main-header" class="container">
		
			<div>
				<div id="logo">
					<a href="<?php bloginfo('url'); ?>"><img  src="<?php echo epanel_option('epanel_custom_logo');?>" alt="<?php echo bloginfo( 'name' ); ?>"/></a>
				</div>
				
				<div id="main-menu-wrapper" class="main_menu">
					
					<?php if ( has_nav_menu( 'ep-main-navigation' ) ) { ?>
					
						<?php wp_nav_menu(  array( 'theme_location' => 'ep-main-navigation', 'container' =>'', 'menu' =>'ep-main-navigation', 'menu_id' => 'main-menu', 'fallback_cb' => 'epanel_fallback_menu', 'max_columns'=>4  )); ?>
						
					<?php } else { epanel_no_menu_location(); } ?>
					
				</div>
				
			</div>
			
		
Exemplo n.º 21
0
/**
 * 
 *
 *  Get Sortable Sections (Sections Drag & Drop)
 *
 *
 *  @package EPANEL_WP Core
 *  @subpackage Options
 *  @since 4.0
 *
 */
function _sortable_section($template, $tfield, $hook_id = null, $hook_info = array()){
		global $pl_section_factory;
		
		$available_sections = $pl_section_factory->sections;
		
		$template_slug = ( isset($hook_id) ) ? $hook_id.'-'.$template : $template;
		
		$template_area = ( isset($hook_id) ) ? $hook_id : $template;
		
		$dtoggle = (get_option('pl_section_desc_toggle')) ? get_option('pl_section_desc_toggle') : 'show'; 
		
			?>
		
				<div id="template_data" class="<?php echo $template_slug; ?> layout-type-<?php echo $template_area;?>">
					<div class="editingtemplate fix">
						<span class="edit_template_title"><?php echo $tfield['name'];?> Template Sections</span>

					</div>
					<div class="section_layout_description">
						<div class="config_title">Place Sections <span class="makesubtle">(drag &amp; drop)</span></div>
						<div class="layout-type-frame">
							<div class="layout-type-thumb"></div>
							Template Area: <?php echo ucwords( str_replace('_', ' ', $template_area) );?>
						</div>
					</div>
					
					<div id="section_map" class="template-edit-panel ">

						<div class="sbank template_layout">

							<div class="bank_title">Displayed <?php echo $tfield['name'];?> Sections</div>

							<ul id="sortable_template" class="connectedSortable ">
								<?php if(is_array($tfield['sections'])):?>
									<?php foreach($tfield['sections'] as $section):
									
									 		if(isset( $pl_section_factory->sections[$section] )):
									
												$s = $pl_section_factory->sections[$section];
												
												$section_id =  $s->id;
											
										?>
										<li id="section_<?php echo $section; ?>" class="section_bar <?php if($s->settings['required'] == true) echo 'required-section';?>">
											<div class="section-pad fix" style="background: url(<?php echo $s->settings['icon'];?>) no-repeat 10px 8px;">
												
												<h4><?php echo $s->name;?></h4>
												<span class="s-description" <?php if($dtoggle = 'hide'):?>style="display:none"<?php endif;?> >
												<?php echo $s->settings['description'];?>
												</span>
												
												<?php 
												
												$section_control = epanel_option('section-control');
												
												// Options 
												$check_name = EPANEL_SETTINGS.'[section-control]['.$template_slug.']['.$section.'][hide]';
												$check_value = isset($section_control[$template_slug][$section]['hide']) ? $section_control[$template_slug][$section]['hide'] : null;
												
												$posts_check_type = ($check_value) ? 'show' : 'hide';
												
												if($template == 'posts' || $template == 'single' || $template == '404' ){
													$default_display_check_disabled = true;
												} else {
													$default_display_check_disabled = false;
												}

												if($template_area == 'main' || $template_area == 'templates'){
													
													$posts_check_disabled = true;
												} else {
													$posts_check_label = ucfirst($posts_check_type) .' On Posts Pages';
													$posts_check_name = EPANEL_SETTINGS.'[section-control]['.$template_slug.']['.$section.'][posts-page]['.$posts_check_type.']';
													$posts_check_value = isset($section_control[$template_slug][$section]['posts-page'][$posts_check_type]) ? $section_control[$template_slug][$section]['posts-page'][$posts_check_type] : null;
													$posts_check_disabled = false;
												}
												
												// Hooks
											
												//epanel_ob_section_template( $s );
												global $registered_hooks;
												
												?>
												<div class="section-moreinfo">
													<div><span class="section-moreinfo-toggle" onClick="jQuery(this).parent().next('.section-moreinfo-info').slideToggle();">Advanced Setup &darr;</span></div>
													<div class="section-moreinfo-info">
														<?php if(!$default_display_check_disabled):?>
														<strong>Settings</strong> 
														<div class="section-options">
															<div class="section-options-row">
																<input class="section_control_check" type="checkbox" id="<?php echo $check_name; ?>" name="<?php echo $check_name; ?>" <?php checked((bool) $check_value); ?> />
																<label for="<?php echo $check_name; ?>">Hide This By Default</label>
															</div>
															<?php if(!$posts_check_disabled):?>
															<div class="section-options-row">
																	<input class="section_control_check" type="checkbox" id="<?php echo $posts_check_name; ?>" name="<?php echo $posts_check_name; ?>" <?php checked((bool) $posts_check_value); ?>/>
																	<label for="<?php echo $posts_check_name; ?>" class="<?php echo 'check_type_'.$posts_check_type; ?>"><?php echo $posts_check_label;?></label>
															</div>
															<?php endif;?>
														</div>
														<?php endif;?>
														<p>
															 <strong>Standard Hooks:</strong> 
															<div class="moreinfolist">
																<span>epanel_before_<?php echo $section_id; ?></span>
																<span>epanel_inside_top_<?php echo  $section_id; ?></span>
																<span>epanel_inside_bottom_<?php echo  $section_id; ?></span>
																<span>epanel_after_<?php echo $section_id; ?></span>
																<span>(View template for additional hooks &amp; filters)</span>
																<?php if(isset($registered_hooks[$section_id]) && is_array($registered_hooks[$section_id])){
																	foreach($registered_hooks[$section_id] as $reg_hook){
																		echo '<span>'.$reg_hook.'</span>';
																	}
																}?>
															</div>
														</p>
														<p><strong>CSS Selectors: </strong>
															<div class="moreinfolist">
																<?php if( (isset($tfield['markup']) && $tfield['markup'] == 'content') || (isset($hook_info['markup']) && $hook_info['markup'] == 'content') ):?>
																	<span>#<?php echo $section_id; ?> <small>(Full Screen Width)</small></span>
																	<span>#<?php echo $section_id; ?> .content <small>(Content Width)</small></span>
																	<span>#<?php echo $section_id; ?> .content-pad <small>(Content Inner)</small></span>
																<?php elseif( (isset($tfield['markup']) && $tfield['markup'] == 'copy') || (isset($hook_info['markup']) && $hook_info['markup'] == 'copy') ):?>
																	<span>#<?php echo $section_id; ?> <small>(Width of Container)</small></span>
																	<span>#<?php echo $section_id; ?> .copy <small>(Section Width)</small></span>
																	<span>#<?php echo $section_id; ?> .copy-pad <small>(Section Inner)</small></span>
																<?php endif;?>
															</div>
														</p>
													</div>
												</div>
											</div>
										</li>
										<?php if(isset($available_sections[$section])) { unset($available_sections[$section]); } ?>
							
									<?php endif; endforeach;?>

								<?php endif;?>
							</ul>
							<div class="section_setup_controls fix">
							
							
								<span class="setup_control" onClick="EPANEL_WPSlideToggle('.s-description', '.describe_toggle', '.setup_control_text','Hide Section Descriptions', 'Show Section Descriptions', 'pl_section_desc_toggle');">
									<span class="setup_control_text">
										<?php if($dtoggle == 'show'):?>
											Hide Section Descriptions
										<?php else: ?>
											Show Section Descriptions
										<?php endif;?>
									</span>
								</span>
							</div>
						</div>
						<div class="sbank available_sections">

							<div class="bank_title">Available/Disabled Sections</div>
							<ul id="sortable_sections" class="connectedSortable ">
								<?php 
								foreach($available_sections as $sectionclass => $section):
								
							
										/* Flip values and keys */
										$works_with = array_flip($section->settings['workswith']);
										$fails_with = array_flip($section->settings['failswith']);
										
										$markup_type = (!empty($hook_info)) ? $hook_info['markup'] : $tfield['markup'];
									
										if(isset( $works_with[$template] ) || isset( $works_with[$hook_id]) || isset($works_with[$hook_id.'-'.$template]) || isset($works_with[$markup_type])):?>
											<?php if( !isset($fails_with[$template]) && !isset($fails_with[$hook_id]) ):?>
											<li id="section_<?php echo $sectionclass;?>" class="section_bar" >
												<div class="section-pad fix" style="background: url(<?php echo $section->settings['icon'];?>) no-repeat 10px 10px;">
													<h4><?php echo $section->name;?></h4>
													<span class="s-description" <?php if($dtoggle = 'hide'):?>style="display:none"<?php endif;?>>
														<?php echo $section->settings['description'];?>
													</span>
												</div>
											</li>
											<?php endif;?>
										<?php endif;?>
									
								<?php endforeach;?>
							</ul>
						</div>
					
						<div class="clear"></div>
					</div>


					<div class="clear"></div>
						
						
 
				</div>
	
<?php
}
Exemplo n.º 22
0
</div>
<?php if (epanel_option('enable_related')) { ?>
<div class="clearfix"></div>
<div id="related-slider">

	<h5><?php echo epanel_option('related_title');?></h5>
	
	<div id="related-wrapper" class="container">
	
	<?php 
				
	ecart('catalog','featured-products','order='.$shop_catalog_order.'&load=true'); 
					
	// START SHOP SYSTEM LOOP - PLEASE DO NOT EDIT THIS UNLESS YOU KNOW WHAT YOU ARE DOING 
	
	$related_limit = epanel_option('related_limit');
	
	if(ecart('category','hasproducts','load=prices,specs,categories&limit='.$related_limit)) : ?>
		
		<ul id="products-scroller">
			
			<?php while(ecart('category','products')) : $counter++; $counter_last++;?>
			
				<li>
					<a href="<?php ecart('product','link'); ?>"><?php ecart('product','coverimage','width=150&height=120&fit=matte&sharpen=100&alt=product-picture'); ?></a>
					<p class="related-product-details"><a href="<?php ecart('product','link'); ?>"><?php ecart('product','name'); ?></a></p>
				</li>
			
			<?php endwhile; ?>
			
		</ul>
Exemplo n.º 23
0
/******************************************************************
	Menu Settings
******************************************************************/
?>
<!--
<script type="text/javascript">
jQuery(document).ready(function() {
  jQuery('.sf-menu').sooperfish({
	hoverClass  : 'sfHover',
	delay    : <?php echo epanel_option('menu_hide_speed');?>, //make sure menus only disappear when intended, 500ms is advised by Jacob Nielsen
	animationShow  : {width:'show',height:'show',opacity:'show'},
	speedShow    : <?php echo epanel_option('menu_show_speed'); ?>,
	easingShow      : '<?php echo epanel_option('menu_show_easing'); ?>',
	animationHide  : {width:'hide',height:'hide',opacity:'hide'},
	speedHide    : <?php echo epanel_option('menu_effect_hide_speed'); ?>,
	easingHide      : '<?php echo epanel_option('menu_hide_easing'); ?>',
	autoArrows  : false
  });
});
</script>-->

<script> 
 
    jQuery(document).ready(function() { 
        jQuery('ul#main-menu').superfish({ 
            delay:       1000,                            // one second delay on mouseout 
            animation:   {opacity:'show',height:'show'},  // fade-in and slide-down animation 
            speed:       'fast',                          // faster animation speed 
            autoArrows:  false,                           // disable generation of arrow mark-up 
            dropShadows: false                            // disable drop shadows 
        });