$value){
$sociable_icons[$key]=PEXETO_FRONT_IMAGES_URL.'icons/'.$value;
}
$pexeto_general_options= array( array(
"name" => "General",
"type" => "title",
"img" => PEXETO_IMAGES_URL."icon_general.png"
),
array(
"type" => "open",
"subtitles"=>array(array("id"=>"main", "name"=>"Main Settings"), array("id"=>"sidebars", "name"=>"Sidebars"), array("id"=>"sociable", "name"=>"Sociable Icons"), array("id"=>"seo", "name"=>"SEO"), array("id"=>"update", "name"=>"Theme Update"))
),
/* ------------------------------------------------------------------------*
* MAIN SETTINGS
* ------------------------------------------------------------------------*/
array(
"type" => "subtitle",
"id"=>'main'
),
array(
"name" => "Favicon image URL",
"id" => PEXETO_SHORTNAME."_favicon",
"type" => "upload",
"desc" => "Upload a favicon image - with .ico extention."
),
array(
"name" => "Widgetized Footer",
"id" => PEXETO_SHORTNAME."_widgetized_footer",
"type" => "checkbox",
"std" => 'on'),
array(
"name" => "Display page title on pages",
"id" => PEXETO_SHORTNAME."_show_page_title",
"type" => "checkbox",
"std" => 'on',
"desc" => 'If "ON" selected, the page title will be displayed in the beginning of the page content
as a main title. '
),
array(
"name" => "Display comments on pages",
"id" => PEXETO_SHORTNAME."_page_comments",
"type" => "checkbox",
"std" => 'off',
"desc" => 'By default comments won\'t be displayed on pages, but if you turn this option ON, you will be able
to enable/disable comments for the separate pages in the "Allow comments" field of the page.
Note: This option is available for the Default Page Template only'
),
array(
"name" => "Display Twitter and Facebook buttons in lightbox",
"id" => PEXETO_SHORTNAME."_sociable_lightbox",
"type" => "checkbox",
"std" => 'on'),
array(
"name" => "Google Analytics Code",
"id" => PEXETO_SHORTNAME."_analytics",
"type" => "textarea",
"desc" => "You can paste your generated Google Analytics here and it will be automatically set to the theme."
),
array(
"type" => "close"),
/* ------------------------------------------------------------------------*
* SIDEBARS
* ------------------------------------------------------------------------*/
array(
"type" => "subtitle",
"id"=>'sidebars'
),
array(
"name"=>"Add Sidebar",
"id"=>'sidebars',
"type"=>"custom",
"button_text"=>'Add Sidebar',
"fields"=>array(
array('id'=>'_sidebar_name', 'type'=>'text', 'name'=>'Sidebar Name')
),
"desc"=>"You can add as many custom sidebars you like and after that for each page you will be
able to assign a different sidebar."
),
array(
"type" => "close"),
/* ------------------------------------------------------------------------*
* SOCIABLE ICONS
* ------------------------------------------------------------------------*/
array(
"type" => "subtitle",
"id"=>'sociable'
),
array(
"name" => "Display sociable icons in footer",
"id" => PEXETO_SHORTNAME."_show_footer_icons",
"type" => "checkbox",
"std" => 'on',
"desc" => 'If enabled, a sociable icons section will be displayed in the footer below the four columns. The
widgetized footer must be enabled in order for the icons to be displayed. You can add sociable icons in the
"Add a sociable icon to the footer" section below.'
),
array(
"name"=>"Add a sociable icon to the footer",
"id"=>'sociable_icons',
"type"=>"custom",
"button_text"=>'Add Icon',
"preview"=>'_icon_url',
"fields"=>array(
array('id'=>'_icon_url', 'type'=>'imageselect', 'name'=>'Select Icon','options'=>$sociable_icons),
array('id'=>'_icon_link', 'type'=>'text', 'name'=>'Sociable Site Link'),
array('id'=>'_icon_title', 'type'=>'text', 'name'=>'Hover title (optional)')
)
),
array(
"type" => "close"),
/* ------------------------------------------------------------------------*
* SEO
* ------------------------------------------------------------------------*/
array(
"type" => "subtitle",
"id"=>'seo'
),
array(
"type" => "documentation",
"text" => '