colors; $icon_color = $_wp_admin_css_colors[$current_color]->icon_colors; $hover_bg_color = $color_scheme[2]; $hover_font_color = $icon_color['current']; ?> "", "logo" => "", "color_scheme" => "#2daee3", "header_color" => "#59bce5", "content_font" => "font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;", "site_title_font" => "font-family:'pacificoregular';font-weight:normal;", "site_title_font_size" => "25", "post_title_font" => "font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-weight:700;", "post_title_font_size" => "15", "widget_title_font" => "font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-weight:700;", "widget_title_font_size" => "15", "mesh_columns" => "3", "show_home_sidebar" => false, "sidebar_layout" => "right", "show_categories" => true, "show_tags" => true, "show_post_nav" => true ); return apply_filters("acation_default_options", $options); } function acation_column_list() { $list = array( "1" => array("value" => "1", "label" => __("1","acation")), "2" => array("value" => "2", "label" => __("2","acation")), "3" => array("value" => "3", "label" => __("3","acation")), "4" => array("value" => "4", "label" => __("4","acation")), ); return apply_filters("acation_options_tabs", $list); } function acation_sidebar_layout() { $list = array( "left" => array("value" => "left", "label" => __("left","acation")), "right" => array("value" => "right", "label" => __("right","acation")), ); return apply_filters("acation_sidebar_layout", $list); } function acation_custom_fonts() { $list = array( "font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-weight:300;" => array("value" => "font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-weight:300;", "label" => __("Helvetica, Arial Regular","acation")), "font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-weight:700;" => array("value" => "font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-weight:700;", "label" => __("Helvetica, Arial Bold","acation")), "font-family:'pacificoregular';font-weight:normal;" => array("value" => "font-family:'pacificoregular';font-weight:normal;", "label" => __("Pacifico","acation")), "font-family:'comfortaabold';font-weight:normal;" => array("value" => "font-family:'comfortaabold';font-weight:normal;", "label" => __("Comfortaa Bold","acation")), "font-family:'chivoblack';font-weight:normal;text-transform:uppercase;" => array("value" => "font-family:'chivoblack';font-weight:normal;text-transform:uppercase;", "label" => __("Chivo Black","acation")), "font-family:'source_sans_proextralight';font-weight:normal;" => array("value" => "font-family:'source_sans_proextralight';font-weight:normal;", "label" => __("Source Sans Pro Extra Light","acation")), "font-family:'source_sans_prolight';font-weight:normal;" => array("value" => "font-family:'source_sans_prolight';font-weight:normal;", "label" => __("Source Sans Pro Light","acation")), "font-family:'source_sans_proregular';font-weight:normal;" => array("value" => "font-family:'source_sans_proregular';font-weight:normal;", "label" => __("Source Sans Pro Regular","acation")), "font-family:'source_sans_probold';font-weight:normal;" => array("value" => "font-family:'source_sans_probold';font-weight:normal;", "label" => __("Source Sans Pro Bold","acation")), ); return apply_filters("acation_custom_fonts", $list); } /* List of theme options tabs */ function acation_options_tabs() { $tabs = array( "1" => array("value" => "1", "label" => __("Fonts and Colors","acation")), "2" => array("value" => "2", "label" => __("Logo and Favicon","acation")), "3" => array("value" => "3", "label" => __("Homepage Options","acation")), "4" => array("value" => "4", "label" => __("Post Options","acation")) ); return apply_filters("acation_options_tabs", $tabs); } /* Display the options page */ function acation_options_page() { if(isset($_POST['settings-reset'])) { delete_option('acation_options'); add_settings_error('acation_options','reset',__('Default settings restored','acation'),'updated'); } ?>

'.$entry['label'].''; $first = false; } ?>
px
px
px
/>
/>
/>
/>
$width or $size[1] > $height) return false; else return true; } function acation_validate_number($value) { if(is_numeric($value) and $value > 0) { return true; } else return false; } function acation_validate_hex_color($color) { if(preg_match('|^#([A-Fa-f0-9]{3}){1,2}$|', $color)) return true; else return false; } ?>