diff --git a/db/originalhouse.sql b/db/originalhouse.sql index 99b344c..33a2039 100644 --- a/db/originalhouse.sql +++ b/db/originalhouse.sql @@ -3,7 +3,7 @@ -- http://www.phpmyadmin.net -- -- Servidor: localhost --- Tiempo de generación: 04-07-2011 a las 17:29:53 +-- Tiempo de generación: 05-07-2011 a las 17:13:45 -- Versión del servidor: 5.1.53 -- Versión de PHP: 5.3.4 @@ -75,7 +75,7 @@ CREATE TABLE IF NOT EXISTS `wp_comments` ( -- INSERT INTO `wp_comments` (`comment_ID`, `comment_post_ID`, `comment_author`, `comment_author_email`, `comment_author_url`, `comment_author_IP`, `comment_date`, `comment_date_gmt`, `comment_content`, `comment_karma`, `comment_approved`, `comment_agent`, `comment_type`, `comment_parent`, `user_id`) VALUES -(1, 1, 'Sr WordPress', '', 'http://wordpress.org/', '', '2011-06-28 15:12:45', '2011-06-28 15:12:45', 'Hola, esto es un comentario.
Para borrar un comentario sólo tienes que entrar y ver los comentarios de la entrada. Entonces tendrás la opción de editar o borrar.', 0, '1', '', '', 0, 0); +(1, 1, 'Sr WordPress', '', 'http://wordpress.org/', '', '2011-06-28 15:12:45', '2011-06-28 15:12:45', 'Hola, esto es un comentario.
Para borrar un comentario sólo tienes que entrar y ver los comentarios de la entrada. Entonces tendrás la opción de editar o borrar.', 0, 'post-trashed', '', '', 0, 0); -- -------------------------------------------------------- @@ -163,7 +163,7 @@ CREATE TABLE IF NOT EXISTS `wp_options` ( `autoload` varchar(20) NOT NULL DEFAULT 'yes', PRIMARY KEY (`option_id`), UNIQUE KEY `option_name` (`option_name`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=577 ; +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=842 ; -- -- Volcar la base de datos para la tabla `wp_options` @@ -205,7 +205,7 @@ INSERT INTO `wp_options` (`option_id`, `blog_id`, `option_name`, `option_value`, (33, 0, 'hack_file', '0', 'yes'), (34, 0, 'blog_charset', 'UTF-8', 'yes'), (35, 0, 'moderation_keys', '', 'no'), -(36, 0, 'active_plugins', 'a:7:{i:0;s:21:"catablog/catablog.php";i:1;s:56:"jquery-vertical-accordion-menu/dcwp_jquery_accordion.php";i:2;s:51:"make-filename-lowercase/make-filename-lowercase.php";i:3;s:57:"sanitize-spanish-filenames/sanitize-spanish-filenames.php";i:4;s:23:"tubepress/tubepress.php";i:5;s:34:"wp-e-commerce/wp-shopping-cart.php";i:6;s:53:"wp-ecommerce-cvs-importer/wp-ecommerce-cvs-import.php";}', 'yes'), +(36, 0, 'active_plugins', 'a:6:{i:0;s:30:"lightbox-plus/lightboxplus.php";i:1;s:51:"make-filename-lowercase/make-filename-lowercase.php";i:2;s:47:"plugin-update-blocker/plugin-update-blocker.php";i:3;s:57:"sanitize-spanish-filenames/sanitize-spanish-filenames.php";i:4;s:35:"thecartpress/TheCartPress.class.php";i:5;s:23:"tubepress/tubepress.php";}', 'yes'), (37, 0, 'home', 'http://localhost/originalhouse', 'yes'), (38, 0, 'category_base', '', 'yes'), (39, 0, 'ping_sites', 'http://rpc.pingomatic.com/', 'yes'), @@ -223,7 +223,7 @@ INSERT INTO `wp_options` (`option_id`, `blog_id`, `option_name`, `option_value`, (51, 0, 'html_type', 'text/html', 'yes'), (52, 0, 'use_trackback', '0', 'yes'), (53, 0, 'default_role', 'subscriber', 'yes'), -(54, 0, 'db_version', '17516', 'yes'), +(54, 0, 'db_version', '18226', 'yes'), (55, 0, 'uploads_use_yearmonth_folders', '1', 'yes'), (56, 0, 'upload_path', '', 'yes'), (57, 0, 'blog_public', '1', 'yes'), @@ -265,15 +265,16 @@ INSERT INTO `wp_options` (`option_id`, `blog_id`, `option_name`, `option_value`, (93, 0, 'page_for_posts', '0', 'yes'), (94, 0, 'page_on_front', '44', 'yes'), (95, 0, 'default_post_format', '0', 'yes'), -(96, 0, 'wp_user_roles', 'a:5:{s:13:"administrator";a:2:{s:4:"name";s:13:"Administrator";s:12:"capabilities";a:81:{s:13:"switch_themes";b:1;s:11:"edit_themes";b:1;s:16:"activate_plugins";b:1;s:12:"edit_plugins";b:1;s:10:"edit_users";b:1;s:10:"edit_files";b:1;s:14:"manage_options";b:1;s:17:"moderate_comments";b:1;s:17:"manage_categories";b:1;s:12:"manage_links";b:1;s:12:"upload_files";b:1;s:6:"import";b:1;s:15:"unfiltered_html";b:1;s:10:"edit_posts";b:1;s:17:"edit_others_posts";b:1;s:20:"edit_published_posts";b:1;s:13:"publish_posts";b:1;s:10:"edit_pages";b:1;s:4:"read";b:1;s:8:"level_10";b:1;s:7:"level_9";b:1;s:7:"level_8";b:1;s:7:"level_7";b:1;s:7:"level_6";b:1;s:7:"level_5";b:1;s:7:"level_4";b:1;s:7:"level_3";b:1;s:7:"level_2";b:1;s:7:"level_1";b:1;s:7:"level_0";b:1;s:17:"edit_others_pages";b:1;s:20:"edit_published_pages";b:1;s:13:"publish_pages";b:1;s:12:"delete_pages";b:1;s:19:"delete_others_pages";b:1;s:22:"delete_published_pages";b:1;s:12:"delete_posts";b:1;s:19:"delete_others_posts";b:1;s:22:"delete_published_posts";b:1;s:20:"delete_private_posts";b:1;s:18:"edit_private_posts";b:1;s:18:"read_private_posts";b:1;s:20:"delete_private_pages";b:1;s:18:"edit_private_pages";b:1;s:18:"read_private_pages";b:1;s:12:"delete_users";b:1;s:12:"create_users";b:1;s:17:"unfiltered_upload";b:1;s:14:"edit_dashboard";b:1;s:14:"update_plugins";b:1;s:14:"delete_plugins";b:1;s:15:"install_plugins";b:1;s:13:"update_themes";b:1;s:14:"install_themes";b:1;s:11:"update_core";b:1;s:10:"list_users";b:1;s:12:"remove_users";b:1;s:9:"add_users";b:1;s:13:"promote_users";b:1;s:18:"edit_theme_options";b:1;s:13:"delete_themes";b:1;s:6:"export";b:1;s:17:"read_wpsc-product";b:1;s:22:"read_wpsc-product-file";b:1;s:16:"tcp_edit_product";b:1;s:17:"tcp_edit_products";b:1;s:24:"tcp_edit_others_products";b:1;s:20:"tcp_publish_products";b:1;s:16:"tcp_read_product";b:1;s:18:"tcp_delete_product";b:1;s:15:"tcp_users_roles";b:1;s:15:"tcp_edit_orders";b:1;s:15:"tcp_read_orders";b:1;s:17:"tcp_edit_settings";b:1;s:16:"tcp_edit_plugins";b:1;s:16:"tcp_update_price";b:1;s:16:"tcp_update_stock";b:1;s:25:"tcp_downloadable_products";b:1;s:18:"tcp_edit_addresses";b:1;s:14:"tcp_edit_taxes";b:1;s:23:"tcp_shortcode_generator";b:1;}}s:6:"editor";a:2:{s:4:"name";s:6:"Editor";s:12:"capabilities";a:34:{s:17:"moderate_comments";b:1;s:17:"manage_categories";b:1;s:12:"manage_links";b:1;s:12:"upload_files";b:1;s:15:"unfiltered_html";b:1;s:10:"edit_posts";b:1;s:17:"edit_others_posts";b:1;s:20:"edit_published_posts";b:1;s:13:"publish_posts";b:1;s:10:"edit_pages";b:1;s:4:"read";b:1;s:7:"level_7";b:1;s:7:"level_6";b:1;s:7:"level_5";b:1;s:7:"level_4";b:1;s:7:"level_3";b:1;s:7:"level_2";b:1;s:7:"level_1";b:1;s:7:"level_0";b:1;s:17:"edit_others_pages";b:1;s:20:"edit_published_pages";b:1;s:13:"publish_pages";b:1;s:12:"delete_pages";b:1;s:19:"delete_others_pages";b:1;s:22:"delete_published_pages";b:1;s:12:"delete_posts";b:1;s:19:"delete_others_posts";b:1;s:22:"delete_published_posts";b:1;s:20:"delete_private_posts";b:1;s:18:"edit_private_posts";b:1;s:18:"read_private_posts";b:1;s:20:"delete_private_pages";b:1;s:18:"edit_private_pages";b:1;s:18:"read_private_pages";b:1;}}s:6:"author";a:2:{s:4:"name";s:6:"Author";s:12:"capabilities";a:10:{s:12:"upload_files";b:1;s:10:"edit_posts";b:1;s:20:"edit_published_posts";b:1;s:13:"publish_posts";b:1;s:4:"read";b:1;s:7:"level_2";b:1;s:7:"level_1";b:1;s:7:"level_0";b:1;s:12:"delete_posts";b:1;s:22:"delete_published_posts";b:1;}}s:11:"contributor";a:2:{s:4:"name";s:11:"Contributor";s:12:"capabilities";a:5:{s:10:"edit_posts";b:1;s:4:"read";b:1;s:7:"level_1";b:1;s:7:"level_0";b:1;s:12:"delete_posts";b:1;}}s:10:"subscriber";a:2:{s:4:"name";s:10:"Subscriber";s:12:"capabilities";a:2:{s:4:"read";b:1;s:7:"level_0";b:1;}}}', 'yes'), +(96, 0, 'wp_user_roles', 'a:7:{s:13:"administrator";a:2:{s:4:"name";s:13:"Administrator";s:12:"capabilities";a:81:{s:13:"switch_themes";b:1;s:11:"edit_themes";b:1;s:16:"activate_plugins";b:1;s:12:"edit_plugins";b:1;s:10:"edit_users";b:1;s:10:"edit_files";b:1;s:14:"manage_options";b:1;s:17:"moderate_comments";b:1;s:17:"manage_categories";b:1;s:12:"manage_links";b:1;s:12:"upload_files";b:1;s:6:"import";b:1;s:15:"unfiltered_html";b:1;s:10:"edit_posts";b:1;s:17:"edit_others_posts";b:1;s:20:"edit_published_posts";b:1;s:13:"publish_posts";b:1;s:10:"edit_pages";b:1;s:4:"read";b:1;s:8:"level_10";b:1;s:7:"level_9";b:1;s:7:"level_8";b:1;s:7:"level_7";b:1;s:7:"level_6";b:1;s:7:"level_5";b:1;s:7:"level_4";b:1;s:7:"level_3";b:1;s:7:"level_2";b:1;s:7:"level_1";b:1;s:7:"level_0";b:1;s:17:"edit_others_pages";b:1;s:20:"edit_published_pages";b:1;s:13:"publish_pages";b:1;s:12:"delete_pages";b:1;s:19:"delete_others_pages";b:1;s:22:"delete_published_pages";b:1;s:12:"delete_posts";b:1;s:19:"delete_others_posts";b:1;s:22:"delete_published_posts";b:1;s:20:"delete_private_posts";b:1;s:18:"edit_private_posts";b:1;s:18:"read_private_posts";b:1;s:20:"delete_private_pages";b:1;s:18:"edit_private_pages";b:1;s:18:"read_private_pages";b:1;s:12:"delete_users";b:1;s:12:"create_users";b:1;s:17:"unfiltered_upload";b:1;s:14:"edit_dashboard";b:1;s:14:"update_plugins";b:1;s:14:"delete_plugins";b:1;s:15:"install_plugins";b:1;s:13:"update_themes";b:1;s:14:"install_themes";b:1;s:11:"update_core";b:1;s:10:"list_users";b:1;s:12:"remove_users";b:1;s:9:"add_users";b:1;s:13:"promote_users";b:1;s:18:"edit_theme_options";b:1;s:13:"delete_themes";b:1;s:6:"export";b:1;s:17:"read_wpsc-product";b:1;s:22:"read_wpsc-product-file";b:1;s:16:"tcp_edit_product";b:1;s:17:"tcp_edit_products";b:1;s:24:"tcp_edit_others_products";b:1;s:20:"tcp_publish_products";b:1;s:16:"tcp_read_product";b:1;s:18:"tcp_delete_product";b:1;s:15:"tcp_users_roles";b:1;s:15:"tcp_edit_orders";b:1;s:15:"tcp_read_orders";b:1;s:17:"tcp_edit_settings";b:1;s:16:"tcp_edit_plugins";b:1;s:16:"tcp_update_price";b:1;s:16:"tcp_update_stock";b:1;s:25:"tcp_downloadable_products";b:1;s:18:"tcp_edit_addresses";b:1;s:14:"tcp_edit_taxes";b:1;s:23:"tcp_shortcode_generator";b:1;}}s:6:"editor";a:2:{s:4:"name";s:6:"Editor";s:12:"capabilities";a:34:{s:17:"moderate_comments";b:1;s:17:"manage_categories";b:1;s:12:"manage_links";b:1;s:12:"upload_files";b:1;s:15:"unfiltered_html";b:1;s:10:"edit_posts";b:1;s:17:"edit_others_posts";b:1;s:20:"edit_published_posts";b:1;s:13:"publish_posts";b:1;s:10:"edit_pages";b:1;s:4:"read";b:1;s:7:"level_7";b:1;s:7:"level_6";b:1;s:7:"level_5";b:1;s:7:"level_4";b:1;s:7:"level_3";b:1;s:7:"level_2";b:1;s:7:"level_1";b:1;s:7:"level_0";b:1;s:17:"edit_others_pages";b:1;s:20:"edit_published_pages";b:1;s:13:"publish_pages";b:1;s:12:"delete_pages";b:1;s:19:"delete_others_pages";b:1;s:22:"delete_published_pages";b:1;s:12:"delete_posts";b:1;s:19:"delete_others_posts";b:1;s:22:"delete_published_posts";b:1;s:20:"delete_private_posts";b:1;s:18:"edit_private_posts";b:1;s:18:"read_private_posts";b:1;s:20:"delete_private_pages";b:1;s:18:"edit_private_pages";b:1;s:18:"read_private_pages";b:1;}}s:6:"author";a:2:{s:4:"name";s:6:"Author";s:12:"capabilities";a:10:{s:12:"upload_files";b:1;s:10:"edit_posts";b:1;s:20:"edit_published_posts";b:1;s:13:"publish_posts";b:1;s:4:"read";b:1;s:7:"level_2";b:1;s:7:"level_1";b:1;s:7:"level_0";b:1;s:12:"delete_posts";b:1;s:22:"delete_published_posts";b:1;}}s:11:"contributor";a:2:{s:4:"name";s:11:"Contributor";s:12:"capabilities";a:5:{s:10:"edit_posts";b:1;s:4:"read";b:1;s:7:"level_1";b:1;s:7:"level_0";b:1;s:12:"delete_posts";b:1;}}s:10:"subscriber";a:2:{s:4:"name";s:10:"Subscriber";s:12:"capabilities";a:2:{s:4:"read";b:1;s:7:"level_0";b:1;}}s:8:"customer";a:2:{s:4:"name";s:8:"Customer";s:12:"capabilities";a:5:{s:15:"tcp_read_orders";b:1;s:18:"tcp_edit_addresses";b:1;s:25:"tcp_downloadable_products";b:1;s:4:"read";b:1;s:7:"level_0";b:1;}}s:8:"merchant";a:2:{s:4:"name";s:8:"Merchant";s:12:"capabilities";a:51:{s:16:"tcp_edit_product";b:1;s:17:"tcp_edit_products";b:1;s:24:"tcp_edit_others_products";b:1;s:20:"tcp_publish_products";b:1;s:16:"tcp_read_product";b:1;s:18:"tcp_delete_product";b:1;s:15:"tcp_edit_orders";b:1;s:15:"tcp_read_orders";b:1;s:16:"tcp_update_price";b:1;s:16:"tcp_update_stock";b:1;s:18:"tcp_edit_addresses";b:1;s:25:"tcp_downloadable_products";b:1;s:15:"tcp_users_roles";b:1;s:17:"tcp_edit_settings";b:1;s:16:"tcp_edit_plugins";b:1;s:14:"tcp_edit_taxes";b:1;s:23:"tcp_shortcode_generator";b:1;s:17:"moderate_comments";b:1;s:17:"manage_categories";b:1;s:12:"manage_links";b:1;s:12:"upload_files";b:1;s:15:"unfiltered_html";b:1;s:10:"edit_posts";b:1;s:17:"edit_others_posts";b:1;s:20:"edit_published_posts";b:1;s:13:"publish_posts";b:1;s:10:"edit_pages";b:1;s:4:"read";b:1;s:7:"level_7";b:1;s:7:"level_6";b:1;s:7:"level_5";b:1;s:7:"level_4";b:1;s:7:"level_3";b:1;s:7:"level_2";b:1;s:7:"level_1";b:1;s:7:"level_0";b:1;s:17:"edit_others_pages";b:1;s:20:"edit_published_pages";b:1;s:13:"publish_pages";b:1;s:12:"delete_pages";b:1;s:19:"delete_others_pages";b:1;s:22:"delete_published_pages";b:1;s:12:"delete_posts";b:1;s:19:"delete_others_posts";b:1;s:22:"delete_published_posts";b:1;s:20:"delete_private_posts";b:1;s:18:"edit_private_posts";b:1;s:18:"read_private_posts";b:1;s:20:"delete_private_pages";b:1;s:18:"edit_private_pages";b:1;s:18:"read_private_pages";b:1;}}}', 'yes'), (97, 0, 'widget_search', 'a:2:{i:2;a:1:{s:5:"title";s:0:"";}s:12:"_multiwidget";i:1;}', 'yes'), (98, 0, 'widget_recent-posts', 'a:2:{i:2;a:2:{s:5:"title";s:0:"";s:6:"number";i:5;}s:12:"_multiwidget";i:1;}', 'yes'), (99, 0, 'widget_recent-comments', 'a:2:{i:2;a:2:{s:5:"title";s:0:"";s:6:"number";i:5;}s:12:"_multiwidget";i:1;}', 'yes'), (100, 0, 'widget_archives', 'a:2:{i:2;a:3:{s:5:"title";s:0:"";s:5:"count";i:0;s:8:"dropdown";i:0;}s:12:"_multiwidget";i:1;}', 'yes'), (101, 0, 'widget_meta', 'a:2:{i:2;a:1:{s:5:"title";s:0:"";}s:12:"_multiwidget";i:1;}', 'yes'), (102, 0, 'sidebars_widgets', 'a:3:{s:19:"wp_inactive_widgets";a:21:{i:0;s:10:"woo_tabs-2";i:1;s:14:"woo_adwidget-2";i:2;s:20:"woo_blogauthorinfo-2";i:3;s:12:"woo_flickr-2";i:4;s:12:"woo_search-2";i:5;s:13:"woo_twitter-2";i:6;s:15:"woo_subscribe-2";i:7;s:7:"pages-2";i:8;s:10:"calendar-2";i:9;s:7:"links-2";i:10;s:6:"text-2";i:11;s:5:"rss-2";i:12;s:11:"tag_cloud-2";i:13;s:10:"nav_menu-2";i:14;s:14:"woo_archives-2";i:15;s:23:"dc_jqaccordion_widget-2";i:16;s:14:"recent-posts-2";i:17;s:17:"recent-comments-2";i:18;s:10:"archives-2";i:19;s:12:"categories-2";i:20;s:6:"meta-2";}s:7:"primary";a:1:{i:0;s:23:"dc_jqaccordion_widget-3";}s:13:"array_version";i:3;}', 'yes'), -(103, 0, 'cron', 'a:5:{i:1309803677;a:1:{s:22:"wpsc_hourly_cron_tasks";a:1:{s:32:"40cd750bba9870f18aada2478b24840a";a:3:{s:8:"schedule";s:6:"hourly";s:4:"args";a:0:{}s:8:"interval";i:3600;}}}i:1309835568;a:3:{s:16:"wp_version_check";a:1:{s:32:"40cd750bba9870f18aada2478b24840a";a:3:{s:8:"schedule";s:10:"twicedaily";s:4:"args";a:0:{}s:8:"interval";i:43200;}}s:17:"wp_update_plugins";a:1:{s:32:"40cd750bba9870f18aada2478b24840a";a:3:{s:8:"schedule";s:10:"twicedaily";s:4:"args";a:0:{}s:8:"interval";i:43200;}}s:16:"wp_update_themes";a:1:{s:32:"40cd750bba9870f18aada2478b24840a";a:3:{s:8:"schedule";s:10:"twicedaily";s:4:"args";a:0:{}s:8:"interval";i:43200;}}}i:1309878772;a:1:{s:19:"wp_scheduled_delete";a:1:{s:32:"40cd750bba9870f18aada2478b24840a";a:3:{s:8:"schedule";s:5:"daily";s:4:"args";a:0:{}s:8:"interval";i:86400;}}}i:1309886477;a:1:{s:21:"wpsc_daily_cron_tasks";a:1:{s:32:"40cd750bba9870f18aada2478b24840a";a:3:{s:8:"schedule";s:5:"daily";s:4:"args";a:0:{}s:8:"interval";i:86400;}}}s:7:"version";i:2;}', 'yes'), -(104, 0, '_transient_doing_cron', '1309800078', 'yes'), +(103, 0, 'cron', 'a:4:{i:1309886477;a:2:{s:21:"wpsc_daily_cron_tasks";a:1:{s:32:"40cd750bba9870f18aada2478b24840a";a:3:{s:8:"schedule";s:5:"daily";s:4:"args";a:0:{}s:8:"interval";i:86400;}}s:22:"wpsc_hourly_cron_tasks";a:1:{s:32:"40cd750bba9870f18aada2478b24840a";a:3:{s:8:"schedule";s:6:"hourly";s:4:"args";a:0:{}s:8:"interval";i:3600;}}}i:1309921968;a:3:{s:16:"wp_version_check";a:1:{s:32:"40cd750bba9870f18aada2478b24840a";a:3:{s:8:"schedule";s:10:"twicedaily";s:4:"args";a:0:{}s:8:"interval";i:43200;}}s:17:"wp_update_plugins";a:1:{s:32:"40cd750bba9870f18aada2478b24840a";a:3:{s:8:"schedule";s:10:"twicedaily";s:4:"args";a:0:{}s:8:"interval";i:43200;}}s:16:"wp_update_themes";a:1:{s:32:"40cd750bba9870f18aada2478b24840a";a:3:{s:8:"schedule";s:10:"twicedaily";s:4:"args";a:0:{}s:8:"interval";i:43200;}}}i:1309965172;a:1:{s:19:"wp_scheduled_delete";a:1:{s:32:"40cd750bba9870f18aada2478b24840a";a:3:{s:8:"schedule";s:5:"daily";s:4:"args";a:0:{}s:8:"interval";i:86400;}}}s:7:"version";i:2;}', 'yes'), +(104, 0, '_transient_doing_cron', '1309883022', 'yes'), +(737, 0, '_site_transient_update_core', 'O:8:"stdClass":3:{s:7:"updates";a:2:{i:0;O:8:"stdClass":9:{s:8:"response";s:6:"latest";s:8:"download";s:47:"http://es.wordpress.org/wordpress-3.2-es_ES.zip";s:6:"locale";s:5:"es_ES";s:8:"packages";O:8:"stdClass":4:{s:4:"full";s:47:"http://es.wordpress.org/wordpress-3.2-es_ES.zip";s:10:"no_content";b:0;s:11:"new_bundled";b:0;s:7:"partial";b:0;}s:7:"current";s:3:"3.2";s:11:"php_version";s:5:"5.2.4";s:13:"mysql_version";s:3:"5.0";s:11:"new_bundled";s:3:"3.2";s:15:"partial_version";s:0:"";}i:1;O:8:"stdClass":9:{s:8:"response";s:6:"latest";s:8:"download";s:38:"http://wordpress.org/wordpress-3.2.zip";s:6:"locale";s:5:"en_US";s:8:"packages";O:8:"stdClass":4:{s:4:"full";s:38:"http://wordpress.org/wordpress-3.2.zip";s:10:"no_content";b:0;s:11:"new_bundled";b:0;s:7:"partial";b:0;}s:7:"current";s:3:"3.2";s:11:"php_version";s:5:"5.2.4";s:13:"mysql_version";s:3:"5.0";s:11:"new_bundled";s:3:"3.2";s:15:"partial_version";s:0:"";}}s:12:"last_checked";i:1309878870;s:15:"version_checked";s:3:"3.2";}', 'yes'), (397, 0, 'tubepress-disableHttpTransportCurl', '', 'yes'), (395, 0, 'tubepress-searchProvider', 'youtube', 'yes'), (107, 0, 'widget_pages', 'a:2:{i:2;a:0:{}s:12:"_multiwidget";i:1;}', 'yes'), @@ -282,15 +283,15 @@ INSERT INTO `wp_options` (`option_id`, `blog_id`, `option_name`, `option_value`, (110, 0, 'widget_tag_cloud', 'a:2:{i:2;a:0:{}s:12:"_multiwidget";i:1;}', 'yes'), (111, 0, 'widget_nav_menu', 'a:2:{i:2;a:0:{}s:12:"_multiwidget";i:1;}', 'yes'), (115, 0, 'dashboard_widget_options', 'a:4:{s:25:"dashboard_recent_comments";a:1:{s:5:"items";i:5;}s:24:"dashboard_incoming_links";a:5:{s:4:"home";s:30:"http://localhost/originalhouse";s:4:"link";s:106:"http://blogsearch.google.com/blogsearch?scoring=d&partner=wordpress&q=link:http://localhost/originalhouse/";s:3:"url";s:139:"http://blogsearch.google.com/blogsearch_feeds?scoring=d&ie=utf-8&num=10&output=rss&partner=wordpress&q=link:http://localhost/originalhouse/";s:5:"items";i:10;s:9:"show_date";b:0;}s:17:"dashboard_primary";a:7:{s:4:"link";s:26:"http://wordpress.org/news/";s:3:"url";s:31:"http://wordpress.org/news/feed/";s:5:"title";s:22:"Blog oficial WordPress";s:5:"items";i:2;s:12:"show_summary";i:1;s:11:"show_author";i:0;s:9:"show_date";i:1;}s:19:"dashboard_secondary";a:7:{s:4:"link";s:28:"http://planet.wordpress.org/";s:3:"url";s:33:"http://planet.wordpress.org/feed/";s:5:"title";s:30:"Otras noticias sobre WordPress";s:5:"items";i:5;s:12:"show_summary";i:0;s:11:"show_author";i:0;s:9:"show_date";i:0;}}', 'yes'), -(451, 0, '_site_transient_timeout_theme_roots', '1309807147', 'yes'), -(452, 0, '_site_transient_theme_roots', 'a:2:{s:13:"originalhouse";s:7:"/themes";s:9:"twentyten";s:7:"/themes";}', 'yes'), +(798, 0, '_site_transient_timeout_theme_roots', '1309886070', 'yes'), +(799, 0, '_site_transient_theme_roots', 'a:3:{s:13:"originalhouse";s:7:"/themes";s:12:"twentyeleven";s:7:"/themes";s:9:"twentyten";s:7:"/themes";}', 'yes'), (266, 0, 'current_theme', 'Original House', 'yes'), -(117, 0, 'can_compress_scripts', '1', 'yes'), -(356, 0, '_transient_timeout_feed_8fa202021a0c51f109142bc571ee925a', '1309821724', 'no'), -(357, 0, '_transient_feed_8fa202021a0c51f109142bc571ee925a', 'a:4:{s:5:"child";a:1:{s:0:"";a:1:{s:3:"rss";a:1:{i:0;a:6:{s:4:"data";s:4:"\n \n";s:7:"attribs";a:1:{s:0:"";a:1:{s:7:"version";s:3:"2.0";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:1:{s:0:"";a:1:{s:7:"channel";a:1:{i:0;a:6:{s:4:"data";s:83:"\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:4:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:57:"link:http://localhost/originalhouse/ - Google Blog Search";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:94:"http://www.google.com/search?ie=utf-8&q=link:http://localhost/originalhouse/&tbm=blg&tbs=sbd:1";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:96:"Results 1 - 10 of about 95 for link:http://localhost/originalhouse/.";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"item";a:10:{i:0;a:6:{s:4:"data";s:47:"\n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:3:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:77:"Mandriva Forum (en) • View topic - log in fails - home directory ...";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:60:"http://forum.mandriva.com/en/viewtopic.php?t=135223&p=847301";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:507:"[root@localhost home]# cat /etc/fstab # Entry for /dev/sda1 : UUID=81494177-1bee-4f6e-a709-681992215e63 / ext2 acl,noatime 1 1 # Entry for /dev/sda2 : UUID=40e99d98-ceea-41b0-9f72-83120658d99a /home ext2 acl,noatime 1 2 ... Thanks for the link, the thing is i couldnt find a Home/[username] directory, it wasnt there ... so i created one using mkdir and now everything seems to work but all my data is gone :-( . If i run the commands detailed on the link above, ...";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:3:{s:9:"publisher";a:1:{i:0;a:5:{s:4:"data";s:19:"Mandriva Forum (en)";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:7:"deanyit";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"date";a:1:{i:0;a:5:{s:4:"data";s:29:"Sat, 25 Jun 2011 18:16:49 GMT";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:1;a:6:{s:4:"data";s:47:"\n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:3:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:79:"MakeUseOf.com: “Latest Hilarious Picks [Geeky Fun]” plus 12 more ...";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:94:"http://free-download-book-pdf.blogspot.com/2011/05/makeuseofcom-latest-hilarious-picks_13.html";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:536:"Go to “http://localhost/” and you'll see a perfect mirror replica of your live website! Now you can tweak your theme, new ads, or otherwise play around with the local version of your website before you decide to move the changes to your live ... The link will prompt the package manager to install the package for you. You can also fire up the Synaptic Package Manager and type in compizconfig-settings-manager . You'll see it along with another package called “simple-ccsm“. ...";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:3:{s:9:"publisher";a:1:{i:0;a:5:{s:4:"data";s:14:"Download ebook";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:5:"ebook";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"date";a:1:{i:0;a:5:{s:4:"data";s:29:"Fri, 13 May 2011 14:22:00 GMT";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:2;a:6:{s:4:"data";s:47:"\n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:3:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:76:"FreakY TriKz: MakeUseOf.com: “Latest Hilarious Picks [Geeky Fun ...";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:84:"http://freaky-trikz.blogspot.com/2011/05/makeuseofcom-latest-hilarious-picks_13.html";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:536:"Go to “http://localhost/” and you'll see a perfect mirror replica of your live website! Now you can tweak your theme, new ads, or otherwise play around with the local version of your website before you decide to move the changes to your live ... The link will prompt the package manager to install the package for you. You can also fire up the Synaptic Package Manager and type in compizconfig-settings-manager . You'll see it along with another package called “simple-ccsm“. ...";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:3:{s:9:"publisher";a:1:{i:0;a:5:{s:4:"data";s:12:"freaky trikz";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:6:"RAPZAP";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"date";a:1:{i:0;a:5:{s:4:"data";s:29:"Fri, 13 May 2011 14:22:00 GMT";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:3;a:6:{s:4:"data";s:47:"\n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:3:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:24:"TVIDs with Music Jukebox";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:58:"http://www.networkedmediatank.com/showthread.php?tid=51003";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:576:"The link I am adding is http://localhost.drives:8883/USB_DRIVE_C-3/index.htm and specifying 'ALL' pages. The xml file is updated with. Code: <tvids> <RED>http://localhost.drives:8883/USB_DRIVE_C-3/index.htm</RED> </tvids> ... Edit2: Actually, if I just edit the index_main.htm file with my code, all of the other index pages and details pages have the original 'home' code which reverts back to the index_main.htm page... than with the updated index_main.htm page, ...";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:3:{s:9:"publisher";a:1:{i:0;a:5:{s:4:"data";s:33:"Networked Media Tank - All Forums";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:7:"unknown";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"date";a:1:{i:0;a:5:{s:4:"data";s:29:"Tue, 29 Mar 2011 19:34:09 GMT";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:4;a:6:{s:4:"data";s:47:"\n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:3:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:74:"WordPress Tutorial – How to Make a Static Page Your Home Page ...";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:143:"http://www.jeronone.com/blog/web-development/wordpress1/wordpress-tutorial-how-to-make-a-static-page-your-home-page-hide-double-home-page-link/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:520:"You can also create another page to use as your blog page, with a link to that page in your site navigation. Watch this tutorial to see how to do this. One problem you may run into when you make a static page your home page is that ... As a newbie, i couldn't understand why my original home page wasn't showing up under select page as home page pull-down. So i creates a home page – ending up with two. By setting second home page as a child page to Blog page, it vanished. ...";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:3:{s:9:"publisher";a:1:{i:0;a:5:{s:4:"data";s:12:"Jero and One";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:5:"admin";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"date";a:1:{i:0;a:5:{s:4:"data";s:29:"Sun, 26 Dec 2010 18:02:35 GMT";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:5;a:6:{s:4:"data";s:47:"\n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:3:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:66:"朝乾夕惕|SpunkMars++ » 【原创】RRDtool Cacti 安装总结";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:123:"http://www.spunkmars.org/2010/12/09/%E3%80%90%E5%8E%9F%E5%88%9B%E3%80%91rrdtool-cacti-%E5%AE%89%E8%A3%85%E6%80%BB%E7%BB%93/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:685:"这个软件,它老是就编译不出pangocairo.pc这个文件,最后还得老老实实去rrdtool官网下载它提供的第三方软件和库,地址如下:http://oss.oetiker.ch/rrdtool/pub/libs/ ,里面同个软件还有几个版本,都挑里面较新的装,因为毕竟装的是rrdtool-1.4.4版本。 其实只要熟悉了pkgconfig管理库 .... 因为在我的httpd.conf里设置的网站主目录是/data/htdocs/www ,所以Cacti的访问地址为:http://localhost/cacti. 设置Cacti: 浏览器里登录http://localhost/cacti. 默认用户名和密码都是admin. 第一次登录需强制更换新密码 ...";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:3:{s:9:"publisher";a:1:{i:0;a:5:{s:4:"data";s:24:"朝乾夕惕|SpunkMars++";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:5:"admin";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"date";a:1:{i:0;a:5:{s:4:"data";s:29:"Thu, 09 Dec 2010 01:11:53 GMT";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:6;a:6:{s:4:"data";s:47:"\n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:3:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:38:"virt-manager (only) will not X forward";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:120:"http://forums.opensuse.org/english/get-technical-help-here/applications/447580-virt-manager-only-will-not-x-forward.html";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:520:"The application 'virt-manager.py' lost its connection to the display localhost:12.0; most likely the X server was shut down or you killed/destroyed the application. That lead me to this post which had a solution, and a good explanation as well: ... $HOME, so the original $HOME/.Xauthority is still used. Then, userhelper (or su -) use the pam_xauth module. pam_xauth does not use $HOME/.Xauthority, but "invoking user's home directory"/.Xauthority, i.e. /root/. ...";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:3:{s:9:"publisher";a:1:{i:0;a:5:{s:4:"data";s:15:"openSUSE Forums";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:17:"LewsTherinTelemon";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"date";a:1:{i:0;a:5:{s:4:"data";s:29:"Wed, 08 Dec 2010 08:00:00 GMT";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:7;a:6:{s:4:"data";s:47:"\n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:3:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:55:"Ampache - Streming Sterver Teil 1 | Stefan's Weblog";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:35:"http://www.strobelstefan.de/?p=1051";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:260:"Ruft man im Webbrowser den Installationsdialog über http://localhost/ampacheauf, dann wird ein Fehler ausgegeben. Kurz gesagt der Webserver Apache hat keinen Zugriff auf Ampache. Mit zwei Befehlen auf der Konsole kann man das aber ...";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:3:{s:9:"publisher";a:1:{i:0;a:5:{s:4:"data";s:15:"Stefan''s Weblog";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:6:"Stefan";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"date";a:1:{i:0;a:5:{s:4:"data";s:29:"Thu, 25 Nov 2010 10:01:36 GMT";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:8;a:6:{s:4:"data";s:47:"\n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:3:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:51:"ASA Syslog errors from MSSQL - Spiceworks Community";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:72:"http://community.spiceworks.com/topic/99299-asa-syslog-errors-from-mssql";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:522:"For some reason the old administrator used a lot of references to its IP address rather than using localhost or 127.0.0.1. Instead the admin entered the actual IP address into the configs. I've cleaned up everything i can find but apparently i haven't found them all. ... Check the Jobs, and Database Link. It look to me that the DB may have a database link pointing to the same database. This is a trick that's being used for some DBA to accomplished tricky tasks. ...";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:3:{s:9:"publisher";a:1:{i:0;a:5:{s:4:"data";s:20:"Spiceworks Community";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:6:"mattrk";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"date";a:1:{i:0;a:5:{s:4:"data";s:29:"Wed, 19 May 2010 21:36:58 GMT";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:9;a:6:{s:4:"data";s:47:"\n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:3:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:44:"Calabrian Journey « Nick Mancuso's Blog";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:62:"http://nickmancuso.wordpress.com/2009/10/28/calabrian-journey/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:499:"Version:1.0 StartHTML:0000000202 EndHTML:0000021481 StartFragment:0000002631 EndFragment:0000021445 SourceURL:file://localhost/Users/nickmancuso/Desktop/Assorted%20Essays/CALABRIAN%20MEMORIES.doc .... In America, many of us have lost that link to our roots, our common roots. I have lost the flavor of our differences. Of the cities and towns my ancestors emigrated from. We have become part of the sweltering homogenized masses of men and women of the industrial ...";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:3:{s:9:"publisher";a:1:{i:0;a:5:{s:4:"data";s:19:"Nick Mancuso''s Blog";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:12:"Nick Mancuso";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"date";a:1:{i:0;a:5:{s:4:"data";s:29:"Wed, 28 Oct 2009 08:32:00 GMT";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}}}s:36:"http://a9.com/-/spec/opensearch/1.1/";a:3:{s:12:"totalResults";a:1:{i:0;a:5:{s:4:"data";s:2:"95";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:10:"startIndex";a:1:{i:0;a:5:{s:4:"data";s:1:"1";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:12:"itemsPerPage";a:1:{i:0;a:5:{s:4:"data";s:2:"10";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}}}}}}}}s:4:"type";i:128;s:7:"headers";a:7:{s:12:"content-type";s:28:"text/xml; charset=ISO-8859-1";s:4:"date";s:29:"Mon, 04 Jul 2011 11:22:04 GMT";s:7:"expires";s:2:"-1";s:13:"cache-control";s:18:"private, max-age=0";s:10:"set-cookie";s:143:"PREF=ID=668cc54d60fb7d04:FF=0:TM=1309778524:LM=1309778524:S=t5cs5orkBbsu1GYV; expires=Wed, 03-Jul-2013 11:22:04 GMT; path=/; domain=.google.com";s:6:"server";s:3:"gws";s:16:"x-xss-protection";s:13:"1; mode=block";}s:5:"build";s:14:"20090627192103";}', 'no'), -(122, 0, '_transient_timeout_plugin_slugs', '1309886912', 'no'), -(123, 0, '_transient_plugin_slugs', 'a:9:{i:0;s:21:"catablog/catablog.php";i:1;s:43:"custom-post-background/custom-post-back.php";i:2;s:56:"jquery-vertical-accordion-menu/dcwp_jquery_accordion.php";i:3;s:51:"make-filename-lowercase/make-filename-lowercase.php";i:4;s:57:"sanitize-spanish-filenames/sanitize-spanish-filenames.php";i:5;s:20:"sticky_menu/init.php";i:6;s:23:"tubepress/tubepress.php";i:7;s:34:"wp-e-commerce/wp-shopping-cart.php";i:8;s:53:"wp-ecommerce-cvs-importer/wp-ecommerce-cvs-import.php";}', 'no'), -(124, 0, 'recently_activated', 'a:4:{s:35:"thecartpress/TheCartPress.class.php";i:1309800474;s:31:"youtube-media/youtube-media.php";i:1309788594;s:47:"youtube-simplegallery/youtube_simplegallery.php";i:1309788204;s:43:"custom-post-background/custom-post-back.php";i:1309781286;}', 'yes'), +(736, 0, 'db_upgraded', '', 'yes'), +(655, 0, '_transient_timeout_feed_mod_8fa202021a0c51f109142bc571ee925a', '1309898911', 'no'), +(656, 0, '_transient_feed_mod_8fa202021a0c51f109142bc571ee925a', '1309855711', 'no'), +(122, 0, '_transient_timeout_plugin_slugs', '1309969615', 'no'), +(123, 0, '_transient_plugin_slugs', 'a:11:{i:0;s:43:"custom-post-background/custom-post-back.php";i:1;s:56:"jquery-vertical-accordion-menu/dcwp_jquery_accordion.php";i:2;s:30:"lightbox-plus/lightboxplus.php";i:3;s:51:"make-filename-lowercase/make-filename-lowercase.php";i:4;s:47:"plugin-update-blocker/plugin-update-blocker.php";i:5;s:57:"sanitize-spanish-filenames/sanitize-spanish-filenames.php";i:6;s:20:"sticky_menu/init.php";i:7;s:35:"thecartpress/TheCartPress.class.php";i:8;s:23:"tubepress/tubepress.php";i:9;s:34:"wp-e-commerce/wp-shopping-cart.php";i:10;s:53:"wp-ecommerce-cvs-importer/wp-ecommerce-cvs-import.php";}', 'no'), +(124, 0, 'recently_activated', 'a:11:{s:35:"fancybox-for-wordpress/fancybox.php";i:1309882068;s:46:"pirobox-extended-for-wp-v10/pirobox_ext_wp.php";i:1309863433;s:56:"jquery-vertical-accordion-menu/dcwp_jquery_accordion.php";i:1309861386;s:37:"shadowbox-js/shadowbox-title-push.php";i:1309861296;s:29:"shadowbox-js/shadowbox-js.php";i:1309861292;s:34:"wp-e-commerce/wp-shopping-cart.php";i:1309856846;s:21:"catablog/catablog.php";i:1309804351;s:53:"wp-ecommerce-cvs-importer/wp-ecommerce-cvs-import.php";i:1309804065;s:31:"youtube-media/youtube-media.php";i:1309788594;s:47:"youtube-simplegallery/youtube_simplegallery.php";i:1309788204;s:43:"custom-post-background/custom-post-back.php";i:1309781286;}', 'yes'), (125, 0, '_transient_timeout_feed_ac0b00fe65abe10e0c5b588f3ed8c7ca', '1309317174', 'no'); INSERT INTO `wp_options` (`option_id`, `blog_id`, `option_name`, `option_value`, `autoload`) VALUES (126, 0, '_transient_feed_ac0b00fe65abe10e0c5b588f3ed8c7ca', 'a:4:{s:5:"child";a:1:{s:0:"";a:1:{s:3:"rss";a:1:{i:0;a:6:{s:4:"data";s:3:"\n\n\n";s:7:"attribs";a:1:{s:0:"";a:1:{s:7:"version";s:3:"2.0";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:1:{s:0:"";a:1:{s:7:"channel";a:1:{i:0;a:6:{s:4:"data";s:50:"\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:3:{s:0:"";a:7:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:14:"WordPress News";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:25:"http://wordpress.org/news";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:14:"WordPress News";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:13:"lastBuildDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Fri, 24 Jun 2011 23:15:22 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"language";a:1:{i:0;a:5:{s:4:"data";s:2:"en";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:9:"generator";a:1:{i:0;a:5:{s:4:"data";s:37:"http://wordpress.org/?v=3.2-RC2-18357";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"item";a:10:{i:0;a:6:{s:4:"data";s:41:"\n \n \n \n \n \n \n\n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:5:{s:0:"";a:7:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:33:"WordPress 3.2 Release Candidate 2";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:68:"http://wordpress.org/news/2011/06/wordpress-3-2-release-candidate-2/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"comments";a:1:{i:0;a:5:{s:4:"data";s:77:"http://wordpress.org/news/2011/06/wordpress-3-2-release-candidate-2/#comments";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Fri, 24 Jun 2011 23:15:22 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"category";a:1:{i:0;a:5:{s:4:"data";s:7:"Testing";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:33:"http://wordpress.org/news/?p=1915";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:358:"Howdy! The second release candidate for WordPress 3.2 is now available. If you haven’t tested WordPress 3.2 yet, now is the time — please though, not on your live site unless you’re extra adventurous. We’ve handled a number of issues since RC1, including additional Twenty Eleven tweaks, a new theme support option for defaulting to [...]";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:12:"Andrew Nacin";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:40:"http://purl.org/rss/1.0/modules/content/";a:1:{s:7:"encoded";a:1:{i:0;a:5:{s:4:"data";s:1876:"

Howdy! The second release candidate for WordPress 3.2 is now available. If you haven’t tested WordPress 3.2 yet, now is the time — please though, not on your live site unless you’re extra adventurous.

\n

We’ve handled a number of issues since RC1, including additional Twenty Eleven tweaks, a new theme support option for defaulting to randomized headers, and various RTL fixes.

\n

Plugin and theme authors, please test your plugins and themes now, so that if there is a compatibility issue, we can figure it out before the final release. Users are also encouraged to test things out. If you find problems, let your plugin/theme authors know so they can figure out the cause. If you are testing the release candidate and think you’ve found a bug, there are a few ways to let us know:

\n\n

To test WordPress 3.2, try the WordPress Beta Tester plugin (you’ll want “bleeding edge nightlies”). Or you can download the release candidate here (zip).

\n

If any known issues crop up, you’ll be able to find them here. If you’d like to know which levers to pull in your testing, check out a list of features in our Beta 1 post.

\n";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:36:"http://wellformedweb.org/CommentAPI/";a:1:{s:10:"commentRss";a:1:{i:0;a:5:{s:4:"data";s:73:"http://wordpress.org/news/2011/06/wordpress-3-2-release-candidate-2/feed/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:38:"http://purl.org/rss/1.0/modules/slash/";a:1:{s:8:"comments";a:1:{i:0;a:5:{s:4:"data";s:1:"0";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:1;a:6:{s:4:"data";s:41:"\n \n \n \n \n \n \n\n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:5:{s:0:"";a:7:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:15:"Passwords Reset";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:50:"http://wordpress.org/news/2011/06/passwords-reset/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"comments";a:1:{i:0;a:5:{s:4:"data";s:59:"http://wordpress.org/news/2011/06/passwords-reset/#comments";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Tue, 21 Jun 2011 23:57:42 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"category";a:1:{i:0;a:5:{s:4:"data";s:8:"Security";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:33:"http://wordpress.org/news/?p=1908";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:376:"Earlier today the WordPress team noticed suspicious commits to several popular plugins (AddThis, WPtouch, and W3 Total Cache) containing cleverly disguised backdoors. We determined the commits were not from the authors, rolled them back, pushed updates to the plugins, and shut down access to the plugin repository while we looked for anything else unsavory. We’re [...]";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:14:"Matt Mullenweg";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:40:"http://purl.org/rss/1.0/modules/content/";a:1:{s:7:"encoded";a:1:{i:0;a:5:{s:4:"data";s:1290:"

Earlier today the WordPress team noticed suspicious commits to several popular plugins (AddThis, WPtouch, and W3 Total Cache) containing cleverly disguised backdoors. We determined the commits were not from the authors, rolled them back, pushed updates to the plugins, and shut down access to the plugin repository while we looked for anything else unsavory.

\n

We’re still investigating what happened, but as a prophylactic measure we’ve decided to force-reset all passwords on WordPress.org. To use the forums, trac, or commit to a plugin or theme, you’ll need to reset your password to a new one. (Same for bbPress.org and BuddyPress.org.)

\n

As a user, make sure to never use the same password for two different services, and we encourage you not to reset your password to be the same as your old one.

\n

Second, if you use AddThis, WPtouch, or W3 Total Cache and there’s a possibility you could have updated in the past day, make sure to visit your updates page and upgrade each to the latest version.

\n";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:36:"http://wellformedweb.org/CommentAPI/";a:1:{s:10:"commentRss";a:1:{i:0;a:5:{s:4:"data";s:55:"http://wordpress.org/news/2011/06/passwords-reset/feed/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:38:"http://purl.org/rss/1.0/modules/slash/";a:1:{s:8:"comments";a:1:{i:0;a:5:{s:4:"data";s:1:"0";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:2;a:6:{s:4:"data";s:47:"\n \n \n \n \n \n \n \n \n\n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:5:{s:0:"";a:7:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:31:"WordPress 3.2 Release Candidate";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:66:"http://wordpress.org/news/2011/06/wordpress-3-2-release-candidate/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"comments";a:1:{i:0;a:5:{s:4:"data";s:75:"http://wordpress.org/news/2011/06/wordpress-3-2-release-candidate/#comments";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Tue, 14 Jun 2011 04:28:39 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"category";a:3:{i:0;a:5:{s:4:"data";s:11:"Development";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}i:1;a:5:{s:4:"data";s:8:"Releases";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}i:2;a:5:{s:4:"data";s:7:"Testing";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:33:"http://wordpress.org/news/?p=1890";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:341:"The first release candidate (RC1) for WordPress 3.2 is now available. An RC comes after the beta period and before final release. We think we’re done, but with tens of millions of users, a variety of configurations, and thousands of plugins, it’s possible we’ve missed something. So if you haven’t tested WordPress 3.2 yet, now [...]";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:12:"Andrew Nacin";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:40:"http://purl.org/rss/1.0/modules/content/";a:1:{s:7:"encoded";a:1:{i:0;a:5:{s:4:"data";s:2297:"

The first release candidate (RC1) for WordPress 3.2 is now available.

\n

An RC comes after the beta period and before final release. We think we’re done, but with tens of millions of users, a variety of configurations, and thousands of plugins, it’s possible we’ve missed something. So if you haven’t tested WordPress 3.2 yet, now is the time! Please though, not on your live site unless you’re extra adventurous.

\n

Things to keep in mind:

\n\n

If you are testing the release candidate and think you’ve found a bug, there are a few ways to let us know:

\n\n

To test WordPress 3.2, try the WordPress Beta Tester plugin (you’ll want “bleeding edge nightlies”). Or you can download the release candidate here (zip).

\n

Happy testing!

\n

If you’d like to know which levers to pull in your testing, check out a list of features in our Beta 1 post.

\n";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:36:"http://wellformedweb.org/CommentAPI/";a:1:{s:10:"commentRss";a:1:{i:0;a:5:{s:4:"data";s:71:"http://wordpress.org/news/2011/06/wordpress-3-2-release-candidate/feed/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:38:"http://purl.org/rss/1.0/modules/slash/";a:1:{s:8:"comments";a:1:{i:0;a:5:{s:4:"data";s:1:"0";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:3;a:6:{s:4:"data";s:47:"\n \n \n \n \n \n \n \n \n\n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:5:{s:0:"";a:7:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:40:"WordCamp San Francisco Call for Speakers";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:75:"http://wordpress.org/news/2011/05/wordcamp-san-francisco-call-for-speakers/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"comments";a:1:{i:0;a:5:{s:4:"data";s:84:"http://wordpress.org/news/2011/05/wordcamp-san-francisco-call-for-speakers/#comments";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Tue, 31 May 2011 18:59:48 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"category";a:3:{i:0;a:5:{s:4:"data";s:9:"Community";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}i:1;a:5:{s:4:"data";s:8:"WordCamp";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}i:2;a:5:{s:4:"data";s:4:"wcsf";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:33:"http://wordpress.org/news/?p=1886";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:425:"The annual WordPress conference, WordCamp San Francisco (home of the very first WordCamp), is now accepting speaker applications. Past speakers have included core WordPress developers, people building successful businesses on WordPress, popular bloggers, people from related projects and businesses…you name it. In addition to Matt Mullenweg’s annual “State of the Word” address, WCSF has played [...]";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:10:"Jane Wells";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:40:"http://purl.org/rss/1.0/modules/content/";a:1:{s:7:"encoded";a:1:{i:0;a:5:{s:4:"data";s:905:"

The annual WordPress conference, WordCamp San Francisco (home of the very first WordCamp), is now accepting speaker applications. Past speakers have included core WordPress developers, people building successful businesses on WordPress, popular bloggers, people from related projects and businesses…you name it. In addition to Matt Mullenweg’s annual “State of the Word” address, WCSF has played host to talks by people like Mark Jaquith, Matt Cutts, Richard Stallman, Scott Berkun, Karl Fogel, Tim Ferriss, Tara Hunt, Chris Pirillo, and John Lilly. With 3 days of content this year instead of just one, the list of speakers should be even more impressive. If you think you’d make a good addition to this year’s roster, check out the WCSF Call for Speakers.

\n";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:36:"http://wellformedweb.org/CommentAPI/";a:1:{s:10:"commentRss";a:1:{i:0;a:5:{s:4:"data";s:80:"http://wordpress.org/news/2011/05/wordcamp-san-francisco-call-for-speakers/feed/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:38:"http://purl.org/rss/1.0/modules/slash/";a:1:{s:8:"comments";a:1:{i:0;a:5:{s:4:"data";s:1:"0";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:4;a:6:{s:4:"data";s:47:"\n \n \n \n \n \n \n \n \n\n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:5:{s:0:"";a:7:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:42:"WordPress 3.1.3 (and WordPress 3.2 Beta 2)";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:50:"http://wordpress.org/news/2011/05/wordpress-3-1-3/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"comments";a:1:{i:0;a:5:{s:4:"data";s:59:"http://wordpress.org/news/2011/05/wordpress-3-1-3/#comments";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Wed, 25 May 2011 18:43:28 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"category";a:3:{i:0;a:5:{s:4:"data";s:11:"Development";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}i:1;a:5:{s:4:"data";s:8:"Releases";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}i:2;a:5:{s:4:"data";s:8:"Security";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:33:"http://wordpress.org/news/?p=1838";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:408:"WordPress 3.1.3 is available now and is a security update for all previous versions. It contains the following security fixes and enhancements: Various security hardening by Alexander Concha. Taxonomy query hardening by John Lamansky. Prevent sniffing out user names of non-authors by using canonical redirects. Props Verónica Valeros. Media security fixes by Richard Lundeen of Microsoft, Jesse Ou [...]";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:12:"Mark Jaquith";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:40:"http://purl.org/rss/1.0/modules/content/";a:1:{s:7:"encoded";a:1:{i:0;a:5:{s:4:"data";s:3497:"

WordPress 3.1.3 is available now and is a security update for all previous versions. It contains the following security fixes and enhancements:

\n\n

Consult the change log for more details.

\n

Download WordPress 3.1.3 or update automatically from the Dashboard → Updates menu in your site’s admin area.

\n
\n

WordPress 3.2 Beta 2 also available

\n

In other news, our development of WordPress 3.2 development continues right on schedule. We released Beta 1 thirteen days ago, and today we’re putting out Beta 2 for your testing pleasure.

\n

This is still beta software, so we don’t recommend that you use it on production sites. But if you’re a plugin developer, a theme developer, or a site administrator, you should be running this on your test environments and reporting any bugs you find. If you’re a WordPress user who wants to open your presents early, take advantage of WordPress’ famous 5-minute install and spin up a secondary test site. Let us know what you think!

\n

The plan is to start putting out release candidates in early June, and to release WordPress 3.2 by the end of the month. The more you help us iron out issues during the beta period, the more likely we are to hit those dates. To misappropriate and mangle a quote from Mahatma Gandhi: “Be the punctuality you want to see in the WordPress.” In other words, test now!

\n

Here are some of the things that changed since Beta 1:

\n\n

Download WordPress 3.2 Beta 2

\n";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:36:"http://wellformedweb.org/CommentAPI/";a:1:{s:10:"commentRss";a:1:{i:0;a:5:{s:4:"data";s:55:"http://wordpress.org/news/2011/05/wordpress-3-1-3/feed/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:38:"http://purl.org/rss/1.0/modules/slash/";a:1:{s:8:"comments";a:1:{i:0;a:5:{s:4:"data";s:1:"0";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:5;a:6:{s:4:"data";s:41:"\n \n \n \n \n \n \n\n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:5:{s:0:"";a:7:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:21:"WordPress 3.2, Beta 1";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:55:"http://wordpress.org/news/2011/05/wordpress-3-2-beta-1/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"comments";a:1:{i:0;a:5:{s:4:"data";s:64:"http://wordpress.org/news/2011/05/wordpress-3-2-beta-1/#comments";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Thu, 12 May 2011 08:22:26 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"category";a:1:{i:0;a:5:{s:4:"data";s:8:"Releases";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:33:"http://wordpress.org/news/?p=1816";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:351:"It seems like just yesterday that we released WordPress 3.1, but it’s actually been almost three months. We’ve spent that time putting together a new release focused on performance improvements, and are ready for our first beta testers! As always, this is software still in development and we don’t recommend that you run it on [...]";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:10:"Jane Wells";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:40:"http://purl.org/rss/1.0/modules/content/";a:1:{s:7:"encoded";a:1:{i:0;a:5:{s:4:"data";s:4230:"

It seems like just yesterday that we released WordPress 3.1, but it’s actually been almost three months. We’ve spent that time putting together a new release focused on performance improvements, and are ready for our first beta testers!

\n

As always, this is software still in development and we don’t recommend that you run it on a production site — set up a test site just to play with the new version. If you break it (find a bug), please report it, and if you’re a developer, try to help us fix it.

\n

If all goes well, we hope to release WordPress 3.2 by the end of June, though that is (again, as always) subject to change depending on how the beta period goes. The more help we get with testing and fixing bugs, the sooner we will be able to release the final version. If you want to be a beta tester, you should check out the Codex article on how to report bugs.

\n

Here’s some of what’s new:

\n\n
\n
Be Aware:
\n
\n\n
\n
\n
Known Issues:
\n
\n\n
\n

Remember, if you find something you think is a bug, report it! You can bring it up in the alpha/beta forum, you can email it to the wp-testers list, or if you’ve confirmed that other people are experiencing the same bug, you can report it on the WordPress Core Trac. (I recommend starting in the forum or on the mailing list.)

\n

Theme and plugin authors, if you haven’t been following the 3.2 development cycle, please start now so that you can update your themes and plugins to be compatible with the newest version of WordPress.

\n

Note to developers: WordPress is built by the contributions of hundreds of developers. If you’d like to see this release come out on time, I encourage you to pitch in. Even if you don’t have time to do testing on the beta version, you could help us by contributing a fix for one of the many bugs we already know about.

\n

Download WordPress 3.2 Beta 1

\n";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:36:"http://wellformedweb.org/CommentAPI/";a:1:{s:10:"commentRss";a:1:{i:0;a:5:{s:4:"data";s:60:"http://wordpress.org/news/2011/05/wordpress-3-2-beta-1/feed/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:38:"http://purl.org/rss/1.0/modules/slash/";a:1:{s:8:"comments";a:1:{i:0;a:5:{s:4:"data";s:1:"0";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:6;a:6:{s:4:"data";s:44:"\n \n \n \n \n \n \n \n\n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:5:{s:0:"";a:7:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:15:"WordPress 3.1.2";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:50:"http://wordpress.org/news/2011/04/wordpress-3-1-2/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"comments";a:1:{i:0;a:5:{s:4:"data";s:59:"http://wordpress.org/news/2011/04/wordpress-3-1-2/#comments";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Tue, 26 Apr 2011 19:00:06 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"category";a:2:{i:0;a:5:{s:4:"data";s:8:"Releases";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}i:1;a:5:{s:4:"data";s:8:"Security";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:33:"http://wordpress.org/news/?p=1801";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:376:"WordPress 3.1.2 is now available and is a security release for all previous WordPress versions. This release addresses a vulnerability that allowed Contributor-level users to improperly publish posts. The issue was discovered by a member of our security team, WordPress developer Andrew Nacin, with Benjamin Balter. We suggest you update to 3.1.2 promptly, especially if [...]";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:10:"Ryan Boren";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:40:"http://purl.org/rss/1.0/modules/content/";a:1:{s:7:"encoded";a:1:{i:0;a:5:{s:4:"data";s:980:"

WordPress 3.1.2 is now available and is a security release for all previous WordPress versions.

\n

This release addresses a vulnerability that allowed Contributor-level users to improperly publish posts.

\n

The issue was discovered by a member of our security team, WordPress developer Andrew Nacin, with Benjamin Balter.

\n

We suggest you update to 3.1.2 promptly, especially if you allow users to register as contributors or if you have untrusted users. This release also fixes a few bugs that missed the boat for version 3.1.1.

\n

Download 3.1.2 or update automatically from the Dashboard → Updates menu in your site’s admin area.

\n";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:36:"http://wellformedweb.org/CommentAPI/";a:1:{s:10:"commentRss";a:1:{i:0;a:5:{s:4:"data";s:55:"http://wordpress.org/news/2011/04/wordpress-3-1-2/feed/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:38:"http://purl.org/rss/1.0/modules/slash/";a:1:{s:8:"comments";a:1:{i:0;a:5:{s:4:"data";s:1:"0";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:7;a:6:{s:4:"data";s:44:"\n \n \n \n \n \n \n \n\n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:5:{s:0:"";a:7:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:21:"Summer WordCamps 2011";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:55:"http://wordpress.org/news/2011/04/summer-wordcamps-201/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"comments";a:1:{i:0;a:5:{s:4:"data";s:64:"http://wordpress.org/news/2011/04/summer-wordcamps-201/#comments";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Sat, 16 Apr 2011 23:06:55 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"category";a:2:{i:0;a:5:{s:4:"data";s:9:"Community";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}i:1;a:5:{s:4:"data";s:6:"Events";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:33:"http://wordpress.org/news/?p=1785";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:379:"Looking for something fun to do during your summer vacation? Why not check out a WordCamp! WordCamps are locally-organized casual conferences of, by, and for WordPress users, developers, and enthusiasts just like you. The focus of a WordCamp is to foster face-to-face connections and collaboration among the local WordPress crowd, but there are usually some out-of-towners [...]";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:10:"Jane Wells";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:40:"http://purl.org/rss/1.0/modules/content/";a:1:{s:7:"encoded";a:1:{i:0;a:5:{s:4:"data";s:6113:"

Looking for something fun to do during your summer vacation? Why not check out a WordCamp! WordCamps are locally-organized casual conferences of, by, and for WordPress users, developers, and enthusiasts just like you. The focus of a WordCamp is to foster face-to-face connections and collaboration among the local WordPress crowd, but there are usually some out-of-towners there as well. Here are the WordCamps that have been approved so far for the summer:

\n

April 16: WordCamp Seattle in Seattle, WA. This weekend! After taking a year off, WordCamp Seattle is back with tracks for bloggers, designers, and developers. This year they’ll feature a lineup including presentations by both local speakers and visitors like core committer Andrew Nacin, as well as an Ignite session of lightning talks at the end of the day.

\n

May 5: WordCamp Vancouver (Developer Edition) in Vancouver, BC. This one-day WordCamp is aimed purely at developers working on the WordPress platform, and will not have content aimed at bloggers (as previous Vancouver WordCamps have). I predict we will start seeing more of these types of niche WordCamps moving forward, because they will mean smaller, more intimate events that allow more collaboration (and make it easier to find venues!). Note that we’re working with the organizers to get the tickets to a more reasonable price, so keep your eyes open this week if you’ve held off on buying a ticket because of the price tag.

\n

May 7: WordCamp Switzerland in Brugg, Switzerland. This one will cover a wide range of topics, including getting started with WordPress, advanced development topics, BuddyPress, and an inside look at running a WordPress-based business.

\n

May 14: WordCamp Orange County in Orange, CA. Already sold out! Orange County had their first WordCamp last year, and the organizers have put together another great event this time around.

\n

May 14: WordCamp Paris in Paris, France. One of the last true unconference-style WordCamps, the Paris group will plan their schedule the morning of the event like they do at BarCamps. WordCamp Paris had one of the best WordCamp t-shirts ever a couple of years ago. And it’s in Paris in the spring.

\n

May 21–22: WordCamp Raleigh in Raleigh, NC. Repeat organizers from the Raleigh WordPress Meetup Group are just starting to select speakers and put together their plans, but if it is anything like last year, the venue will be packed with WordPress professionals (and maybe there will be cookies). I’ll be attending this one, as will Nacin.

\n

June 4–5: WordCamp Reno-Lake Tahoe in Reno, NV. Organized by a WordPress core UI group contributor, WordCamp Reno-Lake Tahoe is taking place in Reno and has a packed schedule full of visiting experts.

\n

June 11–12: WordCamp Kansas City in Overland Park, KS. With publisher, designer, and developer tracks, Kansas City’s WordCamp will have a little something for everyone, presented in large part by local speakers.

\n

June 17–19: WordCamp Columbus in Columbus, OH. WordCamp Columbus has a new organizer this year and is bringing the focus more firmly onto WordPress (and less on social media). Their 3-day event includes an entire day for newbies, and another for non-profits, a nice addition to the usual blogger/developer tracks.

\n

July 9–10: WordCamp Montreal in Montreal, Quebec. This group consistently puts on a great every year. If you register now, you can still get a $10 discount and get both days for only $30 (with sessions in both English and French to reflect the bilingual nature of the city). Montreal plays host to a number of festivals throughout the year, and this weekend is no different, including festivals for the arts, comedy, tango, and even circus arts.

\n

July 16: WordCamp San Diego in San Diego, CA. First WordCamp in San Diego! They have talking about this for over a year, and are now starting to really ramp up the planning. They’re finalizing their venue right now, and I would expect a great roster of speakers.

\n

July 16-17: WordCamp Portsmouth in Portsmouth, UK. The annual WordCamp UK that moves from city to city each year alights this year in Portsmouth. This one is notable because Mike Little, co-founder of WordPress, is part of the organizing team.

\n

July 23–24: WordCamp Boston in Boston, MA. Another one just about to lock down some details and get starting with speaker selection, etc. An easy train ride from so many places, and not in the middle of winter this year!

\n

July 30-31: WordCamp Chicago has new organizers and is a new venue this year. A call for speakers, supporters, and volunteers will likely be posted sometime next week.

\n

WordCamp Portland is looking for a venue before deciding on a date this year, as it has outgrown the space it’s used the past two years, but hopes to happen in September. If you would be interested in donating a venue to this popular event, please contact them.

\n

We’ll hold off on posting fall events until later in the summer since there a lot in the planning stages now. To get the most up-to-date information, visit WordCamp Central.

\n

Hope to see you at a WordCamp soon!

\n";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:36:"http://wellformedweb.org/CommentAPI/";a:1:{s:10:"commentRss";a:1:{i:0;a:5:{s:4:"data";s:60:"http://wordpress.org/news/2011/04/summer-wordcamps-201/feed/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:38:"http://purl.org/rss/1.0/modules/slash/";a:1:{s:8:"comments";a:1:{i:0;a:5:{s:4:"data";s:1:"0";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:8;a:6:{s:4:"data";s:44:"\n \n \n \n \n \n \n \n\n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:5:{s:0:"";a:7:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:15:"WordPress 3.1.1";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:50:"http://wordpress.org/news/2011/04/wordpress-3-1-1/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"comments";a:1:{i:0;a:5:{s:4:"data";s:59:"http://wordpress.org/news/2011/04/wordpress-3-1-1/#comments";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Tue, 05 Apr 2011 15:10:11 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"category";a:2:{i:0;a:5:{s:4:"data";s:8:"Releases";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}i:1;a:5:{s:4:"data";s:8:"Security";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:33:"http://wordpress.org/news/?p=1762";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:397:"WordPress 3.1.1 is now available. This maintenance and security release fixes almost thirty issues in 3.1, including: Some security hardening to media uploads Performance improvements Fixes for IIS6 support Fixes for taxonomy and PATHINFO (/index.php/) permalinks Fixes for various query and taxonomy edge cases that caused some plugin compatibility issues Version 3.1.1 also addresses three [...]";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:10:"Ryan Boren";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:40:"http://purl.org/rss/1.0/modules/content/";a:1:{s:7:"encoded";a:1:{i:0;a:5:{s:4:"data";s:1395:"

WordPress 3.1.1 is now available. This maintenance and security release fixes almost thirty issues in 3.1, including:

\n\n

Version 3.1.1 also addresses three security issues discovered by WordPress core developers Jon Cave and Peter Westwood, of our security team. The first hardens CSRF prevention in the media uploader. The second avoids a PHP crash in certain environments when handling devilishly devised links in comments, and the third addresses an XSS flaw.

\n

We suggest you update to 3.1.1 promptly. Download 3.1.1 or update automatically from the Dashboard → Updates menu in your site’s admin area.

\n

Our release haiku:

\n

Only the geeks know
\nWhat half this stuff even means
\nDon’t worry — update

\n";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:36:"http://wellformedweb.org/CommentAPI/";a:1:{s:10:"commentRss";a:1:{i:0;a:5:{s:4:"data";s:55:"http://wordpress.org/news/2011/04/wordpress-3-1-1/feed/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:38:"http://purl.org/rss/1.0/modules/slash/";a:1:{s:8:"comments";a:1:{i:0;a:5:{s:4:"data";s:1:"0";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:9;a:6:{s:4:"data";s:47:"\n \n \n \n \n \n \n \n \n\n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:5:{s:0:"";a:7:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:29:"WordPress Summer of Code 2011";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:64:"http://wordpress.org/news/2011/03/wordpress-summer-of-code-2011/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"comments";a:1:{i:0;a:5:{s:4:"data";s:73:"http://wordpress.org/news/2011/03/wordpress-summer-of-code-2011/#comments";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Wed, 30 Mar 2011 15:57:54 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"category";a:3:{i:0;a:5:{s:4:"data";s:9:"Community";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}i:1;a:5:{s:4:"data";s:11:"Development";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}i:2;a:5:{s:4:"data";s:4:"GSoC";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:33:"http://wordpress.org/news/?p=1756";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:361:"For the past several years, WordPress has been a proud participant in the Google Summer of Code program (aka GSoC). We’ve been accepted as a mentoring organization again this year, and are looking forward to working with a select handful of talented college students who are interested in developing for WordPress. Student applications are currently [...]";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:10:"Jane Wells";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:40:"http://purl.org/rss/1.0/modules/content/";a:1:{s:7:"encoded";a:1:{i:0;a:5:{s:4:"data";s:2993:"

For the past several years, WordPress has been a proud participant in the Google Summer of Code program (aka GSoC). We’ve been accepted as a mentoring organization again this year, and are looking forward to working with a select handful of talented college students who are interested in developing for WordPress. Student applications are currently being accepted, and the deadline to apply is April 8. Are you a college student/developer looking for a summer challenge (or do you know one)? If so, read on to find out how you (or your friend) can make $5,000 developing for WordPress this summer. (Best. Summer. Job. Ever.)

\n

GSoC Logistics:

\n\n

WordPress logistics:

\n\n

If you’re a college student/developer, we encourage you to apply. If you’re a professor or a teacher of graduating high school seniors, encourage your students! If you just want to help us spread the word, download the WordPress GSoC flyer and post it on campus bulletin boards in your town. Remember, April 8 is the deadline to apply!

\n";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:36:"http://wellformedweb.org/CommentAPI/";a:1:{s:10:"commentRss";a:1:{i:0;a:5:{s:4:"data";s:69:"http://wordpress.org/news/2011/03/wordpress-summer-of-code-2011/feed/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:38:"http://purl.org/rss/1.0/modules/slash/";a:1:{s:8:"comments";a:1:{i:0;a:5:{s:4:"data";s:1:"0";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}}}s:27:"http://www.w3.org/2005/Atom";a:1:{s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:0:"";s:7:"attribs";a:1:{s:0:"";a:3:{s:4:"href";s:31:"http://wordpress.org/news/feed/";s:3:"rel";s:4:"self";s:4:"type";s:19:"application/rss+xml";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:44:"http://purl.org/rss/1.0/modules/syndication/";a:2:{s:12:"updatePeriod";a:1:{i:0;a:5:{s:4:"data";s:6:"hourly";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:15:"updateFrequency";a:1:{i:0;a:5:{s:4:"data";s:1:"1";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}}}}}}}}s:4:"type";i:128;s:7:"headers";a:8:{s:6:"server";s:5:"nginx";s:4:"date";s:29:"Tue, 28 Jun 2011 15:12:55 GMT";s:12:"content-type";s:23:"text/xml; charset=UTF-8";s:10:"connection";s:5:"close";s:4:"vary";s:15:"Accept-Encoding";s:10:"x-pingback";s:36:"http://wordpress.org/news/xmlrpc.php";s:13:"last-modified";s:29:"Fri, 24 Jun 2011 23:15:22 GMT";s:4:"x-nc";s:11:"HIT luv 139";}s:5:"build";s:14:"20090627192103";}', 'no'); @@ -311,8 +312,11 @@ INSERT INTO `wp_options` (`option_id`, `blog_id`, `option_name`, `option_value`, (138, 0, '_transient_feed_57bc725ad6568758915363af670fd8bc', 'a:4:{s:5:"child";a:1:{s:0:"";a:1:{s:3:"rss";a:1:{i:0;a:6:{s:4:"data";s:3:"\n \n";s:7:"attribs";a:1:{s:0:"";a:1:{s:7:"version";s:3:"2.0";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:1:{s:0:"";a:1:{s:7:"channel";a:1:{i:0;a:6:{s:4:"data";s:72:"\n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:7:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:33:"WordPress Plugins » View: Newest";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:47:"http://wordpress.org/extend/plugins/browse/new/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:33:"WordPress Plugins » View: Newest";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"language";a:1:{i:0;a:5:{s:4:"data";s:5:"en-US";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Tue, 28 Jun 2011 15:05:28 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:9:"generator";a:1:{i:0;a:5:{s:4:"data";s:36:"http://bbpress.org/?v=1.1-alpha-2855";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"item";a:15:{i:0;a:6:{s:4:"data";s:30:"\n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:5:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:37:"wokamoto on "Feed Template Customize"";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:71:"http://wordpress.org/extend/plugins/feed-template-customize/#post-27843";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Tue, 28 Jun 2011 05:26:27 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:42:"27843@http://wordpress.org/extend/plugins/";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:58:"This plugin modifies RSS feeds and ATOM feeds as you want.";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:8:"wokamoto";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:1;a:6:{s:4:"data";s:30:"\n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:5:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:50:"gopiplus on "Image vertical reel scroll slideshow"";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:84:"http://wordpress.org/extend/plugins/image-vertical-reel-scroll-slideshow/#post-27803";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Sun, 26 Jun 2011 12:35:43 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:42:"27803@http://wordpress.org/extend/plugins/";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:146:"Image vertical reel scroll slideshow wordpress plugin will create the vertical scroll slideshow on the website. It create the slideshow like reel.";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:8:"gopiplus";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:2;a:6:{s:4:"data";s:30:"\n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:5:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:40:"DaoByDesign on "Contact Form 7 Honeypot"";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:71:"http://wordpress.org/extend/plugins/contact-form-7-honeypot/#post-27817";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Mon, 27 Jun 2011 03:15:47 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:42:"27817@http://wordpress.org/extend/plugins/";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:69:"Contact Form 7 - Adds honeypot functionality to Contact Form 7 forms.";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:11:"DaoByDesign";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:3;a:6:{s:4:"data";s:30:"\n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:5:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:48:"Ciprian Turcu on "Custom Scheduled Posts Widget"";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:77:"http://wordpress.org/extend/plugins/custom-scheduled-posts-widget/#post-27828";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Mon, 27 Jun 2011 13:18:47 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:42:"27828@http://wordpress.org/extend/plugins/";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:127:"Custom skeduled Posts. This widget gives you the ability to show skeduled posts for start and end times on the widget content.";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:13:"Ciprian Turcu";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:4;a:6:{s:4:"data";s:30:"\n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:5:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:29:"FanQuake on "Handy Functions"";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:63:"http://wordpress.org/extend/plugins/handy-functions/#post-27827";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Mon, 27 Jun 2011 12:04:39 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:42:"27827@http://wordpress.org/extend/plugins/";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:133:"Handy Functions allows you to add and use the functions that you would normally add to your functions.php, in your WordPress backend.";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:8:"FanQuake";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:5;a:6:{s:4:"data";s:30:"\n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:5:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:14:"soso on "SMTP"";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:52:"http://wordpress.org/extend/plugins/smtp/#post-27657";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Tue, 21 Jun 2011 18:31:57 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:42:"27657@http://wordpress.org/extend/plugins/";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:81:"Allows you to configure and use a SMTP server (such as Gmail) for sending emails.";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:4:"soso";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:6;a:6:{s:4:"data";s:30:"\n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:5:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:29:"Magic Toolbox on "Magic Zoom"";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:72:"http://wordpress.org/extend/plugins/magic-zoom-for-wordpress/#post-27709";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Thu, 23 Jun 2011 16:14:17 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:42:"27709@http://wordpress.org/extend/plugins/";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:105:"Magic Zoom will zoom into your images to reveal beautiful detail. Simply hover your mouse over the image.";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:13:"Magic Toolbox";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:7;a:6:{s:4:"data";s:30:"\n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:5:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:23:"Hax on "File Un-Attach"";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:62:"http://wordpress.org/extend/plugins/file-un-attach/#post-27597";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Sat, 18 Jun 2011 23:24:16 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:42:"27597@http://wordpress.org/extend/plugins/";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:118:"This plugin will allow you to attach a single file to multiple posts, but will also will allow you to detach any file.";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:3:"Hax";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:8;a:6:{s:4:"data";s:30:"\n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:5:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:23:"brent_ono on "Lavalinx"";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:56:"http://wordpress.org/extend/plugins/lavalinx/#post-27480";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Tue, 14 Jun 2011 21:37:29 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:42:"27480@http://wordpress.org/extend/plugins/";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:59:"SEO link building tool for dynamic, contextual link trades.";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:9:"brent_ono";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:9;a:6:{s:4:"data";s:30:"\n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:5:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:42:"jumpple on "Jumpple - Your website keeper"";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:55:"http://wordpress.org/extend/plugins/jumpple/#post-27343";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Thu, 09 Jun 2011 15:34:32 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:42:"27343@http://wordpress.org/extend/plugins/";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:197:"Jumpple is your website protector - this plugin will notify you if something is wrong with your site. See also: http://www.jumpple.com | FAQ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:7:"jumpple";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:10;a:6:{s:4:"data";s:30:"\n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:5:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:30:"Shahnur Alam on "Quick Notice"";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:60:"http://wordpress.org/extend/plugins/quick-notice/#post-27596";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Sat, 18 Jun 2011 17:14:42 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:42:"27596@http://wordpress.org/extend/plugins/";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:66:"This plugin will help you to display a sticky message in your site";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:12:"Shahnur Alam";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:11;a:6:{s:4:"data";s:30:"\n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:5:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:45:"Mindvalley on "Mindvalley Comments Moderator"";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:76:"http://wordpress.org/extend/plugins/mindvalley-comment-moderator/#post-27743";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Fri, 24 Jun 2011 12:03:24 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:42:"27743@http://wordpress.org/extend/plugins/";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:76:"Create a custom role that enables only Comment Moderation actions and pages.";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:10:"Mindvalley";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:12;a:6:{s:4:"data";s:30:"\n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:5:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:51:"hyperdude on "Alan''s BBC Technolgy News RSS Widget"";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:77:"http://wordpress.org/extend/plugins/bbc-tech-news-rss-feed-widget/#post-27753";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Fri, 24 Jun 2011 19:42:04 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:42:"27753@http://wordpress.org/extend/plugins/";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:78:"This plug-in adds a very simple RSS feed from the BBC technology news section.";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:9:"hyperdude";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:13;a:6:{s:4:"data";s:30:"\n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:5:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:36:"themecrest1 on "Login With Facebook"";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:67:"http://wordpress.org/extend/plugins/facebook-with-login/#post-27590";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Sat, 18 Jun 2011 09:57:41 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:42:"27590@http://wordpress.org/extend/plugins/";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:59:"The simplest way to access site with Your Facebook Account.";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:11:"themecrest1";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:14;a:6:{s:4:"data";s:30:"\n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:5:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:33:"mucash on "MuCash Micro-payments"";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:69:"http://wordpress.org/extend/plugins/mucash-micro-payments/#post-27584";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Fri, 17 Jun 2011 19:59:38 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:42:"27584@http://wordpress.org/extend/plugins/";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:148:"MuCash is micro-payments made simple. With just a few clicks your readers can buy articles, make donations, and more... as small as a single penny!";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:6:"mucash";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}}}s:27:"http://www.w3.org/2005/Atom";a:1:{s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:0:"";s:7:"attribs";a:1:{s:0:"";a:3:{s:4:"href";s:48:"http://wordpress.org/extend/plugins/rss/view/new";s:3:"rel";s:4:"self";s:4:"type";s:19:"application/rss+xml";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}}}}}}}}s:4:"type";i:128;s:7:"headers";a:8:{s:6:"server";s:5:"nginx";s:4:"date";s:29:"Tue, 28 Jun 2011 15:12:57 GMT";s:12:"content-type";s:23:"text/xml; charset=UTF-8";s:10:"connection";s:5:"close";s:4:"vary";s:15:"Accept-Encoding";s:13:"last-modified";s:19:"2011-06-28 05:26:27";s:14:"content-length";s:4:"7868";s:4:"x-nc";s:11:"HIT luv 139";}s:5:"build";s:14:"20090627192103";}', 'no'), (139, 0, '_transient_timeout_feed_mod_57bc725ad6568758915363af670fd8bc', '1309317175', 'no'), (140, 0, '_transient_feed_mod_57bc725ad6568758915363af670fd8bc', '1309273975', 'no'), +(623, 0, '_transient_timeout_wpsc_path_wpsc-single_product.php', '1309847520', 'no'), +(624, 0, '_transient_wpsc_path_wpsc-single_product.php', 'D:\\Trabajo\\OriginalHouse\\trunk\\src\\wp-content\\plugins\\wp-e-commerce/wpsc-theme//wpsc-single_product.php', 'no'), (351, 0, 'category_children', 'a:0:{}', 'yes'), -(359, 0, '_transient_feed_mod_8fa202021a0c51f109142bc571ee925a', '1309778524', 'no'), +(653, 0, '_transient_timeout_feed_8fa202021a0c51f109142bc571ee925a', '1309898911', 'no'), +(654, 0, '_transient_feed_8fa202021a0c51f109142bc571ee925a', 'a:4:{s:5:"child";a:1:{s:0:"";a:1:{s:3:"rss";a:1:{i:0;a:6:{s:4:"data";s:4:"\n \n";s:7:"attribs";a:1:{s:0:"";a:1:{s:7:"version";s:3:"2.0";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:1:{s:0:"";a:1:{s:7:"channel";a:1:{i:0;a:6:{s:4:"data";s:83:"\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:4:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:57:"link:http://localhost/originalhouse/ - Google Blog Search";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:94:"http://www.google.com/search?ie=utf-8&q=link:http://localhost/originalhouse/&tbm=blg&tbs=sbd:1";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:96:"Results 1 - 10 of about 83 for link:http://localhost/originalhouse/.";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"item";a:10:{i:0;a:6:{s:4:"data";s:47:"\n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:3:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:77:"Mandriva Forum (en) • View topic - log in fails - home directory ...";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:60:"http://forum.mandriva.com/en/viewtopic.php?t=135223&p=847301";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:507:"[root@localhost home]# cat /etc/fstab # Entry for /dev/sda1 : UUID=81494177-1bee-4f6e-a709-681992215e63 / ext2 acl,noatime 1 1 # Entry for /dev/sda2 : UUID=40e99d98-ceea-41b0-9f72-83120658d99a /home ext2 acl,noatime 1 2 ... Thanks for the link, the thing is i couldnt find a Home/[username] directory, it wasnt there ... so i created one using mkdir and now everything seems to work but all my data is gone :-( . If i run the commands detailed on the link above, ...";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:3:{s:9:"publisher";a:1:{i:0;a:5:{s:4:"data";s:19:"Mandriva Forum (en)";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:7:"deanyit";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"date";a:1:{i:0;a:5:{s:4:"data";s:29:"Sat, 25 Jun 2011 18:16:49 GMT";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:1;a:6:{s:4:"data";s:47:"\n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:3:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:48:"Unix articles: Solaris IP Multipathing made easy";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:79:"http://unixarticles.blogspot.com/2011/06/solaris-ip-multipathing-made-easy.html";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:509:"The 2 floating addresses are the external ones. If one of the NICs detects link failure, the address tied to that NIC fails over to the working NIC. When the NIC comes back up, the address fails back to its original home. .... 127.0.0.1 localhost 192.168.10.10 REALNAME loghost 192.168.10.11 DUMMY1 192.168.10.12 DUMMY2 # What does this do? It sets up two dummy (private) IP addresses that are fixed to the interfaces. It sets up a failover group named production. ...";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:3:{s:9:"publisher";a:1:{i:0;a:5:{s:4:"data";s:13:"Unix articles";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:7:"Sivaram";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"date";a:1:{i:0;a:5:{s:4:"data";s:29:"Tue, 21 Jun 2011 11:52:00 GMT";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:2;a:6:{s:4:"data";s:47:"\n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:3:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:79:"MakeUseOf.com: “Latest Hilarious Picks [Geeky Fun]” plus 12 more ...";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:94:"http://free-download-book-pdf.blogspot.com/2011/05/makeuseofcom-latest-hilarious-picks_13.html";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:536:"Go to “http://localhost/” and you'll see a perfect mirror replica of your live website! Now you can tweak your theme, new ads, or otherwise play around with the local version of your website before you decide to move the changes to your live ... The link will prompt the package manager to install the package for you. You can also fire up the Synaptic Package Manager and type in compizconfig-settings-manager . You'll see it along with another package called “simple-ccsm“. ...";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:3:{s:9:"publisher";a:1:{i:0;a:5:{s:4:"data";s:14:"Download ebook";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:5:"ebook";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"date";a:1:{i:0;a:5:{s:4:"data";s:29:"Fri, 13 May 2011 14:22:00 GMT";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:3;a:6:{s:4:"data";s:47:"\n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:3:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:76:"FreakY TriKz: MakeUseOf.com: “Latest Hilarious Picks [Geeky Fun ...";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:84:"http://freaky-trikz.blogspot.com/2011/05/makeuseofcom-latest-hilarious-picks_13.html";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:536:"Go to “http://localhost/” and you'll see a perfect mirror replica of your live website! Now you can tweak your theme, new ads, or otherwise play around with the local version of your website before you decide to move the changes to your live ... The link will prompt the package manager to install the package for you. You can also fire up the Synaptic Package Manager and type in compizconfig-settings-manager . You'll see it along with another package called “simple-ccsm“. ...";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:3:{s:9:"publisher";a:1:{i:0;a:5:{s:4:"data";s:12:"freaky trikz";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:6:"RAPZAP";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"date";a:1:{i:0;a:5:{s:4:"data";s:29:"Fri, 13 May 2011 14:22:00 GMT";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:4;a:6:{s:4:"data";s:47:"\n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:3:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:24:"TVIDs with Music Jukebox";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:58:"http://www.networkedmediatank.com/showthread.php?tid=51003";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:576:"The link I am adding is http://localhost.drives:8883/USB_DRIVE_C-3/index.htm and specifying 'ALL' pages. The xml file is updated with. Code: <tvids> <RED>http://localhost.drives:8883/USB_DRIVE_C-3/index.htm</RED> </tvids> ... Edit2: Actually, if I just edit the index_main.htm file with my code, all of the other index pages and details pages have the original 'home' code which reverts back to the index_main.htm page... than with the updated index_main.htm page, ...";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:3:{s:9:"publisher";a:1:{i:0;a:5:{s:4:"data";s:33:"Networked Media Tank - All Forums";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:7:"unknown";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"date";a:1:{i:0;a:5:{s:4:"data";s:29:"Tue, 29 Mar 2011 19:34:09 GMT";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:5;a:6:{s:4:"data";s:47:"\n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:3:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:74:"WordPress Tutorial – How to Make a Static Page Your Home Page ...";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:143:"http://www.jeronone.com/blog/web-development/wordpress1/wordpress-tutorial-how-to-make-a-static-page-your-home-page-hide-double-home-page-link/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:520:"You can also create another page to use as your blog page, with a link to that page in your site navigation. Watch this tutorial to see how to do this. One problem you may run into when you make a static page your home page is that ... As a newbie, i couldn't understand why my original home page wasn't showing up under select page as home page pull-down. So i creates a home page – ending up with two. By setting second home page as a child page to Blog page, it vanished. ...";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:3:{s:9:"publisher";a:1:{i:0;a:5:{s:4:"data";s:12:"Jero and One";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:5:"admin";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"date";a:1:{i:0;a:5:{s:4:"data";s:29:"Sun, 26 Dec 2010 18:02:35 GMT";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:6;a:6:{s:4:"data";s:47:"\n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:3:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:66:"朝乾夕惕|SpunkMars++ » 【原创】RRDtool Cacti 安装总结";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:123:"http://www.spunkmars.org/2010/12/09/%E3%80%90%E5%8E%9F%E5%88%9B%E3%80%91rrdtool-cacti-%E5%AE%89%E8%A3%85%E6%80%BB%E7%BB%93/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:685:"这个软件,它老是就编译不出pangocairo.pc这个文件,最后还得老老实实去rrdtool官网下载它提供的第三方软件和库,地址如下:http://oss.oetiker.ch/rrdtool/pub/libs/ ,里面同个软件还有几个版本,都挑里面较新的装,因为毕竟装的是rrdtool-1.4.4版本。 其实只要熟悉了pkgconfig管理库 .... 因为在我的httpd.conf里设置的网站主目录是/data/htdocs/www ,所以Cacti的访问地址为:http://localhost/cacti. 设置Cacti: 浏览器里登录http://localhost/cacti. 默认用户名和密码都是admin. 第一次登录需强制更换新密码 ...";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:3:{s:9:"publisher";a:1:{i:0;a:5:{s:4:"data";s:24:"朝乾夕惕|SpunkMars++";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:5:"admin";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"date";a:1:{i:0;a:5:{s:4:"data";s:29:"Thu, 09 Dec 2010 01:11:53 GMT";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:7;a:6:{s:4:"data";s:47:"\n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:3:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:38:"virt-manager (only) will not X forward";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:120:"http://forums.opensuse.org/english/get-technical-help-here/applications/447580-virt-manager-only-will-not-x-forward.html";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:520:"The application 'virt-manager.py' lost its connection to the display localhost:12.0; most likely the X server was shut down or you killed/destroyed the application. That lead me to this post which had a solution, and a good explanation as well: ... $HOME, so the original $HOME/.Xauthority is still used. Then, userhelper (or su -) use the pam_xauth module. pam_xauth does not use $HOME/.Xauthority, but "invoking user's home directory"/.Xauthority, i.e. /root/. ...";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:3:{s:9:"publisher";a:1:{i:0;a:5:{s:4:"data";s:15:"openSUSE Forums";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:17:"LewsTherinTelemon";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"date";a:1:{i:0;a:5:{s:4:"data";s:29:"Wed, 08 Dec 2010 08:00:00 GMT";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:8;a:6:{s:4:"data";s:47:"\n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:3:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:55:"Ampache - Streming Sterver Teil 1 | Stefan's Weblog";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:35:"http://www.strobelstefan.de/?p=1051";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:260:"Ruft man im Webbrowser den Installationsdialog über http://localhost/ampacheauf, dann wird ein Fehler ausgegeben. Kurz gesagt der Webserver Apache hat keinen Zugriff auf Ampache. Mit zwei Befehlen auf der Konsole kann man das aber ...";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:3:{s:9:"publisher";a:1:{i:0;a:5:{s:4:"data";s:15:"Stefan''s Weblog";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:6:"Stefan";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"date";a:1:{i:0;a:5:{s:4:"data";s:29:"Thu, 25 Nov 2010 10:01:36 GMT";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:9;a:6:{s:4:"data";s:47:"\n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:3:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:51:"ASA Syslog errors from MSSQL - Spiceworks Community";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:72:"http://community.spiceworks.com/topic/99299-asa-syslog-errors-from-mssql";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:522:"For some reason the old administrator used a lot of references to its IP address rather than using localhost or 127.0.0.1. Instead the admin entered the actual IP address into the configs. I've cleaned up everything i can find but apparently i haven't found them all. ... Check the Jobs, and Database Link. It look to me that the DB may have a database link pointing to the same database. This is a trick that's being used for some DBA to accomplished tricky tasks. ...";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:3:{s:9:"publisher";a:1:{i:0;a:5:{s:4:"data";s:20:"Spiceworks Community";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:6:"mattrk";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"date";a:1:{i:0;a:5:{s:4:"data";s:29:"Wed, 19 May 2010 21:36:58 GMT";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}}}s:36:"http://a9.com/-/spec/opensearch/1.1/";a:3:{s:12:"totalResults";a:1:{i:0;a:5:{s:4:"data";s:2:"83";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:10:"startIndex";a:1:{i:0;a:5:{s:4:"data";s:1:"1";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:12:"itemsPerPage";a:1:{i:0;a:5:{s:4:"data";s:2:"10";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}}}}}}}}s:4:"type";i:128;s:7:"headers";a:7:{s:12:"content-type";s:28:"text/xml; charset=ISO-8859-1";s:4:"date";s:29:"Tue, 05 Jul 2011 08:48:32 GMT";s:7:"expires";s:2:"-1";s:13:"cache-control";s:18:"private, max-age=0";s:10:"set-cookie";s:143:"PREF=ID=1cf9c52138104fc9:FF=0:TM=1309855712:LM=1309855712:S=V4Z4FGSARH6kpTa3; expires=Thu, 04-Jul-2013 08:48:32 GMT; path=/; domain=.google.com";s:6:"server";s:3:"gws";s:16:"x-xss-protection";s:13:"1; mode=block";}s:5:"build";s:14:"20090627192103";}', 'no'), (458, 0, 'wpsc_minor_version', '391083', 'yes'), (378, 0, 'tubepress-tagValue', 'armani house', 'yes'), (379, 0, 'tubepress-userValue', 'Armani', 'yes'), @@ -331,15 +335,14 @@ INSERT INTO `wp_options` (`option_id`, `blog_id`, `option_name`, `option_value`, (392, 0, 'tubepress-vimeoAlbumValue', '140484', 'yes'), (393, 0, 'tubepress-cacheDirectory', '', 'yes'), (394, 0, 'tubepress-searchResultsRestrictedToUser', '', 'yes'), -(143, 0, '_transient_timeout_feed_1a5f760f2e2b48827d4974a60857e7c2', '1309317176', 'no'), +(143, 0, '_transient_timeout_feed_1a5f760f2e2b48827d4974a60857e7c2', '1309317176', 'no'); +INSERT INTO `wp_options` (`option_id`, `blog_id`, `option_name`, `option_value`, `autoload`) VALUES (144, 0, '_transient_feed_1a5f760f2e2b48827d4974a60857e7c2', 'a:4:{s:5:"child";a:1:{s:0:"";a:1:{s:3:"rss";a:1:{i:0;a:6:{s:4:"data";s:3:"\n \n";s:7:"attribs";a:1:{s:0:"";a:1:{s:7:"version";s:3:"2.0";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:1:{s:0:"";a:1:{s:7:"channel";a:1:{i:0;a:6:{s:4:"data";s:72:"\n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:7:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:43:"WordPress Plugins » View: Recently Updated";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:51:"http://wordpress.org/extend/plugins/browse/updated/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:43:"WordPress Plugins » View: Recently Updated";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"language";a:1:{i:0;a:5:{s:4:"data";s:5:"en-US";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Tue, 28 Jun 2011 15:08:08 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:9:"generator";a:1:{i:0;a:5:{s:4:"data";s:36:"http://bbpress.org/?v=1.1-alpha-2855";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"item";a:15:{i:0;a:6:{s:4:"data";s:30:"\n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:5:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:31:"paul.irish on "Infinite Scroll"";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:62:"http://wordpress.org/extend/plugins/infinite-scroll/#post-6138";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Sun, 29 Jun 2008 23:30:06 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:41:"6138@http://wordpress.org/extend/plugins/";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:102:"Automatically append the next page of posts (via AJAX) to your page when a user scrolls to the bottom.";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:10:"paul.irish";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:1;a:6:{s:4:"data";s:30:"\n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:5:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:48:"Ciprian Turcu on "Custom Scheduled Posts Widget"";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:77:"http://wordpress.org/extend/plugins/custom-scheduled-posts-widget/#post-27828";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Mon, 27 Jun 2011 13:18:47 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:42:"27828@http://wordpress.org/extend/plugins/";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:127:"Custom skeduled Posts. This widget gives you the ability to show skeduled posts for start and end times on the widget content.";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:13:"Ciprian Turcu";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:2;a:6:{s:4:"data";s:30:"\n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:5:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:29:"FanQuake on "Handy Functions"";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:63:"http://wordpress.org/extend/plugins/handy-functions/#post-27827";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Mon, 27 Jun 2011 12:04:39 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:42:"27827@http://wordpress.org/extend/plugins/";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:133:"Handy Functions allows you to add and use the functions that you would normally add to your functions.php, in your WordPress backend.";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:8:"FanQuake";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:3;a:6:{s:4:"data";s:30:"\n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:5:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:48:"edward mindreantre on "ThreeWP Activity Monitor"";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:72:"http://wordpress.org/extend/plugins/threewp-activity-monitor/#post-16151";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Tue, 23 Feb 2010 00:46:40 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:42:"16151@http://wordpress.org/extend/plugins/";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:53:"Track and display site or network-wide user activity.";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:18:"edward mindreantre";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:4;a:6:{s:4:"data";s:30:"\n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:5:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:29:"Magic Toolbox on "Magic Zoom"";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:72:"http://wordpress.org/extend/plugins/magic-zoom-for-wordpress/#post-27709";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Thu, 23 Jun 2011 16:14:17 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:42:"27709@http://wordpress.org/extend/plugins/";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:105:"Magic Zoom will zoom into your images to reveal beautiful detail. Simply hover your mouse over the image.";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:13:"Magic Toolbox";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:5;a:6:{s:4:"data";s:30:"\n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:5:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:25:"rewish on "WP Zen-Coding"";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:61:"http://wordpress.org/extend/plugins/wp-zen-coding/#post-16056";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Wed, 17 Feb 2010 13:32:18 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:42:"16056@http://wordpress.org/extend/plugins/";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:62:"Plugin to introduce `Zen Coding` into the admin page(wp-admin)";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:6:"rewish";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:6;a:6:{s:4:"data";s:30:"\n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:5:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:43:"edward mindreantre on "ThreeWP Ajax Search"";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:67:"http://wordpress.org/extend/plugins/threewp-ajax-search/#post-23393";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Mon, 03 Jan 2011 16:29:02 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:42:"23393@http://wordpress.org/extend/plugins/";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:106:"Enables ajax searches for content. The default settings work automatically with Twentyten and derivatives.";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:18:"edward mindreantre";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:7;a:6:{s:4:"data";s:30:"\n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:5:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:33:"AI.Takeuchi on "Cf Shopping Cart"";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:64:"http://wordpress.org/extend/plugins/cf-shopping-cart/#post-15748";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Thu, 04 Feb 2010 09:02:18 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:42:"15748@http://wordpress.org/extend/plugins/";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:150:"Cf Shopping Cart is simple shopping cart plugin for WordPress.\nThis plugin be working with Custom Field and more plugins.\nThereby website can have fle";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:11:"AI.Takeuchi";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:8;a:6:{s:4:"data";s:30:"\n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:5:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:26:"bestwebsoft on "Portfolio"";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:57:"http://wordpress.org/extend/plugins/portfolio/#post-25798";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Mon, 11 Apr 2011 17:34:04 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:42:"25798@http://wordpress.org/extend/plugins/";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:80:"Portfolio allows you to create a page with information about your past projects.";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:11:"bestwebsoft";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:9;a:6:{s:4:"data";s:30:"\n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:5:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:40:"Ronak Gandhi on "Awesome Flickr Gallery"";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:77:"http://wordpress.org/extend/plugins/awesome-flickr-gallery-plugin/#post-26391";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Sat, 07 May 2011 15:51:14 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:42:"26391@http://wordpress.org/extend/plugins/";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:128:"Create a photo gallery of your Flickr photos on your WordPress enabled website\nenabling you to customize it the way you like it.";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:12:"Ronak Gandhi";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:10;a:6:{s:4:"data";s:30:"\n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:5:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:29:"Desertsnowman on "DB Toolkit"";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:58:"http://wordpress.org/extend/plugins/db-toolkit/#post-18292";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Sun, 30 May 2010 11:57:27 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:42:"18292@http://wordpress.org/extend/plugins/";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:112:"Database Interface Toolkit creates interfaces (capture/update forms, reports, charts etc.) from database tables.";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:13:"Desertsnowman";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:11;a:6:{s:4:"data";s:30:"\n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:5:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:39:"timothyja on "Linux Promotional Plugin"";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:72:"http://wordpress.org/extend/plugins/linux-promotional-plugin/#post-27777";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Sat, 25 Jun 2011 15:05:06 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:42:"27777@http://wordpress.org/extend/plugins/";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:108:"A SMALL popup with customizable message about the avaliablity of a free OS replacement for Windows, and Mac.";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:9:"timothyja";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:12;a:6:{s:4:"data";s:30:"\n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:5:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:31:"mathzqy on "Latex for WordPess"";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:52:"http://wordpress.org/extend/plugins/latex/#post-4855";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Sun, 16 Mar 2008 12:46:42 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:41:"4855@http://wordpress.org/extend/plugins/";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:95:"This plugin provide an easy and elegant solution to add and display your mathematical fourmula.";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:7:"mathzqy";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:13;a:6:{s:4:"data";s:30:"\n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:5:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:42:"Hugh WIll Fayle on "Multi Post Newsletter"";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:69:"http://wordpress.org/extend/plugins/multi-post-newsletter/#post-23459";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Thu, 06 Jan 2011 07:36:45 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:42:"23459@http://wordpress.org/extend/plugins/";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:150:"The Multi Post Newsletter is a simple plugin, which provides to link several posts to a newsletter. This procedure is similar to the categories. Withi";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:15:"Hugh WIll Fayle";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:14;a:6:{s:4:"data";s:30:"\n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:2:{s:0:"";a:5:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:28:"Stargazer on "WP-BlackCheck"";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:61:"http://wordpress.org/extend/plugins/wp-blackcheck/#post-11090";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Fri, 05 Jun 2009 12:52:18 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:42:"11090@http://wordpress.org/extend/plugins/";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:125:"WP-BlackCheck is an Anti-Spam Solution for Wordpress blocking spam using local detection and a centralized Blacklist Service.";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:9:"Stargazer";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}}}s:27:"http://www.w3.org/2005/Atom";a:1:{s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:0:"";s:7:"attribs";a:1:{s:0:"";a:3:{s:4:"href";s:52:"http://wordpress.org/extend/plugins/rss/view/updated";s:3:"rel";s:4:"self";s:4:"type";s:19:"application/rss+xml";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}}}}}}}}s:4:"type";i:128;s:7:"headers";a:8:{s:6:"server";s:5:"nginx";s:4:"date";s:29:"Tue, 28 Jun 2011 15:12:58 GMT";s:12:"content-type";s:23:"text/xml; charset=UTF-8";s:10:"connection";s:5:"close";s:4:"vary";s:15:"Accept-Encoding";s:13:"last-modified";s:19:"2008-06-29 23:30:06";s:14:"content-length";s:4:"8009";s:4:"x-nc";s:11:"HIT luv 139";}s:5:"build";s:14:"20090627192103";}', 'no'), (145, 0, '_transient_timeout_feed_mod_1a5f760f2e2b48827d4974a60857e7c2', '1309317176', 'no'), -(146, 0, '_transient_feed_mod_1a5f760f2e2b48827d4974a60857e7c2', '1309273976', 'no'); -INSERT INTO `wp_options` (`option_id`, `blog_id`, `option_name`, `option_value`, `autoload`) VALUES +(146, 0, '_transient_feed_mod_1a5f760f2e2b48827d4974a60857e7c2', '1309273976', 'no'), (149, 0, 'catablog-options', 'a:18:{s:7:"version";s:7:"1.2.9.7";s:14:"thumbnail-size";s:3:"160";s:10:"image-size";s:3:"600";s:16:"background-color";s:7:"#000000";s:12:"paypal-email";s:0:"";s:17:"keep-aspect-ratio";b:1;s:16:"lightbox-enabled";b:1;s:15:"lightbox-render";b:0;s:17:"lightbox-selector";s:15:".catablog-image";s:11:"link-target";s:0:"";s:17:"link-relationship";s:0:"";s:10:"view-theme";s:277:"
\r\n
\r\n %MAIN-IMAGE%\r\n %SUB-IMAGES%\r\n
\r\n \r\n

%TITLE-LINK%

\r\n \r\n
\r\n

%DESCRIPTION%

\r\n %BUY-NOW-BUTTON%\r\n
\r\n \r\n
";s:11:"view-buynow";s:0:"";s:18:"filter-description";b:1;s:17:"nl2br-description";b:1;s:12:"public_posts";b:0;s:16:"public_post_slug";s:14:"catablog-items";s:15:"public_tax_slug";s:14:"catablog-terms";}', 'yes'), (396, 0, 'tubepress-debugging_enabled', '1', 'yes'), -(159, 0, '_site_transient_update_themes', 'O:8:"stdClass":1:{s:12:"last_checked";i:1309800418;}', 'yes'), -(358, 0, '_transient_timeout_feed_mod_8fa202021a0c51f109142bc571ee925a', '1309821724', 'no'), +(159, 0, '_site_transient_update_themes', 'O:8:"stdClass":3:{s:12:"last_checked";i:1309860223;s:7:"checked";a:3:{s:13:"originalhouse";s:5:"1.0.0";s:12:"twentyeleven";s:3:"1.1";s:9:"twentyten";s:3:"1.2";}s:8:"response";a:0:{}}', 'yes'), (337, 0, '_site_transient_timeout_wporg_theme_feature_list', '1309388348', 'yes'), (338, 0, '_site_transient_wporg_theme_feature_list', 'a:5:{s:6:"Colors";a:15:{i:0;s:5:"black";i:1;s:4:"blue";i:2;s:5:"brown";i:3;s:4:"gray";i:4;s:5:"green";i:5;s:6:"orange";i:6;s:4:"pink";i:7;s:6:"purple";i:8;s:3:"red";i:9;s:6:"silver";i:10;s:3:"tan";i:11;s:5:"white";i:12;s:6:"yellow";i:13;s:4:"dark";i:14;s:5:"light";}s:7:"Columns";a:6:{i:0;s:10:"one-column";i:1;s:11:"two-columns";i:2;s:13:"three-columns";i:3;s:12:"four-columns";i:4;s:12:"left-sidebar";i:5;s:13:"right-sidebar";}s:5:"Width";a:2:{i:0;s:11:"fixed-width";i:1;s:14:"flexible-width";}s:8:"Features";a:18:{i:0;s:8:"blavatar";i:1;s:10:"buddypress";i:2;s:17:"custom-background";i:3;s:13:"custom-colors";i:4;s:13:"custom-header";i:5;s:11:"custom-menu";i:6;s:12:"editor-style";i:7;s:21:"featured-image-header";i:8;s:15:"featured-images";i:9;s:20:"front-page-post-form";i:10;s:19:"full-width-template";i:11;s:12:"microformats";i:12;s:12:"post-formats";i:13;s:20:"rtl-language-support";i:14;s:11:"sticky-post";i:15;s:13:"theme-options";i:16;s:17:"threaded-comments";i:17;s:17:"translation-ready";}s:7:"Subject";a:3:{i:0;s:7:"holiday";i:1;s:13:"photoblogging";i:2;s:8:"seasonal";}}', 'yes'), (265, 0, 'theme_mods_twentyten', 'a:1:{i:0;b:0;}', 'yes'), @@ -352,19 +355,26 @@ INSERT INTO `wp_options` (`option_id`, `blog_id`, `option_name`, `option_value`, (167, 0, 'widget_woo_twitter', 'a:2:{i:2;a:0:{}s:12:"_multiwidget";i:1;}', 'yes'), (168, 0, 'widget_woo_subscribe', 'a:2:{i:2;a:0:{}s:12:"_multiwidget";i:1;}', 'yes'), (169, 0, 'widget_woo_archives', 'a:2:{i:2;a:0:{}s:12:"_multiwidget";i:1;}', 'yes'), -(170, 0, 'woo_framework_version', '4.1.6', 'yes'), +(170, 0, 'woo_framework_version', '4.1.8', 'yes'), (171, 0, 'woo_custom_seo_template', 'a:3:{i:0;a:5:{s:4:"name";s:10:"seo_info_1";s:3:"std";s:0:"";s:5:"label";s:4:"SEO ";s:4:"type";s:4:"info";s:4:"desc";s:234:"Additional SEO custom fields available: Custom Page Titles, Custom Descriptions, Custom Keywords. Go to SEO Settings page to activate.";}i:1;a:5:{s:4:"name";s:10:"seo_follow";s:3:"std";s:5:"false";s:5:"label";s:16:"SEO - Set follow";s:4:"type";s:8:"checkbox";s:4:"desc";s:77:"Make links from this post/page followable by search engines.";}i:2;a:5:{s:4:"name";s:11:"seo_noindex";s:3:"std";s:5:"false";s:5:"label";s:13:"SEO - Noindex";s:4:"type";s:8:"checkbox";s:4:"desc";s:56:"Set the Page/Post to not be indexed by a search engines.";}}', 'yes'), -(172, 0, 'woo_options', 'a:72:{s:18:"woo_alt_stylesheet";s:11:"default.css";s:8:"woo_logo";s:71:"http://localhost/originalhouse/wp-content/uploads/2011/06/logo-rojo.gif";s:13:"woo_texttitle";s:5:"false";s:19:"woo_font_site_title";a:5:{s:4:"size";s:2:"40";s:4:"unit";s:2:"px";s:4:"face";s:43:"Calibri, Candara, Segoe, Optima, sans-serif";s:5:"style";s:6:"normal";s:5:"color";s:7:"#FFFFFF";}s:11:"woo_tagline";s:5:"false";s:16:"woo_font_tagline";a:5:{s:4:"size";s:2:"18";s:4:"unit";s:2:"px";s:4:"face";s:17:"Yanone Kaffeesatz";s:5:"style";s:6:"normal";s:5:"color";s:7:"#999999";}s:18:"woo_custom_favicon";s:0:"";s:20:"woo_google_analytics";s:0:"";s:12:"woo_feed_url";s:0:"";s:19:"woo_subscribe_email";s:0:"";s:21:"woo_contactform_email";s:0:"";s:14:"woo_custom_css";s:0:"";s:12:"woo_comments";s:4:"post";s:16:"woo_post_content";s:7:"excerpt";s:15:"woo_post_author";s:5:"false";s:20:"woo_breadcrumbs_show";s:5:"false";s:14:"woo_title_show";s:5:"false";s:19:"woo_pagination_type";s:15:"paginated_links";s:14:"woo_body_color";s:7:"#000000";s:12:"woo_body_img";s:75:"http://localhost/originalhouse/wp-content/uploads/2011/06/fondonuevaweb.jpg";s:15:"woo_body_repeat";s:9:"no-repeat";s:12:"woo_body_pos";s:13:"center center";s:14:"woo_link_color";s:7:"#7f7875";s:20:"woo_link_hover_color";s:4:"#fff";s:16:"woo_button_color";s:7:"#7f7875";s:14:"woo_typography";s:4:"true";s:13:"woo_font_body";a:5:{s:4:"size";s:2:"18";s:4:"unit";s:2:"px";s:4:"face";s:17:"Yanone Kaffeesatz";s:5:"style";s:6:"normal";s:5:"color";s:7:"#999999";}s:12:"woo_font_nav";a:5:{s:4:"size";s:2:"20";s:4:"unit";s:2:"px";s:4:"face";s:17:"Yanone Kaffeesatz";s:5:"style";s:6:"normal";s:5:"color";s:7:"#555555";}s:19:"woo_font_post_title";a:5:{s:4:"size";s:2:"24";s:4:"unit";s:2:"px";s:4:"face";s:17:"Yanone Kaffeesatz";s:5:"style";s:4:"bold";s:5:"color";s:7:"#222222";}s:18:"woo_font_post_meta";a:5:{s:4:"size";s:2:"12";s:4:"unit";s:2:"px";s:4:"face";s:10:"Droid Sans";s:5:"style";s:6:"normal";s:5:"color";s:7:"#999999";}s:19:"woo_font_post_entry";a:5:{s:4:"size";s:2:"16";s:4:"unit";s:2:"px";s:4:"face";s:10:"Droid Sans";s:5:"style";s:6:"normal";s:5:"color";s:7:"#999999";}s:22:"woo_font_widget_titles";a:5:{s:4:"size";s:2:"16";s:4:"unit";s:2:"px";s:4:"face";s:20:"Terminal Dosis Light";s:5:"style";s:4:"bold";s:5:"color";s:7:"#555555";}s:14:"woo_home_intro";s:58:"Si tu casa se parece a todas, nosotros no tenemos la culpa";s:10:"woo_slider";s:5:"false";s:18:"woo_slider_entries";s:2:"19";s:18:"woo_slider_content";s:5:"false";s:16:"woo_slider_speed";s:3:"500";s:15:"woo_slider_auto";s:4:"true";s:19:"woo_slider_interval";s:4:"6000";s:15:"woo_site_layout";s:11:"layout-full";s:22:"woo_post_image_support";s:4:"true";s:14:"woo_pis_resize";s:4:"true";s:17:"woo_pis_hard_crop";s:4:"true";s:10:"woo_resize";s:4:"true";s:12:"woo_auto_img";s:5:"false";s:11:"woo_thumb_w";s:3:"160";s:11:"woo_thumb_h";s:3:"160";s:15:"woo_thumb_align";s:9:"alignleft";s:16:"woo_thumb_single";s:4:"true";s:12:"woo_single_w";s:3:"200";s:12:"woo_single_h";s:3:"200";s:22:"woo_thumb_single_align";s:10:"alignright";s:13:"woo_rss_thumb";s:5:"false";s:17:"woo_footer_social";s:4:"true";s:19:"woo_footer_aff_link";s:0:"";s:15:"woo_footer_left";s:4:"true";s:20:"woo_footer_left_text";s:0:"";s:16:"woo_footer_right";s:4:"true";s:21:"woo_footer_right_text";s:0:"";s:11:"woo_connect";s:4:"true";s:17:"woo_connect_title";s:0:"";s:19:"woo_connect_content";s:0:"";s:25:"woo_connect_newsletter_id";s:0:"";s:15:"woo_connect_rss";s:4:"true";s:19:"woo_connect_twitter";s:37:"http://twitter.com/#!/originalhousesl";s:20:"woo_connect_facebook";s:81:"http://www.facebook.com/pages/ORIGINAL-HOUSE-Mobiliario-y-decoracion/161365001363";s:19:"woo_connect_blogger";s:42:"http://elblogdeoriginalhouse.blogspot.com/";s:19:"woo_connect_youtube";s:0:"";s:18:"woo_connect_flickr";s:0:"";s:20:"woo_connect_linkedin";s:0:"";s:21:"woo_connect_delicious";s:0:"";s:19:"woo_connect_related";s:5:"false";}', 'yes'), +(172, 0, 'woo_options', 'a:72:{s:18:"woo_alt_stylesheet";s:11:"default.css";s:8:"woo_logo";s:71:"http://localhost/originalhouse/wp-content/uploads/2011/06/logo-rojo.gif";s:13:"woo_texttitle";s:5:"false";s:19:"woo_font_site_title";a:5:{s:4:"size";s:2:"40";s:4:"unit";s:2:"px";s:4:"face";s:43:"Calibri, Candara, Segoe, Optima, sans-serif";s:5:"style";s:6:"normal";s:5:"color";s:7:"#FFFFFF";}s:11:"woo_tagline";s:5:"false";s:16:"woo_font_tagline";a:5:{s:4:"size";s:2:"18";s:4:"unit";s:2:"px";s:4:"face";s:17:"Yanone Kaffeesatz";s:5:"style";s:6:"normal";s:5:"color";s:7:"#999999";}s:18:"woo_custom_favicon";s:0:"";s:20:"woo_google_analytics";s:0:"";s:12:"woo_feed_url";s:0:"";s:19:"woo_subscribe_email";s:0:"";s:21:"woo_contactform_email";s:0:"";s:14:"woo_custom_css";s:0:"";s:12:"woo_comments";s:4:"post";s:16:"woo_post_content";s:7:"excerpt";s:15:"woo_post_author";s:5:"false";s:20:"woo_breadcrumbs_show";s:5:"false";s:14:"woo_title_show";s:5:"false";s:19:"woo_pagination_type";s:15:"paginated_links";s:14:"woo_body_color";s:7:"#000000";s:12:"woo_body_img";s:75:"http://localhost/originalhouse/wp-content/uploads/2011/06/fondonuevaweb.jpg";s:15:"woo_body_repeat";s:9:"no-repeat";s:12:"woo_body_pos";s:13:"center center";s:14:"woo_link_color";s:7:"#7f7875";s:20:"woo_link_hover_color";s:4:"#fff";s:16:"woo_button_color";s:7:"#7f7875";s:14:"woo_typography";s:4:"true";s:13:"woo_font_body";a:5:{s:4:"size";s:2:"18";s:4:"unit";s:2:"px";s:4:"face";s:17:"Yanone Kaffeesatz";s:5:"style";s:6:"normal";s:5:"color";s:7:"#999999";}s:12:"woo_font_nav";a:5:{s:4:"size";s:2:"20";s:4:"unit";s:2:"px";s:4:"face";s:17:"Yanone Kaffeesatz";s:5:"style";s:6:"normal";s:5:"color";s:7:"#555555";}s:19:"woo_font_post_title";a:5:{s:4:"size";s:2:"24";s:4:"unit";s:2:"px";s:4:"face";s:17:"Yanone Kaffeesatz";s:5:"style";s:4:"bold";s:5:"color";s:7:"#222222";}s:18:"woo_font_post_meta";a:5:{s:4:"size";s:2:"12";s:4:"unit";s:2:"px";s:4:"face";s:10:"Droid Sans";s:5:"style";s:6:"normal";s:5:"color";s:7:"#999999";}s:19:"woo_font_post_entry";a:5:{s:4:"size";s:2:"16";s:4:"unit";s:2:"px";s:4:"face";s:10:"Droid Sans";s:5:"style";s:6:"normal";s:5:"color";s:7:"#999999";}s:22:"woo_font_widget_titles";a:5:{s:4:"size";s:2:"16";s:4:"unit";s:2:"px";s:4:"face";s:20:"Terminal Dosis Light";s:5:"style";s:4:"bold";s:5:"color";s:7:"#555555";}s:14:"woo_home_intro";s:58:"Si tu casa se parece a todas, nosotros no tenemos la culpa";s:10:"woo_slider";s:5:"false";s:18:"woo_slider_entries";s:2:"19";s:18:"woo_slider_content";s:5:"false";s:16:"woo_slider_speed";s:3:"500";s:15:"woo_slider_auto";s:4:"true";s:19:"woo_slider_interval";s:4:"6000";s:15:"woo_site_layout";s:11:"layout-full";s:22:"woo_post_image_support";s:4:"true";s:14:"woo_pis_resize";s:4:"true";s:17:"woo_pis_hard_crop";s:4:"true";s:10:"woo_resize";s:4:"true";s:12:"woo_auto_img";s:5:"false";s:11:"woo_thumb_w";s:3:"250";s:11:"woo_thumb_h";s:3:"250";s:15:"woo_thumb_align";s:9:"alignleft";s:16:"woo_thumb_single";s:4:"true";s:12:"woo_single_w";s:3:"300";s:12:"woo_single_h";s:3:"300";s:22:"woo_thumb_single_align";s:10:"alignright";s:13:"woo_rss_thumb";s:5:"false";s:17:"woo_footer_social";s:4:"true";s:19:"woo_footer_aff_link";s:0:"";s:15:"woo_footer_left";s:4:"true";s:20:"woo_footer_left_text";s:0:"";s:16:"woo_footer_right";s:4:"true";s:21:"woo_footer_right_text";s:0:"";s:11:"woo_connect";s:4:"true";s:17:"woo_connect_title";s:0:"";s:19:"woo_connect_content";s:0:"";s:25:"woo_connect_newsletter_id";s:0:"";s:15:"woo_connect_rss";s:4:"true";s:19:"woo_connect_twitter";s:37:"http://twitter.com/#!/originalhousesl";s:20:"woo_connect_facebook";s:81:"http://www.facebook.com/pages/ORIGINAL-HOUSE-Mobiliario-y-decoracion/161365001363";s:19:"woo_connect_blogger";s:42:"http://elblogdeoriginalhouse.blogspot.com/";s:19:"woo_connect_youtube";s:0:"";s:18:"woo_connect_flickr";s:0:"";s:20:"woo_connect_linkedin";s:0:"";s:21:"woo_connect_delicious";s:0:"";s:19:"woo_connect_related";s:5:"false";}', 'yes'); +INSERT INTO `wp_options` (`option_id`, `blog_id`, `option_name`, `option_value`, `autoload`) VALUES (173, 0, 'woo_template', 'a:79:{i:0;a:3:{s:4:"name";s:16:"General Settings";s:4:"type";s:7:"heading";s:4:"icon";s:7:"general";}i:1;a:6:{s:4:"name";s:16:"Theme Stylesheet";s:4:"desc";s:44:"Select your themes alternative color scheme.";s:2:"id";s:18:"woo_alt_stylesheet";s:3:"std";s:11:"default.css";s:4:"type";s:6:"select";s:7:"options";a:5:{i:0;s:8:"blue.css";i:1;s:11:"default.css";i:2;s:9:"green.css";i:3;s:9:"light.css";i:4;s:7:"red.css";}}i:2;a:5:{s:4:"name";s:11:"Custom Logo";s:4:"desc";s:63:"Upload a logo for your theme, or specify an image URL directly.";s:2:"id";s:8:"woo_logo";s:3:"std";s:0:"";s:4:"type";s:6:"upload";}i:3;a:6:{s:4:"name";s:10:"Text Title";s:4:"desc";s:158:"Enable text-based Site Title and Tagline. Setup title & tagline in General Settings.";s:2:"id";s:13:"woo_texttitle";s:3:"std";s:5:"false";s:5:"class";s:9:"collapsed";s:4:"type";s:8:"checkbox";}i:4;a:6:{s:4:"name";s:10:"Site Title";s:4:"desc";s:33:"Change the site title typography.";s:2:"id";s:19:"woo_font_site_title";s:3:"std";a:5:{s:4:"size";s:2:"40";s:4:"unit";s:2:"px";s:4:"face";s:8:"PT Serif";s:5:"style";s:4:"bold";s:5:"color";s:7:"#FFFFFF";}s:5:"class";s:6:"hidden";s:4:"type";s:10:"typography";}i:5;a:6:{s:4:"name";s:16:"Site Description";s:4:"desc";s:53:"Enable the site description/tagline under site title.";s:2:"id";s:11:"woo_tagline";s:5:"class";s:6:"hidden";s:3:"std";s:5:"false";s:4:"type";s:8:"checkbox";}i:6;a:6:{s:4:"name";s:16:"Site Description";s:4:"desc";s:39:"Change the site description typography.";s:2:"id";s:16:"woo_font_tagline";s:3:"std";a:5:{s:4:"size";s:2:"18";s:4:"unit";s:2:"px";s:4:"face";s:17:"Yanone Kaffeesatz";s:5:"style";s:0:"";s:5:"color";s:7:"#999999";}s:5:"class";s:11:"hidden last";s:4:"type";s:10:"typography";}i:7;a:5:{s:4:"name";s:14:"Custom Favicon";s:4:"desc";s:113:"Upload a 16px x 16px ico image that will represent your website''s favicon.";s:2:"id";s:18:"woo_custom_favicon";s:3:"std";s:0:"";s:4:"type";s:6:"upload";}i:8;a:5:{s:4:"name";s:13:"Tracking Code";s:4:"desc";s:117:"Paste your Google Analytics (or other) tracking code here. This will be added into the footer template of your theme.";s:2:"id";s:20:"woo_google_analytics";s:3:"std";s:0:"";s:4:"type";s:8:"textarea";}i:9;a:5:{s:4:"name";s:7:"RSS URL";s:4:"desc";s:51:"Enter your preferred RSS URL. (Feedburner or other)";s:2:"id";s:12:"woo_feed_url";s:3:"std";s:0:"";s:4:"type";s:4:"text";}i:10;a:5:{s:4:"name";s:23:"E-Mail Subscription URL";s:4:"desc";s:67:"Enter your preferred E-mail subscription URL. (Feedburner or other)";s:2:"id";s:19:"woo_subscribe_email";s:3:"std";s:0:"";s:4:"type";s:4:"text";}i:11;a:5:{s:4:"name";s:19:"Contact Form E-Mail";s:4:"desc";s:156:"Enter your E-mail address to use on the Contact Form Page Template. Add the contact form by adding a new page and selecting ''Contact Form'' as page template.";s:2:"id";s:21:"woo_contactform_email";s:3:"std";s:0:"";s:4:"type";s:4:"text";}i:12;a:5:{s:4:"name";s:10:"Custom CSS";s:4:"desc";s:62:"Quickly add some CSS to your theme by adding it to this block.";s:2:"id";s:14:"woo_custom_css";s:3:"std";s:0:"";s:4:"type";s:8:"textarea";}i:13;a:5:{s:4:"name";s:18:"Post/Page Comments";s:4:"desc";s:69:"Select if you want to enable/disable comments on posts and/or pages. ";s:2:"id";s:12:"woo_comments";s:4:"type";s:7:"select2";s:7:"options";a:4:{s:4:"post";s:10:"Posts Only";s:4:"page";s:10:"Pages Only";s:4:"both";s:13:"Pages / Posts";s:4:"none";s:4:"None";}}i:14;a:5:{s:4:"name";s:12:"Post Content";s:4:"desc";s:69:"Select if you want to show the full content or the excerpt on posts. ";s:2:"id";s:16:"woo_post_content";s:4:"type";s:7:"select2";s:7:"options";a:2:{s:7:"excerpt";s:11:"The Excerpt";s:7:"content";s:12:"Full Content";}}i:15;a:5:{s:4:"name";s:15:"Post Author Box";s:4:"desc";s:157:"This will enable the post author box on the single posts page. Edit description in Profile.";s:2:"id";s:15:"woo_post_author";s:3:"std";s:4:"true";s:4:"type";s:8:"checkbox";}i:16;a:5:{s:4:"name";s:19:"Display Breadcrumbs";s:4:"desc";s:57:"Display dynamic breadcrumbs on each page of your website.";s:2:"id";s:20:"woo_breadcrumbs_show";s:3:"std";s:5:"false";s:4:"type";s:8:"checkbox";}i:17;a:5:{s:4:"name";s:23:"Display Post/Page Title";s:4:"desc";s:43:"Display title on each page of your website.";s:2:"id";s:14:"woo_title_show";s:3:"std";s:4:"true";s:4:"type";s:8:"checkbox";}i:18;a:5:{s:4:"name";s:16:"Pagination Style";s:4:"desc";s:65:"Select the style of pagination you would like to use on the blog.";s:2:"id";s:19:"woo_pagination_type";s:4:"type";s:7:"select2";s:7:"options";a:2:{s:15:"paginated_links";s:7:"Numbers";s:6:"simple";s:13:"Next/Previous";}}i:19;a:3:{s:4:"name";s:15:"Styling Options";s:4:"type";s:7:"heading";s:4:"icon";s:7:"styling";}i:20;a:5:{s:4:"name";s:21:"Body Background Color";s:4:"desc";s:66:"Pick a custom color for background color of the theme e.g. #697e09";s:2:"id";s:14:"woo_body_color";s:3:"std";s:0:"";s:4:"type";s:5:"color";}i:21;a:5:{s:4:"name";s:21:"Body background image";s:4:"desc";s:42:"Upload an image for the theme''s background";s:2:"id";s:12:"woo_body_img";s:3:"std";s:0:"";s:4:"type";s:6:"upload";}i:22;a:6:{s:4:"name";s:23:"Background image repeat";s:4:"desc";s:56:"Select how you would like to repeat the background-image";s:2:"id";s:15:"woo_body_repeat";s:3:"std";s:9:"no-repeat";s:4:"type";s:6:"select";s:7:"options";a:4:{i:0;s:9:"no-repeat";i:1;s:8:"repeat-x";i:2;s:8:"repeat-y";i:3;s:6:"repeat";}}i:23;a:6:{s:4:"name";s:25:"Background image position";s:4:"desc";s:52:"Select how you would like to position the background";s:2:"id";s:12:"woo_body_pos";s:3:"std";s:3:"top";s:4:"type";s:6:"select";s:7:"options";a:9:{i:0;s:8:"top left";i:1;s:10:"top center";i:2;s:9:"top right";i:3;s:11:"center left";i:4;s:13:"center center";i:5;s:12:"center right";i:6;s:11:"bottom left";i:7;s:13:"bottom center";i:8;s:12:"bottom right";}}i:24;a:5:{s:4:"name";s:10:"Link Color";s:4:"desc";s:66:"Pick a custom color for links or add a hex color code e.g. #697e09";s:2:"id";s:14:"woo_link_color";s:3:"std";s:0:"";s:4:"type";s:5:"color";}i:25;a:5:{s:4:"name";s:16:"Link Hover Color";s:4:"desc";s:72:"Pick a custom color for links hover or add a hex color code e.g. #697e09";s:2:"id";s:20:"woo_link_hover_color";s:3:"std";s:0:"";s:4:"type";s:5:"color";}i:26;a:5:{s:4:"name";s:12:"Button Color";s:4:"desc";s:68:"Pick a custom color for buttons or add a hex color code e.g. #697e09";s:2:"id";s:16:"woo_button_color";s:3:"std";s:0:"";s:4:"type";s:5:"color";}i:27;a:3:{s:4:"name";s:10:"Typography";s:4:"type";s:7:"heading";s:4:"icon";s:10:"typography";}i:28;a:5:{s:4:"name";s:24:"Enable Custom Typography";s:4:"desc";s:100:"Enable the use of custom typography for your site. Custom styling will be output in your sites HEAD.";s:2:"id";s:14:"woo_typography";s:3:"std";s:5:"false";s:4:"type";s:8:"checkbox";}i:29;a:5:{s:4:"name";s:18:"General Typography";s:4:"desc";s:24:"Change the general font.";s:2:"id";s:13:"woo_font_body";s:3:"std";a:5:{s:4:"size";s:2:"12";s:4:"unit";s:2:"px";s:4:"face";s:5:"Arial";s:5:"style";s:0:"";s:5:"color";s:7:"#555555";}s:4:"type";s:10:"typography";}i:30;a:5:{s:4:"name";s:10:"Navigation";s:4:"desc";s:27:"Change the navigation font.";s:2:"id";s:12:"woo_font_nav";s:3:"std";a:5:{s:4:"size";s:2:"14";s:4:"unit";s:2:"px";s:4:"face";s:5:"Arial";s:5:"style";s:0:"";s:5:"color";s:7:"#555555";}s:4:"type";s:10:"typography";}i:31;a:5:{s:4:"name";s:10:"Post Title";s:4:"desc";s:22:"Change the post title.";s:2:"id";s:19:"woo_font_post_title";s:3:"std";a:5:{s:4:"size";s:2:"24";s:4:"unit";s:2:"px";s:4:"face";s:5:"Arial";s:5:"style";s:4:"bold";s:5:"color";s:7:"#222222";}s:4:"type";s:10:"typography";}i:32;a:5:{s:4:"name";s:9:"Post Meta";s:4:"desc";s:21:"Change the post meta.";s:2:"id";s:18:"woo_font_post_meta";s:3:"std";a:5:{s:4:"size";s:2:"12";s:4:"unit";s:2:"px";s:4:"face";s:5:"Arial";s:5:"style";s:0:"";s:5:"color";s:7:"#999999";}s:4:"type";s:10:"typography";}i:33;a:5:{s:4:"name";s:10:"Post Entry";s:4:"desc";s:22:"Change the post entry.";s:2:"id";s:19:"woo_font_post_entry";s:3:"std";a:5:{s:4:"size";s:2:"14";s:4:"unit";s:2:"px";s:4:"face";s:5:"Arial";s:5:"style";s:0:"";s:5:"color";s:7:"#555555";}s:4:"type";s:10:"typography";}i:34;a:5:{s:4:"name";s:13:"Widget Titles";s:4:"desc";s:25:"Change the widget titles.";s:2:"id";s:22:"woo_font_widget_titles";s:3:"std";a:5:{s:4:"size";s:2:"16";s:4:"unit";s:2:"px";s:4:"face";s:5:"Arial";s:5:"style";s:4:"bold";s:5:"color";s:7:"#555555";}s:4:"type";s:10:"typography";}i:35;a:3:{s:4:"name";s:8:"Homepage";s:4:"type";s:7:"heading";s:4:"icon";s:8:"homepage";}i:36;a:5:{s:4:"name";s:10:"Intro Text";s:4:"desc";s:82:"Type your Intro Text here, it will show up in your homepage above your blog posts.";s:2:"id";s:14:"woo_home_intro";s:3:"std";s:0:"";s:4:"type";s:8:"textarea";}i:37;a:3:{s:4:"name";s:15:"Homepage Slider";s:4:"icon";s:6:"slider";s:4:"type";s:7:"heading";}i:38;a:5:{s:4:"name";s:13:"Enable Slider";s:4:"desc";s:34:"Enable the slider on the homepage.";s:2:"id";s:10:"woo_slider";s:3:"std";s:4:"true";s:4:"type";s:8:"checkbox";}i:39;a:6:{s:4:"name";s:14:"Slider Entries";s:4:"desc";s:72:"Select the number of entries that should appear in the home page slider.";s:2:"id";s:18:"woo_slider_entries";s:3:"std";s:1:"3";s:4:"type";s:6:"select";s:7:"options";a:20:{i:0;s:16:"Select a number:";i:1;s:1:"1";i:2;s:1:"2";i:3;s:1:"3";i:4;s:1:"4";i:5;s:1:"5";i:6;s:1:"6";i:7;s:1:"7";i:8;s:1:"8";i:9;s:1:"9";i:10;s:2:"10";i:11;s:2:"11";i:12;s:2:"12";i:13;s:2:"13";i:14;s:2:"14";i:15;s:2:"15";i:16;s:2:"16";i:17;s:2:"17";i:18;s:2:"18";i:19;s:2:"19";}}i:40;a:5:{s:4:"name";s:23:"Featured Slider Content";s:4:"desc";s:32:"Show the post content in slider.";s:2:"id";s:18:"woo_slider_content";s:3:"std";s:5:"false";s:4:"type";s:8:"checkbox";}i:41;a:5:{s:4:"name";s:15:"Animation Speed";s:4:"desc";s:70:"The time in miliseconds the animation between frames will take.";s:2:"id";s:16:"woo_slider_speed";s:3:"std";s:3:"500";s:4:"type";s:4:"text";}i:42;a:5:{s:4:"name";s:10:"Auto Start";s:4:"desc";s:46:"Set the slider to start sliding automatically.";s:2:"id";s:15:"woo_slider_auto";s:3:"std";s:5:"false";s:4:"type";s:8:"checkbox";}i:43;a:5:{s:4:"name";s:19:"Auto Slide Interval";s:4:"desc";s:82:"The time in milliseconds each slide pauses for, before sliding to the next.";s:2:"id";s:19:"woo_slider_interval";s:3:"std";s:4:"6000";s:4:"type";s:4:"text";}i:44;a:3:{s:4:"name";s:14:"Layout Options";s:4:"type";s:7:"heading";s:4:"icon";s:6:"layout";}i:45;a:6:{s:4:"name";s:11:"Main Layout";s:4:"desc";s:43:"Select which layout you want for your site.";s:2:"id";s:15:"woo_site_layout";s:3:"std";s:11:"layout-full";s:4:"type";s:6:"images";s:7:"options";a:1:{s:11:"layout-full";s:86:"http://localhost/originalhouse/wp-content/themes/originalhouse/functions/images/1c.png";}}i:46;a:3:{s:4:"name";s:14:"Dynamic Images";s:4:"type";s:7:"heading";s:4:"icon";s:5:"image";}i:47;a:6:{s:4:"name";s:17:"WP Post Thumbnail";s:4:"desc";s:56:"Use WordPress post thumbnail to assign a post thumbnail.";s:2:"id";s:22:"woo_post_image_support";s:3:"std";s:4:"true";s:5:"class";s:9:"collapsed";s:4:"type";s:8:"checkbox";}i:48;a:6:{s:4:"name";s:38:"WP Post Thumbnail - Dynamically Resize";s:4:"desc";s:113:"The post thumbnail will be dynamically resized using native WP resize functionality. (Requires PHP 5.2+)";s:2:"id";s:14:"woo_pis_resize";s:3:"std";s:4:"true";s:5:"class";s:6:"hidden";s:4:"type";s:8:"checkbox";}i:49;a:6:{s:4:"name";s:29:"WP Post Thumbnail - Hard Crop";s:4:"desc";s:59:"The image will be cropped to match the target aspect ratio.";s:2:"id";s:17:"woo_pis_hard_crop";s:3:"std";s:4:"true";s:5:"class";s:11:"hidden last";s:4:"type";s:8:"checkbox";}i:50;a:5:{s:4:"name";s:28:"Enable Dynamic Image Resizer";s:4:"desc";s:103:"This will enable the thumb.php script which dynamically resizes images added through post custom field.";s:2:"id";s:10:"woo_resize";s:3:"std";s:4:"true";s:4:"type";s:8:"checkbox";}i:51;a:5:{s:4:"name";s:22:"Automatic Image Thumbs";s:4:"desc";s:117:"If no image is specified in the ''image'' custom field or WP post thumbnail then the first uploaded post image is used.";s:2:"id";s:12:"woo_auto_img";s:3:"std";s:5:"false";s:4:"type";s:8:"checkbox";}i:52;a:5:{s:4:"name";s:26:"Thumbnail Image Dimensions";s:4:"desc";s:109:"Enter an integer value i.e. 250 for the desired size which will be used when dynamically creating the images.";s:2:"id";s:20:"woo_image_dimensions";s:3:"std";s:0:"";s:4:"type";a:2:{i:0;a:4:{s:2:"id";s:11:"woo_thumb_w";s:4:"type";s:4:"text";s:3:"std";i:80;s:4:"meta";s:5:"Width";}i:1;a:4:{s:2:"id";s:11:"woo_thumb_h";s:4:"type";s:4:"text";s:3:"std";i:80;s:4:"meta";s:6:"Height";}}}i:53;a:6:{s:4:"name";s:25:"Thumbnail Image alignment";s:4:"desc";s:47:"Select how to align your thumbnails with posts.";s:2:"id";s:15:"woo_thumb_align";s:3:"std";s:9:"alignleft";s:4:"type";s:5:"radio";s:7:"options";a:3:{s:9:"alignleft";s:4:"Left";s:10:"alignright";s:5:"Right";s:11:"aligncenter";s:6:"Center";}}i:54;a:6:{s:4:"name";s:30:"Show thumbnail in Single Posts";s:4:"desc";s:48:"Show the attached image in the single post page.";s:2:"id";s:16:"woo_thumb_single";s:5:"class";s:9:"collapsed";s:3:"std";s:5:"false";s:4:"type";s:8:"checkbox";}i:55;a:6:{s:4:"name";s:23:"Single Image Dimensions";s:4:"desc";s:69:"Enter an integer value i.e. 250 for the image size. Max width is 576.";s:2:"id";s:20:"woo_image_dimensions";s:3:"std";s:0:"";s:5:"class";s:11:"hidden last";s:4:"type";a:2:{i:0;a:4:{s:2:"id";s:12:"woo_single_w";s:4:"type";s:4:"text";s:3:"std";i:200;s:4:"meta";s:5:"Width";}i:1;a:4:{s:2:"id";s:12:"woo_single_h";s:4:"type";s:4:"text";s:3:"std";i:200;s:4:"meta";s:6:"Height";}}}i:56;a:7:{s:4:"name";s:27:"Single Post Image alignment";s:4:"desc";s:53:"Select how to align your thumbnail with single posts.";s:2:"id";s:22:"woo_thumb_single_align";s:3:"std";s:10:"alignright";s:4:"type";s:5:"radio";s:5:"class";s:6:"hidden";s:7:"options";a:3:{s:9:"alignleft";s:4:"Left";s:10:"alignright";s:5:"Right";s:11:"aligncenter";s:6:"Center";}}i:57;a:5:{s:4:"name";s:25:"Add thumbnail to RSS feed";s:4:"desc";s:68:"Add the the image uploaded via your Custom Settings to your RSS feed";s:2:"id";s:13:"woo_rss_thumb";s:3:"std";s:5:"false";s:4:"type";s:8:"checkbox";}i:58;a:3:{s:4:"name";s:20:"Footer Customization";s:4:"type";s:7:"heading";s:4:"icon";s:6:"footer";}i:59;a:5:{s:4:"name";s:26:"Enable Footer Social Icons";s:4:"desc";s:136:"Activate footer social icons (Twitter & Facebook). Your social profile URLs can be added under Subscribe & Connect.";s:2:"id";s:17:"woo_footer_social";s:3:"std";s:4:"true";s:4:"type";s:8:"checkbox";}i:60;a:5:{s:4:"name";s:21:"Custom Affiliate Link";s:4:"desc";s:71:"Add an affiliate link to the WooThemes logo in the footer of the theme.";s:2:"id";s:19:"woo_footer_aff_link";s:3:"std";s:0:"";s:4:"type";s:4:"text";}i:61;a:5:{s:4:"name";s:27:"Enable Custom Footer (Left)";s:4:"desc";s:58:"Activate to add the custom text below to the theme footer.";s:2:"id";s:15:"woo_footer_left";s:3:"std";s:5:"false";s:4:"type";s:8:"checkbox";}i:62;a:5:{s:4:"name";s:18:"Custom Text (Left)";s:4:"desc";s:66:"Custom HTML and Text that will appear in the footer of your theme.";s:2:"id";s:20:"woo_footer_left_text";s:3:"std";s:0:"";s:4:"type";s:8:"textarea";}i:63;a:5:{s:4:"name";s:28:"Enable Custom Footer (Right)";s:4:"desc";s:58:"Activate to add the custom text below to the theme footer.";s:2:"id";s:16:"woo_footer_right";s:3:"std";s:5:"false";s:4:"type";s:8:"checkbox";}i:64;a:5:{s:4:"name";s:19:"Custom Text (Right)";s:4:"desc";s:66:"Custom HTML and Text that will appear in the footer of your theme.";s:2:"id";s:21:"woo_footer_right_text";s:3:"std";s:0:"";s:4:"type";s:8:"textarea";}i:65;a:3:{s:4:"name";s:19:"Subscribe & Connect";s:4:"type";s:7:"heading";s:4:"icon";s:7:"connect";}i:66;a:5:{s:4:"name";s:40:"Enable Subscribe & Connect - Single Post";s:4:"desc";s:169:"Enable the subscribe & connect area on single posts. You can also add this as a widget in your sidebar.";s:2:"id";s:11:"woo_connect";s:3:"std";s:4:"true";s:4:"type";s:8:"checkbox";}i:67;a:5:{s:4:"name";s:15:"Subscribe Title";s:4:"desc";s:57:"Enter the title to show in your subscribe & connect area.";s:2:"id";s:17:"woo_connect_title";s:3:"std";s:0:"";s:4:"type";s:4:"text";}i:68;a:5:{s:4:"name";s:4:"Text";s:4:"desc";s:37:"Change the default text in this area.";s:2:"id";s:19:"woo_connect_content";s:3:"std";s:0:"";s:4:"type";s:8:"textarea";}i:69;a:5:{s:4:"name";s:35:"Subscribe By E-mail ID (Feedburner)";s:4:"desc";s:146:"Enter your Feedburner ID for the e-mail subscription form.";s:2:"id";s:25:"woo_connect_newsletter_id";s:3:"std";s:0:"";s:4:"type";s:4:"text";}i:70;a:5:{s:4:"name";s:10:"Enable RSS";s:4:"desc";s:34:"Enable the subscribe and RSS icon.";s:2:"id";s:15:"woo_connect_rss";s:3:"std";s:4:"true";s:4:"type";s:8:"checkbox";}i:71;a:5:{s:4:"name";s:11:"Twitter URL";s:4:"desc";s:99:"Enter your Twitter URL e.g. http://www.twitter.com/woothemes";s:2:"id";s:19:"woo_connect_twitter";s:3:"std";s:0:"";s:4:"type";s:4:"text";}i:72;a:5:{s:4:"name";s:12:"Facebook URL";s:4:"desc";s:102:"Enter your Facebook URL e.g. http://www.facebook.com/woothemes";s:2:"id";s:20:"woo_connect_facebook";s:3:"std";s:0:"";s:4:"type";s:4:"text";}i:73;a:5:{s:4:"name";s:11:"Blogger URL";s:4:"desc";s:61:"Enter your Blogger URL";s:2:"id";s:19:"woo_connect_blogger";s:3:"std";s:0:"";s:4:"type";s:4:"text";}i:74;a:5:{s:4:"name";s:11:"YouTube URL";s:4:"desc";s:99:"Enter your YouTube URL e.g. http://www.youtube.com/woothemes";s:2:"id";s:19:"woo_connect_youtube";s:3:"std";s:0:"";s:4:"type";s:4:"text";}i:75;a:5:{s:4:"name";s:10:"Flickr URL";s:4:"desc";s:96:"Enter your Flickr URL e.g. http://www.flickr.com/woothemes";s:2:"id";s:18:"woo_connect_flickr";s:3:"std";s:0:"";s:4:"type";s:4:"text";}i:76;a:5:{s:4:"name";s:12:"LinkedIn URL";s:4:"desc";s:113:"Enter your LinkedIn URL e.g. http://www.linkedin.com/in/woothemes";s:2:"id";s:20:"woo_connect_linkedin";s:3:"std";s:0:"";s:4:"type";s:4:"text";}i:77;a:5:{s:4:"name";s:13:"Delicious URL";s:4:"desc";s:104:"Enter your Delicious URL e.g. http://www.delicious.com/woothemes";s:2:"id";s:21:"woo_connect_delicious";s:3:"std";s:0:"";s:4:"type";s:4:"text";}i:78;a:5:{s:4:"name";s:20:"Enable Related Posts";s:4:"desc";s:158:"Enable related posts in the subscribe area. Uses posts with the same tags to find related posts. Note: Will not show in the Subscribe widget.";s:2:"id";s:19:"woo_connect_related";s:3:"std";s:4:"true";s:4:"type";s:8:"checkbox";}}', 'yes'), (325, 0, 'widget_dc_jqaccordion_widget', 'a:3:{i:2;a:0:{}i:3;a:14:{s:5:"title";s:0:"";s:8:"nav_menu";i:0;s:9:"autoClose";N;s:9:"menuClose";N;s:9:"saveState";N;s:10:"autoExpand";N;s:11:"disableLink";N;s:12:"classDisable";N;s:9:"classMenu";N;s:9:"showCount";N;s:5:"event";s:0:"";s:4:"skin";N;s:5:"speed";N;s:10:"hoverDelay";N;}s:12:"_multiwidget";i:1;}', 'yes'), (326, 0, 'nav_menu_options', 'a:2:{i:0;b:0;s:8:"auto_add";a:0:{}}', 'yes'), (174, 0, 'woo_themename', 'Original House', 'yes'), (175, 0, 'woo_shortname', 'woo', 'yes'), (176, 0, 'woo_manual', '', 'yes'), -(177, 0, 'woo_custom_template', 'a:5:{i:0;a:4:{s:4:"name";s:5:"image";s:5:"label";s:5:"Image";s:4:"type";s:6:"upload";s:4:"desc";s:32:"Upload an image or enter an URL.";}i:1;a:6:{s:4:"name";s:16:"_image_alignment";s:3:"std";s:6:"Center";s:5:"label";s:20:"Image Crop Alignment";s:4:"type";s:7:"select2";s:4:"desc";s:39:"Select crop alignment for resized image";s:7:"options";a:5:{s:1:"c";s:6:"Center";s:1:"t";s:3:"Top";s:1:"b";s:6:"Bottom";s:1:"l";s:4:"Left";s:1:"r";s:5:"Right";}}i:2;a:6:{s:4:"name";s:7:"_layout";s:3:"std";s:6:"normal";s:5:"label";s:6:"Layout";s:4:"type";s:6:"images";s:4:"desc";s:54:"Select the layout you want on this specific post/page.";s:7:"options";a:4:{s:14:"layout-default";s:94:"http://localhost/originalhouse/wp-content/themes/originalhouse/functions/images/layout-off.png";s:11:"layout-full";s:86:"http://localhost/originalhouse/wp-content/themes/originalhouse/functions/images/1c.png";s:19:"layout-left-content";s:87:"http://localhost/originalhouse/wp-content/themes/originalhouse/functions/images/2cl.png";s:20:"layout-right-content";s:87:"http://localhost/originalhouse/wp-content/themes/originalhouse/functions/images/2cr.png";}}i:3;a:4:{s:4:"name";s:5:"image";s:5:"label";s:11:"Slide Image";s:4:"type";s:6:"upload";s:4:"desc";s:51:"Upload an image or enter an URL to your slide image";}i:4;a:4:{s:4:"name";s:3:"url";s:5:"label";s:3:"URL";s:4:"type";s:4:"text";s:4:"desc";s:80:"Enter URL if you want to add a link to the uploaded image and title. (optional) ";}}', 'yes'), +(177, 0, 'woo_custom_template', 'a:0:{}', 'yes'), +(804, 0, 'mfbfw_active_version', '2.7.5', 'yes'), +(805, 0, 'mfbfw_showTitle', 'on', 'yes'), +(806, 0, 'mfbfw_border', '', 'yes'), +(807, 0, 'mfbfw_borderColor', '#BBBBBB', 'yes'), +(808, 0, 'mfbfw_closeHorPos', 'right', 'yes'), +(685, 0, 'tubepress-fluidThumbs', '1', 'yes'), (367, 0, 'youtube_media_username', '', 'yes'), (457, 0, 'wpsc_version', '3.8.4', 'yes'), -(369, 0, 'tubepress-version', '200', 'yes'), +(369, 0, 'tubepress-version', '225', 'yes'), (178, 0, 'woo_alt_stylesheet', 'default.css', 'yes'), (179, 0, 'woo_logo', 'http://localhost/originalhouse/wp-content/uploads/2011/06/logo-rojo.gif', 'yes'), (180, 0, 'woo_texttitle', 'false', 'yes'), @@ -423,12 +433,12 @@ INSERT INTO `wp_options` (`option_id`, `blog_id`, `option_name`, `option_value`, (233, 0, 'woo_pis_hard_crop', 'true', 'yes'), (234, 0, 'woo_resize', 'true', 'yes'), (235, 0, 'woo_auto_img', 'false', 'yes'), -(236, 0, 'woo_thumb_w', '160', 'yes'), -(237, 0, 'woo_thumb_h', '160', 'yes'), +(236, 0, 'woo_thumb_w', '250', 'yes'), +(237, 0, 'woo_thumb_h', '250', 'yes'), (238, 0, 'woo_thumb_align', 'alignleft', 'yes'), (239, 0, 'woo_thumb_single', 'true', 'yes'), -(240, 0, 'woo_single_w', '200', 'yes'), -(241, 0, 'woo_single_h', '200', 'yes'), +(240, 0, 'woo_single_w', '300', 'yes'), +(241, 0, 'woo_single_h', '300', 'yes'), (242, 0, 'woo_thumb_single_align', 'alignright', 'yes'), (243, 0, 'woo_rss_thumb', 'false', 'yes'), (244, 0, 'woo_footer_social', 'true', 'yes'), @@ -450,35 +460,34 @@ INSERT INTO `wp_options` (`option_id`, `blog_id`, `option_name`, `option_value`, (260, 0, 'woo_connect_delicious', '', 'yes'), (261, 0, 'woo_connect_related', 'false', 'yes'), (377, 0, 'tubepress-playlistValue', 'D2B04665B213AE35', 'yes'), -(262, 0, 'woo_settings_encode', 'PHVsPjxsaT48c3Ryb25nPndvb19hbHRfc3R5bGVzaGVldDwvc3Ryb25nPiAtIGRlZmF1bHQuY3NzPC9saT48bGk+PHN0cm9uZz53b29fbG9nbzwvc3Ryb25nPiAtIGh0dHA6Ly9sb2NhbGhvc3Qvb3JpZ2luYWxob3VzZS93cC1jb250ZW50L3VwbG9hZHMvMjAxMS8wNi9sb2dvLXJvam8uZ2lmPC9saT48bGk+PHN0cm9uZz53b29fdGV4dHRpdGxlPC9zdHJvbmc+IC0gZmFsc2U8L2xpPjxsaT48c3Ryb25nPndvb19mb250X3NpdGVfdGl0bGU8L3N0cm9uZz4gLSBBcnJheTwvbGk+PGxpPjxzdHJvbmc+d29vX3RhZ2xpbmU8L3N0cm9uZz4gLSBmYWxzZTwvbGk+PGxpPjxzdHJvbmc+d29vX2ZvbnRfdGFnbGluZTwvc3Ryb25nPiAtIEFycmF5PC9saT48bGk+PHN0cm9uZz53b29fY3VzdG9tX2Zhdmljb248L3N0cm9uZz4gLSA8L2xpPjxsaT48c3Ryb25nPndvb19nb29nbGVfYW5hbHl0aWNzPC9zdHJvbmc+IC0gPC9saT48bGk+PHN0cm9uZz53b29fZmVlZF91cmw8L3N0cm9uZz4gLSA8L2xpPjxsaT48c3Ryb25nPndvb19zdWJzY3JpYmVfZW1haWw8L3N0cm9uZz4gLSA8L2xpPjxsaT48c3Ryb25nPndvb19jb250YWN0Zm9ybV9lbWFpbDwvc3Ryb25nPiAtIDwvbGk+PGxpPjxzdHJvbmc+d29vX2N1c3RvbV9jc3M8L3N0cm9uZz4gLSA8L2xpPjxsaT48c3Ryb25nPndvb19jb21tZW50czwvc3Ryb25nPiAtIHBvc3Q8L2xpPjxsaT48c3Ryb25nPndvb19wb3N0X2NvbnRlbnQ8L3N0cm9uZz4gLSBleGNlcnB0PC9saT48bGk+PHN0cm9uZz53b29fcG9zdF9hdXRob3I8L3N0cm9uZz4gLSBmYWxzZTwvbGk+PGxpPjxzdHJvbmc+d29vX2JyZWFkY3J1bWJzX3Nob3c8L3N0cm9uZz4gLSBmYWxzZTwvbGk+PGxpPjxzdHJvbmc+d29vX3RpdGxlX3Nob3c8L3N0cm9uZz4gLSBmYWxzZTwvbGk+PGxpPjxzdHJvbmc+d29vX3BhZ2luYXRpb25fdHlwZTwvc3Ryb25nPiAtIHBhZ2luYXRlZF9saW5rczwvbGk+PGxpPjxzdHJvbmc+d29vX2JvZHlfY29sb3I8L3N0cm9uZz4gLSAjMDAwMDAwPC9saT48bGk+PHN0cm9uZz53b29fYm9keV9pbWc8L3N0cm9uZz4gLSBodHRwOi8vbG9jYWxob3N0L29yaWdpbmFsaG91c2Uvd3AtY29udGVudC91cGxvYWRzLzIwMTEvMDYvZm9uZG9udWV2YXdlYi5qcGc8L2xpPjxsaT48c3Ryb25nPndvb19ib2R5X3JlcGVhdDwvc3Ryb25nPiAtIG5vLXJlcGVhdDwvbGk+PGxpPjxzdHJvbmc+d29vX2JvZHlfcG9zPC9zdHJvbmc+IC0gY2VudGVyIGNlbnRlcjwvbGk+PGxpPjxzdHJvbmc+d29vX2xpbmtfY29sb3I8L3N0cm9uZz4gLSAjN2Y3ODc1PC9saT48bGk+PHN0cm9uZz53b29fbGlua19ob3Zlcl9jb2xvcjwvc3Ryb25nPiAtICNmZmY8L2xpPjxsaT48c3Ryb25nPndvb19idXR0b25fY29sb3I8L3N0cm9uZz4gLSAjN2Y3ODc1PC9saT48bGk+PHN0cm9uZz53b29fdHlwb2dyYXBoeTwvc3Ryb25nPiAtIHRydWU8L2xpPjxsaT48c3Ryb25nPndvb19mb250X2JvZHk8L3N0cm9uZz4gLSBBcnJheTwvbGk+PGxpPjxzdHJvbmc+d29vX2ZvbnRfbmF2PC9zdHJvbmc+IC0gQXJyYXk8L2xpPjxsaT48c3Ryb25nPndvb19mb250X3Bvc3RfdGl0bGU8L3N0cm9uZz4gLSBBcnJheTwvbGk+PGxpPjxzdHJvbmc+d29vX2ZvbnRfcG9zdF9tZXRhPC9zdHJvbmc+IC0gQXJyYXk8L2xpPjxsaT48c3Ryb25nPndvb19mb250X3Bvc3RfZW50cnk8L3N0cm9uZz4gLSBBcnJheTwvbGk+PGxpPjxzdHJvbmc+d29vX2ZvbnRfd2lkZ2V0X3RpdGxlczwvc3Ryb25nPiAtIEFycmF5PC9saT48bGk+PHN0cm9uZz53b29faG9tZV9pbnRybzwvc3Ryb25nPiAtIFNpIHR1IGNhc2Egc2UgcGFyZWNlIGEgdG9kYXMsIG5vc290cm9zIG5vIHRlbmVtb3MgbGEgY3VscGE8L2xpPjxsaT48c3Ryb25nPndvb19zbGlkZXI8L3N0cm9uZz4gLSBmYWxzZTwvbGk+PGxpPjxzdHJvbmc+d29vX3NsaWRlcl9lbnRyaWVzPC9zdHJvbmc+IC0gMTk8L2xpPjxsaT48c3Ryb25nPndvb19zbGlkZXJfY29udGVudDwvc3Ryb25nPiAtIGZhbHNlPC9saT48bGk+PHN0cm9uZz53b29fc2xpZGVyX3NwZWVkPC9zdHJvbmc+IC0gNTAwPC9saT48bGk+PHN0cm9uZz53b29fc2xpZGVyX2F1dG88L3N0cm9uZz4gLSB0cnVlPC9saT48bGk+PHN0cm9uZz53b29fc2xpZGVyX2ludGVydmFsPC9zdHJvbmc+IC0gNjAwMDwvbGk+PGxpPjxzdHJvbmc+d29vX3NpdGVfbGF5b3V0PC9zdHJvbmc+IC0gbGF5b3V0LWZ1bGw8L2xpPjxsaT48c3Ryb25nPndvb19wb3N0X2ltYWdlX3N1cHBvcnQ8L3N0cm9uZz4gLSB0cnVlPC9saT48bGk+PHN0cm9uZz53b29fcGlzX3Jlc2l6ZTwvc3Ryb25nPiAtIHRydWU8L2xpPjxsaT48c3Ryb25nPndvb19waXNfaGFyZF9jcm9wPC9zdHJvbmc+IC0gdHJ1ZTwvbGk+PGxpPjxzdHJvbmc+d29vX3Jlc2l6ZTwvc3Ryb25nPiAtIHRydWU8L2xpPjxsaT48c3Ryb25nPndvb19hdXRvX2ltZzwvc3Ryb25nPiAtIGZhbHNlPC9saT48bGk+PHN0cm9uZz53b29fdGh1bWJfdzwvc3Ryb25nPiAtIDE2MDwvbGk+PGxpPjxzdHJvbmc+d29vX3RodW1iX2g8L3N0cm9uZz4gLSAxNjA8L2xpPjxsaT48c3Ryb25nPndvb190aHVtYl9hbGlnbjwvc3Ryb25nPiAtIGFsaWdubGVmdDwvbGk+PGxpPjxzdHJvbmc+d29vX3RodW1iX3NpbmdsZTwvc3Ryb25nPiAtIHRydWU8L2xpPjxsaT48c3Ryb25nPndvb19zaW5nbGVfdzwvc3Ryb25nPiAtIDIwMDwvbGk+PGxpPjxzdHJvbmc+d29vX3NpbmdsZV9oPC9zdHJvbmc+IC0gMjAwPC9saT48bGk+PHN0cm9uZz53b29fdGh1bWJfc2luZ2xlX2FsaWduPC9zdHJvbmc+IC0gYWxpZ25yaWdodDwvbGk+PGxpPjxzdHJvbmc+d29vX3Jzc190aHVtYjwvc3Ryb25nPiAtIGZhbHNlPC9saT48bGk+PHN0cm9uZz53b29fZm9vdGVyX3NvY2lhbDwvc3Ryb25nPiAtIHRydWU8L2xpPjxsaT48c3Ryb25nPndvb19mb290ZXJfYWZmX2xpbms8L3N0cm9uZz4gLSA8L2xpPjxsaT48c3Ryb25nPndvb19mb290ZXJfbGVmdDwvc3Ryb25nPiAtIHRydWU8L2xpPjxsaT48c3Ryb25nPndvb19mb290ZXJfbGVmdF90ZXh0PC9zdHJvbmc+IC0gPC9saT48bGk+PHN0cm9uZz53b29fZm9vdGVyX3JpZ2h0PC9zdHJvbmc+IC0gdHJ1ZTwvbGk+PGxpPjxzdHJvbmc+d29vX2Zvb3Rlcl9yaWdodF90ZXh0PC9zdHJvbmc+IC0gPC9saT48bGk+PHN0cm9uZz53b29fY29ubmVjdDwvc3Ryb25nPiAtIHRydWU8L2xpPjxsaT48c3Ryb25nPndvb19jb25uZWN0X3RpdGxlPC9zdHJvbmc+IC0gPC9saT48bGk+PHN0cm9uZz53b29fY29ubmVjdF9jb250ZW50PC9zdHJvbmc+IC0gPC9saT48bGk+PHN0cm9uZz53b29fY29ubmVjdF9uZXdzbGV0dGVyX2lkPC9zdHJvbmc+IC0gPC9saT48bGk+PHN0cm9uZz53b29fY29ubmVjdF9yc3M8L3N0cm9uZz4gLSB0cnVlPC9saT48bGk+PHN0cm9uZz53b29fY29ubmVjdF90d2l0dGVyPC9zdHJvbmc+IC0gaHR0cDovL3R3aXR0ZXIuY29tLyMhL29yaWdpbmFsaG91c2VzbDwvbGk+PGxpPjxzdHJvbmc+d29vX2Nvbm5lY3RfZmFjZWJvb2s8L3N0cm9uZz4gLSBodHRwOi8vd3d3LmZhY2Vib29rLmNvbS9wYWdlcy9PUklHSU5BTC1IT1VTRS1Nb2JpbGlhcmlvLXktZGVjb3JhY2lvbi8xNjEzNjUwMDEzNjM8L2xpPjxsaT48c3Ryb25nPndvb19jb25uZWN0X2Jsb2dnZXI8L3N0cm9uZz4gLSBodHRwOi8vZWxibG9nZGVvcmlnaW5hbGhvdXNlLmJsb2dzcG90LmNvbS88L2xpPjxsaT48c3Ryb25nPndvb19jb25uZWN0X3lvdXR1YmU8L3N0cm9uZz4gLSA8L2xpPjxsaT48c3Ryb25nPndvb19jb25uZWN0X2ZsaWNrcjwvc3Ryb25nPiAtIDwvbGk+PGxpPjxzdHJvbmc+d29vX2Nvbm5lY3RfbGlua2VkaW48L3N0cm9uZz4gLSA8L2xpPjxsaT48c3Ryb25nPndvb19jb25uZWN0X2RlbGljaW91czwvc3Ryb25nPiAtIDwvbGk+PGxpPjxzdHJvbmc+d29vX2Nvbm5lY3RfcmVsYXRlZDwvc3Ryb25nPiAtIGZhbHNlPC9saT48L3VsPg==', 'yes'), -(449, 0, '_site_transient_timeout_poptags_40cd750bba9870f18aada2478b24840a', '1309810718', 'yes'), -(450, 0, '_site_transient_poptags_40cd750bba9870f18aada2478b24840a', 'a:40:{s:6:"widget";a:3:{s:4:"name";s:6:"widget";s:4:"slug";s:6:"widget";s:5:"count";s:4:"2477";}s:4:"post";a:3:{s:4:"name";s:4:"Post";s:4:"slug";s:4:"post";s:5:"count";s:4:"1672";}s:6:"plugin";a:3:{s:4:"name";s:6:"plugin";s:4:"slug";s:6:"plugin";s:5:"count";s:4:"1488";}s:5:"posts";a:3:{s:4:"name";s:5:"posts";s:4:"slug";s:5:"posts";s:5:"count";s:4:"1249";}s:5:"admin";a:3:{s:4:"name";s:5:"admin";s:4:"slug";s:5:"admin";s:5:"count";s:4:"1237";}s:7:"sidebar";a:3:{s:4:"name";s:7:"sidebar";s:4:"slug";s:7:"sidebar";s:5:"count";s:4:"1202";}s:8:"comments";a:3:{s:4:"name";s:8:"comments";s:4:"slug";s:8:"comments";s:5:"count";s:3:"881";}s:6:"images";a:3:{s:4:"name";s:6:"images";s:4:"slug";s:6:"images";s:5:"count";s:3:"809";}s:7:"twitter";a:3:{s:4:"name";s:7:"twitter";s:4:"slug";s:7:"twitter";s:5:"count";s:3:"778";}s:4:"page";a:3:{s:4:"name";s:4:"page";s:4:"slug";s:4:"page";s:5:"count";s:3:"758";}s:6:"google";a:3:{s:4:"name";s:6:"google";s:4:"slug";s:6:"google";s:5:"count";s:3:"739";}s:5:"links";a:3:{s:4:"name";s:5:"links";s:4:"slug";s:5:"links";s:5:"count";s:3:"686";}s:5:"image";a:3:{s:4:"name";s:5:"image";s:4:"slug";s:5:"image";s:5:"count";s:3:"675";}s:3:"seo";a:3:{s:4:"name";s:3:"seo";s:4:"slug";s:3:"seo";s:5:"count";s:3:"600";}s:3:"rss";a:3:{s:4:"name";s:3:"rss";s:4:"slug";s:3:"rss";s:5:"count";s:3:"530";}s:7:"gallery";a:3:{s:4:"name";s:7:"gallery";s:4:"slug";s:7:"gallery";s:5:"count";s:3:"517";}s:7:"widgets";a:3:{s:4:"name";s:7:"widgets";s:4:"slug";s:7:"widgets";s:5:"count";s:3:"445";}s:5:"pages";a:3:{s:4:"name";s:5:"pages";s:4:"slug";s:5:"pages";s:5:"count";s:3:"443";}s:4:"ajax";a:3:{s:4:"name";s:4:"AJAX";s:4:"slug";s:4:"ajax";s:5:"count";s:3:"439";}s:9:"wordpress";a:3:{s:4:"name";s:9:"wordpress";s:4:"slug";s:9:"wordpress";s:5:"count";s:3:"430";}s:8:"facebook";a:3:{s:4:"name";s:8:"Facebook";s:4:"slug";s:8:"facebook";s:5:"count";s:3:"428";}s:6:"social";a:3:{s:4:"name";s:6:"social";s:4:"slug";s:6:"social";s:5:"count";s:3:"400";}s:9:"shortcode";a:3:{s:4:"name";s:9:"shortcode";s:4:"slug";s:9:"shortcode";s:5:"count";s:3:"389";}s:6:"jquery";a:3:{s:4:"name";s:6:"jquery";s:4:"slug";s:6:"jquery";s:5:"count";s:3:"379";}s:10:"javascript";a:3:{s:4:"name";s:10:"javascript";s:4:"slug";s:10:"javascript";s:5:"count";s:3:"373";}s:4:"feed";a:3:{s:4:"name";s:4:"feed";s:4:"slug";s:4:"feed";s:5:"count";s:3:"355";}s:10:"buddypress";a:3:{s:4:"name";s:10:"buddypress";s:4:"slug";s:10:"buddypress";s:5:"count";s:3:"354";}s:5:"photo";a:3:{s:4:"name";s:5:"photo";s:4:"slug";s:5:"photo";s:5:"count";s:3:"354";}s:5:"video";a:3:{s:4:"name";s:5:"video";s:4:"slug";s:5:"video";s:5:"count";s:3:"350";}s:5:"email";a:3:{s:4:"name";s:5:"email";s:4:"slug";s:5:"email";s:5:"count";s:3:"345";}s:5:"media";a:3:{s:4:"name";s:5:"media";s:4:"slug";s:5:"media";s:5:"count";s:3:"345";}s:6:"photos";a:3:{s:4:"name";s:6:"photos";s:4:"slug";s:6:"photos";s:5:"count";s:3:"340";}s:5:"flash";a:3:{s:4:"name";s:5:"flash";s:4:"slug";s:5:"flash";s:5:"count";s:3:"328";}s:4:"tags";a:3:{s:4:"name";s:4:"tags";s:4:"slug";s:4:"tags";s:5:"count";s:3:"318";}s:5:"stats";a:3:{s:4:"name";s:5:"stats";s:4:"slug";s:5:"stats";s:5:"count";s:3:"312";}s:4:"link";a:3:{s:4:"name";s:4:"link";s:4:"slug";s:4:"link";s:5:"count";s:3:"309";}s:7:"content";a:3:{s:4:"name";s:7:"content";s:4:"slug";s:7:"content";s:5:"count";s:3:"301";}s:8:"category";a:3:{s:4:"name";s:8:"category";s:4:"slug";s:8:"category";s:5:"count";s:3:"289";}s:7:"comment";a:3:{s:4:"name";s:7:"comment";s:4:"slug";s:7:"comment";s:5:"count";s:3:"289";}s:4:"spam";a:3:{s:4:"name";s:4:"spam";s:4:"slug";s:4:"spam";s:5:"count";s:3:"283";}}', 'yes'), -(448, 0, '_site_transient_update_core', 'O:8:"stdClass":3:{s:7:"updates";a:2:{i:0;O:8:"stdClass":7:{s:8:"response";s:6:"latest";s:3:"url";s:24:"http://es.wordpress.org/";s:7:"package";s:49:"http://es.wordpress.org/wordpress-3.1.4-es_ES.zip";s:7:"current";s:5:"3.1.4";s:6:"locale";s:5:"es_ES";s:11:"php_version";s:3:"4.3";s:13:"mysql_version";s:5:"4.1.2";}i:1;O:8:"stdClass":7:{s:8:"response";s:6:"latest";s:3:"url";s:30:"http://wordpress.org/download/";s:7:"package";s:40:"http://wordpress.org/wordpress-3.1.4.zip";s:7:"current";s:5:"3.1.4";s:6:"locale";s:5:"en_US";s:11:"php_version";s:3:"4.3";s:13:"mysql_version";s:5:"4.1.2";}}s:12:"last_checked";i:1309793459;s:15:"version_checked";s:5:"3.1.4";}', 'yes'), +(262, 0, 'woo_settings_encode', 'PHVsPjxsaT48c3Ryb25nPndvb19hbHRfc3R5bGVzaGVldDwvc3Ryb25nPiAtIGRlZmF1bHQuY3NzPC9saT48bGk+PHN0cm9uZz53b29fbG9nbzwvc3Ryb25nPiAtIGh0dHA6Ly9sb2NhbGhvc3Qvb3JpZ2luYWxob3VzZS93cC1jb250ZW50L3VwbG9hZHMvMjAxMS8wNi9sb2dvLXJvam8uZ2lmPC9saT48bGk+PHN0cm9uZz53b29fdGV4dHRpdGxlPC9zdHJvbmc+IC0gZmFsc2U8L2xpPjxsaT48c3Ryb25nPndvb19mb250X3NpdGVfdGl0bGU8L3N0cm9uZz4gLSBBcnJheTwvbGk+PGxpPjxzdHJvbmc+d29vX3RhZ2xpbmU8L3N0cm9uZz4gLSBmYWxzZTwvbGk+PGxpPjxzdHJvbmc+d29vX2ZvbnRfdGFnbGluZTwvc3Ryb25nPiAtIEFycmF5PC9saT48bGk+PHN0cm9uZz53b29fY3VzdG9tX2Zhdmljb248L3N0cm9uZz4gLSA8L2xpPjxsaT48c3Ryb25nPndvb19nb29nbGVfYW5hbHl0aWNzPC9zdHJvbmc+IC0gPC9saT48bGk+PHN0cm9uZz53b29fZmVlZF91cmw8L3N0cm9uZz4gLSA8L2xpPjxsaT48c3Ryb25nPndvb19zdWJzY3JpYmVfZW1haWw8L3N0cm9uZz4gLSA8L2xpPjxsaT48c3Ryb25nPndvb19jb250YWN0Zm9ybV9lbWFpbDwvc3Ryb25nPiAtIDwvbGk+PGxpPjxzdHJvbmc+d29vX2N1c3RvbV9jc3M8L3N0cm9uZz4gLSA8L2xpPjxsaT48c3Ryb25nPndvb19jb21tZW50czwvc3Ryb25nPiAtIHBvc3Q8L2xpPjxsaT48c3Ryb25nPndvb19wb3N0X2NvbnRlbnQ8L3N0cm9uZz4gLSBleGNlcnB0PC9saT48bGk+PHN0cm9uZz53b29fcG9zdF9hdXRob3I8L3N0cm9uZz4gLSBmYWxzZTwvbGk+PGxpPjxzdHJvbmc+d29vX2JyZWFkY3J1bWJzX3Nob3c8L3N0cm9uZz4gLSBmYWxzZTwvbGk+PGxpPjxzdHJvbmc+d29vX3RpdGxlX3Nob3c8L3N0cm9uZz4gLSBmYWxzZTwvbGk+PGxpPjxzdHJvbmc+d29vX3BhZ2luYXRpb25fdHlwZTwvc3Ryb25nPiAtIHBhZ2luYXRlZF9saW5rczwvbGk+PGxpPjxzdHJvbmc+d29vX2JvZHlfY29sb3I8L3N0cm9uZz4gLSAjMDAwMDAwPC9saT48bGk+PHN0cm9uZz53b29fYm9keV9pbWc8L3N0cm9uZz4gLSBodHRwOi8vbG9jYWxob3N0L29yaWdpbmFsaG91c2Uvd3AtY29udGVudC91cGxvYWRzLzIwMTEvMDYvZm9uZG9udWV2YXdlYi5qcGc8L2xpPjxsaT48c3Ryb25nPndvb19ib2R5X3JlcGVhdDwvc3Ryb25nPiAtIG5vLXJlcGVhdDwvbGk+PGxpPjxzdHJvbmc+d29vX2JvZHlfcG9zPC9zdHJvbmc+IC0gY2VudGVyIGNlbnRlcjwvbGk+PGxpPjxzdHJvbmc+d29vX2xpbmtfY29sb3I8L3N0cm9uZz4gLSAjN2Y3ODc1PC9saT48bGk+PHN0cm9uZz53b29fbGlua19ob3Zlcl9jb2xvcjwvc3Ryb25nPiAtICNmZmY8L2xpPjxsaT48c3Ryb25nPndvb19idXR0b25fY29sb3I8L3N0cm9uZz4gLSAjN2Y3ODc1PC9saT48bGk+PHN0cm9uZz53b29fdHlwb2dyYXBoeTwvc3Ryb25nPiAtIHRydWU8L2xpPjxsaT48c3Ryb25nPndvb19mb250X2JvZHk8L3N0cm9uZz4gLSBBcnJheTwvbGk+PGxpPjxzdHJvbmc+d29vX2ZvbnRfbmF2PC9zdHJvbmc+IC0gQXJyYXk8L2xpPjxsaT48c3Ryb25nPndvb19mb250X3Bvc3RfdGl0bGU8L3N0cm9uZz4gLSBBcnJheTwvbGk+PGxpPjxzdHJvbmc+d29vX2ZvbnRfcG9zdF9tZXRhPC9zdHJvbmc+IC0gQXJyYXk8L2xpPjxsaT48c3Ryb25nPndvb19mb250X3Bvc3RfZW50cnk8L3N0cm9uZz4gLSBBcnJheTwvbGk+PGxpPjxzdHJvbmc+d29vX2ZvbnRfd2lkZ2V0X3RpdGxlczwvc3Ryb25nPiAtIEFycmF5PC9saT48bGk+PHN0cm9uZz53b29faG9tZV9pbnRybzwvc3Ryb25nPiAtIFNpIHR1IGNhc2Egc2UgcGFyZWNlIGEgdG9kYXMsIG5vc290cm9zIG5vIHRlbmVtb3MgbGEgY3VscGE8L2xpPjxsaT48c3Ryb25nPndvb19zbGlkZXI8L3N0cm9uZz4gLSBmYWxzZTwvbGk+PGxpPjxzdHJvbmc+d29vX3NsaWRlcl9lbnRyaWVzPC9zdHJvbmc+IC0gMTk8L2xpPjxsaT48c3Ryb25nPndvb19zbGlkZXJfY29udGVudDwvc3Ryb25nPiAtIGZhbHNlPC9saT48bGk+PHN0cm9uZz53b29fc2xpZGVyX3NwZWVkPC9zdHJvbmc+IC0gNTAwPC9saT48bGk+PHN0cm9uZz53b29fc2xpZGVyX2F1dG88L3N0cm9uZz4gLSB0cnVlPC9saT48bGk+PHN0cm9uZz53b29fc2xpZGVyX2ludGVydmFsPC9zdHJvbmc+IC0gNjAwMDwvbGk+PGxpPjxzdHJvbmc+d29vX3NpdGVfbGF5b3V0PC9zdHJvbmc+IC0gbGF5b3V0LWZ1bGw8L2xpPjxsaT48c3Ryb25nPndvb19wb3N0X2ltYWdlX3N1cHBvcnQ8L3N0cm9uZz4gLSB0cnVlPC9saT48bGk+PHN0cm9uZz53b29fcGlzX3Jlc2l6ZTwvc3Ryb25nPiAtIHRydWU8L2xpPjxsaT48c3Ryb25nPndvb19waXNfaGFyZF9jcm9wPC9zdHJvbmc+IC0gdHJ1ZTwvbGk+PGxpPjxzdHJvbmc+d29vX3Jlc2l6ZTwvc3Ryb25nPiAtIHRydWU8L2xpPjxsaT48c3Ryb25nPndvb19hdXRvX2ltZzwvc3Ryb25nPiAtIGZhbHNlPC9saT48bGk+PHN0cm9uZz53b29fdGh1bWJfdzwvc3Ryb25nPiAtIDI1MDwvbGk+PGxpPjxzdHJvbmc+d29vX3RodW1iX2g8L3N0cm9uZz4gLSAyNTA8L2xpPjxsaT48c3Ryb25nPndvb190aHVtYl9hbGlnbjwvc3Ryb25nPiAtIGFsaWdubGVmdDwvbGk+PGxpPjxzdHJvbmc+d29vX3RodW1iX3NpbmdsZTwvc3Ryb25nPiAtIHRydWU8L2xpPjxsaT48c3Ryb25nPndvb19zaW5nbGVfdzwvc3Ryb25nPiAtIDMwMDwvbGk+PGxpPjxzdHJvbmc+d29vX3NpbmdsZV9oPC9zdHJvbmc+IC0gMzAwPC9saT48bGk+PHN0cm9uZz53b29fdGh1bWJfc2luZ2xlX2FsaWduPC9zdHJvbmc+IC0gYWxpZ25yaWdodDwvbGk+PGxpPjxzdHJvbmc+d29vX3Jzc190aHVtYjwvc3Ryb25nPiAtIGZhbHNlPC9saT48bGk+PHN0cm9uZz53b29fZm9vdGVyX3NvY2lhbDwvc3Ryb25nPiAtIHRydWU8L2xpPjxsaT48c3Ryb25nPndvb19mb290ZXJfYWZmX2xpbms8L3N0cm9uZz4gLSA8L2xpPjxsaT48c3Ryb25nPndvb19mb290ZXJfbGVmdDwvc3Ryb25nPiAtIHRydWU8L2xpPjxsaT48c3Ryb25nPndvb19mb290ZXJfbGVmdF90ZXh0PC9zdHJvbmc+IC0gPC9saT48bGk+PHN0cm9uZz53b29fZm9vdGVyX3JpZ2h0PC9zdHJvbmc+IC0gdHJ1ZTwvbGk+PGxpPjxzdHJvbmc+d29vX2Zvb3Rlcl9yaWdodF90ZXh0PC9zdHJvbmc+IC0gPC9saT48bGk+PHN0cm9uZz53b29fY29ubmVjdDwvc3Ryb25nPiAtIHRydWU8L2xpPjxsaT48c3Ryb25nPndvb19jb25uZWN0X3RpdGxlPC9zdHJvbmc+IC0gPC9saT48bGk+PHN0cm9uZz53b29fY29ubmVjdF9jb250ZW50PC9zdHJvbmc+IC0gPC9saT48bGk+PHN0cm9uZz53b29fY29ubmVjdF9uZXdzbGV0dGVyX2lkPC9zdHJvbmc+IC0gPC9saT48bGk+PHN0cm9uZz53b29fY29ubmVjdF9yc3M8L3N0cm9uZz4gLSB0cnVlPC9saT48bGk+PHN0cm9uZz53b29fY29ubmVjdF90d2l0dGVyPC9zdHJvbmc+IC0gaHR0cDovL3R3aXR0ZXIuY29tLyMhL29yaWdpbmFsaG91c2VzbDwvbGk+PGxpPjxzdHJvbmc+d29vX2Nvbm5lY3RfZmFjZWJvb2s8L3N0cm9uZz4gLSBodHRwOi8vd3d3LmZhY2Vib29rLmNvbS9wYWdlcy9PUklHSU5BTC1IT1VTRS1Nb2JpbGlhcmlvLXktZGVjb3JhY2lvbi8xNjEzNjUwMDEzNjM8L2xpPjxsaT48c3Ryb25nPndvb19jb25uZWN0X2Jsb2dnZXI8L3N0cm9uZz4gLSBodHRwOi8vZWxibG9nZGVvcmlnaW5hbGhvdXNlLmJsb2dzcG90LmNvbS88L2xpPjxsaT48c3Ryb25nPndvb19jb25uZWN0X3lvdXR1YmU8L3N0cm9uZz4gLSA8L2xpPjxsaT48c3Ryb25nPndvb19jb25uZWN0X2ZsaWNrcjwvc3Ryb25nPiAtIDwvbGk+PGxpPjxzdHJvbmc+d29vX2Nvbm5lY3RfbGlua2VkaW48L3N0cm9uZz4gLSA8L2xpPjxsaT48c3Ryb25nPndvb19jb25uZWN0X2RlbGljaW91czwvc3Ryb25nPiAtIDwvbGk+PGxpPjxzdHJvbmc+d29vX2Nvbm5lY3RfcmVsYXRlZDwvc3Ryb25nPiAtIGZhbHNlPC9saT48L3VsPg==', 'yes'), +(800, 0, '_site_transient_timeout_poptags_40cd750bba9870f18aada2478b24840a', '1309892695', 'yes'), +(801, 0, '_site_transient_poptags_40cd750bba9870f18aada2478b24840a', 'a:40:{s:6:"widget";a:3:{s:4:"name";s:6:"widget";s:4:"slug";s:6:"widget";s:5:"count";s:4:"2477";}s:4:"post";a:3:{s:4:"name";s:4:"Post";s:4:"slug";s:4:"post";s:5:"count";s:4:"1672";}s:6:"plugin";a:3:{s:4:"name";s:6:"plugin";s:4:"slug";s:6:"plugin";s:5:"count";s:4:"1488";}s:5:"posts";a:3:{s:4:"name";s:5:"posts";s:4:"slug";s:5:"posts";s:5:"count";s:4:"1249";}s:5:"admin";a:3:{s:4:"name";s:5:"admin";s:4:"slug";s:5:"admin";s:5:"count";s:4:"1237";}s:7:"sidebar";a:3:{s:4:"name";s:7:"sidebar";s:4:"slug";s:7:"sidebar";s:5:"count";s:4:"1202";}s:8:"comments";a:3:{s:4:"name";s:8:"comments";s:4:"slug";s:8:"comments";s:5:"count";s:3:"881";}s:6:"images";a:3:{s:4:"name";s:6:"images";s:4:"slug";s:6:"images";s:5:"count";s:3:"809";}s:7:"twitter";a:3:{s:4:"name";s:7:"twitter";s:4:"slug";s:7:"twitter";s:5:"count";s:3:"778";}s:4:"page";a:3:{s:4:"name";s:4:"page";s:4:"slug";s:4:"page";s:5:"count";s:3:"758";}s:6:"google";a:3:{s:4:"name";s:6:"google";s:4:"slug";s:6:"google";s:5:"count";s:3:"739";}s:5:"links";a:3:{s:4:"name";s:5:"links";s:4:"slug";s:5:"links";s:5:"count";s:3:"686";}s:5:"image";a:3:{s:4:"name";s:5:"image";s:4:"slug";s:5:"image";s:5:"count";s:3:"675";}s:3:"seo";a:3:{s:4:"name";s:3:"seo";s:4:"slug";s:3:"seo";s:5:"count";s:3:"600";}s:3:"rss";a:3:{s:4:"name";s:3:"rss";s:4:"slug";s:3:"rss";s:5:"count";s:3:"530";}s:7:"gallery";a:3:{s:4:"name";s:7:"gallery";s:4:"slug";s:7:"gallery";s:5:"count";s:3:"517";}s:7:"widgets";a:3:{s:4:"name";s:7:"widgets";s:4:"slug";s:7:"widgets";s:5:"count";s:3:"445";}s:5:"pages";a:3:{s:4:"name";s:5:"pages";s:4:"slug";s:5:"pages";s:5:"count";s:3:"443";}s:4:"ajax";a:3:{s:4:"name";s:4:"AJAX";s:4:"slug";s:4:"ajax";s:5:"count";s:3:"439";}s:9:"wordpress";a:3:{s:4:"name";s:9:"wordpress";s:4:"slug";s:9:"wordpress";s:5:"count";s:3:"430";}s:8:"facebook";a:3:{s:4:"name";s:8:"Facebook";s:4:"slug";s:8:"facebook";s:5:"count";s:3:"428";}s:6:"social";a:3:{s:4:"name";s:6:"social";s:4:"slug";s:6:"social";s:5:"count";s:3:"400";}s:9:"shortcode";a:3:{s:4:"name";s:9:"shortcode";s:4:"slug";s:9:"shortcode";s:5:"count";s:3:"389";}s:6:"jquery";a:3:{s:4:"name";s:6:"jquery";s:4:"slug";s:6:"jquery";s:5:"count";s:3:"379";}s:10:"javascript";a:3:{s:4:"name";s:10:"javascript";s:4:"slug";s:10:"javascript";s:5:"count";s:3:"373";}s:4:"feed";a:3:{s:4:"name";s:4:"feed";s:4:"slug";s:4:"feed";s:5:"count";s:3:"355";}s:10:"buddypress";a:3:{s:4:"name";s:10:"buddypress";s:4:"slug";s:10:"buddypress";s:5:"count";s:3:"354";}s:5:"photo";a:3:{s:4:"name";s:5:"photo";s:4:"slug";s:5:"photo";s:5:"count";s:3:"354";}s:5:"video";a:3:{s:4:"name";s:5:"video";s:4:"slug";s:5:"video";s:5:"count";s:3:"350";}s:5:"email";a:3:{s:4:"name";s:5:"email";s:4:"slug";s:5:"email";s:5:"count";s:3:"345";}s:5:"media";a:3:{s:4:"name";s:5:"media";s:4:"slug";s:5:"media";s:5:"count";s:3:"345";}s:6:"photos";a:3:{s:4:"name";s:6:"photos";s:4:"slug";s:6:"photos";s:5:"count";s:3:"340";}s:5:"flash";a:3:{s:4:"name";s:5:"flash";s:4:"slug";s:5:"flash";s:5:"count";s:3:"328";}s:4:"tags";a:3:{s:4:"name";s:4:"tags";s:4:"slug";s:4:"tags";s:5:"count";s:3:"318";}s:5:"stats";a:3:{s:4:"name";s:5:"stats";s:4:"slug";s:5:"stats";s:5:"count";s:3:"312";}s:4:"link";a:3:{s:4:"name";s:4:"link";s:4:"slug";s:4:"link";s:5:"count";s:3:"309";}s:7:"content";a:3:{s:4:"name";s:7:"content";s:4:"slug";s:7:"content";s:5:"count";s:3:"301";}s:8:"category";a:3:{s:4:"name";s:8:"category";s:4:"slug";s:8:"category";s:5:"count";s:3:"289";}s:7:"comment";a:3:{s:4:"name";s:7:"comment";s:4:"slug";s:7:"comment";s:5:"count";s:3:"289";}s:4:"spam";a:3:{s:4:"name";s:4:"spam";s:4:"slug";s:4:"spam";s:5:"count";s:3:"283";}}', 'yes'), (370, 0, 'tubepress-playerColor', '999999', 'yes'), (371, 0, 'tubepress-playerHighlight', '000000', 'yes'), (372, 0, 'tubepress-mode', 'user', 'yes'), (373, 0, 'tubepress-dateFormat', 'M j, Y', 'yes'), (375, 0, 'tubepress-videoBlacklist', '', 'yes'), -(376, 0, 'tubepress-favoritesValue', 'OriginalHouseDecor', 'yes'); -INSERT INTO `wp_options` (`option_id`, `blog_id`, `option_name`, `option_value`, `autoload`) VALUES +(376, 0, 'tubepress-favoritesValue', 'OriginalHouseDecor', 'yes'), (268, 0, 'woo_framework_template', 'a:20:{i:0;a:3:{s:4:"name";s:18:"Framework Settings";s:4:"icon";s:7:"general";s:4:"type";s:7:"heading";}i:1;a:6:{s:4:"name";s:21:"Super User (username)";s:4:"desc";s:251:"Enter your username to hide the Framework Settings and Update Framework from other users. Can be reset from the WP options page under framework_woo_super_user.";s:2:"id";s:24:"framework_woo_super_user";s:3:"std";s:0:"";s:5:"class";s:4:"text";s:4:"type";s:4:"text";}i:2;a:5:{s:4:"name";s:21:"Disable SEO Menu Item";s:4:"desc";s:61:"Disable the SEO menu item in the theme menu.";s:2:"id";s:25:"framework_woo_seo_disable";s:3:"std";s:0:"";s:4:"type";s:8:"checkbox";}i:3;a:5:{s:4:"name";s:33:"Disable Sidebar Manager Menu Item";s:4:"desc";s:73:"Disable the Sidebar Manager menu item in the theme menu.";s:2:"id";s:25:"framework_woo_sbm_disable";s:3:"std";s:0:"";s:4:"type";s:8:"checkbox";}i:4;a:5:{s:4:"name";s:28:"Disable Buy Themes Menu Item";s:4:"desc";s:68:"Disable the Buy Themes menu item in the theme menu.";s:2:"id";s:32:"framework_woo_buy_themes_disable";s:3:"std";s:0:"";s:4:"type";s:8:"checkbox";}i:5;a:5:{s:4:"name";s:24:"Enable Custom Navigation";s:4:"desc";s:187:"Enable the old Custom Navigation menu item. Try to use WP Menus instead, as this function is outdated.";s:2:"id";s:20:"framework_woo_woonav";s:3:"std";s:0:"";s:4:"type";s:8:"checkbox";}i:6;a:5:{s:4:"name";s:25:"Theme Update Notification";s:4:"desc";s:101:"This will enable notices on your theme options page that there is an update available for your theme.";s:2:"id";s:35:"framework_woo_theme_version_checker";s:3:"std";s:0:"";s:4:"type";s:8:"checkbox";}i:7;a:5:{s:4:"name";s:29:"Disable Shortcodes Stylesheet";s:4:"desc";s:76:"This disables the output of shortcodes.css in the HEAD section of your site.";s:2:"id";s:32:"framework_woo_disable_shortcodes";s:3:"std";s:0:"";s:4:"type";s:8:"checkbox";}i:8;a:5:{s:4:"name";s:26:"Remove Generator Meta Tags";s:4:"desc";s:81:"This disables the output of generator meta tags in the HEAD section of your site.";s:2:"id";s:31:"framework_woo_disable_generator";s:3:"std";s:0:"";s:4:"type";s:8:"checkbox";}i:9;a:5:{s:4:"name";s:17:"Image Placeholder";s:4:"desc";s:151:"Set a default image placeholder for your thumbnails. Use this if you want a default image to be shown if you haven''t added a custom image to your post.";s:2:"id";s:27:"framework_woo_default_image";s:3:"std";s:0:"";s:4:"type";s:6:"upload";}i:10;a:3:{s:4:"name";s:8:"Branding";s:4:"icon";s:4:"misc";s:4:"type";s:7:"heading";}i:11;a:5:{s:4:"name";s:20:"Options panel header";s:4:"desc";s:50:"Change the header image for the WooThemes Backend.";s:2:"id";s:34:"framework_woo_backend_header_image";s:3:"std";s:0:"";s:4:"type";s:6:"upload";}i:12;a:5:{s:4:"name";s:18:"Options panel icon";s:4:"desc";s:56:"Change the icon image for the WordPress backend sidebar.";s:2:"id";s:26:"framework_woo_backend_icon";s:3:"std";s:0:"";s:4:"type";s:6:"upload";}i:13;a:5:{s:4:"name";s:20:"WordPress login logo";s:4:"desc";s:51:"Change the logo image for the WordPress login page.";s:2:"id";s:31:"framework_woo_custom_login_logo";s:3:"std";s:0:"";s:4:"type";s:6:"upload";}i:14;a:3:{s:4:"name";s:15:"Import / Export";s:4:"icon";s:4:"misc";s:4:"type";s:7:"heading";}i:15;a:5:{s:4:"name";s:14:"Import Options";s:4:"desc";s:59:"Import the options from another installation of this theme.";s:2:"id";s:28:"framework_woo_import_options";s:3:"std";s:0:"";s:4:"type";s:8:"textarea";}i:16;a:5:{s:4:"name";s:14:"Export Options";s:4:"desc";s:94:"Export the options to another installation of this theme, or to keep a backup of your options.";s:2:"id";s:28:"framework_woo_export_options";s:3:"std";s:5416:"YTo3Mzp7czoxOToic2JtX3dvb19zYm1fb3B0aW9ucyI7czo3MzoiYToyOntzOjg6InNpZGViYXJzIjthOjA6e31zOjg6InNldHRpbmdzIjthOjE6e3M6NzoiaW5mb2JveCI7czo0OiJzaG93Ijt9fSI7czoxODoid29vX2FsdF9zdHlsZXNoZWV0IjtzOjExOiJkZWZhdWx0LmNzcyI7czoxMjoid29vX2F1dG9faW1nIjtzOjU6ImZhbHNlIjtzOjE0OiJ3b29fYm9keV9jb2xvciI7czo3OiIjMDAwMDAwIjtzOjEyOiJ3b29fYm9keV9pbWciO3M6NzU6Imh0dHA6Ly9sb2NhbGhvc3Qvb3JpZ2luYWxob3VzZS93cC1jb250ZW50L3VwbG9hZHMvMjAxMS8wNi9mb25kb251ZXZhd2ViLmpwZyI7czoxMjoid29vX2JvZHlfcG9zIjtzOjEzOiJjZW50ZXIgY2VudGVyIjtzOjE1OiJ3b29fYm9keV9yZXBlYXQiO3M6OToibm8tcmVwZWF0IjtzOjIwOiJ3b29fYnJlYWRjcnVtYnNfc2hvdyI7czo1OiJmYWxzZSI7czoxNjoid29vX2J1dHRvbl9jb2xvciI7czo3OiIjN2Y3ODc1IjtzOjEyOiJ3b29fY29tbWVudHMiO3M6NDoicG9zdCI7czoxMToid29vX2Nvbm5lY3QiO3M6NDoidHJ1ZSI7czoxOToid29vX2Nvbm5lY3RfYmxvZ2dlciI7czo0MjoiaHR0cDovL2VsYmxvZ2Rlb3JpZ2luYWxob3VzZS5ibG9nc3BvdC5jb20vIjtzOjE5OiJ3b29fY29ubmVjdF9jb250ZW50IjtzOjA6IiI7czoyMToid29vX2Nvbm5lY3RfZGVsaWNpb3VzIjtzOjA6IiI7czoyMDoid29vX2Nvbm5lY3RfZmFjZWJvb2siO3M6ODE6Imh0dHA6Ly93d3cuZmFjZWJvb2suY29tL3BhZ2VzL09SSUdJTkFMLUhPVVNFLU1vYmlsaWFyaW8teS1kZWNvcmFjaW9uLzE2MTM2NTAwMTM2MyI7czoxODoid29vX2Nvbm5lY3RfZmxpY2tyIjtzOjA6IiI7czoyMDoid29vX2Nvbm5lY3RfbGlua2VkaW4iO3M6MDoiIjtzOjI1OiJ3b29fY29ubmVjdF9uZXdzbGV0dGVyX2lkIjtzOjA6IiI7czoxOToid29vX2Nvbm5lY3RfcmVsYXRlZCI7czo1OiJmYWxzZSI7czoxNToid29vX2Nvbm5lY3RfcnNzIjtzOjQ6InRydWUiO3M6MTc6Indvb19jb25uZWN0X3RpdGxlIjtzOjA6IiI7czoxOToid29vX2Nvbm5lY3RfdHdpdHRlciI7czozNzoiaHR0cDovL3R3aXR0ZXIuY29tLyMhL29yaWdpbmFsaG91c2VzbCI7czoxOToid29vX2Nvbm5lY3RfeW91dHViZSI7czowOiIiO3M6MjE6Indvb19jb250YWN0Zm9ybV9lbWFpbCI7czowOiIiO3M6MTQ6Indvb19jdXN0b21fY3NzIjtzOjA6IiI7czoxODoid29vX2N1c3RvbV9mYXZpY29uIjtzOjA6IiI7czoxMjoid29vX2ZlZWRfdXJsIjtzOjA6IiI7czoxMzoid29vX2ZvbnRfYm9keSI7czoxMzM6ImE6NTp7czo0OiJzaXplIjtzOjI6IjE4IjtzOjQ6InVuaXQiO3M6MjoicHgiO3M6NDoiZmFjZSI7czoxNzoiWWFub25lIEthZmZlZXNhdHoiO3M6NToic3R5bGUiO3M6Njoibm9ybWFsIjtzOjU6ImNvbG9yIjtzOjc6IiM5OTk5OTkiO30iO3M6MTI6Indvb19mb250X25hdiI7czoxMzM6ImE6NTp7czo0OiJzaXplIjtzOjI6IjIwIjtzOjQ6InVuaXQiO3M6MjoicHgiO3M6NDoiZmFjZSI7czoxNzoiWWFub25lIEthZmZlZXNhdHoiO3M6NToic3R5bGUiO3M6Njoibm9ybWFsIjtzOjU6ImNvbG9yIjtzOjc6IiM1NTU1NTUiO30iO3M6MTk6Indvb19mb250X3Bvc3RfZW50cnkiO3M6MTI2OiJhOjU6e3M6NDoic2l6ZSI7czoyOiIxNiI7czo0OiJ1bml0IjtzOjI6InB4IjtzOjQ6ImZhY2UiO3M6MTA6IkRyb2lkIFNhbnMiO3M6NToic3R5bGUiO3M6Njoibm9ybWFsIjtzOjU6ImNvbG9yIjtzOjc6IiM5OTk5OTkiO30iO3M6MTg6Indvb19mb250X3Bvc3RfbWV0YSI7czoxMjY6ImE6NTp7czo0OiJzaXplIjtzOjI6IjEyIjtzOjQ6InVuaXQiO3M6MjoicHgiO3M6NDoiZmFjZSI7czoxMDoiRHJvaWQgU2FucyI7czo1OiJzdHlsZSI7czo2OiJub3JtYWwiO3M6NToiY29sb3IiO3M6NzoiIzk5OTk5OSI7fSI7czoxOToid29vX2ZvbnRfcG9zdF90aXRsZSI7czoxMzE6ImE6NTp7czo0OiJzaXplIjtzOjI6IjI0IjtzOjQ6InVuaXQiO3M6MjoicHgiO3M6NDoiZmFjZSI7czoxNzoiWWFub25lIEthZmZlZXNhdHoiO3M6NToic3R5bGUiO3M6NDoiYm9sZCI7czo1OiJjb2xvciI7czo3OiIjMjIyMjIyIjt9IjtzOjE5OiJ3b29fZm9udF9zaXRlX3RpdGxlIjtzOjE1OToiYTo1OntzOjQ6InNpemUiO3M6MjoiNDAiO3M6NDoidW5pdCI7czoyOiJweCI7czo0OiJmYWNlIjtzOjQzOiJDYWxpYnJpLCBDYW5kYXJhLCBTZWdvZSwgT3B0aW1hLCBzYW5zLXNlcmlmIjtzOjU6InN0eWxlIjtzOjY6Im5vcm1hbCI7czo1OiJjb2xvciI7czo3OiIjRkZGRkZGIjt9IjtzOjE2OiJ3b29fZm9udF90YWdsaW5lIjtzOjEzMzoiYTo1OntzOjQ6InNpemUiO3M6MjoiMTgiO3M6NDoidW5pdCI7czoyOiJweCI7czo0OiJmYWNlIjtzOjE3OiJZYW5vbmUgS2FmZmVlc2F0eiI7czo1OiJzdHlsZSI7czo2OiJub3JtYWwiO3M6NToiY29sb3IiO3M6NzoiIzk5OTk5OSI7fSI7czoyMjoid29vX2ZvbnRfd2lkZ2V0X3RpdGxlcyI7czoxMzQ6ImE6NTp7czo0OiJzaXplIjtzOjI6IjE2IjtzOjQ6InVuaXQiO3M6MjoicHgiO3M6NDoiZmFjZSI7czoyMDoiVGVybWluYWwgRG9zaXMgTGlnaHQiO3M6NToic3R5bGUiO3M6NDoiYm9sZCI7czo1OiJjb2xvciI7czo3OiIjNTU1NTU1Ijt9IjtzOjE5OiJ3b29fZm9vdGVyX2FmZl9saW5rIjtzOjA6IiI7czoxNToid29vX2Zvb3Rlcl9sZWZ0IjtzOjQ6InRydWUiO3M6MjA6Indvb19mb290ZXJfbGVmdF90ZXh0IjtzOjA6IiI7czoxNjoid29vX2Zvb3Rlcl9yaWdodCI7czo0OiJ0cnVlIjtzOjIxOiJ3b29fZm9vdGVyX3JpZ2h0X3RleHQiO3M6MDoiIjtzOjE3OiJ3b29fZm9vdGVyX3NvY2lhbCI7czo0OiJ0cnVlIjtzOjIwOiJ3b29fZ29vZ2xlX2FuYWx5dGljcyI7czowOiIiO3M6MTQ6Indvb19ob21lX2ludHJvIjtzOjU4OiJTaSB0dSBjYXNhIHNlIHBhcmVjZSBhIHRvZGFzLCBub3NvdHJvcyBubyB0ZW5lbW9zIGxhIGN1bHBhIjtzOjE0OiJ3b29fbGlua19jb2xvciI7czo3OiIjN2Y3ODc1IjtzOjIwOiJ3b29fbGlua19ob3Zlcl9jb2xvciI7czo0OiIjZmZmIjtzOjg6Indvb19sb2dvIjtzOjcxOiJodHRwOi8vbG9jYWxob3N0L29yaWdpbmFsaG91c2Uvd3AtY29udGVudC91cGxvYWRzLzIwMTEvMDYvbG9nby1yb2pvLmdpZiI7czoxOToid29vX3BhZ2luYXRpb25fdHlwZSI7czoxNToicGFnaW5hdGVkX2xpbmtzIjtzOjE3OiJ3b29fcGlzX2hhcmRfY3JvcCI7czo0OiJ0cnVlIjtzOjE0OiJ3b29fcGlzX3Jlc2l6ZSI7czo0OiJ0cnVlIjtzOjE1OiJ3b29fcG9zdF9hdXRob3IiO3M6NToiZmFsc2UiO3M6MTY6Indvb19wb3N0X2NvbnRlbnQiO3M6NzoiZXhjZXJwdCI7czoyMjoid29vX3Bvc3RfaW1hZ2Vfc3VwcG9ydCI7czo0OiJ0cnVlIjtzOjEwOiJ3b29fcmVzaXplIjtzOjQ6InRydWUiO3M6MTM6Indvb19yc3NfdGh1bWIiO3M6NToiZmFsc2UiO3M6MTI6Indvb19zaW5nbGVfaCI7czozOiIyMDAiO3M6MTI6Indvb19zaW5nbGVfdyI7czozOiIyMDAiO3M6MTU6Indvb19zaXRlX2xheW91dCI7czoxMToibGF5b3V0LWZ1bGwiO3M6MTA6Indvb19zbGlkZXIiO3M6NToiZmFsc2UiO3M6MTU6Indvb19zbGlkZXJfYXV0byI7czo0OiJ0cnVlIjtzOjE4OiJ3b29fc2xpZGVyX2NvbnRlbnQiO3M6NToiZmFsc2UiO3M6MTg6Indvb19zbGlkZXJfZW50cmllcyI7czoyOiIxOSI7czoxOToid29vX3NsaWRlcl9pbnRlcnZhbCI7czo0OiI2MDAwIjtzOjE2OiJ3b29fc2xpZGVyX3NwZWVkIjtzOjM6IjUwMCI7czoxOToid29vX3N1YnNjcmliZV9lbWFpbCI7czowOiIiO3M6MTE6Indvb190YWdsaW5lIjtzOjU6ImZhbHNlIjtzOjEzOiJ3b29fdGV4dHRpdGxlIjtzOjU6ImZhbHNlIjtzOjE1OiJ3b29fdGh1bWJfYWxpZ24iO3M6OToiYWxpZ25sZWZ0IjtzOjExOiJ3b29fdGh1bWJfaCI7czozOiIxNjAiO3M6MTY6Indvb190aHVtYl9zaW5nbGUiO3M6NDoidHJ1ZSI7czoyMjoid29vX3RodW1iX3NpbmdsZV9hbGlnbiI7czoxMDoiYWxpZ25yaWdodCI7czoxMToid29vX3RodW1iX3ciO3M6MzoiMTYwIjtzOjE0OiJ3b29fdGl0bGVfc2hvdyI7czo1OiJmYWxzZSI7czoxNDoid29vX3R5cG9ncmFwaHkiO3M6NDoidHJ1ZSI7fQ==";s:4:"type";s:8:"textarea";}i:17;a:3:{s:4:"name";s:9:"Admin Bar";s:4:"icon";s:6:"header";s:4:"type";s:7:"heading";}i:18;a:5:{s:4:"name";s:27:"Disable WordPress Admin Bar";s:4:"desc";s:32:"Disable the WordPress Admin Bar.";s:2:"id";s:31:"framework_woo_admin_bar_disable";s:3:"std";s:0:"";s:4:"type";s:8:"checkbox";}i:19;a:5:{s:4:"name";s:46:"Enable the WooFramework Admin Bar enhancements";s:4:"desc";s:130:"Enable several WooFramework-specific enhancements to the WordPress Admin Bar, such as custom navigation items for ''Theme Options''.";s:2:"id";s:36:"framework_woo_admin_bar_enhancements";s:3:"std";s:0:"";s:4:"type";s:8:"checkbox";}}', 'yes'), (267, 0, 'theme_mods_originalhouse', 'a:2:{i:0;b:0;s:18:"nav_menu_locations";a:4:{s:12:"primary-menu";i:10;s:14:"secondary-menu";i:8;s:8:"top-menu";i:0;s:11:"footer-menu";i:0;}}', 'yes'), (456, 0, 'wpsc_purchaselogs_fixed', '1', 'yes'), (269, 0, 'sbm_woo_sbm_options', 'a:2:{s:8:"sidebars";a:0:{}s:8:"settings";a:1:{s:7:"infobox";s:4:"show";}}', 'yes'), -(454, 0, '_transient_timeout_wpsc_theme_path', '1309843276', 'no'), -(455, 0, '_transient_wpsc_theme_path', 'D:\\Trabajo\\OriginalHouse\\trunk\\src\\wp-content\\plugins\\wp-e-commerce/wpsc-theme/', 'no'), +(687, 0, '_transient_timeout_wpsc_theme_path', '1309899937', 'no'), +(688, 0, '_transient_wpsc_theme_path', 'D:\\Trabajo\\OriginalHouse\\trunk\\src\\wp-content\\plugins\\wp-e-commerce/wpsc-theme/', 'no'), (270, 0, 'framework_woo_super_user', 'rodax', 'yes'), (271, 0, 'framework_woo_seo_disable', 'false', 'yes'), (272, 0, 'framework_woo_sbm_disable', 'true', 'yes'), (273, 0, 'framework_woo_buy_themes_disable', 'true', 'yes'), (274, 0, 'framework_woo_woonav', 'false', 'yes'), -(275, 0, 'framework_woo_theme_version_checker', 'true', 'yes'), +(275, 0, 'framework_woo_theme_version_checker', 'false', 'yes'), (276, 0, 'framework_woo_disable_shortcodes', 'false', 'yes'), (277, 0, 'framework_woo_disable_generator', 'false', 'yes'), (278, 0, 'framework_woo_default_image', '', 'yes'), (279, 0, 'framework_woo_backend_header_image', '', 'yes'), (280, 0, 'framework_woo_backend_icon', '', 'yes'), -(281, 0, 'framework_woo_custom_login_logo', '', 'yes'), +(281, 0, 'framework_woo_custom_login_logo', '', 'yes'); +INSERT INTO `wp_options` (`option_id`, `blog_id`, `option_name`, `option_value`, `autoload`) VALUES (285, 0, 'woo_seo_template', 'a:31:{i:0;a:3:{s:4:"name";s:16:"General Settings";s:4:"icon";s:7:"general";s:4:"type";s:7:"heading";}i:1;a:3:{s:4:"name";s:11:"Please Read";s:4:"type";s:4:"info";s:3:"std";s:399:"Welcome to the WooSEO feature.
Here we help you take control of your search engine readiness with some in-built theme options. Our themes do however support some of WordPress.org''s most commonly used SEO plugins - All-in-One SEO Pack, Headspace 2 and WordPress SEO By Yoast. Use the checkbox below to use 3rd party plugin data.";}i:2;a:5:{s:4:"name";s:25:"Use 3rd Party Plugin Data";s:4:"desc";s:198:"Meta data added to custom fields in posts and pages will be extracted and used where applicable. This typically does not include Homepages and Archives, and only Singular templates.";s:2:"id";s:28:"seo_woo_use_third_party_data";s:3:"std";s:5:"false";s:4:"type";s:8:"checkbox";}i:3;a:5:{s:4:"name";s:22:"Hide SEO custom fields";s:4:"desc";s:82:"Check this box to hide the input fields created in the post and page edit screens.";s:2:"id";s:19:"seo_woo_hide_fields";s:3:"std";s:5:"false";s:4:"type";s:8:"checkbox";}i:4;a:3:{s:4:"name";s:10:"Page Title";s:4:"icon";s:4:"misc";s:4:"type";s:7:"heading";}i:5;a:5:{s:4:"name";s:9:"Separator";s:4:"desc";s:54:"Define a new separator character for your page titles.";s:2:"id";s:17:"seo_woo_seperator";s:3:"std";s:1:"|";s:4:"type";s:4:"text";}i:6;a:5:{s:4:"name";s:10:"Blog Title";s:4:"desc";s:90:"NOTE: This is the same setting as per the SETTINGS > GENERAL tab in the WordPress backend.";s:2:"id";s:8:"blogname";s:3:"std";s:0:"";s:4:"type";s:4:"text";}i:7;a:5:{s:4:"name";s:16:"Blog Description";s:4:"desc";s:90:"NOTE: This is the same setting as per the SETTINGS > GENERAL tab in the WordPress backend.";s:2:"id";s:15:"blogdescription";s:3:"std";s:0:"";s:4:"type";s:4:"text";}i:8;a:6:{s:4:"name";s:18:"Enable woo_title()";s:4:"desc";s:153:"woo_title() makes use of WordPress''s built in wp_title() function to control the output for your page titles. It''s also recommended for use with plugins.";s:2:"id";s:16:"seo_woo_wp_title";s:3:"std";s:5:"false";s:5:"class";s:9:"collapsed";s:4:"type";s:8:"checkbox";}i:9;a:6:{s:4:"name";s:21:"Disable Custom Titles";s:4:"desc";s:130:"If you prefer to have uniform titles across you theme. Alternatively they will be generated from custom fields and/or plugin data.";s:2:"id";s:29:"seo_woo_wp_custom_field_title";s:3:"std";s:5:"false";s:5:"class";s:6:"hidden";s:4:"type";s:8:"checkbox";}i:10;a:6:{s:4:"name";s:14:"Paged Variable";s:4:"desc";s:64:"The name variable that will appear then paging through archives.";s:2:"id";s:17:"seo_woo_paged_var";s:3:"std";s:4:"Page";s:5:"class";s:6:"hidden";s:4:"type";s:4:"text";}i:11;a:7:{s:4:"name";s:23:"Paged Variable Position";s:4:"desc";s:57:"Change the position where the paged variable will appear.";s:2:"id";s:21:"seo_woo_paged_var_pos";s:3:"std";s:6:"before";s:5:"class";s:6:"hidden";s:7:"options";a:2:{s:6:"before";s:6:"Before";s:5:"after";s:5:"After";}s:4:"type";s:7:"select2";}i:12;a:7:{s:4:"name";s:21:"Homepage Title Layout";s:4:"desc";s:65:"Define the order the title, description and meta data appears in.";s:2:"id";s:19:"seo_woo_home_layout";s:3:"std";s:0:"";s:5:"class";s:6:"hidden";s:7:"options";a:3:{s:1:"a";s:28:"Blog title; blog description";s:1:"b";s:10:"Blog title";s:1:"c";s:16:"Blog description";}s:4:"type";s:7:"select2";}i:13;a:7:{s:4:"name";s:19:"Single Title Layout";s:4:"desc";s:65:"Define the order the title, description and meta data appears in.";s:2:"id";s:21:"seo_woo_single_layout";s:3:"std";s:0:"";s:5:"class";s:6:"hidden";s:7:"options";a:5:{s:1:"a";s:22:"Page title; Blog title";s:1:"b";s:11:"Page title;";s:1:"c";s:23:"Blog title; Page title;";s:1:"d";s:28:"Page title; Blog description";s:1:"e";s:40:"Blog title; Page title; Blog description";}s:4:"type";s:7:"select2";}i:14;a:7:{s:4:"name";s:17:"Page Title Layout";s:4:"desc";s:65:"Define the order the title, description and meta data appears in.";s:2:"id";s:19:"seo_woo_page_layout";s:3:"std";s:0:"";s:5:"class";s:6:"hidden";s:7:"options";a:5:{s:1:"a";s:22:"Page title; Blog title";s:1:"b";s:11:"Page title;";s:1:"c";s:23:"Blog title; Page title;";s:1:"d";s:28:"Page title; Blog description";s:1:"e";s:40:"Blog title; Page title; Blog description";}s:4:"type";s:7:"select2";}i:15;a:7:{s:4:"name";s:20:"Archive Title Layout";s:4:"desc";s:65:"Define the order the title, description and meta data appears in.";s:2:"id";s:22:"seo_woo_archive_layout";s:3:"std";s:0:"";s:5:"class";s:6:"hidden";s:7:"options";a:5:{s:1:"a";s:22:"Page title; Blog title";s:1:"b";s:11:"Page title;";s:1:"c";s:23:"Blog title; Page title;";s:1:"d";s:28:"Page title; Blog description";s:1:"e";s:40:"Blog title; Page title; Blog description";}s:4:"type";s:7:"select2";}i:16;a:3:{s:4:"name";s:13:"Indexing Meta";s:4:"icon";s:4:"misc";s:4:"type";s:7:"heading";}i:17;a:6:{s:4:"name";s:16:"Archive Indexing";s:4:"desc";s:128:"Select which archives to index on your site. Aids in removing duplicate content from being indexed, preventing content dilution.";s:2:"id";s:21:"seo_woo_meta_indexing";s:3:"std";s:8:"category";s:4:"type";s:10:"multicheck";s:7:"options";a:5:{s:8:"category";s:17:"Category Archives";s:3:"tag";s:12:"Tag Archives";s:6:"author";s:12:"Author Pages";s:6:"search";s:14:"Search Results";s:4:"date";s:13:"Date Archives";}}i:18;a:5:{s:4:"name";s:49:"Set meta for Posts & Pages to ''follow'' by default";s:4:"desc";s:143:"By default the woo_meta(); adds a ''nofollow'' meta to post and pages, meaning search engines will not index pages leading away from these pages.";s:2:"id";s:26:"seo_woo_meta_single_follow";s:3:"std";s:0:"";s:4:"type";s:8:"checkbox";}i:19;a:3:{s:4:"name";s:16:"Description Meta";s:4:"icon";s:4:"misc";s:4:"type";s:7:"heading";}i:20;a:6:{s:4:"name";s:20:"Homepage Description";s:4:"desc";s:61:"Choose where to populate your Homepage meta description from.";s:2:"id";s:22:"seo_woo_meta_home_desc";s:3:"std";s:1:"a";s:7:"options";a:3:{s:1:"a";s:3:"Off";s:1:"b";s:24:"From WP Site Description";s:1:"c";s:32:"From Custom Homepage Description";}s:4:"type";s:5:"radio";}i:21;a:5:{s:4:"name";s:27:"Custom Homepage Description";s:4:"desc";s:47:"Add a custom meta description to your homepage.";s:2:"id";s:29:"seo_woo_meta_home_desc_custom";s:3:"std";s:0:"";s:4:"type";s:8:"textarea";}i:22;a:6:{s:4:"name";s:28:"Single Page/Post Description";s:4:"desc";s:79:"Add your post/page description from custom fields. * See below";s:2:"id";s:24:"seo_woo_meta_single_desc";s:3:"std";s:1:"a";s:7:"options";a:3:{s:1:"a";s:5:"Off *";s:1:"b";s:33:"From Customs Field and/or Plugins";s:1:"c";s:36:"Automatically from Post/Page Content";}s:4:"type";s:5:"radio";}i:23;a:6:{s:4:"name";s:29:"Global Post/Page Descriptions";s:4:"desc";s:189:"Add a custom meta description to your posts and pages. This will only show if no other data is available from the selection above. Will still be added even if setting above is set to "Off".";s:2:"id";s:33:"seo_woo_meta_single_desc_sitewide";s:3:"std";s:0:"";s:5:"class";s:9:"collapsed";s:4:"type";s:8:"checkbox";}i:24;a:6:{s:4:"name";s:22:"Add Global Description";s:4:"desc";s:27:"Add your global decription.";s:2:"id";s:31:"seo_woo_meta_single_desc_custom";s:3:"std";s:0:"";s:5:"class";s:6:"hidden";s:4:"type";s:8:"textarea";}i:25;a:3:{s:4:"name";s:12:"Keyword Meta";s:4:"icon";s:4:"misc";s:4:"type";s:7:"heading";}i:26;a:6:{s:4:"name";s:17:"Homepage Keywords";s:4:"desc";s:61:"Choose where to populate your Homepage meta description from.";s:2:"id";s:21:"seo_woo_meta_home_key";s:3:"std";s:1:"a";s:7:"options";a:2:{s:1:"a";s:3:"Off";s:1:"c";s:29:"From Custom Homepage Keywords";}s:4:"type";s:5:"radio";}i:27;a:5:{s:4:"name";s:24:"Custom Homepage Keywords";s:4:"desc";s:58:"Add a (comma separated) list of keywords to your homepage.";s:2:"id";s:28:"seo_woo_meta_home_key_custom";s:3:"std";s:0:"";s:4:"type";s:8:"textarea";}i:28;a:6:{s:4:"name";s:25:"Single Page/Post Keywords";s:4:"desc";s:75:"Add your post/page keywords from custom field. * See below";s:2:"id";s:23:"seo_woo_meta_single_key";s:3:"std";s:1:"a";s:7:"options";a:3:{s:1:"a";s:5:"Off *";s:1:"b";s:33:"From Custom Fields and/or Plugins";s:1:"c";s:45:"Automatically from Post Tags & Categories";}s:4:"type";s:5:"radio";}i:29;a:6:{s:4:"name";s:25:"Custom Post/Page Keywords";s:4:"desc";s:221:"Add custom meta keywords to your posts and pages. This will only show if no other data is available from the options above. Even if the option above is set to ''Off'', this will still be added to your site.";s:2:"id";s:32:"seo_woo_meta_single_key_sitewide";s:3:"std";s:0:"";s:5:"class";s:9:"collapsed";s:4:"type";s:8:"checkbox";}i:30;a:6:{s:4:"name";s:25:"Custom Post/Page Keywords";s:4:"desc";s:65:"Add a (comma separated) list of keywords to your posts and pages.";s:2:"id";s:30:"seo_woo_meta_single_key_custom";s:3:"std";s:0:"";s:5:"class";s:6:"hidden";s:4:"type";s:8:"textarea";}}', 'yes'), (283, 0, 'framework_woo_admin_bar_disable', 'false', 'yes'), (284, 0, 'framework_woo_admin_bar_enhancements', 'true', 'yes'), @@ -561,10 +570,10 @@ INSERT INTO `wp_options` (`option_id`, `blog_id`, `option_name`, `option_value`, (442, 0, 'tubepress-playerLocation', 'shadowbox', 'yes'), (443, 0, 'tubepress-filter_racy', 'moderate', 'yes'), (444, 0, 'tubepress-playerImplementation', 'provider_based', 'yes'), -(445, 0, 'tubepress-theme', 'youtube', 'yes'), +(445, 0, 'tubepress-theme', 'default', 'yes'), (446, 0, 'woo_title_show', 'false', 'yes'), (447, 0, '_transient_plugins_delete_result_1', '1', 'yes'), -(459, 0, 'wpsc_needs_update', '1', 'yes'), +(459, 0, 'wpsc_needs_update', '', 'yes'), (460, 0, 'show_subcatsprods_in_cat', '0', 'yes'), (461, 0, 'wpsc_share_this', '0', 'yes'), (462, 0, 'wpsc_crop_thumbnails', '0', 'yes'), @@ -630,11 +639,12 @@ INSERT INTO `wp_options` (`option_id`, `blog_id`, `option_name`, `option_value`, (522, 0, 'wpec_taxes_logic', 'billing', 'yes'), (523, 0, 'user_account_url', 'http://localhost/originalhouse/?page_id=130', 'yes'), (525, 0, 'wpsc_checkout_form_sets', 'a:1:{i:0;s:22:"Default Checkout Forms";}', 'yes'), +(831, 0, 'mfbfw_frameHeight', '340', 'yes'), (526, 0, 'wpsc_checkout_form_fields', 'a:13:{s:4:"Text";s:4:"text";s:13:"Email Address";s:5:"email";s:14:"Street Address";s:7:"address";s:4:"City";s:4:"city";s:7:"Country";s:7:"country";s:16:"Delivery Address";s:16:"delivery_address";s:13:"Delivery City";s:13:"delivery_city";s:16:"Delivery Country";s:16:"delivery_country";s:9:"Text Area";s:8:"textarea";s:7:"Heading";s:7:"heading";s:6:"Select";s:6:"select";s:12:"Radio Button";s:5:"radio";s:8:"Checkbox";s:8:"checkbox";}', 'yes'), (527, 0, 'wpsc_checkout_unique_names', 'a:17:{i:0;s:16:"billingfirstname";i:1;s:15:"billinglastname";i:2;s:14:"billingaddress";i:3;s:11:"billingcity";i:4;s:12:"billingstate";i:5;s:14:"billingcountry";i:6;s:12:"billingemail";i:7;s:12:"billingphone";i:8;s:15:"billingpostcode";i:9;s:16:"delivertoafriend";i:10;s:17:"shippingfirstname";i:11;s:16:"shippinglastname";i:12;s:15:"shippingaddress";i:13;s:12:"shippingcity";i:14;s:13:"shippingstate";i:15;s:15:"shippingcountry";i:16;s:16:"shippingpostcode";}', 'yes'), (528, 0, 'wpsc_australiapost_settings', 'a:1:{s:8:"services";a:5:{s:8:"STANDARD";b:1;s:7:"EXPRESS";b:1;s:3:"AIR";b:1;s:3:"SEA";b:1;s:3:"EPI";b:1;}}', 'yes'), -(575, 0, '_transient_timeout_wpsc_url_wpsc-default.css', '1309843670', 'no'), -(576, 0, '_transient_wpsc_url_wpsc-default.css', 'http://localhost/originalhouse/wp-content/plugins/wp-e-commerce/wpsc-theme/wpsc-default.css', 'no'), +(731, 0, '_transient_timeout_wpsc_url_wpsc-default.css', '1309900041', 'no'), +(732, 0, '_transient_wpsc_url_wpsc-default.css', 'http://localhost/originalhouse/wp-content/plugins/wp-e-commerce/wpsc-theme/wpsc-default.css', 'no'), (532, 0, 'widget_wpsc_shopping_cart', 'a:2:{i:2;a:0:{}s:12:"_multiwidget";i:1;}', 'yes'), (531, 0, 'widget_wpsc_product_tags', 'a:2:{i:2;a:0:{}s:12:"_multiwidget";i:1;}', 'yes'), (533, 0, 'widget_wpsc_donations', 'a:2:{i:2;a:0:{}s:12:"_multiwidget";i:1;}', 'yes'), @@ -647,13 +657,16 @@ INSERT INTO `wp_options` (`option_id`, `blog_id`, `option_name`, `option_value`, (540, 0, 'wpsc_trackingid_message', 'Track & Trace means you may track the progress of your parcel with our online parcel tracker, just login to our website and enter the following Tracking ID to view the status of your order.\n\nTracking ID: %trackid%\n', 'yes'), (541, 0, 'wpsc_ignore_theme', '', 'yes'), (545, 0, 'base_country', 'ES', 'yes'), -(547, 0, '_site_transient_update_plugins', 'O:8:"stdClass":3:{s:12:"last_checked";i:1309800430;s:7:"checked";a:12:{s:19:"akismet/akismet.php";s:5:"2.5.3";s:21:"catablog/catablog.php";s:7:"1.2.9.7";s:43:"custom-post-background/custom-post-back.php";s:7:"1.3.1.0";s:9:"hello.php";s:3:"1.6";s:56:"jquery-vertical-accordion-menu/dcwp_jquery_accordion.php";s:3:"2.6";s:51:"make-filename-lowercase/make-filename-lowercase.php";s:5:"1.0.0";s:57:"sanitize-spanish-filenames/sanitize-spanish-filenames.php";s:5:"1.0.2";s:20:"sticky_menu/init.php";s:3:"0.1";s:35:"thecartpress/TheCartPress.class.php";s:5:"1.0.9";s:23:"tubepress/tubepress.php";s:5:"2.2.0";s:34:"wp-e-commerce/wp-shopping-cart.php";s:5:"3.8.4";s:53:"wp-ecommerce-cvs-importer/wp-ecommerce-cvs-import.php";s:5:"1.0.4";}s:8:"response";a:0:{}}', 'yes'), (548, 0, 'tcp_shopping_cart_page_id', '133', 'yes'), (549, 0, 'tcp_checkout_page_id', '134', 'yes'), (550, 0, 'tcp_plugins_data_shi_FreeTrans', 'a:1:{i:0;a:5:{s:6:"active";b:1;s:13:"all_countries";s:3:"yes";s:9:"countries";a:0:{}s:10:"new_status";s:7:"PENDING";s:7:"minimun";i:0;}}', 'yes'), (551, 0, 'tcp_plugins_data_pay_Remboursement', 'a:1:{i:0;a:6:{s:6:"active";b:1;s:13:"all_countries";s:3:"yes";s:9:"countries";a:0:{}s:10:"new_status";s:10:"PROCESSING";s:6:"notice";s:22:"Cash on delivery! (5%)";s:10:"percentage";i:5;}}', 'yes'), -(552, 0, 'tcp_shortcodes_data', 'a:1:{i:0;a:23:{s:2:"id";s:12:"all_products";s:5:"title";s:0:"";s:4:"desc";s:20:"List of all products";s:9:"post_type";s:11:"tcp_product";s:12:"use_taxonomy";b:0;s:8:"taxonomy";s:20:"tcp_product_category";s:8:"included";a:0:{}s:4:"term";s:0:"";s:4:"loop";s:0:"";s:7:"columns";i:2;s:9:"see_title";b:1;s:9:"see_image";b:0;s:10:"image_size";s:9:"thumbnail";s:11:"see_content";b:0;s:11:"see_excerpt";b:1;s:10:"see_author";b:0;s:13:"see_meta_data";b:0;s:18:"see_meta_utilities";b:0;s:9:"see_price";b:0;s:14:"see_buy_button";b:0;s:21:"see_first_custom_area";b:0;s:22:"see_second_custom_area";b:0;s:21:"see_third_custom_area";b:0;}}', 'yes'), -(553, 0, 'tcp_settings', 'a:41:{s:12:"legal_notice";s:15:"Checkout notice";s:16:"stock_management";b:0;s:21:"disable_shopping_cart";b:0;s:17:"user_registration";b:0;s:25:"see_buy_button_in_content";b:1;s:25:"see_buy_button_in_excerpt";b:0;s:20:"see_price_in_content";b:0;s:20:"see_price_in_excerpt";b:1;s:17:"downloadable_path";s:70:"D:TrabajoOriginalHousetrunksrc/wp-content/plugins/thecartpress/uploads";s:19:"load_default_styles";b:1;s:23:"search_engine_activated";b:1;s:8:"currency";s:3:"EUR";s:13:"decimal_point";s:1:".";s:19:"thousands_separator";s:1:",";s:11:"unit_weight";s:2:"gr";s:15:"product_rewrite";s:7:"product";s:16:"category_rewrite";s:8:"category";s:11:"tag_rewrite";s:3:"tag";s:16:"supplier_rewrite";s:8:"supplier";s:13:"hide_visibles";b:0;s:18:"search_engine_guid";s:38:"{DADF5346-9293-45CF-B5D3-25F640748359}";s:15:"currency_layout";s:0:"";s:10:"from_email";s:0:"";s:6:"emails";s:0:"";s:22:"hide_downloadable_menu";b:0;s:17:"enabled_wish_list";b:0;s:18:"prices_include_tax";b:0;s:25:"shipping_cost_include_tax";b:0;s:24:"apply_tax_after_discount";b:0;s:38:"apply_discount_on_prices_including_tax";b:0;s:25:"display_prices_with_taxes";b:0;s:25:"display_Cart_Order_prices";b:0;s:32:"display_shipping_cost_with_taxes";b:0;s:24:"display_full_tax_summary";b:0;s:25:"display_zero_tax_subtotal";b:0;s:17:"products_per_page";i:10;s:20:"see_image_in_content";b:0;s:20:"see_image_in_excerpt";b:0;s:29:"checkout_successfully_message";s:0:"";s:13:"use_tcp_loops";b:0;s:19:"show_back_end_label";b:0;}', 'yes'), +(552, 0, 'tcp_shortcodes_data', 'a:1:{i:0;a:23:{s:2:"id";s:12:"all_products";s:5:"title";s:0:"";s:4:"desc";s:20:"List of all products";s:9:"post_type";s:11:"tcp_product";s:12:"use_taxonomy";b:0;s:8:"taxonomy";s:20:"tcp_product_category";s:8:"included";a:0:{}s:4:"term";s:10:"aparadores";s:4:"loop";s:88:"D:\\\\Trabajo\\\\OriginalHouse\\\\trunk\\\\src/wp-content/themes/originalhouse/loop-tcp-grid.php";s:7:"columns";i:4;s:9:"see_title";b:0;s:9:"see_image";b:0;s:10:"image_size";s:6:"medium";s:11:"see_content";b:0;s:11:"see_excerpt";b:0;s:10:"see_author";b:0;s:13:"see_meta_data";b:0;s:18:"see_meta_utilities";b:0;s:9:"see_price";b:0;s:14:"see_buy_button";b:0;s:21:"see_first_custom_area";b:0;s:22:"see_second_custom_area";b:0;s:21:"see_third_custom_area";b:0;}}', 'yes'), +(553, 0, 'tcp_settings', 'a:53:{s:17:"after_add_to_cart";s:0:"";s:21:"disable_shopping_cart";b:1;s:15:"currency_layout";s:0:"";s:8:"currency";s:3:"EUR";s:16:"decimal_currency";s:1:"2";s:13:"decimal_point";s:1:",";s:19:"thousands_separator";s:1:".";s:11:"unit_weight";s:3:"kg.";s:22:"hide_downloadable_menu";b:1;s:17:"downloadable_path";s:0:"";s:7:"country";s:2:"ES";s:19:"default_tax_country";s:2:"ES";s:18:"prices_include_tax";b:1;s:12:"tax_based_on";s:6:"origin";s:16:"tax_for_shipping";s:1:"0";s:6:"emails";s:0:"";s:10:"from_email";s:0:"";s:12:"legal_notice";s:15:"Checkout notice";s:29:"checkout_successfully_message";s:0:"";s:15:"product_rewrite";s:7:"product";s:16:"category_rewrite";s:8:"category";s:11:"tag_rewrite";s:3:"tag";s:16:"supplier_rewrite";s:8:"supplier";s:13:"use_tcp_loops";b:1;s:17:"products_per_page";i:10;s:20:"see_price_in_content";b:1;s:18:"image_size_content";s:6:"medium";s:19:"image_align_content";s:0:"";s:18:"image_link_content";s:0:"";s:18:"image_size_excerpt";s:9:"thumbnail";s:19:"image_align_excerpt";s:0:"";s:18:"image_link_excerpt";s:0:"";s:23:"search_engine_activated";b:1;s:16:"stock_management";b:0;s:17:"enabled_wish_list";b:0;s:17:"user_registration";b:0;s:25:"shipping_cost_include_tax";b:0;s:24:"apply_tax_after_discount";b:0;s:38:"apply_discount_on_prices_including_tax";b:0;s:25:"display_prices_with_taxes";b:0;s:25:"display_Cart_Order_prices";b:0;s:32:"display_shipping_cost_with_taxes";b:0;s:24:"display_full_tax_summary";b:0;s:25:"display_zero_tax_subtotal";b:0;s:25:"see_buy_button_in_content";b:0;s:25:"see_buy_button_in_excerpt";b:0;s:20:"see_price_in_excerpt";b:0;s:20:"see_image_in_content";b:0;s:20:"see_image_in_excerpt";b:0;s:19:"load_default_styles";b:0;s:13:"hide_visibles";b:0;s:19:"show_back_end_label";b:0;s:18:"search_engine_guid";s:38:"{80A1880A-3505-4665-8D3B-040C732703D8}";}', 'yes'), +(735, 0, 'pub_update_deactivated', 's:130:"a:1:{s:23:"tubepress/tubepress.php";a:2:{s:4:"name";s:23:"tubepress/tubepress.php";s:4:"note";s:26:"Porque está personalizado";}}";', 'yes'), +(795, 0, 'ttc_settings', 'a:14:{s:9:"see_image";b:1;s:10:"image_size";s:9:"thumbnail";s:7:"columns";i:4;s:9:"see_title";b:0;s:11:"see_excerpt";b:0;s:11:"see_content";b:0;s:10:"see_author";b:0;s:9:"see_price";b:0;s:14:"see_buy_button";b:0;s:13:"see_meta_data";b:0;s:18:"see_meta_utilities";b:0;s:21:"see_first_custom_area";b:0;s:22:"see_second_custom_area";b:0;s:21:"see_third_custom_area";b:0;}', 'yes'), +(618, 0, 'term_prices', 'a:1:{i:36;a:2:{s:5:"price";s:0:"";s:7:"checked";s:9:"unchecked";}}', 'yes'), +(680, 0, 'tcp_product_category_children', 'a:3:{i:12;a:12:{i:0;i:17;i:1;i:18;i:2;i:19;i:3;i:20;i:4;i:21;i:5;i:22;i:6;i:23;i:7;i:24;i:8;i:25;i:9;i:26;i:10;i:28;i:11;i:29;}i:26;a:3:{i:0;i:30;i:1;i:31;i:2;i:32;}i:17;a:3:{i:0;i:33;i:1;i:34;i:2;i:35;}}', 'yes'), (554, 0, 'widget_shoppingcartsummary-widget', 'a:2:{i:2;a:0:{}s:12:"_multiwidget";i:1;}', 'yes'), (555, 0, 'widget_shoppingcart-widget', 'a:2:{i:2;a:0:{}s:12:"_multiwidget";i:1;}', 'yes'), (556, 0, 'widget_tcplastvisited-widget', 'a:2:{i:2;a:0:{}s:12:"_multiwidget";i:1;}', 'yes'), @@ -666,7 +679,56 @@ INSERT INTO `wp_options` (`option_id`, `blog_id`, `option_name`, `option_value`, (563, 0, 'widget_commentscustomposttype-widget', 'a:2:{i:2;a:0:{}s:12:"_multiwidget";i:1;}', 'yes'), (564, 0, 'widget_tcpbrotherslist-widget', 'a:2:{i:2;a:0:{}s:12:"_multiwidget";i:1;}', 'yes'), (565, 0, 'widget_checkout-widget', 'a:2:{i:2;a:0:{}s:12:"_multiwidget";i:1;}', 'yes'), -(566, 0, 'tcp_version', '109', 'yes'); +(566, 0, 'tcp_version', '109', 'yes'), +(646, 0, 'tcp_product_supplier_children', 'a:0:{}', 'yes'), +(649, 0, '_transient_timeout_feed_d253e7c9b487cb2e3c129fb2194c2c69', '1309898909', 'no'); +INSERT INTO `wp_options` (`option_id`, `blog_id`, `option_name`, `option_value`, `autoload`) VALUES +(650, 0, '_transient_feed_d253e7c9b487cb2e3c129fb2194c2c69', 'a:4:{s:5:"child";a:1:{s:0:"";a:1:{s:3:"rss";a:1:{i:0;a:6:{s:4:"data";s:3:"\n\n\n";s:7:"attribs";a:1:{s:0:"";a:1:{s:7:"version";s:3:"2.0";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:1:{s:0:"";a:1:{s:7:"channel";a:1:{i:0;a:6:{s:4:"data";s:50:"\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:3:{s:0:"";a:7:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:25:"WordPress e-Commerce Cart";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:23:"http://thecartpress.com";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:27:"WordPress e-Commerce Plugin";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:13:"lastBuildDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Tue, 05 Jul 2011 07:51:27 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"language";a:1:{i:0;a:5:{s:4:"data";s:2:"en";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:9:"generator";a:1:{i:0;a:5:{s:4:"data";s:29:"http://wordpress.org/?v=3.1.3";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"item";a:10:{i:0;a:6:{s:4:"data";s:41:"\n \n \n \n \n \n \n\n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:5:{s:0:"";a:7:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:40:"New Beta release is available, 1.1.0 (4)";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:70:"http://thecartpress.com/2011/07/new-beta-release-is-available-1-1-0-4/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"comments";a:1:{i:0;a:5:{s:4:"data";s:79:"http://thecartpress.com/2011/07/new-beta-release-is-available-1-1-0-4/#comments";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Tue, 05 Jul 2011 07:51:27 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"category";a:1:{i:0;a:5:{s:4:"data";s:13:"Uncategorized";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:31:"http://thecartpress.com/?p=1674";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:725:"New Beta releases for TheCartPress 1.1.0 Newest features of this release Settings: Disabled eCommerce. To use TheCartPress lika a Famework/API Tax: fixed some bugs (Thanks to the community) Ready for sell any saleable post type html5 support Widget TCP Archives: Custom post type support in Archives plugin Custom templates Custom Post types and custom taxonomies manager The major features are ‘Custom Post types and custom taxonomies manager’, ‘Custom templates’ and the new widget called ‘TCP Archives’. So you could create … Continue reading ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:6:"Sensei";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:40:"http://purl.org/rss/1.0/modules/content/";a:1:{s:7:"encoded";a:1:{i:0;a:5:{s:4:"data";s:1802:"

New Beta releases for TheCartPress 1.1.0

\n

Newest features of this release

\n\n

The major features are ‘Custom Post types and custom taxonomies manager’, ‘Custom templates’ and the new widget called ‘TCP Archives’.
\nSo you could create new Custom Post types and taxonomies. You could assign templates to the post types, taxonomies or terms, and with the new widget called ‘TCP Archives’, you could display yearly/weekly/daily/etc links for the different ‘post types’.

\n

And remember, you could create saleable Post types. So, now, you could create more eCommerces in one eCommerce.
\nWith the Custom templates, you’ll can have different looks for the different products you sell in your eCommerce…

\n

Newest features into TheCartPress 1.1.0

\n\n

Download it now, but remember, it’s only for testing purpose.

\n

Enjoy it!

\n";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:36:"http://wellformedweb.org/CommentAPI/";a:1:{s:10:"commentRss";a:1:{i:0;a:5:{s:4:"data";s:75:"http://thecartpress.com/2011/07/new-beta-release-is-available-1-1-0-4/feed/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:38:"http://purl.org/rss/1.0/modules/slash/";a:1:{s:8:"comments";a:1:{i:0;a:5:{s:4:"data";s:1:"0";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:1;a:6:{s:4:"data";s:41:"\n \n \n \n \n \n \n\n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:5:{s:0:"";a:7:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:65:"TheCartPress Product Options new Beta release is available, 1.0.3";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:97:"http://thecartpress.com/2011/06/thecartpress-product-options-new-beta-release-is-available-1-0-3/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"comments";a:1:{i:0;a:5:{s:4:"data";s:106:"http://thecartpress.com/2011/06/thecartpress-product-options-new-beta-release-is-available-1-0-3/#comments";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Mon, 20 Jun 2011 10:55:04 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"category";a:1:{i:0;a:5:{s:4:"data";s:13:"Uncategorized";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:31:"http://thecartpress.com/?p=1615";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:210:"New beta release for TheCartPress-ProductOptions ( or how to add colours and sizes to your products) Newest features of this release Modify all in product-options list Fixed some bugs Download it now. Enjoy it!";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:6:"Sensei";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:40:"http://purl.org/rss/1.0/modules/content/";a:1:{s:7:"encoded";a:1:{i:0;a:5:{s:4:"data";s:329:"

New beta release for TheCartPress-ProductOptions ( or how to add colours and sizes to your products)

\n

Newest features of this release

\n\n

Download it now.

\n

Enjoy it!

\n";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:36:"http://wellformedweb.org/CommentAPI/";a:1:{s:10:"commentRss";a:1:{i:0;a:5:{s:4:"data";s:102:"http://thecartpress.com/2011/06/thecartpress-product-options-new-beta-release-is-available-1-0-3/feed/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:38:"http://purl.org/rss/1.0/modules/slash/";a:1:{s:8:"comments";a:1:{i:0;a:5:{s:4:"data";s:1:"0";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:2;a:6:{s:4:"data";s:41:"\n \n \n \n \n \n \n\n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:5:{s:0:"";a:7:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:40:"New Beta release is available, 1.1.0 (3)";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:70:"http://thecartpress.com/2011/06/new-beta-release-is-available-1-1-0-3/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"comments";a:1:{i:0;a:5:{s:4:"data";s:79:"http://thecartpress.com/2011/06/new-beta-release-is-available-1-1-0-3/#comments";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Mon, 20 Jun 2011 08:25:13 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"category";a:1:{i:0;a:5:{s:4:"data";s:13:"Uncategorized";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:31:"http://thecartpress.com/?p=1611";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:523:"New Beta releases for TheCartPress 1.1.0 Newest features of this release Custom fields designer Checkout improvement: Transaction id Newest features into TheCartPress Checkout editor Billing Options Ex box for checkout Limit in tcp_shortcodes Grid layout (by default) in tcp_shortcodes and Product List Widgets Shipping Cost calculate by states/regions Name of Countries internationalisation tcp_checkout_validate_before_enter filter in Checkout Download it now, but remember, it’s only for testing purpose. Enjoy it!";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:6:"Sensei";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:40:"http://purl.org/rss/1.0/modules/content/";a:1:{s:7:"encoded";a:1:{i:0;a:5:{s:4:"data";s:723:"

New Beta releases for TheCartPress 1.1.0

\n

Newest features of this release

\n\n

Newest features into TheCartPress

\n\n

Download it now, but remember, it’s only for testing purpose.

\n

Enjoy it!

\n";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:36:"http://wellformedweb.org/CommentAPI/";a:1:{s:10:"commentRss";a:1:{i:0;a:5:{s:4:"data";s:75:"http://thecartpress.com/2011/06/new-beta-release-is-available-1-1-0-3/feed/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:38:"http://purl.org/rss/1.0/modules/slash/";a:1:{s:8:"comments";a:1:{i:0;a:5:{s:4:"data";s:1:"0";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:3;a:6:{s:4:"data";s:41:"\n \n \n \n \n \n \n\n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:5:{s:0:"";a:7:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:40:"New Beta release is available, 1.1.0 (2)";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:70:"http://thecartpress.com/2011/06/new-beta-release-is-available-1-1-0-2/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"comments";a:1:{i:0;a:5:{s:4:"data";s:79:"http://thecartpress.com/2011/06/new-beta-release-is-available-1-1-0-2/#comments";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Tue, 14 Jun 2011 07:12:34 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"category";a:1:{i:0;a:5:{s:4:"data";s:13:"Uncategorized";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:31:"http://thecartpress.com/?p=1594";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:463:"New Beta releases for TheCartPress 1.1.0 Newest features of this release Shipping Cost calculate by states/regions Name of Countries internationalisation tcp_checkout_validate_before_enter filter in Checkout Newest features into TheCartPress Checkout editor Billing Options Ex box for checkout Limit in tcp_shortcodes Grid layout (by default) in tcp_shortcodes and Product List Widgets Download it now, but remember, it’s only for testing purpose. Enjoy it!";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:6:"Sensei";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:40:"http://purl.org/rss/1.0/modules/content/";a:1:{s:7:"encoded";a:1:{i:0;a:5:{s:4:"data";s:645:"

New Beta releases for TheCartPress 1.1.0

\n

Newest features of this release

\n\n

Newest features into TheCartPress

\n\n

Download it now, but remember, it’s only for testing purpose.

\n

Enjoy it!

\n";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:36:"http://wellformedweb.org/CommentAPI/";a:1:{s:10:"commentRss";a:1:{i:0;a:5:{s:4:"data";s:75:"http://thecartpress.com/2011/06/new-beta-release-is-available-1-1-0-2/feed/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:38:"http://purl.org/rss/1.0/modules/slash/";a:1:{s:8:"comments";a:1:{i:0;a:5:{s:4:"data";s:1:"0";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:4;a:6:{s:4:"data";s:41:"\n \n \n \n \n \n \n\n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:5:{s:0:"";a:7:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:14:"Showcase group";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:47:"http://thecartpress.com/2011/06/showcase-group/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"comments";a:1:{i:0;a:5:{s:4:"data";s:56:"http://thecartpress.com/2011/06/showcase-group/#comments";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Wed, 08 Jun 2011 11:45:58 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"category";a:1:{i:0;a:5:{s:4:"data";s:13:"Uncategorized";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:31:"http://thecartpress.com/?p=1558";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:207:"The Community of TheCartPress has created a new group called Showcase. In this group everybody could share their works made with TheCartPress. Make a link to your eCommerces, visit the Showcase. Best regards";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:6:"Sensei";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:40:"http://purl.org/rss/1.0/modules/content/";a:1:{s:7:"encoded";a:1:{i:0;a:5:{s:4:"data";s:301:"

The Community of TheCartPress has created a new group called Showcase.

\n

In this group everybody could share their works made with TheCartPress.

\n

Make a link to your eCommerces, visit the Showcase.

\n

Best regards

\n";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:36:"http://wellformedweb.org/CommentAPI/";a:1:{s:10:"commentRss";a:1:{i:0;a:5:{s:4:"data";s:52:"http://thecartpress.com/2011/06/showcase-group/feed/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:38:"http://purl.org/rss/1.0/modules/slash/";a:1:{s:8:"comments";a:1:{i:0;a:5:{s:4:"data";s:1:"0";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:5;a:6:{s:4:"data";s:41:"\n \n \n \n \n \n \n\n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:5:{s:0:"";a:7:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:36:"New Beta release is available, 1.1.0";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:68:"http://thecartpress.com/2011/06/new-beta-release-is-available-1-1-0/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"comments";a:1:{i:0;a:5:{s:4:"data";s:77:"http://thecartpress.com/2011/06/new-beta-release-is-available-1-1-0/#comments";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Wed, 08 Jun 2011 10:16:48 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"category";a:1:{i:0;a:5:{s:4:"data";s:13:"Uncategorized";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:31:"http://thecartpress.com/?p=1555";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:296:"New Beta releases for TheCartPress 1.1.0 Newest features into TheCartPress Checkout editor Billing Options Ex box for checkout Limit in tcp_shortcodes Grid layout (by default) in tcp_shortcodes and Product List Widgets Download it now, but remember, it’s only for testing purpose. Enjoy it!";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:6:"Sensei";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:40:"http://purl.org/rss/1.0/modules/content/";a:1:{s:7:"encoded";a:1:{i:0;a:5:{s:4:"data";s:433:"

New Beta releases for TheCartPress 1.1.0

\n

Newest features into TheCartPress

\n\n

Download it now, but remember, it’s only for testing purpose.

\n

Enjoy it!

\n";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:36:"http://wellformedweb.org/CommentAPI/";a:1:{s:10:"commentRss";a:1:{i:0;a:5:{s:4:"data";s:73:"http://thecartpress.com/2011/06/new-beta-release-is-available-1-1-0/feed/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:38:"http://purl.org/rss/1.0/modules/slash/";a:1:{s:8:"comments";a:1:{i:0;a:5:{s:4:"data";s:1:"0";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:6;a:6:{s:4:"data";s:41:"\n \n \n \n \n \n \n\n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:5:{s:0:"";a:7:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:28:"Product Options plugin 1.0.2";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:61:"http://thecartpress.com/2011/05/product-options-plugin-1-0-2/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"comments";a:1:{i:0;a:5:{s:4:"data";s:70:"http://thecartpress.com/2011/05/product-options-plugin-1-0-2/#comments";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Mon, 30 May 2011 11:45:58 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"category";a:1:{i:0;a:5:{s:4:"data";s:7:"Plugins";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:31:"http://thecartpress.com/?p=1543";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:228:"Launched TheCartPress Product Options 1.0.2, one of the plugins for our e-Commece plugin for WordPress. This new release adds these features: Fix some little bugs Adding new hooks Support TheCartPress 1.0.9 We hope you enjoy it!";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:6:"Sensei";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:40:"http://purl.org/rss/1.0/modules/content/";a:1:{s:7:"encoded";a:1:{i:0;a:5:{s:4:"data";s:287:"

Launched TheCartPress Product Options 1.0.2, one of the plugins for our e-Commece plugin for WordPress.
\nThis new release adds these features:

\n\n

We hope you enjoy it!

\n";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:36:"http://wellformedweb.org/CommentAPI/";a:1:{s:10:"commentRss";a:1:{i:0;a:5:{s:4:"data";s:66:"http://thecartpress.com/2011/05/product-options-plugin-1-0-2/feed/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:38:"http://purl.org/rss/1.0/modules/slash/";a:1:{s:8:"comments";a:1:{i:0;a:5:{s:4:"data";s:1:"0";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:7;a:6:{s:4:"data";s:41:"\n \n \n \n \n \n \n\n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:5:{s:0:"";a:7:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:42:"TheCartPress e-Commerce 1.0.9 is available";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:75:"http://thecartpress.com/2011/05/thecartpress-e-commerce-1-0-9-is-available/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"comments";a:1:{i:0;a:5:{s:4:"data";s:84:"http://thecartpress.com/2011/05/thecartpress-e-commerce-1-0-9-is-available/#comments";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Mon, 30 May 2011 11:13:50 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"category";a:1:{i:0;a:5:{s:4:"data";s:13:"Uncategorized";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:31:"http://thecartpress.com/?p=1540";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:757:"Launched TheCartPress 1.0.9, e-Commece cart plugin for WordPress: Simple Wish list (Suggested in the community) Settings: Hide downloadable menu (Suggested in the community) Settings: Products per page (Suggested in the community) Settings: Currency layout (Suggested in the community) Print order from order edit page (Suggested in the community) FlateRate/ShippingCost instance names (Suggested in the community) Tax!: International tax management (Suggested in the community) BuyButton: You could make your own buy buttons (Suggested in the community) New Chekout: Developed again. Now, … Continue reading ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:6:"Sensei";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:40:"http://purl.org/rss/1.0/modules/content/";a:1:{s:7:"encoded";a:1:{i:0;a:5:{s:4:"data";s:1221:"

Launched TheCartPress 1.0.9, e-Commece cart plugin for WordPress:

\n\n

And that’s all. Enjoy it.

\n";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:36:"http://wellformedweb.org/CommentAPI/";a:1:{s:10:"commentRss";a:1:{i:0;a:5:{s:4:"data";s:80:"http://thecartpress.com/2011/05/thecartpress-e-commerce-1-0-9-is-available/feed/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:38:"http://purl.org/rss/1.0/modules/slash/";a:1:{s:8:"comments";a:1:{i:0;a:5:{s:4:"data";s:1:"0";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:8;a:6:{s:4:"data";s:44:"\n \n \n \n \n \n \n \n\n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:5:{s:0:"";a:7:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:42:"TheCartPress CSV Loader 1.0.4 is available";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:75:"http://thecartpress.com/2011/05/thecartpress-csv-loader-1-0-4-is-available/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"comments";a:1:{i:0;a:5:{s:4:"data";s:84:"http://thecartpress.com/2011/05/thecartpress-csv-loader-1-0-4-is-available/#comments";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Thu, 19 May 2011 15:57:43 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"category";a:2:{i:0;a:5:{s:4:"data";s:7:"Plugins";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}i:1;a:5:{s:4:"data";s:13:"Uncategorized";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:31:"http://thecartpress.com/?p=1518";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:414:"Launched a new version of the plugin TheCartPress CSVLoader. This release is numered like 1.0.4. This new release fix a bug with the session management. And, of course, we have a new beta release for TheCartPress 1.0.9. This new beta fix some bugs in the Checkout page. You could download it from here. Notice that the plugin TheCartPress-states has disappeared. It has been integrated into TheCartPress Enjoy it!!";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:6:"Sensei";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:40:"http://purl.org/rss/1.0/modules/content/";a:1:{s:7:"encoded";a:1:{i:0;a:5:{s:4:"data";s:516:"

Launched a new version of the plugin TheCartPress CSVLoader. This release is numered like 1.0.4.
\nThis new release fix a bug with the session management.

\n

And, of course, we have a new beta release for TheCartPress 1.0.9. This new beta fix some bugs in the Checkout page.
\nYou could download it from here.

\n

Notice that the plugin TheCartPress-states has disappeared. It has been integrated into TheCartPress

\n

Enjoy it!!

\n";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:36:"http://wellformedweb.org/CommentAPI/";a:1:{s:10:"commentRss";a:1:{i:0;a:5:{s:4:"data";s:80:"http://thecartpress.com/2011/05/thecartpress-csv-loader-1-0-4-is-available/feed/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:38:"http://purl.org/rss/1.0/modules/slash/";a:1:{s:8:"comments";a:1:{i:0;a:5:{s:4:"data";s:1:"0";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}i:9;a:6:{s:4:"data";s:41:"\n \n \n \n \n \n \n\n \n \n \n \n \n ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";s:5:"child";a:5:{s:0:"";a:7:{s:5:"title";a:1:{i:0;a:5:{s:4:"data";s:33:"New beta release is available (2)";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:64:"http://thecartpress.com/2011/05/new-beta-release-is-available-2/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"comments";a:1:{i:0;a:5:{s:4:"data";s:73:"http://thecartpress.com/2011/05/new-beta-release-is-available-2/#comments";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:7:"pubDate";a:1:{i:0;a:5:{s:4:"data";s:31:"Wed, 18 May 2011 16:30:07 +0000";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:8:"category";a:1:{i:0;a:5:{s:4:"data";s:13:"Uncategorized";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:4:"guid";a:1:{i:0;a:5:{s:4:"data";s:31:"http://thecartpress.com/?p=1510";s:7:"attribs";a:1:{s:0:"";a:1:{s:11:"isPermaLink";s:5:"false";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:11:"description";a:1:{i:0;a:5:{s:4:"data";s:602:"A new beta release has been upload. In this new version, a bug in the checkout has been fixed. You could test the new Template feature. In the left menu you could find a new menu called Templates. TheCartPress allows you to create different templates and assign them to some places, for example to the end of the checkout. Those Templates are like post, you could type text, attach images, add shortcodes, etc. For example, if you set a Template … Continue reading ";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:32:"http://purl.org/dc/elements/1.1/";a:1:{s:7:"creator";a:1:{i:0;a:5:{s:4:"data";s:6:"Sensei";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:40:"http://purl.org/rss/1.0/modules/content/";a:1:{s:7:"encoded";a:1:{i:0;a:5:{s:4:"data";s:635:"

A new beta release has been upload.

\n

In this new version, a bug in the checkout has been fixed.

\n

You could test the new Template feature. In the left menu you could find a new menu called Templates.

\n

TheCartPress allows you to create different templates and assign them to some places, for example to the end of the checkout. Those Templates are like post, you could type text, attach images, add shortcodes, etc. For example, if you set a Template to the checkout-end point, the Template will be shown when the customers complete the checkout process.

\n

And more enjoyable features!

\n

Best regards

\n";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:36:"http://wellformedweb.org/CommentAPI/";a:1:{s:10:"commentRss";a:1:{i:0;a:5:{s:4:"data";s:69:"http://thecartpress.com/2011/05/new-beta-release-is-available-2/feed/";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:38:"http://purl.org/rss/1.0/modules/slash/";a:1:{s:8:"comments";a:1:{i:0;a:5:{s:4:"data";s:1:"0";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}}}s:27:"http://www.w3.org/2005/Atom";a:1:{s:4:"link";a:1:{i:0;a:5:{s:4:"data";s:0:"";s:7:"attribs";a:1:{s:0:"";a:3:{s:4:"href";s:29:"http://thecartpress.com/feed/";s:3:"rel";s:4:"self";s:4:"type";s:19:"application/rss+xml";}}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}s:44:"http://purl.org/rss/1.0/modules/syndication/";a:2:{s:12:"updatePeriod";a:1:{i:0;a:5:{s:4:"data";s:6:"hourly";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}s:15:"updateFrequency";a:1:{i:0;a:5:{s:4:"data";s:1:"1";s:7:"attribs";a:0:{}s:8:"xml_base";s:0:"";s:17:"xml_base_explicit";b:0;s:8:"xml_lang";s:0:"";}}}}}}}}}}}}s:4:"type";i:128;s:7:"headers";a:12:{s:4:"date";s:29:"Tue, 05 Jul 2011 08:48:27 GMT";s:6:"server";s:21:"Apache/2.2.3 (CentOS)";s:12:"x-powered-by";s:9:"PHP/5.2.6";s:10:"set-cookie";a:3:{i:0;s:44:"PHPSESSID=jj7nb2gle6qgcma87q55b8c800; path=/";i:1;s:65:"bp-message=deleted; expires=Mon, 05-Jul-2010 08:48:28 GMT; path=/";i:2;s:70:"bp-message-type=deleted; expires=Mon, 05-Jul-2010 08:48:28 GMT; path=/";}s:7:"expires";s:29:"Thu, 19 Nov 1981 08:52:00 GMT";s:13:"cache-control";s:62:"no-store, no-cache, must-revalidate, post-check=0, pre-check=0";s:6:"pragma";s:8:"no-cache";s:10:"x-pingback";s:34:"http://thecartpress.com/xmlrpc.php";s:13:"last-modified";s:29:"Tue, 05 Jul 2011 07:51:27 GMT";s:4:"etag";s:34:""0113c1dd3d629d05d577edfd464c210f"";s:10:"connection";s:5:"close";s:12:"content-type";s:23:"text/xml; charset=UTF-8";}s:5:"build";s:14:"20090627192103";}', 'no'), +(686, 0, 'tubepress-lazyPlay', '1', 'yes'), +(651, 0, '_transient_timeout_feed_mod_d253e7c9b487cb2e3c129fb2194c2c69', '1309898909', 'no'), +(652, 0, '_transient_feed_mod_d253e7c9b487cb2e3c129fb2194c2c69', '1309855709', 'no'), +(796, 0, '_transient_timeout_settings_errors', '1309864917', 'no'), +(797, 0, '_transient_settings_errors', 'a:1:{i:0;a:4:{s:7:"setting";s:7:"general";s:4:"code";s:16:"settings_updated";s:7:"message";s:18:"Ajustes guardados.";s:4:"type";s:7:"updated";}}', 'no'), +(832, 0, 'mfbfw_callbackOnStart', '', 'yes'), +(738, 0, '_site_transient_timeout_browser_01cd422dbf48e2ae3adc97f5e3e61a34', '1310462248', 'yes'), +(739, 0, '_site_transient_browser_01cd422dbf48e2ae3adc97f5e3e61a34', 'a:9:{s:8:"platform";s:7:"Windows";s:4:"name";s:6:"Chrome";s:7:"version";s:10:"14.0.803.0";s:10:"update_url";s:28:"http://www.google.com/chrome";s:7:"img_src";s:49:"http://s.wordpress.org/images/browsers/chrome.png";s:11:"img_src_ssl";s:48:"https://wordpress.org/images/browsers/chrome.png";s:15:"current_version";s:2:"12";s:7:"upgrade";b:0;s:8:"insecure";b:0;}', 'yes'), +(740, 0, '_transient_timeout_dash_20494a3d90a6669585674ed0eb8dcd8f', '1309900650', 'no'), +(741, 0, '_transient_dash_20494a3d90a6669585674ed0eb8dcd8f', '\n', 'no'), +(742, 0, 'can_compress_scripts', '1', 'yes'), +(743, 0, 'framework_woo_export_options', 'YTo3Mzp7czoxOToic2JtX3dvb19zYm1fb3B0aW9ucyI7czo3MzoiYToyOntzOjg6InNpZGViYXJzIjthOjA6e31zOjg6InNldHRpbmdzIjthOjE6e3M6NzoiaW5mb2JveCI7czo0OiJzaG93Ijt9fSI7czoxODoid29vX2FsdF9zdHlsZXNoZWV0IjtzOjExOiJkZWZhdWx0LmNzcyI7czoxMjoid29vX2F1dG9faW1nIjtzOjU6ImZhbHNlIjtzOjE0OiJ3b29fYm9keV9jb2xvciI7czo3OiIjMDAwMDAwIjtzOjEyOiJ3b29fYm9keV9pbWciO3M6NzU6Imh0dHA6Ly9sb2NhbGhvc3Qvb3JpZ2luYWxob3VzZS93cC1jb250ZW50L3VwbG9hZHMvMjAxMS8wNi9mb25kb251ZXZhd2ViLmpwZyI7czoxMjoid29vX2JvZHlfcG9zIjtzOjEzOiJjZW50ZXIgY2VudGVyIjtzOjE1OiJ3b29fYm9keV9yZXBlYXQiO3M6OToibm8tcmVwZWF0IjtzOjIwOiJ3b29fYnJlYWRjcnVtYnNfc2hvdyI7czo1OiJmYWxzZSI7czoxNjoid29vX2J1dHRvbl9jb2xvciI7czo3OiIjN2Y3ODc1IjtzOjEyOiJ3b29fY29tbWVudHMiO3M6NDoicG9zdCI7czoxMToid29vX2Nvbm5lY3QiO3M6NDoidHJ1ZSI7czoxOToid29vX2Nvbm5lY3RfYmxvZ2dlciI7czo0MjoiaHR0cDovL2VsYmxvZ2Rlb3JpZ2luYWxob3VzZS5ibG9nc3BvdC5jb20vIjtzOjE5OiJ3b29fY29ubmVjdF9jb250ZW50IjtzOjA6IiI7czoyMToid29vX2Nvbm5lY3RfZGVsaWNpb3VzIjtzOjA6IiI7czoyMDoid29vX2Nvbm5lY3RfZmFjZWJvb2siO3M6ODE6Imh0dHA6Ly93d3cuZmFjZWJvb2suY29tL3BhZ2VzL09SSUdJTkFMLUhPVVNFLU1vYmlsaWFyaW8teS1kZWNvcmFjaW9uLzE2MTM2NTAwMTM2MyI7czoxODoid29vX2Nvbm5lY3RfZmxpY2tyIjtzOjA6IiI7czoyMDoid29vX2Nvbm5lY3RfbGlua2VkaW4iO3M6MDoiIjtzOjI1OiJ3b29fY29ubmVjdF9uZXdzbGV0dGVyX2lkIjtzOjA6IiI7czoxOToid29vX2Nvbm5lY3RfcmVsYXRlZCI7czo1OiJmYWxzZSI7czoxNToid29vX2Nvbm5lY3RfcnNzIjtzOjQ6InRydWUiO3M6MTc6Indvb19jb25uZWN0X3RpdGxlIjtzOjA6IiI7czoxOToid29vX2Nvbm5lY3RfdHdpdHRlciI7czozNzoiaHR0cDovL3R3aXR0ZXIuY29tLyMhL29yaWdpbmFsaG91c2VzbCI7czoxOToid29vX2Nvbm5lY3RfeW91dHViZSI7czowOiIiO3M6MjE6Indvb19jb250YWN0Zm9ybV9lbWFpbCI7czowOiIiO3M6MTQ6Indvb19jdXN0b21fY3NzIjtzOjA6IiI7czoxODoid29vX2N1c3RvbV9mYXZpY29uIjtzOjA6IiI7czoxMjoid29vX2ZlZWRfdXJsIjtzOjA6IiI7czoxMzoid29vX2ZvbnRfYm9keSI7czoxMzM6ImE6NTp7czo0OiJzaXplIjtzOjI6IjE4IjtzOjQ6InVuaXQiO3M6MjoicHgiO3M6NDoiZmFjZSI7czoxNzoiWWFub25lIEthZmZlZXNhdHoiO3M6NToic3R5bGUiO3M6Njoibm9ybWFsIjtzOjU6ImNvbG9yIjtzOjc6IiM5OTk5OTkiO30iO3M6MTI6Indvb19mb250X25hdiI7czoxMzM6ImE6NTp7czo0OiJzaXplIjtzOjI6IjIwIjtzOjQ6InVuaXQiO3M6MjoicHgiO3M6NDoiZmFjZSI7czoxNzoiWWFub25lIEthZmZlZXNhdHoiO3M6NToic3R5bGUiO3M6Njoibm9ybWFsIjtzOjU6ImNvbG9yIjtzOjc6IiM1NTU1NTUiO30iO3M6MTk6Indvb19mb250X3Bvc3RfZW50cnkiO3M6MTI2OiJhOjU6e3M6NDoic2l6ZSI7czoyOiIxNiI7czo0OiJ1bml0IjtzOjI6InB4IjtzOjQ6ImZhY2UiO3M6MTA6IkRyb2lkIFNhbnMiO3M6NToic3R5bGUiO3M6Njoibm9ybWFsIjtzOjU6ImNvbG9yIjtzOjc6IiM5OTk5OTkiO30iO3M6MTg6Indvb19mb250X3Bvc3RfbWV0YSI7czoxMjY6ImE6NTp7czo0OiJzaXplIjtzOjI6IjEyIjtzOjQ6InVuaXQiO3M6MjoicHgiO3M6NDoiZmFjZSI7czoxMDoiRHJvaWQgU2FucyI7czo1OiJzdHlsZSI7czo2OiJub3JtYWwiO3M6NToiY29sb3IiO3M6NzoiIzk5OTk5OSI7fSI7czoxOToid29vX2ZvbnRfcG9zdF90aXRsZSI7czoxMzE6ImE6NTp7czo0OiJzaXplIjtzOjI6IjI0IjtzOjQ6InVuaXQiO3M6MjoicHgiO3M6NDoiZmFjZSI7czoxNzoiWWFub25lIEthZmZlZXNhdHoiO3M6NToic3R5bGUiO3M6NDoiYm9sZCI7czo1OiJjb2xvciI7czo3OiIjMjIyMjIyIjt9IjtzOjE5OiJ3b29fZm9udF9zaXRlX3RpdGxlIjtzOjE1OToiYTo1OntzOjQ6InNpemUiO3M6MjoiNDAiO3M6NDoidW5pdCI7czoyOiJweCI7czo0OiJmYWNlIjtzOjQzOiJDYWxpYnJpLCBDYW5kYXJhLCBTZWdvZSwgT3B0aW1hLCBzYW5zLXNlcmlmIjtzOjU6InN0eWxlIjtzOjY6Im5vcm1hbCI7czo1OiJjb2xvciI7czo3OiIjRkZGRkZGIjt9IjtzOjE2OiJ3b29fZm9udF90YWdsaW5lIjtzOjEzMzoiYTo1OntzOjQ6InNpemUiO3M6MjoiMTgiO3M6NDoidW5pdCI7czoyOiJweCI7czo0OiJmYWNlIjtzOjE3OiJZYW5vbmUgS2FmZmVlc2F0eiI7czo1OiJzdHlsZSI7czo2OiJub3JtYWwiO3M6NToiY29sb3IiO3M6NzoiIzk5OTk5OSI7fSI7czoyMjoid29vX2ZvbnRfd2lkZ2V0X3RpdGxlcyI7czoxMzQ6ImE6NTp7czo0OiJzaXplIjtzOjI6IjE2IjtzOjQ6InVuaXQiO3M6MjoicHgiO3M6NDoiZmFjZSI7czoyMDoiVGVybWluYWwgRG9zaXMgTGlnaHQiO3M6NToic3R5bGUiO3M6NDoiYm9sZCI7czo1OiJjb2xvciI7czo3OiIjNTU1NTU1Ijt9IjtzOjE5OiJ3b29fZm9vdGVyX2FmZl9saW5rIjtzOjA6IiI7czoxNToid29vX2Zvb3Rlcl9sZWZ0IjtzOjQ6InRydWUiO3M6MjA6Indvb19mb290ZXJfbGVmdF90ZXh0IjtzOjA6IiI7czoxNjoid29vX2Zvb3Rlcl9yaWdodCI7czo0OiJ0cnVlIjtzOjIxOiJ3b29fZm9vdGVyX3JpZ2h0X3RleHQiO3M6MDoiIjtzOjE3OiJ3b29fZm9vdGVyX3NvY2lhbCI7czo0OiJ0cnVlIjtzOjIwOiJ3b29fZ29vZ2xlX2FuYWx5dGljcyI7czowOiIiO3M6MTQ6Indvb19ob21lX2ludHJvIjtzOjU4OiJTaSB0dSBjYXNhIHNlIHBhcmVjZSBhIHRvZGFzLCBub3NvdHJvcyBubyB0ZW5lbW9zIGxhIGN1bHBhIjtzOjE0OiJ3b29fbGlua19jb2xvciI7czo3OiIjN2Y3ODc1IjtzOjIwOiJ3b29fbGlua19ob3Zlcl9jb2xvciI7czo0OiIjZmZmIjtzOjg6Indvb19sb2dvIjtzOjcxOiJodHRwOi8vbG9jYWxob3N0L29yaWdpbmFsaG91c2Uvd3AtY29udGVudC91cGxvYWRzLzIwMTEvMDYvbG9nby1yb2pvLmdpZiI7czoxOToid29vX3BhZ2luYXRpb25fdHlwZSI7czoxNToicGFnaW5hdGVkX2xpbmtzIjtzOjE3OiJ3b29fcGlzX2hhcmRfY3JvcCI7czo0OiJ0cnVlIjtzOjE0OiJ3b29fcGlzX3Jlc2l6ZSI7czo0OiJ0cnVlIjtzOjE1OiJ3b29fcG9zdF9hdXRob3IiO3M6NToiZmFsc2UiO3M6MTY6Indvb19wb3N0X2NvbnRlbnQiO3M6NzoiZXhjZXJwdCI7czoyMjoid29vX3Bvc3RfaW1hZ2Vfc3VwcG9ydCI7czo0OiJ0cnVlIjtzOjEwOiJ3b29fcmVzaXplIjtzOjQ6InRydWUiO3M6MTM6Indvb19yc3NfdGh1bWIiO3M6NToiZmFsc2UiO3M6MTI6Indvb19zaW5nbGVfaCI7czozOiIyMDAiO3M6MTI6Indvb19zaW5nbGVfdyI7czozOiIyMDAiO3M6MTU6Indvb19zaXRlX2xheW91dCI7czoxMToibGF5b3V0LWZ1bGwiO3M6MTA6Indvb19zbGlkZXIiO3M6NToiZmFsc2UiO3M6MTU6Indvb19zbGlkZXJfYXV0byI7czo0OiJ0cnVlIjtzOjE4OiJ3b29fc2xpZGVyX2NvbnRlbnQiO3M6NToiZmFsc2UiO3M6MTg6Indvb19zbGlkZXJfZW50cmllcyI7czoyOiIxOSI7czoxOToid29vX3NsaWRlcl9pbnRlcnZhbCI7czo0OiI2MDAwIjtzOjE2OiJ3b29fc2xpZGVyX3NwZWVkIjtzOjM6IjUwMCI7czoxOToid29vX3N1YnNjcmliZV9lbWFpbCI7czowOiIiO3M6MTE6Indvb190YWdsaW5lIjtzOjU6ImZhbHNlIjtzOjEzOiJ3b29fdGV4dHRpdGxlIjtzOjU6ImZhbHNlIjtzOjE1OiJ3b29fdGh1bWJfYWxpZ24iO3M6OToiYWxpZ25sZWZ0IjtzOjExOiJ3b29fdGh1bWJfaCI7czozOiIxNjAiO3M6MTY6Indvb190aHVtYl9zaW5nbGUiO3M6NDoidHJ1ZSI7czoyMjoid29vX3RodW1iX3NpbmdsZV9hbGlnbiI7czoxMDoiYWxpZ25yaWdodCI7czoxMToid29vX3RodW1iX3ciO3M6MzoiMTYwIjtzOjE0OiJ3b29fdGl0bGVfc2hvdyI7czo1OiJmYWxzZSI7czoxNDoid29vX3R5cG9ncmFwaHkiO3M6NDoidHJ1ZSI7fQ==', 'yes'), +(803, 0, '_site_transient_update_plugins', 'O:8:"stdClass":3:{s:12:"last_checked";i:1309881947;s:7:"checked";a:12:{s:43:"custom-post-background/custom-post-back.php";s:7:"1.3.1.0";s:35:"fancybox-for-wordpress/fancybox.php";s:5:"2.7.5";s:56:"jquery-vertical-accordion-menu/dcwp_jquery_accordion.php";s:3:"2.6";s:30:"lightbox-plus/lightboxplus.php";s:5:"2.2.2";s:51:"make-filename-lowercase/make-filename-lowercase.php";s:5:"1.0.0";s:47:"plugin-update-blocker/plugin-update-blocker.php";s:3:"0.2";s:57:"sanitize-spanish-filenames/sanitize-spanish-filenames.php";s:5:"1.0.2";s:20:"sticky_menu/init.php";s:3:"0.1";s:35:"thecartpress/TheCartPress.class.php";s:5:"1.0.9";s:23:"tubepress/tubepress.php";s:5:"2.2.0";s:34:"wp-e-commerce/wp-shopping-cart.php";s:5:"3.8.4";s:53:"wp-ecommerce-cvs-importer/wp-ecommerce-cvs-import.php";s:5:"1.0.4";}s:8:"response";a:0:{}}', 'yes'), +(840, 0, 'lightboxplus_options', 'a:39:{s:18:"lightboxplus_style";s:5:"black";s:16:"use_custom_style";N;s:11:"disable_css";s:1:"1";s:12:"use_php_four";N;s:18:"lightboxplus_multi";N;s:10:"use_inline";N;s:10:"inline_num";s:1:"1";s:10:"transition";s:7:"elastic";s:5:"speed";s:3:"350";s:5:"width";s:5:"false";s:6:"height";s:5:"false";s:11:"inner_width";s:5:"false";s:12:"inner_height";s:5:"false";s:13:"initial_width";s:3:"300";s:14:"initial_height";s:3:"100";s:9:"max_width";s:5:"false";s:10:"max_height";s:5:"false";s:6:"resize";s:1:"1";s:7:"opacity";s:3:"0.8";s:10:"preloading";s:1:"1";s:11:"label_image";s:0:"";s:8:"label_of";s:2:"de";s:8:"previous";s:8:"anterior";s:4:"next";s:9:"siguiente";s:5:"close";s:6:"cerrar";s:13:"overlay_close";s:1:"1";s:9:"slideshow";N;s:14:"slideshow_auto";N;s:15:"slideshow_speed";s:4:"2500";s:15:"slideshow_start";s:5:"start";s:14:"slideshow_stop";s:4:"stop";s:17:"use_caption_title";N;s:20:"gallery_lightboxplus";N;s:18:"multiple_galleries";N;s:16:"use_class_method";N;s:10:"class_name";s:9:"cboxModal";s:16:"no_auto_lightbox";N;s:10:"text_links";N;s:16:"no_display_title";N;}', 'yes'), +(810, 0, 'mfbfw_paddingColor', '#FFFFFF', 'yes'), +(811, 0, 'mfbfw_padding', '10', 'yes'), +(812, 0, 'mfbfw_overlayShow', 'on', 'yes'), +(813, 0, 'mfbfw_overlayColor', '#666666', 'yes'), +(814, 0, 'mfbfw_overlayOpacity', '0.3', 'yes'), +(815, 0, 'mfbfw_zoomOpacity', 'on', 'yes'), +(816, 0, 'mfbfw_zoomSpeedIn', '500', 'yes'), +(817, 0, 'mfbfw_zoomSpeedOut', '500', 'yes'), +(818, 0, 'mfbfw_zoomSpeedChange', '300', 'yes'), +(819, 0, 'mfbfw_easing', '', 'yes'), +(820, 0, 'mfbfw_easingIn', 'easeOutBack', 'yes'), +(821, 0, 'mfbfw_easingOut', 'easeInBack', 'yes'), +(822, 0, 'mfbfw_easingChange', 'easeInOutQuart', 'yes'), +(823, 0, 'mfbfw_imageScale', 'on', 'yes'); +INSERT INTO `wp_options` (`option_id`, `blog_id`, `option_name`, `option_value`, `autoload`) VALUES +(824, 0, 'mfbfw_enableEscapeButton', 'on', 'yes'), +(825, 0, 'mfbfw_showCloseButton', 'on', 'yes'), +(826, 0, 'mfbfw_centerOnScroll', 'on', 'yes'), +(827, 0, 'mfbfw_hideOnOverlayClick', 'on', 'yes'), +(828, 0, 'mfbfw_hideOnContentClick', '', 'yes'), +(829, 0, 'mfbfw_loadAtFooter', '', 'yes'), +(830, 0, 'mfbfw_frameWidth', '560', 'yes'), +(809, 0, 'mfbfw_closeVerPos', 'top', 'yes'), +(833, 0, 'mfbfw_callbackOnShow', '', 'yes'), +(834, 0, 'mfbfw_callbackOnClose', '', 'yes'), +(835, 0, 'mfbfw_galleryType', 'all', 'yes'), +(836, 0, 'mfbfw_customExpression', 'jQuery(thumbnails).addClass("fancybox").attr("rel","fancybox").getTitle();', 'yes'), +(837, 0, 'mfbfw_nojQuery', '', 'yes'), +(838, 0, 'mfbfw_jQnoConflict', 'on', 'yes'), +(839, 0, 'mfbfw_uninstall', '', 'yes'), +(841, 0, 'lightboxplus_init', '1', 'yes'); -- -------------------------------------------------------- @@ -682,7 +744,7 @@ CREATE TABLE IF NOT EXISTS `wp_postmeta` ( PRIMARY KEY (`meta_id`), KEY `post_id` (`post_id`), KEY `meta_key` (`meta_key`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=359 ; +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1004 ; -- -- Volcar la base de datos para la tabla `wp_postmeta` @@ -769,7 +831,7 @@ INSERT INTO `wp_postmeta` (`meta_id`, `post_id`, `meta_key`, `meta_value`) VALUE (97, 2, '_wp_trash_meta_status', 'publish'), (98, 2, '_wp_trash_meta_time', '1309371228'), (271, 116, '_menu_item_type', 'post_type'), -(333, 131, 'seo_noindex', 'false'), +(956, 211, '_menu_item_object', 'tcp_product_category'), (269, 115, '_menu_item_url', ''), (268, 115, '_menu_item_xfn', ''), (266, 115, '_menu_item_target', ''), @@ -845,7 +907,7 @@ INSERT INTO `wp_postmeta` (`meta_id`, `post_id`, `meta_key`, `meta_value`) VALUE (276, 116, '_menu_item_classes', 'a:1:{i:0;s:0:"";}'), (277, 116, '_menu_item_xfn', ''), (278, 116, '_menu_item_url', ''), -(334, 131, '_wpsc_price', '0'), +(955, 211, '_menu_item_object_id', '21'), (280, 117, '_menu_item_type', 'post_type'), (281, 117, '_menu_item_menu_item_parent', '0'), (282, 117, '_menu_item_object_id', '61'), @@ -854,10 +916,9 @@ INSERT INTO `wp_postmeta` (`meta_id`, `post_id`, `meta_key`, `meta_value`) VALUE (285, 117, '_menu_item_classes', 'a:1:{i:0;s:0:"";}'), (286, 117, '_menu_item_xfn', ''), (287, 117, '_menu_item_url', ''), -(335, 131, '_wpsc_special_price', '0'), -(332, 131, 'seo_follow', 'false'), -(331, 131, '_edit_lock', '1309800149:1'), -(330, 131, '_edit_last', '1'), +(952, 207, '_thumbnail_id', '210'), +(953, 211, '_menu_item_type', 'taxonomy'), +(954, 211, '_menu_item_menu_item_parent', '115'), (298, 119, '_menu_item_type', 'post_type'), (299, 119, '_menu_item_menu_item_parent', '0'), (300, 119, '_menu_item_object_id', '88'), @@ -887,11 +948,11 @@ INSERT INTO `wp_postmeta` (`meta_id`, `post_id`, `meta_key`, `meta_value`) VALUE (326, 123, '_menu_item_classes', 'a:1:{i:0;s:0:"";}'), (327, 123, '_menu_item_xfn', ''), (328, 123, '_menu_item_url', ''), -(336, 131, '_wpsc_sku', ''), -(337, 131, '_wpsc_stock', ''), -(338, 131, '_wpsc_product_metadata', 'a:19:{s:25:"wpec_taxes_taxable_amount";s:0:"";s:13:"external_link";s:0:"";s:18:"external_link_text";s:0:"";s:20:"external_link_target";s:0:"";s:6:"weight";s:1:"0";s:11:"weight_unit";s:5:"pound";s:10:"dimensions";a:6:{s:6:"height";s:1:"0";s:11:"height_unit";s:2:"in";s:5:"width";s:2:"0 ";s:10:"width_unit";s:2:"in";s:6:"length";s:1:"0";s:11:"length_unit";s:2:"in";}s:8:"shipping";a:2:{s:5:"local";s:1:"0";s:13:"international";s:1:"0";}s:14:"merchant_notes";s:0:"";s:8:"engraved";s:1:"0";s:23:"can_have_uploaded_image";s:1:"0";s:15:"enable_comments";s:0:"";s:24:"unpublish_when_none_left";s:1:"0";s:11:"no_shipping";s:1:"0";s:16:"quantity_limited";s:1:"0";s:7:"special";s:1:"0";s:17:"display_weight_as";s:5:"pound";s:16:"table_rate_price";a:2:{s:8:"quantity";a:0:{}s:11:"table_price";a:0:{}}s:17:"google_prohibited";s:1:"0";}'), -(339, 131, '_wpsc_is_donation', '0'), -(340, 131, '_wpsc_currency', 'a:0:{}'), +(948, 1, '_wp_trash_meta_time', '1309857479'), +(949, 1, '_wp_trash_meta_comments_status', 'a:1:{i:1;s:1:"1";}'), +(950, 210, '_wp_attached_file', '2011/07/acro1.jpg'), +(951, 210, '_wp_attachment_metadata', 'a:6:{s:5:"width";s:3:"482";s:6:"height";s:3:"400";s:14:"hwstring_small";s:23:"height=''96'' width=''115''";s:4:"file";s:17:"2011/07/acro1.jpg";s:5:"sizes";a:2:{s:9:"thumbnail";a:3:{s:4:"file";s:17:"acro1-150x150.jpg";s:5:"width";s:3:"150";s:6:"height";s:3:"150";}s:6:"medium";a:3:{s:4:"file";s:17:"acro1-300x248.jpg";s:5:"width";s:3:"300";s:6:"height";s:3:"248";}}s:10:"image_meta";a:10:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";}}'), +(947, 1, '_wp_trash_meta_status', 'publish'), (341, 135, 'tcp_tax_id', '0'), (342, 135, 'tcp_back_end_label', ''), (343, 135, 'tcp_hide_buy_button', ''), @@ -909,7 +970,106 @@ INSERT INTO `wp_postmeta` (`meta_id`, `post_id`, `meta_key`, `meta_value`) VALUE (355, 133, '_wp_trash_meta_status', 'publish'), (356, 133, '_wp_trash_meta_time', '1309800474'), (357, 134, '_wp_trash_meta_status', 'publish'), -(358, 134, '_wp_trash_meta_time', '1309800474'); +(358, 134, '_wp_trash_meta_time', '1309800474'), +(977, 212, '_edit_lock', '1309857935:1'), +(976, 212, '_edit_last', '1'), +(962, 212, 'tcp_tax_id', '0'), +(963, 212, 'tcp_back_end_label', ''), +(964, 212, 'tcp_hide_buy_button', ''), +(965, 212, 'tcp_exclude_range', ''), +(966, 212, 'tcp_is_downloadable', ''), +(967, 212, 'tcp_max_downloads', '0'), +(968, 212, 'tcp_days_to_expire', '0'), +(969, 212, 'tcp_type', 'SIMPLE'), +(970, 212, 'tcp_is_visible', '1'), +(971, 212, 'tcp_price', '649'), +(972, 212, 'tcp_weight', '0'), +(973, 212, 'tcp_order', '2'), +(974, 212, 'tcp_sku', ''), +(975, 212, 'tcp_stock', '-1'), +(959, 211, '_menu_item_xfn', ''), +(960, 211, '_menu_item_url', ''), +(980, 212, '_thumbnail_id', '213'), +(981, 212, 'seo_follow', 'false'), +(982, 212, 'seo_noindex', 'false'), +(998, 214, '_edit_lock', '1309885601:1'), +(986, 214, 'tcp_exclude_range', ''), +(987, 214, 'tcp_is_downloadable', ''), +(988, 214, 'tcp_max_downloads', '0'), +(989, 214, 'tcp_days_to_expire', '0'), +(990, 214, 'tcp_type', 'SIMPLE'), +(991, 214, 'tcp_is_visible', ''), +(992, 214, 'tcp_price', '649'), +(993, 214, 'tcp_weight', '0'), +(994, 214, 'tcp_order', '3'), +(995, 214, 'tcp_sku', 'ARI-102247'), +(996, 214, 'tcp_stock', '-1'), +(997, 214, '_edit_last', '1'), +(985, 214, 'tcp_hide_buy_button', ''), +(983, 214, 'tcp_tax_id', '0'), +(984, 214, 'tcp_back_end_label', ''), +(1002, 215, '_wp_attachment_metadata', 'a:6:{s:5:"width";s:3:"597";s:6:"height";s:3:"450";s:14:"hwstring_small";s:23:"height=''96'' width=''128''";s:4:"file";s:16:"2011/07/ari1.jpg";s:5:"sizes";a:4:{s:9:"thumbnail";a:3:{s:4:"file";s:16:"ari1-150x150.jpg";s:5:"width";s:3:"150";s:6:"height";s:3:"150";}s:6:"medium";a:3:{s:4:"file";s:16:"ari1-300x226.jpg";s:5:"width";s:3:"300";s:6:"height";s:3:"226";}s:14:"mini-thumbnail";a:3:{s:4:"file";s:14:"ari1-45x33.jpg";s:5:"width";s:2:"45";s:6:"height";s:2:"33";}s:16:"medium-thumbnail";a:3:{s:4:"file";s:14:"ari1-95x71.jpg";s:5:"width";s:2:"95";s:6:"height";s:2:"71";}}s:10:"image_meta";a:10:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";}}'), +(1003, 214, '_thumbnail_id', '215'), +(760, 204, 'tcp_tax_id', '0'), +(761, 204, 'tcp_back_end_label', ''), +(762, 204, 'tcp_hide_buy_button', ''), +(763, 204, 'tcp_exclude_range', ''), +(764, 204, 'tcp_is_downloadable', ''), +(765, 204, 'tcp_max_downloads', '0'), +(766, 204, 'tcp_days_to_expire', '0'), +(767, 204, 'tcp_type', 'SIMPLE'), +(768, 204, 'tcp_is_visible', '1'), +(769, 204, 'tcp_price', '0'), +(770, 204, 'tcp_weight', '0'), +(771, 204, 'tcp_order', ''), +(772, 204, 'tcp_sku', ''), +(773, 204, 'tcp_stock', '-1'), +(774, 205, 'tcp_tax_id', '0'), +(775, 205, 'tcp_back_end_label', ''), +(776, 205, 'tcp_hide_buy_button', ''), +(777, 205, 'tcp_exclude_range', ''), +(778, 205, 'tcp_is_downloadable', ''), +(779, 205, 'tcp_max_downloads', '0'), +(780, 205, 'tcp_days_to_expire', '0'), +(781, 205, 'tcp_type', 'SIMPLE'), +(782, 205, 'tcp_is_visible', '1'), +(783, 205, 'tcp_price', '0'), +(784, 205, 'tcp_weight', '0'), +(785, 205, 'tcp_order', ''), +(786, 205, 'tcp_sku', ''), +(787, 205, 'tcp_stock', '-1'), +(788, 205, '_edit_last', '1'), +(789, 205, '_edit_lock', '1309804859:1'), +(790, 205, 'seo_follow', 'false'), +(791, 205, 'seo_noindex', 'false'), +(794, 206, 'tcp_template_class', ''), +(792, 205, '_wp_trash_meta_status', 'publish'), +(793, 205, '_wp_trash_meta_time', '1309855873'), +(795, 207, 'tcp_tax_id', '0'), +(796, 207, 'tcp_back_end_label', ''), +(797, 207, 'tcp_hide_buy_button', '1'), +(798, 207, 'tcp_exclude_range', ''), +(799, 207, 'tcp_is_downloadable', ''), +(800, 207, 'tcp_max_downloads', '0'), +(801, 207, 'tcp_days_to_expire', '0'), +(802, 207, 'tcp_type', 'SIMPLE'), +(803, 207, 'tcp_is_visible', '1'), +(804, 207, 'tcp_price', '0'), +(805, 207, 'tcp_weight', '0'), +(806, 207, 'tcp_order', '0'), +(807, 207, 'tcp_sku', ''), +(808, 207, 'tcp_stock', '-1'), +(809, 207, '_edit_last', '1'), +(810, 207, '_edit_lock', '1309857774:1'), +(811, 207, 'seo_follow', 'false'), +(812, 207, 'seo_noindex', 'false'), +(999, 214, 'seo_follow', 'false'), +(1000, 214, 'seo_noindex', 'false'), +(1001, 215, '_wp_attached_file', '2011/07/ari1.jpg'), +(978, 213, '_wp_attached_file', '2011/07/acro2.jpg'), +(979, 213, '_wp_attachment_metadata', 'a:6:{s:5:"width";s:3:"574";s:6:"height";s:3:"400";s:14:"hwstring_small";s:23:"height=''89'' width=''128''";s:4:"file";s:17:"2011/07/acro2.jpg";s:5:"sizes";a:2:{s:9:"thumbnail";a:3:{s:4:"file";s:17:"acro2-150x150.jpg";s:5:"width";s:3:"150";s:6:"height";s:3:"150";}s:6:"medium";a:3:{s:4:"file";s:17:"acro2-300x209.jpg";s:5:"width";s:3:"300";s:6:"height";s:3:"209";}}s:10:"image_meta";a:10:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";}}'), +(958, 211, '_menu_item_classes', 'a:1:{i:0;s:0:"";}'), +(957, 211, '_menu_item_target', ''); -- -------------------------------------------------------- @@ -946,14 +1106,14 @@ CREATE TABLE IF NOT EXISTS `wp_posts` ( KEY `type_status_date` (`post_type`,`post_status`,`post_date`,`ID`), KEY `post_parent` (`post_parent`), KEY `post_author` (`post_author`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=138 ; +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=217 ; -- -- Volcar la base de datos para la tabla `wp_posts` -- INSERT INTO `wp_posts` (`ID`, `post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_excerpt`, `post_status`, `comment_status`, `ping_status`, `post_password`, `post_name`, `to_ping`, `pinged`, `post_modified`, `post_modified_gmt`, `post_content_filtered`, `post_parent`, `guid`, `menu_order`, `post_type`, `post_mime_type`, `comment_count`) VALUES -(1, 1, '2011-06-28 15:12:45', '2011-06-28 15:12:45', 'Bienvenido a WordPress. Esta es tu primera entrada. Edítala o bórrala, ¡y comienza a publicar!.', '¡Hola mundo!', '', 'publish', 'open', 'open', '', 'hola-mundo', '', '', '2011-06-28 15:12:45', '2011-06-28 15:12:45', '', 0, 'http://localhost/originalhouse/?p=1', 0, 'post', '', 1), +(1, 1, '2011-06-28 15:12:45', '2011-06-28 15:12:45', 'Bienvenido a WordPress. Esta es tu primera entrada. Edítala o bórrala, ¡y comienza a publicar!.', '¡Hola mundo!', '', 'trash', 'open', 'open', '', 'hola-mundo', '', '', '2011-07-05 09:17:59', '2011-07-05 09:17:59', '', 0, 'http://localhost/originalhouse/?p=1', 0, 'post', '', 1), (2, 1, '2011-06-28 15:12:45', '2011-06-28 15:12:45', 'Esta es una página de ejemplo, Es diferente a una entrada de un blog porque se mantiene estática y, en la mayoría de temas, se mostrará en la barra de navegación. Casi todo el mundo comienza con una página Sobre mí para presentarse a los potenciales visitantes. Puede decir algo así:\n\n
¡Hola!: Soy físico durante el día, lector de manga por las noches y este es mi blog. Vivo en Albacete y tengo un gato llamado Alex. Me encantan los mojitos (y mirar a la gente corriendo en los parques)
\n\nO algo así:\n\n
La empresa Calcetines XYC se fundó en 1973, y ha estado produciendo calcetines de calidad para sus clientes desde entonces. Se encuentra en Vetusta, tiene unos 2.000 empleados e intenta ayudar en lo que puede para mejorar la vida en Vestusta
\n\nDeberías ir a tu escritorio, borrar esta página y crear algunas nuevas con tu contenido. ¡A divertirse!', 'Página de ejemplo', '', 'trash', 'open', 'open', '', 'pagina-ejemplo', '', '', '2011-06-29 18:13:48', '2011-06-29 18:13:48', '', 0, 'http://localhost/originalhouse/?page_id=2', 0, 'page', '', 0), (3, 1, '2011-06-28 17:06:34', '0000-00-00 00:00:00', '', 'Borrador automático', '', 'auto-draft', 'open', 'open', '', '', '', '', '2011-06-28 17:06:34', '0000-00-00 00:00:00', '', 0, 'http://localhost/originalhouse/?p=3', 0, 'post', '', 0), (36, 1, '2011-06-29 14:57:15', '2011-06-29 14:57:15', '', '3 MUEBLES', '', 'inherit', 'open', 'open', '', '3-muebles', '', '', '2011-06-29 14:57:15', '2011-06-29 14:57:15', '', 32, 'http://localhost/originalhouse/wp-content/uploads/2011/06/3-muebles.jpg', 0, 'attachment', 'image/jpeg', 0), @@ -1013,13 +1173,13 @@ INSERT INTO `wp_posts` (`ID`, `post_author`, `post_date`, `post_date_gmt`, `post (74, 1, '2011-06-29 17:18:28', '2011-06-29 17:18:28', '
· ORIGINAL HOUSE SE CREO EN EL AÑO 2003 COMO ALTERNATIVA A LAS GRANDES SUPERFICIES Y A UNA DEMANDA EN CRECIMIENTO DE UN ESTILO EN DECORACION MAS PERSONAL.\r\n\r\n· CONSIDERAMOS QUE NUESTROS ARTICULOS TIENEN QUE ESTAR A LA ALTURA DEL CLIENTE MAS EXIGENTE, POR ESO HUIMOS DE LA VENTA FRIA POR INTERNET Y PREFERIMOS TENER UN CONTACTO MAS PERSONALIZADO CON VOSOTROS. NO DUDEIS EN PONEROS EN CONTACTO PARA CUALQUIER CONSULTA.\r\n\r\n· POR LA GRAN ROTACION Y EXCLUSIVIDAD DE NUESTROS ARTICULOS PUEDE QUE DE ALGUNO DE ELLOS NO QUEDEN EXISTENCIAS.\r\n\r\n· HEMOS HECHO DE ESTA TIENDA UN PEQUEÑO MAPAMUNDI EN EL QUE PODRAS ENCONTRAR REFERENCIAS A CASI TODOS LOS RINCONES DEL SUDESTE ASIATICO  Y A LAS ULTIMAS TENDENCIAS DE OCCIDENTE.\r\n\r\n· LUZ TENUE, MUSICA RELAJANTE Y UNA INTENSA MEZCLA DE AROMAS ES LO PRIMERO QUE PERCIBES AL ENTRAR A
\r\n\r\n

BIENVENIDOS

\r\n ', 'La Tienda', '', 'inherit', 'open', 'open', '', '61-revision-5', '', '', '2011-06-29 17:18:28', '2011-06-29 17:18:28', '', 61, 'http://localhost/originalhouse/?p=74', 0, 'revision', '', 0), (114, 1, '2011-07-04 12:07:47', '2011-07-04 12:07:47', '', 'fondonuevaweb', '', 'inherit', 'closed', 'open', '', 'fondonuevaweb', '', '', '2011-07-04 12:07:47', '2011-07-04 12:07:47', '', 25, 'http://localhost/originalhouse/wp-content/uploads/2011/06/fondonuevaweb.jpg', 0, 'attachment', 'image/jpeg', 0), (113, 1, '2011-07-04 11:45:38', '2011-07-04 11:45:38', '', 'Logo Original House (Rojo)', '', 'inherit', 'closed', 'open', '', 'logo-rojo', '', '', '2011-07-04 11:45:38', '2011-07-04 11:45:38', '', 23, 'http://localhost/originalhouse/wp-content/uploads/2011/06/logo-rojo.gif', 0, 'attachment', 'image/gif', 0), -(115, 1, '2011-07-04 12:15:07', '2011-07-04 12:15:07', '[catablog template="gallery"]', '', '', 'publish', 'closed', 'open', '', '115', '', '', '2011-07-04 14:12:00', '2011-07-04 14:12:00', '', 0, 'http://localhost/originalhouse/?p=115', 1, 'nav_menu_item', '', 0), -(116, 1, '2011-07-04 12:15:07', '2011-07-04 12:15:07', ' ATENCIÓN PERSONALIZADA A INTERIORISTAS Y ARQUITECTOS.\r\n REFORMA DE INTERIORES.\r\n TRANSPORTE GRATUITO DE MOBILIARIO EN MADRID CAPITAL.\r\n ESTUDIOS DE INTERIORISMO AL REALIZAR TU COMPRA EN ORIGINAL HOUSE.\r\n ROTACIÓN CONSTANTE DE ARTÍCULOS.\r\n FINANCIACIÓN A 6 MESES SIN INTERESES.\r\n ESTAMOS DETRAS DE MUCHAS SERIES DE TELEVISION Y PUBLICIDAD, OFRECIENDO NUESTROS ARTICULOS PARA ALQUILER.\r\n', 'Proyectos', '', 'publish', 'closed', 'open', '', 'proyectos', '', '', '2011-07-04 14:12:00', '2011-07-04 14:12:00', '', 0, 'http://localhost/originalhouse/?p=116', 2, 'nav_menu_item', '', 0), -(117, 1, '2011-07-04 12:15:07', '2011-07-04 12:15:07', ' ORIGINAL HOUSE se creo en el año 2003 como alternativa a las grandes superficies y a una demanda en crecimiento de un estilo en decoración más personal.\r\n Consideramos que nuestros artículos tienen que estar a la altura del cliente más exigente, por eso huimos de la venta fría por Internet y preferimos tener un contacto más personalizado con vosotros. No dudéis en poneros en contacto para cualquier consulta.\r\n Por la gran rotación y exclusividad de nuestros articulos puede que de alguno de ellos no queden existencias.\r\n Hemos hecho de esta tienda un pequeño mapamundi en el que podrás encontrar referencias a casi todos los rincones del sudeste asiático y a las últimas tendencias de occidente.\r\n Luz tenue, música relajante y una intensa mezcla de aromas es lo primero que percibes al entrar a\r\n\r\n \r\n\r\n\r\nBIENVENIDOS\r\n ', 'Cartelera', '', 'publish', 'closed', 'open', '', '117', '', '', '2011-07-04 14:12:00', '2011-07-04 14:12:00', '', 0, 'http://localhost/originalhouse/?p=117', 3, 'nav_menu_item', '', 0), +(115, 1, '2011-07-04 12:15:07', '2011-07-04 12:15:07', '[catablog template="gallery"]', '', '', 'publish', 'closed', 'open', '', '115', '', '', '2011-07-05 09:23:35', '2011-07-05 09:23:35', '', 0, 'http://localhost/originalhouse/?p=115', 1, 'nav_menu_item', '', 0), +(116, 1, '2011-07-04 12:15:07', '2011-07-04 12:15:07', ' ATENCIÓN PERSONALIZADA A INTERIORISTAS Y ARQUITECTOS.\r\n REFORMA DE INTERIORES.\r\n TRANSPORTE GRATUITO DE MOBILIARIO EN MADRID CAPITAL.\r\n ESTUDIOS DE INTERIORISMO AL REALIZAR TU COMPRA EN ORIGINAL HOUSE.\r\n ROTACIÓN CONSTANTE DE ARTÍCULOS.\r\n FINANCIACIÓN A 6 MESES SIN INTERESES.\r\n ESTAMOS DETRAS DE MUCHAS SERIES DE TELEVISION Y PUBLICIDAD, OFRECIENDO NUESTROS ARTICULOS PARA ALQUILER.\r\n', 'Proyectos', '', 'publish', 'closed', 'open', '', 'proyectos', '', '', '2011-07-05 09:23:35', '2011-07-05 09:23:35', '', 0, 'http://localhost/originalhouse/?p=116', 3, 'nav_menu_item', '', 0), +(117, 1, '2011-07-04 12:15:07', '2011-07-04 12:15:07', ' ORIGINAL HOUSE se creo en el año 2003 como alternativa a las grandes superficies y a una demanda en crecimiento de un estilo en decoración más personal.\r\n Consideramos que nuestros artículos tienen que estar a la altura del cliente más exigente, por eso huimos de la venta fría por Internet y preferimos tener un contacto más personalizado con vosotros. No dudéis en poneros en contacto para cualquier consulta.\r\n Por la gran rotación y exclusividad de nuestros articulos puede que de alguno de ellos no queden existencias.\r\n Hemos hecho de esta tienda un pequeño mapamundi en el que podrás encontrar referencias a casi todos los rincones del sudeste asiático y a las últimas tendencias de occidente.\r\n Luz tenue, música relajante y una intensa mezcla de aromas es lo primero que percibes al entrar a\r\n\r\n \r\n\r\n\r\nBIENVENIDOS\r\n ', 'Cartelera', '', 'publish', 'closed', 'open', '', '117', '', '', '2011-07-05 09:23:35', '2011-07-05 09:23:35', '', 0, 'http://localhost/originalhouse/?p=117', 4, 'nav_menu_item', '', 0), (76, 1, '2011-06-29 18:58:49', '2011-06-29 18:58:49', ' ', 'Catálogo', '', 'publish', 'open', 'open', '', '76', '', '', '2011-06-30 12:25:22', '2011-06-30 12:25:22', '', 0, 'http://localhost/originalhouse/?p=76', 1, 'nav_menu_item', '', 0), (124, 1, '2011-07-04 14:11:45', '2011-07-04 14:11:45', '\r\n\r\n\r\n\r\n\r\n\r\n
\r\n
\r\n
[tubepress]
\r\n
\r\n ', 'Vídeos', '', 'inherit', 'closed', 'open', '', '121-revision-2', '', '', '2011-07-04 14:11:45', '2011-07-04 14:11:45', '', 121, 'http://localhost/originalhouse/?p=124', 0, 'revision', '', 0), -(119, 1, '2011-07-04 12:15:53', '2011-07-04 12:15:53', 'C/ RODRIGUEZ SAN PEDRO, 40\r\n\r\n28015-MADRID\r\n\r\nMETRO:ARGUELLES\r\n\r\nBUS: 2, 16, 21, 61, 202\r\n\r\nPARKING FRENTE A LA TIENDA\r\n\r\nTFNO: 91 543 30 96\r\n\r\nEMAIL: originalhouse@originalhouse.info\r\n\r\n \r\n\r\n \r\n\r\n ', 'Contacto', '', 'publish', 'closed', 'open', '', 'contacto', '', '', '2011-07-04 14:12:00', '2011-07-04 14:12:00', '', 0, 'http://localhost/originalhouse/?p=119', 6, 'nav_menu_item', '', 0), -(120, 1, '2011-07-04 12:15:53', '2011-07-04 12:15:53', ' ATENCIÓN PERSONALIZADA A INTERIORISTAS Y ARQUITECTOS.\r\n REFORMA DE INTERIORES.\r\n TRANSPORTE GRATUITO DE MOBILIARIO EN MADRID CAPITAL.\r\n ESTUDIOS DE INTERIORISMO AL REALIZAR TU COMPRA EN ORIGINAL HOUSE.\r\n ROTACIÓN CONSTANTE DE ARTÍCULOS.\r\n FINANCIACIÓN A 6 MESES SIN INTERESES.\r\n ESTAMOS DETRAS DE MUCHAS SERIES DE TELEVISION Y PUBLICIDAD, OFRECIENDO NUESTROS ARTICULOS PARA ALQUILER.\r\n', 'Acerca de', '', 'publish', 'closed', 'open', '', 'acerca-de', '', '', '2011-07-04 14:12:00', '2011-07-04 14:12:00', '', 0, 'http://localhost/originalhouse/?p=120', 5, 'nav_menu_item', '', 0), +(119, 1, '2011-07-04 12:15:53', '2011-07-04 12:15:53', 'C/ RODRIGUEZ SAN PEDRO, 40\r\n\r\n28015-MADRID\r\n\r\nMETRO:ARGUELLES\r\n\r\nBUS: 2, 16, 21, 61, 202\r\n\r\nPARKING FRENTE A LA TIENDA\r\n\r\nTFNO: 91 543 30 96\r\n\r\nEMAIL: originalhouse@originalhouse.info\r\n\r\n \r\n\r\n \r\n\r\n ', 'Contacto', '', 'publish', 'closed', 'open', '', 'contacto', '', '', '2011-07-05 09:23:35', '2011-07-05 09:23:35', '', 0, 'http://localhost/originalhouse/?p=119', 7, 'nav_menu_item', '', 0), +(120, 1, '2011-07-04 12:15:53', '2011-07-04 12:15:53', ' ATENCIÓN PERSONALIZADA A INTERIORISTAS Y ARQUITECTOS.\r\n REFORMA DE INTERIORES.\r\n TRANSPORTE GRATUITO DE MOBILIARIO EN MADRID CAPITAL.\r\n ESTUDIOS DE INTERIORISMO AL REALIZAR TU COMPRA EN ORIGINAL HOUSE.\r\n ROTACIÓN CONSTANTE DE ARTÍCULOS.\r\n FINANCIACIÓN A 6 MESES SIN INTERESES.\r\n ESTAMOS DETRAS DE MUCHAS SERIES DE TELEVISION Y PUBLICIDAD, OFRECIENDO NUESTROS ARTICULOS PARA ALQUILER.\r\n', 'Acerca de', '', 'publish', 'closed', 'open', '', 'acerca-de', '', '', '2011-07-05 09:23:35', '2011-07-05 09:23:35', '', 0, 'http://localhost/originalhouse/?p=120', 6, 'nav_menu_item', '', 0), (126, 1, '2011-07-04 14:15:23', '2011-07-04 14:15:23', '[tubepress]', 'Vídeos', '', 'inherit', 'closed', 'open', '', '121-autosave', '', '', '2011-07-04 14:15:23', '2011-07-04 14:15:23', '', 121, 'http://localhost/originalhouse/?p=126', 0, 'revision', '', 0), (127, 1, '2011-07-04 17:21:18', '2011-07-04 17:21:18', '[productspage]', 'Products Page', '', 'publish', 'closed', 'closed', '', 'products-page', '', '', '2011-07-04 17:21:18', '2011-07-04 17:21:18', '', 0, 'http://localhost/originalhouse/?page_id=127', 0, 'page', '', 0), (128, 1, '2011-07-04 17:21:18', '2011-07-04 17:21:18', '[shoppingcart]', 'Checkout', '', 'publish', 'closed', 'closed', '', 'checkout', '', '', '2011-07-04 17:21:18', '2011-07-04 17:21:18', '', 127, 'http://localhost/originalhouse/?page_id=128', 0, 'page', '', 0), @@ -1052,15 +1212,26 @@ INSERT INTO `wp_posts` (`ID`, `post_author`, `post_date`, `post_date_gmt`, `post (121, 1, '2011-07-04 14:11:45', '2011-07-04 14:11:45', '[tubepress]', 'Vídeos', '', 'publish', 'closed', 'open', '', 'videos', '', '', '2011-07-04 14:14:21', '2011-07-04 14:14:21', '', 0, 'http://localhost/originalhouse/?page_id=121', 0, 'page', '', 0), (122, 1, '2011-07-04 14:11:41', '2011-07-04 14:11:41', '', 'Vídeos', '', 'inherit', 'closed', 'open', '', '121-revision', '', '', '2011-07-04 14:11:41', '2011-07-04 14:11:41', '', 121, 'http://localhost/originalhouse/?p=122', 0, 'revision', '', 0), (125, 1, '2011-07-04 14:14:17', '2011-07-04 14:14:17', '[tubepress]', 'Vídeos', '', 'inherit', 'closed', 'open', '', '121-revision-3', '', '', '2011-07-04 14:14:17', '2011-07-04 14:14:17', '', 121, 'http://localhost/originalhouse/?p=125', 0, 'revision', '', 0), -(123, 1, '2011-07-04 14:12:00', '2011-07-04 14:12:00', '\r\n\r\n\r\n\r\n[tubepress]\r\n\r\n\r\n\r\n\r\n ', '', '', 'publish', 'closed', 'open', '', '123', '', '', '2011-07-04 14:12:00', '2011-07-04 14:12:00', '', 0, 'http://localhost/originalhouse/?p=123', 4, 'nav_menu_item', '', 0), +(123, 1, '2011-07-04 14:12:00', '2011-07-04 14:12:00', '\r\n\r\n\r\n[tubepress]\r\n\r\n\r\n\r\n\r\n ', '', '', 'publish', 'closed', 'open', '', '123', '', '', '2011-07-05 09:23:35', '2011-07-05 09:23:35', '', 0, 'http://localhost/originalhouse/?p=123', 5, 'nav_menu_item', '', 0), (130, 1, '2011-07-04 17:21:18', '2011-07-04 17:21:18', '[userlog]', 'Your Account', '', 'publish', 'closed', 'closed', '', 'your-account', '', '', '2011-07-04 17:21:18', '2011-07-04 17:21:18', '', 127, 'http://localhost/originalhouse/?page_id=130', 0, 'page', '', 0), -(131, 1, '2011-07-04 17:22:28', '2011-07-04 17:22:28', 'trtrrtrttrtrrtrttr', 'trtrtrtrtrrttrtr', '', 'publish', 'closed', 'closed', '', 'trtrtrtrtrrttrtr', '', '', '2011-07-04 17:22:28', '2011-07-04 17:22:28', '', 0, 'http://localhost/originalhouse/?post_type=wpsc-product&p=131', 0, 'wpsc-product', '', 0), -(132, 1, '2011-07-04 17:23:31', '2011-07-04 17:23:31', 'trtrrtrttrtrrtrttr', 'trtrtrtrtrrttrtr', '', 'inherit', 'closed', 'open', '', '131-autosave', '', '', '2011-07-04 17:23:31', '2011-07-04 17:23:31', '', 131, 'http://localhost/originalhouse/?p=132', 0, 'revision', '', 0), -(133, 1, '2011-07-04 17:27:11', '2011-07-04 17:27:11', '[tcp_shopping_cart]', 'Shopping cart', '', 'trash', 'closed', 'open', '', 'shopping-cart', '', '', '2011-07-04 17:27:54', '2011-07-04 17:27:54', '', 0, 'http://localhost/originalhouse/?page_id=133', 0, 'page', '', 0), -(134, 1, '2011-07-04 17:27:11', '2011-07-04 17:27:11', '[tcp_checkout]', 'Checkout', '', 'trash', 'closed', 'open', '', 'checkout', '', '', '2011-07-04 17:27:54', '2011-07-04 17:27:54', '', 133, 'http://localhost/originalhouse/?page_id=134', 0, 'page', '', 0), +(209, 1, '2011-06-28 15:12:45', '2011-06-28 15:12:45', 'Bienvenido a WordPress. Esta es tu primera entrada. Edítala o bórrala, ¡y comienza a publicar!.', '¡Hola mundo!', '', 'inherit', 'closed', 'open', '', '1-revision', '', '', '2011-06-28 15:12:45', '2011-06-28 15:12:45', '', 1, 'http://localhost/originalhouse/?p=209', 0, 'revision', '', 0), +(210, 1, '2011-07-05 09:22:35', '2011-07-05 09:22:35', '', 'ACRO 66ML', '', 'inherit', 'closed', 'open', '', 'acro1', '', '', '2011-07-05 09:22:35', '2011-07-05 09:22:35', '', 207, 'http://localhost/originalhouse/wp-content/uploads/2011/07/acro1.jpg', 0, 'attachment', 'image/jpeg', 0), +(133, 1, '2011-07-04 17:27:11', '2011-07-04 17:27:11', '[tcp_shopping_cart]', 'Shopping cart', '', 'publish', 'closed', 'open', '', 'shopping-cart', '', '', '2011-07-04 17:27:54', '2011-07-04 17:27:54', '', 0, 'http://localhost/originalhouse/?page_id=133', 0, 'page', '', 0), +(134, 1, '2011-07-04 17:27:11', '2011-07-04 17:27:11', '[tcp_checkout]', 'Checkout', '', 'publish', 'closed', 'open', '', 'checkout', '', '', '2011-07-04 17:27:54', '2011-07-04 17:27:54', '', 133, 'http://localhost/originalhouse/?page_id=134', 0, 'page', '', 0), (135, 1, '2011-07-04 17:27:22', '0000-00-00 00:00:00', '', 'Borrador automático', '', 'auto-draft', 'closed', 'open', '', '', '', '', '2011-07-04 17:27:22', '0000-00-00 00:00:00', '', 0, 'http://localhost/originalhouse/?post_type=tcp_product&p=135', 0, 'tcp_product', '', 0), (136, 1, '2011-07-04 17:27:11', '2011-07-04 17:27:11', '[tcp_shopping_cart]', 'Shopping cart', '', 'inherit', 'closed', 'open', '', '133-revision', '', '', '2011-07-04 17:27:11', '2011-07-04 17:27:11', '', 133, 'http://localhost/originalhouse/?p=136', 0, 'revision', '', 0), -(137, 1, '2011-07-04 17:27:11', '2011-07-04 17:27:11', '[tcp_checkout]', 'Checkout', '', 'inherit', 'closed', 'open', '', '134-revision', '', '', '2011-07-04 17:27:11', '2011-07-04 17:27:11', '', 134, 'http://localhost/originalhouse/?p=137', 0, 'revision', '', 0); +(137, 1, '2011-07-04 17:27:11', '2011-07-04 17:27:11', '[tcp_checkout]', 'Checkout', '', 'inherit', 'closed', 'open', '', '134-revision', '', '', '2011-07-04 17:27:11', '2011-07-04 17:27:11', '', 134, 'http://localhost/originalhouse/?p=137', 0, 'revision', '', 0), +(211, 1, '2011-07-05 09:23:35', '2011-07-05 09:23:35', ' ', '', '', 'publish', 'closed', 'open', '', '211', '', '', '2011-07-05 09:23:35', '2011-07-05 09:23:35', '', 12, 'http://localhost/originalhouse/?p=211', 2, 'nav_menu_item', '', 0), +(214, 1, '2011-07-05 09:51:21', '2011-07-05 09:51:21', '82x123x40 cm', 'ARI-102247', '', 'publish', 'closed', 'open', '', 'ari-102247', '', '', '2011-07-05 17:06:40', '2011-07-05 17:06:40', '', 0, 'http://localhost/originalhouse/?post_type=tcp_product&p=214', 0, 'tcp_product', '', 0), +(215, 1, '2011-07-05 09:52:37', '2011-07-05 09:52:37', '', 'ARI-102247', '', 'inherit', 'closed', 'open', '', 'ari1', '', '', '2011-07-05 09:52:37', '2011-07-05 09:52:37', '', 214, 'http://localhost/originalhouse/wp-content/uploads/2011/07/ari1.jpg', 0, 'attachment', 'image/jpeg', 0), +(216, 1, '2011-07-05 17:07:43', '2011-07-05 17:07:43', '82x123x40 cm', 'ARI-102247', '', 'inherit', 'closed', 'open', '', '214-autosave', '', '', '2011-07-05 17:07:43', '2011-07-05 17:07:43', '', 214, 'http://localhost/originalhouse/?p=216', 0, 'revision', '', 0), +(204, 1, '2011-07-04 18:38:12', '0000-00-00 00:00:00', '', 'Borrador automático', '', 'auto-draft', 'closed', 'open', '', '', '', '', '2011-07-04 18:38:12', '0000-00-00 00:00:00', '', 0, 'http://localhost/originalhouse/?post_type=tcp_product&p=204', 0, 'tcp_product', '', 0), +(205, 1, '2011-07-04 18:40:58', '2011-07-04 18:40:58', '', 'dasdasdas', '', 'trash', 'closed', 'open', '', 'dasdasdas', '', '', '2011-07-05 08:51:13', '2011-07-05 08:51:13', '', 0, 'http://localhost/originalhouse/?post_type=tcp_product&p=205', 0, 'tcp_product', '', 0), +(206, 1, '2011-07-05 08:52:41', '0000-00-00 00:00:00', '', 'Borrador automático', '', 'auto-draft', 'closed', 'open', '', '', '', '', '2011-07-05 08:52:41', '0000-00-00 00:00:00', '', 0, 'http://localhost/originalhouse/?post_type=tcp_template&p=206', 0, 'tcp_template', '', 0), +(207, 1, '2011-07-05 09:04:54', '2011-07-05 09:04:54', '85x130x45 cm', 'ACRO 66ML', '', 'publish', 'closed', 'open', '', 'sdadsads', '', '', '2011-07-05 09:22:53', '2011-07-05 09:22:53', '', 0, 'http://localhost/originalhouse/?post_type=tcp_product&p=207', 0, 'tcp_product', '', 0), +(208, 1, '2011-07-05 09:23:56', '2011-07-05 09:23:56', '85x130x45 cm', 'ACRO 66ML', '', 'inherit', 'closed', 'open', '', '207-autosave', '', '', '2011-07-05 09:23:56', '2011-07-05 09:23:56', '', 207, 'http://localhost/originalhouse/?p=208', 0, 'revision', '', 0), +(212, 1, '2011-07-05 09:25:33', '2011-07-05 09:25:33', '90x150x45 cm', 'ACRO-30A', '', 'publish', 'closed', 'open', '', 'acro-30a', '', '', '2011-07-05 09:25:33', '2011-07-05 09:25:33', '', 0, 'http://localhost/originalhouse/?post_type=tcp_product&p=212', 0, 'tcp_product', '', 0), +(213, 1, '2011-07-05 09:25:06', '2011-07-05 09:25:06', '', 'ACRO-30A', '', 'inherit', 'closed', 'open', '', 'acro2', '', '', '2011-07-05 09:25:06', '2011-07-05 09:25:06', '', 212, 'http://localhost/originalhouse/wp-content/uploads/2011/07/acro2.jpg', 0, 'attachment', 'image/jpeg', 0); -- -------------------------------------------------------- @@ -1774,7 +1945,7 @@ CREATE TABLE IF NOT EXISTS `wp_terms` ( PRIMARY KEY (`term_id`), UNIQUE KEY `slug` (`slug`), KEY `name` (`name`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=12 ; +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=39 ; -- -- Volcar la base de datos para la tabla `wp_terms` @@ -1788,7 +1959,29 @@ INSERT INTO `wp_terms` (`term_id`, `name`, `slug`, `term_group`) VALUES (6, 'Menú principal', 'menu-principal', 0), (8, 'Nuevo menú', 'nuevo-menu', 0), (10, 'Menú vacío', 'menu-vacio', 0), -(11, 'Product Category', 'product-category', 0); +(12, 'Muebles', 'muebles', 0), +(13, 'Espejos', 'espejos', 0), +(14, 'Iluminación', 'iluminacion', 0), +(15, 'Decoración', 'decoracion', 0), +(16, 'Textil', 'textil', 0), +(17, 'Mesas', 'mesas', 0), +(18, 'Estanterías', 'estanterias', 0), +(19, 'Vitrinas', 'vitrinas', 0), +(20, 'Modulares', 'modulares', 0), +(21, 'Aparadores', 'aparadores', 0), +(22, 'Muebles TV', 'muebles-tv', 0), +(23, 'Consolas', 'consolas', 0), +(24, 'Sofás', 'sofas', 0), +(25, 'Sillas', 'sillas', 0), +(26, 'Dormitorio', 'dormitorio', 0), +(28, 'Armarios & Cajoneras', 'armarios-cajoneras', 0), +(29, 'Auxiliar', 'auxiliar', 0), +(30, 'Cabeceros', 'cabeceros', 0), +(31, 'Cómodas', 'comodas', 0), +(32, 'Mesillas', 'mesillas', 0), +(33, 'Comedor', 'comedor', 0), +(34, 'Centro', 'centro', 0), +(35, 'Rincón', 'rincon', 0); -- -------------------------------------------------------- @@ -1825,7 +2018,7 @@ INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_orde (110, 6, 0), (111, 6, 0), (117, 8, 0), -(131, 11, 0), +(211, 8, 0), (120, 8, 0), (76, 7, 0), (69, 6, 0), @@ -1833,7 +2026,10 @@ INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_orde (22, 3, 0), (21, 3, 0), (20, 3, 0), -(123, 8, 0); +(123, 8, 0), +(212, 48, 0), +(214, 48, 0), +(207, 48, 0); -- -------------------------------------------------------- @@ -1851,21 +2047,43 @@ CREATE TABLE IF NOT EXISTS `wp_term_taxonomy` ( PRIMARY KEY (`term_taxonomy_id`), UNIQUE KEY `term_id_taxonomy` (`term_id`,`taxonomy`), KEY `taxonomy` (`taxonomy`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=12 ; +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=62 ; -- -- Volcar la base de datos para la tabla `wp_term_taxonomy` -- INSERT INTO `wp_term_taxonomy` (`term_taxonomy_id`, `term_id`, `taxonomy`, `description`, `parent`, `count`) VALUES -(1, 1, 'category', '', 0, 1), +(1, 1, 'category', '', 0, 0), (2, 2, 'link_category', '', 0, 7), (3, 3, 'catablog-terms', '', 0, 3), (6, 6, 'nav_menu', '', 0, 5), (7, 7, 'nav_menu', '', 0, 2), -(8, 8, 'nav_menu', '', 0, 6), +(8, 8, 'nav_menu', '', 0, 7), (10, 10, 'nav_menu', '', 0, 0), -(11, 11, 'wpsc_product_category', '', 0, 1); +(39, 12, 'tcp_product_category', '', 0, 0), +(40, 13, 'tcp_product_category', '', 0, 0), +(41, 14, 'tcp_product_category', '', 0, 0), +(42, 15, 'tcp_product_category', '', 0, 0), +(43, 16, 'tcp_product_category', '', 0, 0), +(44, 17, 'tcp_product_category', '', 12, 0), +(45, 18, 'tcp_product_category', '', 12, 0), +(46, 19, 'tcp_product_category', '', 12, 0), +(47, 20, 'tcp_product_category', '', 12, 0), +(48, 21, 'tcp_product_category', '', 12, 3), +(49, 22, 'tcp_product_category', '', 12, 0), +(50, 23, 'tcp_product_category', '', 12, 0), +(51, 24, 'tcp_product_category', '', 12, 0), +(52, 25, 'tcp_product_category', '', 12, 0), +(53, 26, 'tcp_product_category', '', 12, 0), +(54, 28, 'tcp_product_category', '', 12, 0), +(55, 29, 'tcp_product_category', '', 12, 0), +(56, 33, 'tcp_product_category', '', 17, 0), +(57, 34, 'tcp_product_category', '', 17, 0), +(58, 35, 'tcp_product_category', '', 17, 0), +(59, 30, 'tcp_product_category', '', 26, 0), +(60, 31, 'tcp_product_category', '', 26, 0), +(61, 32, 'tcp_product_category', '', 26, 0); -- -------------------------------------------------------- @@ -1881,7 +2099,7 @@ CREATE TABLE IF NOT EXISTS `wp_usermeta` ( PRIMARY KEY (`umeta_id`), KEY `user_id` (`user_id`), KEY `meta_key` (`meta_key`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=26 ; +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=32 ; -- -- Volcar la base de datos para la tabla `wp_usermeta` @@ -1897,22 +2115,28 @@ INSERT INTO `wp_usermeta` (`umeta_id`, `user_id`, `meta_key`, `meta_value`) VALU (7, 1, 'admin_color', 'fresh'), (8, 1, 'use_ssl', '0'), (9, 1, 'show_admin_bar_front', 'true'), -(10, 1, 'show_admin_bar_admin', 'false'), +(10, 1, 'show_admin_bar_admin', 'true'), (11, 1, 'aim', ''), (12, 1, 'yim', ''), (13, 1, 'jabber', ''), (14, 1, 'wp_capabilities', 'a:1:{s:13:"administrator";s:1:"1";}'), (15, 1, 'wp_user_level', '10'), (16, 1, 'wp_dashboard_quick_press_last_post_id', '3'), -(17, 1, 'closedpostboxes_dashboard', 'a:0:{}'), -(18, 1, 'metaboxhidden_dashboard', 'a:6:{i:0;s:25:"dashboard_recent_comments";i:1;s:17:"dashboard_plugins";i:2;s:21:"dashboard_quick_press";i:3;s:23:"dashboard_recent_drafts";i:4;s:17:"dashboard_primary";i:5;s:19:"dashboard_secondary";}'), -(19, 1, 'meta-box-order_dashboard', 'a:4:{s:6:"normal";s:63:"dashboard_right_now,dashboard_recent_comments,dashboard_plugins";s:4:"side";s:108:"dashboard_quick_press,dashboard_recent_drafts,dashboard_primary,dashboard_incoming_links,dashboard_secondary";s:7:"column3";s:0:"";s:7:"column4";s:0:"";}'), +(17, 1, 'closedpostboxes_dashboard', 'a:1:{i:0;s:17:"tcp_orders_resume";}'), +(18, 1, 'metaboxhidden_dashboard', 'a:8:{i:0;s:25:"dashboard_recent_comments";i:1;s:17:"dashboard_plugins";i:2;s:17:"tcp_orders_resume";i:3;s:23:"thecartpress_rss_widget";i:4;s:21:"dashboard_quick_press";i:5;s:23:"dashboard_recent_drafts";i:6;s:17:"dashboard_primary";i:7;s:19:"dashboard_secondary";}'), +(19, 1, 'meta-box-order_dashboard', 'a:4:{s:6:"normal";s:214:"dashboard_right_now,dashboard_recent_comments,dashboard_plugins,tcp_orders_resume,thecartpress_rss_widget,dashboard_quick_press,dashboard_recent_drafts,dashboard_primary,dashboard_incoming_links,dashboard_secondary";s:4:"side";s:0:"";s:7:"column3";s:0:"";s:7:"column4";s:0:"";}'), (20, 1, 'screen_layout_dashboard', '2'), -(21, 1, 'wp_user-settings', 'm6=o&m7=o&m8=o&m9=o&m5=o&imgsize=full&m4=o&m11=o&hidetb=1&editor=tinymce&m12=o'), -(22, 1, 'wp_user-settings-time', '1309378185'), +(21, 1, 'wp_user-settings', 'm6=o&m7=o&m8=o&m9=o&m5=o&imgsize=full&m4=o&m11=o&hidetb=1&editor=tinymce&m12=o&m13=o&m10=o&m14=c'), +(22, 1, 'wp_user-settings-time', '1309860167'), (23, 1, 'managenav-menuscolumnshidden', 'a:4:{i:0;s:11:"link-target";i:1;s:11:"css-classes";i:2;s:3:"xfn";i:3;s:11:"description";}'), (24, 1, 'metaboxhidden_nav-menus', 'a:2:{i:0;s:8:"add-post";i:1;s:12:"add-post_tag";}'), -(25, 1, 'nav_menu_recently_edited', '10'); +(25, 1, 'nav_menu_recently_edited', '8'), +(26, 1, 'meta-box-order_wpsc-product', 'a:3:{s:4:"side";s:147:"submitdiv,wpsc_stock_control_forms,wpsc_product_categorydiv,wpsc-variationdiv,wpsc_price_control_forms,wpsc_product_taxes_forms,tagsdiv-product_tag";s:6:"normal";s:199:"wpsc_product_image_forms,wpsc_product_variation_forms,wpsc_product_external_link_forms,wpsc_additional_desc,wpsc_product_download_forms,wpsc_product_shipping_forms,wpsc_product_advanced_forms,slugdiv";s:8:"advanced";s:0:"";}'), +(27, 1, 'screen_layout_wpsc-product', '2'), +(28, 1, 'closedpostboxes_wpsc-product', 'a:6:{i:0;s:28:"wpsc_product_variation_forms";i:1;s:32:"wpsc_product_external_link_forms";i:2;s:20:"wpsc_additional_desc";i:3;s:27:"wpsc_product_download_forms";i:4;s:27:"wpsc_product_shipping_forms";i:5;s:27:"wpsc_product_advanced_forms";}'), +(29, 1, 'metaboxhidden_wpsc-product', 'a:1:{i:0;s:7:"slugdiv";}'), +(30, 1, 'meta-box-order_tcp_product', 'a:3:{s:4:"side";s:94:"submitdiv,postimagediv,tcp_product_categorydiv,tagsdiv-tcp_product_tag,tcp_product_supplierdiv";s:6:"normal";s:74:"tcp-product-custom-fields,postexcerpt,commentstatusdiv,commentsdiv,slugdiv";s:8:"advanced";s:0:"";}'), +(31, 1, 'screen_layout_tcp_product', '2'); -- -------------------------------------------------------- @@ -2400,19 +2624,12 @@ CREATE TABLE IF NOT EXISTS `wp_wpsc_meta` ( PRIMARY KEY (`meta_id`), KEY `object_type__meta_key` (`object_type`,`meta_key`), KEY `object_type__object_id__meta_key` (`object_type`,`object_id`,`meta_key`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=7 ; +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -- Volcar la base de datos para la tabla `wp_wpsc_meta` -- -INSERT INTO `wp_wpsc_meta` (`meta_id`, `object_type`, `object_id`, `meta_key`, `meta_value`) VALUES -(1, 'wpsc_category', 11, 'nicename', 'product-category'), -(2, 'wpsc_category', 11, 'description', 'This is a description'), -(3, 'wpsc_category', 11, 'image', ''), -(4, 'wpsc_category', 11, 'fee', '0'), -(5, 'wpsc_category', 11, 'active', '1'), -(6, 'wpsc_category', 11, 'order', '0'); -- -------------------------------------------------------- diff --git a/información/MUEBLES PRECIOS/aparadores.csv b/información/MUEBLES PRECIOS/aparadores.csv new file mode 100644 index 0000000..f231e2d --- /dev/null +++ b/información/MUEBLES PRECIOS/aparadores.csv @@ -0,0 +1,66 @@ +SKU ,Product Name,Price,Dimension Height,Dimension Height Unit ,Dimension Width ,Dimension Width Unit ,Dimension Length ,Dimension Length Unit ,Product Description ,Thumbnail Image +ACRO 66ML,ACRO 66ML,697€,85,cm,130,cm,45,cm,,ACRO-66ML.jpg +ACRO-30A,ACRO-30A,649€,90,cm,150,cm,45,cm,,ACRO-30A.jpg +ARI 102247,ARI 102247,649€,82,cm,123,cm,40,cm,,ARI-102247.jpg +ARI 102284,ARI 102284,679€,90,cm,146,cm,35,cm,,ARI-102284.jpg +ARI 102287,ARI 102287,697€,89,cm,140,cm,35,cm,,ARI-102287.jpg +CAC 599-003649,CAC 599-003649,635€,80,cm,165,cm,50,cm,,CAC-599-003649.jpg +CAC 599-004463,CAC 599-004463,729€,80,cm,170,cm,50,cm,TAMBIEN EN BLANCO,CAC-599-004463.jpg +CAC 599-004565,CAC 599-004565,629€,80,cm,180,cm,40,cm,TAMBIEN EN AZUL,CAC-599-004565.jpg +DUG 661,DUG 661,1037€,78,cm,178,cm,49,cm,,DUG-661.jpg +DUG 741,DUG 741,929€,78,cm,190,cm,50,cm,,DUG-741.jpg +DUG 741,DUG 741,929€,78,cm,190,cm,50,cm,NEGRO,DUG-741.jpg +DUG W 743,DUG W 743,837€,78,cm,160,cm,50,cm,,DUG-W-743.jpg +IMO 35-113,IMO 35-113,797€,88,cm,140,cm,45,cm,,IMO-35-113.jpg +IMO 35-126,IMO 35-126,998€,110,cm,150,cm,45,cm,,IMO-35-126.jpg +IMO 35-57,IMO 35-57,897€,110,cm,160,cm,43,cm,,IMO-35-57.jpg +IMO 35-81,IMO 35-81,879€,90,cm,160,cm,45,cm,,IMO-35-81.jpg +IMO 75-12,IMO 75-12,729€,95,cm,145,cm,45,cm,,IMO-75-12.jpg +IMO 75-25,IMO 75-25,519€,95,cm,127,cm,35,cm,,IMO-75-25.jpg +IMO 75-26,IMO 75-26,627€,80,cm,180,cm,45,cm,,IMO-75-26.jpg +IMO 75-39,IMO 75-39,928€,115,cm,165,cm,45,cm,,IMO-75-39.jpg +IMO 75-46,IMO 75-46,497€,85,cm,120,cm,40,cm,,IMO-75-46.jpg +IXI 16265,IXI 16265,637€,90,cm,150,cm,45,cm,,IXI-16265.jpg +IXI 7600400,IXI 7600400,657€,86,cm,160,cm,40,cm,,IXI-7600400.jpg +IXI 7600500,IXI 7600500,747€,116,cm,160,cm,40,cm,,IXI-7600500.jpg +IXI 7600600,IXI 7600600,579€,85,cm,120,cm,40,cm,,IXI-7600600.jpg +KUBIK 1400,KUBIK 1400,697€,80,cm,180,cm,40,cm,,KUBIK-1400.jpg +MIR-10700,MIR-10700,1049€,100,cm,180,cm,42,cm,,MIR-10700.jpg +MOY 145062J,MOY 145062J,719€,85,cm,160,cm,40,cm,,MOY-145062J.jpg +MOY 30950,MOY 30950,759€,80,cm,170,cm,40,cm,,MOY-30950.jpg +MOY-145062,MOY-145062,689€,85,cm,160,cm,40,cm,,MOY-145062.jpg +MOY-145071,MOY-145071,597€,80,cm,150,cm,40,cm,,MOY-145071.jpg +MOY-14601,MOY-14601,769€,115,cm,140,cm,40,cm,,MOY-14601.jpg +MOY-14608,MOY-14608,654€,75,cm,182,cm,45,cm,,MOY-14608.jpg +MOY-30137,MOY-30137,579€,80,cm,135,cm,40,cm,,MOY-30137.jpg +MOY-301528,MOY-301528,667€,85,cm,160,cm,40,cm,,MOY-301528.jpg +MOY-301529,MOY-301529,519€,80,cm,135,cm,40,cm,,MOY-301529.jpg +MOY-30212,MOY-30212,619€,88,cm,160,cm,40,cm,,MOY-30212.jpg +MOY-30298,MOY-30298,519€,80,cm,120,cm,45,cm,,MOY-30298.jpg +MOY-30313,MOY-30313,715€,85,cm,180,cm,45,cm,,MOY-30313.jpg +MOY-30541,MOY-30541,657€,86,cm,160,cm,40,cm,,MOY-30541.jpg +MOY-30550,MOY-30550,825€,116,cm,160,cm,40,cm,,MOY-30550.jpg +MOY-30940,MOY-30940,679€,80,cm,160,cm,45,cm,,MOY-30940.jpg +OM 555,OM 555,842€,95,cm,170,cm,40,cm,,OM-555.jpg +OM 627,OM 627,784€,95,cm,180,cm,45,cm,,OM-627.jpg +OM 666,OM 666,842€,90,cm,180,cm,45,cm,,OM-666.jpg +OM 706,OM 706,898€,90,cm,170,cm,40,cm,,OM-706.jpg +OM 728,OM 728,754€,65,cm,150,cm,45,cm,,OM-728.jpg +OM-1150,OM-1150,986€,90,cm,175,cm,45,cm,,OM-1150.jpg +OM-1151,OM-1151,798€,75,cm,150,cm,45,cm,,OM-1151.jpg +OM-1161,OM-1161,697€,75,cm,120,cm,45,cm,,OM-1161.jpg +OM-1167,OM-1167,578€,70,cm,140,cm,40,cm,,OM-1167.jpg +OM-1172,OM-1172,947€,85,cm,180,cm,45,cm,,OM-1172.jpg +OM-732,OM-732,1119€,85,cm,200,cm,40,cm,,OM-732.jpg +OM-740,OM-740,832€,80,cm,170,cm,45,cm,,OM-740.jpg +SOC-10077,SOC-10077,1129€,90,cm,180,cm,50,cm,,SOC-10077.jpg +SOC-10093,SOC-10093,1029€,85,cm,160,cm,45,cm,tambien en rojo 10185 negro 10184,SOC-10093.jpg +SP-30214,SP-30214,567€,90,cm,130,cm,40,cm,,SP-30214.jpg +SP-31440,SP-31440,589€,87,cm,150,cm,40,cm,,SP-31440.jpg +SP-31577,SP-31577,687€,85,cm,150,cm,40,cm,,SP-31577.jpg +VA-3127,VA-3127,739€,82,cm,205,cm,55,cm,,VA-3127.jpg +VA-8302,VA-8302,629€,80,cm,170,cm,40,cm,,VA-8302.jpg +VA-8316,VA-8316,629€,80,cm,170,cm,40,cm,,VA-8316.jpg +VIC-16224,VIC-16224,457€,80,cm,120,cm,38,cm,,VIC-16224.jpg +VIC-15671,VIC-15671,397€,80,cm,120,cm,38,cm,,VIC-15671.jpg +VIC-16205,VIC-16205,497€,78,cm,130,cm,40,cm,,VIC-16205.jpg diff --git a/información/MUEBLES PRECIOS/aparadores.txt b/información/MUEBLES PRECIOS/aparadores.txt new file mode 100644 index 0000000..8ed30df --- /dev/null +++ b/información/MUEBLES PRECIOS/aparadores.txt @@ -0,0 +1,65 @@ +ACRO 66ML - 85x130x45 697?.jpg +ACRO-30A-90x150x45-649?.jpg +ARI 102247 82x123x40 649?.jpg +ARI 102284 90x146x35 679?.jpg +ARI 102287 89x140x35 697?.jpg +CAC 599-003649 80x165X50 635?.jpg +CAC 599-004463 80x170x50 729? TAMBIEN EN BLANCO.jpg +CAC 599-004565 80x180x40 629? TAMBIEN EN AZUL.jpg +DUG 661 78x178x49 1.037?.jpg +DUG 741 78x190x50 929?.jpg +DUG 741 NEGRO 78x190x50 929?.jpg +DUG W 743 78x160x50 837?.jpg +IMO 35-113 88x140x45 797?.jpg +IMO 35-126 110x150x45 998? .jpg +IMO 35-57 110x160x43 897?.jpg +IMO 35-81 90x160x45 879?.jpg +IMO 75-12 95x145x45 729?.jpg +IMO 75-25 95x127x35 519? .jpg +IMO 75-26 80x180x45 627? .jpg +IMO 75-39 115x165x45 928?.jpg +IMO 75-46 85x120x40 497?.jpg +IXI 16265 90x150x45 637? .jpg +IXI 7600400 86x160x40 657?.jpg +IXI 7600500 116x160x40 747? .jpg +IXI 7600600 85x120x40 579? .jpg +KUBIK 1400-80x180x40 697?.jpg +MIR-10700-100x180x42-1.049?.jpg +MOY 145062J 85x160x40 719?.jpg +MOY 30950 80x170x40 759?.jpg +MOY-145062-85x160x40-689?.jpg +MOY-145071-80x150x40-597?.jpg +MOY-14601-115x140x40-769?.jpg +MOY-14608-75x182x45-654?.jpg +MOY-30137-80x135x40-579?.jpg +MOY-301528-85x160x40-667?.jpg +MOY-301529-80x135x40-519?.jpg +MOY-30212-88x160x40-619?.jpg +MOY-30298-80x120x45-519?.jpg +MOY-30313-85x180x45-715?.jpg +MOY-30541-86x160x40-657?.jpg +MOY-30550-116X160X40-825?.jpg +MOY-30940-80x160x45-679?.jpg +OM 555 95x170x40 842?.jpg +OM 627 95x180x45 784?.jpg +OM 666 90x180x45 842?.jpg +OM 706 90x170x40 898?.jpg +OM 728 65x150x45 754?.jpg +OM-1150-90x175x45-986?.jpg +OM-1151-75x150x45-798?.jpg +OM-1161-75x120x45-697?.jpg +OM-1167-70x140x40-578?.jpg +OM-1172-85x180x45-947?.jpg +OM-732-85x200x40-1.119?-.jpg +OM-740-80x170x45-832?.jpg +SOC-10077-90x180x50-1.129?.jpg +SOC-10093-85x160x45-1.029?-tambien-en-rojo-10185-negro-10184.jpg +SP 30214 90x130x40 567? .jpg +SP 31440 87x150x40 589? .jpg +SP 31577 85x150x40 687?.jpg +VA-3127-82x205x55-739?.jpg +VA-8302-80x170x40 629?.jpg +VA-8316-80x170x40 629?.jpg +VIC 16224 80x120x38 457? .jpg +VIC-15671-80x120x38-397?.jpg +VIC-16205-78x130x40-497?-.jpg diff --git a/información/MUEBLES PRECIOS/aparadores.xls b/información/MUEBLES PRECIOS/aparadores.xls new file mode 100644 index 0000000..1dadbcc Binary files /dev/null and b/información/MUEBLES PRECIOS/aparadores.xls differ diff --git a/src/nbproject/private/private.xml b/src/nbproject/private/private.xml index 0b30bf8..cc2c0e5 100644 --- a/src/nbproject/private/private.xml +++ b/src/nbproject/private/private.xml @@ -1,12 +1,4 @@ - - file:/D:/Trabajo/OriginalHouse/trunk/src/wp-content/themes/originalhouse/template-homepage.php - file:/D:/Trabajo/OriginalHouse/trunk/src/wp-content/themes/originalhouse/template-fullwidth.php - file:/D:/Trabajo/OriginalHouse/trunk/src/wp-content/themes/originalhouse/includes/topmenu.php - file:/D:/Trabajo/OriginalHouse/trunk/src/wp-content/themes/originalhouse/footer.php - file:/D:/Trabajo/OriginalHouse/trunk/src/wp-content/themes/originalhouse/includes/theme-actions.php - file:/D:/Trabajo/OriginalHouse/trunk/src/wp-content/themes/originalhouse/style.css - diff --git a/src/readme.html b/src/readme.html index 3be02a8..b88440b 100644 --- a/src/readme.html +++ b/src/readme.html @@ -8,7 +8,7 @@

WordPress -
Versión 3.1.3 +
Versión 3.2

Plataforma Semántica de Publicación Personal

diff --git a/src/wp-activate.php b/src/wp-activate.php index 6bc019c..1ec4028 100644 --- a/src/wp-activate.php +++ b/src/wp-activate.php @@ -1,5 +1,5 @@ cache_enabled = false; -do_action("activate_header"); +do_action( 'activate_header' ); function do_activate_header() { - do_action("activate_wp_head"); + do_action( 'activate_wp_head' ); } add_action( 'wp_head', 'do_activate_header' ); @@ -87,9 +87,9 @@ get_header(); -

View your site or Login'), $url, $url . 'wp-login.php' ); ?>

+

View your site or Log in'), $url, $url . 'wp-login.php' ); ?>

-

Login or go back to the homepage.' ), network_site_url('wp-login.php', 'login'), network_home_url() ); ?>

+

Log in or go back to the homepage.' ), network_site_url('wp-login.php', 'login'), network_home_url() ); ?>

send(); break; case 'add-tag' : - check_ajax_referer( 'add-tag' ); + check_ajax_referer( 'add-tag', '_wpnonce_add-tag' ); $post_type = !empty($_POST['post_type']) ? $_POST['post_type'] : 'post'; $taxonomy = !empty($_POST['taxonomy']) ? $_POST['taxonomy'] : 'post_tag'; $tax = get_taxonomy($taxonomy); @@ -609,15 +609,15 @@ case 'get-comments' : if ( !$wp_list_table->has_items() ) die('1'); - $comment_list_item = ''; $x = new WP_Ajax_Response(); + ob_start(); foreach ( $wp_list_table->items as $comment ) { get_comment( $comment ); - ob_start(); - $wp_list_table->single_row( $comment ); - $comment_list_item .= ob_get_contents(); - ob_end_clean(); + $wp_list_table->single_row( $comment ); } + $comment_list_item = ob_get_contents(); + ob_end_clean(); + $x->add( array( 'what' => 'comments', 'data' => $comment_list_item @@ -660,15 +660,25 @@ case 'replyto-comment' : die( __('Error: please type a comment.') ); $comment_parent = absint($_POST['comment_ID']); + $comment_auto_approved = false; $commentdata = compact('comment_post_ID', 'comment_author', 'comment_author_email', 'comment_author_url', 'comment_content', 'comment_type', 'comment_parent', 'user_ID'); $comment_id = wp_new_comment( $commentdata ); $comment = get_comment($comment_id); if ( ! $comment ) die('1'); - $position = ( isset($_POST['position']) && (int) $_POST['position']) ? (int) $_POST['position'] : '-1'; + $position = ( isset($_POST['position']) && (int) $_POST['position'] ) ? (int) $_POST['position'] : '-1'; - $x = new WP_Ajax_Response(); + + // automatically approve parent comment + if ( !empty($_POST['approve_parent']) ) { + $parent = get_comment( $comment_parent ); + + if ( $parent && $parent->comment_approved === '0' && $parent->comment_post_ID == $comment_post_ID ) { + if ( wp_set_comment_status( $parent->comment_ID, 'approve' ) ) + $comment_auto_approved = true; + } + } ob_start(); if ( 'dashboard' == $_REQUEST['mode'] ) { @@ -685,13 +695,18 @@ case 'replyto-comment' : $comment_list_item = ob_get_contents(); ob_end_clean(); - $x->add( array( + $response = array( 'what' => 'comment', 'id' => $comment->comment_ID, 'data' => $comment_list_item, 'position' => $position - )); + ); + if ( $comment_auto_approved ) + $response['supplemental'] = array( 'parent_approved' => $parent->comment_ID ); + + $x = new WP_Ajax_Response(); + $x->add( $response ); $x->send(); break; case 'edit-comment' : @@ -844,7 +859,7 @@ case 'add-meta' : 'supplemental' => array('postid' => $pid) ) ); } else { // Update? - $mid = (int) array_pop( $var_by_ref = array_keys($_POST['meta']) ); + $mid = (int) array_pop( array_keys($_POST['meta']) ); $key = $_POST['meta'][$mid]['key']; $value = $_POST['meta'][$mid]['value']; if ( '' == trim($key) ) @@ -918,7 +933,7 @@ case 'autosave' : // The name of this action is hardcoded in edit_post() $do_autosave = (bool) $_POST['autosave']; $do_lock = true; - $data = ''; + $data = $alert = ''; /* translators: draft saved date format, see http://php.net/date */ $draft_saved_date_format = __('g:i:s a'); /* translators: %s: date and time */ @@ -926,7 +941,7 @@ case 'autosave' : // The name of this action is hardcoded in edit_post() $supplemental = array(); if ( isset($login_grace_period) ) - $supplemental['session_expired'] = add_query_arg( 'interim-login', 1, wp_login_url() ); + $alert .= sprintf( __('Your login has expired. Please open a new browser window and log in again. '), add_query_arg( 'interim-login', 1, wp_login_url() ) ); $id = $revision_id = 0; @@ -941,12 +956,10 @@ case 'autosave' : // The name of this action is hardcoded in edit_post() $last_user = get_userdata( $last ); $last_user_name = $last_user ? $last_user->display_name : __( 'Someone' ); - $data = new WP_Error( 'locked', sprintf( - $_POST['post_type'] == 'page' ? __( 'Autosave disabled: %s is currently editing this page.' ) : __( 'Autosave disabled: %s is currently editing this post.' ), - esc_html( $last_user_name ) - ) ); + $data = __( 'Autosave disabled.' ); $supplemental['disable_autosave'] = 'disable'; + $alert .= sprintf( __( '%s is currently editing this article. If you update it, you will overwrite the changes.' ), esc_html( $last_user_name ) ); } if ( 'page' == $post->post_type ) { @@ -992,6 +1005,9 @@ case 'autosave' : // The name of this action is hardcoded in edit_post() } } + if ( ! empty($alert) ) + $supplemental['alert'] = $alert; + $x = new WP_Ajax_Response( array( 'what' => 'autosave', 'id' => $id, @@ -1469,6 +1485,68 @@ case 'date_format' : case 'time_format' : die( date_i18n( sanitize_option( 'time_format', $_POST['date'] ) ) ); break; +case 'wp-fullscreen-save-post' : + if ( isset($_POST['post_ID']) ) + $post_id = (int) $_POST['post_ID']; + else + $post_id = 0; + + $post = null; + $post_type_object = null; + $post_type = null; + if ( $post_id ) { + $post = get_post($post_id); + if ( $post ) { + $post_type_object = get_post_type_object($post->post_type); + if ( $post_type_object ) { + $post_type = $post->post_type; + $current_screen->post_type = $post->post_type; + $current_screen->id = $current_screen->post_type; + } + } + } elseif ( isset($_POST['post_type']) ) { + $post_type_object = get_post_type_object($_POST['post_type']); + if ( $post_type_object ) { + $post_type = $post_type_object->name; + $current_screen->post_type = $post_type; + $current_screen->id = $current_screen->post_type; + } + } + + check_ajax_referer('update-' . $post_type . '_' . $post_id, '_wpnonce'); + + $post_id = edit_post(); + + if ( is_wp_error($post_id) ) { + if ( $post_id->get_error_message() ) + $message = $post_id->get_error_message(); + else + $message = __('Save failed'); + + echo json_encode( array( 'message' => $message, 'last_edited' => '' ) ); + die(); + } else { + $message = __('Saved.'); + } + + if ( $post ) { + $last_date = mysql2date( get_option('date_format'), $post->post_modified ); + $last_time = mysql2date( get_option('time_format'), $post->post_modified ); + } else { + $last_date = date_i18n( get_option('date_format') ); + $last_time = date_i18n( get_option('time_format') ); + } + + if ( $last_id = get_post_meta($post_id, '_edit_last', true) ) { + $last_user = get_userdata($last_id); + $last_edited = sprintf( __('Last edited by %1$s on %2$s at %3$s'), esc_html( $last_user->display_name ), $last_date, $last_time ); + } else { + $last_edited = sprintf( __('Last edited on %1$s at %2$s'), $last_date, $last_time ); + } + + echo json_encode( array( 'message' => $message, 'last_edited' => $last_edited ) ); + die(); + break; default : do_action( 'wp_ajax_' . $_POST['action'] ); die('0'); diff --git a/src/wp-admin/admin-footer.php b/src/wp-admin/admin-footer.php index c43ef2e..04d7315 100644 --- a/src/wp-admin/admin-footer.php +++ b/src/wp-admin/admin-footer.php @@ -14,14 +14,21 @@ if ( !defined('ABSPATH') )
- @@ -38,6 +45,7 @@ if ( function_exists('get_site_option') ) { ?> +
diff --git a/src/wp-admin/admin-header.php b/src/wp-admin/admin-header.php index ac79340..18b5ff3 100644 --- a/src/wp-admin/admin-header.php +++ b/src/wp-admin/admin-header.php @@ -28,7 +28,6 @@ else $admin_title = apply_filters( 'admin_title', $admin_title, $title ); wp_user_settings(); -wp_menu_unfold(); ?> @@ -68,8 +67,6 @@ var userSettings = { @@ -103,6 +107,7 @@ document.body.className = c;
+
parent_file = $parent_file; $current_screen->parent_base = preg_replace('/\?.*$/', '', $parent_file); $current_screen->parent_base = str_replace('.php', '', $current_screen->parent_base); diff --git a/src/wp-admin/admin-post.php b/src/wp-admin/admin-post.php index d18bf71..5f9eccb 100644 --- a/src/wp-admin/admin-post.php +++ b/src/wp-admin/admin-post.php @@ -6,7 +6,7 @@ * @subpackage Administration */ -/** We are located in WordPress Administration Panels */ +/** We are located in WordPress Administration Screens */ define('WP_ADMIN', true); if ( defined('ABSPATH') ) diff --git a/src/wp-admin/admin.php b/src/wp-admin/admin.php index ebb99c5..ce1227d 100644 --- a/src/wp-admin/admin.php +++ b/src/wp-admin/admin.php @@ -7,7 +7,7 @@ */ /** - * In WordPress Administration Panels + * In WordPress Administration Screens * * @since 2.3.2 */ @@ -106,7 +106,7 @@ else require(ABSPATH . 'wp-admin/menu.php'); if ( current_user_can( 'manage_options' ) ) - @ini_set( 'memory_limit', apply_filters( 'admin_memory_limit', '256M' ) ); + @ini_set( 'memory_limit', apply_filters( 'admin_memory_limit', WP_MAX_MEMORY_LIMIT ) ); do_action('admin_init'); diff --git a/src/wp-admin/comment.php b/src/wp-admin/comment.php index 3e6245e..a26ed5c 100644 --- a/src/wp-admin/comment.php +++ b/src/wp-admin/comment.php @@ -1,6 +1,6 @@ ' . __( 'You can edit the information left in a comment if needed. This is often useful when you notice that a commenter has made a typographical error.' ) . '

' . '

' . __( 'You can also moderate the comment from this screen using the Status box, where you can also change the timestamp of the comment.' ) . '

' . '

' . __( 'For more information:' ) . '

' . - '

' . __( 'Documentation on Comments' ) . '

' . - '

' . __( 'Support Forums' ) . '

' + '

' . __( 'Documentation on Comments' ) . '

' . + '

' . __( 'Support Forums' ) . '

' ); wp_enqueue_script('comment'); diff --git a/src/wp-admin/credits.php b/src/wp-admin/credits.php new file mode 100644 index 0000000..773053a --- /dev/null +++ b/src/wp-admin/credits.php @@ -0,0 +1,176 @@ +' . __('Each name or handle is a link to that person’s profile in the WordPress.org community directory.') . '

' . + '

' . __('You can register your own profile at this link to start contributing.') . '

' . + '

' . __('WordPress always needs more people to report bugs, patch bugs, test betas, work on UI design, translate strings, write documentation, and add questions/answers/suggestions to the Support Forums. Join in!') . '

' . + '

' . __('For more information:') . '

' . + '

' . __('Documentation on Contributing to WordPress') . '

' . + '

' . __('Support Forums') . '

' +); + +add_action( 'admin_head', '_wp_credits_add_css' ); +function _wp_credits_add_css() { ?> + +' . esc_html( $display_name ) . ''; +} + +function _wp_credits_build_object_link( &$data ) { + $data = '' . $data[0] . ''; +} + +include( './admin-header.php' ); +?> +
+ +

+ +' . sprintf( __( 'WordPress is created by a worldwide team of passionate individuals. Get involved in WordPress.' ), + 'http://wordpress.org/about/', + /* translators: Url to the codex documentation on contributing to WordPress used on the credits page */ + __( 'http://codex.wordpress.org/Contributing_to_WordPress' ) ) . '

'; + include( './admin-footer.php' ); + exit; +} + +echo '

' . __( 'WordPress is created by a worldwide team of passionate individuals. We couldn’t possibly list them all, but here some of the most influential people currently involved with the project:' ) . "

\n"; + +$gravatar = is_ssl() ? 'https://secure.gravatar.com/avatar/' : 'http://0.gravatar.com/avatar/'; + +foreach ( $credits['groups'] as $group_slug => $group_data ) { + if ( $group_data['name'] ) { + if ( 'Translators' == $group_data['name'] ) { + // Considered a special slug in the API response. (Also, will never be returned for en_US.) + $title = _x( 'Translators', 'Translate this to be the equivalent of English Translators in your language for the credits page Translators section' ); + } elseif ( isset( $group_data['placeholders'] ) ) { + $title = vsprintf( translate( $group_data['name'] ), $group_data['placeholders'] ); + } else { + $title = translate( $group_data['name'] ); + } + + echo '

' . $title . "

\n"; + } + + if ( ! empty( $group_data['shuffle'] ) ) + shuffle( $group_data['data'] ); // We were going to sort by ability to pronounce "hierarchical," but that wouldn't be fair to Matt. + + switch ( $group_data['type'] ) { + case 'list' : + array_walk( $group_data['data'], '_wp_credits_add_profile_link', $credits['data']['profiles'] ); + echo '

' . wp_sprintf( '%l.', $group_data['data'] ) . "

\n\n"; + break; + case 'libraries' : + array_walk( $group_data['data'], '_wp_credits_build_object_link' ); + echo '

' . wp_sprintf( '%l.', $group_data['data'] ) . "

\n\n"; + break; + default: + $compact = 'compact' == $group_data['type']; + $classes = 'wp-people-group ' . ( $compact ? 'compact' : '' ); + echo '\n"; + break; + } +} + +?> +

Get involved in WordPress.' ), + /* translators: Url to the codex documentation on contributing to WordPress used on the credits page */ + __( 'http://codex.wordpress.org/Contributing_to_WordPress' ) ); ?>

+ +
+ diff --git a/src/wp-admin/css/colors-classic-rtl.css b/src/wp-admin/css/colors-classic-rtl.css index e50945a..268fa9e 100644 --- a/src/wp-admin/css/colors-classic-rtl.css +++ b/src/wp-admin/css/colors-classic-rtl.css @@ -1 +1 @@ -.bar{border-right-color:transparent;border-left-color:#99d;}.plugins .togl{border-right-color:transparent;border-left-color:#ccc;}.post-com-count{background-image:url(../images/bubble_bg-rtl.gif);}.tablenav .tablenav-pages a{background:#eee url(../images/menu-bits-rtl-vs.gif?ver=20101117) repeat-x scroll right -379px;}#upload-menu li.current{border-right-color:transparent;border-left-color:#448abd;}#adminmenu .wp-submenu .current a.current{background:transparent url(../images/menu-bits-rtl-vs.gif?ver=20101117) no-repeat scroll right -289px;}#adminmenu li.wp-menu-separator{background:transparent url(../images/menu-arrows.gif) no-repeat scroll right -34px;}.folded #adminmenu li.wp-menu-separator{background:transparent url(../images/menu-arrows.gif) no-repeat scroll left 5px;}#adminmenu li.wp-has-current-submenu .wp-menu-toggle,#adminmenu li.wp-has-current-submenu:hover .wp-menu-toggle{background:transparent url(../images/menu-bits-rtl-vs.gif?ver=20101117) repeat-x scroll right -207px;}#adminmenu .wp-has-current-submenu ul li a.current{background:url(../images/menu-dark-rtl-vs.gif) top right no-repeat!important;}#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,#adminmenu .menu-top .current{background:url(../images/menu-bits-rtl-vs.gif?ver=20101117) top right repeat-x;}#adminmenu li.wp-has-current-submenu ul li a{background:url(../images/menu-dark-rtl-vs.gif) bottom right no-repeat!important;}#adminmenu li.wp-has-current-submenu.wp-menu-open .wp-menu-toggle,#adminmenu li.wp-has-current-submenu:hover .wp-menu-toggle{background:transparent url(../images/menu-bits-rtl-vs.gif?ver=20101117) no-repeat right -207px;}#adminmenu .wp-has-submenu:hover .wp-menu-toggle,#adminmenu .wp-menu-open .wp-menu-toggle{background:transparent url(../images/menu-bits-rtl-vs.gif?ver=20101117) repeat-x scroll right -109px;}#adminmenu a.wp-has-submenu{background:#eff8ff url(../images/menu-bits-rtl-vs.gif?ver=20101117) repeat-x scroll right -379px;}#adminmenu .wp-submenu a{background:#fff url(../images/menu-bits-rtl-vs.gif?ver=20101117) no-repeat scroll right -99px;}#adminmenu li.wp-has-current-submenu a.wp-has-submenu{background:#b5b5b5 url(../images/menu-bits-rtl-vs.gif?ver=20101117) repeat-x scroll right top;}.meta-box-sortables .postbox:hover .handlediv{background:transparent url(../images/menu-bits-rtl-vs.gif?ver=20101117) no-repeat scroll right -111px;}#favorite-toggle{background:transparent url(../images/fav-arrow-rtl.gif?ver=20100531) no-repeat right -4px;} \ No newline at end of file +.bar{border-right-color:none;border-left-color:#99d;}.post-com-count{background-image:url(../images/bubble_bg-rtl.gif);}#user_info_arrow{background:transparent url(../images/arrows-vs.png) no-repeat 0 5px;}#user_info:hover #user_info_arrow,#user_info.active #user_info_arrow{background:transparent url(../images/arrows-dark-vs.png) no-repeat 0 5px;}#adminmenushadow,#adminmenuback{background-image:url(../images/menu-shadow-rtl.png);background-position:top left;}#adminmenu li.wp-has-current-submenu.wp-menu-open .wp-menu-toggle,#adminmenu li.wp-has-current-submenu:hover .wp-menu-toggle{background:transparent url(../images/arrows-dark-vs.png) no-repeat 8px 6px;}#adminmenu .wp-has-submenu:hover .wp-menu-toggle,#adminmenu .wp-menu-open .wp-menu-toggle{background:transparent url(../images/arrows-vs.png) no-repeat 8px 6px;}#adminmenu .wp-submenu .wp-submenu-head{border-right-color:none;border-left-color:#d1e5ee;}.folded #adminmenu .wp-submenu-wrap{-moz-box-shadow:-2px 2px 5px rgba(0,0,0,0.4);-webkit-box-shadow:-2px 2px 5px rgba(0,0,0,0.4);box-shadow:-2px 2px 5px rgba(0,0,0,0.4);}#collapse-button div{background-position:0 -108px;}.folded #collapse-button div{background-position:0 -72px;}.meta-box-sortables .postbox:hover .handlediv{background:transparent url(../images/arrows-vs.png) no-repeat 6px 7px;}.tablenav .tablenav-pages a{border-color:#d1e5ee;background:#eee url('../images/menu-bits-rtl-vs.gif?ver=20100610') repeat-x scroll right -379px;}#post-body .misc-pub-section{border-right-color:none;border-left-color:#d1e5ee;}#favorite-toggle{background:transparent url(../images/arrows-vs.png) no-repeat 4px 2px;}#screen-meta a.show-settings,.toggle-arrow{background:transparent url(../images/arrows-vs.png) no-repeat left 3px;}#screen-meta .screen-meta-active a.show-settings{background:transparent url(../images/arrows-vs.png) no-repeat left -33px;}.sidebar-name-arrow{background:transparent url(../images/arrows-vs.png) no-repeat 5px 9px;}.sidebar-name:hover .sidebar-name-arrow{background:transparent url(../images/arrows-dark-vs.png) no-repeat 5px 9px;} \ No newline at end of file diff --git a/src/wp-admin/css/colors-classic-rtl.dev.css b/src/wp-admin/css/colors-classic-rtl.dev.css index f88d978..8a56444 100644 --- a/src/wp-admin/css/colors-classic-rtl.dev.css +++ b/src/wp-admin/css/colors-classic-rtl.dev.css @@ -1,78 +1,98 @@ .bar { - border-right-color: transparent; + border-right-color: none; border-left-color: #99d; } -.plugins .togl { - border-right-color: transparent; - border-left-color: #ccc; -} - .post-com-count { background-image: url(../images/bubble_bg-rtl.gif); } -.tablenav .tablenav-pages a { - background: #eee url(../images/menu-bits-rtl-vs.gif?ver=20101117) repeat-x scroll right -379px; -} -#upload-menu li.current { - border-right-color: transparent; - border-left-color: #448abd; + +#user_info_arrow { + background: transparent url(../images/arrows-vs.png) no-repeat 0 5px; } -#adminmenu .wp-submenu .current a.current { - background: transparent url(../images/menu-bits-rtl-vs.gif?ver=20101117) no-repeat scroll right -289px; +#user_info:hover #user_info_arrow, +#user_info.active #user_info_arrow { + background: transparent url(../images/arrows-dark-vs.png) no-repeat 0 5px; } -#adminmenu li.wp-menu-separator { - background: transparent url(../images/menu-arrows.gif) no-repeat scroll right -34px; +/* editors */ + +/* menu */ + +#adminmenushadow, +#adminmenuback { + background-image: url(../images/menu-shadow-rtl.png); + background-position: top left; } -.folded #adminmenu li.wp-menu-separator { - background: transparent url(../images/menu-arrows.gif) no-repeat scroll left 5px; -} - -#adminmenu li.wp-has-current-submenu .wp-menu-toggle, +#adminmenu li.wp-has-current-submenu.wp-menu-open .wp-menu-toggle, #adminmenu li.wp-has-current-submenu:hover .wp-menu-toggle { - background: transparent url(../images/menu-bits-rtl-vs.gif?ver=20101117) repeat-x scroll right -207px; -} - -#adminmenu .wp-has-current-submenu ul li a.current { - background: url(../images/menu-dark-rtl-vs.gif) top right no-repeat !important; -} - -#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, -#adminmenu .menu-top .current { - background: url(../images/menu-bits-rtl-vs.gif?ver=20101117) top right repeat-x; -} - -#adminmenu li.wp-has-current-submenu ul li a { - background: url(../images/menu-dark-rtl-vs.gif) bottom right no-repeat !important; -} - -#adminmenu li.wp-has-current-submenu.wp-menu-open .wp-menu-toggle, #adminmenu li.wp-has-current-submenu:hover .wp-menu-toggle { - background: transparent url(../images/menu-bits-rtl-vs.gif?ver=20101117) no-repeat right -207px; + background: transparent url(../images/arrows-dark-vs.png) no-repeat 8px 6px; } #adminmenu .wp-has-submenu:hover .wp-menu-toggle, #adminmenu .wp-menu-open .wp-menu-toggle { - background: transparent url(../images/menu-bits-rtl-vs.gif?ver=20101117) repeat-x scroll right -109px; + background: transparent url(../images/arrows-vs.png) no-repeat 8px 6px; } -#adminmenu a.wp-has-submenu { - background: #eff8ff url(../images/menu-bits-rtl-vs.gif?ver=20101117) repeat-x scroll right -379px; + +#adminmenu .wp-submenu .wp-submenu-head { + border-right-color: none; + border-left-color: #d1e5ee; } -#adminmenu .wp-submenu a { - background: #fff url(../images/menu-bits-rtl-vs.gif?ver=20101117) no-repeat scroll right -99px; +.folded #adminmenu .wp-submenu-wrap { + -moz-box-shadow: -2px 2px 5px rgba( 0, 0, 0, 0.4 ); + -webkit-box-shadow: -2px 2px 5px rgba( 0, 0, 0, 0.4 ); + box-shadow: -2px 2px 5px rgba( 0, 0, 0, 0.4 ); } -#adminmenu li.wp-has-current-submenu a.wp-has-submenu { - background: #b5b5b5 url(../images/menu-bits-rtl-vs.gif?ver=20101117) repeat-x scroll right top; +/* collapse menu button */ +#collapse-button div { + background-position: 0 -108px; } +.folded #collapse-button div { + background-position: 0 -72px; +} + +/* edit image */ .meta-box-sortables .postbox:hover .handlediv { - background: transparent url(../images/menu-bits-rtl-vs.gif?ver=20101117) no-repeat scroll right -111px; + background: transparent url(../images/arrows-vs.png) no-repeat 6px 7px; } + +.tablenav .tablenav-pages a { + border-color: #d1e5ee; + background: #eee url('../images/menu-bits-rtl-vs.gif?ver=20100610') repeat-x scroll right -379px; +} + +#post-body .misc-pub-section { + border-right-color: none; + border-left-color: #d1e5ee; +} + #favorite-toggle { - background: transparent url(../images/fav-arrow-rtl.gif?ver=20100531) no-repeat right -4px; + background: transparent url(../images/arrows-vs.png) no-repeat 4px 2px; } + +#screen-meta a.show-settings, +.toggle-arrow { + background: transparent url(../images/arrows-vs.png) no-repeat left 3px; +} + +#screen-meta .screen-meta-active a.show-settings { + background: transparent url(../images/arrows-vs.png) no-repeat left -33px; +} + +.sidebar-name-arrow { + background: transparent url(../images/arrows-vs.png) no-repeat 5px 9px; +} +.sidebar-name:hover .sidebar-name-arrow { + background: transparent url(../images/arrows-dark-vs.png) no-repeat 5px 9px; +} + + +/* custom header & background pages */ + +/* custom header & background pages */ \ No newline at end of file diff --git a/src/wp-admin/css/colors-classic.css b/src/wp-admin/css/colors-classic.css index 5383c29..d5d4ebe 100644 --- a/src/wp-admin/css/colors-classic.css +++ b/src/wp-admin/css/colors-classic.css @@ -1 +1 @@ -html,.wp-dialog{background-color:#fcfcfb;}* html input,* html .widget{border-color:#dfdfdf;}textarea,input[type="text"],input[type="password"],input[type="file"],input[type="button"],input[type="submit"],input[type="reset"],select{border-color:#dfdfdf;background-color:#fff;}kbd,code{background:#eaeaea;}input[readonly]{background-color:#eee;}.find-box-search{border-color:#dfdfdf;background-color:#f1f1f1;}.find-box{background-color:#f1f1f1;}.find-box-inside{background-color:#fff;}a.page-numbers:hover{border-color:#999;}body,#wpbody,.form-table .pre{color:#174f69;}body>#upload-menu{border-bottom-color:#fff;}#postcustomstuff table,#your-profile fieldset,#rightnow,div.dashboard-widget,#dashboard-widgets p.dashboard-widget-links,#replyrow #ed_reply_toolbar input{border-color:#D1E5EE;}#poststuff .inside label.spam,#poststuff .inside label.deleted{color:red;}#poststuff .inside label.waiting{color:orange;}#poststuff .inside label.approved{color:green;}#postcustomstuff table{border-color:#dfdfdf;background-color:#F9F9F9;}#postcustomstuff thead th{background-color:#F1F1F1;}#postcustomstuff table input,#postcustomstuff table textarea{border-color:#dfdfdf;background-color:#fff;}.widefat{border-color:#D1E5EE;background-color:#fff;}div.dashboard-widget-error{background-color:#c43;}div.dashboard-widget-notice{background-color:#cfe1ef;}div.dashboard-widget-submit{border-top-color:#ccc;}div.tabs-panel,.wp-tab-panel,ul.category-tabs li.tabs,ul.add-menu-item-tabs li.tabs,.wp-tab-active{border-color:#dfdfdf;}ul.category-tabs li.tabs,ul.add-menu-item-tabs li.tabs,.wp-tab-active{background-color:#f1f1f1;}input.disabled,textarea.disabled{background-color:#ccc;}#plugin-information .action-button a,#plugin-information .action-button a:hover,#plugin-information .action-button a:visited{color:#fff;}.widget .widget-top,.postbox h3,.stuffbox h3{background:#cfdfe9 url("../images/blue-grad.png?ver=20101102") repeat-x left top;text-shadow:#fff 0 1px 0;}.form-table th,.form-wrap label{color:#222;text-shadow:#fff 0 1px 0;}.description,.form-wrap p{color:#666;}strong .post-com-count span{background-color:#21759b;}.sorthelper{background-color:#ccf3fa;}.ac_match,.subsubsub a.current{color:#000;}.wrap h2{color:#174f69;}.ac_over{background-color:#f0f0b8;}.ac_results{background-color:#fff;border-color:#808080;}.ac_results li{color:#101010;}.alternate,.alt{background-color:#F8F7F3;}.available-theme a.screenshot{background-color:#f1f1f1;border-color:#ddd;}.bar{background-color:#e8e8e8;border-right-color:#99d;}#media-upload,#media-upload .media-item .slidetoggle{background:#fff;}#media-upload .slidetoggle{border-top-color:#dfdfdf;}div.error,.login #login_error{background-color:#ffebe8;border-color:#c00;}div.error a{color:#c00;}.form-invalid{background-color:#ffebe8!important;}.form-invalid input,.form-invalid select{border-color:#c00!important;}.submit{border-color:#DFDFDF;}.highlight{background-color:#e4f2fd;color:#000;}.howto,.nonessential,#edit-slug-box,.form-input-tip,.rss-widget span.rss-date,.subsubsub{color:#666;}.media-item{border-bottom-color:#dfdfdf;}#wpbody-content #media-items .describe{border-top-color:#dfdfdf;}.media-upload-form label.form-help,td.help{color:#9a9a9a;}.post-com-count{background-image:url(../images/bubble_bg.gif);color:#fff;}.post-com-count span{background-color:#bbb;color:#fff;}.post-com-count:hover span{background-color:#d54e21;}.quicktags,.search{background-color:#ccc;color:#000;}.side-info h5{border-bottom-color:#dadada;}.side-info ul{color:#666;}.button,.button-secondary,.submit input,input[type=button],input[type=submit]{border-color:#bbb;color:#464646;}.button:hover,.button-secondary:hover,.submit input:hover,input[type=button]:hover,input[type=submit]:hover{color:#000;border-color:#666;}.button,.submit input,.button-secondary{background:#f2f2f2 url(../images/white-grad.png) repeat-x scroll left top;text-shadow:rgba(255,255,255,1) 0 1px 0;}.button:active,.submit input:active,.button-secondary:active{background:#eee url(../images/white-grad-active.png) repeat-x scroll left top;}input.button-primary,button.button-primary,a.button-primary{border-color:#298cba;font-weight:bold;color:#fff;background:#21759B url(../images/button-grad.png) repeat-x scroll left top;text-shadow:rgba(0,0,0,0.3) 0 -1px 0;}input.button-primary:active,button.button-primary:active,a.button-primary:active{background:#21759b url(../images/button-grad-active.png) repeat-x scroll left top;color:#eaf2fa;}input.button-primary:hover,button.button-primary:hover,a.button-primary:hover,a.button-primary:focus,a.button-primary:active{border-color:#13455b;color:#eaf2fa;}.button-disabled,.button[disabled],.button:disabled,.button-secondary[disabled],.button-secondary:disabled,a.button.disabled{color:#aaa!important;border-color:#ddd!important;}.button-primary-disabled,.button-primary[disabled],.button-primary:disabled{color:#9FD0D5!important;background:#298CBA!important;}a:hover,a:active,a:focus{color:#d54e21;}#wphead #viewsite a:hover,#adminmenu a:hover,#adminmenu ul.wp-submenu a:hover,#the-comment-list .comment a:hover,#rightnow a:hover,#media-upload a.del-link:hover,div.dashboard-widget-submit input:hover,.subsubsub a:hover,.subsubsub a.current:hover,.ui-tabs-nav a:hover,.plugins .inactive a:hover,#all-plugins-table .plugins .inactive a:hover,#search-plugins-table .plugins .inactive a:hover{color:#d54e21;}#the-comment-list .comment-item,#dashboard-widgets #dashboard_quick_press form p.submit{border-color:#dfdfdf;}#side-sortables .category-tabs .tabs a,#side-sortables .add-menu-item-tabs .tabs a,.wp-tab-bar .wp-tab-active a{color:#333;}#rightnow .rbutton{background-color:#ebebeb;color:#264761;}.submitbox .submit{background-color:#464646;color:#ccc;}.plugins a.delete:hover,#all-plugins-table .plugins a.delete:hover,#search-plugins-table .plugins a.delete:hover,.submitbox .submitdelete{color:#f00;border-bottom-color:#f00;}.submitbox .submitdelete:hover,#media-items a.delete:hover{color:#fff;background-color:#f00;border-bottom-color:#f00;}#normal-sortables .submitbox .submitdelete:hover{color:#000;background-color:#f00;border-bottom-color:#f00;}.tablenav .dots{border-color:transparent;}.tablenav .next,.tablenav .prev{border-color:transparent;color:#21759b;}.tablenav .next:hover,.tablenav .prev:hover{border-color:transparent;color:#d54e21;}div.updated,.login .message{background-color:#ffffe0;border-color:#e6db55;}.update-message{color:#000;}a.page-numbers{border-bottom-color:#B8D3E2;}.commentlist li{border-bottom-color:#ccc;}.widefat td,.widefat th{border-color:#dfdfdf;}.widefat th{text-shadow:rgba(255,255,255,0.8) 0 1px 0;}.widefat thead tr th,.widefat tfoot tr th,h3.dashboard-widget-title,h3.dashboard-widget-title span,h3.dashboard-widget-title small,.find-box-head{color:#333;background:#cfdfe9 url(../images/blue-grad.png?ver=20101102) repeat-x scroll left top;}th.sortable a:hover,th.sortable a:active,th.sortable a:focus{color:#333;}h3.dashboard-widget-title small a{color:#d7d7d7;}h3.dashboard-widget-title small a:hover{color:#fff;}a,#adminmenu a,#poststuff #edButtonPreview,#poststuff #edButtonHTML,#the-comment-list p.comment-author strong a,#media-upload a.del-link,#media-items a.delete,.plugins a.delete,.ui-tabs-nav a{color:#21759b;}#adminmenu #awaiting-mod,#adminmenu .update-plugins,#sidemenu a .update-plugins,#rightnow .reallynow{background-color:#464646;color:#fff;-moz-box-shadow:#fff 0 -1px 0;-khtml-box-shadow:#fff 0 -1px 0;-webkit-box-shadow:#fff 0 -1px 0;box-shadow:#fff 0 -1px 0;}#plugin-information .action-button{background-color:#d54e21;color:#fff;}#adminmenu li.current a #awaiting-mod,#adminmenu li a.wp-has-current-submenu .update-plugins{background-color:#464646;color:#fff;-moz-box-shadow:#fff 0 -1px 0;-khtml-box-shadow:#fff 0 -1px 0;-webkit-box-shadow:#fff 0 -1px 0;box-shadow:#fff 0 -1px 0;}div#media-upload-header,div#plugin-information-header{background-color:#f9f9f9;border-bottom-color:#dfdfdf;}#currenttheme img{border-color:#666;}#dashboard_secondary div.dashboard-widget-content ul li a{background-color:#f9f9f9;}input.readonly,textarea.readonly{background-color:#ddd;}#ed_toolbar input,#ed_reply_toolbar input{background:#fff url("../images/fade-butt.png") repeat-x 0 -2px;}#editable-post-name{background-color:#fffbcc;}#edit-slug-box strong,.tablenav .displaying-num,#submitted-on,.submitted-on{color:#777;}.login #nav a{color:#21759b!important;}.login #nav a:hover{color:#d54e21!important;}#footer{color:#777;border-color:#b0c8d7;background:#cfdfe9;background:-moz-linear-gradient(bottom,#cfdfe9,#eff8ff);background:-webkit-gradient(linear,left bottom,left top,from(#cfdfe9),to(#eff8ff));}#media-items,.imgedit-group{border-color:#dfdfdf;}.checkbox,.side-info,.plugins tr,#your-profile #rich_editing{background-color:#fff;}.plugins .inactive,.plugins .inactive th,.plugins .inactive td,tr.inactive+tr.plugin-update-tr .plugin-update{background-color:#efede7;}.plugin-update-tr .update-message{background-color:#fffbe4;border-color:#dfdfdf;}.plugins .active,.plugins .active th,.plugins .active td{color:#000;}.plugins .inactive a{color:#579;}#the-comment-list tr.undo,#the-comment-list div.undo{background-color:#f4f4f4;}#the-comment-list .unapproved{background-color:#ffffe0;}#the-comment-list .approve a{color:#006505;}#the-comment-list .unapprove a{color:#d98500;}table.widefat span.delete a,table.widefat span.trash a,table.widefat span.spam a,#dashboard_recent_comments .delete a,#dashboard_recent_comments .trash a,#dashboard_recent_comments .spam a{color:#bc0b0b;}.widget,#widget-list .widget-top,.postbox,#titlediv,#poststuff .postarea,.stuffbox{border-color:#D1E5EE;}.widget,.postbox{background-color:#fff;}.ui-sortable .postbox h3{color:#174f69;}.widget .widget-top,.ui-sortable .postbox h3:hover{color:#174f69;}.curtime #timestamp{background-image:url(../images/date-button.gif);}#quicktags #ed_link{color:#00f;}#rightnow .youhave{background-color:#f0f6fb;}#rightnow a{color:#448abd;}.tagchecklist span a,#bulk-titles div a{background:url(../images/xit.gif) no-repeat;}.tagchecklist span a:hover,#bulk-titles div a:hover{background:url(../images/xit.gif) no-repeat -10px 0;}#update-nag,.update-nag{background-color:#FFFBCC;border-color:#E6DB55;color:#555;}.login #backtoblog a{color:#464646;}#wphead{border-bottom:#b0c8d7 1px solid;background:#cfdfe9;background:-moz-linear-gradient(bottom,#cfdfe9,#eff8ff);background:-webkit-gradient(linear,left bottom,left top,from(#cfdfe9),to(#eff8ff));}#wphead h1 a{color:#174f69;}#user_info{color:#777;}#user_info a:link,#user_info a:visited,#footer a:link,#footer a:visited{color:#174f69;text-decoration:none;}#user_info a:hover,#footer a:hover{color:#000;text-decoration:underline!important;}div#media-upload-error,.file-error,abbr.required,.widget-control-remove:hover,table.widefat .delete a:hover,table.widefat .trash a:hover,table.widefat .spam a:hover,#dashboard_recent_comments .delete a:hover,#dashboard_recent_comments .trash a:hover #dashboard_recent_comments .spam a:hover{color:#f00;}#pass-strength-result{background-color:#eee;border-color:#ddd!important;}#pass-strength-result.bad{background-color:#ffb78c;border-color:#ff853c!important;}#pass-strength-result.good{background-color:#ffec8b;border-color:#fc0!important;}#pass-strength-result.short{background-color:#ffa0a0;border-color:#f04040!important;}#pass-strength-result.strong{background-color:#c3ff88;border-color:#8dff1c!important;}#quicktags{border-color:#cfdfe9;background-color:#cfdfe9;background-image:url("../images/ed-bg-vs.gif?ver=20101102");}#ed_toolbar input{border-color:#C3C3C3;}#ed_toolbar input:hover{border-color:#aaa;background:#ddd;}#poststuff .wp_themeSkin .mceStatusbar{border-color:#EDEDED;}#poststuff #edButtonPreview,#poststuff #edButtonHTML{background-color:#eff8ff;border-color:#D1E5EE;color:#999;}#poststuff #editor-toolbar .active{border-bottom-color:#eff8ff;background-color:#eff8ff;color:#333;}#post-status-info{background-color:#eff8ff;}.wp_themeSkin *,.wp_themeSkin a:hover,.wp_themeSkin a:link,.wp_themeSkin a:visited,.wp_themeSkin a:active{color:#000;}.wp_themeSkin iframe{background:#fff;}.wp_themeSkin .mceStatusbar{color:#000;background-color:#f5f5f5;}.wp_themeSkin .mceButton{background-color:#e9e8e8;border-color:#B2B2B2;}.wp_themeSkin a.mceButtonEnabled:hover,.wp_themeSkin a.mceButtonActive,.wp_themeSkin a.mceButtonSelected{background:#d5d5d5;border-color:#777!important;}.wp_themeSkin .mceButtonDisabled{border-color:#ccc!important;}.wp_themeSkin .mceListBox .mceText,.wp_themeSkin .mceListBox .mceOpen{border-color:#B2B2B2;background-color:#d5d5d5;}.wp_themeSkin table.mceListBoxEnabled:hover .mceOpen,.wp_themeSkin .mceListBoxHover .mceOpen,.wp_themeSkin .mceListBoxSelected .mceOpen,.wp_themeSkin .mceListBoxSelected .mceText{border-color:#777!important;background-color:#d5d5d5;}.wp_themeSkin table.mceListBoxEnabled:hover .mceText,.wp_themeSkin .mceListBoxHover .mceText{border-color:#777!important;}.wp_themeSkin select.mceListBox{border-color:#B2B2B2;background-color:#fff;}.wp_themeSkin .mceSplitButton a.mceAction,.wp_themeSkin .mceSplitButton a.mceOpen{border-color:#B2B2B2;}.wp_themeSkin .mceSplitButton a.mceOpen:hover,.wp_themeSkin .mceSplitButtonSelected a.mceOpen,.wp_themeSkin table.mceSplitButtonEnabled:hover a.mceAction,.wp_themeSkin .mceSplitButton a.mceAction:hover{background-color:#d5d5d5;border-color:#777!important;}.wp_themeSkin .mceSplitButtonActive{background-color:#B2B2B2;}.wp_themeSkin div.mceColorSplitMenu table{background-color:#ebebeb;border-color:#B2B2B2;}.wp_themeSkin .mceColorSplitMenu a{border-color:#B2B2B2;}.wp_themeSkin .mceColorSplitMenu a.mceMoreColors{border-color:#fff;}.wp_themeSkin .mceColorSplitMenu a.mceMoreColors:hover{border-color:#0A246A;background-color:#B6BDD2;}.wp_themeSkin a.mceMoreColors:hover{border-color:#0A246A;}.wp_themeSkin .mceMenu{border-color:#ddd;}.wp_themeSkin .mceMenu table{background-color:#ebeaeb;}.wp_themeSkin .mceMenu .mceText{color:#000;}.wp_themeSkin .mceMenu .mceMenuItemEnabled a:hover,.wp_themeSkin .mceMenu .mceMenuItemActive{background-color:#f5f5f5;}.wp_themeSkin td.mceMenuItemSeparator{background-color:#aaa;}.wp_themeSkin .mceMenuItemTitle a{background-color:#ccc;border-bottom-color:#aaa;}.wp_themeSkin .mceMenuItemTitle span.mceText{color:#000;}.wp_themeSkin .mceMenuItemDisabled .mceText{color:#888;}.wp_themeSkin tr.mceFirst td.mceToolbar{background:#cfdfe9 url("../images/ed-bg-vs.gif?ver=20101102") repeat-x scroll left top;border-color:#cfdfe9;}.wp-admin #mceModalBlocker{background:#000;}.wp-admin .clearlooks2 .mceFocus .mceTop .mceLeft{background:#444;border-left:1px solid #999;border-top:1px solid #999;-moz-border-radius:4px 0 0 0;-webkit-border-top-left-radius:4px;-khtml-border-top-left-radius:4px;border-top-left-radius:4px;}.wp-admin .clearlooks2 .mceFocus .mceTop .mceRight{background:#444;border-right:1px solid #999;border-top:1px solid #999;border-top-right-radius:4px;-khtml-border-top-right-radius:4px;-webkit-border-top-right-radius:4px;-moz-border-radius:0 4px 0 0;}.wp-admin .clearlooks2 .mceMiddle .mceLeft{background:#f1f1f1;border-left:1px solid #999;}.wp-admin .clearlooks2 .mceMiddle .mceRight{background:#f1f1f1;border-right:1px solid #999;}.wp-admin .clearlooks2 .mceBottom{background:#f1f1f1;border-bottom:1px solid #999;}.wp-admin .clearlooks2 .mceBottom .mceLeft{background:#f1f1f1;border-bottom:1px solid #999;border-left:1px solid #999;}.wp-admin .clearlooks2 .mceBottom .mceCenter{background:#f1f1f1;border-bottom:1px solid #999;}.wp-admin .clearlooks2 .mceBottom .mceRight{background:#f1f1f1;border-bottom:1px solid #999;border-right:1px solid #999;}.wp-admin .clearlooks2 .mceFocus .mceTop span{color:#e5e5e5;}#editorcontainer,#post-status-info,#titlediv #title,.editwidget .widget-inside{border-color:#D1E5EE;}#titlediv #title{background-color:#fff;}#tTips p#tTips_inside{background-color:#ddd;color:#333;}#timestampdiv input,#namediv input,#poststuff .inside .the-tagcloud{border-color:#ddd;}#adminmenu *{border-color:#d1e5ee;}#adminmenu li.wp-menu-separator{background:transparent url(../images/menu-arrows.gif) no-repeat scroll left 5px;}.folded #adminmenu li.wp-menu-separator{background:transparent url(../images/menu-arrows.gif) no-repeat scroll right -34px;}#adminmenu li.wp-has-current-submenu.wp-menu-open .wp-menu-toggle,#adminmenu li.wp-has-current-submenu:hover .wp-menu-toggle{background:transparent url(../images/menu-bits-vs.gif?ver=20101102) no-repeat scroll left -207px;}#adminmenu .wp-has-submenu:hover .wp-menu-toggle,#adminmenu .wp-menu-open .wp-menu-toggle{background:transparent url(../images/menu-bits-vs.gif?ver=20101102) no-repeat scroll left -109px;}#adminmenu a.menu-top{background:#eff8ff url(../images/menu-bits-vs.gif?ver=20101102) repeat-x scroll left -379px;}#adminmenu .wp-submenu a{background:#fff url(../images/menu-bits-vs.gif?ver=20101102) no-repeat scroll 0 -99px;}#adminmenu .wp-has-current-submenu ul li a{background:none;}#adminmenu .wp-has-current-submenu ul li a.current{background:url(../images/menu-dark-vs.gif) top left no-repeat!important;}.wp-has-current-submenu .wp-submenu{border-top:none!important;}#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu{border-bottom:#aaa 1px solid;}#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,#adminmenu li.current a.menu-top{background:#d0dfe9 url(../images/menu-bits-vs.gif?ver=20101102) top left repeat-x;border:#5589aa 1px solid;color:#464646;}#adminmenu li.wp-has-current-submenu .wp-submenu,#adminmenu li.wp-has-current-submenu ul li a{border-right-color:#5589aa!important;border-left-color:#5589aa!important;}#adminmenu li.wp-has-current-submenu ul li a{background:url(../images/menu-dark-vs.gif) bottom left no-repeat!important;}#adminmenu li.wp-has-current-submenu ul{border-bottom-color:#5589aa;}#adminmenu .wp-submenu .current a.current{background:transparent url(../images/menu-bits-vs.gif?ver=20101102) no-repeat scroll 0 -289px;}#adminmenu .wp-submenu a:hover{background-color:#f8f7f3!important;color:#333!important;}#adminmenu .wp-submenu li.current,#adminmenu .wp-submenu li.current a,#adminmenu .wp-submenu li.current a:hover{color:#333;background-color:#efede7;background-image:none;border-color:#5589aa;}#adminmenu .wp-submenu ul{background-color:#fff;}.folded #adminmenu li.menu-top,#adminmenu .wp-submenu .wp-submenu-head{background:#eff8ff url(../images/menu-bits-vs.gif?ver=20101102) repeat-x scroll left -379px;}.folded #adminmenu li.wp-has-current-submenu,.folded #adminmenu li.menu-top.current{background:#e0e0e0 url(../images/menu-bits-vs.gif?ver=20101102) top left repeat-x;border:#5589aa 1px solid;color:#464646;}#adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head{background:#d0dfe9 url(../images/menu-bits-vs.gif?ver=20101102) repeat-x 0 0;border:1px solid;color:#464646;}#adminmenu div.wp-submenu{background-color:transparent;}#adminmenu .menu-icon-dashboard div.wp-menu-image{background:transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -61px -33px;}#adminmenu .menu-icon-dashboard:hover div.wp-menu-image,#adminmenu .menu-icon-dashboard.wp-has-current-submenu div.wp-menu-image,#adminmenu .menu-icon-dashboard.current div.wp-menu-image{background:transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -61px -1px;}#adminmenu .menu-icon-post div.wp-menu-image{background:transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -272px -33px;}#adminmenu .menu-icon-post:hover div.wp-menu-image,#adminmenu .menu-icon-post.wp-has-current-submenu div.wp-menu-image{background:transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -272px -1px;}#adminmenu .menu-icon-media div.wp-menu-image{background:transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -121px -33px;}#adminmenu .menu-icon-media:hover div.wp-menu-image,#adminmenu .menu-icon-media.wp-has-current-submenu div.wp-menu-image{background:transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -121px -1px;}#adminmenu .menu-icon-links div.wp-menu-image{background:transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -91px -33px;}#adminmenu .menu-icon-links:hover div.wp-menu-image,#adminmenu .menu-icon-links.wp-has-current-submenu div.wp-menu-image{background:transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -91px -1px;}#adminmenu .menu-icon-page div.wp-menu-image{background:transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -151px -33px;}#adminmenu .menu-icon-page:hover div.wp-menu-image,#adminmenu .menu-icon-page.wp-has-current-submenu div.wp-menu-image{background:transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -151px -1px;}#adminmenu .menu-icon-comments div.wp-menu-image{background:transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -31px -33px;}#adminmenu .menu-icon-comments:hover div.wp-menu-image,#adminmenu .menu-icon-comments.wp-has-current-submenu div.wp-menu-image,#adminmenu .menu-icon-comments.current div.wp-menu-image{background:transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -31px -1px;}#adminmenu .menu-icon-appearance div.wp-menu-image{background:transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -1px -33px;}#adminmenu .menu-icon-appearance:hover div.wp-menu-image,#adminmenu .menu-icon-appearance.wp-has-current-submenu div.wp-menu-image{background:transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -1px -1px;}#adminmenu .menu-icon-plugins div.wp-menu-image{background:transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -181px -33px;}#adminmenu .menu-icon-plugins:hover div.wp-menu-image,#adminmenu .menu-icon-plugins.wp-has-current-submenu div.wp-menu-image{background:transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -181px -1px;}#adminmenu .menu-icon-users div.wp-menu-image{background:transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -301px -33px;}#adminmenu .menu-icon-users:hover div.wp-menu-image,#adminmenu .menu-icon-users.wp-has-current-submenu div.wp-menu-image{background:transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -301px -1px;}#adminmenu .menu-icon-tools div.wp-menu-image{background:transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -211px -33px;}#adminmenu .menu-icon-tools:hover div.wp-menu-image,#adminmenu .menu-icon-tools.wp-has-current-submenu div.wp-menu-image{background:transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -211px -1px;}#adminmenu .menu-icon-settings div.wp-menu-image{background:transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -241px -33px;}#adminmenu .menu-icon-settings:hover div.wp-menu-image,#adminmenu .menu-icon-settings.wp-has-current-submenu div.wp-menu-image{background:transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -241px -1px;}#adminmenu .menu-icon-site div.wp-menu-image{background:transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -361px -33px;}#adminmenu .menu-icon-site:hover div.wp-menu-image,#adminmenu .menu-icon-site.wp-has-current-submenu div.wp-menu-image{background:transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -361px -1px;}table.diff .diff-deletedline{background-color:#fdd;}table.diff .diff-deletedline del{background-color:#f99;}table.diff .diff-addedline{background-color:#dfd;}table.diff .diff-addedline ins{background-color:#9f9;}#att-info{background-color:#E4F2FD;}#sidemenu a{background-color:#f9f9f9;border-color:#f9f9f9;border-bottom-color:#dfdfdf;}#sidemenu a.current{background-color:#fff;border-color:#dfdfdf #dfdfdf #fff;color:#D54E21;}#screen-options-wrap,#contextual-help-wrap{background-color:#F8F7F3;border-color:#D1e5ee;}#screen-meta-links a.show-settings{color:#606060;}#screen-meta-links a.show-settings:hover{color:#000;}#replysubmit{background-color:#f1f1f1;border-top-color:#ddd;}#replyerror{border-color:#ddd;background-color:#f9f9f9;}#edithead,#replyhead{background-color:#f1f1f1;}#ed_reply_toolbar{background-color:#e9e9e9;}.vim-current,.vim-current th,.vim-current td{background-color:#E4F2FD!important;}.star-average,.star.star-rating{background-color:#fc0;}div.star.select:hover{background-color:#d00;}#plugin-information .fyi ul{background-color:#eaf3fa;}#plugin-information .fyi h2.mainheader{background-color:#cee1ef;}#plugin-information pre,#plugin-information code{background-color:#ededff;}#plugin-information pre{border:1px solid #ccc;}.inline-edit-row fieldset input[type="text"],.inline-edit-row fieldset textarea,#bulk-titles,#replyrow input{border-color:#ddd;}.inline-editor div.title{background-color:#EAF3FA;}.inline-editor ul.cat-checklist{background-color:#fff;border-color:#ddd;}.inline-editor .categories .catshow,.inline-editor .categories .cathide{color:#21759b;}.inline-editor .quick-edit-save{background-color:#f1f1f1;}#replyrow #ed_reply_toolbar input:hover{border-color:#aaa;background:#ddd;}fieldset.inline-edit-col-right .inline-edit-col{border-color:#dfdfdf;}.attention{color:#D54E21;}body.press-this .postbox:hover .handlediv,body.press-this .stuffbox:hover .handlediv,.meta-box-sortables .postbox:hover .handlediv{background:transparent url(../images/menu-bits-vs.gif?ver=20101102) no-repeat scroll left -111px;}#major-publishing-actions{background:#eaf2fa;}.tablenav .tablenav-pages{color:#555;}.tablenav .tablenav-pages a{border-color:#d1e5ee;background:#eee url('../images/menu-bits-vs.gif?ver=20101102') repeat-x scroll left -379px;}.tablenav .tablenav-pages a:hover,.tablenav .tablenav-pages a:focus{color:#d54e21;}.tablenav .tablenav-pages a.disabled,.tablenav .tablenav-pages a.disabled:hover,.tablenav .tablenav-pages a.disabled:focus{color:#aaa;}.tablenav .tablenav-pages .current{background:#dfdfdf;border-color:#d3d3d3;}#availablethemes,#availablethemes td{border-color:#ddd;}#current-theme img{border-color:#999;}#TB_window #TB_title a.tb-theme-preview-link,#TB_window #TB_title a.tb-theme-preview-link:visited{color:#999;}#TB_window #TB_title a.tb-theme-preview-link:hover,#TB_window #TB_title a.tb-theme-preview-link:focus{color:#ccc;}.misc-pub-section{border-bottom-color:#eee;}#minor-publishing{border-bottom-color:#ddd;}#post-body .misc-pub-section{border-right-color:#eee;}.post-com-count span{background-color:#bbb;}.form-table .color-palette td{border-color:#fff;}.sortable-placeholder{border-color:#bbb;background-color:#f5f5f5;}#post-body ul.category-tabs li.tabs a,#post-body ul.add-menu-item-tabs li.tabs a,body.press-this ul.category-tabs li.tabs a{color:#333;}#wp_editimgbtn,#wp_delimgbtn,#wp_editgallery,#wp_delgallery{border-color:#999;background-color:#eee;}#wp_editimgbtn:hover,#wp_delimgbtn:hover,#wp_editgallery:hover,#wp_delgallery:hover{border-color:#555;background-color:#ccc;}#favorite-first{border-color:#c0c0c0;background:#f1f1f1;background:-moz-linear-gradient(bottom,#e7e7e7,#fff);background:-webkit-gradient(linear,left bottom,left top,from(#e7e7e7),to(#fff));}#favorite-inside{border-color:#c0c0c0;background-color:#fff;}#favorite-toggle{background:transparent url(../images/fav-arrow.gif?ver=20100531) no-repeat 0 -4px;}#favorite-actions a{color:#464646;}#favorite-actions a:hover{color:#000;}#favorite-inside a:hover{text-decoration:underline;}#screen-meta .screen-meta-toggle{background:#D1E5ee;}#screen-meta a.show-settings,.toggle-arrow{background-image:url("../images/screen-options-toggle-vs.gif?ver=20100531");}#icon-edit,#icon-post{background:transparent url(../images/icons32-vs.png?ver=20100531) no-repeat -552px -5px;}#icon-index{background:transparent url(../images/icons32-vs.png?ver=20100531) no-repeat -137px -5px;}#icon-upload{background:transparent url(../images/icons32-vs.png?ver=20100531) no-repeat -251px -5px;}#icon-link-manager,#icon-link,#icon-link-category{background:transparent url(../images/icons32-vs.png?ver=20100531) no-repeat -190px -5px;}#icon-edit-pages,#icon-page{background:transparent url(../images/icons32-vs.png?ver=20100531) no-repeat -312px -5px;}#icon-edit-comments{background:transparent url(../images/icons32-vs.png?ver=20100531) no-repeat -72px -5px;}#icon-themes{background:transparent url(../images/icons32-vs.png?ver=20100531) no-repeat -11px -5px;}#icon-plugins{background:transparent url(../images/icons32-vs.png?ver=20100531) no-repeat -370px -5px;}#icon-users,#icon-profile,#icon-user-edit{background:transparent url(../images/icons32-vs.png?ver=20100531) no-repeat -600px -5px;}#icon-tools,#icon-admin{background:transparent url(../images/icons32-vs.png?ver=20100531) no-repeat -432px -5px;}#icon-options-general{background:transparent url(../images/icons32-vs.png?ver=20100531) no-repeat -492px -5px;}#icon-ms-admin{background:transparent url(../images/icons32-vs.png?ver=20100531) no-repeat -659px -5px;}.view-switch #view-switch-list{background:transparent url(../images/list.png) no-repeat 0 0;}.view-switch .current #view-switch-list{background:transparent url(../images/list.png) no-repeat -40px 0;}.view-switch #view-switch-excerpt{background:transparent url(../images/list.png) no-repeat -20px 0;}.view-switch .current #view-switch-excerpt{background:transparent url(../images/list.png) no-repeat -60px 0;}#header-logo{background:transparent url(../images/wp-logo-vs.png?ver=20101102) no-repeat scroll center center;}.popular-tags,.feature-filter{background-color:#fff;border-color:#DFDFDF;}#theme-information .action-button{border-top-color:#DFDFDF;}.theme-listing br.line{border-bottom-color:#ccc;}div.widgets-sortables,#widgets-left .inactive{border-color:#D1E5EE;background-color:#f8f7f3;-moz-border-radius-bottomleft:8px;-moz-border-radius-bottomright:8px;}#available-widgets .widget-holder{background-color:#fff;border-color:#ddd;}#widgets-left .sidebar-name{background-color:#aaa;background-image:url(../images/ed-bg-vs.gif?ver=20101102);text-shadow:#fff 0 1px 0;border-color:#dfdfdf;}#widgets-right .sidebar-name{background-image:url(../images/button-grad.png);text-shadow:#174f69 0 -1px 0;background-color:#cfdfe9;border-color:#174f69;color:#fff;}.sidebar-name:hover,#removing-widget{color:#d54e21;}#removing-widget span{color:black;}#widgets-left .sidebar-name-arrow{background:transparent url(../images/menu-bits-vs.gif?ver=20101102) no-repeat scroll left -109px;}#widgets-right .sidebar-name-arrow{background:url("../images/widgets-arrow-vs.gif?ver=20100531") no-repeat scroll 0 -1px transparent;}.in-widget-title{color:#606060;}.deleting .widget-title *{color:#aaa;}.imgedit-menu div{border-color:#d5d5d5;background-color:#f1f1f1;}.imgedit-menu div:hover{border-color:#c1c1c1;background-color:#eaeaea;}.imgedit-menu div.disabled{border-color:#ccc;background-color:#ddd;filter:alpha(opacity=50);opacity:.5;}#dashboard_recent_comments div.undo{border-top-color:#dfdfdf;}.comment-ays,.comment-ays th{border-color:#ddd;}.comment-ays th{background-color:#f1f1f1;}#nav-menu-header,#nav-menu-footer,.menu-item-handle{background:url("../images/ed-bg-vs.gif?ver=20101102") repeat-x scroll left top #cfdfe9;border-top:solid #D1E5EE 1px;}#menu-management .nav-tab-active{background:#eff8ff;border-bottom-color:#eff8ff;} \ No newline at end of file +html,.wp-dialog{background-color:#fff;}* html input,* html .widget{border-color:#dfdfdf;}textarea,input[type="text"],input[type="password"],input[type="file"],input[type="button"],input[type="submit"],input[type="reset"],select{border-color:#dfdfdf;background-color:#fff;}kbd,code{background:#eaeaea;}input[readonly]{background-color:#eee;}.find-box-search{border-color:#dfdfdf;background-color:#f1f1f1;}.find-box{background-color:#f1f1f1;}.find-box-inside{background-color:#fff;}a.page-numbers:hover{border-color:#999;}body,#wpbody,.form-table .pre{color:#333;}body>#upload-menu{border-bottom-color:#fff;}#postcustomstuff table,#your-profile fieldset,#rightnow,div.dashboard-widget,#dashboard-widgets p.dashboard-widget-links,#replyrow #ed_reply_toolbar input{border-color:#D1E5EE;}#poststuff .inside label.spam,#poststuff .inside label.deleted{color:red;}#poststuff .inside label.waiting{color:orange;}#poststuff .inside label.approved{color:green;}#postcustomstuff table{border-color:#dfdfdf;background-color:#F9F9F9;}#postcustomstuff thead th{background-color:#F1F1F1;}#postcustomstuff table input,#postcustomstuff table textarea{border-color:#dfdfdf;background-color:#fff;}.widefat{border-color:#D1E5EE;background-color:#fff;}div.dashboard-widget-error{background-color:#c43;}div.dashboard-widget-notice{background-color:#cfe1ef;}div.dashboard-widget-submit{border-top-color:#ccc;}div.tabs-panel,.wp-tab-panel,ul.category-tabs li.tabs,ul.add-menu-item-tabs li.tabs,.wp-tab-active{border-color:#dfdfdf;background-color:#fff;}ul.category-tabs li.tabs,ul.add-menu-item-tabs li.tabs,.wp-tab-active{background-color:#fff;}input.disabled,textarea.disabled{background-color:#ccc;}#plugin-information .action-button a,#plugin-information .action-button a:hover,#plugin-information .action-button a:visited{color:#fff;}.widget .widget-top,.postbox h3,.stuffbox h3,.widefat thead tr th,.widefat tfoot tr th,h3.dashboard-widget-title,h3.dashboard-widget-title span,h3.dashboard-widget-title small,.find-box-head,.sidebar-name,#nav-menu-header,#nav-menu-footer,.menu-item-handle,#fullscreen-topbar{background-color:#f5fafd;background-image:-ms-linear-gradient(top,#f7fcfe,#eff8ff);background-image:-moz-linear-gradient(top,#f7fcfe,#eff8ff);background-image:-o-linear-gradient(top,#f7fcfe,#eff8ff);background-image:-webkit-gradient(linear,left top,left bottom,from(#f7fcfe),to(#eff8ff));background-image:-webkit-linear-gradient(top,#f7fcfe,#eff8ff);background-image:linear-gradient(top,#f7fcfe,#eff8ff);}.widget .widget-top,.postbox h3,.stuffbox h3{border-bottom-color:#D1E5EE;text-shadow:#fff 0 1px 0;-moz-box-shadow:0 1px 0 #fff;-webkit-box-shadow:0 1px 0 #fff;box-shadow:0 1px 0 #fff;}.form-table th,.form-wrap label{color:#222;text-shadow:#fff 0 1px 0;}.description,.form-wrap p{color:#666;}strong .post-com-count span{background-color:#21759b;}.sorthelper{background-color:#ccf3fa;}.ac_match,.subsubsub a.current{color:#000;}.wrap h2{color:#174f69;}.wrap .add-new-h2{background:#f1f1f1;}.subtitle{color:#777;}.ac_over{background-color:#f0f0b8;}.ac_results{background-color:#fff;border-color:#808080;}.ac_results li{color:#101010;}.alternate,.alt{background-color:#f7fcfe;}.available-theme a.screenshot{background-color:#f1f1f1;border-color:#ddd;}.bar{background-color:#e8e8e8;border-right-color:#99d;}#media-upload,#media-upload .media-item .slidetoggle{background:#fff;}#media-upload .slidetoggle{border-top-color:#dfdfdf;}div.error,.login #login_error{background-color:#ffebe8;border-color:#c00;}div.error a{color:#c00;}.form-invalid{background-color:#ffebe8!important;}.form-invalid input,.form-invalid select{border-color:#c00!important;}.submit{border-color:#DFDFDF;}.highlight{background-color:#e4f2fd;color:#000;}.howto,.nonessential,#edit-slug-box,.form-input-tip,.subsubsub{color:#666;}.media-item{border-bottom-color:#dfdfdf;}#wpbody-content #media-items .describe{border-top-color:#dfdfdf;}.media-upload-form label.form-help,td.help{color:#9a9a9a;}.post-com-count{background-image:url(../images/bubble_bg.gif);color:#fff;}.post-com-count span{background-color:#bbb;color:#fff;}.post-com-count:hover span{background-color:#d54e21;}.quicktags,.search{background-color:#ccc;color:#000;}.side-info h5{border-bottom-color:#dadada;}.side-info ul{color:#666;}.button,.button-secondary,.submit input,input[type=button],input[type=submit]{border-color:#bbb;color:#464646;}.button:hover,.button-secondary:hover,.submit input:hover,input[type=button]:hover,input[type=submit]:hover{color:#000;border-color:#666;}.button,.submit input,.button-secondary{background:#f2f2f2 url(../images/white-grad.png) repeat-x scroll left top;text-shadow:rgba(255,255,255,1) 0 1px 0;}.button:active,.submit input:active,.button-secondary:active{background:#eee url(../images/white-grad-active.png) repeat-x scroll left top;}input.button-primary,button.button-primary,a.button-primary{border-color:#298cba;font-weight:bold;color:#fff;background:#21759B url(../images/button-grad.png) repeat-x scroll left top;text-shadow:rgba(0,0,0,0.3) 0 -1px 0;}input.button-primary:active,button.button-primary:active,a.button-primary:active{background:#21759b url(../images/button-grad-active.png) repeat-x scroll left top;color:#eaf2fa;}input.button-primary:hover,button.button-primary:hover,a.button-primary:hover,a.button-primary:focus,a.button-primary:active{border-color:#13455b;color:#eaf2fa;}.button-disabled,.button[disabled],.button:disabled,.button-secondary[disabled],.button-secondary:disabled,a.button.disabled{color:#aaa!important;border-color:#ddd!important;}.button-primary-disabled,.button-primary[disabled],.button-primary:disabled{color:#9FD0D5!important;background:#298CBA!important;}a:hover,a:active,a:focus{color:#d54e21;}#wphead #viewsite a:hover,#adminmenu a:hover,#adminmenu ul.wp-submenu a:hover,#the-comment-list .comment a:hover,#rightnow a:hover,#media-upload a.del-link:hover,div.dashboard-widget-submit input:hover,.subsubsub a:hover,.subsubsub a.current:hover,.ui-tabs-nav a:hover,.plugins .inactive a:hover,#all-plugins-table .plugins .inactive a:hover,#search-plugins-table .plugins .inactive a:hover{color:#d54e21;}#the-comment-list .comment-item,#dashboard-widgets #dashboard_quick_press form p.submit{border-color:#dfdfdf;}#side-sortables .category-tabs .tabs a,#side-sortables .add-menu-item-tabs .tabs a,.wp-tab-bar .wp-tab-active a{color:#333;}#rightnow .rbutton{background-color:#ebebeb;color:#264761;}.submitbox .submit{background-color:#464646;color:#ccc;}.plugins a.delete:hover,#all-plugins-table .plugins a.delete:hover,#search-plugins-table .plugins a.delete:hover,.submitbox .submitdelete{color:#f00;border-bottom-color:#f00;}.submitbox .submitdelete:hover,#media-items a.delete:hover{color:#fff;background-color:#f00;border-bottom-color:#f00;}#normal-sortables .submitbox .submitdelete:hover{color:#000;background-color:#f00;border-bottom-color:#f00;}.tablenav .dots{border-color:transparent;}.tablenav .next,.tablenav .prev{border-color:transparent;color:#21759b;}.tablenav .next:hover,.tablenav .prev:hover{border-color:transparent;color:#d54e21;}div.updated,.login .message{background-color:#ffffe0;border-color:#e6db55;}.update-message{color:#000;}a.page-numbers{border-bottom-color:#B8D3E2;}.commentlist li{border-bottom-color:#ccc;}.widefat td,.widefat th{border-top-color:#fff;border-bottom-color:#D0DFE9;}.widefat th{text-shadow:rgba(255,255,255,0.8) 0 1px 0;}.widefat td{color:#555;}.widefat p,.widefat ol,.widefat ul{color:#333;}.widefat thead tr th,.widefat tfoot tr th,h3.dashboard-widget-title,h3.dashboard-widget-title span,h3.dashboard-widget-title small,.find-box-head{color:#333;}th.sortable a:hover,th.sortable a:active,th.sortable a:focus{color:#333;}h3.dashboard-widget-title small a{color:#d7d7d7;}h3.dashboard-widget-title small a:hover{color:#fff;}a,#adminmenu a,#poststuff #edButtonPreview,#poststuff #edButtonHTML,#the-comment-list p.comment-author strong a,#media-upload a.del-link,#media-items a.delete,.plugins a.delete,.ui-tabs-nav a{color:#21759b;}#adminmenu .awaiting-mod,#adminmenu .update-plugins,#sidemenu a .update-plugins,#rightnow .reallynow{background-color:#464646;color:#fff;-moz-box-shadow:rgba(255,255,255,0.5) 0 1px 0;-khtml-box-shadow:rgba(255,255,255,0.5) 0 1px 0;-webkit-box-shadow:rgba(255,255,255,0.5) 0 1px 0;box-shadow:rgba(255,255,255,0.5) 0 1px 0;}#plugin-information .action-button{background-color:#d54e21;color:#fff;}#adminmenu li.current a .awaiting-mod,#adminmenu li a.wp-has-current-submenu .update-plugins{background-color:#464646;color:#fff;-moz-box-shadow:rgba(255,255,255,0.5) 0 1px 0;-khtml-box-shadow:rgba(255,255,255,0.5) 0 1px 0;-webkit-box-shadow:rgba(255,255,255,0.5) 0 1px 0;box-shadow:rgba(255,255,255,0.5) 0 1px 0;}div#media-upload-header,div#plugin-information-header{background-color:#f9f9f9;border-bottom-color:#dfdfdf;}#currenttheme img{border-color:#666;}#dashboard_secondary div.dashboard-widget-content ul li a{background-color:#f9f9f9;}input.readonly,textarea.readonly{background-color:#ddd;}#ed_toolbar input,#ed_reply_toolbar input{background:#fff url("../images/fade-butt.png") repeat-x 0 -2px;}#editable-post-name{background-color:#fffbcc;}#edit-slug-box strong,.tablenav .displaying-num,#submitted-on,.submitted-on{color:#777;}.login #nav a,.login #backtoblog a{color:#21759b!important;}.login #nav a:hover,.login #backtoblog a:hover{color:#d54e21!important;}#footer{color:#777;border-color:#b0c8d7;}#media-items,.imgedit-group{border-color:#dfdfdf;}.checkbox,.side-info,.plugins tr,#your-profile #rich_editing{background-color:#fcfcfc;}.plugins .inactive,.plugins .inactive th,.plugins .inactive td,tr.inactive+tr.plugin-update-tr .plugin-update{background-color:#efede7;}.plugin-update-tr .update-message{background-color:#fffbe4;border-color:#dfdfdf;}.plugins .active,.plugins .active th,.plugins .active td{color:#000;}.plugins .inactive a{color:#579;}#the-comment-list tr.undo,#the-comment-list div.undo{background-color:#f4f4f4;}#the-comment-list .unapproved{background-color:#ffffe0;}#the-comment-list .approve a{color:#006505;}#the-comment-list .unapprove a{color:#d98500;}table.widefat span.delete a,table.widefat span.trash a,table.widefat span.spam a,#dashboard_recent_comments .delete a,#dashboard_recent_comments .trash a,#dashboard_recent_comments .spam a{color:#bc0b0b;}.widget,#widget-list .widget-top,.postbox,#titlediv,#poststuff .postarea,.stuffbox{border-color:#d1e5ee;-moz-box-shadow:inset 0 1px 0 #fff;-webkit-box-shadow:inset 0 1px 0 #fff;box-shadow:inset 0 1px 0 #fff;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;}.widget,#widget-list .widget-top,.postbox,.menu-item-settings{background-color:#f7fcfe;}.postbox h3{color:#174f69;}.widget .widget-top{color:#174f69;}.sidebar-name:hover h3,.postbox h3:hover{color:#000;}.curtime #timestamp{background-image:url(../images/date-button.gif);}#quicktags #ed_link{color:#00f;}#rightnow .youhave{background-color:#f0f6fb;}#rightnow a{color:#448abd;}.tagchecklist span a,#bulk-titles div a{background:url(../images/xit.gif) no-repeat;}.tagchecklist span a:hover,#bulk-titles div a:hover{background:url(../images/xit.gif) no-repeat -10px 0;}#update-nag,.update-nag{background-color:#fffbcc;border-color:#e6db55;color:#555;}.login #backtoblog a{color:#464646;}#wphead{border-bottom:#d0dfe9 1px solid;}#wphead h1 a{color:#174f69;}#user_info{color:#777;}#user_info:hover,#user_info.active{color:#185069;}#user_info.active{background-color:#f7fcfe;background-image:-ms-linear-gradient(bottom,#f7fcfe,#f9f9f9);background-image:-moz-linear-gradient(bottom,#f7fcfe,#f9f9f9);background-image:-o-linear-gradient(bottom,#f7fcfe,#f9f9f9);background-image:-webkit-gradient(linear,left bottom,left top,from(#f7fcfe),to(#f9f9f9));background-image:-webkit-linear-gradient(bottom,#f7fcfe,#f9f9f9);background-image:linear-gradient(bottom,#f7fcfe,#f9f9f9);border-color:#d0dfe9 #d0dfe9 #d0dfe9;}#user_info_arrow{background:transparent url(../images/arrows-vs.png) no-repeat 6px 5px;}#user_info:hover #user_info_arrow,#user_info.active #user_info_arrow{background:transparent url(../images/arrows-dark-vs.png) no-repeat 6px 5px;}#user_info_links{-moz-box-shadow:0 3px 2px -2px rgba(0,0,0,0.2);-webkit-box-shadow:0 3px 2px -2px rgba(0,0,0,0.2);box-shadow:0 3px 2px -2px rgba(0,0,0,0.2);}#user_info_links ul{background:#f7fcfe;border-color:#d0dfe9 #d0dfe9 #d0dfe9;-moz-box-shadow:inset 0 1px 0 #f9f9f9;-webkit-box-shadow:inset 0 1px 0 #f9f9f9;box-shadow:inset 0 1px 0 #f9f9f9;}#user_info_links li:hover{background-color:#ECF8FE;}#user_info_links li:hover a,#user_info_links li a:hover{text-decoration:none;}#user_info a:link,#user_info a:visited,#footer a:link,#footer a:visited{text-decoration:none;}#footer a:hover{color:#000;text-decoration:underline;}div#media-upload-error,.file-error,abbr.required,.widget-control-remove:hover,table.widefat .delete a:hover,table.widefat .trash a:hover,table.widefat .spam a:hover,#dashboard_recent_comments .delete a:hover,#dashboard_recent_comments .trash a:hover #dashboard_recent_comments .spam a:hover{color:#f00;}#pass-strength-result{background-color:#eee;border-color:#ddd!important;}#pass-strength-result.bad{background-color:#ffb78c;border-color:#ff853c!important;}#pass-strength-result.good{background-color:#ffec8b;border-color:#fc0!important;}#pass-strength-result.short{background-color:#ffa0a0;border-color:#f04040!important;}#pass-strength-result.strong{background-color:#c3ff88;border-color:#8dff1c!important;}#quicktags{border-color:#cfdfe9;background-color:#cfdfe9;background-image:url("../images/ed-bg-vs.gif?ver=20101102");}#ed_toolbar input{border-color:#C3C3C3;}#ed_toolbar input:hover{border-color:#aaa;background:#ddd;}#poststuff .wp_themeSkin .mceStatusbar{border-color:#d0dfe9;}#poststuff .wp_themeSkin .mceStatusbar *{color:#555;}#poststuff #edButtonPreview,#poststuff #edButtonHTML{background-color:#f7fcfe;border-color:#d0dfe9 #d0dfe9 #d0dfe9;color:#999;}#poststuff #editor-toolbar .active{border-color:#d0dfe9 #d0dfe9 #eff8ff;background-color:#eff8ff;color:#333;}#post-status-info{background-color:#eff8ff;}.wp_themeSkin *,.wp_themeSkin a:hover,.wp_themeSkin a:link,.wp_themeSkin a:visited,.wp_themeSkin a:active{color:#000;}.wp_themeSkin table.mceLayout{border-color:#bed1dd #bed1dd #d0dfe9;}#editorcontainer #content,#editorcontainer .wp_themeSkin .mceIframeContainer{-moz-box-shadow:inset 1px 1px 2px rgba(0,0,0,0.1);-webkit-box-shadow:inset 1px 1px 2px rgba(0,0,0,0.1);box-shadow:inset 1px 1px 2px rgba(0,0,0,0.1);}.wp_themeSkin iframe{background:transparent;}.wp_themeSkin .mceStatusbar{color:#000;background-color:#f5f5f5;}.wp_themeSkin .mceButton{border-color:#B0C8D7;background-color:#cfdfe9;background-image:-ms-linear-gradient(bottom,#cfdfe9,#fff);background-image:-moz-linear-gradient(bottom,#cfdfe9,#fff);background-image:-o-linear-gradient(bottom,#cfdfe9,#fff);background-image:-webkit-gradient(linear,left bottom,left top,from(#cfdfe9),to(#fff));background-image:-webkit-linear-gradient(bottom,#cfdfe9,#fff)!important;background-image:linear-gradient(bottom,#cfdfe9,#fff);}.wp_themeSkin a.mceButtonEnabled:hover{border-color:#5589AA!important;background-color:#c9c9c9;background-image:-ms-linear-gradient(bottom,#bdccd5,#fff);background-image:-moz-linear-gradient(bottom,#bdccd5,#fff));background-image:-o-linear-gradient(bottom,#bdccd5,#fff));background-image:-webkit-gradient(linear,left bottom,left top,from(#bdccd5),to(#fff));background-image:-webkit-linear-gradient(bottom,#bdccd5,#fff)!important;background-image:linear-gradient(bottom,#bdccd5,#fff);}.wp_themeSkin a.mceButton:active,.wp_themeSkin a.mceButtonEnabled:active,.wp_themeSkin a.mceButtonSelected:active,.wp_themeSkin a.mceButtonActive,.wp_themeSkin a.mceButtonActive:active,.wp_themeSkin a.mceButtonActive:hover{background:#B0C8D7!important;background-image:-ms-linear-gradient(bottom,#fff,#cfdfe9);background-image:-moz-linear-gradient(bottom,#fff,#cfdfe9));background-image:-o-linear-gradient(bottom,#fff,#cfdfe9));background-image:-webkit-gradient(linear,left bottom,left top,from(#fff),to(#cfdfe9));background-image:-webkit-linear-gradient(bottom,#fff,#cfdfe9)!important;background-image:linear-gradient(bottom,#fff,#cfdfe9);border-color:#5589AA!important;}.wp_themeSkin .mceButtonDisabled{border-color:#B0C8D7!important;}.wp_themeSkin .mceListBox .mceText,.wp_themeSkin .mceListBox .mceOpen{border-color:#B0C8D7;background-color:#cfdfe9;background-image:-ms-linear-gradient(bottom,#cfdfe9,#fff);background-image:-moz-linear-gradient(bottom,#cfdfe9,#fff);background-image:-o-linear-gradient(bottom,#cfdfe9,#fff);background-image:-webkit-gradient(linear,left bottom,left top,from(#cfdfe9),to(#fff));background-image:-webkit-linear-gradient(bottom,#cfdfe9,#fff)!important;background-image:linear-gradient(bottom,#cfdfe9,#fff);}.wp_themeSkin .mceListBox .mceOpen{border-left:0!important;}.wp_themeSkin table.mceListBoxEnabled:hover .mceOpen,.wp_themeSkin .mceListBoxHover .mceOpen,.wp_themeSkin .mceListBoxHover:active .mceOpen,.wp_themeSkin .mceListBoxSelected .mceOpen,.wp_themeSkin .mceListBoxSelected .mceText,.wp_themeSkin table.mceListBoxEnabled:active .mceText{background:#B0C8D7;border-color:#5589AA!important;}.wp_themeSkin table.mceListBoxEnabled:hover .mceText,.wp_themeSkin .mceListBoxHover .mceText,.wp_themeSkin table.mceListBoxEnabled:hover .mceOpen,.wp_themeSkin .mceListBoxHover .mceOpen{border-color:#5589AA!important;background-color:#c9c9c9;background-image:-ms-linear-gradient(bottom,#cfdfe9,#fff);background-image:-moz-linear-gradient(bottom,#cfdfe9,#fff);background-image:-o-linear-gradient(bottom,#cfdfe9,#fff);background-image:-webkit-gradient(linear,left bottom,left top,from(#cfdfe9),to(#fff));background-image:-webkit-linear-gradient(bottom,#cfdfe9,#fff)!important;background-image:linear-gradient(bottom,#cfdfe9,#fff);}.wp_themeSkin select.mceListBox{border-color:#B2B2B2;background-color:#fff;}.wp_themeSkin .mceSplitButton a.mceAction,.wp_themeSkin .mceSplitButton a.mceOpen{border-color:#B0C8D7;}.wp_themeSkin .mceSplitButton a.mceOpen:hover,.wp_themeSkin .mceSplitButtonSelected a.mceOpen,.wp_themeSkin table.mceSplitButtonEnabled:hover a.mceAction,.wp_themeSkin .mceSplitButton a.mceAction:hover{border-color:#5589AA!important;}.wp_themeSkin table.mceSplitButton td{background-color:#cfdfe9;background-image:-ms-linear-gradient(bottom,#cfdfe9,#fff);background-image:-moz-linear-gradient(bottom,#cfdfe9,#fff);background-image:-o-linear-gradient(bottom,#cfdfe9,#fff);background-image:-webkit-gradient(linear,left bottom,left top,from(#cfdfe9),to(#fff));background-image:-webkit-linear-gradient(bottom,#cfdfe9,#fff)!important;background-image:linear-gradient(bottom,#cfdfe9,#fff);}.wp_themeSkin table.mceSplitButton:hover td{background-image:-ms-linear-gradient(bottom,#cfdfe9,#fff);background-image:-moz-linear-gradient(bottom,#cfdfe9,#fff);background-image:-o-linear-gradient(bottom,#cfdfe9,#fff);background-image:-webkit-gradient(linear,left bottom,left top,from(#cfdfe9),to(#fff));background-image:-webkit-linear-gradient(bottom,#cfdfe9,#fff)!important;background-image:linear-gradient(bottom,#cfdfe9,#fff);}.wp_themeSkin .mceSplitButtonActive{background-color:#B0C8D7;}.wp_themeSkin div.mceColorSplitMenu table{background-color:#ebebeb;border-color:#B2B2B2;}.wp_themeSkin .mceColorSplitMenu a{border-color:#B2B2B2;}.wp_themeSkin .mceColorSplitMenu a.mceMoreColors{border-color:#fff;}.wp_themeSkin .mceColorSplitMenu a.mceMoreColors:hover{border-color:#0A246A;background-color:#B6BDD2;}.wp_themeSkin a.mceMoreColors:hover{border-color:#0A246A;}.wp_themeSkin .mceMenu{border-color:#ddd;}.wp_themeSkin .mceMenu table{background-color:#ebeaeb;}.wp_themeSkin .mceMenu .mceText{color:#000;}.wp_themeSkin .mceMenu .mceMenuItemEnabled a:hover,.wp_themeSkin .mceMenu .mceMenuItemActive{background-color:#f5f5f5;}.wp_themeSkin td.mceMenuItemSeparator{background-color:#aaa;}.wp_themeSkin .mceMenuItemTitle a{background-color:#ccc;border-bottom-color:#aaa;}.wp_themeSkin .mceMenuItemTitle span.mceText{color:#000;}.wp_themeSkin .mceMenuItemDisabled .mceText{color:#888;}.wp_themeSkin tr.mceFirst td.mceToolbar{background:#cfdfe9 url("../images/ed-bg-vs.gif?ver=20101102") repeat-x scroll left top;border-color:#cfdfe9;}.wp-admin #mceModalBlocker{background:#000;}.wp-admin .clearlooks2 .mceFocus .mceTop .mceLeft{background:#444;border-left:1px solid #999;border-top:1px solid #999;-moz-border-radius:3px 0 0 0;-webkit-border-top-left-radius:3px;-khtml-border-top-left-radius:3px;border-top-left-radius:3px;}.wp-admin .clearlooks2 .mceFocus .mceTop .mceRight{background:#444;border-right:1px solid #999;border-top:1px solid #999;border-top-right-radius:3px;-khtml-border-top-right-radius:3px;-webkit-border-top-right-radius:3px;-moz-border-radius:0 3px 0 0;}.wp-admin .clearlooks2 .mceMiddle .mceLeft{background:#f1f1f1;border-left:1px solid #999;}.wp-admin .clearlooks2 .mceMiddle .mceRight{background:#f1f1f1;border-right:1px solid #999;}.wp-admin .clearlooks2 .mceBottom{background:#f1f1f1;border-bottom:1px solid #999;}.wp-admin .clearlooks2 .mceBottom .mceLeft{background:#f1f1f1;border-bottom:1px solid #999;border-left:1px solid #999;}.wp-admin .clearlooks2 .mceBottom .mceCenter{background:#f1f1f1;border-bottom:1px solid #999;}.wp-admin .clearlooks2 .mceBottom .mceRight{background:#f1f1f1;border-bottom:1px solid #999;border-right:1px solid #999;}.wp-admin .clearlooks2 .mceFocus .mceTop span{color:#e5e5e5;}#titlediv #title{border-color:#bdccd5;}#editorcontainer{border-color:#bdccd5 #bdccd5 #d0dfe9;}#post-status-info{border-color:#d0dfe9 #bdccd5 #bdccd5;}.editwidget .widget-inside{border-color:#d0dfe9;}#titlediv #title{background-color:#fff;}#tTips p#tTips_inside{background-color:#ddd;color:#333;}#timestampdiv input,#namediv input,#poststuff .inside .the-tagcloud{border-color:#ddd;}#adminmenuback,#adminmenuwrap{background-color:#EFF8FF;border-color:#D1E5EE;}#adminmenushadow,#adminmenuback{background-image:url(../images/menu-shadow.png);background-position:top right;background-repeat:repeat-y;}#adminmenu li.wp-menu-separator{background:#D1E5EE;border-color:#bed1dd;}#adminmenu div.separator{border-color:#D1E5EE;}#adminmenu li.wp-has-current-submenu.wp-menu-open .wp-menu-toggle,#adminmenu li.wp-has-current-submenu:hover .wp-menu-toggle{background:transparent url(../images/arrows-dark-vs.png) no-repeat -1px 6px;}#adminmenu .wp-has-submenu:hover .wp-menu-toggle,#adminmenu .wp-menu-open .wp-menu-toggle{background:transparent url(../images/arrows-vs.png) no-repeat -2px 6px;}#adminmenu a.menu-top,.folded #adminmenu li.menu-top,#adminmenu .wp-submenu .wp-submenu-head{border-top-color:#fff;border-bottom-color:#d1e5ee;}#adminmenu li.wp-menu-open{border-color:#d1e5ee;}#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,#adminmenu li.current a.menu-top,.folded #adminmenu li.wp-has-current-submenu,.folded #adminmenu li.current.menu-top,#adminmenu .wp-menu-arrow,#adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head{background-color:#5589AA;background-image:-ms-linear-gradient(bottom,#5589AA,#5A8FAD);background-image:-moz-linear-gradient(bottom,#5589AA,#5A8FAD);background-image:-o-linear-gradient(bottom,#5589AA,#5A8FAD);background-image:-webkit-gradient(linear,left bottom,left top,from(#5589AA),to(#5A8FAD));background-image:-webkit-linear-gradient(bottom,#5589AA,#5A8FAD);background-image:linear-gradient(bottom,#5589AA,#5A8FAD);}#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,#adminmenu li.current a.menu-top,#adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head{text-shadow:0 -1px 0 #333;color:#fff;border-top-color:#5A8FAD;border-bottom-color:#5589AA;}.folded #adminmenu li.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{border-top-color:#5A8FAD;border-bottom-color:#5589AA;}#adminmenu .wp-submenu a:hover{background-color:#EAF2FA!important;color:#333!important;}#adminmenu .wp-submenu li.current,#adminmenu .wp-submenu li.current a,#adminmenu .wp-submenu li.current a:hover{color:#333;}#adminmenu .wp-submenu ul{background-color:#fff;}.folded #adminmenu .wp-submenu-wrap,.folded #adminmenu .wp-submenu ul{border-color:#d0dfe9;}.folded #adminmenu .wp-submenu-wrap{-moz-box-shadow:2px 2px 5px rgba(0,0,0,0.4);-webkit-box-shadow:2px 2px 5px rgba(0,0,0,0.4);box-shadow:2px 2px 5px rgba(0,0,0,0.4);}#adminmenu .wp-submenu .wp-submenu-head{border-right-color:#d0dfe9;background-color:#EFF8FF;}#adminmenu div.wp-submenu{background-color:transparent;}#collapse-menu{color:#A0C3D5;}#collapse-menu:hover{color:#5A8FAD;}#collapse-button{border-color:#d0dfe9;background-color:#eff8ff;background-image:-ms-linear-gradient(bottom,#eff8ff,#fff);background-image:-moz-linear-gradient(bottom,#eff8ff,#fff);background-image:-o-linear-gradient(bottom,#eff8ff,#fff);background-image:-webkit-gradient(linear,left bottom,left top,from(#eff8ff),to(#fff));background-image:-webkit-linear-gradient(bottom,#eff8ff,#fff);background-image:linear-gradient(bottom,#eff8ff,#fff);}#collapse-menu:hover #collapse-button{border-color:#A0C3D5;}#collapse-button div{background:transparent url(../images/arrows-vs.png) no-repeat 0 -72px;}.folded #collapse-button div{background-position:0 -108px;}#adminmenu .menu-icon-dashboard div.wp-menu-image{background:transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -60px -33px;}#adminmenu .menu-icon-dashboard:hover div.wp-menu-image,#adminmenu .menu-icon-dashboard.wp-has-current-submenu div.wp-menu-image,#adminmenu .menu-icon-dashboard.current div.wp-menu-image{background:transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -60px -1px;}#adminmenu .menu-icon-post div.wp-menu-image{background:transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -271px -33px;}#adminmenu .menu-icon-post:hover div.wp-menu-image,#adminmenu .menu-icon-post.wp-has-current-submenu div.wp-menu-image{background:transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -271px -1px;}#adminmenu .menu-icon-media div.wp-menu-image{background:transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -120px -33px;}#adminmenu .menu-icon-media:hover div.wp-menu-image,#adminmenu .menu-icon-media.wp-has-current-submenu div.wp-menu-image{background:transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -120px -1px;}#adminmenu .menu-icon-links div.wp-menu-image{background:transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -90px -33px;}#adminmenu .menu-icon-links:hover div.wp-menu-image,#adminmenu .menu-icon-links.wp-has-current-submenu div.wp-menu-image{background:transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -90px -1px;}#adminmenu .menu-icon-page div.wp-menu-image{background:transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -150px -33px;}#adminmenu .menu-icon-page:hover div.wp-menu-image,#adminmenu .menu-icon-page.wp-has-current-submenu div.wp-menu-image{background:transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -150px -1px;}#adminmenu .menu-icon-comments div.wp-menu-image{background:transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -30px -33px;}#adminmenu .menu-icon-comments:hover div.wp-menu-image,#adminmenu .menu-icon-comments.wp-has-current-submenu div.wp-menu-image,#adminmenu .menu-icon-comments.current div.wp-menu-image{background:transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -30px -1px;}#adminmenu .menu-icon-appearance div.wp-menu-image{background:transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll 0 -33px;}#adminmenu .menu-icon-appearance:hover div.wp-menu-image,#adminmenu .menu-icon-appearance.wp-has-current-submenu div.wp-menu-image{background:transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll 0 -1px;}#adminmenu .menu-icon-plugins div.wp-menu-image{background:transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -180px -33px;}#adminmenu .menu-icon-plugins:hover div.wp-menu-image,#adminmenu .menu-icon-plugins.wp-has-current-submenu div.wp-menu-image{background:transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -180px -1px;}#adminmenu .menu-icon-users div.wp-menu-image{background:transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -300px -33px;}#adminmenu .menu-icon-users:hover div.wp-menu-image,#adminmenu .menu-icon-users.wp-has-current-submenu div.wp-menu-image,#adminmenu .menu-icon-users.current div.wp-menu-image{background:transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -300px -1px;}#adminmenu .menu-icon-tools div.wp-menu-image{background:transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -210px -33px;}#adminmenu .menu-icon-tools:hover div.wp-menu-image,#adminmenu .menu-icon-tools.wp-has-current-submenu div.wp-menu-image,#adminmenu .menu-icon-tools.current div.wp-menu-image{background:transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -210px -1px;}#icon-options-general,#adminmenu .menu-icon-settings div.wp-menu-image{background:transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -240px -33px;}#adminmenu .menu-icon-settings:hover div.wp-menu-image,#adminmenu .menu-icon-settings.wp-has-current-submenu div.wp-menu-image{background:transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -240px -1px;}#adminmenu .menu-icon-site div.wp-menu-image{background:transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -360px -33px;}#adminmenu .menu-icon-site:hover div.wp-menu-image,#adminmenu .menu-icon-site.wp-has-current-submenu div.wp-menu-image{background:transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -360px -1px;}#icon-edit,#icon-post{background:transparent url(../images/icons32-vs.png?ver=20100531) no-repeat -552px -5px;}#icon-index{background:transparent url(../images/icons32-vs.png?ver=20100531) no-repeat -137px -5px;}#icon-upload{background:transparent url(../images/icons32-vs.png?ver=20100531) no-repeat -251px -5px;}#icon-link-manager,#icon-link,#icon-link-category{background:transparent url(../images/icons32-vs.png?ver=20100531) no-repeat -190px -5px;}#icon-edit-pages,#icon-page{background:transparent url(../images/icons32-vs.png?ver=20100531) no-repeat -312px -5px;}#icon-edit-comments{background:transparent url(../images/icons32-vs.png?ver=20100531) no-repeat -72px -5px;}#icon-themes{background:transparent url(../images/icons32-vs.png?ver=20100531) no-repeat -11px -5px;}#icon-plugins{background:transparent url(../images/icons32-vs.png?ver=20100531) no-repeat -370px -5px;}#icon-users,#icon-profile,#icon-user-edit{background:transparent url(../images/icons32-vs.png?ver=20100531) no-repeat -600px -5px;}#icon-tools,#icon-admin{background:transparent url(../images/icons32-vs.png?ver=20100531) no-repeat -432px -5px;}#icon-options-general{background:transparent url(../images/icons32-vs.png?ver=20100531) no-repeat -492px -5px;}#icon-ms-admin{background:transparent url(../images/icons32-vs.png?ver=20100531) no-repeat -659px -5px;}table.diff .diff-deletedline{background-color:#fdd;}table.diff .diff-deletedline del{background-color:#f99;}table.diff .diff-addedline{background-color:#dfd;}table.diff .diff-addedline ins{background-color:#9f9;}#att-info{background-color:#E4F2FD;}#sidemenu a{background-color:#f9f9f9;border-color:#f9f9f9;border-bottom-color:#dfdfdf;}#sidemenu a.current{background-color:#fff;border-color:#dfdfdf #dfdfdf #fff;color:#D54E21;}#screen-options-wrap,#contextual-help-wrap{background-color:#f7fcfe;border-color:#D1e5ee;}#screen-options-link-wrap,#contextual-help-link-wrap{background-color:#eff8ff;border-right:1px solid #D1E5EE;border-left:1px solid #D1E5EE;border-bottom:1px solid #D1E5EE;background-image:-ms-linear-gradient(bottom,#eff8ff,#fff);background-image:-moz-linear-gradient(bottom,#eff8ff,#fff);background-image:-o-linear-gradient(bottom,#eff8ff,#fff);background-image:-webkit-gradient(linear,left bottom,left top,from(#eff8ff),to(#fff));background-image:-webkit-linear-gradient(bottom,#eff8ff,#fff);background-image:linear-gradient(bottom,#eff8ff,#fff);}#screen-meta-links a.show-settings{color:#606060;}#screen-meta-links a.show-settings:hover{color:#000;}#replysubmit{background-color:#f1f1f1;border-top-color:#ddd;}#replyerror{border-color:#ddd;background-color:#f9f9f9;}#edithead,#replyhead{background-color:#f1f1f1;}#ed_reply_toolbar{background-color:#e9e9e9;}.vim-current,.vim-current th,.vim-current td{background-color:#E4F2FD!important;}.star-average,.star.star-rating{background-color:#fc0;}div.star.select:hover{background-color:#d00;}div.star img{border-left:1px solid #fff;border-right:1px solid #fff;}#plugin-information .fyi ul{background-color:#eaf3fa;}#plugin-information .fyi h2.mainheader{background-color:#cee1ef;}#plugin-information pre,#plugin-information code{background-color:#ededff;}#plugin-information pre{border:1px solid #ccc;}.inline-edit-row fieldset input[type="text"],.inline-edit-row fieldset textarea,#bulk-titles,#replyrow input{border-color:#ddd;}.inline-editor div.title{background-color:#EAF3FA;}.inline-editor ul.cat-checklist{background-color:#fff;border-color:#ddd;}.inline-editor .categories .catshow,.inline-editor .categories .cathide{color:#21759b;}.inline-editor .quick-edit-save{background-color:#f1f1f1;}#replyrow #ed_reply_toolbar input:hover{border-color:#aaa;background:#ddd;}fieldset.inline-edit-col-right .inline-edit-col{border-color:#dfdfdf;}.attention{color:#D54E21;}.meta-box-sortables .postbox:hover .handlediv{background:transparent url(../images/arrows-vs.png) no-repeat 6px 7px;}.tablenav .tablenav-pages{color:#555;}.tablenav .tablenav-pages a{border-color:#d1e5ee;background:#eee url('../images/menu-bits-vs.gif?ver=20101102') repeat-x scroll left -379px;}.tablenav .tablenav-pages a:hover,.tablenav .tablenav-pages a:focus{color:#d54e21;}.tablenav .tablenav-pages a.disabled,.tablenav .tablenav-pages a.disabled:hover,.tablenav .tablenav-pages a.disabled:focus{color:#aaa;}.tablenav .tablenav-pages .current{background:#dfdfdf;border-color:#d3d3d3;}#availablethemes,#availablethemes td{border-color:#ddd;}#current-theme img{border-color:#999;}#TB_window #TB_title a.tb-theme-preview-link,#TB_window #TB_title a.tb-theme-preview-link:visited{color:#999;}#TB_window #TB_title a.tb-theme-preview-link:hover,#TB_window #TB_title a.tb-theme-preview-link:focus{color:#ccc;}.misc-pub-section{border-top-color:#fff;border-bottom-color:#eee;}#minor-publishing{border-bottom-color:#ddd;}#post-body .misc-pub-section{border-right-color:#eee;}.post-com-count span{background-color:#bbb;}.form-table .color-palette td{border-color:#fff;}.sortable-placeholder{border-color:#bbb;background-color:#f5f5f5;}#post-body ul.category-tabs li.tabs a,#post-body ul.add-menu-item-tabs li.tabs a,body.press-this ul.category-tabs li.tabs a{color:#333;}#wp_editimgbtn,#wp_delimgbtn,#wp_editgallery,#wp_delgallery{border-color:#999;background-color:#eee;}#wp_editimgbtn:hover,#wp_delimgbtn:hover,#wp_editgallery:hover,#wp_delgallery:hover{border-color:#555;background-color:#ccc;}#favorite-first{border-color:#c0c0c0;background:#f1f1f1;background:-moz-linear-gradient(bottom,#e7e7e7,#fff);background:-webkit-gradient(linear,left bottom,left top,from(#e7e7e7),to(#fff));}#favorite-inside{border-color:#c0c0c0;background-color:#fff;}#favorite-toggle{background:transparent url(../images/fav-arrow.gif?ver=20100531) no-repeat 0 -4px;border-color:#d0dfe9;-moz-box-shadow:inset 1px 0 0 #fff;-webkit-box-shadow:inset 1px 0 0 #fff;box-shadow:inset 1px 0 0 #fff;}#favorite-actions a{color:#464646;}#favorite-actions a:hover{color:#000;}#favorite-inside a:hover{text-decoration:underline;}#screen-meta a.show-settings,.toggle-arrow{background:transparent url(../images/arrows-vs.png) no-repeat right 3px;}#screen-meta .screen-meta-active a.show-settings{background:transparent url(../images/arrows-vs.png) no-repeat right -33px;}.view-switch #view-switch-list{background:transparent url(../images/list.png) no-repeat 0 0;}.view-switch .current #view-switch-list{background:transparent url(../images/list.png) no-repeat -40px 0;}.view-switch #view-switch-excerpt{background:transparent url(../images/list.png) no-repeat -20px 0;}.view-switch .current #view-switch-excerpt{background:transparent url(../images/list.png) no-repeat -60px 0;}#header-logo{background:transparent url(../images/wp-logo-vs.png?ver=20101102) no-repeat scroll center center;}.popular-tags,.feature-filter{background-color:#fff;border-color:#DFDFDF;}#theme-information .action-button{border-top-color:#DFDFDF;}.theme-listing br.line{border-bottom-color:#ccc;}div.widgets-sortables,#widgets-left .inactive{background-color:#f7fcfe;border-color:#d0dfe9;}#available-widgets .widget-holder{background-color:#f7fcfe;border-color:#d0dfe9;}#available-widgets .widget-description{color:#555;}.sidebar-name{color:#464646;background-color:#f7fcfe;background-image:-ms-linear-gradient(top,#ECF8FE,#f7fcfe);background-image:-moz-linear-gradient(top,#ECF8FE,#f7fcfe);background-image:-o-linear-gradient(top,#ECF8FE,#f7fcfe);background-image:-webkit-gradient(linear,left top,left bottom,from(#ECF8FE),to(#f7fcfe));background-image:-webkit-linear-gradient(top,#ECF8FE,#f7fcfe);background-image:linear-gradient(top,#ECF8FE,#f7fcfe);text-shadow:#fff 0 1px 0;border-color:#d0dfe9;-moz-box-shadow:inset 0 1px 0 #fff;-webkit-box-shadow:inset 0 1px 0 #fff;box-shadow:inset 0 1px 0 #fff;}.sidebar-name:hover,#removing-widget{color:#d54e21;}#removing-widget span{color:black;}.sidebar-name-arrow{background:transparent url(../images/arrows-vs.png) no-repeat 5px 9px;}.sidebar-name:hover .sidebar-name-arrow{background:transparent url(../images/arrows-dark-vs.png) no-repeat 5px 9px;}.in-widget-title{color:#606060;}.deleting .widget-title *{color:#aaa;}.imgedit-menu div{border-color:#d5d5d5;background-color:#f1f1f1;}.imgedit-menu div:hover{border-color:#c1c1c1;background-color:#eaeaea;}.imgedit-menu div.disabled{border-color:#ccc;background-color:#ddd;filter:alpha(opacity=50);opacity:.5;}#dashboard_recent_comments div.undo{border-top-color:#dfdfdf;}.comment-ays,.comment-ays th{border-color:#ddd;}.comment-ays th{background-color:#f1f1f1;}#menu-management .menu-edit{border-color:#d0dfe9;}#post-body{background:#fff;border-top-color:#fff;border-bottom-color:#d0dfe9;}#nav-menu-header{border-bottom-color:#d0dfe9;}#nav-menu-footer{border-top-color:#fff;}#menu-management .nav-tabs-arrow a{color:#C1C1C1;}#menu-management .nav-tabs-arrow a:hover{color:#D54E21;}#menu-management .nav-tabs-arrow a:active{color:#464646;}#menu-management .nav-tab-active{border-color:#dfdfdf;}#menu-management .nav-tab{background:#f7fcfe;border-color:#d0dfe9;}.js .input-with-default-title{color:#aaa;}#cancel-save{color:#f00;}#cancel-save:hover{background-color:#F00;color:#fff;}.list-container{border-color:#dfdfdf;}.menu-item-handle{border-color:#d0dfe9;}.menu li.deleting .menu-item-handle{background-color:#f66;text-shadow:#ccc;}.item-type{color:#999;}.item-controls .menu-item-delete:hover{color:#f00;}.item-edit{background:transparent url(../images/arrows-vs.png) no-repeat 8px 10px;border-bottom-color:#eee;}.item-edit:hover{background:transparent url(../images/arrows-dark-vs.png) no-repeat 8px 10px;}.menu-item-settings{border-color:#d0dfe9;}.link-to-original{color:#777;border-color:#d0dfe9;}#cancel-save:hover{color:#fff!important;}#update-menu-item{color:#fff!important;}#update-menu-item:hover,#update-menu-item:active,#update-menu-item:focus{color:#eaf2fa!important;border-color:#13455b!important;}.submitbox .submitcancel{color:#21759B;border-bottom-color:#21759B;}.submitbox .submitcancel:hover{background:#21759B;color:#fff;}#menu-management .nav-tab-active,.menu-item-handle,.menu-item-settings{-moz-box-shadow:inset 0 1px 0 #fff;-webkit-box-shadow:inset 0 1px 0 #fff;box-shadow:inset 0 1px 0 #fff;}#menu-management .nav-tab-active{background:#eff8ff;border-bottom-color:#eff8ff;}#upload-form label{color:#777;}.fullscreen-overlay{background:#fff;}.wp-fullscreen-focus #wp-fullscreen-title,.wp-fullscreen-focus #wp-fullscreen-container{border-color:#BED1DD;}#fullscreen-topbar{border-bottom-color:#D1E5EE;} \ No newline at end of file diff --git a/src/wp-admin/css/colors-classic.dev.css b/src/wp-admin/css/colors-classic.dev.css index 26cb708..329d32e 100644 --- a/src/wp-admin/css/colors-classic.dev.css +++ b/src/wp-admin/css/colors-classic.dev.css @@ -1,6 +1,6 @@ html, .wp-dialog { - background-color: #fcfcfb; + background-color: #fff; } * html input, @@ -49,7 +49,7 @@ a.page-numbers:hover { body, #wpbody, .form-table .pre { - color: #174f69; + color: #333; } body > #upload-menu { @@ -116,12 +116,13 @@ ul.category-tabs li.tabs, ul.add-menu-item-tabs li.tabs, .wp-tab-active { border-color: #dfdfdf; + background-color: #fff; } ul.category-tabs li.tabs, ul.add-menu-item-tabs li.tabs, .wp-tab-active { - background-color: #f1f1f1; + background-color: #fff; } input.disabled, @@ -135,11 +136,37 @@ textarea.disabled { color: #fff; } +.widget .widget-top, +.postbox h3, +.stuffbox h3, +.widefat thead tr th, +.widefat tfoot tr th, +h3.dashboard-widget-title, +h3.dashboard-widget-title span, +h3.dashboard-widget-title small, +.find-box-head, +.sidebar-name, +#nav-menu-header, +#nav-menu-footer, +.menu-item-handle, +#fullscreen-topbar { + background-color: #f5fafd; /* Fallback */ + background-image: -ms-linear-gradient(top, #f7fcfe, #eff8ff); /* IE10 */ + background-image: -moz-linear-gradient(top, #f7fcfe, #eff8ff); /* Firefox */ + background-image: -o-linear-gradient(top, #f7fcfe, #eff8ff); /* Opera */ + background-image: -webkit-gradient(linear, left top, left bottom, from(#f7fcfe), to(#eff8ff)); /* old Webkit */ + background-image: -webkit-linear-gradient(top, #f7fcfe, #eff8ff); /* new Webkit */ + background-image: linear-gradient(top, #f7fcfe, #eff8ff); /* proposed W3C Markup */ +} + .widget .widget-top, .postbox h3, .stuffbox h3 { - background: #cfdfe9 url("../images/blue-grad.png?ver=20101102") repeat-x left top; + border-bottom-color: #D1E5EE; text-shadow: #fff 0 1px 0; + -moz-box-shadow: 0 1px 0 #fff; + -webkit-box-shadow: 0 1px 0 #fff; + box-shadow: 0 1px 0 #fff; } .form-table th, @@ -170,6 +197,14 @@ strong .post-com-count span { color: #174f69; } +.wrap .add-new-h2 { + background: #f1f1f1; +} + +.subtitle { + color: #777; +} + .ac_over { background-color: #f0f0b8; } @@ -185,7 +220,7 @@ strong .post-com-count span { .alternate, .alt { - background-color: #F8F7F3; + background-color: #f7fcfe; } .available-theme a.screenshot { @@ -239,7 +274,6 @@ div.error a { .nonessential, #edit-slug-box, .form-input-tip, -.rss-widget span.rss-date, .subsubsub { color: #666; } @@ -458,13 +492,23 @@ a.page-numbers { .widefat td, .widefat th { - border-color: #dfdfdf; + border-top-color: #fff; + border-bottom-color: #D0DFE9; } .widefat th { text-shadow: rgba(255,255,255,0.8) 0 1px 0; } +.widefat td { + color: #555; +} +.widefat p, +.widefat ol, +.widefat ul { + color: #333; +} + .widefat thead tr th, .widefat tfoot tr th, h3.dashboard-widget-title, @@ -472,7 +516,6 @@ h3.dashboard-widget-title span, h3.dashboard-widget-title small, .find-box-head { color: #333; - background: #cfdfe9 url(../images/blue-grad.png?ver=20101102) repeat-x scroll left top; } th.sortable a:hover, th.sortable a:active, th.sortable a:focus { @@ -499,30 +542,30 @@ a, color: #21759b; } -#adminmenu #awaiting-mod, +#adminmenu .awaiting-mod, #adminmenu .update-plugins, #sidemenu a .update-plugins, #rightnow .reallynow { background-color: #464646; color: #fff; - -moz-box-shadow: #fff 0 -1px 0; - -khtml-box-shadow: #fff 0 -1px 0; - -webkit-box-shadow: #fff 0 -1px 0; - box-shadow: #fff 0 -1px 0; + -moz-box-shadow: rgba(255,255,255,0.5) 0 1px 0; + -khtml-box-shadow: rgba(255,255,255,0.5) 0 1px 0; + -webkit-box-shadow: rgba(255,255,255,0.5) 0 1px 0; + box-shadow: rgba(255,255,255,0.5) 0 1px 0; } #plugin-information .action-button { background-color: #d54e21; color: #fff; } -#adminmenu li.current a #awaiting-mod, -#adminmenu li a.wp-has-current-submenu .update-plugins{ +#adminmenu li.current a .awaiting-mod, +#adminmenu li a.wp-has-current-submenu .update-plugins{ background-color: #464646; color: #fff; - -moz-box-shadow: #fff 0 -1px 0; - -khtml-box-shadow: #fff 0 -1px 0; - -webkit-box-shadow: #fff 0 -1px 0; - box-shadow: #fff 0 -1px 0; + -moz-box-shadow: rgba(255,255,255,0.5) 0 1px 0; + -khtml-box-shadow: rgba(255,255,255,0.5) 0 1px 0; + -webkit-box-shadow: rgba(255,255,255,0.5) 0 1px 0; + box-shadow: rgba(255,255,255,0.5) 0 1px 0; } div#media-upload-header, @@ -559,20 +602,19 @@ input.readonly, textarea.readonly { color: #777; } -.login #nav a { +.login #nav a, +.login #backtoblog a { color: #21759b !important; } -.login #nav a:hover { +.login #nav a:hover, +.login #backtoblog a:hover { color: #d54e21 !important; } #footer { color: #777; border-color: #b0c8d7; - background: #cfdfe9; /* fallback color */ - background:-moz-linear-gradient(bottom, #cfdfe9, #eff8ff); - background:-webkit-gradient(linear, left bottom, left top, from(#cfdfe9), to(#eff8ff)); } #media-items, @@ -584,7 +626,7 @@ input.readonly, textarea.readonly { .side-info, .plugins tr, #your-profile #rich_editing { - background-color: #fff; + background-color: #fcfcfc; } .plugins .inactive, @@ -641,23 +683,36 @@ table.widefat span.spam a, #titlediv, #poststuff .postarea, .stuffbox { - border-color: #D1E5EE; + border-color: #d1e5ee; + -moz-box-shadow: inset 0 1px 0 #fff; + -webkit-box-shadow: inset 0 1px 0 #fff; + box-shadow: inset 0 1px 0 #fff; + -moz-border-radius: 3px; + -khtml-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; } .widget, -.postbox { - background-color: #fff; +#widget-list .widget-top, +.postbox, +.menu-item-settings { + background-color: #f7fcfe; } -.ui-sortable .postbox h3 { +.postbox h3 { color: #174f69; } -.widget .widget-top, -.ui-sortable .postbox h3:hover { +.widget .widget-top { color: #174f69; } +.sidebar-name:hover h3, +.postbox h3:hover { + color: #000; +} + .curtime #timestamp { background-image: url(../images/date-button.gif); } @@ -685,8 +740,8 @@ table.widefat span.spam a, } #update-nag, .update-nag { - background-color: #FFFBCC; - border-color: #E6DB55; + background-color: #fffbcc; + border-color: #e6db55; color: #555; } @@ -695,10 +750,7 @@ table.widefat span.spam a, } #wphead { - border-bottom:#b0c8d7 1px solid; - background: #cfdfe9; /* fallback color */ - background:-moz-linear-gradient(bottom, #cfdfe9, #eff8ff); - background:-webkit-gradient(linear, left bottom, left top, from(#cfdfe9), to(#eff8ff)); + border-bottom:#d0dfe9 1px solid; } #wphead h1 a { @@ -709,18 +761,64 @@ table.widefat span.spam a, color: #777; } +#user_info:hover, +#user_info.active { + color: #185069; +} + +#user_info.active { + background-color: #f7fcfe; /* Fallback */ + background-image: -ms-linear-gradient(bottom, #f7fcfe, #f9f9f9); /* IE10 */ + background-image: -moz-linear-gradient(bottom, #f7fcfe, #f9f9f9); /* Firefox */ + background-image: -o-linear-gradient(bottom, #f7fcfe, #f9f9f9); /* Opera */ + background-image: -webkit-gradient(linear, left bottom, left top, from(#f7fcfe), to(#f9f9f9)); /* old Webkit */ + background-image: -webkit-linear-gradient(bottom, #f7fcfe, #f9f9f9); /* new Webkit */ + background-image: linear-gradient(bottom, #f7fcfe, #f9f9f9); /* proposed W3C Markup */ + border-color: #d0dfe9 #d0dfe9 #d0dfe9; +} + +#user_info_arrow { + background: transparent url(../images/arrows-vs.png) no-repeat 6px 5px; +} + +#user_info:hover #user_info_arrow, +#user_info.active #user_info_arrow { + background: transparent url(../images/arrows-dark-vs.png) no-repeat 6px 5px; +} + +#user_info_links { + -moz-box-shadow: 0 3px 2px -2px rgba( 0, 0, 0, 0.2 ); + -webkit-box-shadow: 0 3px 2px -2px rgba( 0, 0, 0, 0.2 ); + box-shadow: 0 3px 2px -2px rgba( 0, 0, 0, 0.2 ); +} + +#user_info_links ul { + background: #f7fcfe; + border-color: #d0dfe9 #d0dfe9 #d0dfe9; + -moz-box-shadow: inset 0 1px 0 #f9f9f9; + -webkit-box-shadow: inset 0 1px 0 #f9f9f9; + box-shadow: inset 0 1px 0 #f9f9f9; +} + +#user_info_links li:hover { + background-color: #ECF8FE; +} + +#user_info_links li:hover a, +#user_info_links li a:hover { + text-decoration: none; +} + #user_info a:link, #user_info a:visited, #footer a:link, #footer a:visited { - color: #174f69; text-decoration: none; } -#user_info a:hover, #footer a:hover { color: #000; - text-decoration: underline !important; + text-decoration: underline; } div#media-upload-error, @@ -778,18 +876,22 @@ table.widefat .spam a:hover, } #poststuff .wp_themeSkin .mceStatusbar { - border-color: #EDEDED; + border-color: #d0dfe9; +} + +#poststuff .wp_themeSkin .mceStatusbar * { + color: #555; } #poststuff #edButtonPreview, #poststuff #edButtonHTML { - background-color: #eff8ff; - border-color: #D1E5EE; + background-color: #f7fcfe; + border-color: #d0dfe9 #d0dfe9 #d0dfe9; color: #999; } #poststuff #editor-toolbar .active { - border-bottom-color: #eff8ff; + border-color: #d0dfe9 #d0dfe9 #eff8ff; background-color: #eff8ff; color: #333; } @@ -804,12 +906,22 @@ table.widefat .spam a:hover, .wp_themeSkin a:link, .wp_themeSkin a:visited, .wp_themeSkin a:active { - color: #000; + color: #000; } /* Containers */ +.wp_themeSkin table.mceLayout { + border-color: #bed1dd #bed1dd #d0dfe9; +} + +#editorcontainer #content, +#editorcontainer .wp_themeSkin .mceIframeContainer { + -moz-box-shadow: inset 1px 1px 2px rgba( 0, 0, 0, 0.1 ); + -webkit-box-shadow: inset 1px 1px 2px rgba( 0, 0, 0, 0.1 ); + box-shadow: inset 1px 1px 2px rgba( 0, 0, 0, 0.1 ); +} .wp_themeSkin iframe { - background: #fff; + background: transparent; } /* Layout */ @@ -820,39 +932,87 @@ table.widefat .spam a:hover, /* Button */ .wp_themeSkin .mceButton { - background-color: #e9e8e8; - border-color: #B2B2B2; + border-color: #B0C8D7; + background-color: #cfdfe9; /* Fallback */ + background-image: -ms-linear-gradient(bottom, #cfdfe9, #fff); /* IE10 */ + background-image: -moz-linear-gradient(bottom, #cfdfe9, #fff); /* Firefox */ + background-image: -o-linear-gradient(bottom, #cfdfe9, #fff); /* Opera */ + background-image: -webkit-gradient(linear, left bottom, left top, from(#cfdfe9), to(#fff)); /* old Webkit */ + background-image: -webkit-linear-gradient(bottom, #cfdfe9, #fff) !important; /* new Webkit */ + background-image: linear-gradient(bottom, #cfdfe9, #fff); /* proposed W3C Markup */ } -.wp_themeSkin a.mceButtonEnabled:hover, +.wp_themeSkin a.mceButtonEnabled:hover { + border-color: #5589AA !important; + background-color: #c9c9c9; /* Fallback */ + background-image: -ms-linear-gradient(bottom, #bdccd5, #fff); /* IE10 */ + background-image: -moz-linear-gradient(bottom, #bdccd5, #fff)); /* Firefox */ + background-image: -o-linear-gradient(bottom, #bdccd5, #fff)); /* Opera */ + background-image: -webkit-gradient(linear, left bottom, left top, from(#bdccd5), to(#fff)); /* old Webkit */ + background-image: -webkit-linear-gradient(bottom, #bdccd5, #fff) !important; /* new Webkit */ + background-image: linear-gradient(bottom, #bdccd5, #fff); /* proposed W3C Markup */ +} + +.wp_themeSkin a.mceButton:active, +.wp_themeSkin a.mceButtonEnabled:active, +.wp_themeSkin a.mceButtonSelected:active, .wp_themeSkin a.mceButtonActive, -.wp_themeSkin a.mceButtonSelected { - background: #d5d5d5; - border-color: #777 !important; +.wp_themeSkin a.mceButtonActive:active, +.wp_themeSkin a.mceButtonActive:hover { + background: #B0C8D7 !important; + background-image: -ms-linear-gradient(bottom, #fff, #cfdfe9); /* IE10 */ + background-image: -moz-linear-gradient(bottom, #fff, #cfdfe9)); /* Firefox */ + background-image: -o-linear-gradient(bottom, #fff, #cfdfe9)); /* Opera */ + background-image: -webkit-gradient(linear, left bottom, left top, from(#fff), to(#cfdfe9)); /* old Webkit */ + background-image: -webkit-linear-gradient(bottom, #fff, #cfdfe9) !important; /* new Webkit */ + background-image: linear-gradient(bottom, #fff, #cfdfe9); /* proposed W3C Markup */ + border-color: #5589AA !important; } .wp_themeSkin .mceButtonDisabled { - border-color: #ccc !important; + border-color: #B0C8D7 !important; } /* ListBox */ .wp_themeSkin .mceListBox .mceText, -.wp_themeSkin .mceListBox .mceOpen { - border-color: #B2B2B2; - background-color: #d5d5d5; +.wp_themeSkin .mceListBox .mceOpen { + border-color: #B0C8D7; + background-color: #cfdfe9; /* Fallback */ + background-image: -ms-linear-gradient(bottom, #cfdfe9, #fff); /* IE10 */ + background-image: -moz-linear-gradient(bottom, #cfdfe9, #fff); /* Firefox */ + background-image: -o-linear-gradient(bottom, #cfdfe9, #fff); /* Opera */ + background-image: -webkit-gradient(linear, left bottom, left top, from(#cfdfe9), to(#fff)); /* old Webkit */ + background-image: -webkit-linear-gradient(bottom, #cfdfe9, #fff) !important; /* new Webkit */ + background-image: linear-gradient(bottom, #cfdfe9, #fff); /* proposed W3C Markup */ +} + +.wp_themeSkin .mceListBox .mceOpen { + border-left: 0px !important; } .wp_themeSkin table.mceListBoxEnabled:hover .mceOpen, .wp_themeSkin .mceListBoxHover .mceOpen, +.wp_themeSkin .mceListBoxHover:active .mceOpen, .wp_themeSkin .mceListBoxSelected .mceOpen, -.wp_themeSkin .mceListBoxSelected .mceText { - border-color: #777 !important; - background-color: #d5d5d5; +.wp_themeSkin .mceListBoxSelected .mceText, +.wp_themeSkin table.mceListBoxEnabled:active .mceText { + background: #B0C8D7; + border-color: #5589AA !important; } +/* List Box Hover */ .wp_themeSkin table.mceListBoxEnabled:hover .mceText, -.wp_themeSkin .mceListBoxHover .mceText { - border-color: #777 !important; +.wp_themeSkin .mceListBoxHover .mceText, +.wp_themeSkin table.mceListBoxEnabled:hover .mceOpen, +.wp_themeSkin .mceListBoxHover .mceOpen { + border-color: #5589AA !important; + background-color: #c9c9c9; /* Fallback */ + background-image: -ms-linear-gradient(bottom, #cfdfe9, #fff); /* IE10 */ + background-image: -moz-linear-gradient(bottom, #cfdfe9, #fff); /* Firefox */ + background-image: -o-linear-gradient(bottom, #cfdfe9, #fff); /* Opera */ + background-image: -webkit-gradient(linear, left bottom, left top, from(#cfdfe9), to(#fff)); /* old Webkit */ + background-image: -webkit-linear-gradient(bottom, #cfdfe9, #fff) !important; /* new Webkit */ + background-image: linear-gradient(bottom, #cfdfe9, #fff); /* proposed W3C Markup */ } .wp_themeSkin select.mceListBox { @@ -863,19 +1023,38 @@ table.widefat .spam a:hover, /* SplitButton */ .wp_themeSkin .mceSplitButton a.mceAction, .wp_themeSkin .mceSplitButton a.mceOpen { - border-color: #B2B2B2; + border-color: #B0C8D7; } .wp_themeSkin .mceSplitButton a.mceOpen:hover, .wp_themeSkin .mceSplitButtonSelected a.mceOpen, .wp_themeSkin table.mceSplitButtonEnabled:hover a.mceAction, .wp_themeSkin .mceSplitButton a.mceAction:hover { - background-color: #d5d5d5; - border-color: #777 !important; + border-color: #5589AA !important; +} + + +.wp_themeSkin table.mceSplitButton td { + background-color: #cfdfe9; /* Fallback */ + background-image: -ms-linear-gradient(bottom, #cfdfe9, #fff); /* IE10 */ + background-image: -moz-linear-gradient(bottom, #cfdfe9, #fff); /* Firefox */ + background-image: -o-linear-gradient(bottom, #cfdfe9, #fff); /* Opera */ + background-image: -webkit-gradient(linear, left bottom, left top, from(#cfdfe9), to(#fff)); /* old Webkit */ + background-image: -webkit-linear-gradient(bottom, #cfdfe9, #fff) !important; /* new Webkit */ + background-image: linear-gradient(bottom, #cfdfe9, #fff); /* proposed W3C Markup */ +} + +.wp_themeSkin table.mceSplitButton:hover td { + background-image: -ms-linear-gradient(bottom, #cfdfe9, #fff); /* IE10 */ + background-image: -moz-linear-gradient(bottom, #cfdfe9, #fff); /* Firefox */ + background-image: -o-linear-gradient(bottom, #cfdfe9, #fff); /* Opera */ + background-image: -webkit-gradient(linear, left bottom, left top, from(#cfdfe9), to(#fff)); /* old Webkit */ + background-image: -webkit-linear-gradient(bottom, #cfdfe9, #fff) !important; /* new Webkit */ + background-image: linear-gradient(bottom, #cfdfe9, #fff); /* proposed W3C Markup */ } .wp_themeSkin .mceSplitButtonActive { - background-color: #B2B2B2; + background-color: #B0C8D7; } /* ColorSplitButton */ @@ -945,20 +1124,20 @@ table.widefat .spam a:hover, background: #444444; border-left: 1px solid #999; border-top: 1px solid #999; - -moz-border-radius: 4px 0 0 0; - -webkit-border-top-left-radius: 4px; - -khtml-border-top-left-radius: 4px; - border-top-left-radius: 4px; + -moz-border-radius: 3px 0 0 0; + -webkit-border-top-left-radius: 3px; + -khtml-border-top-left-radius: 3px; + border-top-left-radius: 3px; } .wp-admin .clearlooks2 .mceFocus .mceTop .mceRight { background: #444444; border-right: 1px solid #999; border-top: 1px solid #999; - border-top-right-radius: 4px; - -khtml-border-top-right-radius: 4px; - -webkit-border-top-right-radius: 4px; - -moz-border-radius: 0 4px 0 0; + border-top-right-radius: 3px; + -khtml-border-top-right-radius: 3px; + -webkit-border-top-right-radius: 3px; + -moz-border-radius: 0 3px 0 0; } .wp-admin .clearlooks2 .mceMiddle .mceLeft { @@ -998,11 +1177,20 @@ table.widefat .spam a:hover, } /* end TinyMCE */ -#editorcontainer, -#post-status-info, -#titlediv #title, +#titlediv #title { + border-color: #bdccd5; +} + +#editorcontainer { + border-color: #bdccd5 #bdccd5 #d0dfe9; +} + +#post-status-info { + border-color: #d0dfe9 #bdccd5 #bdccd5; +} + .editwidget .widget-inside { - border-color: #D1E5EE; + border-color: #d0dfe9; } #titlediv #title { @@ -1021,79 +1209,81 @@ table.widefat .spam a:hover, } /* menu */ -#adminmenu * { - border-color: #d1e5ee; +#adminmenuback, +#adminmenuwrap { + background-color: #EFF8FF; + border-color: #D1E5EE; +} + +#adminmenushadow, +#adminmenuback { + background-image: url(../images/menu-shadow.png); + background-position: top right; + background-repeat: repeat-y; } #adminmenu li.wp-menu-separator { - background: transparent url(../images/menu-arrows.gif) no-repeat scroll left 5px; + background: #D1E5EE; + border-color: #bed1dd; } -.folded #adminmenu li.wp-menu-separator { - background: transparent url(../images/menu-arrows.gif) no-repeat scroll right -34px; +#adminmenu div.separator { + border-color: #D1E5EE; } #adminmenu li.wp-has-current-submenu.wp-menu-open .wp-menu-toggle, #adminmenu li.wp-has-current-submenu:hover .wp-menu-toggle { - background: transparent url(../images/menu-bits-vs.gif?ver=20101102) no-repeat scroll left -207px; + background: transparent url(../images/arrows-dark-vs.png) no-repeat -1px 6px; } #adminmenu .wp-has-submenu:hover .wp-menu-toggle, #adminmenu .wp-menu-open .wp-menu-toggle { - background: transparent url(../images/menu-bits-vs.gif?ver=20101102) no-repeat scroll left -109px; + background: transparent url(../images/arrows-vs.png) no-repeat -2px 6px; } -#adminmenu a.menu-top { - background: #eff8ff url(../images/menu-bits-vs.gif?ver=20101102) repeat-x scroll left -379px; +#adminmenu a.menu-top, +.folded #adminmenu li.menu-top, +#adminmenu .wp-submenu .wp-submenu-head { + border-top-color: #ffffff; + border-bottom-color: #d1e5ee; } -#adminmenu .wp-submenu a { - background: #fff url(../images/menu-bits-vs.gif?ver=20101102) no-repeat scroll 0 -99px; -} - -#adminmenu .wp-has-current-submenu ul li a { - background: none; -} - -#adminmenu .wp-has-current-submenu ul li a.current { - background: url(../images/menu-dark-vs.gif) top left no-repeat !important; -} - -.wp-has-current-submenu .wp-submenu { - border-top: none !important; -} - -#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu { - border-bottom: #aaa 1px solid; +#adminmenu li.wp-menu-open { + border-color: #d1e5ee; } #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, -#adminmenu li.current a.menu-top { - background: #d0dfe9 url(../images/menu-bits-vs.gif?ver=20101102) top left repeat-x; - border: #5589aa 1px solid; - color: #464646; +#adminmenu li.current a.menu-top, +.folded #adminmenu li.wp-has-current-submenu, +.folded #adminmenu li.current.menu-top, +#adminmenu .wp-menu-arrow, +#adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head { + background-color: #5589AA; /* Fallback */ + background-image: -ms-linear-gradient(bottom, #5589AA, #5A8FAD); /* IE10 */ + background-image: -moz-linear-gradient(bottom, #5589AA, #5A8FAD); /* Firefox */ + background-image: -o-linear-gradient(bottom, #5589AA, #5A8FAD); /* Opera */ + background-image: -webkit-gradient(linear, left bottom, left top, from(#5589AA), to(#5A8FAD)); /* old Webkit */ + background-image: -webkit-linear-gradient(bottom, #5589AA, #5A8FAD); /* new Webkit */ + background-image: linear-gradient(bottom, #5589AA, #5A8FAD); /* proposed W3C Markup */ } -#adminmenu li.wp-has-current-submenu .wp-submenu, -#adminmenu li.wp-has-current-submenu ul li a { - border-right-color: #5589aa !important; - border-left-color: #5589aa !important; +#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, +#adminmenu li.current a.menu-top, +#adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head { + text-shadow: 0 -1px 0 #333; + color: #fff; + border-top-color: #5A8FAD; + border-bottom-color: #5589AA; } -#adminmenu li.wp-has-current-submenu ul li a { - background: url(../images/menu-dark-vs.gif) bottom left no-repeat !important; -} - -#adminmenu li.wp-has-current-submenu ul { - border-bottom-color: #5589aa; -} - -#adminmenu .wp-submenu .current a.current { - background: transparent url(../images/menu-bits-vs.gif?ver=20101102) no-repeat scroll 0 -289px; +.folded #adminmenu li.wp-has-current-submenu, +.folded #adminmenu li.current.menu-top { + border-top-color: #5A8FAD; + border-bottom-color: #5589AA; } #adminmenu .wp-submenu a:hover { - background-color: #f8f7f3 !important; + background-color: #EAF2FA !important; color: #333 !important; } @@ -1101,148 +1291,232 @@ table.widefat .spam a:hover, #adminmenu .wp-submenu li.current a, #adminmenu .wp-submenu li.current a:hover { color: #333; - background-color: #efede7; - background-image: none; - border-color: #5589aa; } #adminmenu .wp-submenu ul { background-color: #fff; } -.folded #adminmenu li.menu-top, +.folded #adminmenu .wp-submenu-wrap, +.folded #adminmenu .wp-submenu ul { + border-color: #d0dfe9; +} + +.folded #adminmenu .wp-submenu-wrap { + -moz-box-shadow: 2px 2px 5px rgba( 0, 0, 0, 0.4 ); + -webkit-box-shadow: 2px 2px 5px rgba( 0, 0, 0, 0.4 ); + box-shadow: 2px 2px 5px rgba( 0, 0, 0, 0.4 ); +} + #adminmenu .wp-submenu .wp-submenu-head { - background: #eff8ff url(../images/menu-bits-vs.gif?ver=20101102) repeat-x scroll left -379px; -} - -.folded #adminmenu li.wp-has-current-submenu, -.folded #adminmenu li.menu-top.current { - background: #e0e0e0 url(../images/menu-bits-vs.gif?ver=20101102) top left repeat-x; - border: #5589aa 1px solid; - color: #464646; -} - -#adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head { - background: #d0dfe9 url(../images/menu-bits-vs.gif?ver=20101102) repeat-x 0% 0%; - border: 1px solid; - color: #464646; + border-right-color: #d0dfe9; + background-color: #EFF8FF; } #adminmenu div.wp-submenu { background-color: transparent; } -/* menu icons */ +/* collapse menu button */ +#collapse-menu { + color: #A0C3D5; +} + +#collapse-menu:hover { + color: #5A8FAD; +} + +#collapse-button { + border-color: #d0dfe9; + background-color: #eff8ff; /* Fallback */ + background-image: -ms-linear-gradient(bottom, #eff8ff, #fff); /* IE10 */ + background-image: -moz-linear-gradient(bottom, #eff8ff, #fff); /* Firefox */ + background-image: -o-linear-gradient(bottom, #eff8ff, #fff); /* Opera */ + background-image: -webkit-gradient(linear, left bottom, left top, from(#eff8ff), to(#fff)); /* old Webkit */ + background-image: -webkit-linear-gradient(bottom, #eff8ff, #fff); /* new Webkit */ + background-image: linear-gradient(bottom, #eff8ff, #fff); /* proposed W3C Markup */ +} +#collapse-menu:hover #collapse-button { + border-color: #A0C3D5; +} +#collapse-button div { + background: transparent url(../images/arrows-vs.png) no-repeat 0 -72px; +} +.folded #collapse-button div { + background-position: 0 -108px; +} + +/* menu and screen icons */ #adminmenu .menu-icon-dashboard div.wp-menu-image { - background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -61px -33px; + background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -60px -33px; } #adminmenu .menu-icon-dashboard:hover div.wp-menu-image, #adminmenu .menu-icon-dashboard.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-dashboard.current div.wp-menu-image { - background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -61px -1px; + background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -60px -1px; } #adminmenu .menu-icon-post div.wp-menu-image { - background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -272px -33px; + background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -271px -33px; } #adminmenu .menu-icon-post:hover div.wp-menu-image, #adminmenu .menu-icon-post.wp-has-current-submenu div.wp-menu-image { - background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -272px -1px; + background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -271px -1px; } #adminmenu .menu-icon-media div.wp-menu-image { - background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -121px -33px; + background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -120px -33px; } #adminmenu .menu-icon-media:hover div.wp-menu-image, #adminmenu .menu-icon-media.wp-has-current-submenu div.wp-menu-image { - background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -121px -1px; + background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -120px -1px; } #adminmenu .menu-icon-links div.wp-menu-image { - background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -91px -33px; + background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -90px -33px; } #adminmenu .menu-icon-links:hover div.wp-menu-image, #adminmenu .menu-icon-links.wp-has-current-submenu div.wp-menu-image { - background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -91px -1px; + background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -90px -1px; } #adminmenu .menu-icon-page div.wp-menu-image { - background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -151px -33px; + background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -150px -33px; } #adminmenu .menu-icon-page:hover div.wp-menu-image, #adminmenu .menu-icon-page.wp-has-current-submenu div.wp-menu-image { - background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -151px -1px; + background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -150px -1px; } #adminmenu .menu-icon-comments div.wp-menu-image { - background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -31px -33px; + background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -30px -33px; } #adminmenu .menu-icon-comments:hover div.wp-menu-image, #adminmenu .menu-icon-comments.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-comments.current div.wp-menu-image { - background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -31px -1px; + background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -30px -1px; } #adminmenu .menu-icon-appearance div.wp-menu-image { - background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -1px -33px; + background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll 0 -33px; } #adminmenu .menu-icon-appearance:hover div.wp-menu-image, #adminmenu .menu-icon-appearance.wp-has-current-submenu div.wp-menu-image { - background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -1px -1px; + background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll 0 -1px; } #adminmenu .menu-icon-plugins div.wp-menu-image { - background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -181px -33px; + background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -180px -33px; } #adminmenu .menu-icon-plugins:hover div.wp-menu-image, #adminmenu .menu-icon-plugins.wp-has-current-submenu div.wp-menu-image { - background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -181px -1px; + background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -180px -1px; } #adminmenu .menu-icon-users div.wp-menu-image { - background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -301px -33px; + background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -300px -33px; } #adminmenu .menu-icon-users:hover div.wp-menu-image, -#adminmenu .menu-icon-users.wp-has-current-submenu div.wp-menu-image { - background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -301px -1px; +#adminmenu .menu-icon-users.wp-has-current-submenu div.wp-menu-image, +#adminmenu .menu-icon-users.current div.wp-menu-image { + background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -300px -1px; } #adminmenu .menu-icon-tools div.wp-menu-image { - background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -211px -33px; + background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -210px -33px; } #adminmenu .menu-icon-tools:hover div.wp-menu-image, -#adminmenu .menu-icon-tools.wp-has-current-submenu div.wp-menu-image { - background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -211px -1px; +#adminmenu .menu-icon-tools.wp-has-current-submenu div.wp-menu-image, +#adminmenu .menu-icon-tools.current div.wp-menu-image { + background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -210px -1px; } +#icon-options-general, #adminmenu .menu-icon-settings div.wp-menu-image { - background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -241px -33px; + background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -240px -33px; } #adminmenu .menu-icon-settings:hover div.wp-menu-image, #adminmenu .menu-icon-settings.wp-has-current-submenu div.wp-menu-image { - background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -241px -1px; + background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -240px -1px; } #adminmenu .menu-icon-site div.wp-menu-image { - background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -361px -33px; + background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -360px -33px; } #adminmenu .menu-icon-site:hover div.wp-menu-image, #adminmenu .menu-icon-site.wp-has-current-submenu div.wp-menu-image { - background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -361px -1px; + background: transparent url('../images/menu-vs.png?ver=20100531') no-repeat scroll -360px -1px; } -/* end menu */ +/* end menu and screen icons */ + +/* Screen Icons */ +#icon-edit, +#icon-post { + background: transparent url(../images/icons32-vs.png?ver=20100531) no-repeat -552px -5px; +} + +#icon-index { + background: transparent url(../images/icons32-vs.png?ver=20100531) no-repeat -137px -5px; +} + +#icon-upload { + background: transparent url(../images/icons32-vs.png?ver=20100531) no-repeat -251px -5px; +} + +#icon-link-manager, +#icon-link, +#icon-link-category { + background: transparent url(../images/icons32-vs.png?ver=20100531) no-repeat -190px -5px; +} + +#icon-edit-pages, +#icon-page { + background: transparent url(../images/icons32-vs.png?ver=20100531) no-repeat -312px -5px; +} + +#icon-edit-comments { + background: transparent url(../images/icons32-vs.png?ver=20100531) no-repeat -72px -5px; +} + +#icon-themes { + background: transparent url(../images/icons32-vs.png?ver=20100531) no-repeat -11px -5px; +} + +#icon-plugins { + background: transparent url(../images/icons32-vs.png?ver=20100531) no-repeat -370px -5px; +} + +#icon-users, +#icon-profile, +#icon-user-edit { + background: transparent url(../images/icons32-vs.png?ver=20100531) no-repeat -600px -5px; +} + +#icon-tools, +#icon-admin { + background: transparent url(../images/icons32-vs.png?ver=20100531) no-repeat -432px -5px; +} + +#icon-options-general { + background: transparent url(../images/icons32-vs.png?ver=20100531) no-repeat -492px -5px; +} + +#icon-ms-admin { + background: transparent url(../images/icons32-vs.png?ver=20100531) no-repeat -659px -5px; +} +/* end screen icons */ /* Diff */ @@ -1281,10 +1555,24 @@ table.diff .diff-addedline ins { #screen-options-wrap, #contextual-help-wrap { - background-color: #F8F7F3; + background-color: #f7fcfe; border-color: #D1e5ee; } +#screen-options-link-wrap, +#contextual-help-link-wrap { + background-color: #eff8ff; /* Fallback */ + border-right: 1px solid #D1E5EE; + border-left: 1px solid #D1E5EE; + border-bottom: 1px solid #D1E5EE; + background-image: -ms-linear-gradient(bottom, #eff8ff, #fff); /* IE10 */ + background-image: -moz-linear-gradient(bottom, #eff8ff, #fff); /* Firefox */ + background-image: -o-linear-gradient(bottom, #eff8ff, #fff); /* Opera */ + background-image: -webkit-gradient(linear, left bottom, left top, from(#eff8ff), to(#fff)); /* old Webkit */ + background-image: -webkit-linear-gradient(bottom, #eff8ff, #fff); /* new Webkit */ + background-image: linear-gradient(bottom, #eff8ff, #fff); /* proposed W3C Markup */ +} + #screen-meta-links a.show-settings { color: #606060; } @@ -1329,6 +1617,11 @@ div.star.select:hover { background-color: #d00; } +div.star img { + border-left: 1px solid #fff; + border-right: 1px solid #fff; +} + #plugin-information .fyi ul { background-color: #eaf3fa; } @@ -1385,14 +1678,8 @@ fieldset.inline-edit-col-right .inline-edit-col { color: #D54E21; } -body.press-this .postbox:hover .handlediv, -body.press-this .stuffbox:hover .handlediv, .meta-box-sortables .postbox:hover .handlediv { - background: transparent url(../images/menu-bits-vs.gif?ver=20101102) no-repeat scroll left -111px; -} - -#major-publishing-actions { - background: #eaf2fa; + background: transparent url(../images/arrows-vs.png) no-repeat 6px 7px; } .tablenav .tablenav-pages { @@ -1440,6 +1727,7 @@ body.press-this .stuffbox:hover .handlediv, } .misc-pub-section { + border-top-color: #fff; border-bottom-color: #eee; } @@ -1489,7 +1777,7 @@ body.press-this ul.category-tabs li.tabs a { #favorite-first { border-color: #c0c0c0; background: #f1f1f1; /* fallback color */ - background:-moz-linear-gradient(bottom, #e7e7e7, #fff); + background:-moz-linear-gradient(bottom, #e7e7e7, #fff); background:-webkit-gradient(linear, left bottom, left top, from(#e7e7e7), to(#fff)); } @@ -1500,6 +1788,10 @@ body.press-this ul.category-tabs li.tabs a { #favorite-toggle { background: transparent url(../images/fav-arrow.gif?ver=20100531) no-repeat 0 -4px; + border-color: #d0dfe9; + -moz-box-shadow: inset 1px 0 0 #fff; + -webkit-box-shadow: inset 1px 0 0 #fff; + box-shadow: inset 1px 0 0 #fff; } #favorite-actions a { @@ -1514,68 +1806,13 @@ body.press-this ul.category-tabs li.tabs a { text-decoration: underline; } -#screen-meta .screen-meta-toggle { - background: #D1E5ee; -} - #screen-meta a.show-settings, .toggle-arrow { - background-image:url("../images/screen-options-toggle-vs.gif?ver=20100531"); + background: transparent url(../images/arrows-vs.png) no-repeat right 3px; } -#icon-edit, -#icon-post { - background: transparent url(../images/icons32-vs.png?ver=20100531) no-repeat -552px -5px; -} - -#icon-index { - background: transparent url(../images/icons32-vs.png?ver=20100531) no-repeat -137px -5px; -} - -#icon-upload { - background: transparent url(../images/icons32-vs.png?ver=20100531) no-repeat -251px -5px; -} - -#icon-link-manager, -#icon-link, -#icon-link-category { - background: transparent url(../images/icons32-vs.png?ver=20100531) no-repeat -190px -5px; -} - -#icon-edit-pages, -#icon-page { - background: transparent url(../images/icons32-vs.png?ver=20100531) no-repeat -312px -5px; -} - -#icon-edit-comments { - background: transparent url(../images/icons32-vs.png?ver=20100531) no-repeat -72px -5px; -} - -#icon-themes { - background: transparent url(../images/icons32-vs.png?ver=20100531) no-repeat -11px -5px; -} - -#icon-plugins { - background: transparent url(../images/icons32-vs.png?ver=20100531) no-repeat -370px -5px; -} - -#icon-users, -#icon-profile, -#icon-user-edit { - background: transparent url(../images/icons32-vs.png?ver=20100531) no-repeat -600px -5px; -} - -#icon-tools, -#icon-admin { - background: transparent url(../images/icons32-vs.png?ver=20100531) no-repeat -432px -5px; -} - -#icon-options-general { - background: transparent url(../images/icons32-vs.png?ver=20100531) no-repeat -492px -5px; -} - -#icon-ms-admin { - background: transparent url(../images/icons32-vs.png?ver=20100531) no-repeat -659px -5px; +#screen-meta .screen-meta-active a.show-settings { + background: transparent url(../images/arrows-vs.png) no-repeat right -33px; } .view-switch #view-switch-list { @@ -1614,30 +1851,33 @@ body.press-this ul.category-tabs li.tabs a { div.widgets-sortables, #widgets-left .inactive { - border-color: #D1E5EE; - background-color: #f8f7f3; - -moz-border-radius-bottomleft:8px; --moz-border-radius-bottomright:8px + background-color: #f7fcfe; + border-color: #d0dfe9; } #available-widgets .widget-holder { - background-color: #fff; - border-color: #ddd; + background-color: #f7fcfe; + border-color: #d0dfe9; } -#widgets-left .sidebar-name { - background-color: #aaa; - background-image: url(../images/ed-bg-vs.gif?ver=20101102); +#available-widgets .widget-description { + color: #555; +} + +.sidebar-name { + color: #464646; + background-color: #f7fcfe; /* Fallback */ + background-image: -ms-linear-gradient(top, #ECF8FE, #f7fcfe); /* IE10 */ + background-image: -moz-linear-gradient(top, #ECF8FE, #f7fcfe); /* Firefox */ + background-image: -o-linear-gradient(top, #ECF8FE, #f7fcfe); /* Opera */ + background-image: -webkit-gradient(linear, left top, left bottom, from(#ECF8FE), to(#f7fcfe)); /* old Webkit */ + background-image: -webkit-linear-gradient(top, #ECF8FE, #f7fcfe); /* new Webkit */ + background-image: linear-gradient(top, #ECF8FE, #f7fcfe); /* proposed W3C Markup */ text-shadow: #fff 0 1px 0; - border-color: #dfdfdf; -} - -#widgets-right .sidebar-name { - background-image: url(../images/button-grad.png); - text-shadow: #174f69 0 -1px 0; - background-color: #cfdfe9; - border-color: #174f69; - color: #ffffff; + border-color: #d0dfe9; + -moz-box-shadow: inset 0 1px 0 #fff; + -webkit-box-shadow: inset 0 1px 0 #fff; + box-shadow: inset 0 1px 0 #fff; } .sidebar-name:hover, @@ -1649,12 +1889,12 @@ div.widgets-sortables, color: black; } -#widgets-left .sidebar-name-arrow { - background: transparent url(../images/menu-bits-vs.gif?ver=20101102) no-repeat scroll left -109px; +.sidebar-name-arrow { + background: transparent url(../images/arrows-vs.png) no-repeat 5px 9px; } -#widgets-right .sidebar-name-arrow { - background: url("../images/widgets-arrow-vs.gif?ver=20100531") no-repeat scroll 0 -1px transparent; +.sidebar-name:hover .sidebar-name-arrow { + background: transparent url(../images/arrows-dark-vs.png) no-repeat 5px 9px; } .in-widget-title { @@ -1695,12 +1935,153 @@ div.widgets-sortables, background-color: #f1f1f1; } -#nav-menu-header, #nav-menu-footer, .menu-item-handle { - background: url("../images/ed-bg-vs.gif?ver=20101102") repeat-x scroll left top #cfdfe9; - border-top: solid #D1E5EE 1px; +/* added from nav-menu.css */ +#menu-management .menu-edit { + border-color: #d0dfe9; +} + +#post-body { + background: #ffffff; + border-top-color: #fff; + border-bottom-color: #d0dfe9; +} + +#nav-menu-header { + border-bottom-color: #d0dfe9; +} + +#nav-menu-footer { + border-top-color: #fff; +} + +#menu-management .nav-tabs-arrow a { + color: #C1C1C1; +} + +#menu-management .nav-tabs-arrow a:hover { + color: #D54E21; +} + +#menu-management .nav-tabs-arrow a:active { + color: #464646; +} + +#menu-management .nav-tab-active { + border-color: #dfdfdf; +} + +#menu-management .nav-tab { + background: #f7fcfe; + border-color: #d0dfe9; +} + +.js .input-with-default-title { + color: #aaa; +} + +#cancel-save { + color: #ff0000; +} + +#cancel-save:hover { + background-color: #FF0000; + color: #fff; +} + +.list-container { + border-color: #dfdfdf; +} + +.menu-item-handle { + border-color: #d0dfe9; +} + +.menu li.deleting .menu-item-handle { + background-color: #f66; + text-shadow: #ccc; +} + +.item-type { /* Menu item controls */ + color: #999999; +} + +.item-controls .menu-item-delete:hover { + color: #ff0000; +} + +.item-edit { + background: transparent url(../images/arrows-vs.png) no-repeat 8px 10px; + border-bottom-color: #eee; +} + +.item-edit:hover { + background: transparent url(../images/arrows-dark-vs.png) no-repeat 8px 10px; +} + +.menu-item-settings { /* Menu editing */ + border-color: #d0dfe9; +} + +.link-to-original { + color: #777; + border-color: #d0dfe9; +} + +#cancel-save:hover { + color: #fff !important; +} + +#update-menu-item { + color: #fff !important; +} + +#update-menu-item:hover, +#update-menu-item:active, +#update-menu-item:focus { + color: #eaf2fa !important; + border-color: #13455b !important; +} + +.submitbox .submitcancel { + color: #21759B; + border-bottom-color: #21759B; +} + +.submitbox .submitcancel:hover { + background: #21759B; + color: #fff; +} +/* end added from nav-menu.css */ + +#menu-management .nav-tab-active, +.menu-item-handle, +.menu-item-settings { + -moz-box-shadow: inset 0 1px 0 #fff; + -webkit-box-shadow: inset 0 1px 0 #fff; + box-shadow: inset 0 1px 0 #fff; } #menu-management .nav-tab-active { background: #eff8ff; border-bottom-color: #eff8ff; } + +/* custom header & background pages */ +#upload-form label { + color: #777; +} +/* custom header & background pages */ + +/* full screen */ +.fullscreen-overlay { + background: #fff; +} + +.wp-fullscreen-focus #wp-fullscreen-title, +.wp-fullscreen-focus #wp-fullscreen-container { + border-color: #BED1DD; +} + +#fullscreen-topbar { + border-bottom-color: #D1E5EE; +} diff --git a/src/wp-admin/css/colors-fresh-rtl.css b/src/wp-admin/css/colors-fresh-rtl.css index 18930fd..bd5b114 100644 --- a/src/wp-admin/css/colors-fresh-rtl.css +++ b/src/wp-admin/css/colors-fresh-rtl.css @@ -1 +1 @@ -.bar{border-right-color:transparent;border-left-color:#99d;}.plugins .togl{border-right-color:transparent;border-left-color:#ccc;}.post-com-count{background-image:url(../images/bubble_bg-rtl.gif);}.tablenav .tablenav-pages a{background:#eee url('../images/menu-bits-rtl.gif?ver=20100531') repeat-x scroll right -379px;}#upload-menu li.current{border-right-color:transparent;border-left-color:#448abd;}#adminmenu .wp-submenu .current a.current{background:transparent url(../images/menu-bits-rtl.gif?ver=20100531) no-repeat scroll right -289px;}#adminmenu li.wp-menu-separator{background:transparent url(../images/menu-arrows.gif) no-repeat scroll right -34px;}.folded #adminmenu li.wp-menu-separator{background:transparent url(../images/menu-arrows.gif) no-repeat scroll left 5px;}#adminmenu li.wp-has-current-submenu .wp-menu-toggle,#adminmenu li.wp-has-current-submenu:hover .wp-menu-toggle{background:transparent url(../images/menu-bits-rtl.gif?ver=20100531) repeat-x scroll right -207px;}#adminmenu .wp-has-current-submenu ul li a.current{background:url(../images/menu-dark-rtl.gif) top right no-repeat!important;}#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,#adminmenu .menu-top .current{background:url(../images/menu-bits-rtl.gif?ver=20100531) top right repeat-x;}#adminmenu li.wp-has-current-submenu ul li a{background:url(../images/menu-dark-rtl.gif) bottom right no-repeat!important;}#adminmenu li.wp-has-current-submenu.wp-menu-open .wp-menu-toggle,#adminmenu li.wp-has-current-submenu:hover .wp-menu-toggle{background:transparent url(../images/menu-bits-rtl.gif?ver=20100531) no-repeat right -207px;}#adminmenu .wp-has-submenu:hover .wp-menu-toggle,#adminmenu .wp-menu-open .wp-menu-toggle{background:transparent url(../images/menu-bits-rtl.gif?ver=20100531) repeat-x scroll right -109px;}#adminmenu a.wp-has-submenu{background:#f1f1f1 url(../images/menu-bits-rtl.gif?ver=20100531) repeat-x scroll right -379px;}#adminmenu .wp-submenu a{background:#fff url(../images/menu-bits-rtl.gif?ver=20100531) no-repeat scroll right -310px;}#adminmenu li.wp-has-current-submenu a.wp-has-submenu{background:#b5b5b5 url(../images/menu-bits-rtl.gif?ver=20100531) repeat-x scroll right top;}.meta-box-sortables .postbox:hover .handlediv{background:transparent url(../images/menu-bits-rtl.gif?ver=20100531) no-repeat scroll right -111px;}#favorite-toggle{background:transparent url(../images/fav-arrow-rtl.gif?ver=20100531) no-repeat right -4px;} \ No newline at end of file +.bar{border-right-color:none;border-left-color:#99d;}.post-com-count{background-image:url(../images/bubble_bg-rtl.gif);}#user_info_arrow{background:transparent url(../images/arrows.png) no-repeat 0 5px;}#user_info:hover #user_info_arrow,#user_info.active #user_info_arrow{background:transparent url(../images/arrows-dark.png) no-repeat 0 5px;}#adminmenushadow,#adminmenuback{background-image:url(../images/menu-shadow-rtl.png);background-position:top left;}#adminmenu li.wp-has-current-submenu.wp-menu-open .wp-menu-toggle,#adminmenu li.wp-has-current-submenu:hover .wp-menu-toggle{background:transparent url(../images/arrows-dark.png) no-repeat 8px 6px;}#adminmenu .wp-has-submenu:hover .wp-menu-toggle,#adminmenu .wp-menu-open .wp-menu-toggle{background:transparent url(../images/arrows.png) no-repeat 8px 6px;}#adminmenu .wp-submenu .wp-submenu-head{border-right-color:none;border-left-color:#dfdfdf;}.folded #adminmenu .wp-submenu-wrap{-moz-box-shadow:-2px 2px 5px rgba(0,0,0,0.4);-webkit-box-shadow:-2px 2px 5px rgba(0,0,0,0.4);box-shadow:-2px 2px 5px rgba(0,0,0,0.4);}#collapse-button div{background-position:0 -108px;}.folded #collapse-button div{background-position:0 -72px;}.meta-box-sortables .postbox:hover .handlediv{background:transparent url(../images/arrows.png) no-repeat 6px 7px;}.tablenav .tablenav-pages a{border-color:#e3e3e3;background:#eee url('../images/menu-bits-rtl.gif?ver=20100610') repeat-x scroll right -379px;}#post-body .misc-pub-section{border-right-color:none;border-left-color:#eee;}#favorite-toggle{background:transparent url(../images/arrows.png) no-repeat 4px 2px;}#screen-meta a.show-settings,.toggle-arrow{background:transparent url(../images/arrows.png) no-repeat left 3px;}#screen-meta .screen-meta-active a.show-settings{background:transparent url(../images/arrows.png) no-repeat left -33px;}.sidebar-name-arrow{background:transparent url(../images/arrows.png) no-repeat 5px 9px;}.sidebar-name:hover .sidebar-name-arrow{background:transparent url(../images/arrows-dark.png) no-repeat 5px 9px;} \ No newline at end of file diff --git a/src/wp-admin/css/colors-fresh-rtl.dev.css b/src/wp-admin/css/colors-fresh-rtl.dev.css index 8071127..58ffe59 100644 --- a/src/wp-admin/css/colors-fresh-rtl.dev.css +++ b/src/wp-admin/css/colors-fresh-rtl.dev.css @@ -1,78 +1,98 @@ .bar { - border-right-color: transparent; + border-right-color: none; border-left-color: #99d; } -.plugins .togl { - border-right-color: transparent; - border-left-color: #ccc; -} - .post-com-count { background-image: url(../images/bubble_bg-rtl.gif); } -.tablenav .tablenav-pages a { - background: #eee url('../images/menu-bits-rtl.gif?ver=20100531') repeat-x scroll right -379px; -} -#upload-menu li.current { - border-right-color: transparent; - border-left-color: #448abd; + +#user_info_arrow { + background: transparent url(../images/arrows.png) no-repeat 0 5px; } -#adminmenu .wp-submenu .current a.current { - background: transparent url(../images/menu-bits-rtl.gif?ver=20100531) no-repeat scroll right -289px; +#user_info:hover #user_info_arrow, +#user_info.active #user_info_arrow { + background: transparent url(../images/arrows-dark.png) no-repeat 0 5px; } -#adminmenu li.wp-menu-separator { - background: transparent url(../images/menu-arrows.gif) no-repeat scroll right -34px; +/* editors */ + +/* menu */ + +#adminmenushadow, +#adminmenuback { + background-image: url(../images/menu-shadow-rtl.png); + background-position: top left; } -.folded #adminmenu li.wp-menu-separator { - background: transparent url(../images/menu-arrows.gif) no-repeat scroll left 5px; -} - -#adminmenu li.wp-has-current-submenu .wp-menu-toggle, +#adminmenu li.wp-has-current-submenu.wp-menu-open .wp-menu-toggle, #adminmenu li.wp-has-current-submenu:hover .wp-menu-toggle { - background: transparent url(../images/menu-bits-rtl.gif?ver=20100531) repeat-x scroll right -207px; -} - -#adminmenu .wp-has-current-submenu ul li a.current { - background: url(../images/menu-dark-rtl.gif) top right no-repeat !important; -} - -#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, -#adminmenu .menu-top .current { - background: url(../images/menu-bits-rtl.gif?ver=20100531) top right repeat-x; -} - -#adminmenu li.wp-has-current-submenu ul li a { - background: url(../images/menu-dark-rtl.gif) bottom right no-repeat !important; -} - -#adminmenu li.wp-has-current-submenu.wp-menu-open .wp-menu-toggle, #adminmenu li.wp-has-current-submenu:hover .wp-menu-toggle { - background: transparent url(../images/menu-bits-rtl.gif?ver=20100531) no-repeat right -207px; + background: transparent url(../images/arrows-dark.png) no-repeat 8px 6px; } #adminmenu .wp-has-submenu:hover .wp-menu-toggle, #adminmenu .wp-menu-open .wp-menu-toggle { - background: transparent url(../images/menu-bits-rtl.gif?ver=20100531) repeat-x scroll right -109px; + background: transparent url(../images/arrows.png) no-repeat 8px 6px; } -#adminmenu a.wp-has-submenu { - background: #f1f1f1 url(../images/menu-bits-rtl.gif?ver=20100531) repeat-x scroll right -379px; + +#adminmenu .wp-submenu .wp-submenu-head { + border-right-color: none; + border-left-color: #dfdfdf; } -#adminmenu .wp-submenu a { - background: #fff url(../images/menu-bits-rtl.gif?ver=20100531) no-repeat scroll right -310px; +.folded #adminmenu .wp-submenu-wrap { + -moz-box-shadow: -2px 2px 5px rgba( 0, 0, 0, 0.4 ); + -webkit-box-shadow: -2px 2px 5px rgba( 0, 0, 0, 0.4 ); + box-shadow: -2px 2px 5px rgba( 0, 0, 0, 0.4 ); } -#adminmenu li.wp-has-current-submenu a.wp-has-submenu { - background: #b5b5b5 url(../images/menu-bits-rtl.gif?ver=20100531) repeat-x scroll right top; +/* collapse menu button */ +#collapse-button div { + background-position: 0 -108px; } +.folded #collapse-button div { + background-position: 0 -72px; +} + +/* edit image */ .meta-box-sortables .postbox:hover .handlediv { - background: transparent url(../images/menu-bits-rtl.gif?ver=20100531) no-repeat scroll right -111px; + background: transparent url(../images/arrows.png) no-repeat 6px 7px; } + +.tablenav .tablenav-pages a { + border-color: #e3e3e3; + background: #eee url('../images/menu-bits-rtl.gif?ver=20100610') repeat-x scroll right -379px; +} + +#post-body .misc-pub-section { + border-right-color: none; + border-left-color: #eee; +} + #favorite-toggle { - background: transparent url(../images/fav-arrow-rtl.gif?ver=20100531) no-repeat right -4px; + background: transparent url(../images/arrows.png) no-repeat 4px 2px; } + +#screen-meta a.show-settings, +.toggle-arrow { + background: transparent url(../images/arrows.png) no-repeat left 3px; +} + +#screen-meta .screen-meta-active a.show-settings { + background: transparent url(../images/arrows.png) no-repeat left -33px; +} + +.sidebar-name-arrow { + background: transparent url(../images/arrows.png) no-repeat 5px 9px; +} +.sidebar-name:hover .sidebar-name-arrow { + background: transparent url(../images/arrows-dark.png) no-repeat 5px 9px; +} + + +/* custom header & background pages */ + +/* custom header & background pages */ diff --git a/src/wp-admin/css/colors-fresh.css b/src/wp-admin/css/colors-fresh.css index 709b9b0..760faee 100644 --- a/src/wp-admin/css/colors-fresh.css +++ b/src/wp-admin/css/colors-fresh.css @@ -1 +1 @@ -html,.wp-dialog{background-color:#f9f9f9;}* html input,* html .widget{border-color:#dfdfdf;}textarea,input[type="text"],input[type="password"],input[type="file"],input[type="button"],input[type="submit"],input[type="reset"],select{border-color:#dfdfdf;background-color:#fff;}kbd,code{background:#eaeaea;}input[readonly]{background-color:#eee;}.find-box-search{border-color:#dfdfdf;background-color:#f1f1f1;}.find-box{background-color:#f1f1f1;}.find-box-inside{background-color:#fff;}a.page-numbers:hover{border-color:#999;}body,#wpbody,.form-table .pre{color:#333;}body>#upload-menu{border-bottom-color:#fff;}#postcustomstuff table,#your-profile fieldset,#rightnow,div.dashboard-widget,#dashboard-widgets p.dashboard-widget-links,#replyrow #ed_reply_toolbar input{border-color:#ccc;}#poststuff .inside label.spam,#poststuff .inside label.deleted{color:red;}#poststuff .inside label.waiting{color:orange;}#poststuff .inside label.approved{color:green;}#postcustomstuff table{border-color:#dfdfdf;background-color:#F9F9F9;}#postcustomstuff thead th{background-color:#F1F1F1;}#postcustomstuff table input,#postcustomstuff table textarea{border-color:#dfdfdf;background-color:#fff;}.widefat{border-color:#dfdfdf;background-color:#fff;}div.dashboard-widget-error{background-color:#c43;}div.dashboard-widget-notice{background-color:#cfe1ef;}div.dashboard-widget-submit{border-top-color:#ccc;}div.tabs-panel,.wp-tab-panel,ul.category-tabs li.tabs,ul.add-menu-item-tabs li.tabs,.wp-tab-active{border-color:#dfdfdf;}ul.category-tabs li.tabs,ul.add-menu-item-tabs li.tabs,.wp-tab-active{background-color:#f1f1f1;}input.disabled,textarea.disabled{background-color:#ccc;}#plugin-information .action-button a,#plugin-information .action-button a:hover,#plugin-information .action-button a:visited{color:#fff;}.widget .widget-top,.postbox h3,.stuffbox h3{background:#dfdfdf url("../images/gray-grad.png") repeat-x left top;text-shadow:#fff 0 1px 0;}.form-table th,.form-wrap label{color:#222;text-shadow:#fff 0 1px 0;}.description,.form-wrap p{color:#666;}strong .post-com-count span{background-color:#21759b;}.sorthelper{background-color:#ccf3fa;}.ac_match,.subsubsub a.current{color:#000;}.wrap h2{color:#464646;}.ac_over{background-color:#f0f0b8;}.ac_results{background-color:#fff;border-color:#808080;}.ac_results li{color:#101010;}.alternate,.alt{background-color:#f9f9f9;}.available-theme a.screenshot{background-color:#f1f1f1;border-color:#ddd;}.bar{background-color:#e8e8e8;border-right-color:#99d;}#media-upload,#media-upload .media-item .slidetoggle{background:#fff;}#media-upload .slidetoggle{border-top-color:#dfdfdf;}div.error,.login #login_error{background-color:#ffebe8;border-color:#c00;}div.error a{color:#c00;}.form-invalid{background-color:#ffebe8!important;}.form-invalid input,.form-invalid select{border-color:#c00!important;}.submit{border-color:#DFDFDF;}.highlight{background-color:#e4f2fd;color:#000;}.howto,.nonessential,#edit-slug-box,.form-input-tip,.rss-widget span.rss-date,.subsubsub{color:#666;}.media-item{border-bottom-color:#dfdfdf;}#wpbody-content #media-items .describe{border-top-color:#dfdfdf;}.media-upload-form label.form-help,td.help{color:#9a9a9a;}.post-com-count{background-image:url(../images/bubble_bg.gif);color:#fff;}.post-com-count span{background-color:#bbb;color:#fff;}.post-com-count:hover span{background-color:#d54e21;}.quicktags,.search{background-color:#ccc;color:#000;}.side-info h5{border-bottom-color:#dadada;}.side-info ul{color:#666;}.button,.button-secondary,.submit input,input[type=button],input[type=submit]{border-color:#bbb;color:#464646;}.button:hover,.button-secondary:hover,.submit input:hover,input[type=button]:hover,input[type=submit]:hover{color:#000;border-color:#666;}.button,.submit input,.button-secondary{background:#f2f2f2 url(../images/white-grad.png) repeat-x scroll left top;text-shadow:rgba(255,255,255,1) 0 1px 0;}.button:active,.submit input:active,.button-secondary:active{background:#eee url(../images/white-grad-active.png) repeat-x scroll left top;}input.button-primary,button.button-primary,a.button-primary{border-color:#298cba;font-weight:bold;color:#fff;background:#21759B url(../images/button-grad.png) repeat-x scroll left top;text-shadow:rgba(0,0,0,0.3) 0 -1px 0;}input.button-primary:active,button.button-primary:active,a.button-primary:active{background:#21759b url(../images/button-grad-active.png) repeat-x scroll left top;color:#eaf2fa;}input.button-primary:hover,button.button-primary:hover,a.button-primary:hover,a.button-primary:focus,a.button-primary:active{border-color:#13455b;color:#eaf2fa;}.button-disabled,.button[disabled],.button:disabled,.button-secondary[disabled],.button-secondary:disabled,a.button.disabled{color:#aaa!important;border-color:#ddd!important;}.button-primary-disabled,.button-primary[disabled],.button-primary:disabled{color:#9FD0D5!important;background:#298CBA!important;}a:hover,a:active,a:focus{color:#d54e21;}#wphead #viewsite a:hover,#adminmenu a:hover,#adminmenu ul.wp-submenu a:hover,#the-comment-list .comment a:hover,#rightnow a:hover,#media-upload a.del-link:hover,div.dashboard-widget-submit input:hover,.subsubsub a:hover,.subsubsub a.current:hover,.ui-tabs-nav a:hover,.plugins .inactive a:hover,#all-plugins-table .plugins .inactive a:hover,#search-plugins-table .plugins .inactive a:hover{color:#d54e21;}#the-comment-list .comment-item,#dashboard-widgets #dashboard_quick_press form p.submit{border-color:#dfdfdf;}#side-sortables .category-tabs .tabs a,#side-sortables .add-menu-item-tabs .tabs a,.wp-tab-bar .wp-tab-active a{color:#333;}#rightnow .rbutton{background-color:#ebebeb;color:#264761;}.submitbox .submit{background-color:#464646;color:#ccc;}.plugins a.delete:hover,#all-plugins-table .plugins a.delete:hover,#search-plugins-table .plugins a.delete:hover,.submitbox .submitdelete{color:#f00;border-bottom-color:#f00;}.submitbox .submitdelete:hover,#media-items a.delete:hover{color:#fff;background-color:#f00;border-bottom-color:#f00;}#normal-sortables .submitbox .submitdelete:hover{color:#000;background-color:#f00;border-bottom-color:#f00;}.tablenav .dots{border-color:transparent;}.tablenav .next,.tablenav .prev{border-color:transparent;color:#21759b;}.tablenav .next:hover,.tablenav .prev:hover{border-color:transparent;color:#d54e21;}div.updated,.login .message{background-color:#ffffe0;border-color:#e6db55;}.update-message{color:#000;}a.page-numbers{border-bottom-color:#B8D3E2;}.commentlist li{border-bottom-color:#ccc;}.widefat td,.widefat th{border-color:#dfdfdf;}.widefat th{text-shadow:rgba(255,255,255,0.8) 0 1px 0;}.widefat thead tr th,.widefat tfoot tr th,h3.dashboard-widget-title,h3.dashboard-widget-title span,h3.dashboard-widget-title small,.find-box-head{color:#333;background:#dfdfdf url(../images/gray-grad.png) repeat-x scroll left top;}th.sortable a:hover,th.sortable a:active,th.sortable a:focus{color:#333;}h3.dashboard-widget-title small a{color:#d7d7d7;}h3.dashboard-widget-title small a:hover{color:#fff;}a,#adminmenu a,#poststuff #edButtonPreview,#poststuff #edButtonHTML,#the-comment-list p.comment-author strong a,#media-upload a.del-link,#media-items a.delete,.plugins a.delete,.ui-tabs-nav a{color:#21759b;}#adminmenu #awaiting-mod,#adminmenu .update-plugins,#sidemenu a .update-plugins,#rightnow .reallynow{background-color:#464646;color:#fff;-moz-box-shadow:#fff 0 -1px 0;-khtml-box-shadow:#fff 0 -1px 0;-webkit-box-shadow:#fff 0 -1px 0;box-shadow:#fff 0 -1px 0;}#plugin-information .action-button{background-color:#d54e21;color:#fff;}#adminmenu li.current a #awaiting-mod,#adminmenu li a.wp-has-current-submenu .update-plugins{background-color:#464646;color:#fff;-moz-box-shadow:#fff 0 -1px 0;-khtml-box-shadow:#fff 0 -1px 0;-webkit-box-shadow:#fff 0 -1px 0;box-shadow:#fff 0 -1px 0;}div#media-upload-header,div#plugin-information-header{background-color:#f9f9f9;border-bottom-color:#dfdfdf;}#currenttheme img{border-color:#666;}#dashboard_secondary div.dashboard-widget-content ul li a{background-color:#f9f9f9;}input.readonly,textarea.readonly{background-color:#ddd;}#ed_toolbar input,#ed_reply_toolbar input{background:#fff url("../images/fade-butt.png") repeat-x 0 -2px;}#editable-post-name{background-color:#fffbcc;}#edit-slug-box strong,.tablenav .displaying-num,#submitted-on,.submitted-on{color:#777;}.login #nav a{color:#21759b!important;}.login #nav a:hover{color:#d54e21!important;}#footer{color:#777;border-color:#d1d1d1;background:#d9d9d9;background:-moz-linear-gradient(bottom,#d7d7d7,#e4e4e4);background:-webkit-gradient(linear,left bottom,left top,from(#d7d7d7),to(#e4e4e4));}#media-items,.imgedit-group{border-color:#dfdfdf;}.checkbox,.side-info,.plugins tr,#your-profile #rich_editing{background-color:#fff;}.plugins .inactive,.plugins .inactive th,.plugins .inactive td,tr.inactive+tr.plugin-update-tr .plugin-update{background-color:#eee;}.plugin-update-tr .update-message{background-color:#fffbe4;border-color:#dfdfdf;}.plugins .active,.plugins .active th,.plugins .active td{color:#000;}.plugins .inactive a{color:#579;}#the-comment-list tr.undo,#the-comment-list div.undo{background-color:#f4f4f4;}#the-comment-list .unapproved{background-color:#ffffe0;}#the-comment-list .approve a{color:#006505;}#the-comment-list .unapprove a{color:#d98500;}table.widefat span.delete a,table.widefat span.trash a,table.widefat span.spam a,#dashboard_recent_comments .delete a,#dashboard_recent_comments .trash a,#dashboard_recent_comments .spam a{color:#bc0b0b;}.widget,#widget-list .widget-top,.postbox,#titlediv,#poststuff .postarea,.stuffbox{border-color:#dfdfdf;}.widget,.postbox{background-color:#fff;}.ui-sortable .postbox h3{color:#464646;}.widget .widget-top,.ui-sortable .postbox h3:hover{color:#000;}.curtime #timestamp{background-image:url(../images/date-button.gif);}#quicktags #ed_link{color:#00f;}#rightnow .youhave{background-color:#f0f6fb;}#rightnow a{color:#448abd;}.tagchecklist span a,#bulk-titles div a{background:url(../images/xit.gif) no-repeat;}.tagchecklist span a:hover,#bulk-titles div a:hover{background:url(../images/xit.gif) no-repeat -10px 0;}#update-nag,.update-nag{background-color:#FFFBCC;border-color:#E6DB55;color:#555;}.login #backtoblog a{color:#464646;}#wphead{border-bottom:#c6c6c6 1px solid;background:#d9d9d9;background:-moz-linear-gradient(bottom,#d7d7d7,#e4e4e4);background:-webkit-gradient(linear,left bottom,left top,from(#d7d7d7),to(#e4e4e4));}#wphead h1 a{color:#464646;}#user_info{color:#777;}#user_info a:link,#user_info a:visited,#footer a:link,#footer a:visited{color:#222;text-decoration:none;}#user_info a:hover,#footer a:hover{color:#000;text-decoration:underline!important;}div#media-upload-error,.file-error,abbr.required,.widget-control-remove:hover,table.widefat .delete a:hover,table.widefat .trash a:hover,table.widefat .spam a:hover,#dashboard_recent_comments .delete a:hover,#dashboard_recent_comments .trash a:hover #dashboard_recent_comments .spam a:hover{color:#f00;}#pass-strength-result{background-color:#eee;border-color:#ddd!important;}#pass-strength-result.bad{background-color:#ffb78c;border-color:#ff853c!important;}#pass-strength-result.good{background-color:#ffec8b;border-color:#fc0!important;}#pass-strength-result.short{background-color:#ffa0a0;border-color:#f04040!important;}#pass-strength-result.strong{background-color:#c3ff88;border-color:#8dff1c!important;}#quicktags{border-color:#dfdfdf;background-color:#dfdfdf;background-image:url("../images/ed-bg.gif");}#ed_toolbar input{border-color:#C3C3C3;}#ed_toolbar input:hover{border-color:#aaa;background:#ddd;}#poststuff .wp_themeSkin .mceStatusbar{border-color:#EDEDED;}#poststuff #edButtonPreview,#poststuff #edButtonHTML{background-color:#f1f1f1;border-color:#dfdfdf;color:#999;}#poststuff #editor-toolbar .active{border-bottom-color:#e9e9e9;background-color:#e9e9e9;color:#333;}#post-status-info{background-color:#EDEDED;}.wp_themeSkin *,.wp_themeSkin a:hover,.wp_themeSkin a:link,.wp_themeSkin a:visited,.wp_themeSkin a:active{color:#000;}.wp_themeSkin iframe{background:#fff;}.wp_themeSkin .mceStatusbar{color:#000;background-color:#f5f5f5;}.wp_themeSkin .mceButton{background-color:#e9e8e8;border-color:#B2B2B2;}.wp_themeSkin a.mceButtonEnabled:hover,.wp_themeSkin a.mceButtonActive,.wp_themeSkin a.mceButtonSelected{background:#d5d5d5;border-color:#777!important;}.wp_themeSkin .mceButtonDisabled{border-color:#ccc!important;}.wp_themeSkin .mceListBox .mceText,.wp_themeSkin .mceListBox .mceOpen{border-color:#B2B2B2;background-color:#d5d5d5;}.wp_themeSkin table.mceListBoxEnabled:hover .mceOpen,.wp_themeSkin .mceListBoxHover .mceOpen,.wp_themeSkin .mceListBoxSelected .mceOpen,.wp_themeSkin .mceListBoxSelected .mceText{border-color:#777!important;background-color:#d5d5d5;}.wp_themeSkin table.mceListBoxEnabled:hover .mceText,.wp_themeSkin .mceListBoxHover .mceText{border-color:#777!important;}.wp_themeSkin select.mceListBox{border-color:#B2B2B2;background-color:#fff;}.wp_themeSkin .mceSplitButton a.mceAction,.wp_themeSkin .mceSplitButton a.mceOpen{border-color:#B2B2B2;}.wp_themeSkin .mceSplitButton a.mceOpen:hover,.wp_themeSkin .mceSplitButtonSelected a.mceOpen,.wp_themeSkin table.mceSplitButtonEnabled:hover a.mceAction,.wp_themeSkin .mceSplitButton a.mceAction:hover{background-color:#d5d5d5;border-color:#777!important;}.wp_themeSkin .mceSplitButtonActive{background-color:#B2B2B2;}.wp_themeSkin div.mceColorSplitMenu table{background-color:#ebebeb;border-color:#B2B2B2;}.wp_themeSkin .mceColorSplitMenu a{border-color:#B2B2B2;}.wp_themeSkin .mceColorSplitMenu a.mceMoreColors{border-color:#fff;}.wp_themeSkin .mceColorSplitMenu a.mceMoreColors:hover{border-color:#0A246A;background-color:#B6BDD2;}.wp_themeSkin a.mceMoreColors:hover{border-color:#0A246A;}.wp_themeSkin .mceMenu{border-color:#ddd;}.wp_themeSkin .mceMenu table{background-color:#ebeaeb;}.wp_themeSkin .mceMenu .mceText{color:#000;}.wp_themeSkin .mceMenu .mceMenuItemEnabled a:hover,.wp_themeSkin .mceMenu .mceMenuItemActive{background-color:#f5f5f5;}.wp_themeSkin td.mceMenuItemSeparator{background-color:#aaa;}.wp_themeSkin .mceMenuItemTitle a{background-color:#ccc;border-bottom-color:#aaa;}.wp_themeSkin .mceMenuItemTitle span.mceText{color:#000;}.wp_themeSkin .mceMenuItemDisabled .mceText{color:#888;}.wp_themeSkin tr.mceFirst td.mceToolbar{background:#dfdfdf url("../images/ed-bg.gif") repeat-x scroll left top;border-color:#dfdfdf;}.wp-admin #mceModalBlocker{background:#000;}.wp-admin .clearlooks2 .mceFocus .mceTop .mceLeft{background:#444;border-left:1px solid #999;border-top:1px solid #999;-moz-border-radius:4px 0 0 0;-webkit-border-top-left-radius:4px;-khtml-border-top-left-radius:4px;border-top-left-radius:4px;}.wp-admin .clearlooks2 .mceFocus .mceTop .mceRight{background:#444;border-right:1px solid #999;border-top:1px solid #999;border-top-right-radius:4px;-khtml-border-top-right-radius:4px;-webkit-border-top-right-radius:4px;-moz-border-radius:0 4px 0 0;}.wp-admin .clearlooks2 .mceMiddle .mceLeft{background:#f1f1f1;border-left:1px solid #999;}.wp-admin .clearlooks2 .mceMiddle .mceRight{background:#f1f1f1;border-right:1px solid #999;}.wp-admin .clearlooks2 .mceBottom{background:#f1f1f1;border-bottom:1px solid #999;}.wp-admin .clearlooks2 .mceBottom .mceLeft{background:#f1f1f1;border-bottom:1px solid #999;border-left:1px solid #999;}.wp-admin .clearlooks2 .mceBottom .mceCenter{background:#f1f1f1;border-bottom:1px solid #999;}.wp-admin .clearlooks2 .mceBottom .mceRight{background:#f1f1f1;border-bottom:1px solid #999;border-right:1px solid #999;}.wp-admin .clearlooks2 .mceFocus .mceTop span{color:#e5e5e5;}#editorcontainer,#post-status-info,#titlediv #title,.editwidget .widget-inside{border-color:#dfdfdf;}#titlediv #title{background-color:#fff;}#tTips p#tTips_inside{background-color:#ddd;color:#333;}#timestampdiv input,#namediv input,#poststuff .inside .the-tagcloud{border-color:#ddd;}#adminmenu *{border-color:#e3e3e3;}#adminmenu li.wp-menu-separator{background:transparent url(../images/menu-arrows.gif) no-repeat scroll left 5px;}.folded #adminmenu li.wp-menu-separator{background:transparent url(../images/menu-arrows.gif) no-repeat scroll right -34px;}#adminmenu li.wp-has-current-submenu.wp-menu-open .wp-menu-toggle,#adminmenu li.wp-has-current-submenu:hover .wp-menu-toggle{background:transparent url(../images/menu-bits.gif?ver=20100610) no-repeat scroll left -207px;}#adminmenu .wp-has-submenu:hover .wp-menu-toggle,#adminmenu .wp-menu-open .wp-menu-toggle{background:transparent url(../images/menu-bits.gif?ver=20100610) no-repeat scroll left -109px;}#adminmenu a.menu-top{background:#f1f1f1 url(../images/menu-bits.gif?ver=20100610) repeat-x scroll left -379px;}#adminmenu .wp-submenu a{background:#fff url(../images/menu-bits.gif?ver=20100610) no-repeat scroll 0 -310px;}#adminmenu .wp-has-current-submenu ul li a{background:none;}#adminmenu .wp-has-current-submenu ul li a.current{background:url(../images/menu-dark.gif) top left no-repeat!important;}.wp-has-current-submenu .wp-submenu{border-top:none!important;}#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu{border-bottom:#aaa 1px solid;}#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,#adminmenu li.current a.menu-top{background:#e0e0e0 url(../images/menu-bits.gif?ver=20100610) top left repeat-x;border:#aaa 1px solid;color:#000;}#adminmenu li.wp-has-current-submenu .wp-submenu,#adminmenu li.wp-has-current-submenu ul li a{border-right-color:#aaa!important;border-left-color:#aaa!important;}#adminmenu li.wp-has-current-submenu ul li a{background:url(../images/menu-dark.gif) bottom left no-repeat!important;}#adminmenu li.wp-has-current-submenu ul{border-bottom-color:#aaa;}#adminmenu .wp-submenu .current a.current{background:transparent url(../images/menu-bits.gif?ver=20100610) no-repeat scroll 0 -289px;}#adminmenu .wp-submenu a:hover{background-color:#EAF2FA!important;color:#333!important;}#adminmenu .wp-submenu li.current,#adminmenu .wp-submenu li.current a,#adminmenu .wp-submenu li.current a:hover{color:#333;background-color:#f5f5f5;background-image:none;border-color:#e3e3e3;}#adminmenu .wp-submenu ul{background-color:#fff;}.folded #adminmenu li.menu-top,#adminmenu .wp-submenu .wp-submenu-head{background-color:#F1F1F1;}.folded #adminmenu li.wp-has-current-submenu,.folded #adminmenu li.menu-top.current{background-color:#e6e6e6;}#adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head{background-color:#EAEAEA;border-color:#aaa;}#adminmenu div.wp-submenu{background-color:transparent;}#adminmenu .menu-icon-dashboard div.wp-menu-image{background:transparent url('../images/menu.png?ver=20100531') no-repeat scroll -61px -33px;}#adminmenu .menu-icon-dashboard:hover div.wp-menu-image,#adminmenu .menu-icon-dashboard.wp-has-current-submenu div.wp-menu-image,#adminmenu .menu-icon-dashboard.current div.wp-menu-image{background:transparent url('../images/menu.png?ver=20100531') no-repeat scroll -61px -1px;}#adminmenu .menu-icon-post div.wp-menu-image{background:transparent url('../images/menu.png?ver=20100531') no-repeat scroll -272px -33px;}#adminmenu .menu-icon-post:hover div.wp-menu-image,#adminmenu .menu-icon-post.wp-has-current-submenu div.wp-menu-image{background:transparent url('../images/menu.png?ver=20100531') no-repeat scroll -272px -1px;}#adminmenu .menu-icon-media div.wp-menu-image{background:transparent url('../images/menu.png?ver=20100531') no-repeat scroll -121px -33px;}#adminmenu .menu-icon-media:hover div.wp-menu-image,#adminmenu .menu-icon-media.wp-has-current-submenu div.wp-menu-image{background:transparent url('../images/menu.png?ver=20100531') no-repeat scroll -121px -1px;}#adminmenu .menu-icon-links div.wp-menu-image{background:transparent url('../images/menu.png?ver=20100531') no-repeat scroll -91px -33px;}#adminmenu .menu-icon-links:hover div.wp-menu-image,#adminmenu .menu-icon-links.wp-has-current-submenu div.wp-menu-image{background:transparent url('../images/menu.png?ver=20100531') no-repeat scroll -91px -1px;}#adminmenu .menu-icon-page div.wp-menu-image{background:transparent url('../images/menu.png?ver=20100531') no-repeat scroll -151px -33px;}#adminmenu .menu-icon-page:hover div.wp-menu-image,#adminmenu .menu-icon-page.wp-has-current-submenu div.wp-menu-image{background:transparent url('../images/menu.png?ver=20100531') no-repeat scroll -151px -1px;}#adminmenu .menu-icon-comments div.wp-menu-image{background:transparent url('../images/menu.png?ver=20100531') no-repeat scroll -31px -33px;}#adminmenu .menu-icon-comments:hover div.wp-menu-image,#adminmenu .menu-icon-comments.wp-has-current-submenu div.wp-menu-image,#adminmenu .menu-icon-comments.current div.wp-menu-image{background:transparent url('../images/menu.png?ver=20100531') no-repeat scroll -31px -1px;}#adminmenu .menu-icon-appearance div.wp-menu-image{background:transparent url('../images/menu.png?ver=20100531') no-repeat scroll -1px -33px;}#adminmenu .menu-icon-appearance:hover div.wp-menu-image,#adminmenu .menu-icon-appearance.wp-has-current-submenu div.wp-menu-image{background:transparent url('../images/menu.png?ver=20100531') no-repeat scroll -1px -1px;}#adminmenu .menu-icon-plugins div.wp-menu-image{background:transparent url('../images/menu.png?ver=20100531') no-repeat scroll -181px -33px;}#adminmenu .menu-icon-plugins:hover div.wp-menu-image,#adminmenu .menu-icon-plugins.wp-has-current-submenu div.wp-menu-image{background:transparent url('../images/menu.png?ver=20100531') no-repeat scroll -181px -1px;}#adminmenu .menu-icon-users div.wp-menu-image{background:transparent url('../images/menu.png?ver=20100531') no-repeat scroll -301px -33px;}#adminmenu .menu-icon-users:hover div.wp-menu-image,#adminmenu .menu-icon-users.wp-has-current-submenu div.wp-menu-image{background:transparent url('../images/menu.png?ver=20100531') no-repeat scroll -301px -1px;}#adminmenu .menu-icon-tools div.wp-menu-image{background:transparent url('../images/menu.png?ver=20100531') no-repeat scroll -211px -33px;}#adminmenu .menu-icon-tools:hover div.wp-menu-image,#adminmenu .menu-icon-tools.wp-has-current-submenu div.wp-menu-image{background:transparent url('../images/menu.png?ver=20100531') no-repeat scroll -211px -1px;}#adminmenu .menu-icon-settings div.wp-menu-image{background:transparent url('../images/menu.png?ver=20100531') no-repeat scroll -241px -33px;}#adminmenu .menu-icon-settings:hover div.wp-menu-image,#adminmenu .menu-icon-settings.wp-has-current-submenu div.wp-menu-image{background:transparent url('../images/menu.png?ver=20100531') no-repeat scroll -241px -1px;}#adminmenu .menu-icon-site div.wp-menu-image{background:transparent url('../images/menu.png?ver=20100531') no-repeat scroll -361px -33px;}#adminmenu .menu-icon-site:hover div.wp-menu-image,#adminmenu .menu-icon-site.wp-has-current-submenu div.wp-menu-image{background:transparent url('../images/menu.png?ver=20100531') no-repeat scroll -361px -1px;}table.diff .diff-deletedline{background-color:#fdd;}table.diff .diff-deletedline del{background-color:#f99;}table.diff .diff-addedline{background-color:#dfd;}table.diff .diff-addedline ins{background-color:#9f9;}#att-info{background-color:#E4F2FD;}#sidemenu a{background-color:#f9f9f9;border-color:#f9f9f9;border-bottom-color:#dfdfdf;}#sidemenu a.current{background-color:#fff;border-color:#dfdfdf #dfdfdf #fff;color:#D54E21;}#screen-options-wrap,#contextual-help-wrap{background-color:#f1f1f1;border-color:#dfdfdf;}#screen-meta-links a.show-settings{color:#606060;}#screen-meta-links a.show-settings:hover{color:#000;}#replysubmit{background-color:#f1f1f1;border-top-color:#ddd;}#replyerror{border-color:#ddd;background-color:#f9f9f9;}#edithead,#replyhead{background-color:#f1f1f1;}#ed_reply_toolbar{background-color:#e9e9e9;}.vim-current,.vim-current th,.vim-current td{background-color:#E4F2FD!important;}.star-average,.star.star-rating{background-color:#fc0;}div.star.select:hover{background-color:#d00;}#plugin-information .fyi ul{background-color:#eaf3fa;}#plugin-information .fyi h2.mainheader{background-color:#cee1ef;}#plugin-information pre,#plugin-information code{background-color:#ededff;}#plugin-information pre{border:1px solid #ccc;}.inline-edit-row fieldset input[type="text"],.inline-edit-row fieldset textarea,#bulk-titles,#replyrow input{border-color:#ddd;}.inline-editor div.title{background-color:#EAF3FA;}.inline-editor ul.cat-checklist{background-color:#fff;border-color:#ddd;}.inline-editor .categories .catshow,.inline-editor .categories .cathide{color:#21759b;}.inline-editor .quick-edit-save{background-color:#f1f1f1;}#replyrow #ed_reply_toolbar input:hover{border-color:#aaa;background:#ddd;}fieldset.inline-edit-col-right .inline-edit-col{border-color:#dfdfdf;}.attention{color:#D54E21;}.meta-box-sortables .postbox:hover .handlediv{background:transparent url(../images/menu-bits.gif?ver=20100610) no-repeat scroll left -111px;}#major-publishing-actions{background:#eaf2fa;}.tablenav .tablenav-pages{color:#555;}.tablenav .tablenav-pages a{border-color:#e3e3e3;background:#eee url('../images/menu-bits.gif?ver=20100610') repeat-x scroll left -379px;}.tablenav .tablenav-pages a:hover,.tablenav .tablenav-pages a:focus{color:#d54e21;}.tablenav .tablenav-pages a.disabled,.tablenav .tablenav-pages a.disabled:hover,.tablenav .tablenav-pages a.disabled:focus{color:#aaa;}.tablenav .tablenav-pages .current{background:#dfdfdf;border-color:#d3d3d3;}#availablethemes,#availablethemes td{border-color:#ddd;}#current-theme img{border-color:#999;}#TB_window #TB_title a.tb-theme-preview-link,#TB_window #TB_title a.tb-theme-preview-link:visited{color:#999;}#TB_window #TB_title a.tb-theme-preview-link:hover,#TB_window #TB_title a.tb-theme-preview-link:focus{color:#ccc;}.misc-pub-section{border-bottom-color:#eee;}#minor-publishing{border-bottom-color:#ddd;}#post-body .misc-pub-section{border-right-color:#eee;}.post-com-count span{background-color:#bbb;}.form-table .color-palette td{border-color:#fff;}.sortable-placeholder{border-color:#bbb;background-color:#f5f5f5;}#post-body ul.category-tabs li.tabs a,#post-body ul.add-menu-item-tabs li.tabs a,body.press-this ul.category-tabs li.tabs a{color:#333;}#wp_editimgbtn,#wp_delimgbtn,#wp_editgallery,#wp_delgallery{border-color:#999;background-color:#eee;}#wp_editimgbtn:hover,#wp_delimgbtn:hover,#wp_editgallery:hover,#wp_delgallery:hover{border-color:#555;background-color:#ccc;}#favorite-first{border-color:#c0c0c0;background:#f1f1f1;background:-moz-linear-gradient(bottom,#e7e7e7,#fff);background:-webkit-gradient(linear,left bottom,left top,from(#e7e7e7),to(#fff));}#favorite-inside{border-color:#c0c0c0;background-color:#fff;}#favorite-toggle{background:transparent url(../images/fav-arrow.gif?ver=20100531) no-repeat 0 -4px;}#favorite-actions a{color:#464646;}#favorite-actions a:hover{color:#000;}#favorite-inside a:hover{text-decoration:underline;}#screen-meta a.show-settings,.toggle-arrow{background-image:url("../images/screen-options-toggle.gif?ver=20100531");}#icon-edit,#icon-post{background:transparent url(../images/icons32.png?ver=20100531) no-repeat -552px -5px;}#icon-index{background:transparent url(../images/icons32.png?ver=20100531) no-repeat -137px -5px;}#icon-upload{background:transparent url(../images/icons32.png?ver=20100531) no-repeat -251px -5px;}#icon-link-manager,#icon-link,#icon-link-category{background:transparent url(../images/icons32.png?ver=20100531) no-repeat -190px -5px;}#icon-edit-pages,#icon-page{background:transparent url(../images/icons32.png?ver=20100531) no-repeat -312px -5px;}#icon-edit-comments{background:transparent url(../images/icons32.png?ver=20100531) no-repeat -72px -5px;}#icon-themes{background:transparent url(../images/icons32.png?ver=20100531) no-repeat -11px -5px;}#icon-plugins{background:transparent url(../images/icons32.png?ver=20100531) no-repeat -370px -5px;}#icon-users,#icon-profile,#icon-user-edit{background:transparent url(../images/icons32.png?ver=20100531) no-repeat -600px -5px;}#icon-tools,#icon-admin{background:transparent url(../images/icons32.png?ver=20100531) no-repeat -432px -5px;}#icon-options-general{background:transparent url(../images/icons32.png?ver=20100531) no-repeat -492px -5px;}#icon-ms-admin{background:transparent url(../images/icons32.png?ver=20100531) no-repeat -659px -5px;}.view-switch #view-switch-list{background:transparent url(../images/list.png) no-repeat 0 0;}.view-switch .current #view-switch-list{background:transparent url(../images/list.png) no-repeat -40px 0;}.view-switch #view-switch-excerpt{background:transparent url(../images/list.png) no-repeat -20px 0;}.view-switch .current #view-switch-excerpt{background:transparent url(../images/list.png) no-repeat -60px 0;}#header-logo{background:transparent url(../images/wp-logo.png?ver=20100531) no-repeat scroll center center;}.popular-tags,.feature-filter{background-color:#fff;border-color:#DFDFDF;}#theme-information .action-button{border-top-color:#DFDFDF;}.theme-listing br.line{border-bottom-color:#ccc;}div.widgets-sortables,#widgets-left .inactive{background-color:#f1f1f1;border-color:#ddd;}#available-widgets .widget-holder{background-color:#fff;border-color:#ddd;}#widgets-left .sidebar-name{background-color:#aaa;background-image:url(../images/ed-bg.gif);text-shadow:#fff 0 1px 0;border-color:#dfdfdf;}#widgets-right .sidebar-name{background-image:url(../images/fav.png);text-shadow:#3f3f3f 0 -1px 0;background-color:#636363;border-color:#636363;color:#fff;}.sidebar-name:hover,#removing-widget{color:#d54e21;}#removing-widget span{color:black;}#widgets-left .sidebar-name-arrow{background:transparent url(../images/menu-bits.gif?ver=20100610) no-repeat scroll left -109px;}#widgets-right .sidebar-name-arrow{background:transparent url(../images/widgets-arrow.gif?ver=20100531) no-repeat scroll 0 -1px;}.in-widget-title{color:#606060;}.deleting .widget-title *{color:#aaa;}.imgedit-menu div{border-color:#d5d5d5;background-color:#f1f1f1;}.imgedit-menu div:hover{border-color:#c1c1c1;background-color:#eaeaea;}.imgedit-menu div.disabled{border-color:#ccc;background-color:#ddd;filter:alpha(opacity=50);opacity:.5;}#dashboard_recent_comments div.undo{border-top-color:#dfdfdf;}.comment-ays,.comment-ays th{border-color:#ddd;}.comment-ays th{background-color:#f1f1f1;}#nav-menu-header,#nav-menu-footer,.menu-item-handle{background:url("../images/gray-grad.png") repeat-x scroll left top #dfdfdf;}#menu-management .nav-tab-active{background:#ececec;border-bottom-color:#ececec;} \ No newline at end of file +html,.wp-dialog{background-color:#fff;}* html input,* html .widget{border-color:#dfdfdf;}textarea,input[type="text"],input[type="password"],input[type="file"],input[type="button"],input[type="submit"],input[type="reset"],select{border-color:#dfdfdf;background-color:#fff;}kbd,code{background:#eaeaea;}input[readonly]{background-color:#eee;}.find-box-search{border-color:#dfdfdf;background-color:#f1f1f1;}.find-box{background-color:#f1f1f1;}.find-box-inside{background-color:#fff;}a.page-numbers:hover{border-color:#999;}body,#wpbody,.form-table .pre{color:#333;}body>#upload-menu{border-bottom-color:#fff;}#postcustomstuff table,#your-profile fieldset,#rightnow,div.dashboard-widget,#dashboard-widgets p.dashboard-widget-links,#replyrow #ed_reply_toolbar input{border-color:#ccc;}#poststuff .inside label.spam,#poststuff .inside label.deleted{color:red;}#poststuff .inside label.waiting{color:orange;}#poststuff .inside label.approved{color:green;}#postcustomstuff table{border-color:#dfdfdf;background-color:#F9F9F9;}#postcustomstuff thead th{background-color:#F1F1F1;}#postcustomstuff table input,#postcustomstuff table textarea{border-color:#dfdfdf;background-color:#fff;}.widefat{border-color:#dfdfdf;background-color:#f9f9f9;}div.dashboard-widget-error{background-color:#c43;}div.dashboard-widget-notice{background-color:#cfe1ef;}div.dashboard-widget-submit{border-top-color:#ccc;}div.tabs-panel,.wp-tab-panel,ul.category-tabs li.tabs,ul.add-menu-item-tabs li.tabs,.wp-tab-active{border-color:#dfdfdf;background-color:#fff;}ul.category-tabs li.tabs,ul.add-menu-item-tabs li.tabs,.wp-tab-active{background-color:#fff;}input.disabled,textarea.disabled{background-color:#ccc;}#plugin-information .action-button a,#plugin-information .action-button a:hover,#plugin-information .action-button a:visited{color:#fff;}.widget .widget-top,.postbox h3,.stuffbox h3,.widefat thead tr th,.widefat tfoot tr th,h3.dashboard-widget-title,h3.dashboard-widget-title span,h3.dashboard-widget-title small,.find-box-head,.sidebar-name,#nav-menu-header,#nav-menu-footer,.menu-item-handle,#fullscreen-topbar{background-color:#f1f1f1;background-image:-ms-linear-gradient(top,#f9f9f9,#ececec);background-image:-moz-linear-gradient(top,#f9f9f9,#ececec);background-image:-o-linear-gradient(top,#f9f9f9,#ececec);background-image:-webkit-gradient(linear,left top,left bottom,from(#f9f9f9),to(#ececec));background-image:-webkit-linear-gradient(top,#f9f9f9,#ececec);background-image:linear-gradient(top,#f9f9f9,#ececec);}.widget .widget-top,.postbox h3,.stuffbox h3{border-bottom-color:#dfdfdf;text-shadow:#fff 0 1px 0;-moz-box-shadow:0 1px 0 #fff;-webkit-box-shadow:0 1px 0 #fff;box-shadow:0 1px 0 #fff;}.form-table th,.form-wrap label{color:#222;text-shadow:#fff 0 1px 0;}.description,.form-wrap p{color:#666;}strong .post-com-count span{background-color:#21759b;}.sorthelper{background-color:#ccf3fa;}.ac_match,.subsubsub a.current{color:#000;}.wrap h2{color:#464646;}.wrap .add-new-h2{background:#f1f1f1;}.subtitle{color:#777;}.ac_over{background-color:#f0f0b8;}.ac_results{background-color:#fff;border-color:#808080;}.ac_results li{color:#101010;}.alternate,.alt{background-color:#fcfcfc;}.available-theme a.screenshot{background-color:#f1f1f1;border-color:#ddd;}.bar{background-color:#e8e8e8;border-right-color:#99d;}#media-upload,#media-upload .media-item .slidetoggle{background:#fff;}#media-upload .slidetoggle{border-top-color:#dfdfdf;}div.error,.login #login_error{background-color:#ffebe8;border-color:#c00;}div.error a{color:#c00;}.form-invalid{background-color:#ffebe8!important;}.form-invalid input,.form-invalid select{border-color:#c00!important;}.submit{border-color:#DFDFDF;}.highlight{background-color:#e4f2fd;color:#000;}.howto,.nonessential,#edit-slug-box,.form-input-tip,.subsubsub{color:#666;}.media-item{border-bottom-color:#dfdfdf;}#wpbody-content #media-items .describe{border-top-color:#dfdfdf;}.media-upload-form label.form-help,td.help{color:#9a9a9a;}.post-com-count{background-image:url(../images/bubble_bg.gif);color:#fff;}.post-com-count span{background-color:#bbb;color:#fff;}.post-com-count:hover span{background-color:#d54e21;}.quicktags,.search{background-color:#ccc;color:#000;}.side-info h5{border-bottom-color:#dadada;}.side-info ul{color:#666;}.button,.button-secondary,.submit input,input[type=button],input[type=submit]{border-color:#bbb;color:#464646;}.button:hover,.button-secondary:hover,.submit input:hover,input[type=button]:hover,input[type=submit]:hover{color:#000;border-color:#666;}.button,.submit input,.button-secondary{background:#f2f2f2 url(../images/white-grad.png) repeat-x scroll left top;text-shadow:rgba(255,255,255,1) 0 1px 0;}.button:active,.submit input:active,.button-secondary:active{background:#eee url(../images/white-grad-active.png) repeat-x scroll left top;}input.button-primary,button.button-primary,a.button-primary{border-color:#298cba;font-weight:bold;color:#fff;background:#21759B url(../images/button-grad.png) repeat-x scroll left top;text-shadow:rgba(0,0,0,0.3) 0 -1px 0;}input.button-primary:active,button.button-primary:active,a.button-primary:active{background:#21759b url(../images/button-grad-active.png) repeat-x scroll left top;color:#eaf2fa;}input.button-primary:hover,button.button-primary:hover,a.button-primary:hover,a.button-primary:focus,a.button-primary:active{border-color:#13455b;color:#eaf2fa;}.button-disabled,.button[disabled],.button:disabled,.button-secondary[disabled],.button-secondary:disabled,a.button.disabled{color:#aaa!important;border-color:#ddd!important;}.button-primary-disabled,.button-primary[disabled],.button-primary:disabled{color:#9FD0D5!important;background:#298CBA!important;}a:hover,a:active,a:focus{color:#d54e21;}#wphead #viewsite a:hover,#adminmenu a:hover,#adminmenu ul.wp-submenu a:hover,#the-comment-list .comment a:hover,#rightnow a:hover,#media-upload a.del-link:hover,div.dashboard-widget-submit input:hover,.subsubsub a:hover,.subsubsub a.current:hover,.ui-tabs-nav a:hover,.plugins .inactive a:hover,#all-plugins-table .plugins .inactive a:hover,#search-plugins-table .plugins .inactive a:hover{color:#d54e21;}#the-comment-list .comment-item,#dashboard-widgets #dashboard_quick_press form p.submit{border-color:#dfdfdf;}#side-sortables .category-tabs .tabs a,#side-sortables .add-menu-item-tabs .tabs a,.wp-tab-bar .wp-tab-active a{color:#333;}#rightnow .rbutton{background-color:#ebebeb;color:#264761;}.submitbox .submit{background-color:#464646;color:#ccc;}.plugins a.delete:hover,#all-plugins-table .plugins a.delete:hover,#search-plugins-table .plugins a.delete:hover,.submitbox .submitdelete{color:#f00;border-bottom-color:#f00;}.submitbox .submitdelete:hover,#media-items a.delete:hover{color:#fff;background-color:#f00;border-bottom-color:#f00;}#normal-sortables .submitbox .submitdelete:hover{color:#000;background-color:#f00;border-bottom-color:#f00;}.tablenav .dots{border-color:transparent;}.tablenav .next,.tablenav .prev{border-color:transparent;color:#21759b;}.tablenav .next:hover,.tablenav .prev:hover{border-color:transparent;color:#d54e21;}div.updated,.login .message{background-color:#ffffe0;border-color:#e6db55;}.update-message{color:#000;}a.page-numbers{border-bottom-color:#B8D3E2;}.commentlist li{border-bottom-color:#ccc;}.widefat td,.widefat th{border-top-color:#fff;border-bottom-color:#dfdfdf;}.widefat th{text-shadow:rgba(255,255,255,0.8) 0 1px 0;}.widefat td{color:#555;}.widefat p,.widefat ol,.widefat ul{color:#333;}.widefat thead tr th,.widefat tfoot tr th,h3.dashboard-widget-title,h3.dashboard-widget-title span,h3.dashboard-widget-title small,.find-box-head{color:#333;}th.sortable a:hover,th.sortable a:active,th.sortable a:focus{color:#333;}h3.dashboard-widget-title small a{color:#d7d7d7;}h3.dashboard-widget-title small a:hover{color:#fff;}a,#adminmenu a,#poststuff #edButtonPreview,#poststuff #edButtonHTML,#the-comment-list p.comment-author strong a,#media-upload a.del-link,#media-items a.delete,.plugins a.delete,.ui-tabs-nav a{color:#21759b;}#adminmenu .awaiting-mod,#adminmenu .update-plugins,#sidemenu a .update-plugins,#rightnow .reallynow{background-color:#464646;color:#fff;-moz-box-shadow:rgba(255,255,255,0.5) 0 1px 0;-khtml-box-shadow:rgba(255,255,255,0.5) 0 1px 0;-webkit-box-shadow:rgba(255,255,255,0.5) 0 1px 0;box-shadow:rgba(255,255,255,0.5) 0 1px 0;}#plugin-information .action-button{background-color:#d54e21;color:#fff;}#adminmenu li.current a .awaiting-mod,#adminmenu li a.wp-has-current-submenu .update-plugins{background-color:#464646;color:#fff;-moz-box-shadow:rgba(255,255,255,0.5) 0 1px 0;-khtml-box-shadow:rgba(255,255,255,0.5) 0 1px 0;-webkit-box-shadow:rgba(255,255,255,0.5) 0 1px 0;box-shadow:rgba(255,255,255,0.5) 0 1px 0;}div#media-upload-header,div#plugin-information-header{background-color:#f9f9f9;border-bottom-color:#dfdfdf;}#currenttheme img{border-color:#666;}#dashboard_secondary div.dashboard-widget-content ul li a{background-color:#f9f9f9;}input.readonly,textarea.readonly{background-color:#ddd;}#ed_toolbar input,#ed_reply_toolbar input{background:#fff url("../images/fade-butt.png") repeat-x 0 -2px;}#editable-post-name{background-color:#fffbcc;}#edit-slug-box strong,.tablenav .displaying-num,#submitted-on,.submitted-on{color:#777;}.login #nav a,.login #backtoblog a{color:#21759b!important;}.login #nav a:hover,.login #backtoblog a:hover{color:#d54e21!important;}#footer{color:#777;border-color:#dfdfdf;}#media-items,.imgedit-group{border-color:#dfdfdf;}.checkbox,.side-info,.plugins tr,#your-profile #rich_editing{background-color:#fcfcfc;}.plugins .inactive,.plugins .inactive th,.plugins .inactive td,tr.inactive+tr.plugin-update-tr .plugin-update{background-color:#f4f4f4;}.plugin-update-tr .update-message{background-color:#fffbe4;border-color:#dfdfdf;}.plugins .active,.plugins .active th,.plugins .active td{color:#000;}.plugins .inactive a{color:#579;}#the-comment-list tr.undo,#the-comment-list div.undo{background-color:#f4f4f4;}#the-comment-list .unapproved{background-color:#ffffe0;}#the-comment-list .approve a{color:#006505;}#the-comment-list .unapprove a{color:#d98500;}table.widefat span.delete a,table.widefat span.trash a,table.widefat span.spam a,#dashboard_recent_comments .delete a,#dashboard_recent_comments .trash a,#dashboard_recent_comments .spam a{color:#bc0b0b;}.widget,#widget-list .widget-top,.postbox,#titlediv,#poststuff .postarea,.stuffbox{border-color:#dfdfdf;-moz-box-shadow:inset 0 1px 0 #fff;-webkit-box-shadow:inset 0 1px 0 #fff;box-shadow:inset 0 1px 0 #fff;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;}.widget,#widget-list .widget-top,.postbox,.menu-item-settings{background-color:#f5f5f5;background-image:-ms-linear-gradient(top,#f9f9f9,#f5f5f5);background-image:-moz-linear-gradient(top,#f9f9f9,#f5f5f5);background-image:-o-linear-gradient(top,#f9f9f9,#f5f5f5);background-image:-webkit-gradient(linear,left top,left bottom,from(#f9f9f9),to(#f5f5f5));background-image:-webkit-linear-gradient(top,#f9f9f9,#f5f5f5);background-image:linear-gradient(top,#f9f9f9,#f5f5f5);}.postbox h3{color:#464646;}.widget .widget-top{color:#222;}.sidebar-name:hover h3,.postbox h3:hover{color:#000;}.curtime #timestamp{background-image:url(../images/date-button.gif);}#quicktags #ed_link{color:#00f;}#rightnow .youhave{background-color:#f0f6fb;}#rightnow a{color:#448abd;}.tagchecklist span a,#bulk-titles div a{background:url(../images/xit.gif) no-repeat;}.tagchecklist span a:hover,#bulk-titles div a:hover{background:url(../images/xit.gif) no-repeat -10px 0;}#update-nag,.update-nag{background-color:#FFFBCC;border-color:#E6DB55;color:#555;}.login #backtoblog a{color:#464646;}#wphead{border-bottom:#dfdfdf 1px solid;}#wphead h1 a{color:#464646;}#user_info{color:#555;}#user_info:hover,#user_info.active{color:#222;}#user_info.active{background-color:#f1f1f1;background-image:-ms-linear-gradient(bottom,#e9e9e9,#f9f9f9);background-image:-moz-linear-gradient(bottom,#e9e9e9,#f9f9f9);background-image:-o-linear-gradient(bottom,#e9e9e9,#f9f9f9);background-image:-webkit-gradient(linear,left bottom,left top,from(#e9e9e9),to(#f9f9f9));background-image:-webkit-linear-gradient(bottom,#e9e9e9,#f9f9f9);background-image:linear-gradient(bottom,#e9e9e9,#f9f9f9);border-color:#aaa #aaa #dfdfdf;}#user_info_arrow{background:transparent url(../images/arrows.png) no-repeat 6px 5px;}#user_info:hover #user_info_arrow,#user_info.active #user_info_arrow{background:transparent url(../images/arrows-dark.png) no-repeat 6px 5px;}#user_info_links{-moz-box-shadow:0 3px 2px -2px rgba(0,0,0,0.2);-webkit-box-shadow:0 3px 2px -2px rgba(0,0,0,0.2);box-shadow:0 3px 2px -2px rgba(0,0,0,0.2);}#user_info_links ul{background:#f1f1f1;border-color:#ccc #aaa #aaa;-moz-box-shadow:inset 0 1px 0 #f9f9f9;-webkit-box-shadow:inset 0 1px 0 #f9f9f9;box-shadow:inset 0 1px 0 #f9f9f9;}#user_info_links li:hover{background-color:#dfdfdf;}#user_info_links li:hover a,#user_info_links li a:hover{text-decoration:none;}#user_info a:link,#user_info a:visited,#footer a:link,#footer a:visited{text-decoration:none;}#footer a:hover{color:#000;text-decoration:underline;}div#media-upload-error,.file-error,abbr.required,.widget-control-remove:hover,table.widefat .delete a:hover,table.widefat .trash a:hover,table.widefat .spam a:hover,#dashboard_recent_comments .delete a:hover,#dashboard_recent_comments .trash a:hover #dashboard_recent_comments .spam a:hover{color:#f00;}#pass-strength-result{background-color:#eee;border-color:#ddd!important;}#pass-strength-result.bad{background-color:#ffb78c;border-color:#ff853c!important;}#pass-strength-result.good{background-color:#ffec8b;border-color:#fc0!important;}#pass-strength-result.short{background-color:#ffa0a0;border-color:#f04040!important;}#pass-strength-result.strong{background-color:#c3ff88;border-color:#8dff1c!important;}#quicktags{border-color:#ccc;background-color:#dfdfdf;background-image:url("../images/ed-bg.gif");}#ed_toolbar input{border-color:#C3C3C3;}#ed_toolbar input:hover{border-color:#aaa;background:#ddd;}#poststuff .wp_themeSkin .mceStatusbar{border-color:#dfdfdf;}#poststuff .wp_themeSkin .mceStatusbar *{color:#555;}#poststuff #edButtonPreview,#poststuff #edButtonHTML{background-color:#f1f1f1;border-color:#dfdfdf #dfdfdf #ccc;color:#999;}#poststuff #editor-toolbar .active{border-color:#ccc #ccc #e9e9e9;background-color:#e9e9e9;color:#333;}#post-status-info{background-color:#EDEDED;}.wp_themeSkin *,.wp_themeSkin a:hover,.wp_themeSkin a:link,.wp_themeSkin a:visited,.wp_themeSkin a:active{color:#000;}.wp_themeSkin table.mceLayout{border-color:#ccc #ccc #dfdfdf;}#editorcontainer #content,#editorcontainer .wp_themeSkin .mceIframeContainer{-moz-box-shadow:inset 1px 1px 2px rgba(0,0,0,0.1);-webkit-box-shadow:inset 1px 1px 2px rgba(0,0,0,0.1);box-shadow:inset 1px 1px 2px rgba(0,0,0,0.1);}.wp_themeSkin iframe{background:transparent;}.wp_themeSkin .mceStatusbar{color:#000;background-color:#f5f5f5;}.wp_themeSkin .mceButton{border-color:#ccc;background-color:#eee;background-image:-ms-linear-gradient(bottom,#ddd,#fff);background-image:-moz-linear-gradient(bottom,#ddd,#fff);background-image:-o-linear-gradient(bottom,#ddd,#fff);background-image:-webkit-gradient(linear,left bottom,left top,from(#ddd),to(#fff));background-image:-webkit-linear-gradient(bottom,#ddd,#fff);background-image:linear-gradient(bottom,#ddd,#fff);}.wp_themeSkin a.mceButtonEnabled:hover{border-color:#a0a0a0;background:#ddd;background-image:-ms-linear-gradient(bottom,#ccc,#fff);background-image:-moz-linear-gradient(bottom,#ccc,#fff);background-image:-o-linear-gradient(bottom,#ccc,#fff);background-image:-webkit-gradient(linear,left bottom,left top,from(#ccc),to(#fff));background-image:-webkit-linear-gradient(bottom,#ccc,#fff);background-image:linear-gradient(bottom,#ccc,#fff);}.wp_themeSkin a.mceButton:active,.wp_themeSkin a.mceButtonEnabled:active,.wp_themeSkin a.mceButtonSelected:active,.wp_themeSkin a.mceButtonActive,.wp_themeSkin a.mceButtonActive:active,.wp_themeSkin a.mceButtonActive:hover{background-color:#ddd;background-image:-ms-linear-gradient(bottom,#eee,#bbb);background-image:-moz-linear-gradient(bottom,#eee,#bbb);background-image:-o-linear-gradient(bottom,#eee,#bbb);background-image:-webkit-gradient(linear,left bottom,left top,from(#eee),to(#bbb));background-image:-webkit-linear-gradient(bottom,#eee,#bbb);background-image:linear-gradient(bottom,#eee,#bbb);border-color:#909090;}.wp_themeSkin .mceButtonDisabled{border-color:#ccc!important;}.wp_themeSkin .mceListBox .mceText,.wp_themeSkin .mceListBox .mceOpen{border-color:#ccc;background-color:#eee;background-image:-ms-linear-gradient(bottom,#ddd,#fff);background-image:-moz-linear-gradient(bottom,#ddd,#fff);background-image:-o-linear-gradient(bottom,#ddd,#fff);background-image:-webkit-gradient(linear,left bottom,left top,from(#ddd),to(#fff));background-image:-webkit-linear-gradient(bottom,#ddd,#fff);background-image:linear-gradient(bottom,#ddd,#fff);}.wp_themeSkin .mceListBox .mceOpen{border-left:0!important;}.wp_themeSkin table.mceListBoxEnabled:hover .mceOpen,.wp_themeSkin .mceListBoxHover .mceOpen,.wp_themeSkin .mceListBoxHover:active .mceOpen,.wp_themeSkin .mceListBoxSelected .mceOpen,.wp_themeSkin .mceListBoxSelected .mceText,.wp_themeSkin table.mceListBoxEnabled:active .mceText{background:#ccc;border-color:#999;}.wp_themeSkin table.mceListBoxEnabled:hover .mceText,.wp_themeSkin .mceListBoxHover .mceText,.wp_themeSkin table.mceListBoxEnabled:hover .mceOpen,.wp_themeSkin .mceListBoxHover .mceOpen{border-color:#909090;background-color:#eee;background-image:-ms-linear-gradient(bottom,#ccc,#fff);background-image:-moz-linear-gradient(bottom,#ccc,#fff);background-image:-o-linear-gradient(bottom,#ccc,#fff);background-image:-webkit-gradient(linear,left bottom,left top,from(#ccc),to(#fff));background-image:-webkit-linear-gradient(bottom,#ccc,#fff);background-image:linear-gradient(bottom,#ccc,#fff);}.wp_themeSkin select.mceListBox{border-color:#B2B2B2;background-color:#fff;}.wp_themeSkin .mceSplitButton a.mceAction,.wp_themeSkin .mceSplitButton a.mceOpen{border-color:#ccc;}.wp_themeSkin .mceSplitButton a.mceOpen:hover,.wp_themeSkin .mceSplitButtonSelected a.mceOpen,.wp_themeSkin table.mceSplitButtonEnabled:hover a.mceAction,.wp_themeSkin .mceSplitButton a.mceAction:hover{border-color:#909090;}.wp_themeSkin table.mceSplitButton td{background-color:#eee;background-image:-ms-linear-gradient(bottom,#ddd,#fff);background-image:-moz-linear-gradient(bottom,#ddd,#fff);background-image:-o-linear-gradient(bottom,#ddd,#fff);background-image:-webkit-gradient(linear,left bottom,left top,from(#ddd),to(#fff));background-image:-webkit-linear-gradient(bottom,#ddd,#fff);background-image:linear-gradient(bottom,#ddd,#fff);}.wp_themeSkin table.mceSplitButton:hover td{background-image:-ms-linear-gradient(bottom,#ccc,#fff);background-image:-moz-linear-gradient(bottom,#ccc,#fff);background-image:-o-linear-gradient(bottom,#ccc,#fff);background-image:-webkit-gradient(linear,left bottom,left top,from(#ccc),to(#fff));background-image:-webkit-linear-gradient(bottom,#ccc,#fff);background-image:linear-gradient(bottom,#ccc,#fff);}.wp_themeSkin .mceSplitButtonActive{background-color:#B2B2B2;}.wp_themeSkin div.mceColorSplitMenu table{background-color:#ebebeb;border-color:#B2B2B2;}.wp_themeSkin .mceColorSplitMenu a{border-color:#B2B2B2;}.wp_themeSkin .mceColorSplitMenu a.mceMoreColors{border-color:#fff;}.wp_themeSkin .mceColorSplitMenu a.mceMoreColors:hover{border-color:#0A246A;background-color:#B6BDD2;}.wp_themeSkin a.mceMoreColors:hover{border-color:#0A246A;}.wp_themeSkin .mceMenu{border-color:#ddd;}.wp_themeSkin .mceMenu table{background-color:#ebeaeb;}.wp_themeSkin .mceMenu .mceText{color:#000;}.wp_themeSkin .mceMenu .mceMenuItemEnabled a:hover,.wp_themeSkin .mceMenu .mceMenuItemActive{background-color:#f5f5f5;}.wp_themeSkin td.mceMenuItemSeparator{background-color:#aaa;}.wp_themeSkin .mceMenuItemTitle a{background-color:#ccc;border-bottom-color:#aaa;}.wp_themeSkin .mceMenuItemTitle span.mceText{color:#000;}.wp_themeSkin .mceMenuItemDisabled .mceText{color:#888;}.wp_themeSkin tr.mceFirst td.mceToolbar{background:#dfdfdf url("../images/ed-bg.gif") repeat-x scroll left top;border-color:#ccc;}.wp-admin #mceModalBlocker{background:#000;}.wp-admin .clearlooks2 .mceFocus .mceTop .mceLeft{background:#444;border-left:1px solid #999;border-top:1px solid #999;-moz-border-radius:3px 0 0 0;-webkit-border-top-left-radius:3px;-khtml-border-top-left-radius:3px;border-top-left-radius:3px;}.wp-admin .clearlooks2 .mceFocus .mceTop .mceRight{background:#444;border-right:1px solid #999;border-top:1px solid #999;border-top-right-radius:3px;-khtml-border-top-right-radius:3px;-webkit-border-top-right-radius:3px;-moz-border-radius:0 3px 0 0;}.wp-admin .clearlooks2 .mceMiddle .mceLeft{background:#f1f1f1;border-left:1px solid #999;}.wp-admin .clearlooks2 .mceMiddle .mceRight{background:#f1f1f1;border-right:1px solid #999;}.wp-admin .clearlooks2 .mceBottom{background:#f1f1f1;border-bottom:1px solid #999;}.wp-admin .clearlooks2 .mceBottom .mceLeft{background:#f1f1f1;border-bottom:1px solid #999;border-left:1px solid #999;}.wp-admin .clearlooks2 .mceBottom .mceCenter{background:#f1f1f1;border-bottom:1px solid #999;}.wp-admin .clearlooks2 .mceBottom .mceRight{background:#f1f1f1;border-bottom:1px solid #999;border-right:1px solid #999;}.wp-admin .clearlooks2 .mceFocus .mceTop span{color:#e5e5e5;}#titlediv #title{border-color:#ccc;}#editorcontainer{border-color:#ccc #ccc #dfdfdf;}#post-status-info{border-color:#dfdfdf #ccc #ccc;}.editwidget .widget-inside{border-color:#dfdfdf;}#titlediv #title{background-color:#fff;}#tTips p#tTips_inside{background-color:#ddd;color:#333;}#timestampdiv input,#namediv input,#poststuff .inside .the-tagcloud{border-color:#ddd;}#adminmenuback,#adminmenuwrap{background-color:#ececec;border-color:#ccc;}#adminmenushadow,#adminmenuback{background-image:url(../images/menu-shadow.png);background-position:top right;background-repeat:repeat-y;}#adminmenu li.wp-menu-separator{background:#dfdfdf;border-color:#cfcfcf;}#adminmenu div.separator{border-color:#e1e1e1;}#adminmenu li.wp-has-current-submenu.wp-menu-open .wp-menu-toggle,#adminmenu li.wp-has-current-submenu:hover .wp-menu-toggle{background:transparent url(../images/arrows-dark.png) no-repeat -1px 6px;}#adminmenu .wp-has-submenu:hover .wp-menu-toggle,#adminmenu .wp-menu-open .wp-menu-toggle{background:transparent url(../images/arrows.png) no-repeat -2px 6px;}#adminmenu a.menu-top,.folded #adminmenu li.menu-top,#adminmenu .wp-submenu .wp-submenu-head{border-top-color:#f9f9f9;border-bottom-color:#dfdfdf;}#adminmenu li.wp-menu-open{border-color:#dfdfdf;}#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,#adminmenu li.current a.menu-top,.folded #adminmenu li.wp-has-current-submenu,.folded #adminmenu li.current.menu-top,#adminmenu .wp-menu-arrow,#adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head{background-color:#777;background-image:-ms-linear-gradient(bottom,#6d6d6d,#808080);background-image:-moz-linear-gradient(bottom,#6d6d6d,#808080);background-image:-o-linear-gradient(bottom,#6d6d6d,#808080);background-image:-webkit-gradient(linear,left bottom,left top,from(#6d6d6d),to(#808080));background-image:-webkit-linear-gradient(bottom,#6d6d6d,#808080);background-image:linear-gradient(bottom,#6d6d6d,#808080);}#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,#adminmenu li.current a.menu-top,#adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head{text-shadow:0 -1px 0 #333;color:#fff;border-top-color:#808080;border-bottom-color:#6d6d6d;}.folded #adminmenu li.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{border-top-color:#808080;border-bottom-color:#6d6d6d;}#adminmenu .wp-submenu a:hover{background-color:#EAF2FA!important;color:#333!important;}#adminmenu .wp-submenu li.current,#adminmenu .wp-submenu li.current a,#adminmenu .wp-submenu li.current a:hover{color:#333;}#adminmenu .wp-submenu ul{background-color:#fff;}.folded #adminmenu .wp-submenu-wrap,.folded #adminmenu .wp-submenu ul{border-color:#dfdfdf;}.folded #adminmenu .wp-submenu-wrap{-moz-box-shadow:2px 2px 5px rgba(0,0,0,0.4);-webkit-box-shadow:2px 2px 5px rgba(0,0,0,0.4);box-shadow:2px 2px 5px rgba(0,0,0,0.4);}#adminmenu .wp-submenu .wp-submenu-head{border-right-color:#dfdfdf;background-color:#ececec;}#adminmenu div.wp-submenu{background-color:transparent;}#collapse-menu{color:#aaa;}#collapse-menu:hover{color:#999;}#collapse-button{border-color:#ccc;background-color:#f4f4f4;background-image:-ms-linear-gradient(bottom,#dfdfdf,#fff);background-image:-moz-linear-gradient(bottom,#dfdfdf,#fff);background-image:-o-linear-gradient(bottom,#dfdfdf,#fff);background-image:-webkit-gradient(linear,left bottom,left top,from(#dfdfdf),to(#fff));background-image:-webkit-linear-gradient(bottom,#dfdfdf,#fff);background-image:linear-gradient(bottom,#dfdfdf,#fff);}#collapse-menu:hover #collapse-button{border-color:#aaa;}#collapse-button div{background:transparent url(../images/arrows.png) no-repeat 0 -72px;}.folded #collapse-button div{background-position:0 -108px;}#adminmenu .menu-icon-dashboard div.wp-menu-image{background:transparent url('../images/menu.png?ver=20100531') no-repeat scroll -60px -33px;}#adminmenu .menu-icon-dashboard:hover div.wp-menu-image,#adminmenu .menu-icon-dashboard.wp-has-current-submenu div.wp-menu-image,#adminmenu .menu-icon-dashboard.current div.wp-menu-image{background:transparent url('../images/menu.png?ver=20100531') no-repeat scroll -60px -1px;}#adminmenu .menu-icon-post div.wp-menu-image{background:transparent url('../images/menu.png?ver=20100531') no-repeat scroll -271px -33px;}#adminmenu .menu-icon-post:hover div.wp-menu-image,#adminmenu .menu-icon-post.wp-has-current-submenu div.wp-menu-image{background:transparent url('../images/menu.png?ver=20100531') no-repeat scroll -271px -1px;}#adminmenu .menu-icon-media div.wp-menu-image{background:transparent url('../images/menu.png?ver=20100531') no-repeat scroll -120px -33px;}#adminmenu .menu-icon-media:hover div.wp-menu-image,#adminmenu .menu-icon-media.wp-has-current-submenu div.wp-menu-image{background:transparent url('../images/menu.png?ver=20100531') no-repeat scroll -120px -1px;}#adminmenu .menu-icon-links div.wp-menu-image{background:transparent url('../images/menu.png?ver=20100531') no-repeat scroll -90px -33px;}#adminmenu .menu-icon-links:hover div.wp-menu-image,#adminmenu .menu-icon-links.wp-has-current-submenu div.wp-menu-image{background:transparent url('../images/menu.png?ver=20100531') no-repeat scroll -90px -1px;}#adminmenu .menu-icon-page div.wp-menu-image{background:transparent url('../images/menu.png?ver=20100531') no-repeat scroll -150px -33px;}#adminmenu .menu-icon-page:hover div.wp-menu-image,#adminmenu .menu-icon-page.wp-has-current-submenu div.wp-menu-image{background:transparent url('../images/menu.png?ver=20100531') no-repeat scroll -150px -1px;}#adminmenu .menu-icon-comments div.wp-menu-image{background:transparent url('../images/menu.png?ver=20100531') no-repeat scroll -30px -33px;}#adminmenu .menu-icon-comments:hover div.wp-menu-image,#adminmenu .menu-icon-comments.wp-has-current-submenu div.wp-menu-image,#adminmenu .menu-icon-comments.current div.wp-menu-image{background:transparent url('../images/menu.png?ver=20100531') no-repeat scroll -30px -1px;}#adminmenu .menu-icon-appearance div.wp-menu-image{background:transparent url('../images/menu.png?ver=20100531') no-repeat scroll 0 -33px;}#adminmenu .menu-icon-appearance:hover div.wp-menu-image,#adminmenu .menu-icon-appearance.wp-has-current-submenu div.wp-menu-image{background:transparent url('../images/menu.png?ver=20100531') no-repeat scroll 0 -1px;}#adminmenu .menu-icon-plugins div.wp-menu-image{background:transparent url('../images/menu.png?ver=20100531') no-repeat scroll -180px -33px;}#adminmenu .menu-icon-plugins:hover div.wp-menu-image,#adminmenu .menu-icon-plugins.wp-has-current-submenu div.wp-menu-image{background:transparent url('../images/menu.png?ver=20100531') no-repeat scroll -180px -1px;}#adminmenu .menu-icon-users div.wp-menu-image{background:transparent url('../images/menu.png?ver=20100531') no-repeat scroll -300px -33px;}#adminmenu .menu-icon-users:hover div.wp-menu-image,#adminmenu .menu-icon-users.wp-has-current-submenu div.wp-menu-image,#adminmenu .menu-icon-users.current div.wp-menu-image{background:transparent url('../images/menu.png?ver=20100531') no-repeat scroll -300px -1px;}#adminmenu .menu-icon-tools div.wp-menu-image{background:transparent url('../images/menu.png?ver=20100531') no-repeat scroll -210px -33px;}#adminmenu .menu-icon-tools:hover div.wp-menu-image,#adminmenu .menu-icon-tools.wp-has-current-submenu div.wp-menu-image,#adminmenu .menu-icon-tools.current div.wp-menu-image{background:transparent url('../images/menu.png?ver=20100531') no-repeat scroll -210px -1px;}#icon-options-general,#adminmenu .menu-icon-settings div.wp-menu-image{background:transparent url('../images/menu.png?ver=20100531') no-repeat scroll -240px -33px;}#adminmenu .menu-icon-settings:hover div.wp-menu-image,#adminmenu .menu-icon-settings.wp-has-current-submenu div.wp-menu-image{background:transparent url('../images/menu.png?ver=20100531') no-repeat scroll -240px -1px;}#adminmenu .menu-icon-site div.wp-menu-image{background:transparent url('../images/menu.png?ver=20100531') no-repeat scroll -360px -33px;}#adminmenu .menu-icon-site:hover div.wp-menu-image,#adminmenu .menu-icon-site.wp-has-current-submenu div.wp-menu-image{background:transparent url('../images/menu.png?ver=20100531') no-repeat scroll -360px -1px;}#icon-edit,#icon-post{background:transparent url(../images/icons32.png?ver=20100531) no-repeat -552px -5px;}#icon-index{background:transparent url(../images/icons32.png?ver=20100531) no-repeat -137px -5px;}#icon-upload{background:transparent url(../images/icons32.png?ver=20100531) no-repeat -251px -5px;}#icon-link-manager,#icon-link,#icon-link-category{background:transparent url(../images/icons32.png?ver=20100531) no-repeat -190px -5px;}#icon-edit-pages,#icon-page{background:transparent url(../images/icons32.png?ver=20100531) no-repeat -312px -5px;}#icon-edit-comments{background:transparent url(../images/icons32.png?ver=20100531) no-repeat -72px -5px;}#icon-themes{background:transparent url(../images/icons32.png?ver=20100531) no-repeat -11px -5px;}#icon-plugins{background:transparent url(../images/icons32.png?ver=20100531) no-repeat -370px -5px;}#icon-users,#icon-profile,#icon-user-edit{background:transparent url(../images/icons32.png?ver=20100531) no-repeat -600px -5px;}#icon-tools,#icon-admin{background:transparent url(../images/icons32.png?ver=20100531) no-repeat -432px -5px;}#icon-options-general{background:transparent url(../images/icons32.png?ver=20100531) no-repeat -492px -5px;}#icon-ms-admin{background:transparent url(../images/icons32.png?ver=20100531) no-repeat -659px -5px;}table.diff .diff-deletedline{background-color:#fdd;}table.diff .diff-deletedline del{background-color:#f99;}table.diff .diff-addedline{background-color:#dfd;}table.diff .diff-addedline ins{background-color:#9f9;}#att-info{background-color:#E4F2FD;}#sidemenu a{background-color:#f9f9f9;border-color:#f9f9f9;border-bottom-color:#dfdfdf;}#sidemenu a.current{background-color:#fff;border-color:#dfdfdf #dfdfdf #fff;color:#D54E21;}#screen-options-wrap,#contextual-help-wrap{background-color:#f1f1f1;border-color:#dfdfdf;}#screen-options-link-wrap,#contextual-help-link-wrap{background-color:#e3e3e3;border-right:1px solid transparent;border-left:1px solid transparent;border-bottom:1px solid transparent;background-image:-ms-linear-gradient(bottom,#dfdfdf,#f1f1f1);background-image:-moz-linear-gradient(bottom,#dfdfdf,#f1f1f1);background-image:-o-linear-gradient(bottom,#dfdfdf,#f1f1f1);background-image:-webkit-gradient(linear,left bottom,left top,from(#dfdfdf),to(#f1f1f1));background-image:-webkit-linear-gradient(bottom,#dfdfdf,#f1f1f1);background-image:linear-gradient(bottom,#dfdfdf,#f1f1f1);}#screen-meta-links a.show-settings{color:#777;}#screen-meta-links a.show-settings:hover{color:#000;}#replysubmit{background-color:#f1f1f1;border-top-color:#ddd;}#replyerror{border-color:#ddd;background-color:#f9f9f9;}#edithead,#replyhead{background-color:#f1f1f1;}#ed_reply_toolbar{background-color:#e9e9e9;}.vim-current,.vim-current th,.vim-current td{background-color:#E4F2FD!important;}.star-average,.star.star-rating{background-color:#fc0;}div.star.select:hover{background-color:#d00;}div.star img{border-left:1px solid #fff;border-right:1px solid #fff;}.widefat div.star img{border-left:1px solid #f9f9f9;border-right:1px solid #f9f9f9;}#plugin-information .fyi ul{background-color:#eaf3fa;}#plugin-information .fyi h2.mainheader{background-color:#cee1ef;}#plugin-information pre,#plugin-information code{background-color:#ededff;}#plugin-information pre{border:1px solid #ccc;}.inline-edit-row fieldset input[type="text"],.inline-edit-row fieldset textarea,#bulk-titles,#replyrow input{border-color:#ddd;}.inline-editor div.title{background-color:#EAF3FA;}.inline-editor ul.cat-checklist{background-color:#fff;border-color:#ddd;}.inline-editor .categories .catshow,.inline-editor .categories .cathide{color:#21759b;}.inline-editor .quick-edit-save{background-color:#f1f1f1;}#replyrow #ed_reply_toolbar input:hover{border-color:#aaa;background:#ddd;}fieldset.inline-edit-col-right .inline-edit-col{border-color:#dfdfdf;}.attention{color:#D54E21;}.meta-box-sortables .postbox:hover .handlediv{background:transparent url(../images/arrows.png) no-repeat 6px 7px;}.tablenav .tablenav-pages{color:#555;}.tablenav .tablenav-pages a{border-color:#e3e3e3;background:#eee url('../images/menu-bits.gif?ver=20100610') repeat-x scroll left -379px;}.tablenav .tablenav-pages a:hover,.tablenav .tablenav-pages a:focus{color:#d54e21;}.tablenav .tablenav-pages a.disabled,.tablenav .tablenav-pages a.disabled:hover,.tablenav .tablenav-pages a.disabled:focus{color:#aaa;}.tablenav .tablenav-pages .current{background:#dfdfdf;border-color:#d3d3d3;}#availablethemes,#availablethemes td{border-color:#ddd;}#current-theme img{border-color:#999;}#TB_window #TB_title a.tb-theme-preview-link,#TB_window #TB_title a.tb-theme-preview-link:visited{color:#999;}#TB_window #TB_title a.tb-theme-preview-link:hover,#TB_window #TB_title a.tb-theme-preview-link:focus{color:#ccc;}.misc-pub-section{border-top-color:#fff;border-bottom-color:#dfdfdf;}#minor-publishing{border-bottom-color:#dfdfdf;}#post-body .misc-pub-section{border-right-color:#eee;}.post-com-count span{background-color:#bbb;}.form-table .color-palette td{border-color:#fff;}.sortable-placeholder{border-color:#bbb;background-color:#f5f5f5;}#post-body ul.category-tabs li.tabs a,#post-body ul.add-menu-item-tabs li.tabs a,body.press-this ul.category-tabs li.tabs a{color:#333;}#wp_editimgbtn,#wp_delimgbtn,#wp_editgallery,#wp_delgallery{border-color:#999;background-color:#eee;}#wp_editimgbtn:hover,#wp_delimgbtn:hover,#wp_editgallery:hover,#wp_delgallery:hover{border-color:#555;background-color:#ccc;}#favorite-first{border-color:#c0c0c0;background:#f1f1f1;background:-moz-linear-gradient(bottom,#e7e7e7,#fff);background:-webkit-gradient(linear,left bottom,left top,from(#e7e7e7),to(#fff));}#favorite-inside{border-color:#c0c0c0;background-color:#fff;}#favorite-toggle{background:transparent url(../images/arrows.png) no-repeat 4px 2px;border-color:#dfdfdf;-moz-box-shadow:inset 1px 0 0 #fff;-webkit-box-shadow:inset 1px 0 0 #fff;box-shadow:inset 1px 0 0 #fff;}#favorite-actions a{color:#464646;}#favorite-actions a:hover{color:#000;}#favorite-inside a:hover{text-decoration:underline;}#screen-meta a.show-settings,.toggle-arrow{background:transparent url(../images/arrows.png) no-repeat right 3px;}#screen-meta .screen-meta-active a.show-settings{background:transparent url(../images/arrows.png) no-repeat right -33px;}.view-switch #view-switch-list{background:transparent url(../images/list.png) no-repeat 0 0;}.view-switch .current #view-switch-list{background:transparent url(../images/list.png) no-repeat -40px 0;}.view-switch #view-switch-excerpt{background:transparent url(../images/list.png) no-repeat -20px 0;}.view-switch .current #view-switch-excerpt{background:transparent url(../images/list.png) no-repeat -60px 0;}#header-logo{background:transparent url(../images/wp-logo.png?ver=20110504) no-repeat scroll center center;}.popular-tags,.feature-filter{background-color:#fff;border-color:#DFDFDF;}#theme-information .action-button{border-top-color:#DFDFDF;}.theme-listing br.line{border-bottom-color:#ccc;}div.widgets-sortables,#widgets-left .inactive{background-color:#fcfcfc;border-color:#dfdfdf;}#available-widgets .widget-holder{background-color:#fcfcfc;border-color:#dfdfdf;}#available-widgets .widget-description{color:#555;}.sidebar-name{color:#464646;text-shadow:#fff 0 1px 0;border-color:#dfdfdf;-moz-box-shadow:inset 0 1px 0 #fff;-webkit-box-shadow:inset 0 1px 0 #fff;box-shadow:inset 0 1px 0 #fff;}.sidebar-name:hover,#removing-widget{color:#d54e21;}#removing-widget span{color:black;}.sidebar-name-arrow{background:transparent url(../images/arrows.png) no-repeat 5px 9px;}.sidebar-name:hover .sidebar-name-arrow{background:transparent url(../images/arrows-dark.png) no-repeat 5px 9px;}.in-widget-title{color:#606060;}.deleting .widget-title *{color:#aaa;}.imgedit-menu div{border-color:#d5d5d5;background-color:#f1f1f1;}.imgedit-menu div:hover{border-color:#c1c1c1;background-color:#eaeaea;}.imgedit-menu div.disabled{border-color:#ccc;background-color:#ddd;filter:alpha(opacity=50);opacity:.5;}#dashboard_recent_comments div.undo{border-top-color:#dfdfdf;}.comment-ays,.comment-ays th{border-color:#ddd;}.comment-ays th{background-color:#f1f1f1;}#menu-management .menu-edit{border-color:#dfdfdf;}#post-body{background:#fff;border-top-color:#fff;border-bottom-color:#dfdfdf;}#nav-menu-header{border-bottom-color:#dfdfdf;}#nav-menu-footer{border-top-color:#fff;}#menu-management .nav-tabs-arrow a{color:#C1C1C1;}#menu-management .nav-tabs-arrow a:hover{color:#D54E21;}#menu-management .nav-tabs-arrow a:active{color:#464646;}#menu-management .nav-tab-active{border-color:#dfdfdf;}#menu-management .nav-tab{background:#fbfbfb;border-color:#dfdfdf;}.js .input-with-default-title{color:#aaa;}#cancel-save{color:#f00;}#cancel-save:hover{background-color:#F00;color:#fff;}.list-container{border-color:#DFDFDF;}.menu-item-handle{border-color:#dfdfdf;}.menu li.deleting .menu-item-handle{background-color:#f66;text-shadow:#ccc;}.item-type{color:#999;}.item-controls .menu-item-delete:hover{color:#f00;}.item-edit{background:transparent url(../images/arrows.png) no-repeat 8px 10px;border-bottom-color:#eee;}.item-edit:hover{background:transparent url(../images/arrows-dark.png) no-repeat 8px 10px;}.menu-item-settings{border-color:#dfdfdf;}.link-to-original{color:#777;border-color:#dfdfdf;}#cancel-save:hover{color:#fff!important;}#update-menu-item{color:#fff!important;}#update-menu-item:hover,#update-menu-item:active,#update-menu-item:focus{color:#eaf2fa!important;border-color:#13455b!important;}.submitbox .submitcancel{color:#21759B;border-bottom-color:#21759B;}.submitbox .submitcancel:hover{background:#21759B;color:#fff;}#menu-management .nav-tab-active,.menu-item-handle,.menu-item-settings{-moz-box-shadow:inset 0 1px 0 #fff;-webkit-box-shadow:inset 0 1px 0 #fff;box-shadow:inset 0 1px 0 #fff;}#menu-management .nav-tab-active{background:#f9f9f9;border-bottom-color:#f9f9f9;}#upload-form label{color:#777;}.fullscreen-overlay{background:#fff;}.wp-fullscreen-focus #wp-fullscreen-title,.wp-fullscreen-focus #wp-fullscreen-container{border-color:#ccc;}#fullscreen-topbar{border-bottom-color:#DFDFDF;} \ No newline at end of file diff --git a/src/wp-admin/css/colors-fresh.dev.css b/src/wp-admin/css/colors-fresh.dev.css index 6325917..eb86042 100644 --- a/src/wp-admin/css/colors-fresh.dev.css +++ b/src/wp-admin/css/colors-fresh.dev.css @@ -1,6 +1,6 @@ html, .wp-dialog { - background-color: #f9f9f9; + background-color: #fff; } * html input, @@ -95,7 +95,7 @@ div.dashboard-widget, .widefat { border-color: #dfdfdf; - background-color: #fff; + background-color: #f9f9f9; } div.dashboard-widget-error { @@ -116,12 +116,13 @@ ul.category-tabs li.tabs, ul.add-menu-item-tabs li.tabs, .wp-tab-active { border-color: #dfdfdf; + background-color: #fff; } ul.category-tabs li.tabs, ul.add-menu-item-tabs li.tabs, .wp-tab-active { - background-color: #f1f1f1; + background-color: #fff; } input.disabled, @@ -135,11 +136,37 @@ textarea.disabled { color: #fff; } +.widget .widget-top, +.postbox h3, +.stuffbox h3, +.widefat thead tr th, +.widefat tfoot tr th, +h3.dashboard-widget-title, +h3.dashboard-widget-title span, +h3.dashboard-widget-title small, +.find-box-head, +.sidebar-name, +#nav-menu-header, +#nav-menu-footer, +.menu-item-handle, +#fullscreen-topbar { + background-color: #f1f1f1; /* Fallback */ + background-image: -ms-linear-gradient(top, #f9f9f9, #ececec); /* IE10 */ + background-image: -moz-linear-gradient(top, #f9f9f9, #ececec); /* Firefox */ + background-image: -o-linear-gradient(top, #f9f9f9, #ececec); /* Opera */ + background-image: -webkit-gradient(linear, left top, left bottom, from(#f9f9f9), to(#ececec)); /* old Webkit */ + background-image: -webkit-linear-gradient(top, #f9f9f9, #ececec); /* new Webkit */ + background-image: linear-gradient(top, #f9f9f9, #ececec); /* proposed W3C Markup */ +} + .widget .widget-top, .postbox h3, .stuffbox h3 { - background: #dfdfdf url("../images/gray-grad.png") repeat-x left top; + border-bottom-color: #dfdfdf; text-shadow: #fff 0 1px 0; + -moz-box-shadow: 0 1px 0 #fff; + -webkit-box-shadow: 0 1px 0 #fff; + box-shadow: 0 1px 0 #fff; } .form-table th, @@ -170,6 +197,14 @@ strong .post-com-count span { color: #464646; } +.wrap .add-new-h2 { + background: #f1f1f1; +} + +.subtitle { + color: #777; +} + .ac_over { background-color: #f0f0b8; } @@ -185,7 +220,7 @@ strong .post-com-count span { .alternate, .alt { - background-color: #f9f9f9; + background-color: #fcfcfc; } .available-theme a.screenshot { @@ -239,7 +274,6 @@ div.error a { .nonessential, #edit-slug-box, .form-input-tip, -.rss-widget span.rss-date, .subsubsub { color: #666; } @@ -458,13 +492,23 @@ a.page-numbers { .widefat td, .widefat th { - border-color: #dfdfdf; + border-top-color: #fff; + border-bottom-color: #dfdfdf; } .widefat th { text-shadow: rgba(255,255,255,0.8) 0 1px 0; } +.widefat td { + color: #555; +} +.widefat p, +.widefat ol, +.widefat ul { + color: #333; +} + .widefat thead tr th, .widefat tfoot tr th, h3.dashboard-widget-title, @@ -472,7 +516,6 @@ h3.dashboard-widget-title span, h3.dashboard-widget-title small, .find-box-head { color: #333; - background: #dfdfdf url(../images/gray-grad.png) repeat-x scroll left top; } th.sortable a:hover, th.sortable a:active, th.sortable a:focus { @@ -499,30 +542,30 @@ a, color: #21759b; } -#adminmenu #awaiting-mod, +#adminmenu .awaiting-mod, #adminmenu .update-plugins, #sidemenu a .update-plugins, #rightnow .reallynow { background-color: #464646; color: #fff; - -moz-box-shadow: #fff 0 -1px 0; - -khtml-box-shadow: #fff 0 -1px 0; - -webkit-box-shadow: #fff 0 -1px 0; - box-shadow: #fff 0 -1px 0; + -moz-box-shadow: rgba(255,255,255,0.5) 0 1px 0; + -khtml-box-shadow: rgba(255,255,255,0.5) 0 1px 0; + -webkit-box-shadow: rgba(255,255,255,0.5) 0 1px 0; + box-shadow: rgba(255,255,255,0.5) 0 1px 0; } #plugin-information .action-button { background-color: #d54e21; color: #fff; } -#adminmenu li.current a #awaiting-mod, -#adminmenu li a.wp-has-current-submenu .update-plugins{ +#adminmenu li.current a .awaiting-mod, +#adminmenu li a.wp-has-current-submenu .update-plugins{ background-color: #464646; color: #fff; - -moz-box-shadow: #fff 0 -1px 0; - -khtml-box-shadow: #fff 0 -1px 0; - -webkit-box-shadow: #fff 0 -1px 0; - box-shadow: #fff 0 -1px 0; + -moz-box-shadow: rgba(255,255,255,0.5) 0 1px 0; + -khtml-box-shadow: rgba(255,255,255,0.5) 0 1px 0; + -webkit-box-shadow: rgba(255,255,255,0.5) 0 1px 0; + box-shadow: rgba(255,255,255,0.5) 0 1px 0; } div#media-upload-header, @@ -559,20 +602,19 @@ input.readonly, textarea.readonly { color: #777; } -.login #nav a { +.login #nav a, +.login #backtoblog a { color: #21759b !important; } -.login #nav a:hover { +.login #nav a:hover, +.login #backtoblog a:hover { color: #d54e21 !important; } #footer { color: #777; - border-color: #d1d1d1; - background: #d9d9d9; /* fallback color */ - background:-moz-linear-gradient(bottom, #d7d7d7, #e4e4e4); - background:-webkit-gradient(linear, left bottom, left top, from(#d7d7d7), to(#e4e4e4)); + border-color: #dfdfdf; } #media-items, @@ -584,14 +626,14 @@ input.readonly, textarea.readonly { .side-info, .plugins tr, #your-profile #rich_editing { - background-color: #fff; + background-color: #fcfcfc; } .plugins .inactive, .plugins .inactive th, .plugins .inactive td, tr.inactive + tr.plugin-update-tr .plugin-update { - background-color: #eee; + background-color: #f4f4f4; } .plugin-update-tr .update-message { @@ -642,19 +684,38 @@ table.widefat span.spam a, #poststuff .postarea, .stuffbox { border-color: #dfdfdf; + -moz-box-shadow: inset 0 1px 0 #fff; + -webkit-box-shadow: inset 0 1px 0 #fff; + box-shadow: inset 0 1px 0 #fff; + -moz-border-radius: 3px; + -khtml-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; } .widget, -.postbox { - background-color: #fff; +#widget-list .widget-top, +.postbox, +.menu-item-settings { + background-color: #f5f5f5; /* Fallback */ + background-image: -ms-linear-gradient(top, #f9f9f9, #f5f5f5); /* IE10 */ + background-image: -moz-linear-gradient(top, #f9f9f9, #f5f5f5); /* Firefox */ + background-image: -o-linear-gradient(top, #f9f9f9, #f5f5f5); /* Opera */ + background-image: -webkit-gradient(linear, left top, left bottom, from(#f9f9f9), to(#f5f5f5)); /* old Webkit */ + background-image: -webkit-linear-gradient(top, #f9f9f9, #f5f5f5); /* new Webkit */ + background-image: linear-gradient(top, #f9f9f9, #f5f5f5); /* proposed W3C Markup */ } -.ui-sortable .postbox h3 { +.postbox h3 { color: #464646; } -.widget .widget-top, -.ui-sortable .postbox h3:hover { +.widget .widget-top { + color: #222; +} + +.sidebar-name:hover h3, +.postbox h3:hover { color: #000; } @@ -695,10 +756,7 @@ table.widefat span.spam a, } #wphead { - border-bottom:#c6c6c6 1px solid; - background: #d9d9d9; /* fallback color */ - background:-moz-linear-gradient(bottom, #d7d7d7, #e4e4e4); - background:-webkit-gradient(linear, left bottom, left top, from(#d7d7d7), to(#e4e4e4)); + border-bottom:#dfdfdf 1px solid; } #wphead h1 a { @@ -706,21 +764,67 @@ table.widefat span.spam a, } #user_info { - color: #777; + color: #555; +} + +#user_info:hover, +#user_info.active { + color: #222; +} + +#user_info.active { + background-color: #f1f1f1; /* Fallback */ + background-image: -ms-linear-gradient(bottom, #e9e9e9, #f9f9f9); /* IE10 */ + background-image: -moz-linear-gradient(bottom, #e9e9e9, #f9f9f9); /* Firefox */ + background-image: -o-linear-gradient(bottom, #e9e9e9, #f9f9f9); /* Opera */ + background-image: -webkit-gradient(linear, left bottom, left top, from(#e9e9e9), to(#f9f9f9)); /* old Webkit */ + background-image: -webkit-linear-gradient(bottom, #e9e9e9, #f9f9f9); /* new Webkit */ + background-image: linear-gradient(bottom, #e9e9e9, #f9f9f9); /* proposed W3C Markup */ + border-color: #aaa #aaa #dfdfdf; +} + +#user_info_arrow { + background: transparent url(../images/arrows.png) no-repeat 6px 5px; +} + +#user_info:hover #user_info_arrow, +#user_info.active #user_info_arrow { + background: transparent url(../images/arrows-dark.png) no-repeat 6px 5px; +} + +#user_info_links { + -moz-box-shadow: 0 3px 2px -2px rgba( 0, 0, 0, 0.2 ); + -webkit-box-shadow: 0 3px 2px -2px rgba( 0, 0, 0, 0.2 ); + box-shadow: 0 3px 2px -2px rgba( 0, 0, 0, 0.2 ); +} + +#user_info_links ul { + background: #f1f1f1; + border-color: #ccc #aaa #aaa; + -moz-box-shadow: inset 0 1px 0 #f9f9f9; + -webkit-box-shadow: inset 0 1px 0 #f9f9f9; + box-shadow: inset 0 1px 0 #f9f9f9; +} + +#user_info_links li:hover { + background-color: #dfdfdf; +} + +#user_info_links li:hover a, +#user_info_links li a:hover { + text-decoration: none; } #user_info a:link, #user_info a:visited, #footer a:link, #footer a:visited { - color: #222; text-decoration: none; } -#user_info a:hover, #footer a:hover { color: #000; - text-decoration: underline !important; + text-decoration: underline; } div#media-upload-error, @@ -763,7 +867,7 @@ table.widefat .spam a:hover, /* editors */ #quicktags { - border-color: #dfdfdf; + border-color: #ccc; background-color: #dfdfdf; background-image: url("../images/ed-bg.gif"); } @@ -778,18 +882,22 @@ table.widefat .spam a:hover, } #poststuff .wp_themeSkin .mceStatusbar { - border-color: #EDEDED; + border-color: #dfdfdf; +} + +#poststuff .wp_themeSkin .mceStatusbar * { + color: #555; } #poststuff #edButtonPreview, #poststuff #edButtonHTML { background-color: #f1f1f1; - border-color: #dfdfdf; + border-color: #dfdfdf #dfdfdf #ccc; color: #999; } #poststuff #editor-toolbar .active { - border-bottom-color: #e9e9e9; + border-color: #ccc #ccc #e9e9e9; background-color: #e9e9e9; color: #333; } @@ -804,12 +912,22 @@ table.widefat .spam a:hover, .wp_themeSkin a:link, .wp_themeSkin a:visited, .wp_themeSkin a:active { - color: #000; + color: #000; } /* Containers */ +.wp_themeSkin table.mceLayout { + border-color: #ccc #ccc #dfdfdf; +} + +#editorcontainer #content, +#editorcontainer .wp_themeSkin .mceIframeContainer { + -moz-box-shadow: inset 1px 1px 2px rgba( 0, 0, 0, 0.1 ); + -webkit-box-shadow: inset 1px 1px 2px rgba( 0, 0, 0, 0.1 ); + box-shadow: inset 1px 1px 2px rgba( 0, 0, 0, 0.1 ); +} .wp_themeSkin iframe { - background: #fff; + background: transparent; } /* Layout */ @@ -820,15 +938,41 @@ table.widefat .spam a:hover, /* Button */ .wp_themeSkin .mceButton { - background-color: #e9e8e8; - border-color: #B2B2B2; + border-color: #ccc; + background-color: #eee; /* Fallback */ + background-image: -ms-linear-gradient(bottom, #ddd, #fff); /* IE10 */ + background-image: -moz-linear-gradient(bottom, #ddd, #fff); /* Firefox */ + background-image: -o-linear-gradient(bottom, #ddd, #fff); /* Opera */ + background-image: -webkit-gradient(linear, left bottom, left top, from(#ddd), to(#fff)); /* old Webkit */ + background-image: -webkit-linear-gradient(bottom, #ddd, #fff); /* new Webkit */ + background-image: linear-gradient(bottom, #ddd, #fff); /* proposed W3C Markup */ } -.wp_themeSkin a.mceButtonEnabled:hover, +.wp_themeSkin a.mceButtonEnabled:hover { + border-color: #a0a0a0; + background: #ddd; /* Fallback */ + background-image: -ms-linear-gradient(bottom, #ccc, #fff); /* IE10 */ + background-image: -moz-linear-gradient(bottom, #ccc, #fff); /* Firefox */ + background-image: -o-linear-gradient(bottom, #ccc, #fff); /* Opera */ + background-image: -webkit-gradient(linear, left bottom, left top, from(#ccc), to(#fff)); /* old Webkit */ + background-image: -webkit-linear-gradient(bottom, #ccc, #fff); /* new Webkit */ + background-image: linear-gradient(bottom, #ccc, #fff); /* proposed W3C Markup */ +} + +.wp_themeSkin a.mceButton:active, +.wp_themeSkin a.mceButtonEnabled:active, +.wp_themeSkin a.mceButtonSelected:active, .wp_themeSkin a.mceButtonActive, -.wp_themeSkin a.mceButtonSelected { - background: #d5d5d5; - border-color: #777 !important; +.wp_themeSkin a.mceButtonActive:active, +.wp_themeSkin a.mceButtonActive:hover { + background-color: #ddd; /* Fallback */ + background-image: -ms-linear-gradient(bottom, #eee, #bbb); /* IE10 */ + background-image: -moz-linear-gradient(bottom, #eee, #bbb); /* Firefox */ + background-image: -o-linear-gradient(bottom, #eee, #bbb); /* Opera */ + background-image: -webkit-gradient(linear, left bottom, left top, from(#eee), to(#bbb)); /* old Webkit */ + background-image: -webkit-linear-gradient(bottom, #eee, #bbb); /* new Webkit */ + background-image: linear-gradient(bottom, #eee, #bbb); /* proposed W3C Markup */ + border-color: #909090; } .wp_themeSkin .mceButtonDisabled { @@ -837,22 +981,44 @@ table.widefat .spam a:hover, /* ListBox */ .wp_themeSkin .mceListBox .mceText, -.wp_themeSkin .mceListBox .mceOpen { - border-color: #B2B2B2; - background-color: #d5d5d5; +.wp_themeSkin .mceListBox .mceOpen { + border-color: #ccc; + background-color: #eee; /* Fallback */ + background-image: -ms-linear-gradient(bottom, #ddd, #fff); /* IE10 */ + background-image: -moz-linear-gradient(bottom, #ddd, #fff); /* Firefox */ + background-image: -o-linear-gradient(bottom, #ddd, #fff); /* Opera */ + background-image: -webkit-gradient(linear, left bottom, left top, from(#ddd), to(#fff)); /* old Webkit */ + background-image: -webkit-linear-gradient(bottom, #ddd, #fff); /* new Webkit */ + background-image: linear-gradient(bottom, #ddd, #fff); /* proposed W3C Markup */ +} + +.wp_themeSkin .mceListBox .mceOpen { + border-left: 0 !important; } .wp_themeSkin table.mceListBoxEnabled:hover .mceOpen, .wp_themeSkin .mceListBoxHover .mceOpen, +.wp_themeSkin .mceListBoxHover:active .mceOpen, .wp_themeSkin .mceListBoxSelected .mceOpen, -.wp_themeSkin .mceListBoxSelected .mceText { - border-color: #777 !important; - background-color: #d5d5d5; +.wp_themeSkin .mceListBoxSelected .mceText, +.wp_themeSkin table.mceListBoxEnabled:active .mceText { + background: #ccc; + border-color: #999; } +/* List Box Hover */ .wp_themeSkin table.mceListBoxEnabled:hover .mceText, -.wp_themeSkin .mceListBoxHover .mceText { - border-color: #777 !important; +.wp_themeSkin .mceListBoxHover .mceText, +.wp_themeSkin table.mceListBoxEnabled:hover .mceOpen, +.wp_themeSkin .mceListBoxHover .mceOpen { + border-color: #909090; + background-color: #eee; /* Fallback */ + background-image: -ms-linear-gradient(bottom, #ccc, #fff); /* IE10 */ + background-image: -moz-linear-gradient(bottom, #ccc, #fff); /* Firefox */ + background-image: -o-linear-gradient(bottom, #ccc, #fff); /* Opera */ + background-image: -webkit-gradient(linear, left bottom, left top, from(#ccc), to(#fff)); /* old Webkit */ + background-image: -webkit-linear-gradient(bottom, #ccc, #fff); /* new Webkit */ + background-image: linear-gradient(bottom, #ccc, #fff); /* proposed W3C Markup */ } .wp_themeSkin select.mceListBox { @@ -863,15 +1029,34 @@ table.widefat .spam a:hover, /* SplitButton */ .wp_themeSkin .mceSplitButton a.mceAction, .wp_themeSkin .mceSplitButton a.mceOpen { - border-color: #B2B2B2; + border-color: #ccc; } .wp_themeSkin .mceSplitButton a.mceOpen:hover, .wp_themeSkin .mceSplitButtonSelected a.mceOpen, .wp_themeSkin table.mceSplitButtonEnabled:hover a.mceAction, .wp_themeSkin .mceSplitButton a.mceAction:hover { - background-color: #d5d5d5; - border-color: #777 !important; + border-color: #909090; +} + + +.wp_themeSkin table.mceSplitButton td { + background-color: #eee; /* Fallback */ + background-image: -ms-linear-gradient(bottom, #ddd, #fff); /* IE10 */ + background-image: -moz-linear-gradient(bottom, #ddd, #fff); /* Firefox */ + background-image: -o-linear-gradient(bottom, #ddd, #fff); /* Opera */ + background-image: -webkit-gradient(linear, left bottom, left top, from(#ddd), to(#fff)); /* old Webkit */ + background-image: -webkit-linear-gradient(bottom, #ddd, #fff); /* new Webkit */ + background-image: linear-gradient(bottom, #ddd, #fff); /* proposed W3C Markup */ +} + +.wp_themeSkin table.mceSplitButton:hover td { + background-image: -ms-linear-gradient(bottom, #ccc, #fff); /* IE10 */ + background-image: -moz-linear-gradient(bottom, #ccc, #fff); /* Firefox */ + background-image: -o-linear-gradient(bottom, #ccc, #fff); /* Opera */ + background-image: -webkit-gradient(linear, left bottom, left top, from(#ccc), to(#fff)); /* old Webkit */ + background-image: -webkit-linear-gradient(bottom, #ccc, #fff); /* new Webkit */ + background-image: linear-gradient(bottom, #ccc, #fff); /* proposed W3C Markup */ } .wp_themeSkin .mceSplitButtonActive { @@ -934,7 +1119,7 @@ table.widefat .spam a:hover, .wp_themeSkin tr.mceFirst td.mceToolbar { background: #dfdfdf url("../images/ed-bg.gif") repeat-x scroll left top; - border-color: #dfdfdf; + border-color: #ccc; } .wp-admin #mceModalBlocker { @@ -945,20 +1130,20 @@ table.widefat .spam a:hover, background: #444444; border-left: 1px solid #999; border-top: 1px solid #999; - -moz-border-radius: 4px 0 0 0; - -webkit-border-top-left-radius: 4px; - -khtml-border-top-left-radius: 4px; - border-top-left-radius: 4px; + -moz-border-radius: 3px 0 0 0; + -webkit-border-top-left-radius: 3px; + -khtml-border-top-left-radius: 3px; + border-top-left-radius: 3px; } .wp-admin .clearlooks2 .mceFocus .mceTop .mceRight { background: #444444; border-right: 1px solid #999; border-top: 1px solid #999; - border-top-right-radius: 4px; - -khtml-border-top-right-radius: 4px; - -webkit-border-top-right-radius: 4px; - -moz-border-radius: 0 4px 0 0; + border-top-right-radius: 3px; + -khtml-border-top-right-radius: 3px; + -webkit-border-top-right-radius: 3px; + -moz-border-radius: 0 3px 0 0; } .wp-admin .clearlooks2 .mceMiddle .mceLeft { @@ -998,9 +1183,18 @@ table.widefat .spam a:hover, } /* end TinyMCE */ -#editorcontainer, -#post-status-info, -#titlediv #title, +#titlediv #title { + border-color: #ccc; +} + +#editorcontainer { + border-color: #ccc #ccc #dfdfdf; +} + +#post-status-info { + border-color: #dfdfdf #ccc #ccc; +} + .editwidget .widget-inside { border-color: #dfdfdf; } @@ -1021,75 +1215,77 @@ table.widefat .spam a:hover, } /* menu */ -#adminmenu * { - border-color: #e3e3e3; +#adminmenuback, +#adminmenuwrap { + background-color: #ececec; + border-color: #ccc; +} + +#adminmenushadow, +#adminmenuback { + background-image: url(../images/menu-shadow.png); + background-position: top right; + background-repeat: repeat-y; } #adminmenu li.wp-menu-separator { - background: transparent url(../images/menu-arrows.gif) no-repeat scroll left 5px; + background: #dfdfdf; + border-color: #cfcfcf; } -.folded #adminmenu li.wp-menu-separator { - background: transparent url(../images/menu-arrows.gif) no-repeat scroll right -34px; +#adminmenu div.separator { + border-color: #e1e1e1; } #adminmenu li.wp-has-current-submenu.wp-menu-open .wp-menu-toggle, #adminmenu li.wp-has-current-submenu:hover .wp-menu-toggle { - background: transparent url(../images/menu-bits.gif?ver=20100610) no-repeat scroll left -207px; + background: transparent url(../images/arrows-dark.png) no-repeat -1px 6px; } #adminmenu .wp-has-submenu:hover .wp-menu-toggle, #adminmenu .wp-menu-open .wp-menu-toggle { - background: transparent url(../images/menu-bits.gif?ver=20100610) no-repeat scroll left -109px; + background: transparent url(../images/arrows.png) no-repeat -2px 6px; } -#adminmenu a.menu-top { - background: #f1f1f1 url(../images/menu-bits.gif?ver=20100610) repeat-x scroll left -379px; +#adminmenu a.menu-top, +.folded #adminmenu li.menu-top, +#adminmenu .wp-submenu .wp-submenu-head { + border-top-color: #f9f9f9; + border-bottom-color: #dfdfdf; } -#adminmenu .wp-submenu a { - background: #fff url(../images/menu-bits.gif?ver=20100610) no-repeat scroll 0 -310px; -} - -#adminmenu .wp-has-current-submenu ul li a { - background: none; -} - -#adminmenu .wp-has-current-submenu ul li a.current { - background: url(../images/menu-dark.gif) top left no-repeat !important; -} - -.wp-has-current-submenu .wp-submenu { - border-top: none !important; -} - -#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu { - border-bottom: #aaa 1px solid; +#adminmenu li.wp-menu-open { + border-color: #dfdfdf; } #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, -#adminmenu li.current a.menu-top { - background: #e0e0e0 url(../images/menu-bits.gif?ver=20100610) top left repeat-x; - border: #aaa 1px solid; - color: #000; +#adminmenu li.current a.menu-top, +.folded #adminmenu li.wp-has-current-submenu, +.folded #adminmenu li.current.menu-top, +#adminmenu .wp-menu-arrow, +#adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head { + background-color: #777; /* Fallback */ + background-image: -ms-linear-gradient(bottom, #6d6d6d, #808080); /* IE10 */ + background-image: -moz-linear-gradient(bottom, #6d6d6d, #808080); /* Firefox */ + background-image: -o-linear-gradient(bottom, #6d6d6d, #808080); /* Opera */ + background-image: -webkit-gradient(linear, left bottom, left top, from(#6d6d6d), to(#808080)); /* old Webkit */ + background-image: -webkit-linear-gradient(bottom, #6d6d6d, #808080); /* new Webkit */ + background-image: linear-gradient(bottom, #6d6d6d, #808080); /* proposed W3C Markup */ } -#adminmenu li.wp-has-current-submenu .wp-submenu, -#adminmenu li.wp-has-current-submenu ul li a { - border-right-color: #aaa !important; - border-left-color: #aaa !important; +#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, +#adminmenu li.current a.menu-top, +#adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head { + text-shadow: 0 -1px 0 #333; + color: #fff; + border-top-color: #808080; + border-bottom-color: #6d6d6d; } -#adminmenu li.wp-has-current-submenu ul li a { - background: url(../images/menu-dark.gif) bottom left no-repeat !important; -} - -#adminmenu li.wp-has-current-submenu ul { - border-bottom-color: #aaa; -} - -#adminmenu .wp-submenu .current a.current { - background: transparent url(../images/menu-bits.gif?ver=20100610) no-repeat scroll 0 -289px; +.folded #adminmenu li.wp-has-current-submenu, +.folded #adminmenu li.current.menu-top { + border-top-color: #808080; + border-bottom-color: #6d6d6d; } #adminmenu .wp-submenu a:hover { @@ -1101,145 +1297,232 @@ table.widefat .spam a:hover, #adminmenu .wp-submenu li.current a, #adminmenu .wp-submenu li.current a:hover { color: #333; - background-color: #f5f5f5; - background-image: none; - border-color: #e3e3e3; } #adminmenu .wp-submenu ul { background-color: #fff; } -.folded #adminmenu li.menu-top, +.folded #adminmenu .wp-submenu-wrap, +.folded #adminmenu .wp-submenu ul { + border-color: #dfdfdf; +} + +.folded #adminmenu .wp-submenu-wrap { + -moz-box-shadow: 2px 2px 5px rgba( 0, 0, 0, 0.4 ); + -webkit-box-shadow: 2px 2px 5px rgba( 0, 0, 0, 0.4 ); + box-shadow: 2px 2px 5px rgba( 0, 0, 0, 0.4 ); +} + #adminmenu .wp-submenu .wp-submenu-head { - background-color: #F1F1F1; -} - -.folded #adminmenu li.wp-has-current-submenu, -.folded #adminmenu li.menu-top.current { - background-color: #e6e6e6; -} - -#adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head { - background-color: #EAEAEA; - border-color: #aaa; + border-right-color: #dfdfdf; + background-color: #ececec; } #adminmenu div.wp-submenu { background-color: transparent; } -/* menu icons */ +/* collapse menu button */ +#collapse-menu { + color: #aaa; +} + +#collapse-menu:hover { + color: #999; +} + +#collapse-button { + border-color: #ccc; + background-color: #f4f4f4; /* Fallback */ + background-image: -ms-linear-gradient(bottom, #dfdfdf, #fff); /* IE10 */ + background-image: -moz-linear-gradient(bottom, #dfdfdf, #fff); /* Firefox */ + background-image: -o-linear-gradient(bottom, #dfdfdf, #fff); /* Opera */ + background-image: -webkit-gradient(linear, left bottom, left top, from(#dfdfdf), to(#fff)); /* old Webkit */ + background-image: -webkit-linear-gradient(bottom, #dfdfdf, #fff); /* new Webkit */ + background-image: linear-gradient(bottom, #dfdfdf, #fff); /* proposed W3C Markup */ +} +#collapse-menu:hover #collapse-button { + border-color: #aaa; +} +#collapse-button div { + background: transparent url(../images/arrows.png) no-repeat 0 -72px; +} +.folded #collapse-button div { + background-position: 0 -108px; +} + +/* menu and screen icons */ #adminmenu .menu-icon-dashboard div.wp-menu-image { - background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -61px -33px; + background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -60px -33px; } #adminmenu .menu-icon-dashboard:hover div.wp-menu-image, #adminmenu .menu-icon-dashboard.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-dashboard.current div.wp-menu-image { - background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -61px -1px; + background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -60px -1px; } #adminmenu .menu-icon-post div.wp-menu-image { - background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -272px -33px; + background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -271px -33px; } #adminmenu .menu-icon-post:hover div.wp-menu-image, #adminmenu .menu-icon-post.wp-has-current-submenu div.wp-menu-image { - background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -272px -1px; + background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -271px -1px; } #adminmenu .menu-icon-media div.wp-menu-image { - background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -121px -33px; + background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -120px -33px; } #adminmenu .menu-icon-media:hover div.wp-menu-image, #adminmenu .menu-icon-media.wp-has-current-submenu div.wp-menu-image { - background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -121px -1px; + background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -120px -1px; } #adminmenu .menu-icon-links div.wp-menu-image { - background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -91px -33px; + background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -90px -33px; } #adminmenu .menu-icon-links:hover div.wp-menu-image, #adminmenu .menu-icon-links.wp-has-current-submenu div.wp-menu-image { - background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -91px -1px; + background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -90px -1px; } #adminmenu .menu-icon-page div.wp-menu-image { - background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -151px -33px; + background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -150px -33px; } #adminmenu .menu-icon-page:hover div.wp-menu-image, #adminmenu .menu-icon-page.wp-has-current-submenu div.wp-menu-image { - background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -151px -1px; + background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -150px -1px; } #adminmenu .menu-icon-comments div.wp-menu-image { - background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -31px -33px; + background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -30px -33px; } #adminmenu .menu-icon-comments:hover div.wp-menu-image, #adminmenu .menu-icon-comments.wp-has-current-submenu div.wp-menu-image, #adminmenu .menu-icon-comments.current div.wp-menu-image { - background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -31px -1px; + background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -30px -1px; } #adminmenu .menu-icon-appearance div.wp-menu-image { - background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -1px -33px; + background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll 0 -33px; } #adminmenu .menu-icon-appearance:hover div.wp-menu-image, #adminmenu .menu-icon-appearance.wp-has-current-submenu div.wp-menu-image { - background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -1px -1px; + background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll 0 -1px; } #adminmenu .menu-icon-plugins div.wp-menu-image { - background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -181px -33px; + background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -180px -33px; } #adminmenu .menu-icon-plugins:hover div.wp-menu-image, #adminmenu .menu-icon-plugins.wp-has-current-submenu div.wp-menu-image { - background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -181px -1px; + background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -180px -1px; } #adminmenu .menu-icon-users div.wp-menu-image { - background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -301px -33px; + background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -300px -33px; } #adminmenu .menu-icon-users:hover div.wp-menu-image, -#adminmenu .menu-icon-users.wp-has-current-submenu div.wp-menu-image { - background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -301px -1px; +#adminmenu .menu-icon-users.wp-has-current-submenu div.wp-menu-image, +#adminmenu .menu-icon-users.current div.wp-menu-image { + background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -300px -1px; } #adminmenu .menu-icon-tools div.wp-menu-image { - background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -211px -33px; + background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -210px -33px; } #adminmenu .menu-icon-tools:hover div.wp-menu-image, -#adminmenu .menu-icon-tools.wp-has-current-submenu div.wp-menu-image { - background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -211px -1px; +#adminmenu .menu-icon-tools.wp-has-current-submenu div.wp-menu-image, +#adminmenu .menu-icon-tools.current div.wp-menu-image { + background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -210px -1px; } +#icon-options-general, #adminmenu .menu-icon-settings div.wp-menu-image { - background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -241px -33px; + background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -240px -33px; } #adminmenu .menu-icon-settings:hover div.wp-menu-image, #adminmenu .menu-icon-settings.wp-has-current-submenu div.wp-menu-image { - background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -241px -1px; + background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -240px -1px; } #adminmenu .menu-icon-site div.wp-menu-image { - background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -361px -33px; + background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -360px -33px; } #adminmenu .menu-icon-site:hover div.wp-menu-image, #adminmenu .menu-icon-site.wp-has-current-submenu div.wp-menu-image { - background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -361px -1px; + background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -360px -1px; } -/* end menu */ +/* end menu and screen icons */ + +/* Screen Icons */ +#icon-edit, +#icon-post { + background: transparent url(../images/icons32.png?ver=20100531) no-repeat -552px -5px; +} + +#icon-index { + background: transparent url(../images/icons32.png?ver=20100531) no-repeat -137px -5px; +} + +#icon-upload { + background: transparent url(../images/icons32.png?ver=20100531) no-repeat -251px -5px; +} + +#icon-link-manager, +#icon-link, +#icon-link-category { + background: transparent url(../images/icons32.png?ver=20100531) no-repeat -190px -5px; +} + +#icon-edit-pages, +#icon-page { + background: transparent url(../images/icons32.png?ver=20100531) no-repeat -312px -5px; +} + +#icon-edit-comments { + background: transparent url(../images/icons32.png?ver=20100531) no-repeat -72px -5px; +} + +#icon-themes { + background: transparent url(../images/icons32.png?ver=20100531) no-repeat -11px -5px; +} + +#icon-plugins { + background: transparent url(../images/icons32.png?ver=20100531) no-repeat -370px -5px; +} + +#icon-users, +#icon-profile, +#icon-user-edit { + background: transparent url(../images/icons32.png?ver=20100531) no-repeat -600px -5px; +} + +#icon-tools, +#icon-admin { + background: transparent url(../images/icons32.png?ver=20100531) no-repeat -432px -5px; +} + +#icon-options-general { + background: transparent url(../images/icons32.png?ver=20100531) no-repeat -492px -5px; +} + +#icon-ms-admin { + background: transparent url(../images/icons32.png?ver=20100531) no-repeat -659px -5px; +} +/* end screen icons */ /* Diff */ @@ -1282,8 +1565,22 @@ table.diff .diff-addedline ins { border-color: #dfdfdf; } +#screen-options-link-wrap, +#contextual-help-link-wrap { + background-color: #e3e3e3; /* Fallback */ + border-right: 1px solid transparent; + border-left: 1px solid transparent; + border-bottom: 1px solid transparent; + background-image: -ms-linear-gradient(bottom, #dfdfdf, #f1f1f1); /* IE10 */ + background-image: -moz-linear-gradient(bottom, #dfdfdf, #f1f1f1); /* Firefox */ + background-image: -o-linear-gradient(bottom, #dfdfdf, #f1f1f1); /* Opera */ + background-image: -webkit-gradient(linear, left bottom, left top, from(#dfdfdf), to(#f1f1f1)); /* old Webkit */ + background-image: -webkit-linear-gradient(bottom, #dfdfdf, #f1f1f1); /* new Webkit */ + background-image: linear-gradient(bottom, #dfdfdf, #f1f1f1); /* proposed W3C Markup */ +} + #screen-meta-links a.show-settings { - color: #606060; + color: #777; } #screen-meta-links a.show-settings:hover { @@ -1326,6 +1623,16 @@ div.star.select:hover { background-color: #d00; } +div.star img { + border-left: 1px solid #fff; + border-right: 1px solid #fff; +} + +.widefat div.star img { + border-left: 1px solid #f9f9f9; + border-right: 1px solid #f9f9f9; +} + #plugin-information .fyi ul { background-color: #eaf3fa; } @@ -1383,11 +1690,7 @@ fieldset.inline-edit-col-right .inline-edit-col { } .meta-box-sortables .postbox:hover .handlediv { - background: transparent url(../images/menu-bits.gif?ver=20100610) no-repeat scroll left -111px; -} - -#major-publishing-actions { - background: #eaf2fa; + background: transparent url(../images/arrows.png) no-repeat 6px 7px; } .tablenav .tablenav-pages { @@ -1435,11 +1738,12 @@ fieldset.inline-edit-col-right .inline-edit-col { } .misc-pub-section { - border-bottom-color: #eee; + border-top-color: #fff; + border-bottom-color: #dfdfdf; } #minor-publishing { - border-bottom-color: #ddd; + border-bottom-color: #dfdfdf; } #post-body .misc-pub-section { @@ -1484,7 +1788,7 @@ body.press-this ul.category-tabs li.tabs a { #favorite-first { border-color: #c0c0c0; background: #f1f1f1; /* fallback color */ - background:-moz-linear-gradient(bottom, #e7e7e7, #fff); + background:-moz-linear-gradient(bottom, #e7e7e7, #fff); background:-webkit-gradient(linear, left bottom, left top, from(#e7e7e7), to(#fff)); } @@ -1494,7 +1798,11 @@ body.press-this ul.category-tabs li.tabs a { } #favorite-toggle { - background: transparent url(../images/fav-arrow.gif?ver=20100531) no-repeat 0 -4px; + background: transparent url(../images/arrows.png) no-repeat 4px 2px; + border-color: #dfdfdf; + -moz-box-shadow: inset 1px 0 0 #fff; + -webkit-box-shadow: inset 1px 0 0 #fff; + box-shadow: inset 1px 0 0 #fff; } #favorite-actions a { @@ -1511,62 +1819,11 @@ body.press-this ul.category-tabs li.tabs a { #screen-meta a.show-settings, .toggle-arrow { - background-image:url("../images/screen-options-toggle.gif?ver=20100531"); + background: transparent url(../images/arrows.png) no-repeat right 3px; } -#icon-edit, -#icon-post { - background: transparent url(../images/icons32.png?ver=20100531) no-repeat -552px -5px; -} - -#icon-index { - background: transparent url(../images/icons32.png?ver=20100531) no-repeat -137px -5px; -} - -#icon-upload { - background: transparent url(../images/icons32.png?ver=20100531) no-repeat -251px -5px; -} - -#icon-link-manager, -#icon-link, -#icon-link-category { - background: transparent url(../images/icons32.png?ver=20100531) no-repeat -190px -5px; -} - -#icon-edit-pages, -#icon-page { - background: transparent url(../images/icons32.png?ver=20100531) no-repeat -312px -5px; -} - -#icon-edit-comments { - background: transparent url(../images/icons32.png?ver=20100531) no-repeat -72px -5px; -} - -#icon-themes { - background: transparent url(../images/icons32.png?ver=20100531) no-repeat -11px -5px; -} - -#icon-plugins { - background: transparent url(../images/icons32.png?ver=20100531) no-repeat -370px -5px; -} - -#icon-users, -#icon-profile, -#icon-user-edit { - background: transparent url(../images/icons32.png?ver=20100531) no-repeat -600px -5px; -} - -#icon-tools, -#icon-admin { - background: transparent url(../images/icons32.png?ver=20100531) no-repeat -432px -5px; -} - -#icon-options-general { - background: transparent url(../images/icons32.png?ver=20100531) no-repeat -492px -5px; -} - -#icon-ms-admin { - background: transparent url(../images/icons32.png?ver=20100531) no-repeat -659px -5px; +#screen-meta .screen-meta-active a.show-settings { + background: transparent url(../images/arrows.png) no-repeat right -33px; } .view-switch #view-switch-list { @@ -1586,7 +1843,7 @@ body.press-this ul.category-tabs li.tabs a { } #header-logo { - background: transparent url(../images/wp-logo.png?ver=20100531) no-repeat scroll center center; + background: transparent url(../images/wp-logo.png?ver=20110504) no-repeat scroll center center; } .popular-tags, @@ -1605,28 +1862,26 @@ body.press-this ul.category-tabs li.tabs a { div.widgets-sortables, #widgets-left .inactive { - background-color: #f1f1f1; - border-color: #ddd; -} - -#available-widgets .widget-holder { - background-color: #fff; - border-color: #ddd; -} - -#widgets-left .sidebar-name { - background-color: #aaa; - background-image: url(../images/ed-bg.gif); - text-shadow: #fff 0 1px 0; + background-color: #fcfcfc; border-color: #dfdfdf; } -#widgets-right .sidebar-name { - background-image: url(../images/fav.png); - text-shadow: #3f3f3f 0 -1px 0; - background-color: #636363; - border-color: #636363; - color: #fff; +#available-widgets .widget-holder { + background-color: #fcfcfc; + border-color: #dfdfdf; +} + +#available-widgets .widget-description { + color: #555; +} + +.sidebar-name { + color: #464646; + text-shadow: #fff 0 1px 0; + border-color: #dfdfdf; + -moz-box-shadow: inset 0 1px 0 #fff; + -webkit-box-shadow: inset 0 1px 0 #fff; + box-shadow: inset 0 1px 0 #fff; } .sidebar-name:hover, @@ -1638,12 +1893,12 @@ div.widgets-sortables, color: black; } -#widgets-left .sidebar-name-arrow { - background: transparent url(../images/menu-bits.gif?ver=20100610) no-repeat scroll left -109px; +.sidebar-name-arrow { + background: transparent url(../images/arrows.png) no-repeat 5px 9px; } -#widgets-right .sidebar-name-arrow { - background: transparent url(../images/widgets-arrow.gif?ver=20100531) no-repeat scroll 0 -1px; +.sidebar-name:hover .sidebar-name-arrow { + background: transparent url(../images/arrows-dark.png) no-repeat 5px 9px; } .in-widget-title { @@ -1684,11 +1939,153 @@ div.widgets-sortables, background-color: #f1f1f1; } -#nav-menu-header, #nav-menu-footer, .menu-item-handle { - background: url("../images/gray-grad.png") repeat-x scroll left top #dfdfdf; +/* added from nav-menu.css */ +#menu-management .menu-edit { + border-color: #dfdfdf; +} + +#post-body { + background: #fff; + border-top-color: #fff; + border-bottom-color: #dfdfdf; +} + +#nav-menu-header { + border-bottom-color: #dfdfdf; +} + +#nav-menu-footer { + border-top-color: #fff; +} + +#menu-management .nav-tabs-arrow a { + color: #C1C1C1; +} + +#menu-management .nav-tabs-arrow a:hover { + color: #D54E21; +} + +#menu-management .nav-tabs-arrow a:active { + color: #464646; } #menu-management .nav-tab-active { - background: #ececec; - border-bottom-color: #ececec; + border-color: #dfdfdf; +} + +#menu-management .nav-tab { + background: #fbfbfb; + border-color: #dfdfdf; +} + +.js .input-with-default-title { + color: #aaa; +} + +#cancel-save { + color: #ff0000; +} + +#cancel-save:hover { + background-color: #FF0000; + color: #fff; +} + +.list-container { + border-color: #DFDFDF; +} + +.menu-item-handle { + border-color: #dfdfdf; +} + +.menu li.deleting .menu-item-handle { + background-color: #f66; + text-shadow: #ccc; +} + +.item-type { /* Menu item controls */ + color: #999999; +} + +.item-controls .menu-item-delete:hover { + color: #ff0000; +} + +.item-edit { + background: transparent url(../images/arrows.png) no-repeat 8px 10px; + border-bottom-color: #eee; +} + +.item-edit:hover { + background: transparent url(../images/arrows-dark.png) no-repeat 8px 10px; +} + +.menu-item-settings { /* Menu editing */ + border-color: #dfdfdf; +} + +.link-to-original { + color: #777; + border-color: #dfdfdf; +} + +#cancel-save:hover { + color: #fff !important; +} + +#update-menu-item { + color: #fff !important; +} + +#update-menu-item:hover, +#update-menu-item:active, +#update-menu-item:focus { + color: #eaf2fa !important; + border-color: #13455b !important; +} + +.submitbox .submitcancel { + color: #21759B; + border-bottom-color: #21759B; +} + +.submitbox .submitcancel:hover { + background: #21759B; + color: #fff; +} +/* end added from nav-menu.css */ + +#menu-management .nav-tab-active, +.menu-item-handle, +.menu-item-settings { + -moz-box-shadow: inset 0 1px 0 #fff; + -webkit-box-shadow: inset 0 1px 0 #fff; + box-shadow: inset 0 1px 0 #fff; +} + +#menu-management .nav-tab-active { + background: #f9f9f9; + border-bottom-color: #f9f9f9; +} + +/* custom header & background pages */ +#upload-form label { + color: #777; +} +/* custom header & background pages */ + +/* full screen */ +.fullscreen-overlay { + background: #fff; +} + +.wp-fullscreen-focus #wp-fullscreen-title, +.wp-fullscreen-focus #wp-fullscreen-container { + border-color: #ccc; +} + +#fullscreen-topbar { + border-bottom-color: #DFDFDF; } diff --git a/src/wp-admin/css/dashboard-rtl.css b/src/wp-admin/css/dashboard-rtl.css index f7c4949..14d25ae 100644 --- a/src/wp-admin/css/dashboard-rtl.css +++ b/src/wp-admin/css/dashboard-rtl.css @@ -1 +1 @@ -#dashboard-widgets-wrap .has-sidebar{margin-right:0;margin-left:-51%;}#dashboard-widgets-wrap .has-sidebar .has-sidebar-content{margin-right:0;margin-left:51%;}.view-all{right:auto;left:0;}#dashboard_right_now p.sub,#dashboard-widgets h4,#dashboard_quick_press h4,a.rsswidget,#dashboard_plugins h4,#dashboard_plugins h5,#dashboard_recent_comments .comment-meta .approve{font-family:Tahoma,Arial;}#dashboard_right_now p.sub{font-style:normal;left:auto;right:15px;}#dashboard_right_now td.b{padding-right:0;padding-left:6px;text-align:left;font-family:Tahoma,Arial;}#dashboard_right_now .t{padding-right:0;padding-left:12px;}#dashboard_right_now .table_content{float:right;}#dashboard_right_now .table_discussion{float:left;}#dashboard_right_now .versions a{font-family:Tahoma,Arial;}#dashboard_right_now a.button{float:left;clear:left;}#dashboard-widgets h3 .postbox-title-action{right:auto;left:30px;}#the-comment-list .pingback{padding-left:0!important;padding-right:9px!important;}#the-comment-list .comment-item{padding:1em 70px 1em 10px;}#the-comment-list .comment-item .avatar{float:right;margin-left:0;margin-right:-60px;}.rss-widget cite{text-align:left;}.rss-widget span.rss-date{font-family:Tahoma,Arial;margin-left:0;margin-right:3px;}#dashboard_quick_press h4{float:right;text-align:left;}#dashboard_quick_press h4 label{margin-right:0;margin-left:10px;}#dashboard_quick_press .input-text-wrap,#dashboard_quick_press .textarea-wrap{margin:0 5em 1em 0;}#dashboard_quick_press #media-buttons{margin:0 5em .5em 0;padding:0 10px 0 0;}#dashboard-widgets #dashboard_quick_press form p.submit{margin-left:0;margin-right:4.6em;}#dashboard-widgets #dashboard_quick_press form p.submit input{float:right;}#dashboard-widgets #dashboard_quick_press form p.submit #save-post{margin:0 10px 0 1em;}#dashboard-widgets #dashboard_quick_press form p.submit #publish{float:left;}#dashboard-widgets #dashboard_quick_press form p.submit img.waiting{margin:4px 0 0 6px;}#dashboard_recent_drafts h4 abbr{font-family:Tahoma,Arial;margin-left:0;margin-right:3px;} \ No newline at end of file +#dashboard-widgets-wrap .has-sidebar{margin-right:0;margin-left:-51%;}#dashboard-widgets-wrap .has-sidebar .has-sidebar-content{margin-right:0;margin-left:51%;}.view-all{right:auto;left:0;}#dashboard_right_now p.sub,#dashboard-widgets h4,#dashboard_quick_press h4,a.rsswidget,#dashboard_plugins h4,#dashboard_plugins h5,#dashboard_recent_comments .comment-meta .approve{font-family:Tahoma,Arial;}#dashboard_right_now p.sub{left:auto;right:15px;}#dashboard_right_now td.b{padding-right:0;padding-left:6px;text-align:left;font-family:Tahoma,Arial;}#dashboard_right_now .t{padding-right:0;padding-left:12px;}#dashboard_right_now .table_content{float:right;}#dashboard_right_now .table_discussion{float:left;}#dashboard_right_now .versions a{font-family:Tahoma,Arial;}#dashboard_right_now a.button{float:left;clear:left;}#dashboard_plugins .inside span{padding-left:0;padding-right:5px;}#dashboard-widgets h3 .postbox-title-action{right:auto;left:30px;}#the-comment-list .pingback{padding-left:0!important;padding-right:9px!important;}#the-comment-list .comment-item{padding:1em 70px 1em 10px;}#the-comment-list .comment-item .avatar{float:right;margin-left:0;margin-right:-60px;}.rss-widget cite{text-align:left;}.rss-widget span.rss-date{font-family:Tahoma,Arial;margin-left:0;margin-right:3px;}#dashboard_quick_press h4{float:right;text-align:left;}#dashboard_quick_press h4 label{margin-right:0;margin-left:10px;}#dashboard_quick_press .input-text-wrap,#dashboard_quick_press .textarea-wrap{margin:0 5em 1em 0;}#dashboard_quick_press #media-buttons{margin:0 5em .5em 0;padding:0 10px 0 0;}#dashboard-widgets #dashboard_quick_press form p.submit{margin-left:0;margin-right:4.6em;}#dashboard-widgets #dashboard_quick_press form p.submit input{float:right;}#dashboard-widgets #dashboard_quick_press form p.submit #save-post{margin:0 10px 0 1em;}#dashboard-widgets #dashboard_quick_press form p.submit #publish{float:left;}#dashboard-widgets #dashboard_quick_press form p.submit img.waiting{margin:4px 0 0 6px;}#dashboard_recent_drafts h4 abbr{font-family:Tahoma,Arial;margin-left:0;margin-right:3px;} \ No newline at end of file diff --git a/src/wp-admin/css/dashboard-rtl.dev.css b/src/wp-admin/css/dashboard-rtl.dev.css index b0219f2..8617bfa 100644 --- a/src/wp-admin/css/dashboard-rtl.dev.css +++ b/src/wp-admin/css/dashboard-rtl.dev.css @@ -14,7 +14,6 @@ font-family: Tahoma, Arial; } #dashboard_right_now p.sub { - font-style:normal; left:auto; right:15px; } @@ -41,6 +40,10 @@ float: left; clear: left; } +#dashboard_plugins .inside span { + padding-left: 0; + padding-right: 5px; +} #dashboard-widgets h3 .postbox-title-action { right: auto; left: 30px; diff --git a/src/wp-admin/css/dashboard.css b/src/wp-admin/css/dashboard.css index 4d8ffdd..72b430e 100644 --- a/src/wp-admin/css/dashboard.css +++ b/src/wp-admin/css/dashboard.css @@ -1 +1 @@ -.postbox p,.postbox ul,.postbox ol,.postbox blockquote,#wp-version-message{font-size:11px;}.edit-box{display:none;}h3:hover .edit-box{display:inline;}form .input-text-wrap{border-style:solid;border-width:1px;padding:2px 3px;border-color:#ccc;}#dashboard-widgets form .input-text-wrap input{border:0 none;outline:none;margin:0;padding:0;width:99%;color:#333;}form .textarea-wrap{border-style:solid;border-width:1px;padding:2px;border-color:#ccc;}#dashboard-widgets form .textarea-wrap textarea{border:0 none;padding:0;outline:none;width:99%;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;}#dashboard-widgets .postbox form .submit{float:none;margin:.5em 0 0;padding:0;border:none;}#dashboard-widgets-wrap #dashboard-widgets .postbox form .submit input{margin:0;}#dashboard-widgets-wrap #dashboard-widgets .postbox form .submit #publish{min-width:0;}div.postbox div.inside{margin:10px;position:relative;}#dashboard-widgets a{text-decoration:none;}#dashboard-widgets h3 a{text-decoration:underline;}#dashboard-widgets h3 .postbox-title-action{position:absolute;right:30px;padding:0;}#dashboard-widgets h4{font-family:Georgia,"Times New Roman","Bitstream Charter",Times,serif;font-size:13px;margin:0 0 .2em;padding:0;}#dashboard_right_now p.sub,#dashboard_right_now .table,#dashboard_right_now .versions{margin:-12px;}#dashboard_right_now .inside{font-size:12px;padding-top:20px;}#dashboard_right_now p.sub{font-style:italic;font-family:Georgia,"Times New Roman","Bitstream Charter",Times,serif;padding:5px 10px 15px;color:#777;font-size:13px;position:absolute;top:-17px;left:15px;}#dashboard_right_now .table{margin:0 -9px;padding:0 10px;position:relative;}#dashboard_right_now .table_content{float:left;border-top:#ececec 1px solid;width:45%;}#dashboard_right_now .table_discussion{float:right;border-top:#ececec 1px solid;width:45%;}#dashboard_right_now table td{padding:3px 0;white-space:nowrap;}#dashboard_right_now table tr.first td{border-top:none;}#dashboard_right_now td.b{padding-right:6px;text-align:right;font-family:Georgia,"Times New Roman","Bitstream Charter",Times,serif;font-size:14px;width:1%;}#dashboard_right_now td.b a{font-size:18px;}#dashboard_right_now td.b a:hover{color:#d54e21;}#dashboard_right_now .t{font-size:12px;padding-right:12px;padding-top:6px;color:#777;}#dashboard_right_now .t a{white-space:nowrap;}#dashboard_right_now .spam{color:red;}#dashboard_right_now .waiting{color:#e66f00;}#dashboard_right_now .approved{color:green;}#dashboard_right_now .versions{padding:6px 10px 12px;clear:both;}#dashboard_right_now .versions .b{font-weight:bold;}#dashboard_right_now a.button{float:right;clear:right;position:relative;top:-5px;}#dashboard_recent_comments h3{margin-bottom:0;}#dashboard_recent_comments .inside{margin-top:0;}#dashboard_recent_comments .comment-meta .approve{font-style:italic;font-family:"Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif;font-size:10px;}#the-comment-list{position:relative;}#the-comment-list .comment-item{padding:1em 10px;border-top:1px solid;}#the-comment-list .pingback{padding-left:9px!important;}#the-comment-list .comment-item,#the-comment-list #replyrow{margin:0 -10px;}#the-comment-list .comment-item:first-child{border-top:none;}#the-comment-list .comment-item .avatar{float:left;margin:0 10px 5px 0;}#the-comment-list .comment-item h4{line-height:1.4;margin-top:-.2em;font-weight:normal;color:#999;}#the-comment-list .comment-item h4 cite{font-style:normal;font-weight:normal;}#the-comment-list .comment-item blockquote,#the-comment-list .comment-item blockquote p{margin:0;padding:0;display:inline;}#dashboard_recent_comments #the-comment-list .trackback blockquote,#dashboard_recent_comments #the-comment-list .pingback blockquote{display:block;}#the-comment-list .comment-item p.row-actions{margin:3px 0 0;padding:0;font-size:10px;}#dashboard_quick_press h4{font-family:"Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif;float:left;width:5.5em;clear:both;font-weight:normal;text-align:right;padding-top:5px;font-size:12px;}#dashboard_quick_press h4 label{margin-right:10px;}#dashboard_quick_press{min-height:200px;}#dashboard_quick_press.closed{min-height:0;}#dashboard_quick_press .input-text-wrap,#dashboard_quick_press .textarea-wrap{margin:0 0 1em 5em;}#dashboard_quick_press #media-buttons{margin:0 0 .5em 5em;padding:0 0 0 10px;font-size:11px;}#dashboard_quick_press #media-buttons a{vertical-align:bottom;}#dashboard-widgets #dashboard_quick_press form p.submit{margin-left:4.6em;}#dashboard-widgets #dashboard_quick_press form p.submit input{float:left;}#dashboard-widgets #dashboard_quick_press form p.submit #save-post{margin:0 1em 0 10px;}#dashboard-widgets #dashboard_quick_press form p.submit #publish{float:right;}#dashboard-widgets #dashboard_quick_press form p.submit img.waiting{vertical-align:middle;visibility:hidden;margin:4px 6px 0 0;}#dashboard_recent_drafts ul{margin:0;padding:0;list-style:none;}#dashboard_recent_drafts ul li{margin-bottom:.6em;}#dashboard_recent_drafts h4{font-weight:normal;}#dashboard_recent_drafts h4 abbr{font-family:"Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif;font-size:11px;color:#999;margin-left:3px;}#dashboard_recent_drafts p{margin:0;padding:0;}.rss-widget ul{margin:0;padding:0;list-style:none;}a.rsswidget{font-size:13px;font-family:Georgia,"Times New Roman","Bitstream Charter",Times,serif;line-height:1.7em;}.rss-widget ul li{line-height:1.5em;margin-bottom:12px;}.rss-widget span.rss-date{margin-left:3px;}.rss-widget cite{display:block;text-align:right;margin:0 0 1em;padding:0;}.rss-widget cite:before{content:'\2014';}#dashboard_plugins h4{font-family:"Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif;}#dashboard_plugins h5{font-family:Georgia,"Times New Roman","Bitstream Charter",Times,serif;font-size:13px!important;margin:0;display:inline;line-height:1.4em;}#dashboard_plugins h5 a{font-weight:normal;line-height:1.7em;}#dashboard_plugins p{margin:0 0 1.4em;line-height:1.4em;}.dashboard-comment-wrap{overflow:hidden;word-wrap:break-word;} \ No newline at end of file +.postbox p,.postbox ul,.postbox ol,.postbox blockquote,#wp-version-message{font-size:12px;}.edit-box{display:none;}h3:hover .edit-box{display:inline;}form .input-text-wrap{background:#fff;border-style:solid;border-width:1px;padding:2px 3px;border-color:#ccc;}#dashboard-widgets form .input-text-wrap input{border:0 none;outline:none;margin:0;padding:0;width:99%;color:#333;}form .textarea-wrap{background:#fff;border-style:solid;border-width:1px;padding:2px;border-color:#ccc;}#dashboard-widgets form .textarea-wrap textarea{border:0 none;padding:0;outline:none;width:99%;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;}#dashboard-widgets .postbox form .submit{float:none;margin:.5em 0 0;padding:0;border:none;}#dashboard-widgets-wrap #dashboard-widgets .postbox form .submit input{margin:0;}#dashboard-widgets-wrap #dashboard-widgets .postbox form .submit #publish{min-width:0;}div.postbox div.inside{margin:10px 0;position:relative;}#dashboard-widgets a{text-decoration:none;}#dashboard-widgets h3 a{text-decoration:underline;}#dashboard-widgets h3 .postbox-title-action{position:absolute;right:30px;padding:0;top:8px;}#dashboard-widgets h4{font-family:Georgia,"Times New Roman","Bitstream Charter",Times,serif;font-weight:normal;font-size:13px;margin:0 0 .2em;padding:0;}#dashboard_right_now p.sub,#dashboard_right_now .table,#dashboard_right_now .versions{margin:-12px;}#dashboard_right_now .inside{font-size:12px;padding-top:20px;}#dashboard_right_now p.sub{padding:5px 0 15px;color:#8f8f8f;font-size:14px;position:absolute;top:-17px;left:15px;}#dashboard_right_now .table{margin:0;padding:0;position:relative;}#dashboard_right_now .table_content{float:left;border-top:#ececec 1px solid;width:45%;}#dashboard_right_now .table_discussion{float:right;border-top:#ececec 1px solid;width:45%;}#dashboard_right_now table td{padding:3px 0;white-space:nowrap;}#dashboard_right_now table tr.first td{border-top:none;}#dashboard_right_now td.b{padding-right:6px;text-align:right;font-family:Georgia,"Times New Roman","Bitstream Charter",Times,serif;font-size:14px;width:1%;}#dashboard_right_now td.b a{font-size:18px;}#dashboard_right_now td.b a:hover{color:#d54e21;}#dashboard_right_now .t{font-size:12px;padding-right:12px;padding-top:6px;color:#777;}#dashboard_right_now .t a{white-space:nowrap;}#dashboard_right_now .spam{color:red;}#dashboard_right_now .waiting{color:#e66f00;}#dashboard_right_now .approved{color:green;}#dashboard_right_now .versions{padding:6px 10px 12px;clear:both;}#dashboard_right_now .versions .b{font-weight:bold;}#dashboard_right_now a.button{float:right;clear:right;position:relative;top:-5px;}#dashboard_recent_comments h3{margin-bottom:0;}#dashboard_recent_comments .inside{margin-top:0;}#dashboard_recent_comments .comment-meta .approve{font-style:italic;font-family:Arial,"Bitstream Vera Sans",Helvetica,Verdana,sans-serif;font-size:10px;}#dashboard_recent_comments .subsubsub{float:none;}#the-comment-list{position:relative;}#the-comment-list .comment-item{padding:1em 10px;border-top:1px solid;}#the-comment-list .pingback{padding-left:9px!important;}#the-comment-list .comment-item,#the-comment-list #replyrow{margin:0 -10px;}#the-comment-list .comment-item:first-child{border-top:none;}#the-comment-list .comment-item .avatar{float:left;margin:0 10px 5px 0;}#the-comment-list .comment-item h4{line-height:1.7em;margin-top:-0.4em;color:#777;}#the-comment-list .comment-item h4 cite{font-style:normal;font-weight:normal;}#the-comment-list .comment-item blockquote,#the-comment-list .comment-item blockquote p{margin:0;padding:0;display:inline;}#dashboard_recent_comments #the-comment-list .trackback blockquote,#dashboard_recent_comments #the-comment-list .pingback blockquote{display:block;}#the-comment-list .comment-item p.row-actions{margin:3px 0 0;padding:0;font-size:12px;}#dashboard_quick_press h4{font-family:Arial,"Bitstream Vera Sans",Helvetica,Verdana,sans-serif;float:left;width:5.5em;clear:both;font-weight:normal;text-align:right;padding-top:5px;font-size:12px;}#dashboard_quick_press h4 label{margin-right:10px;}#dashboard_quick_press .input-text-wrap,#dashboard_quick_press .textarea-wrap{margin:0 0 1em 5em;}#dashboard_quick_press #media-buttons{margin:0 0 .5em 5em;padding:0 0 0 10px;font-size:12px;line-height:17px;color:#777;}#dashboard_quick_press #media-buttons a{vertical-align:bottom;}#dashboard-widgets #dashboard_quick_press form p.submit{margin-left:4.6em;}#dashboard-widgets #dashboard_quick_press form p.submit input{float:left;}#dashboard-widgets #dashboard_quick_press form p.submit #save-post{margin:0 1em 0 10px;}#dashboard-widgets #dashboard_quick_press form p.submit #publish{float:right;}#dashboard-widgets #dashboard_quick_press form p.submit img.waiting{vertical-align:middle;visibility:hidden;margin:4px 6px 0 0;}#dashboard_recent_drafts ul{margin:0;padding:0;list-style:none;}#dashboard_recent_drafts ul li{margin-bottom:1em;}#dashboard_recent_drafts h4{line-height:1.7em;}#dashboard_recent_drafts h4 abbr{font-weight:normal;font-family:Arial,"Bitstream Vera Sans",Helvetica,Verdana,sans-serif;font-size:12px;color:#999;margin-left:3px;}#dashboard_recent_drafts p{margin:0;padding:0;}.rss-widget ul{margin:0;padding:0;list-style:none;}a.rsswidget{font-size:13px;font-family:Georgia,"Times New Roman","Bitstream Charter",Times,serif;line-height:1.7em;}.rss-widget ul li{line-height:1.5em;margin-bottom:12px;}.rss-widget span.rss-date{color:#999;font-size:12px;margin-left:3px;}.rss-widget cite{display:block;text-align:right;margin:0 0 1em;padding:0;}.rss-widget cite:before{content:'\2014';}#dashboard_plugins h4{line-height:1.7em;}#dashboard_plugins h5{font-family:Georgia,"Times New Roman","Bitstream Charter",Times,serif;font-weight:normal;font-size:13px;margin:0;display:inline;line-height:1.4em;}#dashboard_plugins h5 a{line-height:1.4em;}#dashboard_plugins .inside span{font-size:12px;padding-left:5px;}#dashboard_plugins p{margin:.3em 0 1.4em;line-height:1.4em;}.dashboard-comment-wrap{overflow:hidden;word-wrap:break-word;}#dashboard_browser_nag a.update-browser-link{font-size:1.2em;font-weight:bold;}#dashboard_browser_nag a{text-decoration:underline;}#dashboard_browser_nag p.browser-update-nag.has-browser-icon{padding-right:125px;}#dashboard_browser_nag .browser-icon{margin-top:-35px;}#dashboard_browser_nag.postbox.browser-insecure{background-color:#ac1b1b;border-color:#ac1b1b;}#dashboard_browser_nag.postbox{background-color:#e29808;background-image:none;border-color:#edc048;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;color:#fff;}#dashboard_browser_nag.postbox.browser-insecure h3{border-bottom-color:#cd5a5a;}#dashboard_browser_nag.postbox h3{border-bottom-color:#f6e2ac;text-shadow:none;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;background:transparent none;}#dashboard_browser_nag a{color:#fff;}#dashboard_browser_nag.browser-insecure a.browse-happy-link,#dashboard_browser_nag.browser-insecure a.update-browser-link{text-shadow:#871b15 0 1px 0;}#dashboard_browser_nag a.browse-happy-link,#dashboard_browser_nag a.update-browser-link{text-shadow:#d29a04 0 1px 0;} \ No newline at end of file diff --git a/src/wp-admin/css/dashboard.dev.css b/src/wp-admin/css/dashboard.dev.css index 15da850..5b6abfa 100644 --- a/src/wp-admin/css/dashboard.dev.css +++ b/src/wp-admin/css/dashboard.dev.css @@ -1,4 +1,10 @@ -.postbox p, .postbox ul, .postbox ol, .postbox blockquote, #wp-version-message { font-size: 11px; } +.postbox p, +.postbox ul, +.postbox ol, +.postbox blockquote, +#wp-version-message { + font-size: 12px; +} .edit-box { display: none; @@ -9,6 +15,7 @@ h3:hover .edit-box { } form .input-text-wrap { + background: #fff; border-style: solid; border-width: 1px; padding: 2px 3px; @@ -25,6 +32,7 @@ form .input-text-wrap { } form .textarea-wrap { + background: #fff; border-style: solid; border-width: 1px; padding: 2px; @@ -57,7 +65,7 @@ form .textarea-wrap { } div.postbox div.inside { - margin: 10px; + margin: 10px 0; position: relative; } @@ -73,10 +81,12 @@ div.postbox div.inside { position: absolute; right: 30px; padding: 0; + top: 8px; } #dashboard-widgets h4 { font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif; + font-weight: normal; font-size: 13px; margin: 0 0 .2em; padding: 0; @@ -95,19 +105,17 @@ div.postbox div.inside { } #dashboard_right_now p.sub { - font-style: italic; - font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif; - padding: 5px 10px 15px; - color: #777; - font-size: 13px; + padding: 5px 0 15px; + color: #8f8f8f; + font-size: 14px; position: absolute; top: -17px; left: 15px; } #dashboard_right_now .table { - margin: 0 -9px; - padding: 0 10px; + margin: 0; + padding: 0; position: relative; } @@ -199,10 +207,14 @@ div.postbox div.inside { #dashboard_recent_comments .comment-meta .approve { font-style: italic; - font-family: "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif; + font-family: Arial, "Bitstream Vera Sans", Helvetica, Verdana, sans-serif; font-size: 10px; } +#dashboard_recent_comments .subsubsub { + float: none; +} + #the-comment-list { position: relative; } @@ -231,10 +243,9 @@ div.postbox div.inside { } #the-comment-list .comment-item h4 { - line-height: 1.4; - margin-top: -.2em; - font-weight: normal; - color: #999; + line-height: 1.7em; + margin-top: -0.4em; + color: #777; } #the-comment-list .comment-item h4 cite { @@ -257,13 +268,13 @@ div.postbox div.inside { #the-comment-list .comment-item p.row-actions { margin: 3px 0 0; padding: 0; - font-size: 10px; + font-size: 12px; } /* QuickPress */ #dashboard_quick_press h4 { - font-family: "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif; + font-family: Arial, "Bitstream Vera Sans", Helvetica, Verdana, sans-serif; float: left; width: 5.5em; clear: both; @@ -277,14 +288,6 @@ div.postbox div.inside { margin-right: 10px; } -#dashboard_quick_press { - min-height: 200px; -} - -#dashboard_quick_press.closed { - min-height: 0; -} - #dashboard_quick_press .input-text-wrap, #dashboard_quick_press .textarea-wrap { margin: 0 0 1em 5em; @@ -293,7 +296,9 @@ div.postbox div.inside { #dashboard_quick_press #media-buttons { margin: 0 0 .5em 5em; padding: 0 0 0 10px; - font-size: 11px; + font-size: 12px; + line-height: 17px; + color: #777; } #dashboard_quick_press #media-buttons a { @@ -330,16 +335,17 @@ div.postbox div.inside { } #dashboard_recent_drafts ul li { - margin-bottom: 0.6em; + margin-bottom: 1em; } #dashboard_recent_drafts h4 { - font-weight: normal; + line-height: 1.7em; } #dashboard_recent_drafts h4 abbr { - font-family: "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif; - font-size: 11px; + font-weight: normal; + font-family: Arial, "Bitstream Vera Sans", Helvetica, Verdana, sans-serif; + font-size: 12px; color: #999; margin-left: 3px; } @@ -369,6 +375,8 @@ a.rsswidget { } .rss-widget span.rss-date { + color: #999; + font-size: 12px; margin-left: 3px; } @@ -384,26 +392,29 @@ a.rsswidget { } /* Plugins */ - #dashboard_plugins h4 { - font-family: "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif; + line-height: 1.7em; } - #dashboard_plugins h5 { font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif; - font-size: 13px !important; + font-weight: normal; + font-size: 13px; margin: 0; display: inline; line-height: 1.4em; } #dashboard_plugins h5 a { - font-weight: normal; - line-height: 1.7em; + line-height: 1.4em; +} + +#dashboard_plugins .inside span { + font-size: 12px; + padding-left: 5px; } #dashboard_plugins p { - margin: 0 0 1.4em; + margin: 0.3em 0 1.4em; line-height: 1.4em; } @@ -411,3 +422,63 @@ a.rsswidget { overflow: hidden; word-wrap: break-word; } + +/* Browser Nag */ +#dashboard_browser_nag a.update-browser-link { + font-size: 1.2em; + font-weight: bold; +} + +#dashboard_browser_nag a { + text-decoration: underline; +} + +#dashboard_browser_nag p.browser-update-nag.has-browser-icon { + padding-right: 125px; +} + +#dashboard_browser_nag .browser-icon { + margin-top: -35px; +} + +#dashboard_browser_nag.postbox.browser-insecure { + background-color: #ac1b1b; + border-color: #ac1b1b; +} + +#dashboard_browser_nag.postbox { + background-color: #e29808; + background-image: none; + border-color: #edc048; + -moz-box-shadow: none; + -webkit-box-shadow: none; + box-shadow: none; + color: #fff; +} + +#dashboard_browser_nag.postbox.browser-insecure h3 { + border-bottom-color: #cd5a5a; +} + +#dashboard_browser_nag.postbox h3 { + border-bottom-color: #f6e2ac; + text-shadow: none; + -moz-box-shadow: none; + -webkit-box-shadow: none; + box-shadow: none; + background: transparent none; +} + +#dashboard_browser_nag a { + color: #fff; +} + +#dashboard_browser_nag.browser-insecure a.browse-happy-link, +#dashboard_browser_nag.browser-insecure a.update-browser-link { + text-shadow: #871b15 0 1px 0; +} + +#dashboard_browser_nag a.browse-happy-link, +#dashboard_browser_nag a.update-browser-link { + text-shadow: #d29a04 0 1px 0; +} diff --git a/src/wp-admin/css/global-rtl.css b/src/wp-admin/css/global-rtl.css index d7a3480..b67b62e 100644 --- a/src/wp-admin/css/global-rtl.css +++ b/src/wp-admin/css/global-rtl.css @@ -1 +1 @@ -#adminmenu{float:right;clear:right;margin-right:-160px;margin-left:5px;}body.folded #adminmenu{margin-left:0;margin-right:-45px;}.inner-sidebar{float:left;clear:left;}.has-right-sidebar #post-body{clear:right;float:right;margin-right:0;margin-left:-340px;}.has-right-sidebar #post-body-content{margin-left:300px;margin-right:0;}#wpbody{margin-left:0;margin-right:175px;}.folded #wpbody{margin-left:0;margin-right:60px;}#wpbody-content{float:right;}#col-right{float:left;clear:left;}.wrap{margin:0 5px 0 15px;}body,td,textarea,input,select{font-family:Tahoma,arial;}.alignleft{float:right;}.alignright{float:left;}.subsubsub{float:right;}.widefat th{text-align:right;}.widefat th input{margin:0 8px 0 0;}.wrap h2{font-family:arial;padding:14px 0 3px 15px;font-style:normal;}.wrap h2.long-header{padding-left:0;}.updated,.error{clear:both;}.screen-reader-text,.screen-reader-text span{left:auto;text-indent:-1000em;} \ No newline at end of file +#wpcontent{margin-left:0;margin-right:165px;}.wp-admin #footer{margin-left:15px;margin-right:165px;}.folded #wpcontent{margin-left:0;margin-right:52px;}.folded.wp-admin #footer{margin-left:15px;margin-right:52px;}#wpbody-content{float:right;}#adminmenuwrap{float:right;}#adminmenu{clear:right;}.inner-sidebar{float:left;clear:left;}.has-right-sidebar #post-body{float:right;clear:right;margin-right:0;margin-left:-340px;}.has-right-sidebar #post-body-content{margin-right:0;margin-left:300px;}#col-right{float:left;clear:left;}.alignleft{float:right;}.alignright{float:left;}.textleft{text-align:right;}.textright{text-align:left;}.screen-reader-text,.screen-reader-text span{left:auto;right:-1000em;}body,td,textarea,input,select{font-family:Tahoma,Arial,sans-serif;}ul.ul-disc,ul.ul-square,ol.ol-decimal{margin-left:0;margin-right:1.8em;}.subsubsub{float:right;}.widefat thead th:first-of-type{-moz-border-radius-topleft:0;-moz-border-radius-topright:3px;-khtml-border-top-left-radius:0;-khtml-border-top-right-radius:3px;-webkit-border-top-left-radius:0;-webkit-border-top-right-radius:3px;border-top-left-radius:0;border-top-right-radius:3px;}.widefat thead th:last-of-type{-moz-border-radius-topright:0;-moz-border-radius-topleft:3px;-khtml-border-top-right-radius:0;-khtml-border-top-left-radius:3px;-webkit-border-top-right-radius:0;-webkit-border-top-left-radius:3px;border-top-right-radius:0;border-top-left-radius:3px;}.widefat tfoot th:first-of-type{-moz-border-radius-bottomleft:0;-moz-border-radius-bottomright:3px;-khtml-border-bottom-left-radius:0;-khtml-border-bottom-right-radius:3px;-webkit-border-bottom-left-radius:0;-webkit-border-bottom-right-radius:3px;border-bottom-left-radius:0;border-bottom-right-radius:3px;}.widefat tfoot th:last-of-type{-moz-border-radius-bottomright:0;-moz-border-radius-bottomleft:3px;-khtml-border-bottom-right-radius:0;-khtml-border-bottom-left-radius:3px;-webkit-border-bottom-right-radius:0;-webkit-border-bottom-left-radius:3px;border-bottom-right-radius:0;border-bottom-left-radius:3px;}.widefat th{text-align:right;}.widefat th input{margin:0 8px 0 0;}.wrap{margin:0 0 0 15px;}.wrap h2,.subtitle{font-family:Tahoma,Arial,sans-serif;}.wrap h2{padding:9px 0 4px 15px;}.subtitle{padding-left:0;padding-right:25px;}.wrap .add-new-h2{font-family:Tahoma,Arial,sans-serif;margin-left:0;margin-right:4px;}.wrap h2.long-header{padding-left:0;} \ No newline at end of file diff --git a/src/wp-admin/css/global-rtl.dev.css b/src/wp-admin/css/global-rtl.dev.css index 85d21c3..a22fa6c 100644 --- a/src/wp-admin/css/global-rtl.dev.css +++ b/src/wp-admin/css/global-rtl.dev.css @@ -1,14 +1,38 @@ + /* 2 column liquid layout */ -#adminmenu { - float: right; - clear: right; - margin-right:-160px; - margin-left: 5px; -} -body.folded #adminmenu { + +#wpcontent { margin-left: 0; - margin-right: -45px; + margin-right: 165px; } + +.wp-admin #footer { + margin-left: 15px; + margin-right: 165px; +} + +.folded #wpcontent { + margin-left: 0; + margin-right: 52px; +} + +.folded.wp-admin #footer { + margin-left: 15px; + margin-right: 52px; +} + +#wpbody-content { + float: right; +} + +#adminmenuwrap { + float: right; +} + +#adminmenu { + clear: right; +} + /* inner 2 column liquid layout */ .inner-sidebar { float: left; @@ -16,68 +40,142 @@ body.folded #adminmenu { } .has-right-sidebar #post-body { - clear:right; - float:right; - margin-right:0; - margin-left:-340px; + float: right; + clear: right; + margin-right: 0; + margin-left: -340px; } .has-right-sidebar #post-body-content { + margin-right: 0; margin-left: 300px; - margin-right:0; } -#wpbody { - margin-left:0; - margin-right: 175px; -} -.folded #wpbody { - margin-left: 0; - margin-right: 60px; -} -#wpbody-content { - float: right; -} /* 2 columns main area */ + #col-right { float: left; clear: left; } -.wrap { - margin: 0 5px 0 15px; -} -/* styles for use by people extending the WordPress interface */ -body, td, textarea, input, select { - font-family: Tahoma, arial; -} + +/* utility classes*/ .alignleft { float: right; } + .alignright { float: left; } + +.textleft { + text-align: right; +} + +.textright { + text-align: left; +} + +/* Hide visually but not from screen readers */ +.screen-reader-text, .screen-reader-text span { + left: auto; + right: -1000em; +} + +/* styles for use by people extending the WordPress interface */ + +body, +td, +textarea, +input, +select { + font-family: Tahoma, Arial, sans-serif; +} + +ul.ul-disc, +ul.ul-square, +ol.ol-decimal { + margin-left: 0; + margin-right: 1.8em; +} + .subsubsub { float: right; } + +.widefat thead th:first-of-type { + -moz-border-radius-topleft: 0; + -moz-border-radius-topright: 3px; + -khtml-border-top-left-radius: 0; + -khtml-border-top-right-radius: 3px; + -webkit-border-top-left-radius: 0; + -webkit-border-top-right-radius: 3px; + border-top-left-radius: 0; + border-top-right-radius: 3px; +} + +.widefat thead th:last-of-type { + -moz-border-radius-topright: 0; + -moz-border-radius-topleft: 3px; + -khtml-border-top-right-radius: 0; + -khtml-border-top-left-radius: 3px; + -webkit-border-top-right-radius: 0; + -webkit-border-top-left-radius: 3px; + border-top-right-radius: 0; + border-top-left-radius: 3px; +} +.widefat tfoot th:first-of-type { + -moz-border-radius-bottomleft: 0; + -moz-border-radius-bottomright: 3px; + -khtml-border-bottom-left-radius: 0; + -khtml-border-bottom-right-radius: 3px; + -webkit-border-bottom-left-radius: 0; + -webkit-border-bottom-right-radius: 3px; + border-bottom-left-radius: 0; + border-bottom-right-radius: 3px; +} +.widefat tfoot th:last-of-type { + -moz-border-radius-bottomright: 0; + -moz-border-radius-bottomleft: 3px; + -khtml-border-bottom-right-radius: 0; + -khtml-border-bottom-left-radius: 3px; + -webkit-border-bottom-right-radius: 0; + -webkit-border-bottom-left-radius: 3px; + border-bottom-right-radius: 0; + border-bottom-left-radius: 3px; +} + .widefat th { text-align: right; } + .widefat th input { margin: 0 8px 0 0; } -.wrap h2 { - font-family: arial; - padding: 14px 0 3px 15px; - font-style: normal; + +.wrap { + margin: 0 0 0 15px; } + + +.wrap h2, +.subtitle { + font-family: Tahoma, Arial, sans-serif; +} +.wrap h2 { + padding: 9px 0 4px 15px; +} + +.subtitle { + padding-left: 0; + padding-right: 25px; +} + +.wrap .add-new-h2 { + font-family: Tahoma, Arial, sans-serif; + margin-left: 0; + margin-right: 4px; +} + .wrap h2.long-header { padding-left: 0; } -.updated, .error { - clear: both; -} - -.screen-reader-text, .screen-reader-text span { - left:auto; - text-indent:-1000em; -} \ No newline at end of file diff --git a/src/wp-admin/css/global.css b/src/wp-admin/css/global.css index 0fd0af0..80130f3 100644 --- a/src/wp-admin/css/global.css +++ b/src/wp-admin/css/global.css @@ -1 +1 @@ -html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;background:transparent;}body{line-height:1;}ol,ul{list-style:none;}blockquote,q{quotes:none;}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none;}ins{text-decoration:none;}del{text-decoration:line-through;}#wpwrap{height:auto;min-height:100%;width:100%;}#wpcontent{height:100%;padding-bottom:50px;}#wpbody{clear:both;margin-left:175px;}.folded #wpbody{margin-left:60px;}#wpbody-content{float:left;width:100%;}#adminmenu{float:left;clear:left;width:145px;margin-top:15px;margin-right:5px;margin-bottom:15px;margin-left:-160px;position:relative;padding:0;list-style:none;}.folded #adminmenu{margin-left:-45px;}.folded #adminmenu,.folded #adminmenu li.menu-top{width:28px;}#footer{clear:both;position:relative;width:100%;}.inner-sidebar{float:right;clear:right;display:none;width:281px;position:relative;}.inner-sidebar #side-sortables{width:280px;min-height:300px;}.has-right-sidebar .inner-sidebar{display:block;}.has-right-sidebar #post-body{float:left;clear:left;width:100%;margin-right:-340px;}.has-right-sidebar #post-body-content{margin-right:300px;}#col-container{overflow:hidden;padding:0;margin:0;}#col-left{padding:0;margin:0;overflow:hidden;width:39%;}#col-right{float:right;clear:right;overflow:hidden;padding:0;margin:0;width:59%;}.alignleft{float:left;}.alignright{float:right;}.textleft{text-align:left;}.textright{text-align:right;}.clear{clear:both;}.screen-reader-text,.screen-reader-text span{position:absolute;left:-1000em;height:1px;width:1px;overflow:hidden;}.hidden,.js .closed .inside,.js .hide-if-js,.no-js .hide-if-no-js{display:none;}input[type="text"],input[type="password"],textarea{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;}input[type="checkbox"],input[type="radio"]{vertical-align:middle;}html,body{height:100%;}body,td,textarea,input,select{font-family:"Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif;font-size:13px;}body,textarea{line-height:1.4em;}input,select{line-height:15px;}p{margin:1em 0;}blockquote{margin:1em;}label{cursor:pointer;}li,dd{margin-bottom:6px;}p,li,dl,dd,dt{line-height:140%;}textarea,input,select{margin:1px;padding:3px;}h1{display:block;font-size:2em;font-weight:bold;margin:.67em 0;}h2{display:block;font-size:1.5em;font-weight:bold;margin:.83em 0;}h3{display:block;font-size:1.17em;font-weight:bold;margin:1em 0;}h4{display:block;font-size:1em;font-weight:bold;margin:1.33em 0;}h5{display:block;font-size:.83em;font-weight:bold;margin:1.67em 0;}h6{display:block;font-size:.67em;font-weight:bold;margin:2.33em 0;}ul.ul-disc{list-style:disc outside;}ul.ul-square{list-style:square outside;}ol.ol-decimal{list-style:decimal outside;}ul.ul-disc,ul.ul-square,ol.ol-decimal{margin-left:1.8em;}ul.ul-disc>li,ul.ul-square>li,ol.ol-decimal>li{margin:0 0 .5em;}.subsubsub{list-style:none;margin:8px 0 5px;padding:0;white-space:nowrap;font-size:11px;float:left;}.subsubsub a{line-height:2;padding:.2em;text-decoration:none;}.subsubsub a .count,.subsubsub a.current .count{color:#999;font-weight:normal;}.subsubsub a.current{font-weight:bold;background:none;border:none;}.subsubsub li{display:inline;margin:0;padding:0;}.widefat{border-width:1px;border-style:solid;border-spacing:0;width:100%;clear:both;margin:0;-moz-border-radius:4px;-khtml-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;}.widefat *{word-wrap:break-word;}.widefat a{text-decoration:none;}.widefat thead th:first-of-type{-moz-border-radius-topleft:3px;-khtml-border-top-left-radius:3px;-webkit-border-top-left-radius:3px;border-top-left-radius:3px;}.widefat thead th:last-of-type{-moz-border-radius-topright:3px;-khtml-border-top-right-radius:3px;-webkit-border-top-right-radius:3px;border-top-right-radius:3px;}.widefat tfoot th:first-of-type{-moz-border-radius-bottomleft:3px;-khtml-border-bottom-left-radius:3px;-webkit-border-bottom-left-radius:3px;border-bottom-left-radius:3px;}.widefat tfoot th:last-of-type{-moz-border-radius-bottomright:3px;-khtml-border-bottom-right-radius:3px;-webkit-border-bottom-right-radius:3px;border-bottom-right-radius:3px;}.widefat td,.widefat th{border-bottom-width:1px;border-bottom-style:solid;font-size:11px;}.widefat .no-items td{border-bottom-width:0;}.widefat td{padding:3px 7px;vertical-align:top;}.widefat td p,.widefat td ol,.widefat td ul{font-size:11px;}.widefat th{padding:7px 7px 8px;text-align:left;line-height:1.3em;}.widefat th input{margin:0 0 0 8px;padding:0;vertical-align:text-top;}.widefat .check-column{width:2.2em;padding:0;}.widefat tbody th.check-column{padding:7px 0 22px;vertical-align:top;}.widefat .num,.column-comments,.column-links,.column-posts{text-align:center;}.widefat th#comments{vertical-align:middle;}.wrap{margin:0 15px 0 5px;}div.updated,div.error{border-width:1px;border-style:solid;padding:0 .6em;margin:5px 15px 2px;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;}div.updated p,div.error p{margin:.5em 0;padding:2px;}.wrap div.updated,.wrap div.error{margin:5px 0 15px;}.wrap h2{font:italic normal normal 24px/29px Georgia,"Times New Roman","Bitstream Charter",Times,serif;margin:0;padding:14px 15px 3px 0;line-height:35px;text-shadow:rgba(255,255,255,1) 0 1px 0;}.wrap h2.long-header{padding-right:0;} \ No newline at end of file +html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;background:transparent;}body{line-height:1;}ol,ul{list-style:none;}blockquote,q{quotes:none;}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none;}ins{text-decoration:none;}del{text-decoration:line-through;}#wpwrap{height:auto;min-height:100%;width:100%;position:relative;}#wpcontent{height:100%;}#wpcontent,#footer{margin-left:160px;}#wpbody-content{padding-bottom:65px;}.js.folded #wpcontent,.js.folded #footer{margin-left:52px;}#wpbody-content{float:left;width:100%;}#adminmenuback,#adminmenuwrap,#adminmenu,.js.folded #adminmenu .wp-submenu.sub-open,.js.folded #adminmenu .wp-submenu-wrap{width:145px;}#adminmenuback{position:absolute;top:0;bottom:0;z-index:-1;}#adminmenuwrap{float:left;}#adminmenu{clear:left;padding:0;list-style:none;}.js.folded #adminmenuback,.js.folded #adminmenuwrap,.js.folded #adminmenu,.js.folded #adminmenu li.menu-top{width:32px;}#footer{position:relative;}.inner-sidebar{float:right;clear:right;display:none;width:281px;position:relative;}.inner-sidebar #side-sortables{width:280px;min-height:300px;}.has-right-sidebar .inner-sidebar{display:block;}.has-right-sidebar #post-body{float:left;clear:left;width:100%;margin-right:-340px;}.has-right-sidebar #post-body-content{margin-right:300px;}#col-container{overflow:hidden;padding:0;margin:0;}#col-left{padding:0;margin:0;overflow:hidden;width:39%;}#col-right{float:right;clear:right;overflow:hidden;padding:0;margin:0;width:59%;}.alignleft{float:left;}.alignright{float:right;}.textleft{text-align:left;}.textright{text-align:right;}.clear{clear:both;}.screen-reader-text,.screen-reader-text span{position:absolute;left:-1000em;height:1px;width:1px;overflow:hidden;}.hidden,.js .closed .inside,.js .hide-if-js,.no-js .hide-if-no-js{display:none;}input[type="text"],input[type="password"],textarea{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;}input[type="checkbox"],input[type="radio"]{vertical-align:middle;}html,body{height:100%;}body,td,textarea,input,select{font-family:Arial,"Bitstream Vera Sans",Helvetica,Verdana,sans-serif;font-size:13px;}body,textarea{line-height:1.4em;}input,select{line-height:15px;}p{margin:1em 0;}blockquote{margin:1em;}label{cursor:pointer;}li,dd{margin-bottom:6px;}p,li,dl,dd,dt{line-height:140%;}textarea,input,select{margin:1px;padding:3px;}h1{display:block;font-size:2em;font-weight:bold;margin:.67em 0;}h2{display:block;font-size:1.5em;font-weight:bold;margin:.83em 0;}h3{display:block;font-size:1.17em;font-weight:bold;margin:1em 0;}h4{display:block;font-size:1em;font-weight:bold;margin:1.33em 0;}h5{display:block;font-size:.83em;font-weight:bold;margin:1.67em 0;}h6{display:block;font-size:.67em;font-weight:bold;margin:2.33em 0;}ul.ul-disc{list-style:disc outside;}ul.ul-square{list-style:square outside;}ol.ol-decimal{list-style:decimal outside;}ul.ul-disc,ul.ul-square,ol.ol-decimal{margin-left:1.8em;}ul.ul-disc>li,ul.ul-square>li,ol.ol-decimal>li{margin:0 0 .5em;}.subsubsub{list-style:none;margin:8px 0 5px;padding:0;white-space:nowrap;font-size:12px;float:left;}.subsubsub a{line-height:2;padding:.2em;text-decoration:none;}.subsubsub a .count,.subsubsub a.current .count{color:#999;font-weight:normal;}.subsubsub a.current{font-weight:bold;background:none;border:none;}.subsubsub li{display:inline;margin:0;padding:0;}.widefat{border-width:1px;border-style:solid;border-spacing:0;width:100%;clear:both;margin:0;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;}.widefat *{word-wrap:break-word;}.widefat a{text-decoration:none;}.widefat thead th:first-of-type{-moz-border-radius-topleft:3px;-khtml-border-top-left-radius:3px;-webkit-border-top-left-radius:3px;border-top-left-radius:3px;}.widefat thead th:last-of-type{-moz-border-radius-topright:3px;-khtml-border-top-right-radius:3px;-webkit-border-top-right-radius:3px;border-top-right-radius:3px;}.widefat tfoot th:first-of-type{-moz-border-radius-bottomleft:3px;-khtml-border-bottom-left-radius:3px;-webkit-border-bottom-left-radius:3px;border-bottom-left-radius:3px;}.widefat tfoot th:last-of-type{-moz-border-radius-bottomright:3px;-khtml-border-bottom-right-radius:3px;-webkit-border-bottom-right-radius:3px;border-bottom-right-radius:3px;}.widefat td,.widefat th{border-width:1px 0;border-style:solid;}.widefat tfoot th{border-bottom:none;}.widefat .no-items td{border-bottom-width:0;}.widefat td{font-size:12px;padding:4px 7px 2px;vertical-align:top;}.widefat td p,.widefat td ol,.widefat td ul{font-size:12px;}.widefat th{padding:7px 7px 8px;text-align:left;line-height:1.3em;font-size:14px;}.widefat th input{margin:0 0 0 8px;padding:0;vertical-align:text-top;}.widefat .check-column{width:2.2em;padding:11px 0 0;vertical-align:top;}.widefat tbody th.check-column{padding:9px 0 22px;}.widefat .num,.column-comments,.column-links,.column-posts{text-align:center;}.widefat th#comments{vertical-align:middle;}.wrap{margin:0 15px 0 0;}div.updated,div.error{border-width:1px;border-style:solid;padding:0 .6em;margin:5px 15px 2px;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;}div.updated p,div.error p{margin:.5em 0;padding:2px;}.wrap div.updated,.wrap div.error{margin:5px 0 15px;}.wrap h2,.subtitle{font-family:"HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:normal;margin:0;text-shadow:rgba(255,255,255,1) 0 1px 0;}.wrap h2{font-size:23px;padding:9px 15px 4px 0;line-height:29px;}.subtitle{font-size:14px;padding-left:25px;}.wrap .add-new-h2{font-family:Arial,"Bitstream Vera Sans",Helvetica,Verdana,sans-serif;margin-left:4px;padding:3px 8px;position:relative;top:-3px;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;text-decoration:none;font-size:12px;}.wrap h2.long-header{padding-right:0;}.fade-1000{opacity:0;-moz-transition-property:opacity;-moz-transition-duration:1s;-webkit-transition-property:opacity;-webkit-transition-duration:1s;-o-transition-property:opacity;-o-transition-duration:1s;transition-property:opacity;transition-duration:1s;}.fade-600{opacity:0;-moz-transition-property:opacity;-moz-transition-duration:.6s;-webkit-transition-property:opacity;-webkit-transition-duration:.6s;-o-transition-property:opacity;-o-transition-duration:.6s;transition-property:opacity;transition-duration:.6s;}.fade-400{opacity:0;-moz-transition-property:opacity;-moz-transition-duration:.4s;-webkit-transition-property:opacity;-webkit-transition-duration:.4s;-o-transition-property:opacity;-o-transition-duration:.4s;transition-property:opacity;transition-duration:.4s;}.fade-300{opacity:0;-moz-transition-property:opacity;-moz-transition-duration:.3s;-webkit-transition-property:opacity;-webkit-transition-duration:.3s;-o-transition-property:opacity;-o-transition-duration:.3s;transition-property:opacity;transition-duration:.3s;}.fade-trigger{opacity:1;} \ No newline at end of file diff --git a/src/wp-admin/css/global.dev.css b/src/wp-admin/css/global.dev.css index 10abf25..db5c5de 100644 --- a/src/wp-admin/css/global.dev.css +++ b/src/wp-admin/css/global.dev.css @@ -62,20 +62,25 @@ table { height: auto; min-height: 100%; width: 100%; + position: relative; } #wpcontent { height: 100%; - padding-bottom: 50px; } -#wpbody { - clear: both; - margin-left: 175px; +#wpcontent, +#footer { + margin-left: 160px; } -.folded #wpbody { - margin-left: 60px; +#wpbody-content { + padding-bottom: 65px; +} + +.js.folded #wpcontent, +.js.folded #footer { + margin-left: 52px; } #wpbody-content { @@ -83,32 +88,40 @@ table { width: 100%; } -#adminmenu { - float: left; - clear: left; +#adminmenuback, +#adminmenuwrap, +#adminmenu, +.js.folded #adminmenu .wp-submenu.sub-open, +.js.folded #adminmenu .wp-submenu-wrap { width: 145px; - margin-top: 15px; - margin-right: 5px; - margin-bottom: 15px; - margin-left: -160px; - position: relative; +} + +#adminmenuback { + position: absolute; + top: 0; + bottom: 0; + z-index: -1; +} + +#adminmenuwrap { + float: left; +} + +#adminmenu { + clear: left; padding: 0; list-style: none; } -.folded #adminmenu { - margin-left: -45px; -} - -.folded #adminmenu, -.folded #adminmenu li.menu-top { - width: 28px; +.js.folded #adminmenuback, +.js.folded #adminmenuwrap, +.js.folded #adminmenu, +.js.folded #adminmenu li.menu-top { + width: 32px; } #footer { - clear: both; position: relative; - width: 100%; } /* inner 2 column liquid layout */ @@ -228,7 +241,7 @@ td, textarea, input, select { - font-family: "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif; + font-family: Arial, "Bitstream Vera Sans", Helvetica, Verdana, sans-serif; font-size: 13px; } @@ -345,7 +358,7 @@ ol.ol-decimal > li { margin: 8px 0 5px; padding: 0; white-space: nowrap; - font-size: 11px; + font-size: 12px; float: left; } @@ -379,10 +392,10 @@ ol.ol-decimal > li { width: 100%; clear: both; margin: 0; - -moz-border-radius: 4px; - -khtml-border-radius: 4px; - -webkit-border-radius: 4px; - border-radius: 4px; + -moz-border-radius: 3px; + -khtml-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; } .widefat * { @@ -420,9 +433,11 @@ ol.ol-decimal > li { .widefat td, .widefat th { - border-bottom-width: 1px; - border-bottom-style: solid; - font-size: 11px; + border-width: 1px 0; + border-style: solid; +} +.widefat tfoot th { + border-bottom: none; } .widefat .no-items td { @@ -430,20 +445,22 @@ ol.ol-decimal > li { } .widefat td { - padding: 3px 7px; + font-size: 12px; + padding: 4px 7px 2px; vertical-align: top; } .widefat td p, .widefat td ol, .widefat td ul { - font-size: 11px; + font-size: 12px; } .widefat th { padding: 7px 7px 8px; text-align: left; line-height: 1.3em; + font-size: 14px; } .widefat th input { @@ -454,13 +471,12 @@ ol.ol-decimal > li { .widefat .check-column { width: 2.2em; - padding: 0; - + padding: 11px 0 0; + vertical-align: top; } .widefat tbody th.check-column { - padding: 7px 0 22px; - vertical-align: top; + padding: 9px 0 22px; } .widefat .num, @@ -475,7 +491,7 @@ ol.ol-decimal > li { } .wrap { - margin: 0 15px 0 5px; + margin: 0 15px 0 0; } div.updated, @@ -501,14 +517,91 @@ div.error p { margin: 5px 0 15px; } -.wrap h2 { - font: italic normal normal 24px/29px Georgia, "Times New Roman", "Bitstream Charter", Times, serif; +.wrap h2, +.subtitle { + font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif; + font-weight: normal; margin: 0; - padding: 14px 15px 3px 0; - line-height: 35px; text-shadow: rgba(255,255,255,1) 0 1px 0; } +.wrap h2 { + font-size: 23px; + padding: 9px 15px 4px 0; + line-height: 29px; +} +.subtitle { + font-size: 14px; + padding-left: 25px; +} +.wrap .add-new-h2 { + font-family: Arial, "Bitstream Vera Sans", Helvetica, Verdana, sans-serif; + margin-left: 4px; + padding: 3px 8px; + position: relative; + top: -3px; + -moz-border-radius: 3px; + -khtml-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; + text-decoration: none; + font-size: 12px; +} .wrap h2.long-header { padding-right: 0; } + + +/* =CSS 3 transitions +-------------------------------------------------------------- */ +.fade-1000 { + opacity: 0; + -moz-transition-property: opacity; + -moz-transition-duration: 1s; + -webkit-transition-property: opacity; + -webkit-transition-duration: 1s; + -o-transition-property: opacity; + -o-transition-duration: 1s; + transition-property: opacity; + transition-duration: 1s; +} + +.fade-600 { + opacity: 0; + -moz-transition-property: opacity; + -moz-transition-duration: 0.6s; + -webkit-transition-property: opacity; + -webkit-transition-duration: 0.6s; + -o-transition-property: opacity; + -o-transition-duration: 0.6s; + transition-property: opacity; + transition-duration: 0.6s; +} + +.fade-400 { + opacity: 0; + -moz-transition-property: opacity; + -moz-transition-duration: 0.4s; + -webkit-transition-property: opacity; + -webkit-transition-duration: 0.4s; + -o-transition-property: opacity; + -o-transition-duration: 0.4s; + transition-property: opacity; + transition-duration: 0.4s; +} + +.fade-300 { + opacity: 0; + -moz-transition-property: opacity; + -moz-transition-duration: 0.3s; + -webkit-transition-property: opacity; + -webkit-transition-duration: 0.3s; + -o-transition-property: opacity; + -o-transition-duration: 0.3s; + transition-property: opacity; + transition-duration: 0.3s; +} + +.fade-trigger { + opacity: 1; +} diff --git a/src/wp-admin/css/ie.css b/src/wp-admin/css/ie.css index ad96e07..00e1af7 100644 --- a/src/wp-admin/css/ie.css +++ b/src/wp-admin/css/ie.css @@ -1 +1 @@ -#wpbody-content input.button,#wpbody-content input.button-secondary,#wpbody-content input.button-highlighted{padding:2px 3px;}#minor-publishing-actions input,#major-publishing-actions input{min-width:auto;padding-left:0;padding-right:0;}#wpbody-content .postbox{border:1px solid #dfdfdf;}#wpbody-content .postbox h3{margin-bottom:-1px;}* html .meta-box-sortables .postbox .handlediv{background:transparent url(../images/menu-bits-vs.gif) no-repeat scroll left -111px;}* html .edit-box{display:inline;}* html .inner-sidebar #side-sortables,* html .postbox-container .meta-box-sortables{height:300px;}* html #wpbody-content #screen-options-link-wrap{display:inline-block;width:150px;text-align:center;}* html #wpbody-content #contextual-help-link-wrap{display:inline-block;width:100px;text-align:center;}* html #adminmenu{margin-left:-80px;}* html .folded #adminmenu{margin-left:-22px;}* html #wpcontent #adminmenu li.menu-top{display:inline;padding:0;margin:0;}* html #footer{margin:0;}.folded #adminmenu li.menu-top{display:block;zoom:100%;}ul#adminmenu{z-index:99;}#adminmenu li.menu-top a.menu-top{min-width:auto;width:auto;}#wpcontent #adminmenu li.wp-has-current-submenu a.wp-has-submenu{font-style:normal;}* html #wpcontent #adminmenu .wp-menu-open .wp-menu-toggle{background:none;}* html #wpcontent #adminmenu .wp-has-submenu .wp-menu-toggle{background:url(../images/menu-bits.gif?ver=20100610) no-repeat scroll left -109px;}* html #wpcontent #adminmenu li.wp-has-current-submenu .wp-menu-toggle{background:url(../images/menu-bits.gif?ver=20100610) no-repeat scroll left -206px;}* html #adminmenu div.wp-menu-image{height:29px;}#wpcontent #adminmenu .wp-submenu li{padding:0;}#adminmenu,.major-publishing-actions,.wp-submenu,.wp-submenu li,.wp-menu-toggle{zoom:100%;}.folded #adminmenu li.wp-menu-separator{width:28px;}#wpcontent #adminmenu .wp-submenu li.wp-submenu-head{padding:3px 4px 4px 10px;zoom:100%;}.folded #adminmenu .menu-top{height:30px;}.folded #adminmenu .wp-submenu{margin:-1px 0 0 0;}#template,#template div,#editcat,#addcat,* html .stuffbox h3{zoom:100%;}.submitbox{margin-top:10px;}#wpbody-content .quick-edit-row-post .inline-edit-col-left{width:39%;}#wpbody-content .inline-edit-row-post .inline-edit-col-center{width:19%;}#wpbody-content .quick-edit-row-page .inline-edit-col-left{width:49%;}#wpbody-content .bulk-edit-row .inline-edit-col-left{width:29%;}.inline-edit-row p.submit{zoom:100%;}.inline-edit-row fieldset label span.title{display:block;float:left;width:5em;}.inline-edit-row fieldset label span.input-text-wrap{margin-left:0;zoom:100%;}#wpbody-content .inline-edit-row fieldset label span.input-text-wrap input{line-height:130%;}#wpbody-content .inline-edit-row .input-text-wrap input{width:95%;}#wpbody-content .inline-edit-row .input-text-wrap input.inline-edit-password-input{width:8em;}input{line-height:1;}* html .row-actions{visibility:visible;}#dashboard-widgets h3 a{height:20px;line-height:20px;}#wphead-info{float:right;}#titlediv #title{width:98%;}a.button{line-height:1.4em;margin:1px;padding:2px 6px;}* html div.widget-liquid-left,* html div.widget-liquid-right{display:block;position:relative;}#screen-options-wrap{overflow:hidden;}#favorite-actions{z-index:12;}#favorite-inside,#favorite-inside a,.favorite-action{zoom:100%;}#the-comment-list .comment-item,#post-status-info,#wpwrap,#wpcontent,#wrap,#postdivrich,#postdiv,#poststuff,.metabox-holder,#titlediv,#post-body,#editorcontainer,.tablenav,.widget-liquid-left,.widget-liquid-right,#widgets-left,.widgets-sortables,#dragHelper,.widget .widget-top,.widget,.widget-control-actions,.tagchecklist,#col-container,#col-left,#col-right,.fileedit-sub{display:block;zoom:100%;}p.search-box{position:static;float:right;margin:-3px 0 4px;}* html #editorcontainer{padding:0;}#editorcontainer #content{overflow:auto;margin:auto;width:98%;}form#template div{width:100%;}#ed_toolbar input,#ed_reply_toolbar input{overflow:visible;padding:0 4px;}#poststuff h2{font-size:1.6em;}* html #poststuff h2{margin-left:0;}#bh{margin:7px 10px 0 0;float:right;}div#dashboard-widgets{padding-right:1px;}.tagchecklist span,.tagchecklist span a{display:inline-block;display:block;}.tagchecklist span a{margin:4px 0 0 -9px;}.tablenav .button-secondary,.nav .button-secondary{padding:0 1px;vertical-align:middle;}.tablenav select{font-size:13px;display:inline-block;vertical-align:top;margin-top:2px;}.tablenav .actions select{width:155px;}table.ie-fixed{table-layout:fixed;}.widefat tr,.widefat th{margin-bottom:0;border-spacing:0;}.widefat th input{margin:0 0 0 5px;}.widefat .check-column{padding:6px 0 2px;}.widefat tbody th.check-column{padding:4px 0 22px;}.widefat{empty-cells:show;border-collapse:collapse;}.tablenav a.button-secondary{display:inline-block;padding:2px 5px;}* html .stuffbox,* html .stuffbox input,* html .stuffbox textarea{border:1px solid #DFDFDF;}* html .feature-filter .feature-group li{width:145px;}* html .widget-top .widget-title-action a{background:url("../images/menu-bits.gif?ver=20100610") no-repeat scroll 0 -110px;}* html div.widget-liquid-left{width:99%;}#wp_inactive_widgets{padding-bottom:8px;}* html .widgets-sortables{height:50px;}* html a#content_resize{right:-2px;}* html .widget-title h4{width:205px;}* html #removing-widget .in-widget-title{display:none;}#available-widgets .widget-holder{padding-bottom:65px;}#widgets-left .inactive{padding-bottom:10px;}.widget-liquid-right .widget,#wp_inactive_widgets .widget{position:relative;}* html .media-item .pinkynail{height:32px;width:40px;}#wpcontent .button-primary-disabled{color:#9FD0D5;background:#298CBA;}#wpcontent #ajax-loading,#wpcontent .ajax-loading{vertical-align:baseline;}* html .describe .field input.text,* html .describe .field textarea{width:440px;}#the-comment-list .unapproved tr,#the-comment-list .unapproved td{background-color:#ffffe0;}.imgedit-submit{width:300px;}* html input{border:1px solid #dfdfdf;}#nav-menu-header,#nav-menus-frame,#wpbody,.menu li{zoom:100%;}#update-nav-menu #post-body{overflow:hidden;}.menu li{min-width:100%;}.menu li.sortable-placeholder{min-width:400px;} \ No newline at end of file +#wp-fullscreen-title{width:97%;}#wp_mce_fullscreen_ifr{background-color:#f9f9f9;}#wp-fullscreen-tagline{color:#888;font-size:14px;}#adminmenuback{left:0;}#adminmenu li.wp-menu-separator,#adminmenu li.wp-menu-separator-last{font-size:1px;line-height:1;}#adminmenu a.menu-top{border-bottom:0 none;border-top:1px solid #ddd;}#adminmenu .separator{font-size:1px;line-height:1px;}#wpbody-content input.button,#wpbody-content input.button-primary,#wpbody-content input.button-secondary,#wpbody-content input.button-highlighted{overflow:visible;}#dashboard-widgets #dashboard_quick_press form p.submit #publish{float:none;}#dashboard-widgets h3 a{height:14px;line-height:14px;}.tablenav-pages .current-page{vertical-align:middle;}#wpbody-content .postbox{border:1px solid #dfdfdf;}#wpbody-content .postbox h3{margin-bottom:-1px;}* html .meta-box-sortables .postbox .handlediv{background:transparent url(../images/menu-bits-vs.gif) no-repeat scroll left -111px;}* html .edit-box{display:inline;}* html .inner-sidebar #side-sortables,* html .postbox-container .meta-box-sortables{height:300px;}* html #wpbody-content #screen-options-link-wrap{display:inline-block;width:150px;text-align:center;}* html #wpbody-content #contextual-help-link-wrap{display:inline-block;width:100px;text-align:center;}* html #adminmenu{margin-left:-80px;}* html .folded #adminmenu{margin-left:-22px;}* html #wpcontent #adminmenu li.menu-top{display:inline;padding:0;margin:0;}* html #footer{margin:0;}.js.folded #adminmenu li.menu-top{display:block;zoom:100%;}ul#adminmenu{z-index:99;}#adminmenu li.menu-top a.menu-top{min-width:auto;width:auto;}#wpcontent #adminmenu li.wp-has-current-submenu a.wp-has-submenu{font-style:normal;}* html #wpcontent #adminmenu .wp-menu-open .wp-menu-toggle{background:none;}* html #wpcontent #adminmenu .wp-has-submenu .wp-menu-toggle{background:url(../images/menu-bits.gif?ver=20100610) no-repeat scroll left -109px;}* html #wpcontent #adminmenu li.wp-has-current-submenu .wp-menu-toggle{background:url(../images/menu-bits.gif?ver=20100610) no-repeat scroll left -206px;}* html #adminmenu div.wp-menu-image{height:29px;}#wpcontent #adminmenu .wp-submenu li{padding:0;}#adminmenu,.major-publishing-actions,.wp-submenu,.wp-submenu li,.wp-menu-toggle,#template,#template div,#editcat,#addcat,* html .stuffbox h3{zoom:100%;}#wpcontent #adminmenu .wp-submenu li.wp-submenu-head{padding:3px 4px 4px 10px;zoom:100%;}.js.folded #adminmenu .menu-top{height:30px;}.js.folded #adminmenu .wp-submenu{margin:-1px 0 0 0;}.wp-menu-arrow{height:28px;}.submitbox{margin-top:10px;}#wpbody-content .quick-edit-row-post .inline-edit-col-left{width:39%;}#wpbody-content .inline-edit-row-post .inline-edit-col-center{width:19%;}#wpbody-content .quick-edit-row-page .inline-edit-col-left{width:49%;}#wpbody-content .bulk-edit-row .inline-edit-col-left{width:29%;}.inline-edit-row p.submit{zoom:100%;}.inline-edit-row fieldset label span.title{display:block;float:left;width:5em;}.inline-edit-row fieldset label span.input-text-wrap{margin-left:0;zoom:100%;}#wpbody-content .inline-edit-row fieldset label span.input-text-wrap input{line-height:130%;}#wpbody-content .inline-edit-row .input-text-wrap input{width:95%;}#wpbody-content .inline-edit-row .input-text-wrap input.inline-edit-password-input{width:8em;}* html .row-actions{visibility:visible;}#wphead-info{float:right;}#titlediv #title{width:98%;}a.button{line-height:1.4em;margin:1px;padding:2px 6px;}* html div.widget-liquid-left,* html div.widget-liquid-right{display:block;position:relative;}#screen-options-wrap{overflow:hidden;}#favorite-actions{z-index:12;}#favorite-inside,#favorite-inside a,.favorite-action{zoom:100%;}#the-comment-list .comment-item,#post-status-info,#wpwrap,#wpcontent,#wrap,#postdivrich,#postdiv,#poststuff,.metabox-holder,#titlediv,#post-body,#editorcontainer,.tablenav,.widget-liquid-left,.widget-liquid-right,#widgets-left,.widgets-sortables,#dragHelper,.widget .widget-top,.widget,.widget-control-actions,.tagchecklist,#col-container,#col-left,#col-right,.fileedit-sub{display:block;zoom:100%;}p.search-box{position:static;float:right;margin:-3px 0 4px;}* html #editorcontainer{padding:0;}#editorcontainer #content{overflow:auto;margin:auto;width:98%;}form#template div{width:100%;}#ed_toolbar input,#ed_reply_toolbar input{overflow:visible;padding:0 4px;}#poststuff h2{font-size:1.6em;}* html #poststuff h2{margin-left:0;}#bh{margin:7px 10px 0 0;float:right;}div#dashboard-widgets{padding-right:1px;}.tagchecklist span,.tagchecklist span a{display:inline-block;display:block;}.tagchecklist span a{margin:4px 0 0 -9px;}.tablenav .button-secondary,.nav .button-secondary{padding-top:2px;padding-bottom:2px;}.tablenav select{font-size:13px;display:inline-block;vertical-align:top;margin-top:2px;}.tablenav .actions select{width:155px;}table.ie-fixed{table-layout:fixed;}.widefat tr,.widefat th{margin-bottom:0;border-spacing:0;}.widefat th input{margin:0 0 0 5px;}.widefat .check-column{padding:6px 0 2px;}.widefat tbody th.check-column{padding:4px 0 22px;}.widefat{empty-cells:show;border-collapse:collapse;}.tablenav a.button-secondary{display:inline-block;padding:2px 5px;}* html .stuffbox,* html .stuffbox input,* html .stuffbox textarea{border:1px solid #DFDFDF;}* html .feature-filter .feature-group li{width:145px;}* html .widget-top .widget-title-action a{background:url("../images/menu-bits.gif?ver=20100610") no-repeat scroll 0 -110px;}* html div.widget-liquid-left{width:99%;}#wp_inactive_widgets{padding-bottom:8px;}* html .widgets-sortables{height:50px;}* html a#content_resize{right:-2px;}* html .widget-title h4{width:205px;}* html #removing-widget .in-widget-title{display:none;}#available-widgets .widget-holder{padding-bottom:65px;}#widgets-left .inactive{padding-bottom:10px;}.widget-liquid-right .widget,#wp_inactive_widgets .widget{position:relative;}* html .media-item .pinkynail{height:32px;width:40px;}#wpcontent .button-primary-disabled{color:#9FD0D5;background:#298CBA;}#wpcontent #ajax-loading,#wpcontent .ajax-loading{vertical-align:baseline;}* html .describe .field input.text,* html .describe .field textarea{width:440px;}#the-comment-list .unapproved tr,#the-comment-list .unapproved td{background-color:#ffffe0;}.imgedit-submit{width:300px;}* html input{border:1px solid #dfdfdf;}#nav-menu-header,#nav-menus-frame,#wpbody,.menu li{zoom:100%;}#update-nav-menu #post-body{overflow:hidden;}.menu li{min-width:100%;}.menu li.sortable-placeholder{min-width:400px;} \ No newline at end of file diff --git a/src/wp-admin/css/ie.dev.css b/src/wp-admin/css/ie.dev.css index 5e919b4..a41d08f 100644 --- a/src/wp-admin/css/ie.dev.css +++ b/src/wp-admin/css/ie.dev.css @@ -1,16 +1,56 @@ /* Fixes for IE bugs */ -#wpbody-content input.button, -#wpbody-content input.button-secondary, -#wpbody-content input.button-highlighted { - padding: 2px 3px; +#wp-fullscreen-title { + width: 97%; } -#minor-publishing-actions input, -#major-publishing-actions input { - min-width: auto; - padding-left: 0; - padding-right: 0; +#wp_mce_fullscreen_ifr { + background-color: #f9f9f9; +} + +#wp-fullscreen-tagline { + color: #888; + font-size: 14px; +} + +#adminmenuback { + left: 0; +} + +#adminmenu li.wp-menu-separator, +#adminmenu li.wp-menu-separator-last { + font-size: 1px; + line-height: 1; +} + +#adminmenu a.menu-top { + border-bottom: 0 none; + border-top: 1px solid #ddd; +} + +#adminmenu .separator { + font-size: 1px; + line-height: 1px; +} + +#wpbody-content input.button, +#wpbody-content input.button-primary, +#wpbody-content input.button-secondary, +#wpbody-content input.button-highlighted { + overflow: visible; +} + +#dashboard-widgets #dashboard_quick_press form p.submit #publish { + float: none; +} + +#dashboard-widgets h3 a { + height: 14px; + line-height: 14px; +} + +.tablenav-pages .current-page { + vertical-align: middle; } #wpbody-content .postbox { @@ -64,7 +104,7 @@ margin: 0; } -.folded #adminmenu li.menu-top { +.js.folded #adminmenu li.menu-top { display: block; zoom: 100%; } @@ -106,33 +146,30 @@ ul#adminmenu { .major-publishing-actions, .wp-submenu, .wp-submenu li, -.wp-menu-toggle { +.wp-menu-toggle, +#template, +#template div, +#editcat, +#addcat, +* html .stuffbox h3 { zoom: 100%; } -.folded #adminmenu li.wp-menu-separator { - width: 28px; -} - #wpcontent #adminmenu .wp-submenu li.wp-submenu-head { padding: 3px 4px 4px 10px; zoom: 100%; } -.folded #adminmenu .menu-top { +.js.folded #adminmenu .menu-top { height: 30px; } -.folded #adminmenu .wp-submenu { +.js.folded #adminmenu .wp-submenu { margin: -1px 0 0 0; } -#template, -#template div, -#editcat, -#addcat, -* html .stuffbox h3 { - zoom: 100%; +.wp-menu-arrow { + height: 28px; } .submitbox { @@ -184,19 +221,10 @@ ul#adminmenu { } /* end Inline Editor */ -input { - line-height: 1; -} - * html .row-actions { visibility: visible; } -#dashboard-widgets h3 a { - height: 20px; - line-height: 20px; -} - #wphead-info { float: right; } @@ -314,9 +342,10 @@ div#dashboard-widgets { margin: 4px 0 0 -9px; } -.tablenav .button-secondary, .nav .button-secondary { - padding: 0 1px; - vertical-align: middle; +.tablenav .button-secondary, +.nav .button-secondary { + padding-top: 2px; + padding-bottom: 2px; } .tablenav select { diff --git a/src/wp-admin/css/install.css b/src/wp-admin/css/install.css index ba9fb39..511382a 100644 --- a/src/wp-admin/css/install.css +++ b/src/wp-admin/css/install.css @@ -1 +1 @@ -html{background:#f9f9f9;}body{background:#fff;color:#333;font-family:"Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif;margin:2em auto;width:700px;padding:1em 2em;-moz-border-radius:11px;-khtml-border-radius:11px;-webkit-border-radius:11px;border-radius:11px;border:1px solid #dfdfdf;}a{color:#2583ad;text-decoration:none;}a:hover{color:#d54e21;}h1{border-bottom:1px solid #dadada;clear:both;color:#666;font:24px Georgia,"Times New Roman",Times,serif;margin:5px 0 0 -4px;padding:0;padding-bottom:7px;}h2{font-size:16px;}p,li,dd,dt{padding-bottom:2px;font-size:12px;line-height:18px;}code,.code{font-size:13px;}ul,ol,dl{padding:5px 5px 5px 22px;}a img{border:0;}abbr{border:0;font-variant:normal;}#logo{margin:6px 0 14px 0;border-bottom:none;text-align:center;}.step{margin:20px 0 15px;}.step,th{text-align:left;padding:0;}.submit input,.button,.button-secondary{font-family:"Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif;text-decoration:none;font-size:14px!important;line-height:16px;padding:6px 12px;cursor:pointer;border:1px solid #bbb;color:#464646;-moz-border-radius:15px;-khtml-border-radius:15px;-webkit-border-radius:15px;border-radius:15px;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;-khtml-box-sizing:content-box;box-sizing:content-box;}.button:hover,.button-secondary:hover,.submit input:hover{color:#000;border-color:#666;}.button,.submit input,.button-secondary{background:#f2f2f2 url(../images/white-grad.png) repeat-x scroll left top;}.button:active,.submit input:active,.button-secondary:active{background:#eee url(../images/white-grad-active.png) repeat-x scroll left top;}textarea{border:1px solid #bbb;-moz-border-radius:4px;-khtml-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;}.form-table{border-collapse:collapse;margin-top:1em;width:100%;}.form-table td{margin-bottom:9px;padding:10px;border-bottom:8px solid #fff;font-size:12px;}.form-table th{font-size:13px;text-align:left;padding:16px 10px 10px 10px;border-bottom:8px solid #fff;width:130px;vertical-align:top;}.form-table tr{background:#f3f3f3;}.form-table code{line-height:18px;font-size:18px;}.form-table p{margin:4px 0 0 0;font-size:11px;}.form-table input{line-height:20px;font-size:15px;padding:2px;}.form-table th p{font-weight:normal;}#error-page{margin-top:50px;}#error-page p{font-size:12px;line-height:18px;margin:25px 0 20px;}#error-page code,.code{font-family:Consolas,Monaco,Courier,monospace;}#pass-strength-result{background-color:#eee;border-color:#ddd!important;border-style:solid;border-width:1px;margin:5px 5px 5px 1px;padding:5px;text-align:center;width:200px;display:none;}#pass-strength-result.bad{background-color:#ffb78c;border-color:#ff853c!important;}#pass-strength-result.good{background-color:#ffec8b;border-color:#fc0!important;}#pass-strength-result.short{background-color:#ffa0a0;border-color:#f04040!important;}#pass-strength-result.strong{background-color:#c3ff88;border-color:#8dff1c!important;}.message{border:1px solid #e6db55;padding:.3em .6em;margin:5px 0 15px;background-color:#ffffe0;} \ No newline at end of file +html{background:#f9f9f9;}body{background:#fff;color:#333;font-family:"Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif;margin:2em auto;width:700px;padding:1em 2em;-moz-border-radius:11px;-khtml-border-radius:11px;-webkit-border-radius:11px;border-radius:11px;border:1px solid #dfdfdf;}a{color:#2583ad;text-decoration:none;}a:hover{color:#d54e21;}h1{border-bottom:1px solid #dadada;clear:both;color:#666;font:24px Georgia,"Times New Roman",Times,serif;margin:5px 0 0 -4px;padding:0;padding-bottom:7px;}h2{font-size:16px;}p,li,dd,dt{padding-bottom:2px;font-size:12px;line-height:18px;}code,.code{font-size:13px;}ul,ol,dl{padding:5px 5px 5px 22px;}a img{border:0;}abbr{border:0;font-variant:normal;}#logo{margin:6px 0 14px 0;border-bottom:none;text-align:center;}.step{margin:20px 0 15px;}.step,th{text-align:left;padding:0;}.submit input,.button,.button-secondary{font-family:"Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif;text-decoration:none;font-size:14px!important;line-height:16px;padding:6px 12px;cursor:pointer;border:1px solid #bbb;color:#464646;-moz-border-radius:15px;-khtml-border-radius:15px;-webkit-border-radius:15px;border-radius:15px;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;-khtml-box-sizing:content-box;box-sizing:content-box;}.button:hover,.button-secondary:hover,.submit input:hover{color:#000;border-color:#666;}.button,.submit input,.button-secondary{background:#f2f2f2 url(../images/white-grad.png) repeat-x scroll left top;}.button:active,.submit input:active,.button-secondary:active{background:#eee url(../images/white-grad-active.png) repeat-x scroll left top;}textarea{border:1px solid #bbb;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;}.form-table{border-collapse:collapse;margin-top:1em;width:100%;}.form-table td{margin-bottom:9px;padding:10px;border-bottom:8px solid #fff;font-size:12px;}.form-table th{font-size:13px;text-align:left;padding:16px 10px 10px 10px;border-bottom:8px solid #fff;width:130px;vertical-align:top;}.form-table tr{background:#f3f3f3;}.form-table code{line-height:18px;font-size:18px;}.form-table p{margin:4px 0 0 0;font-size:11px;}.form-table input{line-height:20px;font-size:15px;padding:2px;}.form-table th p{font-weight:normal;}#error-page{margin-top:50px;}#error-page p{font-size:12px;line-height:18px;margin:25px 0 20px;}#error-page code,.code{font-family:Consolas,Monaco,monospace;}#pass-strength-result{background-color:#eee;border-color:#ddd!important;border-style:solid;border-width:1px;margin:5px 5px 5px 1px;padding:5px;text-align:center;width:200px;display:none;}#pass-strength-result.bad{background-color:#ffb78c;border-color:#ff853c!important;}#pass-strength-result.good{background-color:#ffec8b;border-color:#fc0!important;}#pass-strength-result.short{background-color:#ffa0a0;border-color:#f04040!important;}#pass-strength-result.strong{background-color:#c3ff88;border-color:#8dff1c!important;}.message{border:1px solid #e6db55;padding:.3em .6em;margin:5px 0 15px;background-color:#ffffe0;} \ No newline at end of file diff --git a/src/wp-admin/css/install.dev.css b/src/wp-admin/css/install.dev.css index ed334df..ffe915b 100644 --- a/src/wp-admin/css/install.dev.css +++ b/src/wp-admin/css/install.dev.css @@ -107,10 +107,10 @@ abbr { textarea { border: 1px solid #bbb; - -moz-border-radius: 4px; - -khtml-border-radius: 4px; - -webkit-border-radius: 4px; - border-radius: 4px; + -moz-border-radius: 3px; + -khtml-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; } .form-table { @@ -170,7 +170,7 @@ textarea { } #error-page code, .code { - font-family: Consolas, Monaco, Courier, monospace; + font-family: Consolas, Monaco, monospace; } #pass-strength-result { diff --git a/src/wp-admin/css/login.css b/src/wp-admin/css/login.css index 1276031..1cb3c23 100644 --- a/src/wp-admin/css/login.css +++ b/src/wp-admin/css/login.css @@ -1 +1 @@ -*{margin:0;padding:0;}body{padding-top:30px;font:11px "Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif;}form{margin-left:8px;padding:16px 16px 40px 16px;font-weight:normal;-moz-border-radius:11px;-khtml-border-radius:11px;-webkit-border-radius:11px;border-radius:11px;background:#fff;border:1px solid #e5e5e5;-moz-box-shadow:rgba(200,200,200,1) 0 4px 18px;-webkit-box-shadow:rgba(200,200,200,1) 0 4px 18px;-khtml-box-shadow:rgba(200,200,200,1) 0 4px 18px;box-shadow:rgba(200,200,200,1) 0 4px 18px;}form .forgetmenot{font-weight:normal;float:left;margin-bottom:0;}.button-primary{font-family:"Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif;padding:3px 10px;border:none;font-size:12px;border-width:1px;border-style:solid;-moz-border-radius:11px;-khtml-border-radius:11px;-webkit-border-radius:11px;border-radius:11px;cursor:pointer;text-decoration:none;margin-top:-3px;}#login form p{margin-bottom:0;}label{color:#777;font-size:13px;}form .forgetmenot label{font-size:11px;line-height:19px;}form .submit,.alignright{float:right;}form p{margin-bottom:24px;}h1 a{background:url(../images/logo-login.gif) no-repeat top center;width:326px;height:67px;text-indent:-9999px;overflow:hidden;padding-bottom:15px;display:block;}#nav{text-shadow:rgba(255,255,255,1) 0 1px 0;}#backtoblog{position:absolute;top:0;left:0;border-bottom:#c6c6c6 1px solid;background:#d9d9d9;background:-moz-linear-gradient(bottom,#d7d7d7,#e4e4e4);background:-webkit-gradient(linear,left bottom,left top,from(#d7d7d7),to(#e4e4e4));height:30px;width:100%;}#backtoblog a{text-decoration:none;display:block;padding:8px 0 0 15px;}#login{width:320px;margin:7em auto;}#login_error,.message{margin:0 0 16px 8px;border-width:1px;border-style:solid;padding:12px;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;}#nav{margin:0 0 0 8px;padding:16px;}body form .input{font-size:24px;width:97%;padding:3px;margin-top:2px;margin-right:6px;margin-bottom:16px;border:1px solid #e5e5e5;background:#fbfbfb;}input{color:#555;}.clear{clear:both;}#pass-strength-result{font-weight:bold;border-style:solid;border-width:1px;margin:12px 0 6px;padding:6px 5px;text-align:center;} \ No newline at end of file +*{margin:0;padding:0;}html{background:#fbfbfb!important;}body{padding-top:30px;font-family:Arial,"Bitstream Vera Sans",Helvetica,Verdana,sans-serif;font-size:12px;}form{margin-left:8px;padding:26px 24px 46px;font-weight:normal;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;background:#fff;border:1px solid #e5e5e5;-moz-box-shadow:rgba(200,200,200,0.7) 0 4px 10px -1px;-webkit-box-shadow:rgba(200,200,200,0.7) 0 4px 10px -1px;-khtml-box-shadow:rgba(200,200,200,0.7) 0 4px 10px -1px;box-shadow:rgba(200,200,200,0.7) 0 4px 10px -1px;}form .forgetmenot{font-weight:normal;float:left;margin-bottom:0;}.button-primary{font-family:Arial,"Bitstream Vera Sans",Helvetica,Verdana,sans-serif;padding:3px 10px;border:none;font-size:13px;border-width:1px;border-style:solid;-moz-border-radius:11px;-khtml-border-radius:11px;-webkit-border-radius:11px;border-radius:11px;cursor:pointer;text-decoration:none;margin-top:-3px;}#login form p{margin-bottom:0;}label{color:#777;font-size:14px;}form .forgetmenot label{font-size:12px;line-height:19px;}form .submit,.alignright{float:right;}form p{margin-bottom:24px;}h1 a{background:url(../images/logo-login.png) no-repeat top center;width:326px;height:67px;text-indent:-9999px;overflow:hidden;padding-bottom:15px;display:block;}#login{width:320px;margin:7em auto;}#login_error,.message{margin:0 0 16px 8px;border-width:1px;border-style:solid;padding:12px;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;}#nav,#backtoblog{text-shadow:rgba(255,255,255,1) 0 1px 0;margin:0 0 0 16px;padding:16px 16px 0;}#backtoblog{padding:12px 16px 0;}body form .input{font-family:"HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:200;font-size:24px;width:97%;padding:3px;margin-top:2px;margin-right:6px;margin-bottom:16px;border:1px solid #e5e5e5;background:#fbfbfb;outline:none;-moz-box-shadow:inset 1px 1px 2px rgba(200,200,200,0.2);-webkit-box-shadow:inset 1px 1px 2px rgba(200,200,200,0.2);box-shadow:inset 1px 1px 2px rgba(200,200,200,0.2);}input{color:#555;}.clear{clear:both;}#pass-strength-result{font-weight:bold;border-style:solid;border-width:1px;margin:12px 0 6px;padding:6px 5px;text-align:center;} \ No newline at end of file diff --git a/src/wp-admin/css/login.dev.css b/src/wp-admin/css/login.dev.css index 6124b87..f246723 100644 --- a/src/wp-admin/css/login.dev.css +++ b/src/wp-admin/css/login.dev.css @@ -1,24 +1,29 @@ * { margin: 0; padding: 0; } +html { + background: #fbfbfb !important; +} + body { padding-top: 30px; - font: 11px "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif; + font-family: Arial, "Bitstream Vera Sans", Helvetica, Verdana, sans-serif; + font-size: 12px; } form { margin-left: 8px; - padding: 16px 16px 40px 16px; + padding: 26px 24px 46px; font-weight: normal; - -moz-border-radius: 11px; - -khtml-border-radius: 11px; - -webkit-border-radius: 11px; - border-radius: 11px; + -moz-border-radius: 3px; + -khtml-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; background: #fff; border: 1px solid #e5e5e5; - -moz-box-shadow: rgba(200,200,200,1) 0 4px 18px; - -webkit-box-shadow: rgba(200,200,200,1) 0 4px 18px; - -khtml-box-shadow: rgba(200,200,200,1) 0 4px 18px; - box-shadow: rgba(200,200,200,1) 0 4px 18px; + -moz-box-shadow: rgba(200, 200, 200, 0.7) 0px 4px 10px -1px; + -webkit-box-shadow: rgba(200, 200, 200, 0.7) 0px 4px 10px -1px; + -khtml-box-shadow: rgba(200, 200, 200, 0.7) 0px 4px 10px -1px; + box-shadow: rgba(200, 200, 200, 0.7) 0px 4px 10px -1px; } form .forgetmenot { @@ -28,10 +33,10 @@ form .forgetmenot { } .button-primary { - font-family: "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif; + font-family: Arial, "Bitstream Vera Sans", Helvetica, Verdana, sans-serif; padding: 3px 10px; border: none; - font-size: 12px; + font-size: 13px; border-width: 1px; border-style: solid; -moz-border-radius: 11px; @@ -49,11 +54,11 @@ form .forgetmenot { label { color: #777; - font-size: 13px; + font-size: 14px; } form .forgetmenot label { - font-size: 11px; + font-size: 12px; line-height: 19px; } @@ -67,7 +72,7 @@ form p { } h1 a { - background: url(../images/logo-login.gif) no-repeat top center; + background: url(../images/logo-login.png) no-repeat top center; width: 326px; height: 67px; text-indent: -9999px; @@ -76,30 +81,11 @@ h1 a { display: block; } -#nav { - text-shadow: rgba(255,255,255,1) 0 1px 0; +#login { + width: 320px; + margin: 7em auto; } -#backtoblog { - position: absolute; - top: 0; - left: 0; - border-bottom: #c6c6c6 1px solid; - background: #d9d9d9; /* fallback color */ - background: -moz-linear-gradient(bottom, #d7d7d7, #e4e4e4); - background: -webkit-gradient(linear, left bottom, left top, from(#d7d7d7), to(#e4e4e4)); - height: 30px; - width: 100%; -} - -#backtoblog a { - text-decoration: none; - display: block; - padding: 8px 0 0 15px; -} - -#login { width: 320px; margin: 7em auto; } - #login_error, .message { margin: 0 0 16px 8px; @@ -112,12 +98,19 @@ h1 a { border-radius: 3px; } -#nav { - margin: 0 0 0 8px; - padding: 16px; +#nav, +#backtoblog { + text-shadow: rgba(255,255,255,1) 0 1px 0; + margin: 0 0 0 16px; + padding: 16px 16px 0; +} +#backtoblog { + padding: 12px 16px 0; } body form .input { + font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif; + font-weight: 200; font-size: 24px; width: 97%; padding: 3px; @@ -126,6 +119,10 @@ body form .input { margin-bottom: 16px; border: 1px solid #e5e5e5; background: #fbfbfb; + outline: none; + -moz-box-shadow: inset 1px 1px 2px rgba(200, 200, 200, 0.2); + -webkit-box-shadow: inset 1px 1px 2px rgba(200, 200, 200, 0.2); + box-shadow: inset 1px 1px 2px rgba(200, 200, 200, 0.2); } input { diff --git a/src/wp-admin/css/media-rtl.css b/src/wp-admin/css/media-rtl.css index 5b9e941..19d7366 100644 --- a/src/wp-admin/css/media-rtl.css +++ b/src/wp-admin/css/media-rtl.css @@ -1 +1 @@ -body#media-upload ul#sidemenu{left:auto;right:0;}#search-filter{text-align:left;}.align .field label{padding:0 28px 0 0;margin:0 0 0 1em;}.image-align-none-label,.image-align-left-label,.image-align-center-label,.image-align-right-label{background-position:center right;}tr.image-size div.image-size-item{float:right;}tr.image-size label{margin:0 1em 0 0;}.filename.original{float:right;}.crunching{text-align:left;margin-right:0;margin-left:5px;}button.dismiss{right:auto;left:5px;}.file-error{margin:0 50px 5px 0;}.progress{left:auto;right:0;}.describe td{padding:0 0 0 5px;}.bar{border-right-width:0;border-left-width:3px;border-right-style:none;border-left-style:solid;}#media-upload .media-upload-form p{margin:0 0 1em 1em;}.filename{float:right;margin-left:0;margin-right:10px;}#media-upload .describe th.label{text-align:right;}.menu_order{float:left;}.media-upload-form label.form-help,td.help,#media-upload p.help,#media-upload label.help{font-family:Tahoma,Arial;}#gallery-settings #basic th.label{padding:5px 0 5px 5px;}#gallery-settings .title,h3.media-title{font-family:Tahoma,Arial;}#gallery-settings .describe th.label{text-align:right;}#gallery-settings label,#gallery-settings legend{margin-right:0;margin-left:15px;}#gallery-settings .align .field label{margin:0 0 0 1.5em;} \ No newline at end of file +body#media-upload ul#sidemenu{left:auto;right:0;}#search-filter{text-align:left;}.align .field label{padding:0 28px 0 0;margin:0 0 0 1em;}.image-align-none-label,.image-align-left-label,.image-align-center-label,.image-align-right-label{background-position:center right;}tr.image-size div.image-size-item{float:right;}tr.image-size label{margin:0 1em 0 0;}.crunching{text-align:left;margin-right:0;margin-left:5px;}button.dismiss{right:auto;left:5px;}.file-error{margin:0 50px 5px 0;}.progress{left:auto;right:0;}.describe td{padding:0 0 0 5px;}.bar{border-right-width:0;border-left-width:3px;border-right-style:none;border-left-style:solid;}#media-upload .media-upload-form p{margin:0 0 1em 1em;}#media-upload .describe th.label{text-align:right;}.menu_order{float:left;}.media-upload-form label.form-help,td.help,#media-upload p.help,#media-upload label.help{font-family:Tahoma,Arial;}#gallery-settings #basic th.label{padding:5px 0 5px 5px;}#gallery-settings .title,h3.media-title{font-family:Tahoma,Arial;}#gallery-settings .describe th.label{text-align:right;}#gallery-settings label,#gallery-settings legend{margin-right:0;margin-left:15px;}#gallery-settings .align .field label{margin:0 0 0 1.5em;}#sort-buttons{margin:3px 0 -8px 25px;text-align:left;}#sort-buttons #asc,#sort-buttons #showall{padding-left:0;padding-right:5px;}#sort-buttons span{margin-right:0;margin-left:25px;} \ No newline at end of file diff --git a/src/wp-admin/css/media-rtl.dev.css b/src/wp-admin/css/media-rtl.dev.css index fed8644..efa1e2e 100644 --- a/src/wp-admin/css/media-rtl.dev.css +++ b/src/wp-admin/css/media-rtl.dev.css @@ -19,9 +19,6 @@ tr.image-size div.image-size-item { tr.image-size label { margin: 0 1em 0 0; } -.filename.original { - float: right; -} .crunching { text-align: left; margin-right: 0; @@ -52,11 +49,6 @@ button.dismiss { #media-upload .media-upload-form p { margin: 0 0 1em 1em; } -.filename { - float: right; - margin-left: 0; - margin-right: 10px; -} #media-upload .describe th.label { text-align: right; } @@ -83,3 +75,18 @@ button.dismiss { #gallery-settings .align .field label { margin: 0 0 0 1.5em; } +#sort-buttons { + margin: 3px 0 -8px 25px; + text-align: left; +} + +#sort-buttons #asc, +#sort-buttons #showall { + padding-left: 0; + padding-right: 5px; +} + +#sort-buttons span { + margin-right: 0; + margin-left: 25px; +} diff --git a/src/wp-admin/css/media.css b/src/wp-admin/css/media.css index 7daea26..d157ee2 100644 --- a/src/wp-admin/css/media.css +++ b/src/wp-admin/css/media.css @@ -1 +1 @@ -div#media-upload-header{margin:0;padding:0 5px;font-weight:bold;position:relative;border-bottom-width:1px;border-bottom-style:solid;}body#media-upload ul#sidemenu{font-weight:normal;margin:0 5px;left:0;bottom:-1px;float:none;overflow:hidden;}div#media-upload-error{margin:1em;font-weight:bold;}form{margin:1em;}#search-filter{text-align:right;}th{position:relative;}.media-upload-form label.form-help,td.help{font-family:"Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif;font-style:italic;font-weight:normal;}.media-upload-form p.help{margin:0;padding:0;}.media-upload-form fieldset{width:100%;border:none;text-align:justify;margin:0 0 1em 0;padding:0;}.image-align-none-label{background:url(../images/align-none.png) no-repeat center left;}.image-align-left-label{background:url(../images/align-left.png) no-repeat center left;}.image-align-center-label{background:url(../images/align-center.png) no-repeat center left;}.image-align-right-label{background:url(../images/align-right.png) no-repeat center left;}tr.image-size td{width:460px;}tr.image-size div.image-size-item{float:left;width:25%;margin:0;}#library-form .progress,#gallery-form .progress,#flash-upload-ui,.insert-gallery,.describe.startopen,.describe.startclosed{display:none;}.media-item .thumbnail{max-width:128px;max-height:128px;}thead.media-item-info tr{background-color:transparent;}thead.media-item-info th,thead.media-item-info td{border:none;margin:0;}.form-table thead.media-item-info{border:8px solid #fff;}abbr.required{text-decoration:none;border:none;}.describe label{display:inline;}.describe td{vertical-align:middle;padding:0 5px 8px 0;}.describe td.error{padding:2px 8px;}.describe td.A1{width:132px;}.describe input[type="text"],.describe textarea{width:460px;border-width:1px;border-style:solid;}.hidden{height:0;width:0;overflow:hidden;border:none;}#media-upload p.ml-submit{padding:1em 0;}#media-upload p.help,#media-upload label.help{font-family:"Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif;font-style:italic;font-weight:normal;}#media-upload tr.image-size td.field{text-align:center;}#media-upload #media-items{border-width:1px;border-style:solid;border-bottom:none;width:623px;}#media-upload .media-item{border-bottom-width:1px;border-bottom-style:solid;min-height:36px;width:100%;}#media-upload .ui-sortable .media-item{cursor:move;}.filename{line-height:36px;padding:0 10px;overflow:hidden;}#media-upload .describe{width:100%;clear:both;cursor:default;}#media-upload .slidetoggle{border-top-width:1px;border-top-style:solid;}#media-upload .describe th.label{padding-top:.2em;text-align:left;min-width:120px;}#media-upload tr.align td.field{text-align:center;}#media-upload tr.image-size{margin-bottom:1em;height:3em;}#media-upload #filter{width:623px;}#media-upload #filter .subsubsub{margin:8px 0;}#filter .tablenav select{border-style:solid;border-width:1px;padding:2px;vertical-align:top;width:auto;}#media-upload .del-attachment{display:none;margin:5px 0;}.menu_order{float:right;font-size:11px;margin:10px 10px 0;}.menu_order_input{border:1px solid #ddd;font-size:10px;padding:1px;width:23px;}.ui-sortable-helper{background-color:#fff;border:1px solid #aaa;opacity:.6;filter:alpha(opacity=60);}#media-upload th.order-head{width:20%;text-align:center;}#media-upload th.actions-head{width:25%;text-align:center;}#media-upload a.wp-post-thumbnail{margin:0 20px;}#media-items a.delete{display:block;float:right;}#media-upload .widefat{width:626px;border-style:solid solid none;}.sorthelper{height:37px;width:623px;display:block;}#gallery-settings th.label{width:160px;}#gallery-settings #basic th.label{padding:5px 5px 5px 0;}#gallery-settings .title{clear:both;padding:0 0 3px;font-size:1.6em;border-bottom:1px solid #DADADA;}h3.media-title{font-size:1.6em;}h4.media-sub-title{border-bottom:1px solid #DADADA;font-size:1.3em;margin:12px;padding:0 0 3px;}#gallery-settings .title,h3.media-title,h4.media-sub-title{font-family:Georgia,"Times New Roman",Times,serif;font-weight:normal;color:#5A5A5A;}#gallery-settings .describe td{vertical-align:middle;height:3em;}#gallery-settings .describe th.label{padding-top:.5em;text-align:left;}#gallery-settings .describe{padding:5px;width:615px;clear:both;cursor:default;}#gallery-settings .describe select{width:15em;}#gallery-settings .describe select option,#gallery-settings .describe td{padding:0;}#gallery-settings label,#gallery-settings legend{font-size:13px;color:#464646;margin-right:15px;}#gallery-settings .align .field label{margin:0 1.5em 0 0;}#gallery-settings p.ml-submit{border-top:1px solid #dfdfdf;}#gallery-settings select#columns{width:6em;}#sort-buttons{font-size:.8em;margin:3px 25px -8px 0;text-align:right;max-width:625px;}#sort-buttons a{text-decoration:none;}#sort-buttons #asc,#sort-buttons #showall{padding-left:5px;}#sort-buttons span{margin-right:25px;} \ No newline at end of file +div#media-upload-header{margin:0;padding:0 5px;font-weight:bold;position:relative;border-bottom-width:1px;border-bottom-style:solid;}body#media-upload ul#sidemenu{font-weight:normal;margin:0 5px;left:0;bottom:-1px;float:none;overflow:hidden;}div#media-upload-error{margin:1em;font-weight:bold;}form{margin:1em;}#search-filter{text-align:right;}th{position:relative;}.media-upload-form label.form-help,td.help{font-family:"Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif;font-style:italic;font-weight:normal;}.media-upload-form p.help{margin:0;padding:0;}.media-upload-form fieldset{width:100%;border:none;text-align:justify;margin:0 0 1em 0;padding:0;}.image-align-none-label{background:url(../images/align-none.png) no-repeat center left;}.image-align-left-label{background:url(../images/align-left.png) no-repeat center left;}.image-align-center-label{background:url(../images/align-center.png) no-repeat center left;}.image-align-right-label{background:url(../images/align-right.png) no-repeat center left;}tr.image-size td{width:460px;}tr.image-size div.image-size-item{float:left;width:25%;margin:0;}#library-form .progress,#gallery-form .progress,.insert-gallery,.describe.startopen,.describe.startclosed{display:none;}.media-item .thumbnail{max-width:128px;max-height:128px;}thead.media-item-info tr{background-color:transparent;}thead.media-item-info th,thead.media-item-info td{border:none;margin:0;}.form-table thead.media-item-info{border:8px solid #fff;}abbr.required{text-decoration:none;border:none;}.describe label{display:inline;}.describe td{vertical-align:middle;padding:0 5px 8px 0;}.describe td.error{padding:2px 8px;}.describe td.A1{width:132px;}.describe input[type="text"],.describe textarea{width:460px;border-width:1px;border-style:solid;}.hidden{height:0;width:0;overflow:hidden;border:none;}#media-upload p.ml-submit{padding:1em 0;}#media-upload p.help,#media-upload label.help{font-family:"Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif;font-style:italic;font-weight:normal;}#media-upload tr.image-size td.field{text-align:center;}#media-upload #media-items{border-width:1px;border-style:solid;border-bottom:none;width:623px;}#media-upload .media-item{border-bottom-width:1px;border-bottom-style:solid;min-height:36px;width:100%;}#media-upload .ui-sortable .media-item{cursor:move;}.filename{line-height:36px;padding:0 10px;overflow:hidden;}#media-upload .describe{width:100%;clear:both;cursor:default;}#media-upload .slidetoggle{border-top-width:1px;border-top-style:solid;}#media-upload .describe th.label{padding-top:.2em;text-align:left;min-width:120px;}#media-upload tr.align td.field{text-align:center;}#media-upload tr.image-size{margin-bottom:1em;height:3em;}#media-upload #filter{width:623px;}#media-upload #filter .subsubsub{margin:8px 0;}#filter .tablenav select{border-style:solid;border-width:1px;padding:2px;vertical-align:top;width:auto;}#media-upload .del-attachment{display:none;margin:5px 0;}.menu_order{float:right;font-size:11px;margin:10px 10px 0;}.menu_order_input{border:1px solid #ddd;font-size:10px;padding:1px;width:23px;}.ui-sortable-helper{background-color:#fff;border:1px solid #aaa;opacity:.6;filter:alpha(opacity=60);}#media-upload th.order-head{width:20%;text-align:center;}#media-upload th.actions-head{width:25%;text-align:center;}#media-upload a.wp-post-thumbnail{margin:0 20px;}#media-items a.delete{display:block;float:right;}#media-upload .widefat{width:626px;border-style:solid solid none;}.sorthelper{height:37px;width:623px;display:block;}#gallery-settings th.label{width:160px;}#gallery-settings #basic th.label{padding:5px 5px 5px 0;}#gallery-settings .title{clear:both;padding:0 0 3px;font-size:1.6em;border-bottom:1px solid #DADADA;}h3.media-title{font-size:1.6em;}h4.media-sub-title{border-bottom:1px solid #DADADA;font-size:1.3em;margin:12px;padding:0 0 3px;}#gallery-settings .title,h3.media-title,h4.media-sub-title{font-family:Georgia,"Times New Roman",Times,serif;font-weight:normal;color:#5A5A5A;}#gallery-settings .describe td{vertical-align:middle;height:3em;}#gallery-settings .describe th.label{padding-top:.5em;text-align:left;}#gallery-settings .describe{padding:5px;width:615px;clear:both;cursor:default;}#gallery-settings .describe select{width:15em;}#gallery-settings .describe select option,#gallery-settings .describe td{padding:0;}#gallery-settings label,#gallery-settings legend{font-size:13px;color:#464646;margin-right:15px;}#gallery-settings .align .field label{margin:0 1.5em 0 0;}#gallery-settings p.ml-submit{border-top:1px solid #dfdfdf;}#gallery-settings select#columns{width:6em;}#sort-buttons{font-size:.8em;margin:3px 25px -8px 0;text-align:right;max-width:625px;}#sort-buttons a{text-decoration:none;}#sort-buttons #asc,#sort-buttons #showall{padding-left:5px;}#sort-buttons span{margin-right:25px;} \ No newline at end of file diff --git a/src/wp-admin/css/media.dev.css b/src/wp-admin/css/media.dev.css index 3c25772..db8f8d3 100644 --- a/src/wp-admin/css/media.dev.css +++ b/src/wp-admin/css/media.dev.css @@ -83,7 +83,6 @@ tr.image-size div.image-size-item { #library-form .progress, #gallery-form .progress, -#flash-upload-ui, .insert-gallery, .describe.startopen, .describe.startclosed { diff --git a/src/wp-admin/css/ms.css b/src/wp-admin/css/ms.css index a7e3982..29d9d54 100644 --- a/src/wp-admin/css/ms.css +++ b/src/wp-admin/css/ms.css @@ -1 +1 @@ -#dashboard_right_now p.musub{margin-top:12px;border-top:1px solid #ececec;padding-left:16px;position:static;}#dashboard_right_now td.b a.musublink{font-size:16px;}#dashboard_right_now div.musubtable{border-top:none;}#dashboard_right_now div.musubtable .t{white-space:normal;}.site-deleted{background:#ff8573;}.site-spammed{background:#faafaa;}.site-archived{background:#ffebe8;}.site-mature{background:#fecac2;} \ No newline at end of file +#dashboard_right_now p.musub{margin-top:12px;border-top:1px solid #ececec;padding-left:16px;position:static;}.rtl #dashboard_right_now p.musub{padding-left:0;padding-right:16px;}#dashboard_right_now td.b a.musublink{font-size:16px;}#dashboard_right_now div.musubtable{border-top:none;}#dashboard_right_now div.musubtable .t{white-space:normal;}.wp-list-table .site-deleted{background:#ff8573;}.wp-list-table .site-spammed{background:#faafaa;}.wp-list-table .site-archived{background:#ffebe8;}.wp-list-table .site-mature{background:#fecac2;} \ No newline at end of file diff --git a/src/wp-admin/css/ms.dev.css b/src/wp-admin/css/ms.dev.css index 0fb158a..5a5e749 100644 --- a/src/wp-admin/css/ms.dev.css +++ b/src/wp-admin/css/ms.dev.css @@ -6,6 +6,11 @@ position: static; } +.rtl #dashboard_right_now p.musub { + padding-left: 0; + padding-right: 16px; +} + #dashboard_right_now td.b a.musublink { font-size: 16px; } @@ -19,15 +24,15 @@ } /* Background Color for Site Status */ -.site-deleted { +.wp-list-table .site-deleted { background: #ff8573; } -.site-spammed { +.wp-list-table .site-spammed { background: #faafaa; } -.site-archived { +.wp-list-table .site-archived { background: #ffebe8; } -.site-mature { +.wp-list-table .site-mature { background: #fecac2; } diff --git a/src/wp-admin/css/nav-menu-rtl.css b/src/wp-admin/css/nav-menu-rtl.css index 9d24ddd..639f5e9 100644 --- a/src/wp-admin/css/nav-menu-rtl.css +++ b/src/wp-admin/css/nav-menu-rtl.css @@ -1 +1 @@ -#nav-menus-frame{margin-right:300px;margin-left:0;}#wpbody-content #menu-settings-column{margin-right:-300px;margin-left:0;float:right;}#menu-management-liquid{float:right;}#menu-management{margin-left:20px;margin-right:0;}#post-body{padding:0 10px 10px 0;}.post-body-plain{padding:10px 0 0 10px;}#menu-management .nav-tabs-arrow-left{right:0;left:auto;}#menu-management .nav-tabs-arrow-right{left:0;right:auto;text-align:left;}#menu-management .nav-tabs{padding-right:20px;padding-left:10px;}.js #menu-management .nav-tabs{float:right;margin-right:0;margin-left:-400px;}#select-nav-menu-container{text-align:left;}#wpbody .open-label{float:right;}#wpbody .open-label span{padding-left:10px;padding-right:0;}.js .input-with-default-title{font-style:normal;font-weight:bold;}.postbox .howto input{float:left;}#nav-menu-theme-locations .button-controls{text-align:left;}.meta-sep,.submitdelete,.submitcancel{float:right;}#cancel-save{margin-right:20px;margin-left:0;}.list-controls{float:right;}.add-to-menu{float:left;}#add-custom-link label span{float:right;padding-left:5px;padding-right:0;}.howto span{float:right;}.list li .menu-item-title input{margin-left:3px;margin-right:0;}.menu-item-handle{padding-right:10px;padding-left:0;}.menu-item-edit-active .menu-item-handle{-moz-border-radius:6px 6px 0 0;-webkit-border-bottom-left-radius:0;-webkit-border-bottom-right-radius:0;-khtml-border-bottom-left-radius:0;-khtml-border-bottom-right-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:0;}.menu-item-handle .item-title{margin-left:13em;margin-right:0;}.menu-item-depth-0{margin-right:0;margin-left:0;}.menu-item-depth-1{margin-right:30px;margin-left:0;}.menu-item-depth-2{margin-right:60px;margin-left:0;}.menu-item-depth-3{margin-right:90px;margin-left:0;}.menu-item-depth-4{margin-right:120px;margin-left:0;}.menu-item-depth-5{margin-right:150px;margin-left:0;}.menu-item-depth-6{margin-right:180px;margin-left:0;}.menu-item-depth-7{margin-right:210px;margin-left:0;}.menu-item-depth-8{margin-right:240px;margin-left:0;}.menu-item-depth-9{margin-right:270px;margin-left:0;}.menu-item-depth-10{margin-right:300px;margin-left:0;}.menu-item-depth-11{margin-right:330px;margin-left:0;}.menu-item-depth-0 .menu-item-transport{margin-right:0;margin-left:0;}.menu-item-depth-1 .menu-item-transport{margin-right:-30px;margin-left:0;}.menu-item-depth-2 .menu-item-transport{margin-right:-60px;margin-left:0;}.menu-item-depth-3 .menu-item-transport{margin-right:-90px;margin-left:0;}.menu-item-depth-4 .menu-item-transport{margin-right:-120px;margin-left:0;}.menu-item-depth-5 .menu-item-transport{margin-right:-150px;margin-left:0;}.menu-item-depth-6 .menu-item-transport{margin-right:-180px;margin-left:0;}.menu-item-depth-7 .menu-item-transport{margin-right:-210px;margin-left:0;}.menu-item-depth-8 .menu-item-transport{margin-right:-240px;margin-left:0;}.menu-item-depth-9 .menu-item-transport{margin-right:-270px;margin-left:0;}.menu-item-depth-10 .menu-item-transport{margin-right:-300px;margin-left:0;}.menu-item-depth-11 .menu-item-transport{margin-right:-330px;margin-left:0;}.item-type{padding-left:10px;padding-right:0;}.item-controls{left:20px;right:auto;}.item-controls .item-order{padding-left:10px;padding-right:0;}.item-edit{background-image:url("../images/menu-bits-rtl.gif?ver=20100531");background-position:100% -105px;left:-20px;right:auto;-moz-border-radius-bottomright:3px;-moz-border-radius-bottomleft:0;-webkit-border-bottom-right-radius:3px;-webkit-border-bottom-left-radius:0;-khtml-border-bottom-right-radius:3px;-khtml-border-bottom-left-radius:0;border-bottom-right-radius:3px;border-bottom-left-radius:0;}.menu-item-settings{padding:10px 10px 10px 0;border-width:0 1px 1px 1px;}.link-to-original{font-style:normal;font-weight:bold;}.link-to-original a{padding-right:4px;padding-left:0;}.menu-item-settings .description-thin,.menu-item-settings .description-wide{margin-left:10px;margin-right:0;float:right;}.major-publishing-actions .publishing-action{text-align:left;float:left;}.major-publishing-actions .delete-action{text-align:right;float:right;padding-left:15px;padding-right:0;}.menu-name-label{margin-left:15px;margin-right:0;}.auto-add-pages{float:right;} \ No newline at end of file +#nav-menus-frame{margin-right:300px;margin-left:0;}#wpbody-content #menu-settings-column{margin-right:-300px;margin-left:0;float:right;}#menu-management-liquid{float:right;}#menu-management{margin-left:20px;margin-right:0;}#post-body{padding:0 10px 10px 0;}.post-body-plain{padding:10px 0 0 10px;}#menu-management .nav-tabs-arrow-left{right:0;left:auto;}#menu-management .nav-tabs-arrow-right{left:0;right:auto;text-align:left;font-family:Tahoma,Arial,sans-serif;}#menu-management .nav-tabs{padding-right:20px;padding-left:10px;}.js #menu-management .nav-tabs{float:right;margin-right:0;margin-left:-400px;}#select-nav-menu-container{text-align:left;}#wpbody .open-label{float:right;}#wpbody .open-label span{padding-left:10px;padding-right:0;}.js .input-with-default-title{font-style:normal;font-weight:bold;}.postbox .howto input{float:left;}#nav-menu-theme-locations .button-controls{text-align:left;}.meta-sep,.submitdelete,.submitcancel{float:right;}#cancel-save{margin-left:0;margin-right:20px;}.list-controls{float:right;}.add-to-menu{float:left;}#add-custom-link label span{float:right;padding-left:5px;padding-right:0;}.howto span{float:right;}.list li .menu-item-title input{margin-left:3px;margin-right:0;}.menu-item-handle{padding-right:10px;padding-left:0;}.menu-item-edit-active .menu-item-handle{-moz-border-radius:3px 3px 0 0;-webkit-border-bottom-left-radius:0;-webkit-border-bottom-right-radius:0;-khtml-border-bottom-left-radius:0;-khtml-border-bottom-right-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:0;}.menu-item-handle .item-title{margin-left:13em;margin-right:0;}.menu-item-depth-0{margin-right:0;margin-left:0;}.menu-item-depth-1{margin-right:30px;margin-left:0;}.menu-item-depth-2{margin-right:60px;margin-left:0;}.menu-item-depth-3{margin-right:90px;margin-left:0;}.menu-item-depth-4{margin-right:120px;margin-left:0;}.menu-item-depth-5{margin-right:150px;margin-left:0;}.menu-item-depth-6{margin-right:180px;margin-left:0;}.menu-item-depth-7{margin-right:210px;margin-left:0;}.menu-item-depth-8{margin-right:240px;margin-left:0;}.menu-item-depth-9{margin-right:270px;margin-left:0;}.menu-item-depth-10{margin-right:300px;margin-left:0;}.menu-item-depth-11{margin-right:330px;margin-left:0;}.menu-item-depth-0 .menu-item-transport{margin-right:0;margin-left:0;}.menu-item-depth-1 .menu-item-transport{margin-right:-30px;margin-left:0;}.menu-item-depth-2 .menu-item-transport{margin-right:-60px;margin-left:0;}.menu-item-depth-3 .menu-item-transport{margin-right:-90px;margin-left:0;}.menu-item-depth-4 .menu-item-transport{margin-right:-120px;margin-left:0;}.menu-item-depth-5 .menu-item-transport{margin-right:-150px;margin-left:0;}.menu-item-depth-6 .menu-item-transport{margin-right:-180px;margin-left:0;}.menu-item-depth-7 .menu-item-transport{margin-right:-210px;margin-left:0;}.menu-item-depth-8 .menu-item-transport{margin-right:-240px;margin-left:0;}.menu-item-depth-9 .menu-item-transport{margin-right:-270px;margin-left:0;}.menu-item-depth-10 .menu-item-transport{margin-right:-300px;margin-left:0;}.menu-item-depth-11 .menu-item-transport{margin-right:-330px;margin-left:0;}.item-type{padding-left:10px;padding-right:0;}.item-controls{left:20px;right:auto;}.item-controls .item-order{padding-left:10px;padding-right:0;}.item-edit{left:-20px;right:auto;-moz-border-radius-bottomright:3px;-moz-border-radius-bottomleft:0;-webkit-border-bottom-right-radius:3px;-webkit-border-bottom-left-radius:0;-khtml-border-bottom-right-radius:3px;-khtml-border-bottom-left-radius:0;border-bottom-right-radius:3px;border-bottom-left-radius:0;}.menu-item-settings{padding:10px 10px 10px 0;border-width:0 1px 1px 1px;}.link-to-original{font-style:normal;font-weight:bold;}.link-to-original a{padding-right:4px;padding-left:0;}.menu-item-settings .description-thin,.menu-item-settings .description-wide{margin-left:10px;margin-right:0;float:right;}.major-publishing-actions .publishing-action{text-align:left;float:left;}.major-publishing-actions .delete-action{text-align:right;float:right;padding-left:15px;padding-right:0;}.menu-name-label{margin-left:15px;margin-right:0;}.auto-add-pages{float:right;} \ No newline at end of file diff --git a/src/wp-admin/css/nav-menu-rtl.dev.css b/src/wp-admin/css/nav-menu-rtl.dev.css index 523e216..69d8797 100644 --- a/src/wp-admin/css/nav-menu-rtl.dev.css +++ b/src/wp-admin/css/nav-menu-rtl.dev.css @@ -37,6 +37,7 @@ left: 0; right:auto; text-align: left; + font-family: Tahoma, Arial, sans-serif; } #menu-management .nav-tabs { @@ -83,10 +84,15 @@ float:right; } -#cancel-save { margin-right: 20px; margin-left: 0; } +#cancel-save { + margin-left: 0; + margin-right: 20px; +} /* Button Secondary Actions */ -.list-controls { float: right; } +.list-controls { + float: right; +} .add-to-menu { float: left; } @@ -103,7 +109,7 @@ padding-left: 0; } .menu-item-edit-active .menu-item-handle { - -moz-border-radius: 6px 6px 0 0; + -moz-border-radius: 3px 3px 0 0; -webkit-border-bottom-left-radius: 0; -webkit-border-bottom-right-radius: 0; -khtml-border-bottom-left-radius: 0; @@ -150,8 +156,6 @@ .item-controls .item-order { padding-left: 10px; padding-right: 0;} .item-edit { - background-image: url("../images/menu-bits-rtl.gif?ver=20100531"); - background-position: 100% -105px; left: -20px; right:auto; -moz-border-radius-bottomright: 3px; diff --git a/src/wp-admin/css/nav-menu.css b/src/wp-admin/css/nav-menu.css index 266145b..a1f5677 100644 --- a/src/wp-admin/css/nav-menu.css +++ b/src/wp-admin/css/nav-menu.css @@ -1 +1 @@ -html,body{min-width:950px;}#nav-menus-frame{margin-left:300px;}#wpbody-content #menu-settings-column{display:inline;width:281px;margin-left:-300px;clear:both;float:left;padding-top:24px;}.no-js #wpbody-content #menu-settings-column{padding-top:31px;}#menu-settings-column .inside{clear:both;padding:0 10px;}.metabox-holder-disabled .postbox{opacity:.5;filter:alpha(opacity=50);}.metabox-holder-disabled .button-controls .select-all{display:none;}#wpbody{position:relative;}#menu-management-liquid{float:left;min-width:100%;}#menu-management{position:relative;margin-right:20px;margin-top:-3px;width:100%;}#menu-management .menu-edit{margin-bottom:20px;}#nav-menu-header,#post-body,#nav-menu-footer{border-color:#ccc;border-style:solid;}#nav-menu-header{border-width:1px 1px 0 1px;-moz-border-radius-topleft:6px;-webkit-border-top-left-radius:6px;-khtml-border-top-left-radius:6px;border-top-left-radius:6px;-moz-border-radius-topright:6px;-webkit-border-top-right-radius:6px;-khtml-border-top-right-radius:6px;border-top-right-radius:6px;}#post-body{background:#fff;padding:10px;border-width:0 1px;}#post-body div.updated{margin:0;}#post-body-content{position:relative;}#menu-management .menu-add-new abbr{font-weight:bold;}#nav-menu-footer{border-width:0 1px 1px 1px;-moz-border-radius-bottomleft:6px;-webkit-border-bottom-left-radius:6px;-khtml-border-bottom-left-radius:6px;border-bottom-left-radius:6px;-moz-border-radius-bottomright:6px;-webkit-border-bottom-right-radius:6px;-khtml-border-bottom-right-radius:6px;border-bottom-right-radius:6px;}#menu-management .nav-tabs-nav{margin:0 20px;}#menu-management .nav-tabs-arrow{width:10px;padding:0 5px 4px;cursor:pointer;position:absolute;top:0;line-height:22px;font-size:18px;text-shadow:0 1px 0 #fff;}#menu-management .nav-tabs-arrow a{color:#C1C1C1;}#menu-management .nav-tabs-arrow a:hover{color:#D54E21;}#menu-management .nav-tabs-arrow a:active{color:#464646;}#menu-management .nav-tabs-arrow-left{left:0;}#menu-management .nav-tabs-arrow-right{right:0;text-align:right;}#menu-management .nav-tabs-wrapper{width:100%;height:28px;margin-bottom:-1px;overflow:hidden;}#menu-management .nav-tabs{padding-left:20px;padding-right:10px;}.js #menu-management .nav-tabs{float:left;margin-left:0;margin-right:-400px;}#menu-management .nav-tab{margin-bottom:0;background:#f4f4f4;font-weight:bold;border-color:#dfdfdf;}#menu-management .nav-tab-active{border-color:#ccc;}#select-nav-menu-container{text-align:right;padding:0 10px 3px 10px;margin-bottom:5px;}#select-nav-menu{width:100px;display:inline;}#menu-name-label{margin-top:-2px;}#wpbody .open-label{display:block;float:left;}#wpbody .open-label span{padding-right:10px;}.js .input-with-default-title{color:#aaa;font-style:italic;}#menu-management .inside{padding:0 10px;}.postbox .howto input{width:180px;float:right;}.customlinkdiv .howto input{width:210px;}#nav-menu-theme-locations .howto select{width:100%;}#nav-menu-theme-locations .button-controls{text-align:right;}.add-menu-item-view-all{height:400px;}#menu-container .submit{margin:0 0 10px;padding:0;}.meta-sep,.submitdelete,.submitcancel{display:block;float:left;font-size:11px;margin:4px 0;line-height:15px;}.meta-sep{padding:0 2px;}#cancel-save{color:#f00;text-decoration:underline;font-size:11px;margin-left:20px;margin-top:5px;}#cancel-save:hover{background-color:#F00;color:#fff;}.list-controls{float:left;margin-top:5px;}.add-to-menu{float:right;}.postbox img.waiting{display:none;vertical-align:middle;}.button-controls{clear:both;margin:10px 0;}.show-all,.hide-all{cursor:pointer;}.hide-all{display:none;}#menu-name{width:270px;}#manage-menu .inside{padding:0;}#available-links dt{display:block;}#add-custom-link .howto{font-size:11px;}#add-custom-link label span{display:block;float:left;margin-top:5px;padding-right:5px;}.menu-item-textbox{width:180px;}.howto span{margin-top:4px;display:block;float:left;}.quick-search{width:190px;}.list-wrap{display:none;clear:both;margin-bottom:10px;}.list-container{max-height:200px;overflow-y:auto;padding:10px 10px 5px;border:1px solid #DFDFDF;-moz-border-radius:4px;}.postbox p.submit{margin-bottom:0;}.list li{display:none;margin:0;margin-bottom:5px;}.list li .menu-item-title{cursor:pointer;display:block;}.list li .menu-item-title input{margin-right:3px;margin-top:-3px;}#menu-container .inside{padding-bottom:10px;}.menu{padding-top:1em;}#menu-to-edit{padding:1em 0;}.menu ul{width:100%;}.menu li{margin-bottom:0;position:relative;}.menu-item-bar{clear:both;line-height:1.5em;position:relative;margin-top:13px;}.menu-item-handle{border:1px solid #E6E6E6;position:relative;padding-left:10px;height:auto;width:400px;line-height:35px;text-shadow:0 1px 0 #FFF;font-weight:bold;overflow:hidden;border-radius:6px;-webkit-border-radius:6px;-moz-border-radius:6px;-khtml-border-radius:6px;word-wrap:break-word;}.menu-item-edit-active .menu-item-handle{-moz-border-radius:6px 6px 0 0;-webkit-border-bottom-right-radius:0;-webkit-border-bottom-left-radius:0;-khtml-border-bottom-right-radius:0;-khtml-border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0;}.no-js .menu-item-edit-active .item-edit{display:none;}.js .menu-item-handle{cursor:move;}.menu li.deleting .menu-item-handle{background-color:#f66;background-image:none;text-shadow:0 0 0 #ccc;}.menu-item-handle .item-title{padding:7px 0;line-height:20px;display:block;margin-right:13em;}li.menu-item.ui-sortable-helper dl{margin-top:0;}li.menu-item.ui-sortable-helper .menu-item-transport dl{margin-top:13px;}.menu .sortable-placeholder{height:35px;width:410px;margin-top:13px;}.menu-item-depth-0{margin-left:0;}.menu-item-depth-1{margin-left:30px;}.menu-item-depth-2{margin-left:60px;}.menu-item-depth-3{margin-left:90px;}.menu-item-depth-4{margin-left:120px;}.menu-item-depth-5{margin-left:150px;}.menu-item-depth-6{margin-left:180px;}.menu-item-depth-7{margin-left:210px;}.menu-item-depth-8{margin-left:240px;}.menu-item-depth-9{margin-left:270px;}.menu-item-depth-10{margin-left:300px;}.menu-item-depth-11{margin-left:330px;}.menu-item-depth-0 .menu-item-transport{margin-left:0;}.menu-item-depth-1 .menu-item-transport{margin-left:-30px;}.menu-item-depth-2 .menu-item-transport{margin-left:-60px;}.menu-item-depth-3 .menu-item-transport{margin-left:-90px;}.menu-item-depth-4 .menu-item-transport{margin-left:-120px;}.menu-item-depth-5 .menu-item-transport{margin-left:-150px;}.menu-item-depth-6 .menu-item-transport{margin-left:-180px;}.menu-item-depth-7 .menu-item-transport{margin-left:-210px;}.menu-item-depth-8 .menu-item-transport{margin-left:-240px;}.menu-item-depth-9 .menu-item-transport{margin-left:-270px;}.menu-item-depth-10 .menu-item-transport{margin-left:-300px;}.menu-item-depth-11 .menu-item-transport{margin-left:-330px;}body.menu-max-depth-0{min-width:950px!important;}body.menu-max-depth-1{min-width:980px!important;}body.menu-max-depth-2{min-width:1010px!important;}body.menu-max-depth-3{min-width:1040px!important;}body.menu-max-depth-4{min-width:1070px!important;}body.menu-max-depth-5{min-width:1100px!important;}body.menu-max-depth-6{min-width:1130px!important;}body.menu-max-depth-7{min-width:1160px!important;}body.menu-max-depth-8{min-width:1190px!important;}body.menu-max-depth-9{min-width:1220px!important;}body.menu-max-depth-10{min-width:1250px!important;}body.menu-max-depth-11{min-width:1280px!important;}.item-type{text-transform:uppercase;font-size:11px;color:#999;padding-right:10px;}.item-controls{font-size:11px;position:absolute;right:20px;top:-1px;}.item-controls a{text-decoration:none;}.item-controls a:hover{cursor:pointer;}.item-controls .item-order{padding-right:10px;}.item-controls .item-order a{font-weight:bold;}body.js .item-order{display:none;}.item-controls .menu-item-delete:hover{color:#f00;}.item-edit{background:url("../images/menu-bits.gif?ver=20100610") no-repeat scroll 0 -105px;position:absolute;right:-20px;top:0;display:block;width:23px;height:36px;overflow:hidden;text-indent:-999em;border-bottom:1px solid #eee;-moz-border-radius-bottomleft:3px;-webkit-border-bottom-left-radius:3px;-khtml-border-bottom-left-radius:3px;border-bottom-left-radius:3px;}.menu-instructions-inactive{display:none;}.menu-item-settings{background:#F9F9F9;display:block;width:400px;padding:10px 0 10px 10px;border:solid #E6E6E6;border-width:0 1px 1px 1px;-moz-border-radius:0 0 6px 6px;-webkit-border-bottom-right-radius:6px;-webkit-border-bottom-left-radius:6px;-khtml-border-bottom-right-radius:6px;-khtml-border-bottom-left-radius:6px;}.menu-item-edit-active .menu-item-settings{display:block;}.menu-item-edit-inactive .menu-item-settings{display:none;}.add-menu-item-pagelinks{margin:.5em auto;text-align:center;}.link-to-original{display:block;margin:0 0 10px;padding:3px 5px 5px;font-size:11px;color:#777;font-style:italic;border:1px solid #dfdfdf;border-radius:6px;-webkit-border-radius:6px;-moz-border-radius:6px;-khtml-border-radius:6px;}.link-to-original a{padding-left:4px;font-style:normal;}.hidden-field{display:none;}.menu-item-settings .description-thin,.menu-item-settings .description-wide{margin-right:10px;float:left;}.description-thin{width:190px;height:40px;}.description-wide{width:390px;}.menu-item-actions{padding-top:15px;}#cancel-save{cursor:pointer;}#cancel-save:hover{color:#fff!important;}#update-menu-item{color:#fff!important;}#update-menu-item:hover,#update-menu-item:active,#update-menu-item:focus{color:#eaf2fa!important;border-color:#13455b!important;}.major-publishing-actions{clear:both;padding:5px 10px;}.major-publishing-actions .publishing-action{text-align:right;float:right;line-height:23px;margin:5px 0 1px;}.major-publishing-actions .delete-action{vertical-align:middle;text-align:left;float:left;padding-right:15px;margin-top:5px;}.menu-name-label span,.auto-add-pages label{font-size:11px;font-style:normal;}.menu-name-label{margin-right:15px;}.auto-add-pages input{margin-top:0;}.auto-add-pages{margin-top:4px;float:left;}.submitbox .submitcancel{color:#21759B;border-bottom:1px solid #21759B;padding:1px 2px;text-decoration:none;}.submitbox .submitcancel:hover{background:#21759B;color:#fff;}.major-publishing-actions .form-invalid{border-radius:4px;-webkit-border-radius:4px;-moz-border-radius:4px;-khtml-border-radius:4px;padding-left:4px;margin-left:-4px;}#menu-item-name-wrap:after,#menu-item-url-wrap:after,#menu-name-label:after,#menu-settings-column .inside:after,#nav-menus-frame:after,#post-body-content:after,.button-controls:after,.major-publishing-actions:after,.menu-item-settings:after{clear:both;content:".";display:block;height:0;visibility:hidden;}#nav-menus-frame,.button-controls,#menu-item-url-wrap,#menu-item-name-wrap{display:block;} \ No newline at end of file +html,body{min-width:950px;}#nav-menus-frame{margin-left:300px;}#wpbody-content #menu-settings-column{display:inline;width:281px;margin-left:-300px;clear:both;float:left;padding-top:24px;}.no-js #wpbody-content #menu-settings-column{padding-top:31px;}#menu-settings-column .inside{clear:both;}.metabox-holder-disabled .postbox{opacity:.5;filter:alpha(opacity=50);}.metabox-holder-disabled .button-controls .select-all{display:none;}#wpbody{position:relative;}#menu-management-liquid{float:left;min-width:100%;}#menu-management{position:relative;margin-right:20px;margin-top:-3px;width:100%;}#menu-management .menu-edit{border:1px solid;-moz-border-radius:3px;-webkit-border-radius:3px;-khtml-border-radius:3px;border-radius:3px;margin-bottom:20px;}#post-body{padding:10px;border-width:1px 0;border-style:solid;}#nav-menu-header,#nav-menu-footer{padding:0 10px;}#nav-menu-header{border-bottom:1px solid;}#nav-menu-footer{border-top:1px solid;}#post-body div.updated,#post-body div.error{margin:0;}#post-body-content{position:relative;}#menu-management .menu-add-new abbr{font-weight:bold;}#menu-management .nav-tabs-nav{margin:0 20px;}#menu-management .nav-tabs-arrow{width:10px;padding:0 5px 4px;cursor:pointer;position:absolute;top:0;line-height:22px;font-size:18px;text-shadow:0 1px 0 #fff;}#menu-management .nav-tabs-arrow-left{left:0;}#menu-management .nav-tabs-arrow-right{right:0;text-align:right;}#menu-management .nav-tabs-wrapper{width:100%;height:28px;margin-bottom:-1px;overflow:hidden;}#menu-management .nav-tabs{padding-left:20px;padding-right:10px;}.js #menu-management .nav-tabs{float:left;margin-left:0;margin-right:-400px;}#menu-management .nav-tab{margin-bottom:0;font-size:14px;font-family:Georgia,"Times New Roman","Bitstream Charter",Times,serif;}#select-nav-menu-container{text-align:right;padding:0 10px 3px 10px;margin-bottom:5px;}#select-nav-menu{width:100px;display:inline;}#menu-name-label{margin-top:-2px;}#wpbody .open-label{display:block;float:left;}#wpbody .open-label span{padding-right:10px;}.js .input-with-default-title{font-style:italic;}#menu-management .inside{padding:0 10px;}.postbox .howto input{width:180px;float:right;}.customlinkdiv .howto input{width:200px;}#nav-menu-theme-locations .howto select{width:100%;}#nav-menu-theme-locations .button-controls{text-align:right;}.add-menu-item-view-all{height:400px;}#menu-container .submit{margin:0 0 10px;padding:0;}.meta-sep,.submitdelete,.submitcancel{display:block;float:left;font-size:12px;margin:4px 0;line-height:15px;}.meta-sep{padding:0 2px;}#cancel-save{text-decoration:underline;font-size:12px;margin-left:20px;margin-top:5px;}.list-controls{float:left;margin-top:5px;}.add-to-menu{float:right;}.postbox img.waiting{display:none;vertical-align:middle;}.button-controls{clear:both;margin:10px 0;}.show-all,.hide-all{cursor:pointer;}.hide-all{display:none;}#menu-name{width:270px;}#manage-menu .inside{padding:0;}#available-links dt{display:block;}#add-custom-link .howto{font-size:12px;}#add-custom-link label span{display:block;float:left;margin-top:5px;padding-right:5px;}.menu-item-textbox{width:180px;}.howto span{margin-top:4px;display:block;float:left;}.quick-search{width:190px;}.list-wrap{display:none;clear:both;margin-bottom:10px;}.list-container{max-height:200px;overflow-y:auto;padding:10px 10px 5px;border:1px solid;-moz-border-radius:3px;}.postbox p.submit{margin-bottom:0;}.list li{display:none;margin:0;margin-bottom:5px;}.list li .menu-item-title{cursor:pointer;display:block;}.list li .menu-item-title input{margin-right:3px;margin-top:-3px;}#menu-container .inside{padding-bottom:10px;}.menu{padding-top:1em;}#menu-to-edit{padding:1em 0;}.menu ul{width:100%;}.menu li{margin-bottom:0;position:relative;}.menu-item-bar{clear:both;line-height:1.5em;position:relative;margin-top:13px;}.menu-item-handle{border:1px solid #dfdfdf;position:relative;padding-left:10px;height:auto;width:400px;line-height:35px;text-shadow:0 1px 0 #FFF;overflow:hidden;word-wrap:break-word;border-radius:3px;-webkit-border-radius:3px;-moz-border-radius:3px;-khtml-border-radius:3px;}#menu-to-edit .menu-item-invalid .menu-item-handle{background-color:#f6c9cc;background-image:-ms-linear-gradient(bottom,#f6c9cc,#fdf8ff);background-image:-moz-linear-gradient(bottom,#f6c9cc,#fdf8ff);background-image:-o-linear-gradient(bottom,#f6c9cc,#fdf8ff);background-image:-webkit-gradient(linear,left bottom,left top,from(#f6c9cc),to(#fdf8ff));background-image:-webkit-linear-gradient(bottom,#f6c9cc,#fdf8ff);background-image:linear-gradient(bottom,#f6c9cc,#fdf8ff);}.menu-item-edit-active .menu-item-handle{-moz-border-radius:3px 3px 0 0;-webkit-border-bottom-right-radius:0;-webkit-border-bottom-left-radius:0;-khtml-border-bottom-right-radius:0;-khtml-border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0;}.no-js .menu-item-edit-active .item-edit{display:none;}.js .menu-item-handle{cursor:move;}.menu li.deleting .menu-item-handle{background-image:none;text-shadow:0;}.menu-item-handle .item-title{font-size:12px;font-weight:bold;padding:7px 0;line-height:20px;display:block;margin-right:13em;}li.menu-item.ui-sortable-helper dl{margin-top:0;}li.menu-item.ui-sortable-helper .menu-item-transport dl{margin-top:13px;}.menu .sortable-placeholder{height:35px;width:410px;margin-top:13px;}.menu-item-depth-0{margin-left:0;}.menu-item-depth-1{margin-left:30px;}.menu-item-depth-2{margin-left:60px;}.menu-item-depth-3{margin-left:90px;}.menu-item-depth-4{margin-left:120px;}.menu-item-depth-5{margin-left:150px;}.menu-item-depth-6{margin-left:180px;}.menu-item-depth-7{margin-left:210px;}.menu-item-depth-8{margin-left:240px;}.menu-item-depth-9{margin-left:270px;}.menu-item-depth-10{margin-left:300px;}.menu-item-depth-11{margin-left:330px;}.menu-item-depth-0 .menu-item-transport{margin-left:0;}.menu-item-depth-1 .menu-item-transport{margin-left:-30px;}.menu-item-depth-2 .menu-item-transport{margin-left:-60px;}.menu-item-depth-3 .menu-item-transport{margin-left:-90px;}.menu-item-depth-4 .menu-item-transport{margin-left:-120px;}.menu-item-depth-5 .menu-item-transport{margin-left:-150px;}.menu-item-depth-6 .menu-item-transport{margin-left:-180px;}.menu-item-depth-7 .menu-item-transport{margin-left:-210px;}.menu-item-depth-8 .menu-item-transport{margin-left:-240px;}.menu-item-depth-9 .menu-item-transport{margin-left:-270px;}.menu-item-depth-10 .menu-item-transport{margin-left:-300px;}.menu-item-depth-11 .menu-item-transport{margin-left:-330px;}body.menu-max-depth-0{min-width:950px!important;}body.menu-max-depth-1{min-width:980px!important;}body.menu-max-depth-2{min-width:1010px!important;}body.menu-max-depth-3{min-width:1040px!important;}body.menu-max-depth-4{min-width:1070px!important;}body.menu-max-depth-5{min-width:1100px!important;}body.menu-max-depth-6{min-width:1130px!important;}body.menu-max-depth-7{min-width:1160px!important;}body.menu-max-depth-8{min-width:1190px!important;}body.menu-max-depth-9{min-width:1220px!important;}body.menu-max-depth-10{min-width:1250px!important;}body.menu-max-depth-11{min-width:1280px!important;}.item-type{font-size:12px;padding-right:10px;}.item-controls{font-size:12px;position:absolute;right:20px;top:-1px;}.item-controls a{text-decoration:none;}.item-controls a:hover{cursor:pointer;}.item-controls .item-order{padding-right:10px;}.item-controls .item-order a{font-weight:bold;}body.js .item-order{display:none;}.item-edit{position:absolute;right:-20px;top:0;display:block;width:30px;height:36px;overflow:hidden;text-indent:-999em;border-bottom:1px solid;-moz-border-radius-bottomleft:3px;-webkit-border-bottom-left-radius:3px;-khtml-border-bottom-left-radius:3px;border-bottom-left-radius:3px;}.menu-instructions-inactive{display:none;}.menu-item-settings{display:block;width:400px;padding:10px 0 10px 10px;border:solid;border-width:0 1px 1px 1px;-moz-border-radius:0 0 3px 3px;-webkit-border-bottom-right-radius:3px;-webkit-border-bottom-left-radius:3px;-khtml-border-bottom-right-radius:3px;-khtml-border-bottom-left-radius:3px;}.menu-item-edit-active .menu-item-settings{display:block;}.menu-item-edit-inactive .menu-item-settings{display:none;}.add-menu-item-pagelinks{margin:.5em auto;text-align:center;}.link-to-original{display:block;margin:0 0 10px;padding:3px 5px 5px;font-size:12px;font-style:italic;border:1px solid;border-radius:3px;-webkit-border-radius:3px;-moz-border-radius:3px;-khtml-border-radius:3px;}.link-to-original a{padding-left:4px;font-style:normal;}.hidden-field{display:none;}.menu-item-settings .description-thin,.menu-item-settings .description-wide{margin-right:10px;float:left;}.description-thin{width:190px;height:40px;}.description-wide{width:390px;}.menu-item-actions{padding-top:15px;}#cancel-save{cursor:pointer;}.major-publishing-actions{clear:both;padding:3px 0 5px;}.major-publishing-actions .publishing-action{text-align:right;float:right;line-height:23px;margin:5px 0 1px;}.major-publishing-actions .delete-action{vertical-align:middle;text-align:left;float:left;padding-right:15px;margin-top:5px;}.menu-name-label span,.auto-add-pages label{font-size:12px;font-style:normal;}.menu-name-label{margin-right:15px;}.auto-add-pages input{margin-top:0;}.auto-add-pages{margin-top:4px;float:left;}.submitbox .submitcancel{border-bottom:1px solid;padding:1px 2px;text-decoration:none;}.major-publishing-actions .form-invalid{padding-left:4px;margin-left:-4px;border-radius:3px;-webkit-border-radius:3px;-moz-border-radius:3px;-khtml-border-radius:3px;}#menu-item-name-wrap:after,#menu-item-url-wrap:after,#menu-name-label:after,#menu-settings-column .inside:after,#nav-menus-frame:after,#post-body-content:after,.button-controls:after,.major-publishing-actions:after,.menu-item-settings:after{clear:both;content:".";display:block;height:0;visibility:hidden;}#nav-menus-frame,.button-controls,#menu-item-url-wrap,#menu-item-name-wrap{display:block;} \ No newline at end of file diff --git a/src/wp-admin/css/nav-menu.dev.css b/src/wp-admin/css/nav-menu.dev.css index 601b8bf..7224ee3 100644 --- a/src/wp-admin/css/nav-menu.dev.css +++ b/src/wp-admin/css/nav-menu.dev.css @@ -31,7 +31,6 @@ body { #menu-settings-column .inside { clear: both; - padding:0 10px; } .metabox-holder-disabled .postbox { @@ -51,61 +50,52 @@ body { float: left; min-width: 100%; } + #menu-management { position: relative; margin-right: 20px; margin-top: -3px; width: 100%; } - #menu-management .menu-edit { - margin-bottom: 20px; - } - #nav-menu-header, #post-body, #nav-menu-footer { - border-color: #ccc; - border-style: solid; - } +#menu-management .menu-edit { + border: 1px solid; + -moz-border-radius: 3px; + -webkit-border-radius: 3px; + -khtml-border-radius: 3px; + border-radius: 3px; + margin-bottom: 20px; +} - #nav-menu-header { - border-width: 1px 1px 0 1px; - -moz-border-radius-topleft: 6px; - -webkit-border-top-left-radius: 6px; - -khtml-border-top-left-radius: 6px; - border-top-left-radius: 6px; - -moz-border-radius-topright: 6px; - -webkit-border-top-right-radius: 6px; - -khtml-border-top-right-radius: 6px; - border-top-right-radius: 6px; - } +#post-body { + padding: 10px; + border-width: 1px 0; + border-style: solid; +} - #post-body { - background: #fff; - padding: 10px; - border-width: 0 1px; - } +#nav-menu-header, +#nav-menu-footer { + padding: 0 10px; +} - #post-body div.updated { - margin: 0; - } - - #post-body-content { - position: relative; - } - - #menu-management .menu-add-new abbr { - font-weight:bold; - } +#nav-menu-header { + border-bottom: 1px solid; +} #nav-menu-footer { - border-width: 0 1px 1px 1px; - -moz-border-radius-bottomleft: 6px; - -webkit-border-bottom-left-radius: 6px; - -khtml-border-bottom-left-radius: 6px; - border-bottom-left-radius: 6px; - -moz-border-radius-bottomright: 6px; - -webkit-border-bottom-right-radius: 6px; - -khtml-border-bottom-right-radius: 6px; - border-bottom-right-radius: 6px; + border-top: 1px solid; +} + +#post-body div.updated, #post-body div.error { + margin: 0; +} + +#post-body-content { + position: relative; +} + +#menu-management .menu-add-new abbr { + font-weight:bold; } /* Menu Tabs */ @@ -124,17 +114,21 @@ body { font-size: 18px; text-shadow: 0 1px 0 #fff; } - #menu-management .nav-tabs-arrow a { color: #C1C1C1; } - #menu-management .nav-tabs-arrow a:hover { color: #D54E21; } - #menu-management .nav-tabs-arrow a:active { color: #464646; } - #menu-management .nav-tabs-arrow-left { + +#menu-management .nav-tabs-arrow a:hover{ +} + +#menu-management .nav-tabs-arrow a:active { +} + +#menu-management .nav-tabs-arrow-left { left: 0; - } - #menu-management .nav-tabs-arrow-right { +} + +#menu-management .nav-tabs-arrow-right { right: 0; text-align: right; - } - +} #menu-management .nav-tabs-wrapper { width: 100%; @@ -147,6 +141,7 @@ body { padding-left: 20px; padding-right: 10px; } + .js #menu-management .nav-tabs { float: left; margin-left: 0px; @@ -155,24 +150,21 @@ body { #menu-management .nav-tab { margin-bottom: 0; - background: #f4f4f4; - font-weight: bold; - border-color: #dfdfdf; + font-size: 14px; + font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif; } -#menu-management .nav-tab-active { - border-color:#ccc; -} #select-nav-menu-container { text-align: right; padding: 0 10px 3px 10px; margin-bottom: 5px; } - #select-nav-menu { - width: 100px; - display: inline; - } + +#select-nav-menu { + width: 100px; + display: inline; +} #menu-name-label { margin-top: -2px; @@ -182,56 +174,74 @@ body { display: block; float:left; } + #wpbody .open-label span { padding-right: 10px; } - .js .input-with-default-title { - color: #aaa; - font-style: italic; - } +.js .input-with-default-title { + font-style: italic; +} -#menu-management .inside { padding: 0 10px; } +#menu-management .inside { + padding: 0 10px; +} /* Add Menu Item Boxes */ .postbox .howto input { width: 180px; float: right; } + .customlinkdiv .howto input { - width: 210px; + width: 200px; } + #nav-menu-theme-locations .howto select { width: 100%; } + #nav-menu-theme-locations .button-controls { text-align: right; } + .add-menu-item-view-all { height: 400px; } /* Button Primary Actions */ -#menu-container .submit { margin: 0px 0px 10px; padding: 0px; } +#menu-container .submit { + margin: 0px 0px 10px; + padding: 0px; +} .meta-sep, .submitdelete, .submitcancel { display:block; float:left; - font-size: 11px; + font-size: 12px; margin: 4px 0; line-height: 15px; } + .meta-sep { padding: 0 2px; } -#cancel-save { color: #ff0000; text-decoration: underline; font-size: 11px; margin-left: 20px; margin-top: 5px; } -#cancel-save:hover { background-color: #FF0000; color: #fff; } +#cancel-save { + text-decoration: underline; + font-size: 12px; + margin-left: 20px; + margin-top: 5px; +} /* Button Secondary Actions */ -.list-controls { float: left; margin-top: 5px; } +.list-controls { + float: left; + margin-top: 5px; +} + .add-to-menu { float: right; } @@ -245,34 +255,94 @@ body { clear:both; margin: 10px 0; } -.show-all, .hide-all { cursor: pointer; } -.hide-all { display: none; } + +.show-all, .hide-all { + cursor: pointer; +} + +.hide-all { + display: none; +} /* Create Menu */ -#menu-name { width: 270px; } -#manage-menu .inside { padding: 0px 0px; } +#menu-name { + width: 270px; +} + +#manage-menu .inside { + padding: 0px 0px; +} /* Custom Links */ -#available-links dt { display: block; } -#add-custom-link .howto { font-size: 11px; } -#add-custom-link label span { display: block; float: left; margin-top: 5px; padding-right: 5px; } -.menu-item-textbox { width: 180px; } -.howto span { margin-top: 4px; display: block; float: left; } +#available-links dt { + display: block; +} + +#add-custom-link .howto { + font-size: 12px; +} + +#add-custom-link label span { + display: block; + float: left; + margin-top: 5px; + padding-right: 5px; +} + +.menu-item-textbox { + width: 180px; +} + +.howto span { + margin-top: 4px; + display: block; + float: left; +} /* Menu item types */ -.quick-search { width: 190px; } -.list-wrap { display: none; clear: both; margin-bottom: 10px; } -.list-container { max-height: 200px; overflow-y: auto; padding: 10px 10px 5px; border: 1px solid #DFDFDF; -moz-border-radius: 4px; } -.postbox p.submit { margin-bottom: 0; } +.quick-search { + width: 190px; +} + +.list-wrap { + display: none; + clear: both; + margin-bottom: 10px; +} + +.list-container { + max-height: 200px; + overflow-y: auto; + padding: 10px 10px 5px; + border: 1px solid; + -moz-border-radius: 3px; +} + +.postbox p.submit { + margin-bottom: 0; +} /* Listings */ -.list li { display: none; margin: 0; margin-bottom: 5px; } +.list li { + display: none; + margin: 0; + margin-bottom: 5px; +} -.list li .menu-item-title { cursor: pointer; display: block; } -.list li .menu-item-title input { margin-right: 3px; margin-top: -3px; } +.list li .menu-item-title { + cursor: pointer; + display: block; +} + +.list li .menu-item-title input { + margin-right: 3px; + margin-top: -3px; +} /* Nav Menu */ -#menu-container .inside { padding-bottom: 10px; } +#menu-container .inside { + padding-bottom: 10px; +} .menu { padding-top:1em; @@ -285,36 +355,50 @@ body { .menu ul { width: 100%; } + .menu ul.sub-menu { } + .menu li { margin-bottom: 0; position:relative; } + .menu-item-bar { clear:both; line-height:1.5em; position:relative; margin-top: 13px; } + .menu-item-handle { - border: 1px solid #E6E6E6; + border: 1px solid #dfdfdf; position: relative; padding-left: 10px; height: auto; width: 400px; line-height: 35px; text-shadow: 0 1px 0 #FFFFFF; - font-weight:bold; overflow: hidden; - border-radius: 6px; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - -khtml-border-radius: 6px; word-wrap: break-word; + border-radius: 3px; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + -khtml-border-radius: 3px; } + +#menu-to-edit .menu-item-invalid .menu-item-handle { + background-color: #f6c9cc; /* Fallback */ + background-image: -ms-linear-gradient(bottom, #f6c9cc, #fdf8ff); /* IE10 */ + background-image: -moz-linear-gradient(bottom, #f6c9cc, #fdf8ff); /* Firefox */ + background-image: -o-linear-gradient(bottom, #f6c9cc, #fdf8ff); /* Opera */ + background-image: -webkit-gradient(linear, left bottom, left top, from(#f6c9cc), to(#fdf8ff)); /* old Webkit */ + background-image: -webkit-linear-gradient(bottom, #f6c9cc, #fdf8ff); /* new Webkit */ + background-image: linear-gradient(bottom, #f6c9cc, #fdf8ff); /* proposed W3C Markup */ +} + .menu-item-edit-active .menu-item-handle { - -moz-border-radius: 6px 6px 0 0; + -moz-border-radius: 3px 3px 0 0; -webkit-border-bottom-right-radius: 0; -webkit-border-bottom-left-radius: 0; -khtml-border-bottom-right-radius: 0; @@ -322,19 +406,23 @@ body { border-bottom-right-radius: 0; border-bottom-left-radius: 0; } + .no-js .menu-item-edit-active .item-edit { display: none; } + .js .menu-item-handle { cursor: move; } + .menu li.deleting .menu-item-handle { - background-color: #f66; background-image: none; - text-shadow: 0 0 0 #ccc; + text-shadow: 0 0 0; } .menu-item-handle .item-title { + font-size: 12px; + font-weight: bold; padding: 7px 0; line-height: 20px; display:block; @@ -345,9 +433,11 @@ body { li.menu-item.ui-sortable-helper dl { margin-top: 0; } - li.menu-item.ui-sortable-helper .menu-item-transport dl { + +li.menu-item.ui-sortable-helper .menu-item-transport dl { margin-top: 13px; - } +} + .menu .sortable-placeholder { height: 35px; width: 410px; @@ -395,11 +485,30 @@ body.menu-max-depth-10 { min-width: 1250px !important; } body.menu-max-depth-11 { min-width: 1280px !important; } /* Menu item controls */ -.item-type { text-transform: uppercase; font-size: 11px; color: #999999; padding-right: 10px; } -.item-controls { font-size: 11px; position: absolute; right: 20px; top: -1px; } -.item-controls a { text-decoration: none; } -.item-controls a:hover { cursor: pointer; } -.item-controls .item-order { padding-right: 10px;} +.item-type { + font-size: 12px; + padding-right: 10px; +} + +.item-controls { + font-size: 12px; + position: absolute; + right: 20px; + top: -1px; +} + +.item-controls a { + text-decoration: none; +} + +.item-controls a:hover { + cursor: pointer; +} + +.item-controls .item-order { + padding-right: 10px; +} + .item-controls .item-order a { font-weight:bold; } @@ -408,42 +517,46 @@ body.js .item-order { display:none; } -.item-controls .menu-item-delete:hover { color: #ff0000; } +.item-controls .menu-item-delete:hover { +} .item-edit { - background: url("../images/menu-bits.gif?ver=20100610") no-repeat scroll 0 -105px; position: absolute; right: -20px; top: 0; display: block; - width: 23px; + width:30px; height: 36px; overflow: hidden; text-indent:-999em; - border-bottom: 1px solid #eee; + border-bottom: 1px solid; -moz-border-radius-bottomleft: 3px; -webkit-border-bottom-left-radius: 3px; -khtml-border-bottom-left-radius: 3px; border-bottom-left-radius: 3px; } +.item-edit:hover { +} + /* Menu editing */ .menu-instructions-inactive { display: none; } + .menu-item-settings { - background: #F9F9F9; display:block; width: 400px; padding: 10px 0 10px 10px; - border: solid #E6E6E6; + border: solid; border-width: 0 1px 1px 1px; - -moz-border-radius: 0 0 6px 6px; - -webkit-border-bottom-right-radius: 6px; - -webkit-border-bottom-left-radius: 6px; - -khtml-border-bottom-right-radius: 6px; - -khtml-border-bottom-left-radius: 6px; + -moz-border-radius: 0 0 3px 3px; + -webkit-border-bottom-right-radius: 3px; + -webkit-border-bottom-left-radius: 3px; + -khtml-border-bottom-right-radius: 3px; + -khtml-border-bottom-left-radius: 3px; } + .menu-item-edit-active .menu-item-settings { display:block; } @@ -461,19 +574,19 @@ body.js .item-order { display: block; margin: 0 0 10px; padding: 3px 5px 5px; - font-size: 11px; - color: #777; + font-size: 12px; font-style: italic; - border: 1px solid #dfdfdf; - border-radius: 6px; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - -khtml-border-radius: 6px; + border: 1px solid; + border-radius: 3px; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + -khtml-border-radius: 3px; } - .link-to-original a { + +.link-to-original a { padding-left: 4px; font-style: normal; - } +} .hidden-field { display: none; @@ -484,10 +597,12 @@ body.js .item-order { margin-right: 10px; float: left; } + .description-thin { width: 190px; height: 40px; } + .description-wide { width: 390px; } @@ -496,24 +611,34 @@ body.js .item-order { padding-top: 15px; } -#cancel-save { cursor: pointer; } -#cancel-save:hover { color: #fff !important; } -#update-menu-item { color: #fff !important; } +#cancel-save { + cursor: pointer; +} + +#cancel-save:hover { +} + +#update-menu-item { +} + #update-menu-item:hover, #update-menu-item:active, -#update-menu-item:focus { color: #eaf2fa !important; border-color: #13455b !important; } +#update-menu-item:focus { +} /* Major/minor publishing actions (classes) */ .major-publishing-actions { clear:both; - padding: 5px 10px; + padding: 3px 0 5px; } + .major-publishing-actions .publishing-action { text-align: right; float: right; line-height: 23px; margin: 5px 0 1px; } + .major-publishing-actions .delete-action { vertical-align: middle; text-align: left; @@ -521,38 +646,41 @@ body.js .item-order { padding-right: 15px; margin-top: 5px; } + .menu-name-label span, .auto-add-pages label { - font-size: 11px; + font-size: 12px; font-style: normal; } + .menu-name-label { margin-right: 15px; } + .auto-add-pages input { margin-top: 0; } + .auto-add-pages { margin-top: 4px; float: left; } + .submitbox .submitcancel { - color: #21759B; - border-bottom: 1px solid #21759B; + border-bottom: 1px solid; padding: 1px 2px; text-decoration: none; } + .submitbox .submitcancel:hover { - background: #21759B; - color: #fff; } .major-publishing-actions .form-invalid { - border-radius: 4px; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - -khtml-border-radius: 4px; padding-left: 4px; margin-left: -4px; + border-radius: 3px; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + -khtml-border-radius: 3px; } /* Clearfix */ @@ -571,4 +699,7 @@ body.js .item-order { height: 0; visibility: hidden; } -#nav-menus-frame, .button-controls, #menu-item-url-wrap, #menu-item-name-wrap { display: block; } + +#nav-menus-frame, .button-controls, #menu-item-url-wrap, #menu-item-name-wrap { + display: block; +} diff --git a/src/wp-admin/css/plugin-install.css b/src/wp-admin/css/plugin-install.css index 50d3c03..939408f 100644 --- a/src/wp-admin/css/plugin-install.css +++ b/src/wp-admin/css/plugin-install.css @@ -1 +1 @@ -div.star-holder{position:relative;height:19px;width:100px;font-size:19px;}div.action-links{font-weight:normal;margin:6px 0 0;}div.star{height:100%;position:absolute;top:0;left:0;background-color:transparent;letter-spacing:1ex;border:none;}.star1{width:20%;}.star2{width:40%;}.star3{width:60%;}.star4{width:80%;}.star5{width:100%;}.star img,div.star a,div.star a:hover,div.star a:visited{display:block;position:absolute;right:0;border:none;text-decoration:none;}div.star img{width:19px;height:19px;border-left:1px solid #fff;border-right:1px solid #fff;}#plugin-information-header{margin:0;padding:0 5px;font-weight:bold;position:relative;border-bottom-width:1px;border-bottom-style:solid;height:2.5em;}#plugin-information ul#sidemenu{font-weight:normal;margin:0 5px;position:absolute;left:0;bottom:-1px;}#plugin-information p.action-button{width:100%;padding-bottom:0;margin-bottom:0;margin-top:10px;-moz-border-radius:3px 0 0 3px;-webkit-border-top-left-radius:3px;-khtml-border-top-left-radius:3px;border-top-left-radius:3px;-webkit-border-bottom-left-radius:3px;-khtml-border-bottom-left-radius:3px;border-bottom-left-radius:3px;}#plugin-information .action-button a{text-align:center;font-weight:bold;text-decoration:none;display:block;line-height:2em;}#plugin-information h2{clear:none!important;margin-right:200px;}#plugin-information .fyi{margin:0 10px 50px;width:210px;}#plugin-information .fyi h2{font-size:.9em;margin-bottom:0;margin-right:0;}#plugin-information .fyi h2.mainheader{padding:5px;-moz-border-radius-topleft:3px;-webkit-border-top-left-radius:3px;-khtml-border-top-left-radius:3px;border-top-left-radius:3px;}#plugin-information .fyi ul{padding:10px 5px 10px 7px;margin:0;list-style:none;-moz-border-radius-bottomleft:3px;-webkit-border-bottom-left-radius:3px;-khtml-border-bottom-left-radius:3px;border-bottom-left-radius:3px;}#plugin-information .fyi li{margin-right:0;}#plugin-information #section-holder{padding:10px;}#plugin-information .section ul,#plugin-information .section ol{margin-left:16px;list-style-type:square;list-style-image:none;}#plugin-information #section-screenshots li img{vertical-align:text-top;}#plugin-information #section-screenshots li p{font-style:italic;padding-left:20px;padding-bottom:2em;}#plugin-information .updated,#plugin-information pre{margin-right:215px;}#plugin-information pre{padding:7px;} \ No newline at end of file +div.star-holder{position:relative;height:19px;width:100px;font-size:19px;}div.action-links{font-weight:normal;margin:6px 0 0;}div.star{height:100%;position:absolute;top:0;left:0;background-color:transparent;letter-spacing:1ex;border:none;}.star1{width:20%;}.star2{width:40%;}.star3{width:60%;}.star4{width:80%;}.star5{width:100%;}.star img,div.star a,div.star a:hover,div.star a:visited{display:block;position:absolute;right:0;border:none;text-decoration:none;}div.star img{width:19px;height:19px;}#plugin-information-header{margin:0;padding:0 5px;font-weight:bold;position:relative;border-bottom-width:1px;border-bottom-style:solid;height:2.5em;}#plugin-information ul#sidemenu{font-weight:normal;margin:0 5px;position:absolute;left:0;bottom:-1px;}#plugin-information p.action-button{width:100%;padding-bottom:0;margin-bottom:0;margin-top:10px;-moz-border-radius:3px 0 0 3px;-webkit-border-top-left-radius:3px;-khtml-border-top-left-radius:3px;border-top-left-radius:3px;-webkit-border-bottom-left-radius:3px;-khtml-border-bottom-left-radius:3px;border-bottom-left-radius:3px;}#plugin-information .action-button a{text-align:center;font-weight:bold;text-decoration:none;display:block;line-height:2em;}#plugin-information h2{clear:none!important;margin-right:200px;}#plugin-information .fyi{margin:0 10px 50px;width:210px;}#plugin-information .fyi h2{font-size:.9em;margin-bottom:0;margin-right:0;}#plugin-information .fyi h2.mainheader{padding:5px;-moz-border-radius-topleft:3px;-webkit-border-top-left-radius:3px;-khtml-border-top-left-radius:3px;border-top-left-radius:3px;}#plugin-information .fyi ul{padding:10px 5px 10px 7px;margin:0;list-style:none;-moz-border-radius-bottomleft:3px;-webkit-border-bottom-left-radius:3px;-khtml-border-bottom-left-radius:3px;border-bottom-left-radius:3px;}#plugin-information .fyi li{margin-right:0;}#plugin-information #section-holder{padding:10px;}#plugin-information .section ul,#plugin-information .section ol{margin-left:16px;list-style-type:square;list-style-image:none;}#plugin-information #section-screenshots li img{vertical-align:text-top;}#plugin-information #section-screenshots li p{font-style:italic;padding-left:20px;padding-bottom:2em;}#plugin-information .updated,#plugin-information pre{margin-right:215px;}#plugin-information pre{padding:7px;} \ No newline at end of file diff --git a/src/wp-admin/css/plugin-install.dev.css b/src/wp-admin/css/plugin-install.dev.css index c9e98b8..2204257 100644 --- a/src/wp-admin/css/plugin-install.dev.css +++ b/src/wp-admin/css/plugin-install.dev.css @@ -38,8 +38,6 @@ div.star { div.star img { width: 19px; height: 19px; - border-left: 1px solid #fff; - border-right: 1px solid #fff; } /* Header on thickbox */ diff --git a/src/wp-admin/css/press-this-rtl.css b/src/wp-admin/css/press-this-rtl.css index 0f378c6..a19d20c 100644 --- a/src/wp-admin/css/press-this-rtl.css +++ b/src/wp-admin/css/press-this-rtl.css @@ -1 +1 @@ -body{font-family:Tahoma,Arial;}#poststuff #edButtonPreview,#poststuff #edButtonHTML{margin:0 0 0 5px;float:right;}div#poststuff{padding-left:0;padding-right:10px;}.posting{margin-right:0;margin-left:228px;left:auto;right:0;}#side-info-column{float:left;right:auto;left:0;margin-right:0;margin-left:10px;}#side-info-column .sleeve{padding-left:0;padding-right:10px;}h3.tb{margin-left:0;margin-right:5px;}#actions{float:left;}#extra_fields #actions{right:auto;left:4px;}#actions li{float:right;margin-right:0;margin-left:10px;}#extra_fields .button{margin-right:0;margin-left:5px;}#img_container a{float:right;}#category-add input,#category-add select{font-family:Tahoma,Arial;}.inline-editor ul.cat-checklist ul,.categorydiv ul.categorychecklist ul,#linkcategorydiv ul.categorychecklist ul{margin-left:0;margin-right:18px;}#tagsdiv #newtag{margin-right:0;margin-left:5px;}#tagadd{margin-left:0;margin-right:3px;}#tagchecklist span{margin-left:.5em;margin-right:10px;float:right;}#tagchecklist span a{margin:6px -9px 0 0;float:right;}#content{margin-left:0;margin-right:1%;}.submit input,.button,.button-primary,.button-secondary,.button-highlighted,#postcustomstuff .submit input{font-family:Tahoma,Arial,sans-serif;}.ac_results li{text-align:right;}#TB_ajaxContent #options{right:auto;left:25px;}#post_status{margin-left:0;margin-right:10px;}#footer{padding:10px 60px 0 0;} \ No newline at end of file +body{font-family:Tahoma,Arial;}#poststuff #edButtonPreview,#poststuff #edButtonHTML{float:left;}#poststuff #edButtonHTML{margin-left:15px;margin-right:5px;}#header-logo,#wphead h1{float:right;}div#poststuff{padding-left:0;padding-right:10px;}.posting{margin-left:212px;margin-right:0;position:relative;}#side-info-column{float:left;right:auto;left:0;}h3.tb{margin-left:0;margin-right:5px;}#publish{float:left;}.postbox .handlediv{float:left;}.actions{float:left;}.actions li{float:right;margin-right:0;margin-left:10px;}#extra-fields .actions{margin:-23px 0 0 -7px;}#img_container a{float:right;}#category-add input,#category-add select{font-family:Tahoma,Arial;}.inline-editor ul.cat-checklist ul,.categorydiv ul.categorychecklist ul,#linkcategorydiv ul.categorychecklist ul{margin-left:0;margin-right:18px;}.category-tabs li{padding-left:0;padding-right:8px;}#tagsdiv #newtag{margin-right:0;margin-left:5px;}#tagadd{margin-left:0;margin-right:3px;}#tagchecklist span{margin-left:.5em;margin-right:10px;float:right;}#tagchecklist span a{margin:6px -9px 0 0;float:right;}#content{margin-left:0;margin-right:1%;}.submit input,.button,.button-primary,.button-secondary,.button-highlighted,#postcustomstuff .submit input{font-family:Tahoma,Arial,sans-serif;}.ac_results li{text-align:right;}#TB_ajaxContent #options{right:auto;left:25px;}#post_status{margin-left:0;margin-right:10px;}#footer{padding:10px 60px 0 0;} \ No newline at end of file diff --git a/src/wp-admin/css/press-this-rtl.dev.css b/src/wp-admin/css/press-this-rtl.dev.css index b056591..fbb1456 100644 --- a/src/wp-admin/css/press-this-rtl.dev.css +++ b/src/wp-admin/css/press-this-rtl.dev.css @@ -4,7 +4,16 @@ body { #poststuff #edButtonPreview, #poststuff #edButtonHTML { - margin: 0 0 0 5px; + float: left; +} + +#poststuff #edButtonHTML { + margin-left: 15px; + margin-right: 5px; +} + +#header-logo, +#wphead h1 { float: right; } @@ -15,23 +24,15 @@ div#poststuff { } .posting { + margin-left: 212px; margin-right: 0; - margin-left: 228px; - left: auto; - right: 0; + position: relative; } #side-info-column { float: left; right: auto; left: 0; - margin-right: 0; - margin-left: 10px; -} - -#side-info-column .sleeve { - padding-left: 0; - padding-right: 10px; } h3.tb { @@ -39,24 +40,26 @@ h3.tb { margin-right: 5px; } -#actions { +#publish { float: left; } -#extra_fields #actions { - right: auto; - left: 4px; +.postbox .handlediv { + float: left; } -#actions li { +.actions { + float: left; +} + +.actions li { float: right; margin-right: 0; margin-left: 10px; } -#extra_fields .button { - margin-right: 0; - margin-left: 5px; +#extra-fields .actions { + margin: -23px 0 0 -7px; } /* Photo Styles */ @@ -64,7 +67,8 @@ h3.tb { float: right; } -#category-add input, #category-add select { +#category-add input, +#category-add select { font-family: Tahoma, Arial; } @@ -75,6 +79,12 @@ h3.tb { margin-right: 18px; } +/* Categories */ +.category-tabs li { + padding-left: 0; + padding-right: 8px; +} + /* Tags */ #tagsdiv #newtag { margin-right: 0; diff --git a/src/wp-admin/css/press-this.css b/src/wp-admin/css/press-this.css index c91f43b..363cb6e 100644 --- a/src/wp-admin/css/press-this.css +++ b/src/wp-admin/css/press-this.css @@ -1 +1 @@ -body{font:13px "Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif;color:#333;margin:0;padding:0;min-width:675px;min-height:400px;}img{border:none;}#wphead{border-top:none;padding-top:4px;background:#444!important;}.tagchecklist span a{background:transparent url(../images/xit.gif) no-repeat 0 0;}#poststuff #edButtonPreview,#poststuff #edButtonHTML{-moz-border-radius:3px 3px 0 0;-webkit-border-top-right-radius:3px;-webkit-border-top-left-radius:3px;-khtml-border-top-right-radius:3px;-khtml-border-top-left-radius:3px;border-top-right-radius:3px;border-top-left-radius:3px;border-style:solid;border-width:1px;cursor:pointer;display:block;height:18px;margin:0 5px 0 0;padding:0 5px 0;font-size:10px;line-height:18px;float:left;}.howto{margin-top:2px;margin-bottom:3px;font-size:11px;font-style:italic;display:block;}input.text{outline-color:-moz-use-text-color;outline-style:none;outline-width:medium;width:100%;}#message{-moz-border-radius:6px;-khtml-border-radius:6px;-webkit-border-radius:6px;border-radius:6px;}div#poststuff{margin:10px;}div.zerosize{border:0 none;height:0;margin:0;overflow:hidden;padding:0;width:0;}#poststuff #edButtonPreview.active,#poststuff #edButtonHTML.active{display:none;}.posting{margin-right:212px;position:relative;}#side-info-column{float:right;width:200px;position:relative;right:0;}#side-info-column .sleeve{padding-top:5px;}#poststuff .inside{font-size:11px;margin:8px;}#poststuff h2,#poststuff h3{font-size:12px;font-weight:bold;line-height:1;margin:0;padding:7px 9px;}#tagsdiv-post_tag h3,#categorydiv h3{cursor:pointer;}h3.tb{text-shadow:0 1px 0 #fff;font-weight:bold;font-size:12px;margin-left:5px;}#TB_window{border:1px solid #333;-moz-border-radius:6px;-khtml-border-radius:6px;-webkit-border-radius:6px;border-radius:6px;}.postbox,.stuffbox{margin-bottom:10px;border-width:1px;border-style:solid;line-height:1;-moz-border-radius:6px;-khtml-border-radius:6px;-webkit-border-radius:6px;border-radius:6px;}.postbox:hover .handlediv,.stuffbox:hover .handlediv{background:transparent url(../images/menu-bits.gif) no-repeat scroll left -111px;}.handlediv{float:right;height:26px;width:23px;}#title,.tbtitle{-moz-border-radius:6px;-khtml-border-radius:6px;-webkit-border-radius:6px;border-radius:6px;border-style:solid;border-width:1px;font-size:1.7em;outline:none;padding:3px 4px;border-color:#dfdfdf;}.tbtitle{font-size:12px;padding:3px;}#title{width:97%;}.editor-container{-moz-border-radius:6px;-khtml-border-radius:6px;-webkit-border-radius:6px;border-radius:6px;border:1px solid #dfdfdf;background-color:#fff;}.postdivrich{padding-top:25px;position:relative;}.actions{float:right;margin:-19px 0 0;}#extra-fields .actions{margin:-15px -5px 0 0;}.actions li{float:left;list-style:none;margin-right:10px;}#extra-fields .button{margin-right:5px;padding:3px 6px;border-radius:10px;-webkit-border-radius:10px;-khtml-border-radius:10px;-moz-border-radius:10px;}.photolist{margin-top:-10px;}#photo_saving{margin:0 8px 8px;vertical-align:middle;}#img_container{background-color:#fff;}#img_container_container{overflow:auto;}#extra-fields{margin-top:10px;position:relative;}#waiting{margin-top:10px;}#extra-fields .postbox{margin-bottom:5px;}#extra-fields .titlewrap{padding:0;overflow:auto;height:100px;}#img_container a{display:block;float:left;overflow:hidden;vertical-align:center;}#img_container img,#img_container a{width:68px;height:68px;}#img_container img{border:none;background-color:#f4f4f4;cursor:pointer;}#img_container a,#img_container a:link,#img_container a:visited{border:1px solid #ccc;display:block;position:relative;}#img_container a:hover,#img_container a:active{border-color:#000;z-index:1000;border-width:2px;margin:-1px;}#embed-code{width:100%;height:98px;}#viewsite{padding:0;margin:0 0 20px 5px;font-size:10px;clear:both;}.wp-hidden-children .wp-hidden-child{display:none;}.category-add input{width:94%;font-family:"Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif;font-size:12px;margin:1px;}.category-add select{width:100%;-x-system-font:none;border-style:solid;border-width:1px;font-family:"Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif;font-size:11px;height:2em;line-height:20px;padding:2px;margin:1px;vertical-align:top;}.category-add input.category-add-sumbit{width:auto;}.categorydiv div.tabs-panel,#linkcategorydiv div.tabs-panel{height:100px;overflow:auto;padding:.5em .9em;border-style:solid;border-width:1px;}.category-tabs li{display:inline;padding-right:8px;}.category-tabs a{text-decoration:none;}.categorydiv ul,#linkcategorydiv ul{list-style:none;padding:0;margin:0;}.inline-editor ul.cat-checklist ul,.categorydiv ul.categorychecklist ul,#linkcategorydiv ul.categorychecklist ul{margin-left:18px;}ul.categorychecklist li{margin:0;padding:0;line-height:19px;}.categorydiv .tabs-panel{border-width:3px;border-style:solid;}ul.category-tabs{margin-top:12px;margin-bottom:6px;}ul.category-tabs li.tabs{border-style:solid solid none;border-width:1px 1px 0;}ul.category-tabs li{padding:5px 8px;-moz-border-radius:3px 3px 0 0;-webkit-border-top-left-radius:3px;-webkit-border-top-right-radius:3px;-khtml-border-top-left-radius:3px;-khtml-border-top-right-radius:3px;border-top-left-radius:3px;border-top-right-radius:3px;}.screen-reader-text{display:none;}.tagsdiv .newtag{margin-right:5px;}.jaxtag{clear:both;margin:0;}.tagadd{margin-left:3px;}.tagchecklist{margin-top:3px;margin-bottom:1em;font-size:12px;overflow:auto;}.tagchecklist strong{position:absolute;font-size:.75em;}.tagchecklist span{margin-right:.5em;margin-left:10px;display:block;float:left;font-size:11px;line-height:1.8em;white-space:nowrap;cursor:default;}.tagchecklist span a{margin:6px 0 0 -9px;cursor:pointer;width:10px;height:10px;display:block;float:left;text-indent:-9999px;overflow:hidden;position:absolute;}#content{margin:5px 0;padding:0 5px;border:0 none;height:365px;width:97%!important;}* html .postdivrich{zoom:1;}#saving{display:inline;vertical-align:middle;}.submit input,.button,.button-primary,.button-secondary,.button-highlighted,#postcustomstuff .submit input{font-family:"Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif;text-decoration:none;font-size:11px!important;line-height:16px;padding:2px 8px;cursor:pointer;border-width:1px;border-style:solid;-moz-border-radius:11px;-khtml-border-radius:11px;-webkit-border-radius:11px;border-radius:11px;}.button-primary{background:#21759B url(../images/button-grad.png) repeat-x scroll left top;border-color:#21759B;color:#fff;}.ac_results{padding:0;margin:0;list-style:none;position:absolute;z-index:10000;display:none;border-width:1px;border-style:solid;}.ac_results li{padding:2px 5px;white-space:nowrap;text-align:left;}.ac_over{cursor:pointer;}.ac_match{text-decoration:underline;}#TB_ajaxContent #options{position:absolute;top:20px;right:25px;padding:5px;}#TB_ajaxContent h3{margin-bottom:.25em;}.updated{margin:10px 0;padding:0;border-width:1px;border-style:solid;width:99%;}.updated p,.error p{margin:.6em 0;padding:0 .6em;}.error a{text-decoration:underline;}.updated a{text-decoration:none;padding-bottom:2px;}#post_status{margin-left:10px;margin-bottom:1em;display:block;}#footer{height:65px;display:block;width:640px;padding:10px 0 0 60px;margin:0;position:absolute;bottom:0;font-size:12px;}#footer p{margin:0;padding:7px 0;}#footer p a{text-decoration:none;}#footer p a:hover{text-decoration:underline;}.centered{text-align:center;}.hidden{display:none;}.postbox input[type="text"],.postbox textarea,.stuffbox input[type="text"],.stuffbox textarea{border-width:1px;border-style:solid;}.taghint{color:#aaa;margin:-17px 0 0 7px;visibility:hidden;}input.newtag ~ div.taghint{visibility:visible;}input.newtag:focus ~ div.taghint{visibility:hidden;} \ No newline at end of file +body{font-size:13px;font-family:Arial,"Bitstream Vera Sans",Helvetica,Verdana,sans-serif;color:#333;margin:0;padding:0;min-width:675px;min-height:400px;}img{border:none;}#wphead{height:32px;margin-right:5px;margin-bottom:5px;}#header-logo{float:left;margin:7px 7px 0;-webkit-user-select:none;-moz-user-select:none;-khtml-user-select:none;user-select:none;}#wphead h1{font:normal 16px Georgia,"Times New Roman","Bitstream Charter",Times,serif;padding:6px 0 0;margin:0;float:left;}#wphead h1 a{text-decoration:none;}#wphead h1 a:hover{text-decoration:underline;}.tagchecklist span a{background:transparent url(../images/xit.gif) no-repeat 0 0;}#edButtonPreview,#edButtonHTML{height:18px;margin:5px 5px 0 0;padding:4px 5px 2px;float:right;cursor:pointer;border-width:1px;border-style:solid;-moz-border-radius:3px 3px 0 0;-webkit-border-top-right-radius:3px;-webkit-border-top-left-radius:3px;-khtml-border-top-right-radius:3px;-khtml-border-top-left-radius:3px;border-top-right-radius:3px;border-top-left-radius:3px;}#poststuff #edButtonHTML{margin-right:15px;}#media-buttons{cursor:default;padding:8px 8px 0;}#media-buttons a{cursor:pointer;padding:0 0 5px 10px;}#media-buttons img,#submitpost #ajax-loading,#submitpost .ajax-loading{vertical-align:middle;}.howto{margin-top:2px;margin-bottom:3px;font-size:12px;font-style:italic;display:block;}input.text{outline-color:-moz-use-text-color;outline-style:none;outline-width:medium;width:100%;}#message{-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;}div#poststuff{margin:0 10px 10px;}#poststuff #editor-toolbar{height:30px;}div.zerosize{border:0 none;height:0;margin:0;overflow:hidden;padding:0;width:0;}.posting{margin-right:212px;position:relative;}#side-info-column{float:right;width:200px;position:relative;right:0;}#side-info-column .sleeve{padding-top:5px;}#poststuff .inside{font-size:12px;margin:8px;}#submitdiv .inside{margin:0;}#submitdiv .inside p{padding:5px 8px;margin:0;}#submitdiv #publishing-actions{padding-left:6px;border-bottom:1px solid #dfdfdf;-webkit-box-shadow:0 1px 0 #fff;-moz-box-shadow:0 1px 0 #fff;box-shadow:0 1px 0 #fff;}#publish{float:right;}#poststuff h2,#poststuff h3{font-size:13px;font-family:Georgia,"Times New Roman","Bitstream Charter",Times,serif;font-weight:normal;line-height:1;margin:0;padding:7px 9px;border-width:0 0 1px 0;border-style:solid;}#poststuff h2{border-color:#dfdfdf;}#tagsdiv-post_tag h3,#categorydiv h3{cursor:pointer;}h3.tb{text-shadow:0 1px 0 #fff;font-weight:bold;font-size:12px;margin-left:5px;}#TB_window{border:1px solid #333;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;}.postbox,.stuffbox{margin-bottom:10px;border-width:1px;border-style:solid;line-height:1;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;}.postbox:hover .handlediv,.stuffbox:hover .handlediv{background:transparent url(../images/arrows.png) no-repeat 6px 7px;}.postbox .handlediv{float:right;width:27px;height:30px;cursor:pointer;}#title,.tbtitle{font-family:Arial,"Bitstream Vera Sans",Helvetica,Verdana,sans-serif;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;border-style:solid;border-width:1px;font-size:1.7em;outline:none;padding:3px 4px;border-color:#dfdfdf;}.tbtitle{font-size:12px;padding:3px;}#title{width:97%;}.editor-container{-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;border:1px solid #ccc;background-color:#fff;}.actions{float:right;margin:-19px 0 0;}#extra-fields .actions{margin:-23px -7px 0 0;}.actions li{float:left;list-style:none;margin-right:10px;}#extra-fields .button{margin-right:5px;padding:3px 6px;border-radius:10px;-webkit-border-radius:10px;-khtml-border-radius:10px;-moz-border-radius:10px;}#photo_saving{margin:0 8px 8px;vertical-align:middle;}#img_container_container{overflow:auto;}#extra-fields{margin-top:10px;position:relative;}#waiting{margin-top:10px;}#extra-fields .postbox{margin-bottom:5px;}#extra-fields .titlewrap{padding:0;overflow:auto;height:100px;}#img_container a{display:block;float:left;overflow:hidden;vertical-align:center;}#img_container img,#img_container a{width:68px;height:68px;}#img_container img{border:none;background-color:#f4f4f4;cursor:pointer;}#img_container a,#img_container a:link,#img_container a:visited{border:1px solid #ccc;display:block;position:relative;}#img_container a:hover,#img_container a:active{border-color:#000;z-index:1000;border-width:2px;margin:-1px;}#embed-code{width:100%;height:98px;}.wp-hidden-children .wp-hidden-child{display:none;}.category-add input{width:94%;font-family:Arial,"Bitstream Vera Sans",Helvetica,Verdana,sans-serif;font-size:12px;margin:1px;}select{width:100%;-x-system-font:none;border-style:solid;border-width:1px;font-family:Arial,"Bitstream Vera Sans",Helvetica,Verdana,sans-serif;font-size:12px;height:2em;line-height:20px;padding:2px;margin:1px;vertical-align:top;}.category-add input.category-add-sumbit{width:auto;}.categorydiv div.tabs-panel,#linkcategorydiv div.tabs-panel{height:100px;overflow:auto;padding:.5em .9em;border-style:solid;border-width:1px;}.category-tabs li{display:inline;padding-right:8px;}.category-tabs a{text-decoration:none;}.categorydiv ul,#linkcategorydiv ul{list-style:none;padding:0;margin:0;}.inline-editor ul.cat-checklist ul,.categorydiv ul.categorychecklist ul,#linkcategorydiv ul.categorychecklist ul{margin-left:18px;}ul.categorychecklist li{margin:0;padding:0;line-height:19px;}.categorydiv .tabs-panel{border-width:3px;border-style:solid;}ul.category-tabs{margin-top:12px;margin-bottom:5px;}ul.category-tabs li.tabs{border-style:solid solid none;border-width:1px 1px 0;}ul.category-tabs li{padding:5px 8px;-moz-border-radius:3px 3px 0 0;-webkit-border-top-left-radius:3px;-webkit-border-top-right-radius:3px;-khtml-border-top-left-radius:3px;-khtml-border-top-right-radius:3px;border-top-left-radius:3px;border-top-right-radius:3px;}.screen-reader-text{display:none;}.tagsdiv .newtag{margin-right:5px;}.jaxtag{clear:both;margin:0;}.tagadd{margin-left:3px;}.tagchecklist{margin-top:3px;margin-bottom:1em;font-size:12px;overflow:auto;}.tagchecklist strong{position:absolute;font-size:.75em;}.tagchecklist span{margin-right:.5em;margin-left:10px;display:block;float:left;font-size:12px;line-height:1.8em;white-space:nowrap;cursor:default;}.tagchecklist span a{margin:6px 0 0 -9px;cursor:pointer;width:10px;height:10px;display:block;float:left;text-indent:-9999px;overflow:hidden;position:absolute;}#content{margin:5px 0;padding:0 5px;border:0 none;height:365px;width:97%!important;font-family:Consolas,Monaco,monospace;font-size:13px;line-height:19px;background:transparent;}* html .postdivrich{zoom:1;}#saving{display:inline;vertical-align:middle;}.submit input,.button,.button-primary,.button-secondary,.button-highlighted,#postcustomstuff .submit input{font-family:Arial,"Bitstream Vera Sans",Helvetica,Verdana,sans-serif;text-decoration:none;font-size:12px!important;line-height:16px;padding:2px 8px;margin:2px;cursor:pointer;border-width:1px;border-style:solid;-moz-border-radius:11px;-khtml-border-radius:11px;-webkit-border-radius:11px;border-radius:11px;}.button-primary{background:#21759B url(../images/button-grad.png) repeat-x scroll left top;border-color:#21759B;color:#fff;}.ac_results{padding:0;margin:0;list-style:none;position:absolute;z-index:10000;display:none;border-width:1px;border-style:solid;}.ac_results li{padding:2px 5px;white-space:nowrap;text-align:left;}.ac_over{cursor:pointer;}.ac_match{text-decoration:underline;}#TB_ajaxContent #options{position:absolute;top:20px;right:25px;padding:5px;}#TB_ajaxContent h3{margin-bottom:.25em;}.updated{margin:10px 0;padding:0;border-width:1px;border-style:solid;width:99%;}.updated p,.error p{margin:.6em 0;padding:0 .6em;}.error a{text-decoration:underline;}.updated a{text-decoration:none;padding-bottom:2px;}#post_status{margin-left:10px;margin-bottom:1em;display:block;}#footer{height:65px;display:block;width:640px;padding:10px 0 0 60px;margin:0;position:absolute;bottom:0;font-size:12px;}#footer p{margin:0;padding:7px 0;}#footer p a{text-decoration:none;}#footer p a:hover{text-decoration:underline;}.centered{text-align:center;}.hidden{display:none;}.postbox input[type="text"],.postbox textarea,.stuffbox input[type="text"],.stuffbox textarea{border-width:1px;border-style:solid;}.taghint{color:#aaa;margin:-17px 0 0 7px;visibility:hidden;}input.newtag ~ div.taghint{visibility:visible;}input.newtag:focus ~ div.taghint{visibility:hidden;}#mce_fullscreen_container{background:#fff;} \ No newline at end of file diff --git a/src/wp-admin/css/press-this.dev.css b/src/wp-admin/css/press-this.dev.css index 225512c..c477b93 100644 --- a/src/wp-admin/css/press-this.dev.css +++ b/src/wp-admin/css/press-this.dev.css @@ -1,5 +1,6 @@ body { - font: 13px "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif; + font-size: 13px; + font-family: Arial, "Bitstream Vera Sans", Helvetica, Verdana, sans-serif; color: #333; margin: 0; padding: 0; @@ -13,17 +14,47 @@ img { /* Header */ #wphead { - border-top: none; - padding-top: 4px; - background: #444 !important; + height: 32px; + margin-right: 5px; + margin-bottom: 5px; +} + +#header-logo { + float: left; + margin: 7px 7px 0; + -webkit-user-select: none; + -moz-user-select: none; + -khtml-user-select: none; + user-select: none; +} + +#wphead h1 { + font: normal 16px Georgia, "Times New Roman", "Bitstream Charter", Times, serif; + padding: 6px 0 0; + margin: 0; + float: left; +} + +#wphead h1 a { + text-decoration: none; +} +#wphead h1 a:hover { + text-decoration: underline; } .tagchecklist span a { background: transparent url(../images/xit.gif) no-repeat 0 0; } -#poststuff #edButtonPreview, -#poststuff #edButtonHTML { +#edButtonPreview, +#edButtonHTML { + height: 18px; + margin: 5px 5px 0 0; + padding: 4px 5px 2px; + float: right; + cursor: pointer; + border-width: 1px; + border-style: solid; -moz-border-radius: 3px 3px 0 0; -webkit-border-top-right-radius: 3px; -webkit-border-top-left-radius: 3px; @@ -31,22 +62,32 @@ img { -khtml-border-top-left-radius: 3px; border-top-right-radius: 3px; border-top-left-radius: 3px; - border-style: solid; - border-width: 1px; +} + +#poststuff #edButtonHTML { + margin-right: 15px; +} + +#media-buttons { + cursor: default; + padding: 8px 8px 0; +} + +#media-buttons a { cursor: pointer; - display: block; - height: 18px; - margin: 0 5px 0 0; - padding: 0 5px 0; - font-size: 10px; - line-height: 18px; - float: left; + padding: 0 0 5px 10px; +} + +#media-buttons img, +#submitpost #ajax-loading, +#submitpost .ajax-loading { + vertical-align: middle; } .howto { margin-top: 2px; margin-bottom: 3px; - font-size: 11px; + font-size: 12px; font-style: italic; display: block; } @@ -59,15 +100,19 @@ input.text { } #message { - -moz-border-radius: 6px; - -khtml-border-radius: 6px; - -webkit-border-radius: 6px; - border-radius: 6px; + -moz-border-radius: 3px; + -khtml-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; } /* Editor/Main Column */ div#poststuff { - margin: 10px; + margin: 0 10px 10px; +} + +#poststuff #editor-toolbar { + height: 30px; } div.zerosize { @@ -79,11 +124,6 @@ div.zerosize { width: 0; } -#poststuff #edButtonPreview.active, -#poststuff #edButtonHTML.active { - display: none; -} - .posting { margin-right: 212px; position: relative; @@ -101,16 +141,44 @@ div.zerosize { } #poststuff .inside { - font-size: 11px; + font-size: 12px; margin: 8px; } +#submitdiv .inside { + margin: 0; +} + +#submitdiv .inside p { + padding: 5px 8px; + margin: 0; +} + +#submitdiv #publishing-actions { + padding-left: 6px; + border-bottom: 1px solid #dfdfdf; + -webkit-box-shadow: 0 1px 0 #fff; + -moz-box-shadow: 0 1px 0 #fff; + box-shadow: 0 1px 0 #fff; +} + +#publish { + float: right; +} + #poststuff h2,#poststuff h3 { - font-size: 12px; - font-weight: bold; + font-size: 13px; + font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif; + font-weight: normal; line-height: 1; margin: 0; padding: 7px 9px; + border-width: 0 0 1px 0; + border-style: solid; +} + +#poststuff h2 { + border-color: #dfdfdf; } #tagsdiv-post_tag h3, @@ -127,10 +195,10 @@ h3.tb { #TB_window { border: 1px solid #333; - -moz-border-radius: 6px; - -khtml-border-radius: 6px; - -webkit-border-radius: 6px; - border-radius: 6px; + -moz-border-radius: 3px; + -khtml-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; } .postbox, @@ -139,29 +207,31 @@ h3.tb { border-width: 1px; border-style: solid; line-height: 1; - -moz-border-radius: 6px; - -khtml-border-radius: 6px; - -webkit-border-radius: 6px; - border-radius: 6px; + -moz-border-radius: 3px; + -khtml-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; } .postbox:hover .handlediv, .stuffbox:hover .handlediv { - background: transparent url(../images/menu-bits.gif) no-repeat scroll left -111px; + background: transparent url(../images/arrows.png) no-repeat 6px 7px; } -.handlediv { +.postbox .handlediv { float: right; - height: 26px; - width: 23px; + width: 27px; + height: 30px; + cursor: pointer; } #title, .tbtitle { - -moz-border-radius: 6px; - -khtml-border-radius: 6px; - -webkit-border-radius: 6px; - border-radius: 6px; + font-family: Arial, "Bitstream Vera Sans", Helvetica, Verdana, sans-serif; + -moz-border-radius: 3px; + -khtml-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; border-style: solid; border-width: 1px; font-size: 1.7em; @@ -180,26 +250,21 @@ h3.tb { } .editor-container { - -moz-border-radius: 6px; - -khtml-border-radius: 6px; - -webkit-border-radius: 6px; - border-radius: 6px; - border: 1px solid #dfdfdf; + -moz-border-radius: 3px; + -khtml-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; + border: 1px solid #ccc; background-color: #fff; } -.postdivrich { - padding-top: 25px; - position: relative; -} - .actions { float: right; margin: -19px 0 0; } #extra-fields .actions { - margin: -15px -5px 0 0; + margin: -23px -7px 0 0; } .actions li { @@ -218,19 +283,11 @@ h3.tb { } /* Photo Styles */ -.photolist { - margin-top: -10px; -} - #photo_saving { margin: 0 8px 8px; vertical-align: middle; } -#img_container { - background-color: #fff; -} - #img_container_container { overflow: auto; } @@ -296,13 +353,6 @@ h3.tb { } /* Submit Column */ -#viewsite { - padding: 0; - margin: 0 0 20px 5px; - font-size: 10px; - clear: both; -} - .wp-hidden-children .wp-hidden-child { display: none; @@ -312,18 +362,18 @@ h3.tb { .category-add input { width: 94%; - font-family: "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif; + font-family: Arial, "Bitstream Vera Sans", Helvetica, Verdana, sans-serif; font-size: 12px; margin: 1px; } -.category-add select { +select { width: 100%; -x-system-font: none; border-style: solid; border-width: 1px; - font-family: "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif; - font-size: 11px; + font-family: Arial, "Bitstream Vera Sans", Helvetica, Verdana, sans-serif; + font-size: 12px; height: 2em; line-height: 20px; padding: 2px; @@ -379,7 +429,7 @@ ul.categorychecklist li { ul.category-tabs { margin-top: 12px; - margin-bottom: 6px; + margin-bottom: 5px; } ul.category-tabs li.tabs { @@ -433,7 +483,7 @@ ul.category-tabs li { margin-left: 10px; display: block; float: left; - font-size: 11px; + font-size: 12px; line-height: 1.8em; white-space: nowrap; cursor: default; @@ -457,6 +507,10 @@ ul.category-tabs li { border: 0 none; height: 365px; width: 97% !important; + font-family: Consolas, Monaco, monospace; + font-size: 13px; + line-height: 19px; + background: transparent; } * html .postdivrich { @@ -475,11 +529,12 @@ ul.category-tabs li { .button-secondary, .button-highlighted, #postcustomstuff .submit input { - font-family: "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif; + font-family: Arial, "Bitstream Vera Sans", Helvetica, Verdana, sans-serif; text-decoration: none; - font-size: 11px !important; + font-size: 12px !important; line-height: 16px; padding: 2px 8px; + margin: 2px; cursor: pointer; border-width: 1px; border-style: solid; @@ -616,3 +671,8 @@ input.newtag ~ div.taghint { input.newtag:focus ~ div.taghint { visibility: hidden; } + +/* TinyMCE */ +#mce_fullscreen_container { + background: #fff; +} diff --git a/src/wp-admin/css/theme-editor.css b/src/wp-admin/css/theme-editor.css index f66a1ca..fe03629 100644 --- a/src/wp-admin/css/theme-editor.css +++ b/src/wp-admin/css/theme-editor.css @@ -1 +1 @@ -.alignleft h3{margin:0;}h3 span{font-weight:normal;}#template textarea{font-family:Consolas,Monaco,Courier,monospace;font-size:12px;width:97%;}#template p{width:97%;}#templateside{float:right;width:190px;word-wrap:break-word;}#templateside h3,#postcustomstuff p.submit{margin:0;}#templateside h4{margin:1em 0 0;}#templateside ol,#templateside ul{margin:.5em;padding:0;}#templateside li{margin:4px 0;}#templateside ul li a span.highlight{display:block;}.nonessential{font-size:11px;font-style:italic;padding-left:12px;}.highlight{padding:3px 3px 3px 12px;margin-left:-12px;font-weight:bold;-moz-border-radius:8px;-khtml-border-radius:8px;-webkit-border-radius:8px;border-radius:8px;}div.tablenav{margin-right:210px;}#documentation{margin-top:10px;}#documentation label{line-height:22px;vertical-align:top;font-weight:bold;}.fileedit-sub{padding:10px 0 8px;line-height:180%;} \ No newline at end of file +.alignleft h3{margin:0;}h3 span{font-weight:normal;}#template textarea{font-family:Consolas,Monaco,monospace;font-size:12px;width:97%;background:#f9f9f9;outline:none;}#template p{width:97%;}#templateside{float:right;width:190px;word-wrap:break-word;}#templateside h3,#postcustomstuff p.submit{margin:0;}#templateside h4{margin:1em 0 0;}#templateside ol,#templateside ul{margin:.5em;padding:0;}#templateside li{margin:4px 0;}#templateside ul li a span.highlight{display:block;}.nonessential{font-size:11px;font-style:italic;padding-left:12px;}.highlight{padding:3px 3px 3px 12px;margin-left:-12px;font-weight:bold;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;}div.tablenav{margin-right:210px;}#documentation{margin-top:10px;}#documentation label{line-height:22px;vertical-align:top;font-weight:bold;}.fileedit-sub{padding:10px 0 8px;line-height:180%;} \ No newline at end of file diff --git a/src/wp-admin/css/theme-editor.dev.css b/src/wp-admin/css/theme-editor.dev.css index d7effce..b06837b 100644 --- a/src/wp-admin/css/theme-editor.dev.css +++ b/src/wp-admin/css/theme-editor.dev.css @@ -7,9 +7,11 @@ h3 span { } #template textarea { - font-family: Consolas, Monaco, Courier, monospace; + font-family: Consolas, Monaco, monospace; font-size: 12px; width: 97%; + background: #f9f9f9; + outline: none; } #template p { @@ -55,10 +57,10 @@ h3 span { padding: 3px 3px 3px 12px; margin-left: -12px; font-weight: bold; - -moz-border-radius: 8px; - -khtml-border-radius: 8px; - -webkit-border-radius: 8px; - border-radius: 8px; + -moz-border-radius: 3px; + -khtml-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; } div.tablenav { diff --git a/src/wp-admin/css/theme-install.css b/src/wp-admin/css/theme-install.css index cd8e31a..e96844e 100644 --- a/src/wp-admin/css/theme-install.css +++ b/src/wp-admin/css/theme-install.css @@ -1 +1 @@ -div.star-holder{position:relative;height:19px;width:100px;font-size:19px;}div.star{height:100%;position:absolute;top:0;left:0;background-color:transparent;letter-spacing:1ex;border:none;}.star1{width:20%;}.star2{width:40%;}.star3{width:60%;}.star4{width:80%;}.star5{width:100%;}.star img,div.star a,div.star a:hover,div.star a:visited{display:block;position:absolute;right:0;border:none;text-decoration:none;}div.star img{width:19px;height:19px;border-left:1px solid #fff;border-right:1px solid #fff;}.theme-listing .theme-item{display:inline-block;width:200px;border:thin solid #ccc;vertical-align:top;}.theme-listing .theme-item h3{text-align:center;font-size:14px;font-style:italic;margin:0;padding:0;}.theme-listing .theme-item img{max-width:150px;max-height:150px;}.theme-listing .theme-item-info span{display:none;}.theme-listing .theme-item:hover .theme-item-info span{display:inline;}.theme-listing .theme-item:hover .theme-item-info span.dots{display:none;}.theme-listing .theme-item-info span.action-links{font-weight:bold;text-align:center;}.theme-listing br.line{border-bottom-width:1px;border-bottom-style:solid;margin-bottom:3px;}.available-theme{padding:20px 15px;}#theme-information .theme-preview-img{float:left;margin:5px 25px 10px 15px;width:300px;}#theme-information .action-button{border-top-width:1px;border-top-style:solid;margin:10px 5px 0;}#theme-information .action-button #cancel{float:left;margin:10px 15px;}#theme-information .action-button #install{float:right;margin:10px 15px;}#theme-information .available-theme h3{margin:1em 0;}body#theme-information{height:auto;}.feature-filter{-moz-border-radius:8px;-khtml-border-radius:8px;-webkit-border-radius:8px;border-radius:8px;border-width:1px;border-style:solid;padding:8px 12px 0;}.feature-filter .feature-group{float:left;margin-bottom:20px;width:725px;}.feature-filter .feature-name{float:left;text-align:right;width:95px;}.feature-filter .feature-group li{display:inline;float:left;list-style-type:none;padding-right:25px;min-width:145px;}.feature-container{width:100%;overflow:auto;margin-bottom:10px;}.feature-group{margin-bottom:0!important;} \ No newline at end of file +div.star-holder{position:relative;height:19px;width:100px;font-size:19px;}div.star{height:100%;position:absolute;top:0;left:0;background-color:transparent;letter-spacing:1ex;border:none;}.star1{width:20%;}.star2{width:40%;}.star3{width:60%;}.star4{width:80%;}.star5{width:100%;}.star img,div.star a,div.star a:hover,div.star a:visited{display:block;position:absolute;right:0;border:none;text-decoration:none;}div.star img{width:19px;height:19px;border-left:1px solid #fff;border-right:1px solid #fff;}.theme-listing .theme-item{display:inline-block;width:200px;border:thin solid #ccc;vertical-align:top;}.theme-listing .theme-item h3{text-align:center;font-size:14px;font-style:italic;margin:0;padding:0;}.theme-listing .theme-item img{max-width:150px;max-height:150px;}.theme-listing .theme-item-info span{display:none;}.theme-listing .theme-item:hover .theme-item-info span{display:inline;}.theme-listing .theme-item:hover .theme-item-info span.dots{display:none;}.theme-listing .theme-item-info span.action-links{font-weight:bold;text-align:center;}.theme-listing br.line{border-bottom-width:1px;border-bottom-style:solid;margin-bottom:3px;}.available-theme{padding:20px 15px;}#theme-information .theme-preview-img{float:left;margin:5px 25px 10px 15px;width:300px;}#theme-information .action-button{border-top-width:1px;border-top-style:solid;margin:10px 5px 0;}#theme-information .action-button #cancel{float:left;margin:10px 15px;}#theme-information .action-button #install{float:right;margin:10px 15px;}#theme-information .available-theme h3{margin:1em 0;}body#theme-information{height:auto;}.feature-filter{-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;border-width:1px;border-style:solid;padding:8px 12px 0;}.feature-filter .feature-group{float:left;margin-bottom:20px;width:725px;}.feature-filter .feature-name{float:left;text-align:right;width:95px;}.feature-filter .feature-group li{display:inline;float:left;list-style-type:none;padding-right:25px;min-width:145px;}.feature-container{width:100%;overflow:auto;margin-bottom:10px;}.feature-group{margin-bottom:0!important;} \ No newline at end of file diff --git a/src/wp-admin/css/theme-install.dev.css b/src/wp-admin/css/theme-install.dev.css index 3fce358..70dee71 100644 --- a/src/wp-admin/css/theme-install.dev.css +++ b/src/wp-admin/css/theme-install.dev.css @@ -115,10 +115,10 @@ body#theme-information { } .feature-filter { - -moz-border-radius: 8px; - -khtml-border-radius: 8px; - -webkit-border-radius: 8px; - border-radius: 8px; + -moz-border-radius: 3px; + -khtml-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; border-width: 1px; border-style: solid; padding: 8px 12px 0; diff --git a/src/wp-admin/css/widgets-rtl.css b/src/wp-admin/css/widgets-rtl.css index 417995c..1f8b2a5 100644 --- a/src/wp-admin/css/widgets-rtl.css +++ b/src/wp-admin/css/widgets-rtl.css @@ -1 +1 @@ -#widget-list .widget,#wp_inactive_widgets .widget{float:right;}ul#widget-list li.widget-list-item div.widget-description{margin:0 200px 0 0;padding:0 4em 0 0;}.widget-control-save,.widget-control-remove{margin-right:0;margin-left:8px;float:right;} \ No newline at end of file +div.widget-liquid-left{float:right;clear:right;margin-right:0;margin-left:-325px;}div#widgets-left{margin-right:5px;margin-left:325px;}div.widget-liquid-right{float:left;clear:left;}#wp_inactive_widgets .widget{float:right;}div.sidebar-name h3{font-family:Tahoma,Arial,sans-serif;}#widget-list .widget{float:right;}#wp_inactive_widgets .widget-placeholder{float:right;}.widget-top .widget-title-action{float:left;}.widget-control-edit{padding:0 0 0 8px;}.sidebar-name-arrow{float:left;} \ No newline at end of file diff --git a/src/wp-admin/css/widgets-rtl.dev.css b/src/wp-admin/css/widgets-rtl.dev.css index d2ccce5..672f669 100644 --- a/src/wp-admin/css/widgets-rtl.dev.css +++ b/src/wp-admin/css/widgets-rtl.dev.css @@ -1,14 +1,47 @@ -#widget-list .widget, +/* 2 column liquid layout */ +div.widget-liquid-left { + float: right; + clear: right; + margin-right: 0; + margin-left: -325px; +} + +div#widgets-left { + margin-right: 5px; + margin-left: 325px; +} + +div.widget-liquid-right { + float: left; + clear: left; +} + #wp_inactive_widgets .widget { float: right; } -ul#widget-list li.widget-list-item div.widget-description { - margin: 0 200px 0 0; - padding: 0 4em 0 0; + +div.sidebar-name h3 { + font-family: Tahoma, Arial, sans-serif; } -.widget-control-save, -.widget-control-remove { - margin-right: 0; - margin-left: 8px; + +#widget-list .widget { float: right; } + +#wp_inactive_widgets .widget-placeholder { + float: right; +} + +.widget-top .widget-title-action { + float: left; +} + +.widget-control-edit { + padding: 0 0 0 8px; +} + + +.sidebar-name-arrow { + float: left; +} + diff --git a/src/wp-admin/css/widgets.css b/src/wp-admin/css/widgets.css index 44eb420..729bcaf 100644 --- a/src/wp-admin/css/widgets.css +++ b/src/wp-admin/css/widgets.css @@ -1 +1 @@ -html,body{min-width:950px;}div.widget-liquid-left{float:left;clear:left;width:100%;margin-right:-325px;}div#widgets-left{margin-left:5px;margin-right:325px;}div#widgets-right{width:285px;margin:0 auto;}div.widget-liquid-right{float:right;clear:right;width:300px;}.widget-liquid-right .widget,#wp_inactive_widgets .widget,.widget-liquid-right .sidebar-description{width:250px;margin:0 auto 20px;overflow:hidden;}.widget-liquid-right .sidebar-description{margin-bottom:10px;}#wp_inactive_widgets .widget{margin:0 10px 20px;float:left;}div.sidebar-name h3{margin:0;padding:5px 12px;font-size:13px;height:19px;overflow:hidden;white-space:nowrap;}div.sidebar-name{background-repeat:repeat-x;background-position:0 0;cursor:pointer;font-size:13px;border-width:1px;border-style:solid;-moz-border-radius-topleft:8px;-moz-border-radius-topright:8px;-webkit-border-top-right-radius:8px;-webkit-border-top-left-radius:8px;-khtml-border-top-right-radius:8px;-khtml-border-top-left-radius:8px;border-top-right-radius:8px;border-top-left-radius:8px;}.js .closed .sidebar-name{-moz-border-radius-bottomleft:8px;-moz-border-radius-bottomright:8px;-webkit-border-bottom-right-radius:8px;-webkit-border-bottom-left-radius:8px;-khtml-border-bottom-right-radius:8px;-khtml-border-bottom-left-radius:8px;border-bottom-right-radius:8px;border-bottom-left-radius:8px;}.widget-liquid-right .widgets-sortables,#widgets-left .widget-holder{border-width:0 1px 1px;border-style:none solid solid;-moz-border-radius-bottomleft:8px;-moz-border-radius-bottomright:8px;-webkit-border-bottom-right-radius:8px;-webkit-border-bottom-left-radius:8px;-khtml-border-bottom-right-radius:8px;-khtml-border-bottom-left-radius:8px;border-bottom-right-radius:8px;border-bottom-left-radius:8px;}.js .closed .widgets-sortables,.js .closed .widget-holder{display:none;}.widget-liquid-right .widgets-sortables{padding:15px 0 0;}#available-widgets .widget-holder{padding:7px 5px 0;}#wp_inactive_widgets{padding:5px 5px 0;}#widget-list .widget{width:250px;margin:0 10px 15px;border:0 none;float:left;}#widget-list .widget-description{padding:5px 8px;}#widget-list .widget-top{border-width:1px;border-style:solid;-moz-border-radius:6px;-khtml-border-radius:6px;-webkit-border-radius:6px;border-radius:6px;}.widget-placeholder{border-width:1px;border-style:dashed;margin:0 auto 20px;height:26px;width:250px;}#wp_inactive_widgets .widget-placeholder{margin:0 10px 20px;float:left;}div.widgets-holder-wrap{padding:0;margin:10px 0 20px;}#widgets-left #available-widgets{background-color:transparent;border:0 none;}ul#widget-list{list-style:none;margin:0;padding:0;min-height:100px;}.widget .widget-top{font-size:12px;font-weight:bold;height:26px;overflow:hidden;}.widget-top .widget-title{padding:5px 9px;}.widget-top .widget-title-action{float:right;}a.widget-action{display:block;width:24px;height:26px;}#available-widgets a.widget-action{display:none;}.widget-top a.widget-action{background:url("../images/menu-bits.gif?ver=20100610") no-repeat scroll 0 -110px;}.widget .widget-inside,.widget .widget-description{padding:12px 12px 10px;font-size:11px;line-height:16px;}.widget-inside,.widget-description{display:none;}#available-widgets .widget-description{display:block;}.widget .widget-inside p{margin:0 0 1em;padding:0;}.widget-title h4{margin:0;line-height:1.3;overflow:hidden;white-space:nowrap;}.widgets-sortables{min-height:90px;}.widget-control-actions{margin-top:8px;}.widget-control-actions a{text-decoration:none;}.widget-control-actions a:hover{text-decoration:underline;}.widget-control-actions .ajax-feedback{padding-bottom:3px;}.widget-control-actions div.alignleft{margin-top:6px;}div#sidebar-info{padding:0 1em;margin-bottom:1em;font-size:11px;}.widget-title a,.widget-title a:hover{text-decoration:none;border-bottom:none;}.widget-control-edit{display:block;font-size:11px;font-weight:normal;line-height:26px;padding:0 8px 0 0;}a.widget-control-edit{text-decoration:none;}.widget-control-edit .add,.widget-control-edit .edit{display:none;}#available-widgets .widget-control-edit .add,#widgets-right .widget-control-edit .edit,#wp_inactive_widgets .widget-control-edit .edit{display:inline;}.editwidget{margin:0 auto 15px;}.editwidget .widget-inside{display:block;border-width:1px;border-style:solid;padding:10px;-moz-border-radius:6px;-khtml-border-radius:6px;-webkit-border-radius:6px;border-radius:6px;}.inactive p.description{margin:5px 15px 8px;}#available-widgets p.description{margin:0 12px 12px;}.widget-position{margin-top:8px;}.inactive{padding-top:2px;}.sidebar-name-arrow{float:right;height:29px;width:26px;}.widget-title .in-widget-title{font-size:11px;white-space:nowrap;}#removing-widget{display:none;font-weight:normal;padding-left:15px;font-size:12px;}.widget-control-noform,#access-off,.widgets_access .widget-action,.widgets_access .sidebar-name-arrow,.widgets_access #access-on,.widgets_access .widget-holder .description{display:none;}.widgets_access .widget-holder,.widgets_access #widget-list{padding-top:10px;}.widgets_access #access-off{display:inline;}.widgets_access #wpbody-content .widget-title-action,.widgets_access #wpbody-content .widget-control-edit,.widgets_access .closed .widgets-sortables,.widgets_access .closed .widget-holder{display:block;}.widgets_access .closed .sidebar-name{-moz-border-radius-bottomleft:0;-moz-border-radius-bottomright:0;-webkit-border-bottom-right-radius:0;-webkit-border-bottom-left-radius:0;-khtml-border-bottom-right-radius:0;-khtml-border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0;}.widgets_access .sidebar-name,.widgets_access .widget .widget-top{cursor:default;} \ No newline at end of file +html,body{min-width:950px;}div.widget-liquid-left{float:left;clear:left;width:100%;margin-right:-325px;}div#widgets-left{margin-left:5px;margin-right:325px;}div#widgets-right{width:285px;margin:0 auto;}div.widget-liquid-right{float:right;clear:right;width:300px;}.widget-liquid-right .widget,#wp_inactive_widgets .widget,.widget-liquid-right .sidebar-description{width:250px;margin:0 auto 20px;overflow:hidden;}.widget-liquid-right .sidebar-description{margin-bottom:10px;}#wp_inactive_widgets .widget{margin:0 10px 20px;float:left;}div.sidebar-name h3{font-family:Georgia,"Times New Roman","Bitstream Charter",Times,serif;font-weight:normal;font-size:15px;margin:0;padding:8px 10px;overflow:hidden;white-space:nowrap;}div.sidebar-name{cursor:pointer;font-size:13px;border-width:1px;border-style:solid;-moz-border-radius-topleft:3px;-moz-border-radius-topright:3px;-webkit-border-top-right-radius:3px;-webkit-border-top-left-radius:3px;-khtml-border-top-right-radius:3px;-khtml-border-top-left-radius:3px;border-top-right-radius:3px;border-top-left-radius:3px;}.js .closed .sidebar-name{-moz-border-radius-bottomleft:3px;-moz-border-radius-bottomright:3px;-webkit-border-bottom-right-radius:3px;-webkit-border-bottom-left-radius:3px;-khtml-border-bottom-right-radius:3px;-khtml-border-bottom-left-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;}.widget-liquid-right .widgets-sortables,#widgets-left .widget-holder{border-width:0 1px 1px;border-style:none solid solid;-moz-border-radius-bottomleft:3px;-moz-border-radius-bottomright:3px;-webkit-border-bottom-right-radius:3px;-webkit-border-bottom-left-radius:3px;-khtml-border-bottom-right-radius:3px;-khtml-border-bottom-left-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;}.js .closed .widgets-sortables,.js .closed .widget-holder{display:none;}.widget-liquid-right .widgets-sortables{padding:15px 0 0;}#available-widgets .widget-holder{padding:7px 5px 0;}#available-widgets .widget{-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;}#wp_inactive_widgets{padding:5px 5px 0;}#widget-list .widget{width:250px;margin:0 10px 15px;border:0 none;background:transparent;float:left;}#widget-list .widget-description{padding:5px 8px;}#widget-list .widget-top{border-width:1px;border-style:solid;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;}.widget-placeholder{border-width:1px;border-style:dashed;margin:0 auto 20px;height:26px;width:250px;}#wp_inactive_widgets .widget-placeholder{margin:0 10px 20px;float:left;}div.widgets-holder-wrap{padding:0;margin:10px 0 20px;}#widgets-left #available-widgets{background-color:transparent;border:0 none;}ul#widget-list{list-style:none;margin:0;padding:0;min-height:100px;}.widget .widget-top{margin-bottom:-1px;font-size:12px;font-weight:bold;height:26px;overflow:hidden;}.widget-top .widget-title{padding:7px 9px;}.widget-top .widget-title-action{float:right;}a.widget-action{display:block;width:24px;height:26px;}#available-widgets a.widget-action{display:none;}.widget-top a.widget-action{background:transparent url(../images/arrows.png) no-repeat 4px 6px;}.widget-top a.widget-action:hover{background:transparent url(../images/arrows-dark.png) no-repeat 4px 6px;}.widget .widget-inside,.widget .widget-description{padding:12px 12px 10px;font-size:12px;line-height:16px;}.widget-inside,.widget-description{display:none;}#available-widgets .widget-description{display:block;}.widget .widget-inside p{margin:0 0 1em;padding:0;}.widget-title h4{margin:0;line-height:1;overflow:hidden;white-space:nowrap;}.widgets-sortables{min-height:90px;}.widget-control-actions{margin-top:8px;}.widget-control-actions a{text-decoration:none;}.widget-control-actions a:hover{text-decoration:underline;}.widget-control-actions .ajax-feedback{padding-bottom:3px;}.widget-control-actions div.alignleft{margin-top:6px;}div#sidebar-info{padding:0 1em;margin-bottom:1em;font-size:12px;}.widget-title a,.widget-title a:hover{text-decoration:none;border-bottom:none;}.widget-control-edit{display:block;font-size:12px;font-weight:normal;line-height:26px;padding:0 8px 0 0;}a.widget-control-edit{text-decoration:none;}.widget-control-edit .add,.widget-control-edit .edit{display:none;}#available-widgets .widget-control-edit .add,#widgets-right .widget-control-edit .edit,#wp_inactive_widgets .widget-control-edit .edit{display:inline;}.editwidget{margin:0 auto 15px;}.editwidget .widget-inside{display:block;border-width:1px;border-style:solid;padding:10px;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;}.inactive p.description{margin:5px 15px 8px;}#available-widgets p.description{margin:0 12px 12px;}.widget-position{margin-top:8px;}.inactive{padding-top:2px;}.sidebar-name-arrow{float:right;height:29px;width:26px;}.widget-title .in-widget-title{font-size:12px;white-space:nowrap;}#removing-widget{display:none;font-weight:normal;padding-left:15px;font-size:12px;line-height:1;}.widget-control-noform,#access-off,.widgets_access .widget-action,.widgets_access .sidebar-name-arrow,.widgets_access #access-on,.widgets_access .widget-holder .description{display:none;}.widgets_access .widget-holder,.widgets_access #widget-list{padding-top:10px;}.widgets_access #access-off{display:inline;}.widgets_access #wpbody-content .widget-title-action,.widgets_access #wpbody-content .widget-control-edit,.widgets_access .closed .widgets-sortables,.widgets_access .closed .widget-holder{display:block;}.widgets_access .closed .sidebar-name{-moz-border-radius-bottomleft:0;-moz-border-radius-bottomright:0;-webkit-border-bottom-right-radius:0;-webkit-border-bottom-left-radius:0;-khtml-border-bottom-right-radius:0;-khtml-border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0;}.widgets_access .sidebar-name,.widgets_access .widget .widget-top{cursor:default;} \ No newline at end of file diff --git a/src/wp-admin/css/widgets.dev.css b/src/wp-admin/css/widgets.dev.css index 0ce9fd3..8b4736f 100644 --- a/src/wp-admin/css/widgets.dev.css +++ b/src/wp-admin/css/widgets.dev.css @@ -45,54 +45,53 @@ div.widget-liquid-right { } div.sidebar-name h3 { + font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif; + font-weight: normal; + font-size: 15px; margin: 0; - padding: 5px 12px; - font-size: 13px; - height: 19px; + padding: 8px 10px; overflow: hidden; white-space: nowrap; } div.sidebar-name { - background-repeat: repeat-x; - background-position: 0 0; cursor: pointer; font-size: 13px; border-width: 1px; border-style: solid; - -moz-border-radius-topleft: 8px; - -moz-border-radius-topright: 8px; - -webkit-border-top-right-radius: 8px; - -webkit-border-top-left-radius: 8px; - -khtml-border-top-right-radius: 8px; - -khtml-border-top-left-radius: 8px; - border-top-right-radius: 8px; - border-top-left-radius: 8px; + -moz-border-radius-topleft: 3px; + -moz-border-radius-topright: 3px; + -webkit-border-top-right-radius: 3px; + -webkit-border-top-left-radius: 3px; + -khtml-border-top-right-radius: 3px; + -khtml-border-top-left-radius: 3px; + border-top-right-radius: 3px; + border-top-left-radius: 3px; } .js .closed .sidebar-name { - -moz-border-radius-bottomleft: 8px; - -moz-border-radius-bottomright: 8px; - -webkit-border-bottom-right-radius: 8px; - -webkit-border-bottom-left-radius: 8px; - -khtml-border-bottom-right-radius: 8px; - -khtml-border-bottom-left-radius: 8px; - border-bottom-right-radius: 8px; - border-bottom-left-radius: 8px; + -moz-border-radius-bottomleft: 3px; + -moz-border-radius-bottomright: 3px; + -webkit-border-bottom-right-radius: 3px; + -webkit-border-bottom-left-radius: 3px; + -khtml-border-bottom-right-radius: 3px; + -khtml-border-bottom-left-radius: 3px; + border-bottom-right-radius: 3px; + border-bottom-left-radius: 3px; } .widget-liquid-right .widgets-sortables, #widgets-left .widget-holder { border-width: 0 1px 1px; border-style: none solid solid; - -moz-border-radius-bottomleft: 8px; - -moz-border-radius-bottomright: 8px; - -webkit-border-bottom-right-radius: 8px; - -webkit-border-bottom-left-radius: 8px; - -khtml-border-bottom-right-radius: 8px; - -khtml-border-bottom-left-radius: 8px; - border-bottom-right-radius: 8px; - border-bottom-left-radius: 8px; + -moz-border-radius-bottomleft: 3px; + -moz-border-radius-bottomright: 3px; + -webkit-border-bottom-right-radius: 3px; + -webkit-border-bottom-left-radius: 3px; + -khtml-border-bottom-right-radius: 3px; + -khtml-border-bottom-left-radius: 3px; + border-bottom-right-radius: 3px; + border-bottom-left-radius: 3px; } .js .closed .widgets-sortables, @@ -108,6 +107,12 @@ div.sidebar-name { padding: 7px 5px 0; } +#available-widgets .widget { + -moz-box-shadow: none; + -webkit-box-shadow: none; + box-shadow: none; +} + #wp_inactive_widgets { padding: 5px 5px 0; } @@ -116,6 +121,7 @@ div.sidebar-name { width: 250px; margin: 0 10px 15px; border: 0 none; + background: transparent; float: left; } @@ -126,10 +132,10 @@ div.sidebar-name { #widget-list .widget-top { border-width: 1px; border-style: solid; - -moz-border-radius: 6px; - -khtml-border-radius: 6px; - -webkit-border-radius: 6px; - border-radius: 6px; + -moz-border-radius: 3px; + -khtml-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; } .widget-placeholder { @@ -163,6 +169,7 @@ ul#widget-list { } .widget .widget-top { + margin-bottom: -1px; font-size: 12px; font-weight: bold; height: 26px; @@ -170,7 +177,7 @@ ul#widget-list { } .widget-top .widget-title { - padding: 5px 9px; + padding: 7px 9px; } .widget-top .widget-title-action { @@ -188,13 +195,17 @@ a.widget-action { } .widget-top a.widget-action { - background: url("../images/menu-bits.gif?ver=20100610") no-repeat scroll 0 -110px; + background: transparent url(../images/arrows.png) no-repeat 4px 6px; +} + +.widget-top a.widget-action:hover { + background: transparent url(../images/arrows-dark.png) no-repeat 4px 6px; } .widget .widget-inside, .widget .widget-description { padding: 12px 12px 10px; - font-size: 11px; + font-size: 12px; line-height: 16px; } @@ -214,7 +225,7 @@ a.widget-action { .widget-title h4 { margin: 0; - line-height: 1.3; + line-height: 1; overflow: hidden; white-space: nowrap; } @@ -246,7 +257,7 @@ a.widget-action { div#sidebar-info { padding: 0 1em; margin-bottom: 1em; - font-size: 11px; + font-size: 12px; } .widget-title a, @@ -257,7 +268,7 @@ div#sidebar-info { .widget-control-edit { display: block; - font-size: 11px; + font-size: 12px; font-weight: normal; line-height: 26px; padding: 0 8px 0 0; @@ -287,10 +298,10 @@ a.widget-control-edit { border-width: 1px; border-style: solid; padding: 10px; - -moz-border-radius: 6px; - -khtml-border-radius: 6px; - -webkit-border-radius: 6px; - border-radius: 6px; + -moz-border-radius: 3px; + -khtml-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; } .inactive p.description { @@ -316,7 +327,7 @@ a.widget-control-edit { } .widget-title .in-widget-title { - font-size: 11px; + font-size: 12px; white-space: nowrap; } @@ -325,6 +336,7 @@ a.widget-control-edit { font-weight: normal; padding-left: 15px; font-size: 12px; + line-height: 1; } .widget-control-noform, diff --git a/src/wp-admin/css/wp-admin-rtl.css b/src/wp-admin/css/wp-admin-rtl.css index bf29882..c892bb0 100644 --- a/src/wp-admin/css/wp-admin-rtl.css +++ b/src/wp-admin/css/wp-admin-rtl.css @@ -1 +1 @@ -td.available-theme{text-align:right;}#current-theme img{float:right;margin-right:0;margin-left:1em;}.quicktags,.search{font-family:Tahoma,Arial,sans-serif;}#doaction,#doaction2,#post-query-submit{margin-right:0;margin-left:8px;}#save-post{float:right;}#minor-publishing .ajax-loading{padding:3px 4px 0 0;float:right;}.preview{float:left;}#sticky-span{margin-left:0;margin-right:18px;}#post-body .misc-pub-section{border-right-width:0;border-left-width:1px;border-right-style:none;border-left-style:solid;float:right;}#post-body .misc-pub-section-last{border-left:0;}#delete-action{text-align:right;float:right;}#publishing-action{text-align:left;float:left;}.side-info ul{padding-left:0;padding-right:18px;}.submit input,.button,.button-primary,.button-secondary,.button-highlighted,#postcustomstuff .submit input{font-family:Tahoma,Arial,sans-serif;}#wpcontent select{font-family:Tahoma,Arial,sans-serif;}#quicktags{background-position:right top;}#template div{margin-right:0;margin-left:190px;}* html #template div{margin-left:0;}.list-ajax-loading{float:left;margin-right:0;margin-left:9px;}#your-profile legend{font-family:Tahoma,Arial,sans-serif;}#ajax-response.alignleft{margin-left:0;margin-right:2em;}.page-numbers{margin-right:0;margin-left:1px;}.column-author img,.column-username img{float:right;margin-right:0;margin-left:10px;}.tablenav a.button-secondary{margin-right:0;margin-left:8px;}.tablenav .actions{padding-right:0;padding-left:8px;}.tablenav .tablenav-pages{float:left;}.tablenav .displaying-num{margin-right:0;margin-left:10px;font-family:Tahoma,Arial,sans-serif;font-style:normal;}#postcustomstuff table input,#postcustomstuff table select,#postcustomstuff table textarea{margin:8px 8px 8px 0;}#pass-strength-result{float:right;margin:12px 1px 5px 5px;}#user_info{float:left;}#header-logo{float:right;margin:7px 15px 0 0;}#wphead h1{font-family:Tahoma,Arial,sans-serif;float:right;}#wphead h1.long-title{font-family:Tahoma,Arial,sans-serif;}#adminmenu .wp-submenu a{padding-left:0;padding-right:12px;border-width:0 0 0 1px;border-style:none none none solid;font-family:Tahoma,Arial,sans-serif;}#adminmenu a.menu-top,#adminmenu .wp-submenu-head{font-family:Tahoma,Arial,sans-serif;}#adminmenu img.wp-menu-image{float:right;}.folded #adminmenu img.wp-menu-image{padding:7px 6px 0 0;}#adminmenu a.separator{cursor:e-resize;}.folded #adminmenu a.separator{cursor:w-resize;}#adminmenu .wp-submenu .wp-submenu-head{padding:6px 10px 6px 4px;}.folded #adminmenu .wp-submenu{margin:-1px 28px 0 0;}.folded #adminmenu .wp-submenu a{padding-left:0;padding-right:10px;}.folded #adminmenu a.wp-has-submenu{margin-left:0;margin-right:40px;}#adminmenu .wp-menu-toggle{float:left;padding:1px 0 0 2px;clear:left;}#adminmenu div.wp-menu-image{float:right;}#wphead-info{margin:0 15px 0 0;padding-right:0;padding-left:15px;}#adminmenu #awaiting-mod,#adminmenu span.update-plugins,#sidemenu li a span.update-plugins{font-family:Tahoma,Arial,sans-serif;margin-left:0;margin-right:7px;}.post-com-count-wrapper{font-family:Tahoma,Arial,sans-serif;}.column-response .post-com-count{float:right;margin-right:0;margin-left:5px;}.form-table th{text-align:right;}.form-table input.tog{margin-right:0;margin-left:2px;float:right;}.form-table table.color-palette{float:right;}#profile-page .form-table #rich_editing{margin-right:0;margin-left:5px;}#normal-sortables .postbox .submit{float:left;}#post-body .tagsdiv #newtag{margin-right:0;margin-left:5px;}#post-status-info{padding:0 7px 0 15px;}#comment-status-radio input{margin:2px 0 5px 3px;}.tagchecklist{margin-left:0;margin-right:10px;}.tagchecklist strong{margin-left:0;margin-right:-8px;}.tagchecklist span{float:right;}.tagchecklist span a{margin:6px -9px 0 0;float:right;}.ac_results li{text-align:right;}#poststuff h2{clear:right;}.description,.form-wrap p{font-family:Tahoma,Arial,sans-serif;}.sorting-indicator{margin-left:0;margin-right:7px;}th.sortable a span,th.sorted a span{float:right;}.fixed .column-comments a{float:right;}.autosave-info{padding:2px 2px 2px 15px;text-align:left;}.meta-box-sortables .postbox .handlediv{float:left;}.howto{font-family:Tahoma,Arial,sans-serif;}.postarea h3 label{float:right;}.postarea #add-media-button{float:left;right:auto;left:10px;}.wp_themeSkin tr.mceFirst td.mceToolbar{background-position:right top;}#poststuff #edButtonPreview,#poststuff #edButtonHTML{margin:5px 0 0 5px;float:left;}#poststuff #edButtonHTML{margin-right:0;margin-left:15px;}#media-buttons a{padding:0 10px 5px 0;}.submitbox .submit{text-align:right;}.inside-submitbox #post_status{margin:2px -2px 2px 0;}.submitbox .submit input{margin-right:0;margin-left:4px;}.category-adder{margin-left:0;margin-right:120px;}#post-body ul.category-tabs li.tabs,#post-body ul.add-menu-item-tabs li.tabs{-moz-border-radius:0 3px 3px 0;-webkit-border-top-left-radius:0;-webkit-border-top-right-radius:3px;-webkit-border-bottom-left-radius:0;-webkit-border-bottom-right-radius:3px;border-top-left-radius:0;border-top-right-radius:3px;border-bottom-left-radius:0;border-bottom-right-radius:3px;}#post-body ul.category-tabs,#post-body ul.add-menu-item-tabs{float:right;text-align:left;margin:0 0 0 -120px;}#post-body .categorydiv div.tabs-panel,#post-body .taxonomy div.tabs-panel,#post-body #linkcategorydiv div.tabs-panel{margin:0 120px 0 5px;}#front-page-warning,#front-static-pages ul,.inline-editor ul.cat-checklist ul,.categorydiv ul.categorychecklist ul,.customlinkdiv ul.categorychecklist ul,.posttypediv ul.categorychecklist ul,.taxonomydiv ul.categorychecklist ul,#linkcategorydiv ul.categorychecklist ul{margin-left:0;margin-right:18px;}p.search-box{float:left;}#posts-filter fieldset{float:right;margin:0 0 1em 1.5ex;}#posts-filter fieldset legend{padding:0 1px .2em 0;}.view-switch{float:left;}.filter{float:right;margin:-5px 10px 0 0;}#the-comment-list td.comment p.comment-author{margin-right:0;}#the-comment-list p.comment-author img{float:right;margin-right:0;margin-left:8px;}.tablenav .delete{margin-right:0;margin-left:20px;}td.action-links,th.action-links{text-align:left;}.filter .subsubsub{margin-left:0;margin-right:-10px;}#wp-word-count{margin-right:10px;}.tool-box .title{font-family:Tahoma,Arial,sans-serif;}.settings-toggle{text-align:left;margin:5px 0 15px 7px;}.curtime #timestamp{background-position:right top;padding-left:0;padding-right:18px;}#sidemenu{margin:-30px 315px 0 15px;float:left;padding-left:0;padding-right:10px;}#sidemenu a{float:right;}#replysubmit .button{margin-right:0;margin-left:5px;}#edithead .inside{float:right;margin:3px 5px 2px 0;}#replyrow #ed_reply_toolbar input{margin:1px 1px 1px 2px;}#screen-meta-links{margin:0 0 0 18px;}#screen-options-link-wrap,#contextual-help-link-wrap{float:left;font-family:Tahoma,Arial,sans-serif;margin:0 0 0 6px;}#contextual-help-wrap li{margin-left:0;margin-right:18px;}#screen-meta a.show-settings{padding:0 6px 0 16px;background-position:left top;}.metabox-prefs label{padding-right:0;padding-left:15px;}.metabox-prefs label input{margin:0 2px 0 5px;}.inline-editor .save,.inline-editor .cancel{margin-right:0;margin-left:5px;}#replysubmit img.waiting,.inline-edit-save img.waiting{float:left;}.trash-undo-inside,.spam-undo-inside,.spam-undo-inside .avatar,.trash-undo-inside .avatar{margin-right:0;margin-left:8px;}#bulk-titles div a{float:right;margin:3px -2px 0 3px;}#wpbody-content .filename{margin-left:0;margin-right:10px;}#wpbody-content .inline-edit-row fieldset{float:right;}#wpbody-content .quick-edit-row-page fieldset.inline-edit-col-right .inline-edit-col{border-left:0 none;border-right:1px solid;}#wpbody-content .bulk-edit-row .inline-edit-col-bottom{float:left;}.inline-edit-row fieldset label span.title{float:right;}.inline-edit-row fieldset label span.input-text-wrap{margin-left:0;margin-right:5em;}.quick-edit-row-post fieldset.inline-edit-col-right label span.title{padding-right:0;padding-left:.5em;}#wpbody-content .quick-edit-row fieldset .inline-edit-group label.alignleft:first-child{margin-right:0;margin-left:.5em;}.inline-edit-row fieldset span.title,.inline-edit-row fieldset span.checkbox-title{font-family:Tahoma,Arial,sans-serif;}.inline-edit-row fieldset .inline-edit-date{float:right;}.inline-edit-row fieldset ul.cat-checklist label,.inline-edit-row .catshow,.inline-edit-row .cathide,.inline-edit-row #bulk-titles div{font-family:Tahoma,Arial,sans-serif;}.quick-edit-row-post fieldset label.inline-edit-status{float:right;}.describe-toggle-on,.describe-toggle-off{float:left;margin-right:0;margin-left:20px;}#wpbody-content #media-items .filename{float:right;margin-left:0;margin-right:10px;}.media-item .pinkynail{float:right;}#find-posts-response .found-radio{padding:8px 8px 0 0;}.find-box-buttons{left:auto;right:12px;}.find-box-search label{padding-right:0;padding-left:6px;}#favorite-actions{float:left;}#favorite-first{padding:3px 12px 4px 30px;}#favorite-inside a{padding:3px 10px 3px 5px;}#favorite-toggle{right:auto;left:0;background:transparent url(../images/fav-arrow-rtl.gif?ver=20100531) no-repeat 10px -4px;}#utc-time,#local-time{padding-left:0;padding-right:25px;font-family:Tahoma,Arial;}.icon32{float:right;margin:14px 0 0 6px;}.subtitle{padding-left:0;padding-right:25px;}ol{list-style-type:decimal;margin-left:0;margin-right:2em;}.postbox-container{float:right;padding-left:.5%;padding-right:0;}#wpbody-content .describe th{text-align:right;}.describe .media-item-info .A1B1{padding:0 10px 0 0;}.media-upload-form td label{margin-left:6px;margin-right:2px;}.media-upload-form .align .field label{padding:0 22px 0 0;margin:0 0 0 1em;}.media-upload-form tr.image-size label{margin:0 3px 0 0;}#wpbody-content .describe p.help{padding:0 5px 0 0;}.media-item .error-div a.dismiss,.describe-toggle-on,.describe-toggle-off{float:left;margin-right:0;margin-left:20px;}.describe-toggle-on,.describe-toggle-off{float:left;margin-left:20px;margin-right:0;}.media-item .error-div{padding-left:0;padding-right:10px;}.media-item .pinkynail{float:right;}.crunching{text-align:left;margin-left:5px;margin-right:0;}.bar{border-left-width:3px;border-left-style:solid;border-right:none;}.clearlooks2 .mceTop .mceLeft{width:100%!important;}.taghint{margin:15px 12px -24px 0;}#poststuff .tagsdiv .howto{margin:0 8px 6px 0;}#broken-themes{text-align:right;}.describe .del-link{padding-right:5px;padding-left:0;}.comment-ays th{border-left-style:solid;border-left-width:1px;}.appearance_page_custom-header #available-headers .default-header{float:right;margin:0 0 20px 20px;}.appearance_page_custom-header #available-headers label input{margin-right:0;margin-left:10px;}#custom-background label{padding-right:0;padding-left:15px;}#author-email,#author-url,#rss-url-1,#edit-slug-box,#post_name,#trackback_url,#metakeyinput,#post_password,#slug,#category_nicename,#link_url,#link_image,#rss_uri,#menu_order,#email,#newcomment_author_url,#pages-exclude,#template textarea,#user_login,#url,#pass1,#pass2,#aim,#yim,#jabber,#siteurl,#home,#admin_email,#gmt_offset,#default_post_edit_rows,#mailserver_url,#mailserver_login,#mailserver_pass,#mailserver_port,#ping_sites,#posts_per_page,#posts_per_rss,#blog_charset,#close_comments_days_old,#comments_per_page,#comment_max_links,#moderation_keys,#blacklist_keys,#thumbnail_size_w,#thumbnail_size_h,#medium_size_w,#medium_size_h,#large_size_w,#large_size_h,#permalink_structure,#category_base,#tag_base,#upload_path,#upload_url_path,#rules{direction:ltr;}#quicktags #ed_em,#ed_reply_toolbar #ed_reply_em,.tablenav .displaying-num,#footer,#footer a,p.help,p.description,span.description,.form-wrap p,#side-sortables .comments-box thead th,#normal-sortables .comments-box thead th,.howto,.inline-edit-row fieldset span.title,.inline-edit-row fieldset span.checkbox-title,#utc-time,#local-time,form.upgrade .hint,p.install-help,.imgedit-help{font-style:normal;} \ No newline at end of file +ol{margin-left:0;margin-right:2em;}.code,code{font-family:Tahoma,Arial,sans-serif;}.quicktags,.search{font:12px Tahoma,Arial,sans-serif;}.icon32{float:right;margin:7px 0 0 8px;}.howto{font-style:normal;font-family:Tahoma,Arial,sans-serif;}p.install-help{font-style:normal;}#doaction,#doaction2,#post-query-submit{margin-right:0;margin-left:8px;}#timezone_string option{margin-left:0;margin-right:1em;}#pass-strength-result{float:right;margin:13px 1px 5px 5px;}p.search-box{float:left;}#delete-action{text-align:right;float:right;}#publishing-action{text-align:left;float:left;}#post-body .misc-pub-section{border-right:0;border-left-width:1px;border-left-style:solid;float:right;}#post-body .misc-pub-section-last{border-left:0;}#minor-publishing-actions{padding:10px 8px 2px 10px;text-align:left;}#save-post{float:right;}#minor-publishing .ajax-loading{padding:3px 4px 0 0;float:right;}.preview{float:left;}#sticky-span{margin-left:0;margin-right:18px;}.side-info ul{padding-left:0;padding-right:18px;}td.action-links,th.action-links{text-align:left;}.describe .del-link{padding-left:0;padding-right:5px;}.plugin-update .update-message{margin:0 31px 8px 10px;}form.upgrade .hint{font-style:normal;}#ajax-response.alignleft{margin-left:0;margin-right:2em;}#quicktags{background-position:right top;}#ed_reply_toolbar input{margin:1px 1px 1px 2px;}#wp-fullscreen-body{right:0;left:auto;}#wp-fullscreen-tagline{float:left;}#fullscreen-topbar{left:auto;right:0;}#wp-fullscreen-mode-bar,#wp-fullscreen-button-bar,#wp-fullscreen-close,#wp-fullscreen-count{float:right;}#wp-fullscreen-save{float:left;}#wp-fullscreen-save{padding:2px 5px 0 2px;}#wp-fullscreen-buttons>div{float:right;}#wp-fullscreen-mode-bar{padding:1px 0 0 14px;}#wp-fullscreen-modes a{float:right;border-width:1px 0 1px 1px;}#wp-fullscreen-modes a:first-child{border-width:1px;-moz-border-radius:3px 3px 0 0;-webkit-border-top-left-radius:0;-webkit-border-top-right-radius:3px;-webkit-border-bottom-left-radius:0;-webkit-border-bottom-right-radius:3px;-khtml-border-top-left-radius:0;-khtml-border-top-right-radius:3px;-khtml-border-bottom-left-radius:0;-khtml-border-bottom-right-radius:3px;border-top-left-radius:0;border-top-right-radius:3px;border-bottom-right-left:0;border-bottom-right-radius:3px;}#wp-fullscreen-modes a:last-child{-moz-border-radius:0 0 3px 3px;-webkit-border-top-right-radius:0;-webkit-border-top-left-radius:3px;-webkit-border-bottom-right-radius:0;-webkit-border-bottom-left-radius:3px;-khtml-border-top-right-radius:0;-khtml-border-top-left-radius:3px;-khtml-border-bottom-right-radius:0;-khtml-border-bottom-left-radius:3px;border-top-right-radius:0;border-top-left-radius:3px;border-bottom-right-radius:0;border-bottom-left-radius:3px;}#wp-fullscreen-save img,#wp-fullscreen-save span{padding-right:0;padding-left:4px;}#wphead-info{margin:0 15px 0 0;}#user_info{float:left;padding:0 6px 0 2px;}#user_info.active{margin-right:0;margin-left:-1px;}#user_info .hide-if-no-js p{margin:0 0 0 20px;}#user_info_arrow{right:auto;left:3px;}#user_info_links_wrap{right:auto;left:0;}#wphead{height:32px;margin-left:15px;margin-right:2px;}#header-logo{float:right;}#wphead h1{font:Tahoma,Arial,sans-serif;float:right;}#favorite-actions{margin:0 15px 0 12px;}#favorite-first a{padding:2px 12px 2px 0;}#favorite-inside a{padding:3px 10px 3px 5px;}#favorite-toggle{right:auto;left:0;}#screen-meta-links{margin:0 0 0 19px;}#screen-meta .screen-reader-text{visibility:hidden;}#screen-options-link-wrap,#contextual-help-link-wrap{float:left;margin:0 6px 0 0;font-family:Tahoma,Arial,sans-serif;}#contextual-help-wrap li{list-style-type:disc;margin-left:auto;margin-right:18px;}.toggle-arrow{background-position:top right;}.toggle-arrow-active{background-position:bottom right;}#screen-meta a.show-settings{padding:0 6px 0 16px;}#screen-options-wrap,#contextual-help-wrap{margin:0 0 0 15px;}.metabox-prefs label{padding-right:auto;padding-left:15px;}.metabox-prefs label input{margin:0 2px 0 5px;}#adminmenushadow{right:auto;left:0;}#adminmenu div.wp-menu-image{float:right;}#adminmenu .wp-submenu a{padding-left:0;padding-right:12px;}#adminmenu li.wp-has-current-submenu .wp-menu-arrow,#adminmenu li.menu-top.current .wp-menu-arrow{right:auto;left:-9px;}#adminmenu .wp-menu-arrow div{background:url(../images/menu-arrow-frame-rtl.png) top left no-repeat;}#adminmenu .wp-menu-image img{float:right;}.folded #adminmenu .wp-submenu{display:block;left:auto;right:26px;}.folded #adminmenu .wp-submenu.sub-open{padding:0 0 8px 8px;}#adminmenu .wp-submenu .wp-submenu-head{padding:6px 10px 5px 4px;}.folded #adminmenu .wp-submenu-wrap{-webkit-border-bottom-right-radius:0;-webkit-border-bottom-left-radius:3px;-webkit-border-top-right-radius:0;-webkit-border-top-left-radius:3px;-khtml-border-bottom-right-radius:0;-khtml-border-bottom-left-radius:3px;-khtml-border-top-left-radius:0;-khtml-border-top-left-radius:3px;-moz-border-radius-bottomright:0;-moz-border-radius-bottomleft:3px;-moz-border-radius-topright:0;-moz-border-radius-topleft:3px;border-bottom-right-radius:0;border-bottom-left-radius:3px;border-top-right-radius:0;border-top-left-radius:3px;border-width:0 0 1px 1px;}.folded #adminmenu .wp-submenu ul{border-width:0 1px 0 0;}.folded #adminmenu .wp-submenu a{padding-left:0;padding-right:10px;}.folded #adminmenu a.wp-has-submenu{margin-left:0;margin-right:40px;}#adminmenu .wp-menu-toggle{clear:left;float:left;padding:1px 0 0 2px;}#adminmenu .wp-menu-image img{padding:6px 1px 0 0;}#adminmenu .awaiting-mod,#adminmenu span.update-plugins,#sidemenu li a span.update-plugins{font-family:Tahoma,Arial,sans-serif;margin-left:0;margin-right:7px;}.post-com-count-wrapper{font-family:Tahoma,Arial,sans-serif;}.column-response .post-com-count{float:right;margin-right:0;margin-left:5px;}.response-links{float:right;}#collapse-button{float:right;}.widefat th{font-family:Tahoma,Arial,sans-serif;}.widefat td p{margin:2px 0 .8em;}.postbox-container{float:right;padding-right:0;padding-left:.5%;}.postbox .handlediv{float:left;}#the-comment-list p.comment-author img{float:right;margin-right:0;margin-left:8px;}.fixed .column-comments{text-align:right;}.fixed .column-comments .vers{padding-left:0;padding-right:3px;}.fixed .column-comments a{float:right;}.sorting-indicator{margin-left:0;margin-right:7px;}th.sortable a span,th.sorted a span{float:right;}.tablenav-pages a{margin-right:0;margin-left:1px;}.tablenav-pages .next-page{margin-left:0;margin-right:2px;}.tablenav a.button-secondary{margin:3px 0 0 8px;}.tablenav .tablenav-pages{float:left;}.tablenav .displaying-num{margin-right:0;margin-left:10px;font-family:Tahoma,Arial,sans-serif;font-style:bold;}.tablenav .actions{padding:2px 0 0 8px;}.tablenav .delete{margin-right:0;margin-left:20px;}.view-switch{float:left;}.filter{float:right;margin:-5px 10px 0 0;}.filter .subsubsub{margin-left:0;margin-right:-10px;}#posts-filter fieldset{float:right;margin:0 0 1em 1.5ex;}#posts-filter fieldset legend{padding:0 1px .2em 0;}#wpbody-content .inline-edit-row fieldset{float:right;}#wpbody-content .quick-edit-row-page fieldset.inline-edit-col-right .inline-edit-col{border-width:0 1px 0 0;}#wpbody-content .bulk-edit-row .inline-edit-col-bottom{float:left;}.inline-edit-row fieldset label span.title{float:right;}.inline-edit-row fieldset label span.input-text-wrap{margin-left:0;margin-right:5em;}.quick-edit-row-post fieldset.inline-edit-col-right label span.title{padding-right:0;padding-left:.5em;}#wpbody-content .quick-edit-row fieldset .inline-edit-group label.alignleft:first-child{margin-right:0;margin-left:.5em;}.inline-edit-row fieldset span.title,.inline-edit-row fieldset span.checkbox-title{font-family:Tahoma,Arial,sans-serif;font-style:normal;}.inline-edit-row fieldset .inline-edit-date{float:right;}.inline-edit-row fieldset ul.cat-checklist label,.inline-edit-row .catshow,.inline-edit-row .cathide,.inline-edit-row #bulk-titles div{font-family:Tahoma,Arial,sans-serif;}.quick-edit-row-post fieldset label.inline-edit-status{float:right;}#bulk-titles div a{float:right;margin:3px -2px 0 3px;overflow:hidden;text-indent:-9999px;}#titlediv #title-prompt-text,#wp-fullscreen-title-prompt-text{right:0;}#sample-permalink{direction:ltr;}#sample-permalink #editable-post-name{unicode-bidi:embed;}#wp-fullscreen-title-prompt-text{left:auto;right:0;}.postarea h3 label{float:right;}.postarea #add-media-button{float:left;right:auto;left:10px;}#edButtonPreview,#edButtonHTML{margin:5px 0 0 5px;float:left;}#poststuff #edButtonHTML{margin-right:0;margin-left:15px;}#media-buttons a{padding:0 10px 5px 0;}.submitbox .submit{text-align:right;}.inside-submitbox #post_status{margin:2px -2px 2px 0;}.submitbox .submit input{margin-right:0;margin-left:4px;}#normal-sortables .postbox .submit{float:left;}#post-body ul.category-tabs,#post-body ul.add-menu-item-tabs{float:right;text-align:left;margin:0 5px 0 -120px;}#post-body ul.category-tabs li.tabs,#post-body ul.add-menu-item-tabs li.tabs{-moz-border-radius:3px 3px 0 0;-webkit-border-top-left-radius:0;-webkit-border-top-right-radius:3px;-webkit-border-bottom-left-radius:0;-webkit-border-bottom-right-radius:3px;-khtml-border-top-left-radius:0;-khtml-border-top-right-radius:3px;-khtml-border-bottom-left-radius:0;-khtml-border-bottom-right-radius:3px;border-top-left-radius:0;border-top-right-radius:3px;border-bottom-left-radius:0;border-bottom-right-radius:3px;}#post-body .categorydiv div.tabs-panel,.taxonomy div.tabs-panel,#post-body #linkcategorydiv div.tabs-panel{margin:0 125px 0 5px;}#side-sortables .comments-box thead th,#normal-sortables .comments-box thead th{font-style:normal;}#commentsdiv img.waiting{padding-left:0;padding-right:5px;}#post-body .category-tabs li.tabs,#post-body .add-menu-item-tabs li.tabs{border-width:1px 1px 1px 0;margin-right:0;margin-left:-1px;}#posts-filter fieldset{float:right;margin:0 0 1em 1.5ex;}#posts-filter fieldset legend{padding:0 1px .2em 0;}#post-body .tagsdiv #newtag{margin-right:0;margin-left:5px;}.autosave-info{padding:2px 2px 2px 15px;text-align:left;}#post-body .wp_themeSkin .mceStatusbar a.mceResize{background:transparent url(../images/resize-rtl.gif) no-repeat scroll left bottom;cursor:sw-resize;}.curtime #timestamp{background-position:right top;padding-left:0;padding-right:18px;}#postcustomstuff table input,#postcustomstuff table select,#postcustomstuff table textarea{margin:8px 8px 8px 0;}table.diff td,table.diff th{font-family:Consolas,Monaco,monospace;}.category-adder{margin-left:0;margin-right:120px;}#post-body ul.category-tabs,#post-body ul.add-menu-item-tabs{float:right;text-align:left;margin:0 5px 0 -120px;}#post-body ul.category-tabs li.tabs,#post-body ul.add-menu-item-tabs li.tabs{-moz-border-radius:3px 3px 0 0;-webkit-border-top-left-radius:0;-webkit-border-top-right-radius:3px;-webkit-border-bottom-left-radius:0;-webkit-border-bottom-right-radius:3px;-khtml-border-top-left-radius:0;-khtml-border-top-right-radius:3px;-khtml-border-bottom-left-radius:0;-khtml-border-bottom-right-radius:3px;border-top-left-radius:0;border-top-right-radius:3px;border-bottom-left-radius:0;border-bottom-right-radius:3px;}#front-page-warning,#front-static-pages ul,ul.export-filters,.inline-editor ul.cat-checklist ul,.categorydiv ul.categorychecklist ul,.customlinkdiv ul.categorychecklist ul,.posttypediv ul.categorychecklist ul,.taxonomydiv ul.categorychecklist ul,#linkcategorydiv ul.categorychecklist ul{margin-left:0;margin-right:18px;}#post-body .category-tabs li.tabs,#post-body .add-menu-item-tabs li.tabs{border-style:solid solid solid none;border-width:1px 1px 1px 0;margin-right:0;margin-left:-1px;}p.help,p.description,span.description,.form-wrap p{font-style:normal;font-family:Tahoma,Arial,sans-serif;}.taghint{margin:15px 12px -24px 0;}#poststuff .tagsdiv .howto{margin:0 8px 6px 0;}.ac_results li{text-align:right;}#wpbody-content .describe th{text-align:right;}.describe .media-item-info .A1B1{padding:0 10px 0 0;}.media-upload-form td label{margin-left:6px;margin-right:2px;}.media-upload-form .align .field label{padding:0 22px 0 0;margin:0 0 0 1em;}.media-upload-form tr.image-size label{margin:0 3px 0 0;}#wpbody-content .describe p.help{padding:0 5px 0 0;}.media-item .error-div a.dismiss,.describe-toggle-on,.describe-toggle-off{float:left;margin-right:0;margin-left:20px;}.media-item .error-div{padding-left:0;padding-right:10px;}.media-item .pinkynail{float:right;}.crunching{text-align:left;margin-right:0;margin-left:5px;}.bar{border-right-width:0;border-left-width:3px;border-right-style:none;border-left-style:solid;}#find-posts-response .found-radio{padding:5px 8px 0 0;}.find-box-search label{padding-right:0;padding-left:6px;}.find-box #resize-se{right:auto;left:1px;}form.upgrade .hint{font-style:normal;}.imgedit-menu div{float:right;}.imgedit-help{font-style:normal;}.imgedit-submit-btn{margin-left:0;margin-right:20px;}.form-table th{text-align:right;}.form-table input.tog{margin-right:0;margin-left:2px;float:right;}.form-table table.color-palette{float:right;}#replysubmit img.waiting,.inline-edit-save img.waiting{float:left;}#replysubmit .button{margin-right:0;margin-left:5px;}#edithead .inside{float:right;padding:3px 5px 2px 0;}.comment-ays th{border-right-style:none;border-left-style:solid;border-right-width:0;border-left-width:1px;}.spam-undo-inside .avatar,.trash-undo-inside .avatar{margin-left:8px;}#comment-status-radio input{margin:2px 0 5px 3px;}td.available-theme{text-align:right;}#current-theme img{float:right;margin-right:0;margin-left:1em;}#broken-themes{text-align:right;}.appearance_page_custom-header .available-headers .default-header{float:right;margin:0 0 20px 20px;}.appearance_page_custom-header .random-header{margin:0 0 20px 20px;}.appearance_page_custom-header .available-headers label input,.appearance_page_custom-header .random-header label input{margin-right:0;margin-left:10px;}.nav-tab{margin:0 0 -1px 6px;}h2 .nav-tab{font-family:Tahoma,Arial,sans-serif;}.plugins .desc ul,.plugins .desc ol{margin:0 2em 0 0;}#wpbody-content .plugins .plugin-title,#wpbody-content .plugins .theme-title{padding-right:0;padding-left:12px;}#profile-page .form-table #rich_editing{margin-right:0;margin-left:5px;}#your-profile legend{font-family:Tahoma,Arial,sans-serif;}#utc-time,#local-time{padding-left:0;padding-right:25px;font-style:normal;font-family:Tahoma,Arial,sans-serif;}#footer{margin-right:0;margin-left:15px;}#template div{margin-right:0;margin-left:190px;}.column-author img,.column-username img{float:right;margin-right:0;margin-left:10px;}.tagchecklist{margin-left:0;margin-right:14px;}.tagchecklist strong{margin-left:0;margin-right:-8px;}.tagchecklist span{margin-right:0;margin-left:25px;float:right;}.tagchecklist span a{margin:6px -9px 0 0;float:right;}#poststuff h2{clear:right;}#poststuff h3,.metabox-holder h3{font-family:Tahoma,Arial,sans-serif;}.tool-box .title{font-family:Tahoma,Arial,sans-serif;}#sidemenu{margin:-30px 315px 0 15px;float:left;padding-left:0;padding-right:10px;}#sidemenu a{float:right;}table .vers,table .column-visible,table .column-rating{text-align:right;}* html #template div{margin-left:0;}.list-ajax-loading{float:left;margin-right:0;margin-left:9px;}#editorcontainer .wp_themeSkin .mceStatusbar{padding-left:0;padding-right:5px;}#editorcontainer .wp_themeSkin .mceStatusbar div{float:right;}#editorcontainer .wp_themeSkin .mceStatusbar a.mceResize{float:left;} \ No newline at end of file diff --git a/src/wp-admin/css/wp-admin-rtl.dev.css b/src/wp-admin/css/wp-admin-rtl.dev.css index 463be70..a2c4661 100644 --- a/src/wp-admin/css/wp-admin-rtl.dev.css +++ b/src/wp-admin/css/wp-admin-rtl.dev.css @@ -1,272 +1,584 @@ -/* 0 - 200 -=================================== */ -td.available-theme { - text-align: right; +/*------------------------------------------------------------------------------ + + +Hello, this is the RTL version of the main WordPress admin CSS file. +All the important stuff is in here. + + +TABLE OF CONTENTS: +------------------ + 1.0 - Text Elements + 2.0 - Forms + 3.0 - Actions + 4.0 - Notifications + 5.0 - TinyMCE + 6.0 - Admin Header + 6.1 - Favorites Menu + 6.2 - Screen Options Tabs + 7.0 - Main Navigation + 8.0 - Layout Blocks + 9.0 - Dashboard +10.0 - List Posts + 10.1 - Inline Editing +11.0 - Write/Edit Post Screen + 11.1 - Custom Fields + 11.2 - Post Revisions +12.0 - Categories +13.0 - Tags +14.0 - Media Screen + 14.1 - Media Uploader + 14.2 - Image Editor +15.0 - Comments Screen +16.0 - Themes + 16.1 - Custom Header + 16.2 - Custom Background + 16.3 - Tabbed Admin Screen Interface +17.0 - Plugins +18.0 - Users +19.0 - Tools +20.0 - Settings +21.0 - Admin Footer +22.0 - Misc +23.0 - Dead +24.0 - TinyMCE tweaks + + +------------------------------------------------------------------------------*/ + + + + +/*------------------------------------------------------------------------------ + 1.0 - Text Styles +------------------------------------------------------------------------------*/ + +ol { + margin-left: 0; + margin-right: 2em; } -#current-theme img { - float: right; - margin-right: 0; - margin-left: 1em; -} -.quicktags, .search { + +.code, code { font-family: Tahoma, Arial, sans-serif; } -/* 200 - 500 -=================================== */ + + +.quicktags, .search { + font: 12px Tahoma, Arial, sans-serif; +} + +.icon32 { + float: right; + margin: 7px 0 0 8px; +} + +.howto { + font-style: normal; + font-family: Tahoma, Arial, sans-serif; +} + +p.install-help { + font-style: normal; +} + + +/*------------------------------------------------------------------------------ + 2.0 - Forms +------------------------------------------------------------------------------*/ + #doaction, #doaction2, #post-query-submit { margin-right: 0; margin-left: 8px; } -#save-post { - float: right; + +#timezone_string option { + margin-left: 0; + margin-right: 1em; } -#minor-publishing .ajax-loading { - padding: 3px 4px 0 0; + +#pass-strength-result { float: right; + margin: 13px 1px 5px 5px; } -.preview { + +p.search-box { float: left; } -#sticky-span { - margin-left: 0; - margin-right: 18px; -} -#post-body .misc-pub-section { - border-right-width: 0; - border-left-width: 1px; - border-right-style: none; - border-left-style: solid; - float: right; -} -#post-body .misc-pub-section-last { - border-left: 0; -} + + +/*------------------------------------------------------------------------------ + 3.0 - Actions +------------------------------------------------------------------------------*/ + #delete-action { text-align: right; float: right; } + #publishing-action { text-align: left; float: left; } + +#post-body .misc-pub-section { + border-right:0; + border-left-width: 1px; + border-left-style: solid; + float: right; +} + +#post-body .misc-pub-section-last { + border-left: 0; +} + +#minor-publishing-actions { + padding: 10px 8px 2px 10px; + text-align: left; +} + +#save-post { + float: right; +} + +#minor-publishing .ajax-loading { + padding: 3px 4px 0 0; + float: right; +} + +.preview { + float: left; +} + +#sticky-span { + margin-left: 0; + margin-right: 18px; +} + .side-info ul { padding-left: 0; padding-right: 18px; } -.submit input, -.button, -.button-primary, -.button-secondary, -.button-highlighted, -#postcustomstuff .submit input { - font-family: Tahoma, Arial, sans-serif; -} -#wpcontent select { - font-family: Tahoma, Arial, sans-serif; -} -#quicktags { - background-position: right top; -} -/* 500 - 700 -=================================== */ -#template div { - margin-right: 0; - margin-left: 190px; -} -* html #template div { - margin-left: 0; + +td.action-links, +th.action-links { + text-align: left; } -.list-ajax-loading { - float: left; - margin-right: 0; - margin-left: 9px; +.describe .del-link { + padding-left: 0; + padding-right: 5px; } -#your-profile legend { - font-family: Tahoma, Arial, sans-serif; + +/*------------------------------------------------------------------------------ + 4.0 - Notifications +------------------------------------------------------------------------------*/ + +.plugin-update .update-message { + margin: 0 31px 8px 10px; } + +form.upgrade .hint { + font-style: normal; +} + #ajax-response.alignleft { margin-left: 0; margin-right: 2em; } -.page-numbers { - margin-right: 0; - margin-left: 1px; + + +/*------------------------------------------------------------------------------ + 5.0 - TinyMCE +------------------------------------------------------------------------------*/ + +#quicktags { + background-position: right top; } -.column-author img, .column-username img { - float: right; - margin-right: 0; - margin-left: 10px; + +#ed_reply_toolbar input { + margin: 1px 1px 1px 2px; } -.tablenav a.button-secondary { - margin-right: 0; - margin-left: 8px; + +/* Distraction Free Writing mode + * =Overlay Styles +-------------------------------------------------------------- */ + +/* No RTL for now, this space intentionally left blank */ + +/* =Overlay Body +-------------------------------------------------------------- */ +#wp-fullscreen-body { + right: 0; + left:auto; } -.tablenav .actions { - padding-right: 0; - padding-left: 8px; -} -.tablenav .tablenav-pages { + +#wp-fullscreen-tagline { float: left; } -.tablenav .displaying-num { - margin-right: 0; - margin-left: 10px; - font-family: Tahoma, Arial, sans-serif; - font-style: normal; + +/* =Top bar +-------------------------------------------------------------- */ +#fullscreen-topbar { + left:auto; + right: 0; } -#postcustomstuff table input, -#postcustomstuff table select, -#postcustomstuff table textarea { - margin: 8px 8px 8px 0; -} -/* 700 - 1000 -=================================== */ -#pass-strength-result { + +#wp-fullscreen-mode-bar, +#wp-fullscreen-button-bar, +#wp-fullscreen-close, +#wp-fullscreen-count { float: right; - margin: 12px 1px 5px 5px; } -/* Admin Header */ + +#wp-fullscreen-save { + float: left; +} + +#wp-fullscreen-save { + padding: 2px 5px 0 2px; +} + +#wp-fullscreen-buttons > div { + float: right; +} + +#wp-fullscreen-mode-bar { + padding: 1px 0 0 14px; +} + +#wp-fullscreen-modes a { + float: right; + border-width: 1px 0 1px 1px; +} + +#wp-fullscreen-modes a:first-child { + border-width: 1px; + -moz-border-radius: 3px 3px 0 0; + -webkit-border-top-left-radius: 0; + -webkit-border-top-right-radius: 3px; + -webkit-border-bottom-left-radius: 0; + -webkit-border-bottom-right-radius: 3px; + -khtml-border-top-left-radius: 0; + -khtml-border-top-right-radius: 3px; + -khtml-border-bottom-left-radius: 0; + -khtml-border-bottom-right-radius: 3px; + border-top-left-radius: 0; + border-top-right-radius: 3px; + border-bottom-right-left: 0; + border-bottom-right-radius: 3px; +} + +#wp-fullscreen-modes a:last-child { + -moz-border-radius: 0 0 3px 3px; + -webkit-border-top-right-radius: 0; + -webkit-border-top-left-radius: 3px; + -webkit-border-bottom-right-radius: 0; + -webkit-border-bottom-left-radius: 3px; + -khtml-border-top-right-radius: 0; + -khtml-border-top-left-radius: 3px; + -khtml-border-bottom-right-radius: 0; + -khtml-border-bottom-left-radius: 3px; + border-top-right-radius: 0; + border-top-left-radius: 3px; + border-bottom-right-radius: 0; + border-bottom-left-radius: 3px; +} + +#wp-fullscreen-save img, +#wp-fullscreen-save span { + padding-right: 0; + padding-left: 4px; +} + +/* =Thickbox Adjustments +-------------------------------------------------------------- */ +/* No RTL for now, this space intentionally left blank */ + + +/* =TinyMCE Adjustments +-------------------------------------------------------------- */ +/* No RTL for now, this space intentionally left blank */ + + + +/*------------------------------------------------------------------------------ + 6.0 - Admin Header +------------------------------------------------------------------------------*/ +#wphead-info { + margin: 0 15px 0 0; +} + #user_info { float: left; + padding: 0 6px 0 2px; } + +#user_info.active { + margin-right: 0; + margin-left: -1px; +} + +#user_info .hide-if-no-js p { + margin: 0 0 0 20px; +} + +#user_info_arrow { + right: auto; + left: 3px; +} + +#user_info_links_wrap { + right: auto; + left: 0; +} + +#wphead { + height: 32px; + margin-left: 15px; + margin-right: 2px; +} + #header-logo { float: right; - margin: 7px 15px 0 0; } + #wphead h1 { - font-family: Tahoma, Arial, sans-serif; + font: Tahoma, Arial, sans-serif; float: right; } -#wphead h1.long-title { + +/*------------------------------------------------------------------------------ + 6.1 - Favorites Menu +------------------------------------------------------------------------------*/ + +#favorite-actions { + margin: 0 15px 0 12px; +} + +#favorite-first a { + padding: 2px 12px 2px 0; +} + +#favorite-inside a { + padding: 3px 10px 3px 5px; +} + +#favorite-toggle { + right: auto; + left: 0; +} + + +/*------------------------------------------------------------------------------ + 6.2 - Screen Options Tabs +------------------------------------------------------------------------------*/ + +#screen-meta-links { + margin: 0 0 0 19px; +} + +#screen-meta .screen-reader-text { + visibility: hidden; +} + +#screen-options-link-wrap, +#contextual-help-link-wrap { + float: left; + margin: 0 6px 0 0; font-family: Tahoma, Arial, sans-serif; } + +#contextual-help-wrap li { + list-style-type: disc; + margin-left: auto; + margin-right: 18px; +} +.toggle-arrow { + background-position: top right; +} +.toggle-arrow-active { + background-position: bottom right; +} +#screen-meta a.show-settings { + padding: 0 6px 0 16px; +} + +#screen-options-wrap, +#contextual-help-wrap { + margin: 0 0 0 15px; +} + +.metabox-prefs label { + padding-right: auto; + padding-left: 15px; +} + +.metabox-prefs label input { + margin: 0 2px 0 5px; +} + +/*------------------------------------------------------------------------------ + 7.0 - Main Navigation (Right Menu) (RTL: Left Menu) +------------------------------------------------------------------------------*/ + +#adminmenushadow { + right: auto; + left: 0; +} + +#adminmenu div.wp-menu-image { + float: right; +} + #adminmenu .wp-submenu a { padding-left: 0; padding-right: 12px; - border-width: 0 0 0 1px; - border-style: none none none solid; - font-family: Tahoma, Arial, sans-serif; } -#adminmenu a.menu-top, -#adminmenu .wp-submenu-head { - font-family: Tahoma, Arial, sans-serif; + +#adminmenu li.wp-has-current-submenu .wp-menu-arrow, +#adminmenu li.menu-top.current .wp-menu-arrow { + right: auto; + left: -9px; } -#adminmenu img.wp-menu-image { +#adminmenu .wp-menu-arrow div { + background: url(../images/menu-arrow-frame-rtl.png) top left no-repeat; +} + +#adminmenu .wp-menu-image img { float: right; } -.folded #adminmenu img.wp-menu-image { - padding: 7px 6px 0 0; -} -#adminmenu a.separator { - cursor: e-resize; -} -.folded #adminmenu a.separator { - cursor: w-resize; -} -#adminmenu .wp-submenu .wp-submenu-head { - padding: 6px 10px 6px 4px; -} + .folded #adminmenu .wp-submenu { - margin: -1px 28px 0 0; + display: block; + left: auto; + right: 26px; } + +.folded #adminmenu .wp-submenu.sub-open { + padding: 0 0 8px 8px; +} + +#adminmenu .wp-submenu .wp-submenu-head { + padding: 6px 10px 5px 4px; +} + +.folded #adminmenu .wp-submenu-wrap { + -webkit-border-bottom-right-radius: 0; + -webkit-border-bottom-left-radius: 3px; + -webkit-border-top-right-radius: 0; + -webkit-border-top-left-radius: 3px; + -khtml-border-bottom-right-radius: 0; + -khtml-border-bottom-left-radius: 3px; + -khtml-border-top-left-radius: 0; + -khtml-border-top-left-radius: 3px; + -moz-border-radius-bottomright: 0; + -moz-border-radius-bottomleft: 3px; + -moz-border-radius-topright: 0; + -moz-border-radius-topleft: 3px; + border-bottom-right-radius: 0; + border-bottom-left-radius: 3px; + border-top-right-radius: 0; + border-top-left-radius: 3px; + border-width: 0 0 1px 1px; +} + +.folded #adminmenu .wp-submenu ul { + border-width: 0 1px 0 0; +} + .folded #adminmenu .wp-submenu a { padding-left: 0; padding-right: 10px; } + .folded #adminmenu a.wp-has-submenu { margin-left: 0; margin-right: 40px; } + #adminmenu .wp-menu-toggle { + clear: left; float: left; padding: 1px 0 0 2px; - clear: left; } -#adminmenu div.wp-menu-image { - float: right; + +#adminmenu .wp-menu-image img { + padding: 6px 1px 0 0; } -#wphead-info { - margin: 0 15px 0 0; - padding-right:0; - padding-left: 15px; -} -/* end side admin menu */ -/* 1000 - 1300 -=================================== */ -#adminmenu #awaiting-mod, + +#adminmenu .awaiting-mod, #adminmenu span.update-plugins, #sidemenu li a span.update-plugins { font-family: Tahoma, Arial, sans-serif; margin-left: 0; margin-right: 7px; } + .post-com-count-wrapper { font-family: Tahoma, Arial, sans-serif; } + .column-response .post-com-count { float: right; margin-right: 0; margin-left: 5px; } -/* Tables used on comment.php and option/setting pages */ -.form-table th { - text-align: right; -} -.form-table input.tog { - margin-right: 0; - margin-left: 2px; + +.response-links { float: right; } -.form-table table.color-palette { + +#collapse-button { float: right; } -#profile-page .form-table #rich_editing { - margin-right: 0; - margin-left: 5px; + +/*------------------------------------------------------------------------------ + 8.0 - Layout Blocks +------------------------------------------------------------------------------*/ + +.widefat th { + font-family: Tahoma, Arial, sans-serif; } -/* Post Screen */ -/* 1300 - 1500 -=================================== */ -#normal-sortables .postbox .submit { + +.widefat td p { + margin: 2px 0 0.8em; +} + +.postbox-container { + float: right; + padding-right: 0; + padding-left: 0.5%; +} + +.postbox .handlediv { float: left; } -#post-body .tagsdiv #newtag { + +/*------------------------------------------------------------------------------ + 9.0 - Dashboard +------------------------------------------------------------------------------*/ + +#the-comment-list p.comment-author img { + float: right; margin-right: 0; - margin-left: 5px; + margin-left: 8px; } -#post-status-info { - padding: 0 7px 0 15px; -} -#comment-status-radio input { - margin: 2px 0 5px 3px; -} -.tagchecklist { - margin-left: 0; - margin-right: 10px; -} -.tagchecklist strong { - margin-left: 0; - margin-right: -8px; -} -.tagchecklist span { - float: right; -} -.tagchecklist span a { - margin: 6px -9px 0 0; - float: right; -} -.ac_results li { + +/*------------------------------------------------------------------------------ + 10.0 - List Posts (/Pages/etc) +------------------------------------------------------------------------------*/ + +.fixed .column-comments { text-align: right; } -#poststuff h2 { - clear: right; +.fixed .column-comments .vers { + padding-left: 0; + padding-right: 3px; } -.description, .form-wrap p { - font-family: Tahoma, Arial, sans-serif; +.fixed .column-comments a { + float: right; } .sorting-indicator { margin-left: 0; @@ -276,45 +588,178 @@ th.sortable a span, th.sorted a span { float: right; } -.fixed .column-comments a { + +/* Bulk Actions */ + +.tablenav-pages a { + margin-right: 0; + margin-left: 1px; +} +.tablenav-pages .next-page { + margin-left: 0; + margin-right: 2px; +} + +.tablenav a.button-secondary { + margin: 3px 0 0 8px; +} + +.tablenav .tablenav-pages { + float: left; +} + +.tablenav .displaying-num { + margin-right: 0; + margin-left: 10px; + font-family: Tahoma, Arial, sans-serif; + font-style: bold; +} + +.tablenav .actions { + padding: 2px 0 0 8px; +} + +.tablenav .delete { + margin-right: 0; + margin-left: 20px; +} + +.view-switch { + float: left; +} + +.filter { + float: right; + margin: -5px 10px 0 0; +} + +.filter .subsubsub { + margin-left: 0; + margin-right: -10px; +} + +#posts-filter fieldset { + float: right; + margin: 0 0 1em 1.5ex; +} + +#posts-filter fieldset legend { + padding: 0 1px .2em 0; +} + +/*------------------------------------------------------------------------------ + 10.1 - Inline Editing +------------------------------------------------------------------------------*/ + +#wpbody-content .inline-edit-row fieldset { float: right; } -/* 1500 - 1800 -=================================== */ -.autosave-info { - padding: 2px 2px 2px 15px; - text-align: left; +#wpbody-content .quick-edit-row-page fieldset.inline-edit-col-right .inline-edit-col { + border-width: 0 1px 0 0; } -.meta-box-sortables .postbox .handlediv { + +#wpbody-content .bulk-edit-row .inline-edit-col-bottom { float: left; } -.howto { + +.inline-edit-row fieldset label span.title { + float: right; +} + +.inline-edit-row fieldset label span.input-text-wrap { + margin-left: 0; + margin-right: 5em; +} + +.quick-edit-row-post fieldset.inline-edit-col-right label span.title { + padding-right: 0; + padding-left: 0.5em; +} + +#wpbody-content .quick-edit-row fieldset .inline-edit-group label.alignleft:first-child { + margin-right: 0; + margin-left: 0.5em +} + +/* Styling */ + +.inline-edit-row fieldset span.title, +.inline-edit-row fieldset span.checkbox-title { + font-family: Tahoma, Arial, sans-serif; + font-style: normal; +} + +.inline-edit-row fieldset .inline-edit-date { + float: right; +} + +.inline-edit-row fieldset ul.cat-checklist label, +.inline-edit-row .catshow, +.inline-edit-row .cathide, +.inline-edit-row #bulk-titles div { font-family: Tahoma, Arial, sans-serif; } + +.quick-edit-row-post fieldset label.inline-edit-status { + float: right; +} + +#bulk-titles div a { + float: right; + margin: 3px -2px 0 3px; + overflow: hidden; + text-indent: -9999px; +} + + +/*------------------------------------------------------------------------------ + 11.0 - Write/Edit Post Screen +------------------------------------------------------------------------------*/ + +#titlediv #title-prompt-text, +#wp-fullscreen-title-prompt-text { + right:0; +} + +#sample-permalink { + direction:ltr; +} + +#sample-permalink #editable-post-name { + unicode-bidi:embed; +} +#wp-fullscreen-title-prompt-text { + left: auto; + right: 0; +} + .postarea h3 label { float: right; } + .postarea #add-media-button { float: left; right: auto; left: 10px; } -.wp_themeSkin tr.mceFirst td.mceToolbar { - background-position: right top; -} -#poststuff #edButtonPreview, -#poststuff #edButtonHTML { + + +#edButtonPreview, +#edButtonHTML { margin: 5px 0 0 5px; float: left; } + #poststuff #edButtonHTML { margin-right: 0; margin-left: 15px; } + #media-buttons a { padding: 0 10px 5px 0; } + .submitbox .submit { text-align: right; } @@ -322,292 +767,205 @@ th.sorted a span { .inside-submitbox #post_status { margin: 2px -2px 2px 0; } + .submitbox .submit input { margin-right: 0; margin-left: 4px; } -/* Categories */ -.category-adder { - margin-left: 0; - margin-right: 120px; + +#normal-sortables .postbox .submit { + float: left; } + + +#post-body ul.category-tabs, +#post-body ul.add-menu-item-tabs { + float: right; + text-align: left; + /* Negative margin for the sake of those without JS: all tabs display */ + margin: 0 5px 0 -120px; +} + + #post-body ul.category-tabs li.tabs, #post-body ul.add-menu-item-tabs li.tabs { - -moz-border-radius: 0 3px 3px 0; + -moz-border-radius: 3px 3px 0 0; -webkit-border-top-left-radius: 0; -webkit-border-top-right-radius: 3px; -webkit-border-bottom-left-radius: 0; -webkit-border-bottom-right-radius: 3px; + -khtml-border-top-left-radius: 0; + -khtml-border-top-right-radius: 3px; + -khtml-border-bottom-left-radius: 0; + -khtml-border-bottom-right-radius: 3px; border-top-left-radius: 0; border-top-right-radius: 3px; border-bottom-left-radius: 0; border-bottom-right-radius: 3px; } -#post-body ul.category-tabs, -#post-body ul.add-menu-item-tabs { - float: right; - text-align: left; - margin: 0 0 0 -120px; -} + #post-body .categorydiv div.tabs-panel, -#post-body .taxonomy div.tabs-panel, +.taxonomy div.tabs-panel, #post-body #linkcategorydiv div.tabs-panel { - margin: 0 120px 0 5px; + margin: 0 125px 0 5px; } -/* 1800 - 2000 -=================================== */ -#front-page-warning, -#front-static-pages ul, -.inline-editor ul.cat-checklist ul, -.categorydiv ul.categorychecklist ul, -.customlinkdiv ul.categorychecklist ul, -.posttypediv ul.categorychecklist ul, -.taxonomydiv ul.categorychecklist ul, -#linkcategorydiv ul.categorychecklist ul{ - margin-left: 0; - margin-right: 18px; + +#side-sortables .comments-box thead th, +#normal-sortables .comments-box thead th { + font-style: normal; } + +#commentsdiv img.waiting { + padding-left: 0; + padding-right: 5px; +} + +#post-body .category-tabs li.tabs, +#post-body .add-menu-item-tabs li.tabs { + border-width: 1px 1px 1px 0; + margin-right: 0; + margin-left: -1px; +} + /* positioning etc. */ -p.search-box { - float: left; -} + #posts-filter fieldset { float: right; margin: 0 0 1em 1.5ex; } + #posts-filter fieldset legend { padding: 0 1px .2em 0; } -.view-switch { - float: left; -} -.filter { - float: right; - margin: -5px 10px 0 0; -} -#the-comment-list td.comment p.comment-author { + +/* Global classes */ + +#post-body .tagsdiv #newtag { margin-right: 0; + margin-left: 5px; } -#the-comment-list p.comment-author img { - float: right; - margin-right: 0; - margin-left: 8px; -} -.tablenav .delete { - margin-right: 0; - margin-left: 20px; -} -td.action-links, th.action-links { + +.autosave-info { + padding: 2px 2px 2px 15px; text-align: left; } -/* 2000 - 2300 -=================================== */ -.filter .subsubsub { - margin-left: 0; - margin-right: -10px; -} -#wp-word-count { - margin-right: 10px; -} -.tool-box .title { - font-family: Tahoma, Arial, sans-serif; -} -.settings-toggle { - text-align: left; - margin: 5px 0 15px 7px; + +#post-body .wp_themeSkin .mceStatusbar a.mceResize { + background: transparent url(../images/resize-rtl.gif) no-repeat scroll left bottom; + cursor: sw-resize; } + .curtime #timestamp { background-position: right top; padding-left: 0; padding-right: 18px; } -/* media popup 0819 */ -#sidemenu { - margin: -30px 315px 0 15px; - float: left; - padding-left: 0; - padding-right: 10px; + +/*------------------------------------------------------------------------------ + 11.1 - Custom Fields +------------------------------------------------------------------------------*/ + +#postcustomstuff table input, +#postcustomstuff table select, +#postcustomstuff table textarea { + margin: 8px 8px 8px 0; } -#sidemenu a { + +/*------------------------------------------------------------------------------ + 11.2 - Post Revisions +------------------------------------------------------------------------------*/ + +table.diff td, table.diff th { + font-family: Consolas, Monaco, monospace; +} + +/*------------------------------------------------------------------------------ + 12.0 - Categories +------------------------------------------------------------------------------*/ + +.category-adder { + margin-left: 0; + margin-right: 120px; +} + + +#post-body ul.category-tabs, +#post-body ul.add-menu-item-tabs { float: right; + text-align: left; + /* Negative margin for the sake of those without JS: all tabs display */ + margin: 0 5px 0 -120px; } -#replysubmit .button { - margin-right: 0; - margin-left: 5px; + +#post-body ul.category-tabs li.tabs, +#post-body ul.add-menu-item-tabs li.tabs { + -moz-border-radius: 3px 3px 0 0; + -webkit-border-top-left-radius: 0; + -webkit-border-top-right-radius: 3px; + -webkit-border-bottom-left-radius: 0; + -webkit-border-bottom-right-radius: 3px; + -khtml-border-top-left-radius: 0; + -khtml-border-top-right-radius: 3px; + -khtml-border-bottom-left-radius: 0; + -khtml-border-bottom-right-radius: 3px; + border-top-left-radius: 0; + border-top-right-radius: 3px; + border-bottom-left-radius: 0; + border-bottom-right-radius: 3px; } -/* 2300 - 2500 -=================================== */ -#edithead .inside { - float: right; - margin: 3px 5px 2px 0; -} -#replyrow #ed_reply_toolbar input { - margin: 1px 1px 1px 2px; -} -/* show/hide settings */ -#screen-meta-links { - margin: 0 0 0 18px; -} -#screen-options-link-wrap, -#contextual-help-link-wrap { - float: left; - font-family: Tahoma, Arial, sans-serif; - margin: 0 0 0 6px; -} -#contextual-help-wrap li { + +#front-page-warning, +#front-static-pages ul, +ul.export-filters, +.inline-editor ul.cat-checklist ul, +.categorydiv ul.categorychecklist ul, +.customlinkdiv ul.categorychecklist ul, +.posttypediv ul.categorychecklist ul, +.taxonomydiv ul.categorychecklist ul, +#linkcategorydiv ul.categorychecklist ul { margin-left: 0; margin-right: 18px; } -#screen-meta a.show-settings { - padding: 0 6px 0 16px; - background-position: left top; -} -.metabox-prefs label { - padding-right: 0; - padding-left: 15px; -} -.metabox-prefs label input { - margin: 0 2px 0 5px; -} -.inline-editor .save, -.inline-editor .cancel { + +#post-body .category-tabs li.tabs, +#post-body .add-menu-item-tabs li.tabs { + border-style: solid solid solid none; + border-width: 1px 1px 1px 0; margin-right: 0; - margin-left: 5px; + margin-left: -1px; } -#replysubmit img.waiting, -.inline-edit-save img.waiting { - float: left; -} -.trash-undo-inside, -.spam-undo-inside, -.spam-undo-inside .avatar, -.trash-undo-inside .avatar { - margin-right: 0; - margin-left: 8px; -} -/* 2500 - 2700 -=================================== */ -#bulk-titles div a { - float: right; - margin: 3px -2px 0 3px; -} -#wpbody-content .filename { - margin-left: 0; - margin-right: 10px; -} -#wpbody-content .inline-edit-row fieldset { - float: right; -} -#wpbody-content .quick-edit-row-page fieldset.inline-edit-col-right .inline-edit-col { - border-left: 0 none; - border-right: 1px solid; -} -#wpbody-content .bulk-edit-row .inline-edit-col-bottom { - float: left; -} -.inline-edit-row fieldset label span.title { - float: right; -} -.inline-edit-row fieldset label span.input-text-wrap { - margin-left: 0; - margin-right: 5em; -} -.quick-edit-row-post fieldset.inline-edit-col-right label span.title { - padding-right: 0; - padding-left: 0.5em; -} -#wpbody-content .quick-edit-row fieldset .inline-edit-group label.alignleft:first-child { - margin-right: 0; - margin-left: 0.5em; -} -/* 2700 - 3000 -=================================== */ -.inline-edit-row fieldset span.title, -.inline-edit-row fieldset span.checkbox-title { + +p.help, +p.description, +span.description, +.form-wrap p { + font-style: normal; font-family: Tahoma, Arial, sans-serif; } -.inline-edit-row fieldset .inline-edit-date { - float: right; -} -.inline-edit-row fieldset ul.cat-checklist label, -.inline-edit-row .catshow, -.inline-edit-row .cathide, -.inline-edit-row #bulk-titles div { - font-family: Tahoma, Arial, sans-serif; -} -.quick-edit-row-post fieldset label.inline-edit-status { - float: right; -} -.describe-toggle-on, .describe-toggle-off { - float: left; - margin-right: 0; - margin-left: 20px; -} -#wpbody-content #media-items .filename { - float: right; - margin-left: 0; - margin-right: 10px; -} -.media-item .pinkynail { - float: right; -} -#find-posts-response .found-radio { - padding: 8px 8px 0 0; -} -.find-box-buttons { - left: auto; - right: 12px; -} -.find-box-search label { - padding-right: 0; - padding-left: 6px; -} -/* favorite-actions */ -#favorite-actions { - float: left; -} -#favorite-first { - padding: 3px 12px 4px 30px; -} -#favorite-inside { -} -#favorite-inside a { - padding: 3px 10px 3px 5px; -} -#favorite-toggle { - right: auto; - left: 0; - background:transparent url(../images/fav-arrow-rtl.gif?ver=20100531) no-repeat 10px -4px; -} -#utc-time, #local-time { - padding-left: 0; - padding-right: 25px; - font-family: Tahoma, Arial; -} -.icon32 { - float: right; - margin: 14px 0 0 6px; -} -.subtitle { - padding-left: 0; - padding-right: 25px; + +/*------------------------------------------------------------------------------ + 13.0 - Tags +------------------------------------------------------------------------------*/ + +.taghint { + margin: 15px 12px -24px 0; } -ol { - list-style-type:decimal; - margin-left:0; - margin-right:2em; +#poststuff .tagsdiv .howto { + margin: 0 8px 6px 0; } -.postbox-container { - float: right; - padding-left: 0.5%; - padding-right: 0; +.ac_results li { + text-align: right; } -/* Media library */ +/*------------------------------------------------------------------------------ + 14.0 - Media Screen +------------------------------------------------------------------------------*/ + #wpbody-content .describe th { text-align: right; + } .describe .media-item-info .A1B1 { @@ -625,11 +983,11 @@ ol { } .media-upload-form tr.image-size label { - margin: 0 3px 0 0 ; + margin: 0 3px 0 0; } #wpbody-content .describe p.help { - padding: 0 5px 0 0 ; + padding: 0 5px 0 0; } .media-item .error-div a.dismiss, @@ -640,13 +998,6 @@ ol { margin-left: 20px; } -.describe-toggle-on, -.describe-toggle-off { - float: left; - margin-left: 20px; - margin-right: 0; -} - .media-item .error-div { padding-left: 0; padding-right: 10px; @@ -658,71 +1009,328 @@ ol { .crunching { text-align: left; - margin-left: 5px; margin-right: 0; + margin-left: 5px; } .bar { + border-right-width: 0; border-left-width: 3px; + border-right-style: none; border-left-style: solid; - border-right: none; +} + +/*------------------------------------------------------------------------------ + 14.1 - Media Uploader +------------------------------------------------------------------------------*/ + +#find-posts-response .found-radio { + padding: 5px 8px 0 0; } -/* TinyMCE -=================================== */ -.clearlooks2 .mceTop .mceLeft { - width:100% !important; +.find-box-search label { + padding-right: 0; + padding-left: 6px; } -/* tag hints */ -.taghint { - margin: 15px 12px -24px 0; +.find-box #resize-se { + right: auto; + left: 1px; } -#poststuff .tagsdiv .howto { - margin: 0 8px 6px 0; + +form.upgrade .hint { + font-style: normal; +} + + +/*------------------------------------------------------------------------------ + 14.2 - Image Editor +------------------------------------------------------------------------------*/ + +.imgedit-menu div { + float: right; +} + +.imgedit-help { + font-style: normal; +} + +.imgedit-submit-btn { + margin-left: 0; + margin-right: 20px; +} + + +/*------------------------------------------------------------------------------ + 15.0 - Comments Screen +------------------------------------------------------------------------------*/ + +.form-table th { + text-align: right; +} + +.form-table input.tog { + margin-right: 0; + margin-left: 2px; + float: right; +} + +.form-table table.color-palette { + float: right; +} + +/* reply to comments */ + +#replysubmit img.waiting, +.inline-edit-save img.waiting { + float: left; +} + +#replysubmit .button { + margin-right: 0; + margin-left: 5px; +} + +#edithead .inside { + float: right; + padding: 3px 5px 2px 0; +} + +.comment-ays th { + border-right-style: none; + border-left-style: solid; + border-right-width: 0; + border-left-width: 1px; +} + +.spam-undo-inside .avatar, +.trash-undo-inside .avatar { + margin-left: 8px; +} + +#comment-status-radio input { + margin: 2px 0 5px 3px; +} + + + +/*------------------------------------------------------------------------------ + 16.0 - Themes +------------------------------------------------------------------------------*/ + +td.available-theme { + text-align: right; +} + +#current-theme img { + float: right; + margin-right: 0; + margin-left: 1em; } #broken-themes { text-align: right; } -.describe .del-link { - padding-right: 5px; - padding-left: 0; -} +/*------------------------------------------------------------------------------ + 16.1 - Custom Header Screen +------------------------------------------------------------------------------*/ -.comment-ays th { - border-left-style: solid; - border-left-width: 1px; -} - -/* Custom Header */ -.appearance_page_custom-header #available-headers .default-header { +.appearance_page_custom-header .available-headers .default-header { float: right; margin: 0 0 20px 20px; } -.appearance_page_custom-header #available-headers label input { + +.appearance_page_custom-header .random-header { + margin: 0 0 20px 20px; +} + +.appearance_page_custom-header .available-headers label input, +.appearance_page_custom-header .random-header label input { margin-right: 0; margin-left: 10px; } -#custom-background label { +/*------------------------------------------------------------------------------ + 16.2 - Custom Background Screen +------------------------------------------------------------------------------*/ + +/* No RTL for now, this space intentionally left blank */ + + +/*------------------------------------------------------------------------------ + 16.3 - Tabbed Admin Screen Interface (Experimental) +------------------------------------------------------------------------------*/ + +.nav-tab { + margin: 0 0 -1px 6px; +} + +h2 .nav-tab { + font-family: Tahoma, Arial, sans-serif; +} + + +/*------------------------------------------------------------------------------ + 17.0 - Plugins +------------------------------------------------------------------------------*/ + +.plugins .desc ul, +.plugins .desc ol { + margin: 0 2em 0 0; +} + +#wpbody-content .plugins .plugin-title, #wpbody-content .plugins .theme-title { padding-right: 0; - padding-left: 15px; + padding-left: 12px; } -/* ltr -=================================== */ -#author-email, #author-url, #rss-url-1, #edit-slug-box, #post_name, #trackback_url, #metakeyinput, #post_password, #slug, #category_nicename, #link_url, #link_image, #rss_uri, #menu_order, #email, #newcomment_author_url, #pages-exclude, #template textarea, #user_login, #url, #pass1, #pass2, #aim, #yim, #jabber, #siteurl, #home, #admin_email, #gmt_offset, #default_post_edit_rows, #mailserver_url, #mailserver_login, #mailserver_pass, #mailserver_port, #ping_sites, #posts_per_page, #posts_per_rss, #blog_charset, #close_comments_days_old, #comments_per_page, #comment_max_links, #moderation_keys, #blacklist_keys, #thumbnail_size_w, #thumbnail_size_h, #medium_size_w, #medium_size_h, #large_size_w, #large_size_h, #permalink_structure, #category_base, #tag_base, #upload_path, #upload_url_path, #rules { - direction: ltr; + +/*------------------------------------------------------------------------------ + 18.0 - Users +------------------------------------------------------------------------------*/ + +#profile-page .form-table #rich_editing { + margin-right: 0; + margin-left: 5px } -/* no italic -=================================== */ +#your-profile legend { + font-family: Tahoma, Arial, sans-serif; +} -#quicktags #ed_em, #ed_reply_toolbar #ed_reply_em, .tablenav .displaying-num, #footer, #footer a, p.help, p.description, span.description, .form-wrap p, #side-sortables .comments-box thead th, -#normal-sortables .comments-box thead th, .howto, .inline-edit-row fieldset span.title, .inline-edit-row fieldset span.checkbox-title, #utc-time, #local-time, form.upgrade .hint, p.install-help, .imgedit-help { +/*------------------------------------------------------------------------------ + 19.0 - Tools +------------------------------------------------------------------------------*/ + +/* Intentionally didn't RTLized the new press-this button; + +/*------------------------------------------------------------------------------ + 20.0 - Settings +------------------------------------------------------------------------------*/ + +#utc-time, #local-time { + padding-left: 0; + padding-right: 25px; font-style: normal; + font-family: Tahoma, Arial, sans-serif; +} + +/*------------------------------------------------------------------------------ + 21.0 - Admin Footer +------------------------------------------------------------------------------*/ + +#footer { + margin-right: 0; + margin-left: 15px; +} + +/*------------------------------------------------------------------------------ + 22.0 - Misc +------------------------------------------------------------------------------*/ + +#template div { + margin-right: 0; + margin-left: 190px; +} + +.column-author img, .column-username img { + float: right; + margin-right: 0; + margin-left: 10px; +} + +.tagchecklist { + margin-left: 0; + margin-right: 14px; +} + +.tagchecklist strong { + margin-left: 0; + margin-right: -8px; +} + +.tagchecklist span { + margin-right: 0; + margin-left: 25px; + float: right; + +} +.tagchecklist span a { + margin: 6px -9px 0pt 0pt; + float: right; +} + +#poststuff h2 { + clear: right; +} + +#poststuff h3, +.metabox-holder h3 { + font-family: Tahoma, Arial, sans-serif; +} + +.tool-box .title { + font-family: Tahoma, Arial, sans-serif; +} + +#sidemenu { + margin: -30px 315px 0 15px; + float: left; + padding-left: 0; + padding-right: 10px; +} +#sidemenu a { + float: right; +} + +table .vers, +table .column-visible, +table .column-rating { + text-align: right; +} + + +/*------------------------------------------------------------------------------ + 23.0 - Dead +------------------------------------------------------------------------------*/ + +/* - Not used anywhere in WordPress - verify and then deprecate +------------------------------------------------------------------------------*/ + +/* No RTL for now, this space intentionally left blank */ + + +/* - Only used once or twice in all of WP - deprecate for global style +------------------------------------------------------------------------------*/ + +* html #template div {margin-left: 0;} + +.list-ajax-loading { + float: left; + margin-right: 0; + margin-left: 9px; +} + +/* - Used - but could/should be deprecated with a CSS reset +------------------------------------------------------------------------------*/ +/* No RTL for now, this space intentionally left blank */ + + +/*------------------------------------------------------------------------------ + 24.0 - TinyMCE tweaks + Small tweaks for until tinymce css files are proprely RTLized +------------------------------------------------------------------------------*/ +#editorcontainer .wp_themeSkin .mceStatusbar { + padding-left: 0; + padding-right: 5px; +} +#editorcontainer .wp_themeSkin .mceStatusbar div { + float: right; +} + +#editorcontainer .wp_themeSkin .mceStatusbar a.mceResize { + float: left; } diff --git a/src/wp-admin/css/wp-admin.css b/src/wp-admin/css/wp-admin.css index 731bfa3..b867cd4 100644 --- a/src/wp-admin/css/wp-admin.css +++ b/src/wp-admin/css/wp-admin.css @@ -1 +1 @@ -p,ul,ol,blockquote,input,select{font-size:12px;}ol{list-style-type:decimal;margin-left:2em;}.code,code{font-family:Consolas,Monaco,Courier,monospace;}kbd,code{padding:1px 3px;margin:0 1px;font-size:11px;}.quicktags,.search{font:12px Georgia,"Times New Roman","Bitstream Charter",Times,serif;}.icon32{float:left;height:36px;margin:14px 6px 0 0;width:36px;}.key-labels label{line-height:24px;}.subtitle{font-size:.75em;line-height:1;padding-left:25px;}.pre{white-space:pre-wrap;white-space:-moz-pre-wrap!important;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word;}.howto{font-style:italic;display:block;font-family:"Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif;}p.install-help{margin:8px 0;font-style:italic;}textarea,input[type="text"],input[type="password"],input[type="file"],input[type="button"],input[type="submit"],input[type="reset"],select{border-width:1px;border-style:solid;-moz-border-radius:4px;-khtml-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;}select option{padding:2px;}.submit{padding:1.5em 0;margin:5px 0;-moz-border-radius:0 0 3px 3px;-webkit-border-bottom-left-radius:3px;-webkit-border-bottom-right-radius:3px;-khtml-border-bottom-left-radius:3px;-khtml-border-bottom-right-radius:3px;border-bottom-left-radius:3px;border-bottom-right-radius:3px;}form p.submit a.cancel:hover{text-decoration:none;}.submit input,.button,input.button,.button-primary,input.button-primary,.button-secondary,input.button-secondary,.button-highlighted,input.button-highlighted,#postcustomstuff .submit input{text-decoration:none;font-size:11px!important;line-height:13px;padding:3px 8px;cursor:pointer;border-width:1px;border-style:solid;-moz-border-radius:11px;-khtml-border-radius:11px;-webkit-border-radius:11px;border-radius:11px;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;-khtml-box-sizing:content-box;box-sizing:content-box;}#minor-publishing-actions input,#major-publishing-actions input,#minor-publishing-actions .preview{min-width:80px;text-align:center;}textarea.all-options,input.all-options{width:250px;}input.large-text,textarea.large-text{width:99%;}input.regular-text,#adduser .form-field input{width:25em;}input.small-text{width:50px;}#doaction,#doaction2,#post-query-submit{margin-right:8px;}.tablenav select[name="action"],.tablenav select[name="action2"]{width:130px;}.tablenav select[name="m"]{width:155px;}.tablenav select#cat{width:170px;}#wpcontent select{padding:2px;height:2em;font-size:11px;}#wpcontent option{padding:2px;}#timezone_string option{margin-left:1em;}label,#your-profile label+a{vertical-align:middle;}#misc-publishing-actions label{vertical-align:baseline;}#pass-strength-result{border-style:solid;border-width:1px;float:left;margin:12px 5px 5px 1px;padding:3px 5px;text-align:center;width:200px;display:none;}.indicator-hint{padding-top:8px;}p.search-box{float:right;margin:-5px 0 0;}#major-publishing-actions{padding:6px;clear:both;border-top:none;}#delete-action{line-height:25px;vertical-align:middle;text-align:left;float:left;}#publishing-action{text-align:right;float:right;line-height:23px;}#post-body #minor-publishing{padding-bottom:10px;}#post-body #misc-publishing-actions{padding:0;}#post-body .misc-pub-section{border-right-width:1px;border-right-style:solid;border-bottom:0 none;min-height:30px;float:left;max-width:32%;}#post-body .misc-pub-section-last{border-right:0;}#misc-publishing-actions{padding:6px 0 16px 0;}.misc-pub-section{padding:6px;border-bottom-width:1px;border-bottom-style:solid;}.misc-pub-section-last{border-bottom:0 none;}#minor-publishing-actions{padding:6px;text-align:right;}#minor-publishing{border-bottom-width:1px;border-bottom-style:solid;}#save-post{float:left;}#minor-publishing .ajax-loading{padding:3px 0 0 4px;float:left;}.preview{float:right;}#sticky-span{margin-left:18px;}#post-status-display,#post-visibility-display{font-weight:bold;}.side-info{margin:0;padding:4px;font-size:11px;}.side-info h5{padding-bottom:7px;font-size:14px;margin:12px 2px 5px;border-bottom-width:1px;border-bottom-style:solid;}.side-info ul{margin:0;padding-left:18px;list-style:square;}a.button,a.button-primary,a.button-secondary{line-height:15px;padding:3px 10px;white-space:nowrap;-webkit-border-radius:10px;}.approve{display:none;}.unapproved .approve,.spam .approve,.trash .approve{display:inline;}.unapproved .unapprove{display:none;}.add-new-h2{font-style:normal;margin:0 6px;position:relative;top:-3px;}td.action-links,th.action-links{text-align:right;}.describe .del-link{padding-left:5px;}#update-nag,.update-nag{line-height:19px;padding:5px 0;font-size:12px;text-align:center;margin:0 15px;border-width:1px;border-style:solid;border-top-width:0;border-top-style:none;-moz-border-radius:0 0 6px 6px;-webkit-border-bottom-right-radius:6px;-webkit-border-bottom-left-radius:6px;-khtml-border-bottom-right-radius:6px;-khtml-border-bottom-left-radius:6px;border-bottom-right-radius:6px;border-bottom-left-radius:6px;}.plugins .plugin-update{padding:0;}.plugin-update .update-message{margin:0 10px 8px 31px;font-weight:bold;}ul#dismissed-updates{display:none;}form.upgrade{margin-top:8px;}form.upgrade .hint{font-style:italic;font-size:85%;margin:-0.5em 0 2em 0;}.ajax-feedback{visibility:hidden;vertical-align:bottom;}#ajax-response.alignleft{margin-left:2em;}#editorcontainer #content{padding:6px;line-height:150%;border:0 none;outline:none;resize:vertical;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;-khtml-box-sizing:border-box;box-sizing:border-box;}#editorcontainer,#quicktags{border-style:solid;border-width:1px;border-collapse:separate;-moz-border-radius:6px 6px 0 0;-webkit-border-top-right-radius:6px;-webkit-border-top-left-radius:6px;-khtml-border-top-right-radius:6px;-khtml-border-top-left-radius:6px;border-top-right-radius:6px;border-top-left-radius:6px;}#quicktags{padding:0;margin-bottom:-3px;border-bottom-width:3px;background-image:url("../images/ed-bg.gif");background-position:left top;background-repeat:repeat-x;}#quicktags #ed_toolbar{padding:2px 4px 0;}#ed_toolbar input,#ed_reply_toolbar input{margin:3px 1px 4px;line-height:18px;display:inline-block;min-width:26px;padding:2px 4px;font-size:12px;}#ed_reply_toolbar input{margin:1px 2px 1px 1px;}#quicktags #ed_link,#ed_reply_toolbar #ed_reply_link{text-decoration:underline;}#quicktags #ed_del,#ed_reply_toolbar #ed_reply_del{text-decoration:line-through;}#quicktags #ed_em,#ed_reply_toolbar #ed_reply_em{font-style:italic;}#wp_editbtns,#wp_gallerybtns{padding:2px;position:absolute;display:none;z-index:999998;}#wp_editimgbtn,#wp_delimgbtn,#wp_editgallery,#wp_delgallery{margin:2px;padding:2px;border-width:1px;border-style:solid;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;}#wphead-info{margin:0 0 0 15px;padding-right:15px;}#user_info{float:right;font-size:12px;line-height:46px;height:46px;}#user_info p{margin:0;padding:0;line-height:46px;}#wphead{height:46px;}#wphead a,#adminmenu a,#sidemenu a,#taglist a,#catlist a,#show-settings a{text-decoration:none;}#header-logo{float:left;margin:7px 0 0 15px;}#wphead h1{font:normal 22px Georgia,"Times New Roman","Bitstream Charter",Times,serif;padding:10px 8px 5px;margin:0;float:left;}#wphead h1.long-title{font:normal 18px Georgia,"Times New Roman","Bitstream Charter",Times,serif;padding:12px 10px 5px;}#wphead #privacy-on-link{font-size:50%;font-style:normal;line-height:17px;padding:0 6px;vertical-align:middle;}#wphead h1 a:hover{text-decoration:none;}#wphead h1 a:hover #site-title,#wphead h1 a#privacy-on-link:hover{text-decoration:underline;}#favorite-actions{float:right;margin:11px 12px 0;min-width:130px;position:relative;}#favorite-first{-moz-border-radius:12px;-khtml-border-radius:12px;-webkit-border-radius:12px;border-radius:12px;line-height:15px;padding:3px 30px 4px 12px;border-width:1px;border-style:solid;}#favorite-inside{margin:0;padding:2px 1px;border-width:1px;border-style:solid;position:absolute;z-index:11;display:none;-moz-border-radius:0 0 12px 12px;-webkit-border-bottom-right-radius:12px;-webkit-border-bottom-left-radius:12px;-khtml-border-bottom-right-radius:12px;-khtml-border-bottom-left-radius:12px;border-bottom-right-radius:12px;border-bottom-left-radius:12px;}#favorite-actions a{display:block;text-decoration:none;font-size:11px;}#favorite-inside a{padding:3px 5px 3px 10px;}#favorite-toggle{height:22px;position:absolute;right:0;top:1px;width:28px;}#favorite-actions .slide-down{-moz-border-radius:12px 12px 0 0;-webkit-border-bottom-right-radius:0;-webkit-border-bottom-left-radius:0;-khtml-border-bottom-right-radius:0;-khtml-border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0;border-bottom:none;}#screen-meta{position:relative;clear:both;}#screen-meta-links{margin:0 18px 0 0;}#screen-meta .screen-reader-text{visibility:hidden;}#screen-options-link-wrap,#contextual-help-link-wrap{float:right;height:22px;padding:0;margin:0 6px 0 0;font-family:"Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif;background:#e3e3e3;-moz-border-radius-bottomleft:3px;-moz-border-radius-bottomright:3px;-webkit-border-bottom-left-radius:3px;-webkit-border-bottom-right-radius:3px;}#contextual-help-wrap li{list-style-type:disc;margin-left:18px;}.toggle-arrow{background-repeat:no-repeat;background-position:top left;background-color:transparent;height:22px;line-height:22px;display:block;}.toggle-arrow-active{background-position:bottom left;}#screen-meta a.show-settings{text-decoration:none;z-index:1;padding:0 16px 0 6px;height:22px;line-height:22px;font-size:10px;display:block;background-repeat:no-repeat;background-position:top right;background-color:transparent;text-shadow:rgba(255,255,255,0.7) 0 1px 0;}#screen-meta a.show-settings:hover{text-decoration:none;}#screen-options-wrap h5,#contextual-help-wrap h5{margin:8px 0;font-size:13px;}#screen-options-wrap,#contextual-help-wrap{border-style:none solid solid;border-top:0 none;border-width:0 1px 1px;margin:0 15px;padding:8px 12px 12px;-moz-border-radius:0 0 4px 4px;-webkit-border-radius:0 0 4px 4px;-khtml-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px;}.metabox-prefs label{display:inline-block;padding-right:15px;white-space:nowrap;line-height:30px;}.metabox-prefs label input{margin:0 5px 0 2px;}.metabox-prefs label a{display:none;}#adminmenu *{-webkit-user-select:none;-moz-user-select:none;-khtml-user-select:none;user-select:none;}#adminmenu .wp-submenu{display:none;list-style:none;padding:0;margin:0;position:relative;z-index:2;border-width:1px 0 0;border-style:solid none none;}#adminmenu .wp-submenu a{font:normal 11px/18px "Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif;}#adminmenu .wp-submenu li.current,#adminmenu .wp-submenu li.current a,#adminmenu .wp-submenu li.current a:hover{font-weight:bold;}#adminmenu a.menu-top,#adminmenu .wp-submenu-head{font:normal 13px/18px Georgia,"Times New Roman","Bitstream Charter",Times,serif;}#adminmenu div.wp-submenu-head{display:none;}.folded #adminmenu div.wp-submenu-head,.folded #adminmenu li.wp-has-submenu div.sub-open{display:block;}.folded #adminmenu a.menu-top,.folded #adminmenu .wp-submenu,.folded #adminmenu li.wp-menu-open .wp-submenu,.folded #adminmenu div.wp-menu-toggle{display:none;}#adminmenu li.wp-menu-open .wp-submenu,.no-js #adminmenu .open-if-no-js .wp-submenu{display:block;}#adminmenu div.wp-menu-image{float:left;width:28px;height:28px;}#adminmenu li{margin:0;padding:0;cursor:pointer;}#adminmenu a{display:block;line-height:18px;padding:1px 5px 3px;}#adminmenu li.menu-top{min-height:26px;}#adminmenu a.menu-top{line-height:18px;min-width:10em;padding:5px 5px;border-width:1px 1px 0;border-style:solid solid none;}#adminmenu .wp-submenu a{margin:0;padding-left:12px;border-width:0 1px 0 0;border-style:none solid none none;}#adminmenu .menu-top-last ul.wp-submenu{border-width:0 0 1px;border-style:none none solid;}#adminmenu .wp-submenu li{padding:0;margin:0;}.folded #adminmenu li.menu-top{width:28px;height:30px;overflow:hidden;border-width:1px 1px 0;border-style:solid solid none;}#adminmenu .menu-top-first a.menu-top,.folded #adminmenu li.menu-top-first,#adminmenu .wp-submenu .wp-submenu-head{border-width:1px 1px 0;border-style:solid solid none;-moz-border-radius-topleft:6px;-moz-border-radius-topright:6px;-webkit-border-top-right-radius:6px;-webkit-border-top-left-radius:6px;-khtml-border-top-right-radius:6px;-khtml-border-top-left-radius:6px;border-top-right-radius:6px;border-top-left-radius:6px;}#adminmenu .menu-top-last a.menu-top,.folded #adminmenu li.menu-top-last{border-width:1px;border-style:solid;-moz-border-radius-bottomleft:6px;-moz-border-radius-bottomright:6px;-webkit-border-bottom-right-radius:6px;-webkit-border-bottom-left-radius:6px;-khtml-border-bottom-right-radius:6px;-khtml-border-bottom-left-radius:6px;border-bottom-right-radius:6px;border-bottom-left-radius:6px;}#adminmenu li.wp-menu-open a.menu-top-last{border-bottom:0 none;-moz-border-radius-bottomright:0;-moz-border-radius-bottomleft:0;-webkit-border-bottom-right-radius:0;-webkit-border-bottom-left-radius:0;-khtml-border-bottom-right-radius:0;-khtml-border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0;}#adminmenu .wp-menu-image img{float:left;padding:8px 6px 0;opacity:.6;filter:alpha(opacity=60);}#adminmenu li.menu-top:hover .wp-menu-image img,#adminmenu li.wp-has-current-submenu .wp-menu-image img{opacity:1;filter:alpha(opacity=100);}#adminmenu li.wp-menu-separator{height:21px;padding:0;margin:0;}#adminmenu a.separator{cursor:w-resize;height:20px;padding:0;}.folded #adminmenu a.separator{cursor:e-resize;}#adminmenu .wp-menu-separator-last{height:10px;width:1px;}#adminmenu .wp-submenu .wp-submenu-head{border-width:1px;border-style:solid;padding:6px 4px 6px 10px;cursor:default;}.folded #adminmenu .wp-submenu{position:absolute;margin:-1px 0 0 28px;padding:0 8px 8px;z-index:999;border:0 none;}.folded #adminmenu .wp-submenu ul{width:140px;border-width:0 0 1px;border-style:none none solid;}.folded #adminmenu .wp-submenu li.wp-first-item{border-top:0 none;}.folded #adminmenu .wp-submenu a{padding-left:10px;}.folded #adminmenu a.wp-has-submenu{margin-left:40px;}#adminmenu li.menu-top-last .wp-submenu ul{border-width:0 0 1px;border-style:none none solid;}#adminmenu .wp-menu-toggle{width:22px;clear:right;float:right;margin:1px 0 0;height:27px;padding:1px 2px 0 0;cursor:default;}#adminmenu li.wp-has-current-submenu ul{border-bottom-width:1px;border-bottom-style:solid;}#adminmenu .wp-menu-image a{height:24px;}#adminmenu .wp-menu-image img{padding:6px 0 0 1px;}#adminmenu #awaiting-mod,#adminmenu span.update-plugins,#sidemenu li a span.update-plugins{position:absolute;font-family:Helvetica,Arial,sans-serif;font-size:9px;line-height:17px;font-weight:bold;margin-top:1px;margin-left:7px;-moz-border-radius:10px;-khtml-border-radius:10px;-webkit-border-radius:10px;border-radius:10px;}#adminmenu li #awaiting-mod span,#adminmenu li span.update-plugins span,#sidemenu li a span.update-plugins span{display:block;padding:0 6px;}#adminmenu li span.count-0,#sidemenu li a .count-0{display:none;}.post-com-count-wrapper{min-width:22px;font-family:Helvetica,Arial,sans-serif;}.post-com-count{height:1.3em;line-height:1.1em;display:block;text-decoration:none;padding:0 0 6px;cursor:pointer;background-position:center -80px;background-repeat:no-repeat;}.post-com-count span{font-size:9px;font-weight:bold;height:1.7em;line-height:1.70em;min-width:.7em;padding:0 6px;display:inline-block;cursor:pointer;-moz-border-radius:5px;-khtml-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;}strong .post-com-count{background-position:center -55px;}.post-com-count:hover{background-position:center -3px;}.column-response .post-com-count{float:left;margin-right:5px;text-align:center;}.response-links{float:left;}#the-comment-list .attachment-80x60{padding:4px 8px;}body.wp-admin{min-width:785px;}body.admin-bar #wphead{padding-top:28px;}.narrow{width:70%;margin-bottom:40px;}.narrow p{line-height:150%;}.widefat th,.widefat td{overflow:hidden;}.widefat td p{margin:2px 0 .8em;}.widefat .column-comment p{margin:.6em 0;}.widget .widget-top,.postbox h3{cursor:move;-webkit-user-select:none;-moz-user-select:none;-khtml-user-select:none;user-select:none;}.postbox-container{float:left;padding-right:.5%;}.postbox-container .meta-box-sortables{min-height:300px;}.postbox .hndle span{padding:6px 0;}.postbox .hndle{cursor:move;}.hndle a{font-size:11px;font-weight:normal;}.postbox .handlediv{float:right;width:23px;height:26px;}.sortable-placeholder{border-width:1px;border-style:dashed;margin-bottom:20px;}.widget,.postbox,.stuffbox{margin-bottom:20px;border-width:1px;border-style:solid;line-height:1;-moz-border-radius:6px;-khtml-border-radius:6px;-webkit-border-radius:6px;border-radius:6px;}.widget .widget-top,.postbox h3,.postbox h3,.stuffbox h3{-moz-border-radius:6px 6px 0 0;-webkit-border-top-right-radius:6px;-webkit-border-top-left-radius:6px;-khtml-border-top-right-radius:6px;-khtml-border-top-left-radius:6px;border-top-right-radius:6px;border-top-left-radius:6px;}.postbox.closed h3{-moz-border-radius-bottomleft:4px;-webkit-border-bottom-left-radius:4px;-khtml-border-bottom-left-radius:4px;border-bottom-left-radius:4px;-moz-border-radius-bottomright:4px;-webkit-border-bottom-right-radius:4px;-khtml-border-bottom-right-radius:4px;border-bottom-right-radius:4px;}.postbox table.form-table{margin-bottom:0;}.postbox input[type="text"],.postbox textarea,.stuffbox input[type="text"],.stuffbox textarea{border-width:1px;border-style:solid;}.temp-border{border:1px dotted #ccc;}.columns-prefs label{padding:0 5px;}#wpbody-content .metabox-holder{padding-top:10px;}#dashboard-widgets .meta-box-sortables{margin:0 5px;}#dashboard_recent_comments div.undo{border-top-style:solid;border-top-width:1px;margin:0 -10px;padding:3px 8px;font-size:11px;}#the-comment-list td.comment p.comment-author{margin-top:0;margin-left:0;}#the-comment-list p.comment-author img{float:left;margin-right:8px;}#the-comment-list p.comment-author strong a{border:none;}#the-comment-list td{vertical-align:top;}#the-comment-list td.comment{word-wrap:break-word;}#the-comment-list .check-column{padding-top:8px;}table.fixed{table-layout:fixed;}.fixed .column-rating,.fixed .column-visible{width:8%;}.fixed .column-date,.fixed .column-parent,.fixed .column-links{width:10%;}.fixed .column-response,.fixed .column-author,.fixed .column-categories,.fixed .column-tags,.fixed .column-rel,.fixed .column-role{width:15%;}.fixed .column-comments{width:4em;padding:8px 0;text-align:left;}.fixed .column-comments .vers{padding-left:3px;}.fixed .column-comments a{float:left;}.fixed .column-slug{width:25%;}.fixed .column-posts{width:10%;}.fixed .column-icon{width:80px;}#commentsdiv .fixed .column-author,#comments-form .fixed .column-author{width:20%;}#commentsdiv.postbox .inside{line-height:1.4em;margin:0;}#commentsdiv.postbox .inside .row-actions{line-height:18px;}#commentsdiv.postbox .inside td{padding:1em 10px;}#commentsdiv.postbox .inside .column-author{width:33%;}#commentsdiv.postbox .inside p{margin:6px 10px 8px;}#commentsdiv.postbox .column-comment p{margin:.6em 0;}#commentsdiv.postbox #replyrow td{padding:0;}.sorting-indicator{display:none;width:7px;height:4px;margin-top:5px;margin-left:7px;background-image:url(../images/sort.gif);background-repeat:no-repeat;}.fixed .column-comments .sorting-indicator{margin-top:3px;}.widefat th.sortable,.widefat th.sorted{padding:0;}th.sortable a,th.sorted a{display:block;overflow:hidden;padding:7px 7px 8px;}.fixed .column-comments.sortable a,.fixed .column-comments.sorted a{padding:8px 0;}th.sortable a span,th.sorted a span{float:left;cursor:pointer;}th.sorted.asc .sorting-indicator,th.desc:hover span.sorting-indicator{display:block;background-position:0 0;}th.sorted.desc .sorting-indicator,th.asc:hover span.sorting-indicator{display:block;background-position:-7px 0;}.tablenav-pages a{border-bottom-style:solid;border-bottom-width:2px;font-weight:bold;margin-right:1px;padding:0 2px;}.tablenav-pages .current-page{text-align:center;}.tablenav-pages .next-page{margin-left:2px;}.tablenav a.button-secondary{display:block;margin:3px 8px 0 0;}.tablenav{clear:both;height:30px;margin:6px 0 4px;vertical-align:middle;}.tablenav .tablenav-pages{float:right;display:block;cursor:default;height:30px;line-height:30px;font-size:11px;}.tablenav .one-page{display:none;}.tablenav .tablenav-pages a,.tablenav-pages span.current{text-decoration:none;border:none;padding:3px 6px;border-width:1px;border-style:solid;-moz-border-radius:5px;-khtml-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;}.tablenav .tablenav-pages a.disabled:hover{cursor:default;}.tablenav .tablenav-pages a.disabled:active{cursor:default;}.tablenav .displaying-num{margin-right:10px;font-size:12px;font-family:Georgia,"Times New Roman","Bitstream Charter",Times,serif;font-style:italic;}.tablenav .actions{padding:2px 8px 0 0;}.tablenav .delete{margin-right:20px;}.view-switch{float:right;margin:6px 8px 0;}.view-switch a{text-decoration:none;}.filter{float:left;margin:-5px 0 0 10px;}.filter .subsubsub{margin-left:-10px;margin-top:13px;}.screen-per-page{width:3em;}#posts-filter fieldset{float:left;margin:0 1.5ex 1em 0;padding:0;}#posts-filter fieldset legend{padding:0 0 .2em 1px;}span.post-state-format{font-weight:normal;}tr.inline-edit-row td{padding:0 .5em;}#wpbody-content .inline-edit-row fieldset{font-size:12px;float:left;margin:0;padding:0;width:100%;}#wpbody-content .inline-edit-row fieldset .inline-edit-col{padding:0 .5em;}#wpbody-content .quick-edit-row-page fieldset.inline-edit-col-right .inline-edit-col{border-width:0 0 0 1px;border-style:none none none solid;}#wpbody-content .quick-edit-row-post .inline-edit-col-left{width:40%;}#wpbody-content .quick-edit-row-post .inline-edit-col-right{width:39%;}#wpbody-content .inline-edit-row-post .inline-edit-col-center{width:20%;}#wpbody-content .quick-edit-row-page .inline-edit-col-left{width:50%;}#wpbody-content .quick-edit-row-page .inline-edit-col-right,#wpbody-content .bulk-edit-row-post .inline-edit-col-right{width:49%;}#wpbody-content .bulk-edit-row .inline-edit-col-left{width:30%;}#wpbody-content .bulk-edit-row-page .inline-edit-col-right{width:69%;}#wpbody-content .bulk-edit-row .inline-edit-col-bottom{float:right;width:69%;}#wpbody-content .inline-edit-row-page .inline-edit-col-right,#wpbody-content .bulk-edit-row-post .inline-edit-col-right{margin-top:27px;}.inline-edit-row fieldset .inline-edit-group{clear:both;}.inline-edit-row fieldset .inline-edit-group:after{content:".";display:block;height:0;clear:both;visibility:hidden;}.inline-edit-row p.submit{clear:both;padding:.5em;margin:.5em 0 0;}.inline-edit-row span.error{line-height:22px;margin:0 15px;padding:3px 5px;}.inline-edit-row h4{margin:.2em 0;padding:0;line-height:23px;}.inline-edit-row fieldset span.title,.inline-edit-row fieldset span.checkbox-title{margin:0;padding:0;line-height:27px;}.inline-edit-row fieldset label,.inline-edit-row fieldset span.inline-edit-categories-label{display:block;margin:.2em 0;}.inline-edit-row fieldset label.inline-edit-tags{margin-top:0;}.inline-edit-row fieldset label.inline-edit-tags span.title{margin:.2em 0;}.inline-edit-row fieldset label span.title{display:block;float:left;width:5em;}.inline-edit-row fieldset label span.input-text-wrap{display:block;margin-left:5em;}.quick-edit-row-post fieldset.inline-edit-col-right label span.title{width:auto;padding-right:.5em;}.inline-edit-row .input-text-wrap input[type=text]{width:100%;}.inline-edit-row fieldset label input[type=checkbox]{vertical-align:text-bottom;}.inline-edit-row fieldset label textarea{width:100%;height:4em;}#wpbody-content .bulk-edit-row fieldset .inline-edit-group label{max-width:50%;}#wpbody-content .quick-edit-row fieldset .inline-edit-group label.alignleft:first-child{margin-right:.5em;}.inline-edit-row h4{text-transform:uppercase;}.inline-edit-row fieldset span.title,.inline-edit-row fieldset span.checkbox-title{font-family:Georgia,"Times New Roman","Bitstream Charter",Times,serif;font-style:italic;line-height:1.8em;}.inline-edit-row fieldset input[type="text"],.inline-edit-row fieldset textarea{border-style:solid;border-width:1px;}.inline-edit-row fieldset .inline-edit-date{float:left;}.inline-edit-row fieldset input[name=jj],.inline-edit-row fieldset input[name=hh],.inline-edit-row fieldset input[name=mn]{font-size:12px;width:2.1em;}.inline-edit-row fieldset input[name=aa]{font-size:12px;width:3.5em;}.inline-edit-row fieldset label input.inline-edit-password-input{width:8em;}.inline-edit-row .catshow,.inline-edit-row .cathide{cursor:pointer;}ul.cat-checklist{height:12em;border-style:solid;border-width:1px;overflow-y:scroll;padding:0 5px;margin:0;}#bulk-titles{display:block;height:12em;border-style:solid;border-width:1px;overflow-y:scroll;padding:0 5px;margin:0 0 5px;}.inline-edit-row fieldset ul.cat-checklist li,.inline-edit-row fieldset ul.cat-checklist input{margin:0;}.inline-edit-row fieldset ul.cat-checklist label,.inline-edit-row .catshow,.inline-edit-row .cathide,.inline-edit-row #bulk-titles div{font-family:"Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif;font-style:normal;font-size:11px;}table .inline-edit-row fieldset ul.cat-hover{height:auto;max-height:30em;overflow-y:auto;position:absolute;}.inline-edit-row fieldset label input.inline-edit-menu-order-input{width:3em;}.inline-edit-row fieldset label input.inline-edit-slug-input{width:75%;}.quick-edit-row-post fieldset label.inline-edit-status{float:left;}#bulk-titles{line-height:140%;}#bulk-titles div{margin:.2em .3em;}#bulk-titles div a{cursor:pointer;display:block;float:left;height:10px;margin:3px 3px 0 -2px;overflow:hidden;position:relative;text-indent:-9999px;width:10px;}#titlediv{position:relative;margin-bottom:20px;}#titlediv label{cursor:text;}#titlediv div.inside{margin:0;}#poststuff #titlewrap{border:0;padding:0;}#titlediv #title{padding:3px 4px;border-width:1px;border-style:solid;-moz-border-radius:6px;-khtml-border-radius:6px;-webkit-border-radius:6px;border-radius:6px;font-size:1.7em;line-height:100%;width:100%;outline:none;}#titlediv #title-prompt-text{color:#bbb;position:absolute;font-size:1.7em;padding:8px;}#poststuff .inside-submitbox,#side-sortables .inside-submitbox{margin:0 3px;font-size:11px;}input#link_description,input#link_url{width:98%;}#pending{background:0 none;border:0 none;padding:0;font-size:11px;margin-top:-1px;}#edit-slug-box{height:1em;margin-top:8px;padding:0 7px;}#editable-post-name-full{display:none;}#editable-post-name input{width:16em;}.postarea h3 label{float:left;}.postarea #add-media-button{float:right;margin:7px 0 0;position:relative;right:10px;}#poststuff #editor-toolbar{height:30px;}.wp_themeSkin tr.mceFirst td.mceToolbar{border-width:0 0 1px;border-style:none none solid;}#edButtonPreview,#edButtonHTML{height:18px;margin:5px 5px 0 0;padding:4px 5px 2px;float:right;cursor:pointer;border-width:1px;border-style:solid;-moz-border-radius:3px 3px 0 0;-webkit-border-top-right-radius:3px;-webkit-border-top-left-radius:3px;-khtml-border-top-right-radius:3px;-khtml-border-top-left-radius:3px;border-top-right-radius:3px;border-top-left-radius:3px;}.js .theEditor{color:white;}#poststuff #edButtonHTML{margin-right:15px;}#media-buttons{cursor:default;padding:8px 8px 0;}#media-buttons a{cursor:pointer;padding:0 0 5px 10px;}#media-buttons img,#submitpost #ajax-loading,#submitpost .ajax-loading{vertical-align:middle;}#wpcontent .ajax-loading{visibility:hidden;}.submitbox .submit{text-align:left;padding:12px 10px 10px;font-size:11px;}.submitbox .submitdelete{border-bottom-width:1px;border-bottom-style:solid;text-decoration:none;padding:1px 2px;}.inside-submitbox #post_status{margin:2px 0 2px -2px;}.submitbox .submit a:hover{border-bottom-width:1px;border-bottom-style:solid;}.submitbox .submit input{margin-bottom:8px;margin-right:4px;padding:6px;}#post-status-select,#post-format{line-height:2.5em;margin-top:3px;}#post-body #normal-sortables{min-height:50px;}#post-body #advanced-sortables{min-height:20px;}.postbox{position:relative;min-width:255px;width:99.5%;}#trackback_url{width:99%;}#normal-sortables .postbox .submit{background:transparent none;border:0 none;float:right;padding:0 12px;margin:0;}#side-sortables .category-add input{width:94%;}#side-sortables .category-add select{width:100%;}#side-sortables .category-add input.category-add-sumbit,#post-body .category-add input.category-add input.category-add-sumbit{width:auto;}#post-body ul.category-tabs,#post-body ul.add-menu-item-tabs{float:left;width:120px;text-align:right;margin:0 -120px 0 5px;padding:0;}#post-body ul.category-tabs li,#post-body ul.add-menu-item-tabs li{padding:8px;}#post-body ul.category-tabs li.tabs,#post-body ul.add-menu-item-tabs li.tabs{-moz-border-radius:3px 0 0 3px;-webkit-border-top-left-radius:3px;-webkit-border-bottom-left-radius:3px;-khtml-border-top-left-radius:3px;-khtml-border-bottom-left-radius:3px;border-top-left-radius:3px;border-bottom-left-radius:3px;}#post-body ul.category-tabs li.tabs a,#post-body ul.add-menu-item-tabs li.tabs a{font-weight:bold;text-decoration:none;}.wp-tab-panel,.categorydiv div.tabs-panel,.customlinkdiv div.tabs-panel,.posttypediv div.tabs-panel,.taxonomydiv div.tabs-panel,#linkcategorydiv div.tabs-panel{height:200px;overflow:auto;padding:.5em .9em;border-style:solid;border-width:1px;}.nav-menus-php .customlinkdiv div.tabs-panel,.nav-menus-php .posttypediv div.tabs-panel,.nav-menus-php .taxonomydiv div.tabs-panel{height:auto;max-height:205px;}div.tabs-panel-active{display:block;}div.tabs-panel-inactive{display:none;}#post-body .categorydiv div.tabs-panel,.taxonomy div.tabs-panel,#post-body #linkcategorydiv div.tabs-panel{margin:0 5px 0 125px;}#side-sortables .category-tabs li,#side-sortables .add-menu-item-tabs li,.wp-tab-bar li{display:inline;}#side-sortables .category-tabs a,#side-sortables .add-menu-item-tabs a,.wp-tab-bar a{text-decoration:none;}#side-sortables .category-tabs,#side-sortables .add-menu-item-tabs,.wp-tab-bar{margin-bottom:3px;}.categorydiv ul,.customlinkdiv ul,.posttypediv ul,.taxonomydiv ul,#linkcategorydiv ul{list-style:none;padding:0;margin:0;}#normal-sortables .postbox #replyrow .submit{float:none;margin:0;padding:3px 7px;}#side-sortables .submitbox .submit input,#side-sortables .submitbox .submit .preview,#side-sortables .submitbox .submit a.preview:hover{border:0 none;}#side-sortables .inside-submitbox .insidebox,.stuffbox .insidebox{margin:11px 0;}#side-sortables .comments-box,#normal-sortables .comments-box{border:0 none;}ul.category-tabs,ul.add-menu-item-tabs,ul.wp-tab-bar{margin-top:12px;}#side-sortables .comments-box thead th,#normal-sortables .comments-box thead th{background:transparent;padding:0 7px 4px;font-style:italic;}ul.category-tabs li.tabs,ul.add-menu-item-tabs li.tabs,.wp-tab-active{border-style:solid solid none;border-width:1px 1px 0;}#commentsdiv img.waiting{padding-left:5px;}#post-body .category-tabs li.tabs,#post-body .add-menu-item-tabs li.tabs{border-style:solid none solid solid;border-width:1px 0 1px 1px;margin-right:-1px;}ul.category-tabs li,ul.add-menu-item-tabs li,ul.wp-tab-bar li{padding:5px;-moz-border-radius:3px 3px 0 0;-webkit-border-top-left-radius:3px;-webkit-border-top-right-radius:3px;-khtml-border-top-left-radius:3px;-khtml-border-top-right-radius:3px;border-top-left-radius:3px;border-top-right-radius:3px;}form#tags-filter{position:relative;}p.search-box{float:right;margin:-5px 0 0;}.screen-per-page{width:3em;}#posts-filter fieldset{float:left;margin:0 1.5ex 1em 0;padding:0;}#posts-filter fieldset legend{padding:0 0 .2em 1px;}td.post-title strong,td.plugin-title strong{display:block;margin-bottom:.2em;}td.post-title p,td.plugin-title p{margin:6px 0;}.wp-hidden-children .wp-hidden-child,.ui-tabs-hide{display:none;}.commentlist .avatar{vertical-align:text-top;}#post-body .tagsdiv #newtag{margin-right:5px;width:16em;}#side-sortables input#post_password{width:94%;}#side-sortables .tagsdiv #newtag{width:68%;}#post-status-info{border-width:0 1px 1px;border-style:none solid solid;width:100%;-moz-border-radius:0 0 6px 6px;-webkit-border-bottom-left-radius:6px;-webkit-border-bottom-right-radius:6px;-khtml-border-bottom-left-radius:6px;-khtml-border-bottom-right-radius:6px;border-bottom-left-radius:6px;border-bottom-right-radius:6px;}#post-status-info td{font-size:11px;}.autosave-info{padding:2px 15px 2px 2px;text-align:right;}#editorcontent #post-status-info{border:none;}#post-body .wp_themeSkin .mceStatusbar a.mceResize{display:block;background:transparent url(../images/resize.gif) no-repeat scroll right bottom;width:12px;cursor:se-resize;margin:0 2px;position:relative;top:22px;}#wp-word-count{display:block;padding:2px 7px;}#timestampdiv select{height:20px;line-height:14px;padding:0;vertical-align:top;}#jj,#hh,#mn{width:2em;padding:1px;font-size:12px;}#aa{width:3.4em;padding:1px;font-size:12px;}.curtime #timestamp{background-repeat:no-repeat;background-position:left top;padding-left:18px;}#timestampdiv{padding-top:5px;line-height:23px;}#timestampdiv p{margin:8px 0 6px;}#timestampdiv input{border-width:1px;border-style:solid;}#postcustomstuff table,#postcustomstuff input,#postcustomstuff textarea{border-width:1px;border-style:solid;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;}#postcustomstuff .updatemeta,#postcustomstuff .deletemeta{margin:auto;}#postcustomstuff thead th{padding:5px 8px 8px;}#postcustom #postcustomstuff .submit{border:0 none;float:none;padding:5px 8px;}#side-sortables #postcustom #postcustomstuff .submit{padding:0 5px;}#side-sortables #postcustom #postcustomstuff td.left input{margin:3px 3px 0;}#side-sortables #postcustom #postcustomstuff #the-list textarea{height:85px;margin:3px;}#postcustomstuff table{margin:0;width:100%;border-width:1px;border-style:solid;border-spacing:0;}#postcustomstuff table input,#postcustomstuff table select,#postcustomstuff table textarea{width:95%;margin:8px 0 8px 8px;}#postcustomstuff th.left,#postcustomstuff td.left{width:38%;}#postcustomstuff .submit input{width:auto;}#postcustomstuff #newmeta .submit{padding:0 8px;}#postcustomstuff table #addmetasub{width:auto;}#postcustomstuff #newmetaleft{vertical-align:top;}#postcustomstuff #newmetaleft a{padding:0 10px;text-decoration:none;}table.diff{width:100%;}table.diff col.content{width:50%;}table.diff tr{background-color:transparent;}table.diff td,table.diff th{padding:.5em;font-family:Consolas,Monaco,Courier,monospace;border:none;}table.diff .diff-deletedline del,table.diff .diff-addedline ins{text-decoration:none;}.category-adder{margin-left:120px;padding:4px 0;}.category-adder h4{margin:0 0 8px;}#side-sortables .category-adder{margin:0;}#post-body .category-add input,.category-add select{width:30%;}#side-sortables .category-add select{width:100%;}#side-sortables .category-add input.category-add-sumbit,#post-body .category-add input.category-add input.category-add-sumbit{width:auto;}#post-body ul.category-tabs,#post-body ul.add-menu-item-tabs{float:left;width:120px;text-align:right;margin:0 -120px 0 5px;padding:0;}#post-body ul.category-tabs li,#post-body ul.add-menu-item-tabs li{padding:8px;}#post-body ul.category-tabs li.tabs,#post-body ul.add-menu-item-tabs li.tabs{-moz-border-radius:3px 0 0 3px;-webkit-border-top-left-radius:3px;-webkit-border-bottom-left-radius:3px;-khtml-border-top-left-radius:3px;-khtml-border-bottom-left-radius:3px;border-top-left-radius:3px;border-bottom-left-radius:3px;}#post-body ul.category-tabs li.tabs a,#post-body ul.add-menu-item-tabs li.tabs a{font-weight:bold;text-decoration:none;}.categorydiv div.tabs-panel,.customlinkdiv div.tabs-panel,.posttypediv div.tabs-panel,.taxonomydiv div.tabs-panel,#linkcategorydiv div.tabs-panel{height:200px;overflow:auto;padding:.5em .9em;border-style:solid;border-width:1px;}.nav-menus-php .customlinkdiv div.tabs-panel,.nav-menus-php .posttypediv div.tabs-panel,.nav-menus-php .taxonomydiv div.tabs-panel{height:auto;max-height:205px;}div.tabs-panel-active{display:block;}div.tabs-panel-inactive{display:none;}#post-body .categorydiv div.tabs-panel,.taxonomy div.tabs-panel,#post-body #linkcategorydiv div.tabs-panel{margin:0 5px 0 125px;}#side-sortables .category-tabs li,#side-sortables .add-menu-item-tabs li{display:inline;}#side-sortables .category-tabs a,#side-sortables .add-menu-item-tabs a{text-decoration:none;}#side-sortables .category-tabs,#side-sortables .add-menu-item-tabs{margin-bottom:3px;}.categorydiv ul,.customlinkdiv ul,.posttypediv ul,.taxonomydiv ul,#linkcategorydiv ul{list-style:none;padding:0;margin:0;}#front-page-warning,#front-static-pages ul,ul.export-filters,.inline-editor ul.cat-checklist ul,.categorydiv ul.categorychecklist ul,.customlinkdiv ul.categorychecklist ul,.posttypediv ul.categorychecklist ul,.taxonomydiv ul.categorychecklist ul,#linkcategorydiv ul.categorychecklist ul{margin-left:18px;}ul.categorychecklist li{margin:0;padding:0;line-height:19px;word-wrap:break-word;}.categorydiv .tabs-panel,.customlinkdiv .tabs-panel,.posttypediv .tabs-panel,.taxonomydiv .tabs-panel{border-width:3px;border-style:solid;}ul.category-tabs,ul.add-menu-item-tabs{margin-top:12px;}ul.category-tabs li.tabs,ul.add-menu-item-tabs li.tabs{border-style:solid solid none;border-width:1px 1px 0;}#post-body .category-tabs li.tabs,#post-body .add-menu-item-tabs li.tabs{border-style:solid none solid solid;border-width:1px 0 1px 1px;margin-right:-1px;}ul.category-tabs li,ul.add-menu-item-tabs li{padding:5px;-moz-border-radius:3px 3px 0 0;-webkit-border-top-left-radius:3px;-webkit-border-top-right-radius:3px;-khtml-border-top-left-radius:3px;-khtml-border-top-right-radius:3px;border-top-left-radius:3px;border-top-right-radius:3px;}.form-wrap{margin:10px 0;width:97%;}.form-wrap p,.form-wrap label{font-size:11px;}.form-wrap label{display:block;padding:2px;font-size:12px;}.form-field input,.form-field textarea{border-style:solid;border-width:1px;width:95%;}p.description,.form-wrap p{margin:2px 0 5px;}p.help,p.description,span.description,.form-wrap p{font-size:12px;font-style:italic;font-family:"Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif;}.form-wrap .form-field{margin:0 0 10px;padding:8px;}.col-wrap h3{margin:12px 0;font-size:1.1em;}.col-wrap p.submit{margin-top:-10px;}.taghint{color:#aaa;margin:15px 0 -24px 12px;}#poststuff .tagsdiv .howto{margin:0 0 6px 8px;}.ajaxtag .newtag{background:transparent;position:relative;}.tagsdiv .newtag{width:180px;}.tagsdiv .the-tags{display:block;height:60px;margin:0 auto;overflow:auto;width:260px;}#post-body-content .tagsdiv .the-tags{margin:0 5px;}p.popular-tags{-moz-border-radius:8px;-khtml-border-radius:8px;-webkit-border-radius:8px;border-radius:8px;border-width:1px;border-style:solid;line-height:2em;padding:8px 12px 12px;text-align:justify;}p.popular-tags a{padding:0 3px;}.tagcloud{width:97%;margin:0 0 40px;text-align:justify;}.tagcloud h3{margin:2px 0 12px;}.ac_results{padding:0;margin:0;list-style:none;position:absolute;z-index:10000;display:none;border-width:1px;border-style:solid;}.ac_results li{padding:2px 5px;white-space:nowrap;text-align:left;}.ac_over{cursor:pointer;}.ac_match{text-decoration:underline;}#wpbody-content #media-items .describe{border-collapse:collapse;width:100%;border-top-style:solid;border-top-width:1px;clear:both;cursor:default;padding:5px;}#wpbody-content .describe th{vertical-align:top;text-align:left;padding:10px;width:140px;}#wpbody-content .describe .media-item-info tr{background-color:transparent;}#wpbody-content .describe .media-item-info td{padding:4px 10px 0;}.describe .media-item-info .A1B1{padding:0 0 0 10px;}#wpbody-content .filename{padding:0 10px;}#wpbody-content .media-item .thumbnail{max-height:128px;max-width:128px;}#wpbody-content #async-upload-wrap a{display:none;}.media-upload-form td label{margin-right:6px;margin-left:2px;}.media-upload-form .align .field label{display:inline;padding:0 0 0 22px;margin:0 1em 0 0;font-weight:bold;}.media-upload-form tr.image-size label{margin:0 0 0 3px;font-weight:bold;}.media-upload-form th.label label{font-weight:bold;margin:.5em;font-size:13px;}.media-upload-form th.label label span{padding:0 5px;}abbr.required{border:medium none;text-decoration:none;}#wpbody-content .describe input[type="text"],#wpbody-content .describe textarea{width:460px;}#wpbody-content .describe p.help{margin:0;padding:0 0 0 5px;}.media-item .error-div a.dismiss,.describe-toggle-on,.describe-toggle-off{display:block;line-height:36px;float:right;margin-right:20px;}.describe-toggle-off{display:none;}#wpbody-content .media-item{border-bottom-style:solid;border-bottom-width:1px;min-height:36px;position:relative;width:100%;}#wpbody-content .media-single .media-item{border-bottom-style:none;border-bottom-width:0;}#wpbody-content #media-items{border-style:solid solid none;border-width:1px;width:670px;}#wpbody-content #media-items .filename{line-height:36px;overflow:hidden;}.media-item .error-div{padding-left:10px;}.media-item .pinkynail{float:left;margin:2px;max-width:40px;max-height:32px;}.media-item .startopen,.media-item .startclosed{display:none;}.media-item .original{position:relative;height:34px;width:503px;}.media-item .percent{font-weight:bold;}.crunching{display:block;line-height:32px;text-align:right;margin-right:5px;}.progress{position:relative;margin-bottom:-36px;height:36px;}.bar{width:0;height:100%;border-right-width:3px;border-right-style:solid;}.upload-php .fixed .column-parent{width:25%;}.find-box{width:500px;height:300px;overflow:hidden;padding:33px 5px 40px;position:absolute;z-index:1000;}.find-box-head{cursor:move;font-weight:bold;height:2em;line-height:2em;padding:1px 12px;position:absolute;top:5px;width:100%;}.find-box-inside{overflow:auto;width:100%;height:100%;}.find-box-search{padding:12px;border-width:1px;border-style:none none solid;}#find-posts-response{margin:8px 0;padding:0 1px;}#find-posts-response table{width:100%;}#find-posts-response .found-radio{padding:5px 0 0 8px;width:15px;}.find-box-buttons{width:480px;margin:8px;}.find-box-search label{padding-right:6px;}.find-box #resize-se{position:absolute;right:1px;bottom:1px;}#favorite-actions{float:right;margin:11px 12px 0;min-width:130px;position:relative;}#favorite-first{-moz-border-radius:12px;-khtml-border-radius:12px;-webkit-border-radius:12px;border-radius:12px;line-height:15px;padding:3px 30px 4px 12px;border-width:1px;border-style:solid;}#favorite-inside{margin:0;padding:2px 1px;border-width:1px;border-style:solid;position:absolute;z-index:11;display:none;-moz-border-radius:0 0 12px 12px;-webkit-border-bottom-right-radius:12px;-webkit-border-bottom-left-radius:12px;-khtml-border-bottom-right-radius:12px;-khtml-border-bottom-left-radius:12px;border-bottom-right-radius:12px;border-bottom-left-radius:12px;}#favorite-actions a{display:block;text-decoration:none;font-size:11px;}#favorite-inside a{padding:3px 5px 3px 10px;}#favorite-toggle{height:22px;position:absolute;right:0;top:1px;width:28px;}#favorite-actions .slide-down{-moz-border-radius:12px 12px 0 0;-webkit-border-bottom-right-radius:0;-webkit-border-bottom-left-radius:0;-khtml-border-bottom-right-radius:0;-khtml-border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0;border-bottom:none;}ul#dismissed-updates{display:none;}form.upgrade{margin-top:8px;}form.upgrade .hint{font-style:italic;font-size:85%;margin:-0.5em 0 2em 0;}#poststuff .inside .the-tagcloud{margin:5px 0 10px;padding:8px;border-width:1px;border-style:solid;line-height:1.8em;word-spacing:3px;-moz-border-radius:6px;-khtml-border-radius:6px;-webkit-border-radius:6px;border-radius:6px;}br.clear{height:2px;line-height:2px;}.swfupload{margin:5px 10px;vertical-align:middle;}.describe .image-editor{vertical-align:top;}.imgedit-wrap{position:relative;}.imgedit-settings p{margin:8px 0;}.describe .imgedit-wrap table td{vertical-align:top;padding-top:0;}.imgedit-wrap p,.describe .imgedit-wrap table td{font-size:11px;line-height:18px;}.describe .imgedit-wrap table td.imgedit-settings{padding:0 5px;}td.imgedit-settings input{vertical-align:middle;}.imgedit-wait{position:absolute;top:0;background:#FFF url(../images/wpspin_light.gif) no-repeat scroll 22px 10px;opacity:.7;filter:alpha(opacity=70);width:100%;height:500px;display:none;}.media-disabled,.imgedit-settings .disabled{color:grey;}.imgedit-wait-spin{padding:0 4px 4px;vertical-align:bottom;visibility:hidden;}.imgedit-menu{margin:0 0 12px;min-width:300px;}.imgedit-menu div{float:left;width:32px;height:32px;-moz-border-radius:4px;-khtml-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;border-width:1px;border-style:solid;}.imgedit-crop-wrap{position:relative;}.imgedit-crop{background:transparent url(../images/imgedit-icons.png) no-repeat scroll -9px -31px;margin:0 8px 0 0;}.imgedit-crop.disabled:hover{background-position:-9px -31px;}.imgedit-crop:hover{background-position:-9px -1px;}.imgedit-rleft{background:transparent url(../images/imgedit-icons.png) no-repeat scroll -46px -31px;margin:0 3px;}.imgedit-rleft.disabled:hover{background-position:-46px -31px;}.imgedit-rleft:hover{background-position:-46px -1px;}.imgedit-rright{background:transparent url(../images/imgedit-icons.png) no-repeat scroll -77px -31px;margin:0 8px 0 3px;}.imgedit-rright.disabled:hover{background-position:-77px -31px;}.imgedit-rright:hover{background-position:-77px -1px;}.imgedit-flipv{background:transparent url(../images/imgedit-icons.png) no-repeat scroll -115px -31px;margin:0 3px;}.imgedit-flipv.disabled:hover{background-position:-115px -31px;}.imgedit-flipv:hover{background-position:-115px -1px;}.imgedit-fliph{background:transparent url(../images/imgedit-icons.png) no-repeat scroll -147px -31px;margin:0 8px 0 3px;}.imgedit-fliph.disabled:hover{background-position:-147px -31px;}.imgedit-fliph:hover{background-position:-147px -1px;}.imgedit-undo{background:transparent url(../images/imgedit-icons.png) no-repeat scroll -184px -31px;margin:0 3px;}.imgedit-undo.disabled:hover{background-position:-184px -31px;}.imgedit-undo:hover{background-position:-184px -1px;}.imgedit-redo{background:transparent url(../images/imgedit-icons.png) no-repeat scroll -215px -31px;margin:0 8px 0 3px;}.imgedit-redo.disabled:hover{background-position:-215px -31px;}.imgedit-redo:hover{background-position:-215px -1px;}.imgedit-applyto img{margin:0 8px 0 0;}.imgedit-group-top{margin:5px 0;}.imgedit-applyto .imgedit-label{padding:2px 0 0;display:block;}.imgedit-help{display:none;font-style:italic;margin-bottom:8px;}.imgedit-help ul li{font-size:11px;}a.imgedit-help-toggle{text-decoration:none;}#wpbody-content .imgedit-response div{width:600px;margin:8px;}.form-table td.imgedit-response{padding:0;}.imgedit-submit{margin:8px 0;}.imgedit-submit-btn{margin-left:20px;}.imgedit-wrap .nowrap{white-space:nowrap;}span.imgedit-scale-warn{color:red;font-size:20px;font-style:normal;visibility:hidden;vertical-align:middle;}.imgedit-group{border-width:1px;border-style:solid;-moz-border-radius:8px;-khtml-border-radius:8px;-webkit-border-radius:8px;border-radius:8px;margin-bottom:8px;padding:2px 10px;}.form-table{border-collapse:collapse;margin-top:.5em;width:100%;margin-bottom:-8px;clear:both;}.form-table td{margin-bottom:9px;padding:8px 10px;line-height:20px;font-size:11px;}.form-table th,.form-wrap label{font-weight:normal;text-shadow:rgba(255,255,255,1) 0 1px 0;}.form-table th{vertical-align:top;text-align:left;padding:10px;width:200px;}.form-table th.th-full{width:auto;}.form-table div.color-option{display:block;clear:both;margin-top:12px;}.form-table input.tog{margin-top:2px;margin-right:2px;float:left;}.form-table td p{margin-top:4px;}.form-table table.color-palette{vertical-align:bottom;float:left;margin:-12px 3px 11px;}.form-table .color-palette td{border-width:1px 1px 0;border-style:solid solid none;height:10px;line-height:20px;width:10px;}.commentlist li{padding:1em 1em .2em;margin:0;border-bottom-width:1px;border-bottom-style:solid;}.commentlist li li{border-bottom:0;padding:0;}.commentlist p{padding:0;margin:0 0 .8em;}#replyrow{font-size:11px;}#replyrow input{border-width:1px;border-style:solid;}#replyrow td{padding:2px;}#replyrow #editorcontainer{border:0 none;}#replysubmit{margin:0;padding:3px 7px;text-align:center;}#replysubmit img.waiting,.inline-edit-save img.waiting{padding:4px 10px 0;vertical-align:top;float:right;}#replysubmit .button{margin-right:5px;}#replysubmit .error{color:red;line-height:21px;text-align:center;vertical-align:center;}#replyrow #editor-toolbar{display:none;}#replyhead{font-size:12px;font-weight:bold;padding:2px 10px 4px;}#edithead .inside{float:left;padding:3px 0 2px 5px;margin:0;text-align:center;font-size:11px;}#edithead .inside input{width:180px;font-size:11px;}#edithead label{padding:2px 0;}#replycontainer{padding:5px;border:0 none;height:120px;overflow:hidden;position:relative;}#replycontent{resize:none;margin:0;width:100%;height:100%;padding:0;line-height:150%;border:0 none;outline:none;font-size:12px;}#replyrow #ed_reply_toolbar{margin:0;padding:2px 3px;}.comment-ays{margin-bottom:0;border-style:solid;border-width:1px;}.comment-ays th{border-right-style:solid;border-right-width:1px;}.trash-undo-inside,.spam-undo-inside{margin:1px 8px 1px 0;line-height:16px;}.spam-undo-inside .avatar,.trash-undo-inside .avatar{height:20px;width:20px;margin-right:8px;vertical-align:middle;}.stuffbox .editcomment{clear:none;}#comment-status-radio p{margin:3px 0 5px;}#comment-status-radio input{margin:2px 3px 5px 0;vertical-align:middle;}#comment-status-radio label{padding:5px 0;}.commentlist .avatar{vertical-align:text-top;}.theme-install-php .tablenav{height:auto;}table#availablethemes{border-spacing:0;border-width:1px 0;border-style:solid none;margin:10px auto;width:100%;}table#availablethemes .no-items td{border-width:0;padding:5px;}td.available-theme{vertical-align:top;width:240px;margin:0;padding:20px;text-align:left;}table#availablethemes td{border-width:0 1px 1px;border-style:none solid solid;}table#availablethemes td.right,table#availablethemes td.left{border-right:0 none;border-left:0 none;}table#availablethemes td.bottom{border-bottom:0 none;}.available-theme a.screenshot{width:240px;height:180px;display:block;border-width:1px;border-style:solid;margin-bottom:10px;overflow:hidden;}.available-theme img{width:240px;}.available-theme h3{margin:15px 0 5px;}#current-theme{margin:1em 0 1.5em;}#current-theme a{border-bottom:none;}#current-theme h3{font-size:17px;font-weight:normal;margin:0;}#current-theme .theme-description{margin-top:5px;}#current-theme img{float:left;border-width:1px;border-style:solid;margin-right:1em;margin-bottom:1.5em;width:150px;}.theme-options span{text-transform:uppercase;font-size:13px;}.theme-options a{font-size:15px;}#TB_window #TB_title a.tb-theme-preview-link,#TB_window #TB_title a.tb-theme-preview-link:visited{font-weight:bold;text-decoration:none;}#TB_window #TB_title{background-color:#222;color:#cfcfcf;}#broken-themes{text-align:left;width:50%;border-spacing:3px;padding:3px;}.theme-install-php h4{margin:2.5em 0 8px;}.appearance_page_custom-header #headimg{border:1px solid #DFDFDF;min-height:100px;width:100%;}.appearance_page_custom-header #upload-form p label{font-size:11px;}.appearance_page_custom-header #available-headers .default-header{float:left;margin:0 20px 20px 0;}.appearance_page_custom-header #available-headers label input{margin-right:10px;}.appearance_page_custom-header #available-headers label img{vertical-align:middle;}div#custom-background-image{min-height:100px;border:1px solid #dfdfdf;}div#custom-background-image img{max-width:400px;max-height:300px;}#custom-background label{padding-right:15px;}.nav-tab{border-style:solid;border-color:#ccc #ccc #f9f9f9;border-width:1px 1px 0;color:#c1c1c1;text-shadow:rgba(255,255,255,1) 0 1px 0;font-size:12px;line-height:16px;display:inline-block;padding:4px 14px 6px;text-decoration:none;margin:0 6px -1px 0;-moz-border-radius:5px 5px 0 0;-webkit-border-top-left-radius:5px;-webkit-border-top-right-radius:5px;-khtml-border-top-left-radius:5px;-khtml-border-top-right-radius:5px;border-top-left-radius:5px;border-top-right-radius:5px;}.nav-tab-active{border-width:1px;color:#464646;}h2.nav-tab-wrapper,h3.nav-tab-wrapper{border-bottom:1px solid #ccc;padding-bottom:0;}h2 .nav-tab{padding:4px 20px 6px;font:italic normal normal 24px/35px Georgia,"Times New Roman","Bitstream Charter",Times,serif;}.plugins .name,#pass-strength-result.strong,#pass-strength-result.short,.button-highlighted,input.button-highlighted,#quicktags #ed_strong,#ed_reply_toolbar #ed_reply_strong{font-weight:bold;}.plugins p{margin:0 4px;padding:0;}.plugins .desc p{margin:0 0 8px;}.plugins td.desc{line-height:1.5em;}.plugins .desc ul,.plugins .desc ol{margin:0 0 0 2em;}.plugins .desc ul{list-style-type:disc;}.plugins .row-actions-visible{padding:0;}.plugins tbody th.check-column{padding:7px 0;}.plugins td,.plugins th{border-bottom:0 none;}.plugins .inactive td,.plugins .inactive th,.plugins .active td,.plugins .active th{border-top-style:solid;border-top-width:1px;padding:5px 7px 0;}#wpbody-content .plugins .plugin-title,#wpbody-content .plugins .theme-title{padding-right:12px;white-space:nowrap;}.plugins .second,.plugins .row-actions-visible{padding:0 0 5px;}.plugins-php .widefat tfoot th,.plugins-php .widefat tfoot td{border-top-style:solid;border-top-width:1px;}.plugin-update-tr .update-message{margin:5px;padding:3px 5px;border-width:1px;border-style:solid;-moz-border-radius:5px;-khtml-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;}.plugin-install-php h4{margin:2.5em 0 8px;}#profile-page .form-table textarea{width:500px;margin-bottom:6px;}#profile-page .form-table #rich_editing{margin-right:5px;}#your-profile legend{font-family:Georgia,"Times New Roman","Bitstream Charter",Times,serif;font-size:22px;}#your-profile #rich_editing{border:none;}#display_name{width:15em;}#createuser .form-field input{width:25em;}#utc-time,#local-time{padding-left:25px;font-style:italic;font-family:"Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif;}.defaultavatarpicker .avatar{margin:2px 0;vertical-align:middle;}#footer{margin-top:-46px;border-top:1px;border-style:solid;}#footer,#footer a{font-size:12px;font-family:Georgia,"Times New Roman","Bitstream Charter",Times,serif;font-style:italic;}#footer p{margin:0;padding:15px;line-height:15px;}#footer a{text-decoration:none;}#footer a:hover{text-decoration:underline;}#excerpt,.attachmentlinks{margin:0;height:4em;width:98%;}#template div{margin-right:190px;}p.pagenav{margin:0;display:inline;}.pagenav span{font-weight:bold;margin:0 6px;}.row-title{font-size:12px!important;font-weight:bold;}.column-author img,.column-username img{float:left;margin-right:10px;margin-top:3px;}.row-actions{visibility:hidden;padding:2px 0 0;}tr:hover .row-actions,div.comment-item:hover .row-actions{visibility:visible;}.row-actions-visible{padding:2px 0 0;}.form-table .pre{padding:8px;margin:0;}table.form-table td .updated{font-size:13px;}.tagchecklist{margin-left:14px;font-size:12px;overflow:auto;}.tagchecklist strong{margin-left:-8px;position:absolute;}.tagchecklist span{margin-right:25px;display:block;float:left;font-size:11px;line-height:1.8em;white-space:nowrap;cursor:default;}.tagchecklist span a{margin:6px 0 0 -9px;cursor:pointer;width:10px;height:10px;display:block;float:left;text-indent:-9999px;overflow:hidden;position:absolute;}#poststuff h2{margin-top:20px;font-size:1.5em;margin-bottom:15px;padding:0 0 3px;clear:left;}#poststuff h3,.metabox-holder h3{font-size:12px;font-weight:bold;padding:7px 9px;margin:0;line-height:1;}#poststuff .inside,#poststuff .inside p{font-size:11px;margin:6px 6px 8px;}#poststuff .inside .submitbox p{margin:1em 0;}#post-visibility-select,#post-formats-select{line-height:1.5em;margin-top:3px;}#poststuff #submitdiv .inside{margin:0;}#titlediv,#poststuff .postarea{margin-bottom:20px;}td.post-title strong,td.plugin-title strong{display:block;margin-bottom:.2em;}td.post-title p,td.plugin-title p{margin:6px 0;}.wp-hidden-children .wp-hidden-child,.ui-tabs-hide{display:none;}#templateside ul li a{text-decoration:none;}.tool-box{margin:15px 0 35px;}.tool-box .buttons{margin:15px 0;}.tool-box .title{margin:8px 0;font:18px/24px Georgia,"Times New Roman","Bitstream Charter",Times,serif;}.pressthis a{font-size:1.2em;}#sidemenu{margin:-30px 15px 0 315px;list-style:none;position:relative;float:right;padding-left:10px;font-size:12px;}#sidemenu a{padding:0 7px;display:block;float:left;line-height:28px;border-top-width:1px;border-top-style:solid;border-bottom-width:1px;border-bottom-style:solid;}#sidemenu li{display:inline;line-height:200%;list-style:none;text-align:center;white-space:nowrap;margin:0;padding:0;}#sidemenu a.current{font-weight:normal;padding-left:6px;padding-right:6px;-moz-border-radius:4px 4px 0 0;-webkit-border-top-left-radius:4px;-webkit-border-top-right-radius:4px;-khtml-border-top-left-radius:4px;-khtml-border-top-right-radius:4px;border-top-left-radius:4px;border-top-right-radius:4px;border-width:1px;border-style:solid;}#sidemenu li a .count-0{display:none;}#poststuff .inside .the-tagcloud{margin:5px 0 10px;padding:8px;border-width:1px;border-style:solid;line-height:1.8em;word-spacing:3px;-moz-border-radius:6px;-khtml-border-radius:6px;-webkit-border-radius:6px;border-radius:6px;}.plugin-install #description,.plugin-install-network #description{width:60%;}table .vers,table .column-visible,table .column-rating{text-align:left;}body.iframe{height:98%;}.anchors{margin:10px 20px 10px 20px;}div.nav{height:2em;padding:7px 10px;vertical-align:text-top;margin:5px 0;}.nav .button-secondary{padding:2px 4px;}* html #themeselect{padding:0 3px;height:22px;}.settings-toggle{text-align:right;margin:5px 7px 15px 0;font-size:12px;}.settings-toggle h3{margin:0;}form#tags-filter{position:relative;}td.media-icon{text-align:center;width:80px;padding-top:8px;padding-bottom:8px;}td.media-icon img{max-width:80px;max-height:60px;}.screen-per-page{width:3em;}* html #template div{margin-right:0;}.list-ajax-loading{float:right;margin-right:9px;margin-top:-1px;}.tablenav .list-ajax-loading{margin-top:7px;}#howto{font-size:11px;margin:0 5px;display:block;}.import-system{font-size:16px;}#namediv table{width:100%;}#namediv td.first{width:10px;white-space:nowrap;}#namediv input{width:98%;}#namediv p{margin:10px 0;}#submitdiv h3{margin-bottom:0!important;}.zerosize{height:0;width:0;margin:0;border:0;padding:0;overflow:hidden;position:absolute;}br.clear{height:2px;line-height:2px;}.checkbox{border:none;margin:0;padding:0;}#content{margin:0;width:100%;}fieldset{border:0;padding:0;margin:0;}#linksubmitdiv div.inside,div.inside{padding:0;margin:0;}.post-categories{display:inline;margin:0;padding:0;}.post-categories li{display:inline;} \ No newline at end of file +p,ul,ol,blockquote,input,select{font-size:12px;}ol{list-style-type:decimal;margin-left:2em;}.code,code{font-family:Consolas,Monaco,monospace;}kbd,code{padding:1px 3px;margin:0 1px;font-size:11px;}.quicktags,.search{font:12px Georgia,"Times New Roman","Bitstream Charter",Times,serif;}.icon32{float:left;height:34px;margin:7px 8px 0 0;width:36px;}.key-labels label{line-height:24px;}.pre{white-space:pre-wrap;white-space:-moz-pre-wrap!important;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word;}.howto{font-style:italic;display:block;font-family:Arial,"Bitstream Vera Sans",Helvetica,Verdana,sans-serif;}p.install-help{margin:8px 0;font-style:italic;}textarea,input[type="text"],input[type="password"],input[type="file"],input[type="button"],input[type="submit"],input[type="reset"],select{border-width:1px;border-style:solid;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;}select option{padding:2px;}.submit{padding:1.5em 0;margin:5px 0;-moz-border-radius:0 0 3px 3px;-webkit-border-bottom-left-radius:3px;-webkit-border-bottom-right-radius:3px;-khtml-border-bottom-left-radius:3px;-khtml-border-bottom-right-radius:3px;border-bottom-left-radius:3px;border-bottom-right-radius:3px;}form p.submit a.cancel:hover{text-decoration:none;}.submit input,.button,input.button,.button-primary,input.button-primary,.button-secondary,input.button-secondary,.button-highlighted,input.button-highlighted,#postcustomstuff .submit input{text-decoration:none;font-size:12px!important;line-height:13px;padding:3px 8px;cursor:pointer;border-width:1px;border-style:solid;-moz-border-radius:11px;-khtml-border-radius:11px;-webkit-border-radius:11px;border-radius:11px;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;-khtml-box-sizing:content-box;box-sizing:content-box;}#minor-publishing-actions input,#major-publishing-actions input,#minor-publishing-actions .preview{min-width:80px;text-align:center;}textarea.all-options,input.all-options{width:250px;}input.large-text,textarea.large-text{width:99%;}input.regular-text,#adduser .form-field input{width:25em;}input.small-text{width:50px;}#doaction,#doaction2,#post-query-submit{margin-right:8px;}.tablenav select[name="action"],.tablenav select[name="action2"]{width:130px;}.tablenav select[name="m"]{width:155px;}.tablenav select#cat{width:170px;}#wpcontent select{padding:2px;height:2em;font-size:12px;}#wpcontent option{padding:2px;}#timezone_string option{margin-left:1em;}label,#your-profile label+a{vertical-align:middle;}#misc-publishing-actions label{vertical-align:baseline;}#pass-strength-result{border-style:solid;border-width:1px;float:left;margin:13px 5px 5px 1px;padding:3px 5px;text-align:center;width:200px;display:none;}.indicator-hint{padding-top:8px;}p.search-box{float:right;margin:0;}#major-publishing-actions{padding:10px 10px 8px;clear:both;border-top:none;}#delete-action{line-height:25px;vertical-align:middle;text-align:left;float:left;}#publishing-action{text-align:right;float:right;line-height:23px;}#post-body #minor-publishing{padding-bottom:10px;}#post-body #misc-publishing-actions{padding:0;}#post-body .misc-pub-section{border-right-width:1px;border-right-style:solid;border-bottom:0 none;min-height:30px;float:left;max-width:32%;}#post-body .misc-pub-section-last{border-right:0;}#misc-publishing-actions{padding:6px 0 16px 0;}.misc-pub-section{padding:6px 10px;border-width:1px 0;border-style:solid;}.misc-pub-section:first-child{border-top-width:0;}.misc-pub-section-last{border-bottom-width:0;}#minor-publishing-actions{padding:10px 10px 2px 8px;text-align:right;}#minor-publishing{border-bottom-width:1px;border-bottom-style:solid;-webkit-box-shadow:0 1px 0 #fff;-moz-box-shadow:0 1px 0 #fff;box-shadow:0 1px 0 #fff;}#save-post{float:left;}#minor-publishing .ajax-loading{padding:3px 0 0 4px;float:left;}.preview{float:right;}#sticky-span{margin-left:18px;}#post-status-display,#post-visibility-display{font-weight:bold;}.side-info{margin:0;padding:4px;font-size:11px;}.side-info h5{padding-bottom:7px;font-size:14px;margin:12px 2px 5px;border-bottom-width:1px;border-bottom-style:solid;}.side-info ul{margin:0;padding-left:18px;list-style:square;}a.button,a.button-primary,a.button-secondary{line-height:15px;padding:3px 10px;white-space:nowrap;-webkit-border-radius:10px;}.approve{display:none;}.unapproved .approve,.spam .approve,.trash .approve{display:inline;}.unapproved .unapprove{display:none;}td.action-links,th.action-links{text-align:right;}.describe .del-link{padding-left:5px;}#update-nag,.update-nag{line-height:19px;padding:5px 0;font-size:12px;text-align:center;margin:0 15px;border-width:1px;border-style:solid;border-top-width:0;border-top-style:none;-moz-border-radius:0 0 3px 3px;-webkit-border-bottom-right-radius:3px;-webkit-border-bottom-left-radius:3px;-khtml-border-bottom-right-radius:3px;-khtml-border-bottom-left-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;}.plugins .plugin-update{padding:0;}.plugin-update .update-message{margin:0 10px 8px 31px;font-weight:bold;}ul#dismissed-updates{display:none;}form.upgrade{margin-top:8px;}form.upgrade .hint{font-style:italic;font-size:85%;margin:-0.5em 0 2em 0;}.ajax-feedback{visibility:hidden;vertical-align:bottom;}#ajax-response.alignleft{margin-left:2em;}#editorcontainer #content{font-family:Consolas,Monaco,monospace;padding:6px;line-height:150%;border:0 none;outline:none;resize:vertical;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;-khtml-box-sizing:border-box;box-sizing:border-box;}#editorcontainer,#quicktags{border-style:solid;border-width:1px;border-collapse:separate;-moz-border-radius:3px 3px 0 0;-webkit-border-top-right-radius:3px;-webkit-border-top-left-radius:3px;-khtml-border-top-right-radius:3px;-khtml-border-top-left-radius:3px;border-top-right-radius:3px;border-top-left-radius:3px;}#quicktags{padding:0;margin-bottom:-3px;border-bottom-width:3px;background-image:url("../images/ed-bg.gif");background-position:left top;background-repeat:repeat-x;}#quicktags #ed_toolbar{padding:2px 4px 0;}#ed_toolbar input,#ed_reply_toolbar input{margin:3px 1px 4px;line-height:18px;display:inline-block;min-width:26px;padding:2px 4px;font-size:12px;}#ed_reply_toolbar input{margin:1px 2px 1px 1px;}#quicktags #ed_link,#ed_reply_toolbar #ed_reply_link{text-decoration:underline;}#quicktags #ed_del,#ed_reply_toolbar #ed_reply_del{text-decoration:line-through;}#quicktags #ed_em,#ed_reply_toolbar #ed_reply_em{font-style:italic;}#wp_editbtns,#wp_gallerybtns{padding:2px;position:absolute;display:none;z-index:999998;}#wp_editimgbtn,#wp_delimgbtn,#wp_editgallery,#wp_delgallery{margin:2px;padding:2px;border-width:1px;border-style:solid;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;}.fullscreen-overlay{z-index:149999;display:none;position:fixed;top:0;bottom:0;left:0;right:0;filter:inherit;}.fullscreen-active .fullscreen-overlay,.fullscreen-active #wp-fullscreen-body{display:block;}.fullscreen-fader{z-index:200000;}.fullscreen-active .fullscreen-fader{display:none;}#wp-fullscreen-body{width:100%;z-index:150005;display:none;position:absolute;top:0;left:0;}#wp-fullscreen-wrap{margin:0 auto 50px;position:relative;padding-top:60px;}#wp-fullscreen-title{font-size:1.7em;line-height:100%;outline:medium none;padding:6px 7px;width:100%;margin-bottom:30px;}#wp-fullscreen-container{padding:4px 10px 50px;}#wp-fullscreen-title,#wp-fullscreen-container{-moz-border-radius:0;-khtml-border-radius:0;-webkit-border-radius:0;border-radius:0;border:1px dashed transparent;background:transparent;-moz-transition-property:border-color;-moz-transition-duration:.6s;-webkit-transition-property:border-color;-webkit-transition-duration:.6s;-o-transition-property:border-color;-o-transition-duration:.6s;transition-property:border-color;transition-duration:.6s;}#wp_mce_fullscreen{width:100%;min-height:300px;border:0;background:transparent;font-family:Consolas,Monaco,monospace;line-height:1.6em;padding:0;overflow-y:hidden;outline:none;resize:none;}#wp-fullscreen-tagline{color:#BBB;font-size:18px;float:right;padding-top:5px;}#fullscreen-topbar{position:fixed;top:0;left:0;z-index:150050;border-bottom-style:solid;border-bottom-width:1px;min-width:800px;width:100%;height:40px;}#wp-fullscreen-toolbar{padding:6px 10px 0;clear:both;max-width:1100px;min-width:820px;margin:0 auto;}#wp-fullscreen-mode-bar,#wp-fullscreen-button-bar,#wp-fullscreen-close,#wp-fullscreen-count{float:left;}#wp-fullscreen-save{float:right;}#wp-fullscreen-save{padding:2px 2px 0 5px;}#wp-fullscreen-count,#wp-fullscreen-close{padding-top:5px;}#wp-fullscreen-central-toolbar{margin:auto;padding:0;}#wp-fullscreen-buttons>div{float:left;}#wp-fullscreen-mode-bar{padding:1px 14px 0 0;}#wp-fullscreen-modes a{display:block;font-size:11px;text-decoration:none;float:left;margin:1px 0 0 0;padding:2px 6px 2px;border-width:1px 1px 1px 0;border-style:solid;border-color:#bbb;color:#777;text-shadow:0 1px 0 #fff;background-color:#f4f4f4;background-image:-moz-linear-gradient(bottom,#e4e4e4,#f9f9f9);background-image:-webkit-gradient(linear,left bottom,left top,from(#e4e4e4),to(#f9f9f9));}#wp-fullscreen-modes a:hover,.wp-html-mode #wp-fullscreen-modes a:last-child,.wp-tmce-mode #wp-fullscreen-modes a:first-child{color:#333;border-color:#999;background-color:#eee;background-image:-moz-linear-gradient(bottom,#f9f9f9,#e0e0e0);background-image:-webkit-gradient(linear,left bottom,left top,from(#f9f9f9),to(#e0e0e0));}#wp-fullscreen-modes a:first-child{border-width:1px;-moz-border-radius:3px 0 0 3px;-webkit-border-top-left-radius:3px;-webkit-border-bottom-left-radius:3px;-khtml-border-top-left-radius:3px;-khtml-border-bottom-left-radius:3px;border-top-left-radius:3px;border-bottom-left-radius:3px;}#wp-fullscreen-modes a:last-child{-moz-border-radius:0 3px 3px 0;-webkit-border-top-right-radius:3px;-webkit-border-bottom-right-radius:3px;-khtml-border-top-right-radius:3px;-khtml-border-bottom-right-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;}#wp-fullscreen-buttons .active a{background:inherit;}#wp-fullscreen-buttons .hidden{display:none;}#wp-fullscreen-buttons .disabled{opacity:.5;}.wp-html-mode #wp-fullscreen-buttons div{display:none;}.wp-html-mode #wp-fullscreen-buttons div.wp-fullscreen-both{display:block;}#fullscreen-topbar.fullscreen-make-sticky{display:block!important;}#wp-fullscreen-save img{vertical-align:middle;}#wp-fullscreen-save img,#wp-fullscreen-save span{padding-right:4px;display:none;}#wp-fullscreen-buttons .mce_image .mce_image{background-image:url("../images/menu.png?ver=20100531");background-position:-124px -38px;}#wp-fullscreen-buttons .mce_image .mce_image:hover{background-position:-124px -6px;}.fullscreen-active #TB_overlay{z-index:150100;}.fullscreen-active #TB_window{z-index:150102;}#wp_mce_fullscreen_ifr{background:transparent;}#wp_mce_fullscreen_parent #wp_mce_fullscreen_tbl tr.mceFirst{display:none;}#wp-fullscreen-container .wp_themeSkin table td{vertical-align:top;}#wphead-info{margin:0 0 0 15px;}#user_info{float:right;font-size:12px;line-height:26px;height:25px;position:relative;z-index:49;border-style:solid;border-width:0;margin-top:3px;padding:0 2px 0 6px;}#user_info.active{border-width:1px;margin-right:-1px;margin-top:2px;-moz-border-radius:3px 3px 0 0;-webkit-border-top-right-radius:3px;-webkit-border-top-left-radius:3px;-khtml-border-top-right-radius:3px;-khtml-border-top-left-radius:3px;border-top-right-radius:3px;border-top-left-radius:3px;}#user_info p{margin:0;padding:0;line-height:25px;cursor:pointer;}#user_info .hide-if-no-js p{margin:0 20px 0 0;}#user_info:hover .hide-if-no-js p{text-decoration:underline;}#user_info.active .hide-if-no-js p{text-decoration:none;}#user_info_arrow{height:22px;width:22px;position:absolute;right:3px;top:0;cursor:pointer;}#user_info_links_wrap{min-width:100px;width:100%;position:absolute;top:25px;right:0;padding:0;text-shadow:rgba(255,255,255,0.7) 0 1px 0;}#user_info_links{position:absolute;left:-1px;right:-1px;overflow:hidden;}#user_info.active #user_info_links ul{margin-top:0;-moz-transition:margin-top 200ms;-webkit-transition:margin-top 200ms;-o-transition:margin-top 200ms;transition:margin-top 200ms;}#user_info_links ul{border-width:1px;border-style:solid;margin-top:-1000px;-moz-transition:margin-top 500ms ease-in;-webkit-transition:margin-top 500ms ease-in;-o-transition:margin-top 500ms ease-in;transition:margin-top 500ms ease-in;}#user_info_links,#user_info_links ul,#user_info_links li:last-child{-moz-border-radius:0 0 3px 3px;-webkit-border-bottom-right-radius:3px;-webkit-border-bottom-left-radius:3px;-khtml-border-bottom-right-radius:3px;-khtml-border-bottom-left-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;}#user_info_links li{display:block;margin:0;}#user_info_links a{display:block;padding:6px 8px;}#wphead{height:32px;margin-right:15px;margin-left:2px;}#wphead a,#adminmenu a,#sidemenu a,#taglist a,#catlist a,#show-settings a{text-decoration:none;}#header-logo{float:left;margin:7px 0;-webkit-user-select:none;-moz-user-select:none;-khtml-user-select:none;user-select:none;}#wphead h1{font:normal 16px Georgia,"Times New Roman","Bitstream Charter",Times,serif;padding:6px 8px 5px;margin:0;float:left;}#wphead h1 a:hover{text-decoration:none;}#wphead h1 a:hover #site-title{text-decoration:underline;}#favorite-actions{margin:0 12px 0 15px;min-width:130px;position:relative;display:inline-block;top:-1px;}#favorite-first{-moz-border-radius:12px;-khtml-border-radius:12px;-webkit-border-radius:12px;border-radius:12px;line-height:15px;padding:0 30px 0 0;border-width:1px;border-style:solid;}#favorite-inside{margin:0;padding:2px 1px;border-width:1px;border-style:solid;position:absolute;z-index:11;display:none;-moz-border-radius:0 0 12px 12px;-webkit-border-bottom-right-radius:12px;-webkit-border-bottom-left-radius:12px;-khtml-border-bottom-right-radius:12px;-khtml-border-bottom-left-radius:12px;border-bottom-right-radius:12px;border-bottom-left-radius:12px;}#favorite-first a{padding:2px 0 2px 12px;}#favorite-actions a{display:block;text-decoration:none;font-size:11px;}#favorite-inside a{padding:3px 5px 3px 10px;line-height:20px;}#favorite-toggle{height:18px;position:absolute;right:0;top:1px;width:28px;border-width:0 0 0 1px;border-style:solid;}#favorite-actions .slide-down{-moz-border-radius:12px 12px 0 0;-webkit-border-bottom-right-radius:0;-webkit-border-bottom-left-radius:0;-khtml-border-bottom-right-radius:0;-khtml-border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0;border-bottom:none;}#screen-meta{position:relative;clear:both;}#screen-meta-links{margin:0 19px 0 0;}#screen-meta .screen-reader-text{visibility:hidden;}#screen-options-link-wrap,#contextual-help-link-wrap{float:right;height:22px;padding:0;margin:0 0 0 6px;font-family:Arial,"Bitstream Vera Sans",Helvetica,Verdana,sans-serif;-moz-border-radius-bottomleft:3px;-moz-border-radius-bottomright:3px;-webkit-border-bottom-left-radius:3px;-webkit-border-bottom-right-radius:3px;border-bottom-left-radius:3px;border-bottom-right-radius:3px;}#contextual-help-wrap li{list-style-type:disc;margin-left:18px;}.toggle-arrow{background-repeat:no-repeat;background-position:top left;background-color:transparent;height:22px;line-height:22px;display:block;}.toggle-arrow-active{background-position:bottom left;}#screen-meta a.show-settings{text-decoration:none;z-index:1;padding:0 16px 0 6px;height:22px;line-height:22px;font-size:12px;display:block;text-shadow:rgba(255,255,255,0.7) 0 1px 0;}#screen-meta a.show-settings:hover{text-decoration:none;}#screen-options-wrap h5,#contextual-help-wrap h5{margin:8px 0;font-size:13px;}#screen-options-wrap,#contextual-help-wrap{border-style:none solid solid;border-top:0 none;border-width:0 1px 1px;margin:0 15px 0 0;padding:8px 12px 12px;}.metabox-prefs label{display:inline-block;padding-right:15px;white-space:nowrap;line-height:30px;}.metabox-prefs label input{margin:0 5px 0 2px;}.metabox-prefs label a{display:none;}#adminmenuback,#adminmenuwrap{border-width:0 1px 0 0;border-style:solid;}#adminmenuwrap{position:relative;}#adminmenushadow{position:absolute;top:0;right:0;bottom:0;width:6px;z-index:20;}#adminmenu *{-webkit-user-select:none;-moz-user-select:none;-khtml-user-select:none;user-select:none;}#adminmenu .wp-submenu{display:none;list-style:none;padding:0;margin:0;position:relative;z-index:2;}#adminmenu .wp-submenu a{font-size:12px;line-height:18px;}#adminmenu .wp-submenu li.current,#adminmenu .wp-submenu li.current a,#adminmenu .wp-submenu li.current a:hover{font-weight:bold;}#adminmenu a.menu-top,#adminmenu .wp-submenu-head{font-size:13px;line-height:18px;}#adminmenu div.wp-submenu-head{display:none;}.js.folded #adminmenu div.wp-submenu-head{display:block;}.js.folded #adminmenu a.menu-top,body.no-js #adminmenu .wp-menu-toggle,.js.folded #adminmenu div.wp-menu-toggle{display:none;}body.js #adminmenu li.wp-menu-open .wp-submenu,body.no-js #adminmenu .open-if-no-js .wp-submenu,body.no-js #adminmenu li.wp-has-current-submenu .wp-submenu{display:block;}#adminmenu div.wp-menu-image{float:left;width:28px;height:28px;}.js.folded #adminmenu div.wp-menu-image{width:32px;}#adminmenu li{margin:0;padding:0;cursor:pointer;}#adminmenu a{display:block;line-height:18px;padding:2px 5px;}#adminmenu li.menu-top{min-height:26px;position:relative;}#adminmenu a.menu-top{font-weight:bold;line-height:18px;min-width:10em;padding:5px 5px;border-width:1px 0 1px;border-style:solid;}#adminmenu li.wp-menu-open{border-width:0 0 1px;border-style:solid;}#adminmenu .wp-submenu a{margin:0;padding-left:12px;}.wp-menu-arrow{display:none;}#adminmenu li.wp-has-current-submenu .wp-menu-arrow,#adminmenu li.menu-top.current .wp-menu-arrow{display:block;position:absolute;right:-9px;top:0;cursor:auto;z-index:25;}#adminmenu .wp-menu-arrow div{width:15px;height:30px;background:url(../images/menu-arrow-frame.png) top right no-repeat;}#adminmenu .wp-submenu li{padding:0;margin:0;}.js.folded #adminmenu li.menu-top{width:32px;height:29px;border-width:1px 0;border-style:solid;}#adminmenu .wp-menu-image img{float:left;padding:8px 6px 0;opacity:.6;filter:alpha(opacity=60);}#adminmenu li.menu-top:hover .wp-menu-image img,#adminmenu li.wp-has-current-submenu .wp-menu-image img{opacity:1;filter:alpha(opacity=100);}#adminmenu li.wp-menu-separator{height:3px;padding:0;margin:0;border-width:1px 0;border-style:solid;cursor:inherit;}#adminmenu div.separator{height:1px;padding:0;border-width:1px 0 0 0;border-style:solid;}.js.folded #adminmenu .wp-submenu{display:block;position:absolute;top:-5px;left:26px;z-index:999;width:0;padding:0;overflow:hidden;-moz-transition:width 200ms ease-out;-webkit-transition:width 200ms ease-out;-o-transition:width 200ms ease-out;transition:width 200ms ease-out;}.js.folded #adminmenu .wp-submenu.sub-open{padding:0 8px 8px 0;}#adminmenu .wp-submenu .wp-submenu-head{padding:6px 4px 5px 10px;cursor:default;border-width:1px 0;border-style:solid;}.js.folded #adminmenu .wp-submenu-wrap{margin-top:4px;border-width:0 1px 1px 0;border-style:solid;position:relative;-webkit-border-bottom-right-radius:3px;-webkit-border-top-right-radius:3px;-khtml-border-bottom-right-radius:3px;-khtml-border-top-right-radius:3px;-moz-border-radius-bottomright:3px;-moz-border-radius-topright:3px;border-bottom-right-radius:3px;border-top-right-radius:3px;}.js.folded #adminmenu .wp-submenu ul{border-width:0 0 0 1px;border-style:solid;}.js.folded #adminmenu .wp-submenu a{padding-left:10px;}.js.folded #adminmenu a.wp-has-submenu{margin-left:40px;}#adminmenu .wp-menu-toggle{width:18px;clear:right;float:right;margin:1px 0 0;height:27px;padding:1px 2px 0 0;cursor:pointer;}#adminmenu .wp-menu-image a{height:24px;}#adminmenu .wp-menu-image img{padding:6px 0 0 1px;}#adminmenu .awaiting-mod,#adminmenu span.update-plugins,#sidemenu li a span.update-plugins{position:absolute;font-family:Arial,"Bitstream Vera Sans",Helvetica,Verdana,sans-serif;font-size:9px;line-height:17px;font-weight:bold;margin-top:1px;margin-left:7px;-moz-border-radius:10px;-khtml-border-radius:10px;-webkit-border-radius:10px;border-radius:10px;}#adminmenu li .awaiting-mod span,#adminmenu li span.update-plugins span,#sidemenu li a span.update-plugins span{display:block;padding:0 6px;}#adminmenu li span.count-0,#sidemenu li a .count-0{display:none;}.post-com-count-wrapper{min-width:22px;font-family:Arial,"Bitstream Vera Sans",Helvetica,Verdana,sans-serif;}.post-com-count{height:1.3em;line-height:1.1em;display:block;text-decoration:none;padding:0 0 6px;cursor:pointer;background-position:center -80px;background-repeat:no-repeat;}.post-com-count span{font-size:11px;font-weight:bold;height:1.4em;line-height:1.4em;min-width:.7em;padding:0 6px;display:inline-block;cursor:pointer;-moz-border-radius:5px;-khtml-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;}strong .post-com-count{background-position:center -55px;}.post-com-count:hover{background-position:center -3px;}.column-response .post-com-count{float:left;margin-right:5px;text-align:center;}.response-links{float:left;}#the-comment-list .attachment-80x60{padding:4px 8px;}#collapse-menu{font-size:12px;line-height:34px;}.js.folded #collapse-menu span{display:none;}#collapse-button,#collapse-button div{width:15px;height:15px;}#collapse-button{float:left;margin:8px 6px;border-width:1px;border-style:solid;-moz-border-radius:10px;-khtml-border-radius:10px;-webkit-border-radius:10px;border-radius:10px;}body.wp-admin{min-width:785px;}body.admin-bar #wphead,body.admin-bar #adminmenu{padding-top:28px;}.narrow{width:70%;margin-bottom:40px;}.narrow p{line-height:150%;}.widefat th,.widefat td{overflow:hidden;}.widefat th{font-family:Georgia,"Times New Roman","Bitstream Charter",Times,serif;font-weight:normal;}.widefat td p{margin:2px 0 .8em;}.widefat .column-comment p{margin:.6em 0;}.postbox-container{float:left;padding-right:.5%;}.postbox-container .meta-box-sortables{min-height:300px;}.postbox .hndle{cursor:move;}.hndle a{font-size:11px;font-weight:normal;}.postbox .handlediv{float:right;width:27px;height:30px;cursor:pointer;}.sortable-placeholder{border-width:1px;border-style:dashed;margin-bottom:20px;}.widget,.postbox,.stuffbox{margin-bottom:20px;padding:0;border-width:1px;border-style:solid;line-height:1;}.widget .widget-top,.postbox h3,.stuffbox h3{margin-top:1px;border-bottom-width:1px;border-style:solid;cursor:move;-webkit-user-select:none;-moz-user-select:none;-khtml-user-select:none;user-select:none;}.postbox .inside,.stuffbox .inside{padding:0 10px;}.postbox.closed h3{border:none;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;}.postbox table.form-table{margin-bottom:0;}.postbox input[type="text"],.postbox textarea,.stuffbox input[type="text"],.stuffbox textarea{border-width:1px;border-style:solid;}.temp-border{border:1px dotted #ccc;}.columns-prefs label{padding:0 5px;}#wpbody-content .metabox-holder{padding-top:10px;}#dashboard-widgets .meta-box-sortables{margin:0 5px;}#dashboard_recent_comments div.undo{border-top-style:solid;border-top-width:1px;margin:0 -10px;padding:3px 8px;font-size:11px;}#the-comment-list td.comment p.comment-author{margin-top:0;margin-left:0;}#the-comment-list p.comment-author img{float:left;margin-right:8px;}#the-comment-list p.comment-author strong a{border:none;}#the-comment-list td{vertical-align:top;}#the-comment-list td.comment{word-wrap:break-word;}table.fixed{table-layout:fixed;}.fixed .column-rating,.fixed .column-visible{width:8%;}.fixed .column-date,.fixed .column-parent,.fixed .column-links{width:10%;}.fixed .column-response,.fixed .column-author,.fixed .column-categories,.fixed .column-tags,.fixed .column-rel,.fixed .column-role{width:15%;}.fixed .column-comments{width:4em;padding:8px 0;text-align:left;}.fixed .column-comments .vers{padding-left:3px;}.fixed .column-comments a{float:left;}.fixed .column-slug{width:25%;}.fixed .column-posts{width:10%;}.fixed .column-icon{width:80px;}#commentsdiv .fixed .column-author,#comments-form .fixed .column-author{width:20%;}#commentsdiv.postbox .inside{line-height:1.4em;margin:0;padding:0;}#commentsdiv.postbox .inside .row-actions{line-height:18px;}#commentsdiv.postbox .inside td{padding:1em 10px;}#commentsdiv.postbox .inside .column-author{width:33%;}#commentsdiv.postbox .inside p{margin:6px 10px 8px;}#commentsdiv.postbox .column-comment p{margin:.6em 0;}#commentsdiv.postbox #replyrow td{padding:0;}.sorting-indicator{display:none;width:7px;height:4px;margin-top:8px;margin-left:7px;background-image:url(../images/sort.gif);background-repeat:no-repeat;}.fixed .column-comments .sorting-indicator{margin-top:3px;}.widefat th.sortable,.widefat th.sorted{padding:0;}th.sortable a,th.sorted a{display:block;overflow:hidden;padding:7px 7px 8px;}.fixed .column-comments.sortable a,.fixed .column-comments.sorted a{padding:8px 0;}th.sortable a span,th.sorted a span{float:left;cursor:pointer;}th.sorted.asc .sorting-indicator,th.desc:hover span.sorting-indicator{display:block;background-position:0 0;}th.sorted.desc .sorting-indicator,th.asc:hover span.sorting-indicator{display:block;background-position:-7px 0;}.tablenav-pages a{border-bottom-style:solid;border-bottom-width:2px;font-weight:bold;margin-right:1px;padding:0 2px;}.tablenav-pages .current-page{text-align:center;}.tablenav-pages .next-page{margin-left:2px;}.tablenav a.button-secondary{display:block;margin:3px 8px 0 0;}.tablenav{clear:both;height:30px;margin:6px 0 4px;vertical-align:middle;}.tablenav .tablenav-pages{float:right;display:block;cursor:default;height:30px;line-height:30px;font-size:12px;}.tablenav .no-pages,.tablenav .one-page .pagination-links{display:none;}.tablenav .tablenav-pages a,.tablenav-pages span.current{text-decoration:none;border:none;padding:3px 6px;border-width:1px;border-style:solid;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;}.tablenav .tablenav-pages a.disabled:hover{cursor:default;}.tablenav .tablenav-pages a.disabled:active{cursor:default;}.tablenav .displaying-num{margin-right:10px;font-size:12px;font-family:Georgia,"Times New Roman","Bitstream Charter",Times,serif;font-style:italic;}.tablenav .actions{padding:2px 8px 0 0;}.tablenav .delete{margin-right:20px;}.view-switch{float:right;margin:6px 8px 0;}.view-switch a{text-decoration:none;}.filter{float:left;margin:-5px 0 0 10px;}.filter .subsubsub{margin-left:-10px;margin-top:13px;}.screen-per-page{width:3em;}#posts-filter fieldset{float:left;margin:0 1.5ex 1em 0;padding:0;}#posts-filter fieldset legend{padding:0 0 .2em 1px;}span.post-state-format{font-weight:normal;}tr.inline-edit-row td{padding:0 .5em;}#wpbody-content .inline-edit-row fieldset{font-size:12px;float:left;margin:0;padding:0;width:100%;}#wpbody-content .inline-edit-row fieldset .inline-edit-col{padding:0 .5em;}#wpbody-content .quick-edit-row-page fieldset.inline-edit-col-right .inline-edit-col{border-width:0 0 0 1px;border-style:none none none solid;}#wpbody-content .quick-edit-row-post .inline-edit-col-left{width:40%;}#wpbody-content .quick-edit-row-post .inline-edit-col-right{width:39%;}#wpbody-content .inline-edit-row-post .inline-edit-col-center{width:20%;}#wpbody-content .quick-edit-row-page .inline-edit-col-left{width:50%;}#wpbody-content .quick-edit-row-page .inline-edit-col-right,#wpbody-content .bulk-edit-row-post .inline-edit-col-right{width:49%;}#wpbody-content .bulk-edit-row .inline-edit-col-left{width:30%;}#wpbody-content .bulk-edit-row-page .inline-edit-col-right{width:69%;}#wpbody-content .bulk-edit-row .inline-edit-col-bottom{float:right;width:69%;}#wpbody-content .inline-edit-row-page .inline-edit-col-right{margin-top:27px;}.inline-edit-row fieldset .inline-edit-group{clear:both;}.inline-edit-row fieldset .inline-edit-group:after{content:".";display:block;height:0;clear:both;visibility:hidden;}.inline-edit-row p.submit{clear:both;padding:.5em;margin:.5em 0 0;}.inline-edit-row span.error{line-height:22px;margin:0 15px;padding:3px 5px;}.inline-edit-row h4{margin:.2em 0;padding:0;line-height:23px;}.inline-edit-row fieldset span.title,.inline-edit-row fieldset span.checkbox-title{margin:0;padding:0;line-height:27px;}.inline-edit-row fieldset label,.inline-edit-row fieldset span.inline-edit-categories-label{display:block;margin:.2em 0;}.inline-edit-row fieldset label.inline-edit-tags{margin-top:0;}.inline-edit-row fieldset label.inline-edit-tags span.title{margin:.2em 0;}.inline-edit-row fieldset label span.title{display:block;float:left;width:5em;}.inline-edit-row fieldset label span.input-text-wrap{display:block;margin-left:5em;}.quick-edit-row-post fieldset.inline-edit-col-right label span.title{width:auto;padding-right:.5em;}.inline-edit-row .input-text-wrap input[type=text]{width:100%;}.inline-edit-row fieldset label input[type=checkbox]{vertical-align:text-bottom;}.inline-edit-row fieldset label textarea{width:100%;height:4em;}#wpbody-content .bulk-edit-row fieldset .inline-edit-group label{max-width:50%;}#wpbody-content .quick-edit-row fieldset .inline-edit-group label.alignleft:first-child{margin-right:.5em;}.inline-edit-col-right .input-text-wrap input.inline-edit-menu-order-input{width:6em;}.inline-edit-row h4{text-transform:uppercase;}.inline-edit-row fieldset span.title,.inline-edit-row fieldset span.checkbox-title{font-family:Georgia,"Times New Roman","Bitstream Charter",Times,serif;font-style:italic;line-height:1.8em;}.inline-edit-row fieldset input[type="text"],.inline-edit-row fieldset textarea{border-style:solid;border-width:1px;}.inline-edit-row fieldset .inline-edit-date{float:left;}.inline-edit-row fieldset input[name=jj],.inline-edit-row fieldset input[name=hh],.inline-edit-row fieldset input[name=mn]{font-size:12px;width:2.1em;}.inline-edit-row fieldset input[name=aa]{font-size:12px;width:3.5em;}.inline-edit-row fieldset label input.inline-edit-password-input{width:8em;}.inline-edit-row .catshow,.inline-edit-row .cathide{cursor:pointer;}ul.cat-checklist{height:12em;border-style:solid;border-width:1px;overflow-y:scroll;padding:0 5px;margin:0;}#bulk-titles{display:block;height:12em;border-style:solid;border-width:1px;overflow-y:scroll;padding:0 5px;margin:0 0 5px;}.inline-edit-row fieldset ul.cat-checklist li,.inline-edit-row fieldset ul.cat-checklist input{margin:0;}.inline-edit-row fieldset ul.cat-checklist label,.inline-edit-row .catshow,.inline-edit-row .cathide,.inline-edit-row #bulk-titles div{font-family:Arial,"Bitstream Vera Sans",Helvetica,Verdana,sans-serif;font-style:normal;font-size:11px;}table .inline-edit-row fieldset ul.cat-hover{height:auto;max-height:30em;overflow-y:auto;position:absolute;}.inline-edit-row fieldset label input.inline-edit-menu-order-input{width:3em;}.inline-edit-row fieldset label input.inline-edit-slug-input{width:75%;}.quick-edit-row-post fieldset label.inline-edit-status{float:left;}#bulk-titles{line-height:140%;}#bulk-titles div{margin:.2em .3em;}#bulk-titles div a{cursor:pointer;display:block;float:left;height:10px;margin:3px 3px 0 -2px;overflow:hidden;position:relative;text-indent:-9999px;width:10px;}#titlediv{position:relative;margin-bottom:20px;}#titlediv label{cursor:text;}#titlediv div.inside{margin:0;}#poststuff #titlewrap{border:0;padding:0;}#titlediv #title{padding:3px 4px;border-width:1px;border-style:solid;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;font-size:1.7em;line-height:100%;width:100%;outline:none;}#titlediv #title-prompt-text,#wp-fullscreen-title-prompt-text{color:#bbb;position:absolute;font-size:1.7em;padding:8px;}#wp-fullscreen-title-prompt-text{left:0;padding:11px;}#poststuff .inside-submitbox,#side-sortables .inside-submitbox{margin:0 3px;font-size:11px;}input#link_description,input#link_url{width:98%;}#pending{background:0 none;border:0 none;padding:0;font-size:11px;margin-top:-1px;}#edit-slug-box{height:1em;margin-top:8px;padding:0 7px;}#editable-post-name-full{display:none;}#editable-post-name input{width:16em;}.postarea h3 label{float:left;}.postarea #add-media-button{float:right;margin:7px 0 0;position:relative;right:10px;}#poststuff #editor-toolbar{height:30px;}.wp_themeSkin tr.mceFirst td.mceToolbar{border-width:0 0 1px;border-style:none none solid;}#edButtonPreview,#edButtonHTML{height:18px;margin:5px 5px 0 0;padding:4px 5px 2px;float:right;cursor:pointer;border-width:1px;border-style:solid;-moz-border-radius:3px 3px 0 0;-webkit-border-top-right-radius:3px;-webkit-border-top-left-radius:3px;-khtml-border-top-right-radius:3px;-khtml-border-top-left-radius:3px;border-top-right-radius:3px;border-top-left-radius:3px;}.js .theEditor{color:white;}#poststuff #edButtonHTML{margin-right:15px;}#media-buttons{cursor:default;padding:8px 8px 0;}#media-buttons a{cursor:pointer;padding:0 0 5px 10px;}#media-buttons img,#submitpost #ajax-loading,#submitpost .ajax-loading{vertical-align:middle;}#wpcontent .ajax-loading{visibility:hidden;}.submitbox .submit{text-align:left;padding:12px 10px 10px;font-size:11px;}.submitbox .submitdelete{border-bottom-width:1px;border-bottom-style:solid;text-decoration:none;padding:1px 2px;}.inside-submitbox #post_status{margin:2px 0 2px -2px;}.submitbox .submit a:hover{border-bottom-width:1px;border-bottom-style:solid;}.submitbox .submit input{margin-bottom:8px;margin-right:4px;padding:6px;}#post-status-select,#post-format{line-height:2.5em;margin-top:3px;}#post-body #normal-sortables{min-height:50px;}#post-body #advanced-sortables{min-height:20px;}.postbox{-moz-border-radius:3px;-webkit-border-radius:3px;-khtml-border-radius:3px;border-radius:3px;position:relative;min-width:255px;}#trackback_url{width:99%;}#normal-sortables .postbox .submit{background:transparent none;border:0 none;float:right;padding:0 12px;margin:0;}#side-sortables .category-add input{width:94%;}#side-sortables .category-add select{width:100%;}#side-sortables .category-add input.category-add-sumbit,#post-body .category-add input.category-add input.category-add-sumbit{width:auto;}#post-body ul.category-tabs,#post-body ul.add-menu-item-tabs{float:left;width:120px;text-align:right;margin:0 -120px 0 5px;padding:0;}#post-body ul.category-tabs li,#post-body ul.add-menu-item-tabs li{padding:8px;}#post-body ul.category-tabs li.tabs,#post-body ul.add-menu-item-tabs li.tabs{-moz-border-radius:3px 0 0 3px;-webkit-border-top-left-radius:3px;-webkit-border-bottom-left-radius:3px;-khtml-border-top-left-radius:3px;-khtml-border-bottom-left-radius:3px;border-top-left-radius:3px;border-bottom-left-radius:3px;}#post-body ul.category-tabs li.tabs a,#post-body ul.add-menu-item-tabs li.tabs a{font-weight:bold;text-decoration:none;}.wp-tab-panel,.categorydiv div.tabs-panel,.customlinkdiv div.tabs-panel,.posttypediv div.tabs-panel,.taxonomydiv div.tabs-panel,#linkcategorydiv div.tabs-panel{height:200px;overflow:auto;padding:.5em .9em;border-style:solid;border-width:1px;}.nav-menus-php .customlinkdiv div.tabs-panel,.nav-menus-php .posttypediv div.tabs-panel,.nav-menus-php .taxonomydiv div.tabs-panel{height:auto;max-height:205px;}div.tabs-panel-active{display:block;}div.tabs-panel-inactive{display:none;}#post-body .categorydiv div.tabs-panel,.taxonomy div.tabs-panel,#post-body #linkcategorydiv div.tabs-panel{margin:0 5px 0 125px;}#side-sortables .category-tabs li,#side-sortables .add-menu-item-tabs li,.wp-tab-bar li{display:inline;line-height:1.35em;}#side-sortables .category-tabs a,#side-sortables .add-menu-item-tabs a,.wp-tab-bar a{text-decoration:none;}#side-sortables .category-tabs,#side-sortables .add-menu-item-tabs,.wp-tab-bar{margin-bottom:3px;}.categorydiv ul,.customlinkdiv ul,.posttypediv ul,.taxonomydiv ul,#linkcategorydiv ul{list-style:none;padding:0;margin:0;}#normal-sortables .postbox #replyrow .submit{float:none;margin:0;padding:3px 7px;}#side-sortables .submitbox .submit input,#side-sortables .submitbox .submit .preview,#side-sortables .submitbox .submit a.preview:hover{border:0 none;}#side-sortables .inside-submitbox .insidebox,.stuffbox .insidebox{margin:11px 0;}#side-sortables .comments-box,#normal-sortables .comments-box{border:0 none;}ul.category-tabs,ul.add-menu-item-tabs,ul.wp-tab-bar{margin-top:12px;}#side-sortables .comments-box thead th,#normal-sortables .comments-box thead th{background:transparent;padding:0 7px 4px;font-style:italic;}ul.category-tabs li.tabs,ul.add-menu-item-tabs li.tabs,.wp-tab-active{border-style:solid solid none;border-width:1px 1px 0;}#commentsdiv img.waiting{padding-left:5px;}#post-body .category-tabs li.tabs,#post-body .add-menu-item-tabs li.tabs{border-style:solid none solid solid;border-width:1px 0 1px 1px;margin-right:-1px;}ul.category-tabs li,ul.add-menu-item-tabs li,ul.wp-tab-bar li{padding:5px;-moz-border-radius:3px 3px 0 0;-webkit-border-top-left-radius:3px;-webkit-border-top-right-radius:3px;-khtml-border-top-left-radius:3px;-khtml-border-top-right-radius:3px;border-top-left-radius:3px;border-top-right-radius:3px;}form#tags-filter{position:relative;}.screen-per-page{width:3em;}#posts-filter fieldset{float:left;margin:0 1.5ex 1em 0;padding:0;}#posts-filter fieldset legend{padding:0 0 .2em 1px;}td.post-title strong,td.plugin-title strong{display:block;margin-bottom:.2em;}td.post-title p,td.plugin-title p{margin:6px 0;}.wp-hidden-children .wp-hidden-child,.ui-tabs-hide{display:none;}.commentlist .avatar{vertical-align:text-top;}#post-body .tagsdiv #newtag{margin-right:5px;width:16em;}#side-sortables input#post_password{width:94%;}#side-sortables .tagsdiv #newtag{width:68%;}#post-status-info{border-width:0 1px 1px;border-style:none solid solid;width:100%;-moz-border-radius:0 0 3px 3px;-webkit-border-bottom-left-radius:3px;-webkit-border-bottom-right-radius:3px;-khtml-border-bottom-left-radius:3px;-khtml-border-bottom-right-radius:3px;border-bottom-left-radius:3px;border-bottom-right-radius:3px;}#post-status-info td{font-size:12px;}.autosave-info{padding:2px 15px 2px 2px;text-align:right;}#editorcontent #post-status-info{border:none;}#post-body .wp_themeSkin .mceStatusbar a.mceResize{display:block;background:transparent url(../images/resize.gif) no-repeat scroll right bottom;width:12px;cursor:se-resize;margin:0 2px;position:relative;top:22px;}#wp-word-count{display:block;padding:2px 7px;}#timestampdiv select{height:20px;line-height:14px;padding:0;vertical-align:top;}#jj,#hh,#mn{width:2em;padding:1px;font-size:12px;}#aa{width:3.4em;padding:1px;font-size:12px;}.curtime #timestamp{background-repeat:no-repeat;background-position:left top;padding-left:18px;}#timestampdiv{padding-top:5px;line-height:23px;}#timestampdiv p{margin:8px 0 6px;}#timestampdiv input{border-width:1px;border-style:solid;}#postcustomstuff table,#postcustomstuff input,#postcustomstuff textarea{border-width:1px;border-style:solid;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;}#postcustomstuff .updatemeta,#postcustomstuff .deletemeta{margin:auto;}#postcustomstuff thead th{padding:5px 8px 8px;}#postcustom #postcustomstuff .submit{border:0 none;float:none;padding:5px 8px;}#side-sortables #postcustom #postcustomstuff .submit{padding:0 5px;}#side-sortables #postcustom #postcustomstuff td.left input{margin:3px 3px 0;}#side-sortables #postcustom #postcustomstuff #the-list textarea{height:85px;margin:3px;}#postcustomstuff table{margin:0;width:100%;border-width:1px;border-style:solid;border-spacing:0;}#postcustomstuff table input,#postcustomstuff table select,#postcustomstuff table textarea{width:95%;margin:8px 0 8px 8px;}#postcustomstuff th.left,#postcustomstuff td.left{width:38%;}#postcustomstuff .submit input{width:auto;}#postcustomstuff #newmeta .submit{padding:0 8px;}#postcustomstuff table #addmetasub{width:auto;}#postcustomstuff #newmetaleft{vertical-align:top;}#postcustomstuff #newmetaleft a{padding:0 10px;text-decoration:none;}table.diff{width:100%;}table.diff col.content{width:50%;}table.diff tr{background-color:transparent;}table.diff td,table.diff th{padding:.5em;font-family:Consolas,Monaco,monospace;border:none;}table.diff .diff-deletedline del,table.diff .diff-addedline ins{text-decoration:none;}.category-adder{margin-left:120px;padding:4px 0;}.category-adder h4{margin:0 0 8px;}#side-sortables .category-adder{margin:0;}#post-body .category-add input,.category-add select{width:30%;}#side-sortables .category-add select{width:100%;}#side-sortables .category-add input.category-add-sumbit,#post-body .category-add input.category-add input.category-add-sumbit{width:auto;}#post-body ul.category-tabs,#post-body ul.add-menu-item-tabs{float:left;width:120px;text-align:right;margin:0 -120px 0 5px;padding:0;}#post-body ul.category-tabs li,#post-body ul.add-menu-item-tabs li{padding:8px;}#post-body ul.category-tabs li.tabs,#post-body ul.add-menu-item-tabs li.tabs{-moz-border-radius:3px 0 0 3px;-webkit-border-top-left-radius:3px;-webkit-border-bottom-left-radius:3px;-khtml-border-top-left-radius:3px;-khtml-border-bottom-left-radius:3px;border-top-left-radius:3px;border-bottom-left-radius:3px;}#post-body ul.category-tabs li.tabs a,#post-body ul.add-menu-item-tabs li.tabs a{font-weight:bold;text-decoration:none;}.categorydiv div.tabs-panel,.customlinkdiv div.tabs-panel,.posttypediv div.tabs-panel,.taxonomydiv div.tabs-panel,#linkcategorydiv div.tabs-panel{height:200px;overflow:auto;padding:.5em .9em;border-style:solid;border-width:1px;}.nav-menus-php .customlinkdiv div.tabs-panel,.nav-menus-php .posttypediv div.tabs-panel,.nav-menus-php .taxonomydiv div.tabs-panel{height:auto;max-height:205px;}div.tabs-panel-active{display:block;}div.tabs-panel-inactive{display:none;}#post-body .categorydiv div.tabs-panel,.taxonomy div.tabs-panel,#post-body #linkcategorydiv div.tabs-panel{margin:0 5px 0 125px;}.categorydiv ul,.customlinkdiv ul,.posttypediv ul,.taxonomydiv ul,#linkcategorydiv ul{list-style:none;padding:0;margin:0;}#front-page-warning,#front-static-pages ul,ul.export-filters,.inline-editor ul.cat-checklist ul,.categorydiv ul.categorychecklist ul,.customlinkdiv ul.categorychecklist ul,.posttypediv ul.categorychecklist ul,.taxonomydiv ul.categorychecklist ul,#linkcategorydiv ul.categorychecklist ul{margin-left:18px;}ul.categorychecklist li{margin:0;padding:0;line-height:19px;word-wrap:break-word;}.categorydiv .tabs-panel,.customlinkdiv .tabs-panel,.posttypediv .tabs-panel,.taxonomydiv .tabs-panel{border-width:3px;border-style:solid;}ul.category-tabs,ul.add-menu-item-tabs{margin-top:12px;}ul.category-tabs li.tabs,ul.add-menu-item-tabs li.tabs{border-style:solid solid none;border-width:1px 1px 0;}#post-body .category-tabs li.tabs,#post-body .add-menu-item-tabs li.tabs{border-style:solid none solid solid;border-width:1px 0 1px 1px;margin-right:-1px;}ul.category-tabs li,ul.add-menu-item-tabs li{padding:5px;-moz-border-radius:3px 3px 0 0;-webkit-border-top-left-radius:3px;-webkit-border-top-right-radius:3px;-khtml-border-top-left-radius:3px;-khtml-border-top-right-radius:3px;border-top-left-radius:3px;border-top-right-radius:3px;}.form-wrap{margin:10px 0;width:97%;}.form-wrap p,.form-wrap label{font-size:11px;}.form-wrap label{display:block;padding:2px;font-size:12px;}.form-field input,.form-field textarea{border-style:solid;border-width:1px;width:95%;}p.description,.form-wrap p{margin:2px 0 5px;}p.help,p.description,span.description,.form-wrap p{font-size:12px;font-style:italic;font-family:Arial,"Bitstream Vera Sans",Helvetica,Verdana,sans-serif;}.form-wrap .form-field{margin:0 0 10px;padding:8px;}.col-wrap h3{margin:12px 0;font-size:1.1em;}.col-wrap p.submit{margin-top:-10px;}.taghint{color:#aaa;margin:15px 0 -24px 12px;}#poststuff .tagsdiv .howto{margin:0 0 6px 8px;}.ajaxtag .newtag{position:relative;}.tagsdiv .newtag{width:180px;}.tagsdiv .the-tags{display:block;height:60px;margin:0 auto;overflow:auto;width:260px;}#post-body-content .tagsdiv .the-tags{margin:0 5px;}p.popular-tags{-moz-border-radius:8px;-khtml-border-radius:8px;-webkit-border-radius:8px;border-radius:8px;border-width:1px;border-style:solid;line-height:2em;padding:8px 12px 12px;text-align:justify;}p.popular-tags a{padding:0 3px;}.tagcloud{width:97%;margin:0 0 40px;text-align:justify;}.tagcloud h3{margin:2px 0 12px;}.ac_results{padding:0;margin:0;list-style:none;position:absolute;z-index:10000;display:none;border-width:1px;border-style:solid;}.ac_results li{padding:2px 5px;white-space:nowrap;text-align:left;}.ac_over{cursor:pointer;}.ac_match{text-decoration:underline;}#wpbody-content #media-items .describe{border-collapse:collapse;width:100%;border-top-style:solid;border-top-width:1px;clear:both;cursor:default;padding:5px;}#wpbody-content .describe th{vertical-align:top;text-align:left;padding:10px;width:140px;}#wpbody-content .describe .media-item-info tr{background-color:transparent;}#wpbody-content .describe .media-item-info td{padding:4px 10px 0;}.describe .media-item-info .A1B1{padding:0 0 0 10px;}#wpbody-content .filename{padding:0 10px;}#wpbody-content .media-item .thumbnail{max-height:128px;max-width:128px;}#wpbody-content #async-upload-wrap a{display:none;}.media-upload-form td label{margin-right:6px;margin-left:2px;}.media-upload-form .align .field label{display:inline;padding:0 0 0 22px;margin:0 1em 0 0;font-weight:bold;}.media-upload-form tr.image-size label{margin:0 0 0 3px;font-weight:bold;}.media-upload-form th.label label{font-weight:bold;margin:.5em;font-size:13px;}.media-upload-form th.label label span{padding:0 5px;}abbr.required{border:medium none;text-decoration:none;}#wpbody-content .describe input[type="text"],#wpbody-content .describe textarea{width:460px;}#wpbody-content .describe p.help{margin:0;padding:0 0 0 5px;}.media-item .error-div a.dismiss,.describe-toggle-on,.describe-toggle-off{display:block;line-height:36px;float:right;margin-right:20px;}.describe-toggle-off{display:none;}#wpbody-content .media-item{border-bottom-style:solid;border-bottom-width:1px;min-height:36px;position:relative;width:100%;}#wpbody-content .media-single .media-item{border-bottom-style:none;border-bottom-width:0;}#wpbody-content #media-items{border-style:solid solid none;border-width:1px;width:670px;}#wpbody-content #media-items .filename{line-height:36px;overflow:hidden;}.media-item .error-div{padding-left:10px;}.media-item .pinkynail{float:left;margin:2px;max-width:40px;max-height:32px;}.media-item .startopen,.media-item .startclosed{display:none;}.media-item .original{position:relative;height:34px;width:503px;}.media-item .percent{font-weight:bold;}.crunching{display:block;line-height:32px;text-align:right;margin-right:5px;}.progress{position:relative;margin-bottom:-36px;height:36px;}.bar{width:0;height:100%;border-right-width:3px;border-right-style:solid;}.upload-php .fixed .column-parent{width:25%;}.find-box{width:500px;height:300px;overflow:hidden;padding:33px 5px 40px;position:absolute;z-index:1000;}.find-box-head{cursor:move;font-weight:bold;height:2em;line-height:2em;padding:1px 12px;position:absolute;top:5px;width:100%;}.find-box-inside{overflow:auto;width:100%;height:100%;}.find-box-search{padding:12px;border-width:1px;border-style:none none solid;}#find-posts-response{margin:8px 0;padding:0 1px;}#find-posts-response table{width:100%;}#find-posts-response .found-radio{padding:5px 0 0 8px;width:15px;}.find-box-buttons{width:480px;margin:8px;}.find-box-search label{padding-right:6px;}.find-box #resize-se{position:absolute;right:1px;bottom:1px;}ul#dismissed-updates{display:none;}form.upgrade{margin-top:8px;}form.upgrade .hint{font-style:italic;font-size:85%;margin:-0.5em 0 2em 0;}#poststuff .inside .the-tagcloud{margin:5px 0 10px;padding:8px;border-width:1px;border-style:solid;line-height:1.8em;word-spacing:3px;-moz-border-radius:6px;-khtml-border-radius:6px;-webkit-border-radius:6px;border-radius:6px;}br.clear{height:2px;line-height:2px;}.swfupload{margin:5px 10px;vertical-align:middle;}.describe .image-editor{vertical-align:top;}.imgedit-wrap{position:relative;}.imgedit-settings p{margin:8px 0;}.describe .imgedit-wrap table td{vertical-align:top;padding-top:0;}.imgedit-wrap p,.describe .imgedit-wrap table td{font-size:11px;line-height:18px;}.describe .imgedit-wrap table td.imgedit-settings{padding:0 5px;}td.imgedit-settings input{vertical-align:middle;}.imgedit-wait{position:absolute;top:0;background:#FFF url(../images/wpspin_light.gif) no-repeat scroll 22px 10px;opacity:.7;filter:alpha(opacity=70);width:100%;height:500px;display:none;}.media-disabled,.imgedit-settings .disabled{color:grey;}.imgedit-wait-spin{padding:0 4px 4px;vertical-align:bottom;visibility:hidden;}.imgedit-menu{margin:0 0 12px;min-width:300px;}.imgedit-menu div{float:left;width:32px;height:32px;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;border-width:1px;border-style:solid;}.imgedit-crop-wrap{position:relative;}.imgedit-crop{background:transparent url(../images/imgedit-icons.png) no-repeat scroll -9px -31px;margin:0 8px 0 0;}.imgedit-crop.disabled:hover{background-position:-9px -31px;}.imgedit-crop:hover{background-position:-9px -1px;}.imgedit-rleft{background:transparent url(../images/imgedit-icons.png) no-repeat scroll -46px -31px;margin:0 3px;}.imgedit-rleft.disabled:hover{background-position:-46px -31px;}.imgedit-rleft:hover{background-position:-46px -1px;}.imgedit-rright{background:transparent url(../images/imgedit-icons.png) no-repeat scroll -77px -31px;margin:0 8px 0 3px;}.imgedit-rright.disabled:hover{background-position:-77px -31px;}.imgedit-rright:hover{background-position:-77px -1px;}.imgedit-flipv{background:transparent url(../images/imgedit-icons.png) no-repeat scroll -115px -31px;margin:0 3px;}.imgedit-flipv.disabled:hover{background-position:-115px -31px;}.imgedit-flipv:hover{background-position:-115px -1px;}.imgedit-fliph{background:transparent url(../images/imgedit-icons.png) no-repeat scroll -147px -31px;margin:0 8px 0 3px;}.imgedit-fliph.disabled:hover{background-position:-147px -31px;}.imgedit-fliph:hover{background-position:-147px -1px;}.imgedit-undo{background:transparent url(../images/imgedit-icons.png) no-repeat scroll -184px -31px;margin:0 3px;}.imgedit-undo.disabled:hover{background-position:-184px -31px;}.imgedit-undo:hover{background-position:-184px -1px;}.imgedit-redo{background:transparent url(../images/imgedit-icons.png) no-repeat scroll -215px -31px;margin:0 8px 0 3px;}.imgedit-redo.disabled:hover{background-position:-215px -31px;}.imgedit-redo:hover{background-position:-215px -1px;}.imgedit-applyto img{margin:0 8px 0 0;}.imgedit-group-top{margin:5px 0;}.imgedit-applyto .imgedit-label{padding:2px 0 0;display:block;}.imgedit-help{display:none;font-style:italic;margin-bottom:8px;}.imgedit-help ul li{font-size:11px;}a.imgedit-help-toggle{text-decoration:none;}#wpbody-content .imgedit-response div{width:600px;margin:8px;}.form-table td.imgedit-response{padding:0;}.imgedit-submit{margin:8px 0;}.imgedit-submit-btn{margin-left:20px;}.imgedit-wrap .nowrap{white-space:nowrap;}span.imgedit-scale-warn{color:red;font-size:20px;font-style:normal;visibility:hidden;vertical-align:middle;}.imgedit-group{border-width:1px;border-style:solid;-moz-border-radius:8px;-khtml-border-radius:8px;-webkit-border-radius:8px;border-radius:8px;margin-bottom:8px;padding:2px 10px;}.form-table{border-collapse:collapse;margin-top:.5em;width:100%;margin-bottom:-8px;clear:both;}.form-table td{margin-bottom:9px;padding:8px 10px;line-height:20px;font-size:12px;}.form-table th,.form-wrap label{font-weight:normal;text-shadow:rgba(255,255,255,1) 0 1px 0;}.form-table th{vertical-align:top;text-align:left;padding:10px;width:200px;}.form-table th.th-full{width:auto;}.form-table div.color-option{display:block;clear:both;margin-top:12px;}.form-table input.tog{margin-top:2px;margin-right:2px;float:left;}.form-table td p{margin-top:4px;}.form-table table.color-palette{vertical-align:bottom;float:left;margin:-12px 3px 11px;}.form-table .color-palette td{border-width:1px 1px 0;border-style:solid solid none;height:10px;line-height:20px;width:10px;}.commentlist li{padding:1em 1em .2em;margin:0;border-bottom-width:1px;border-bottom-style:solid;}.commentlist li li{border-bottom:0;padding:0;}.commentlist p{padding:0;margin:0 0 .8em;}#replyrow{font-size:11px;}#replyrow input{border-width:1px;border-style:solid;}#replyrow td{padding:2px;}#replyrow #editorcontainer{border:0 none;}#replysubmit{margin:0;padding:3px 7px;text-align:center;}#replysubmit img.waiting,.inline-edit-save img.waiting{padding:4px 10px 0;vertical-align:top;float:right;}#replysubmit .button{margin-right:5px;}#replysubmit .error{color:red;line-height:21px;text-align:center;vertical-align:center;}#replyrow #editor-toolbar{display:none;}#replyhead{font-size:12px;font-weight:bold;padding:2px 10px 4px;}#edithead .inside{float:left;padding:3px 0 2px 5px;margin:0;text-align:center;font-size:11px;}#edithead .inside input{width:180px;font-size:11px;}#edithead label{padding:2px 0;}#replycontainer{padding:5px;border:0 none;height:120px;overflow:hidden;position:relative;}#replycontent{resize:none;margin:0;width:100%;height:100%;padding:0;line-height:150%;border:0 none;outline:none;font-size:12px;}#replyrow #ed_reply_toolbar{margin:0;padding:2px 3px;}.comment-ays{margin-bottom:0;border-style:solid;border-width:1px;}.comment-ays th{border-right-style:solid;border-right-width:1px;}.trash-undo-inside,.spam-undo-inside{margin:1px 8px 1px 0;line-height:16px;}.spam-undo-inside .avatar,.trash-undo-inside .avatar{height:20px;width:20px;margin-right:8px;vertical-align:middle;}.stuffbox .editcomment{clear:none;}#comment-status-radio p{margin:3px 0 5px;}#comment-status-radio input{margin:2px 3px 5px 0;vertical-align:middle;}#comment-status-radio label{padding:5px 0;}.commentlist .avatar{vertical-align:text-top;}.theme-install-php .tablenav{height:auto;}table#availablethemes{border-spacing:0;border-width:1px 0;border-style:solid none;margin:10px auto;width:100%;}table#availablethemes .no-items td{border-width:0;padding:5px;}td.available-theme{vertical-align:top;width:240px;margin:0;padding:20px;text-align:left;}table#availablethemes td{border-width:0 1px 1px;border-style:none solid solid;}table#availablethemes td.right,table#availablethemes td.left{border-right:0 none;border-left:0 none;}table#availablethemes td.bottom{border-bottom:0 none;}.available-theme a.screenshot{width:240px;height:180px;display:block;border-width:1px;border-style:solid;margin-bottom:10px;overflow:hidden;}.available-theme img{width:240px;}.available-theme h3{margin:15px 0 5px;}#current-theme{margin:1em 0 1.5em;}#current-theme a{border-bottom:none;}#current-theme h3{font-size:17px;font-weight:normal;margin:0;}#current-theme .theme-description{margin-top:5px;}#current-theme img{float:left;border-width:1px;border-style:solid;margin-right:1em;margin-bottom:1.5em;width:150px;}.theme-options span{text-transform:uppercase;font-size:13px;}.theme-options a{font-size:15px;}#TB_window #TB_title a.tb-theme-preview-link,#TB_window #TB_title a.tb-theme-preview-link:visited{font-weight:bold;text-decoration:none;}#TB_window #TB_title{background-color:#222;color:#cfcfcf;}#broken-themes{text-align:left;width:50%;border-spacing:3px;padding:3px;}.theme-install-php h4{margin:2.5em 0 8px;}.appearance_page_custom-header #headimg{border:1px solid #DFDFDF;min-height:100px;width:100%;}.appearance_page_custom-header #upload-form p label{font-size:12px;}.appearance_page_custom-header .available-headers .default-header{float:left;margin:0 20px 20px 0;}.appearance_page_custom-header .random-header{clear:both;margin:0 20px 20px 0;vertical-align:middle;}.appearance_page_custom-header .available-headers label input,.appearance_page_custom-header .random-header label input{margin-right:10px;}.appearance_page_custom-header .available-headers label img{vertical-align:middle;}div#custom-background-image{min-height:100px;border:1px solid #dfdfdf;}div#custom-background-image img{max-width:400px;max-height:300px;}.nav-tab{border-style:solid;border-color:#dfdfdf #dfdfdf #fff;border-width:1px 1px 0;color:#aaa;text-shadow:rgba(255,255,255,1) 0 1px 0;font-size:12px;line-height:16px;display:inline-block;padding:4px 14px 6px;text-decoration:none;margin:0 6px -1px 0;-moz-border-radius:3px 3px 0 0;-webkit-border-top-left-radius:3px;-webkit-border-top-right-radius:3px;-khtml-border-top-left-radius:3px;-khtml-border-top-right-radius:3px;border-top-left-radius:3px;border-top-right-radius:3px;}.nav-tab-active{border-width:1px;color:#464646;}.nav-tab:hover,.nav-tab-active{border-color:#ccc #ccc #fff;}h2.nav-tab-wrapper,h3.nav-tab-wrapper{border-bottom:1px solid #ccc;padding-bottom:0;}h2 .nav-tab{padding:4px 10px 6px;font-family:"HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:200;font-size:20px;line-height:24px;}.plugins .name,#pass-strength-result.strong,#pass-strength-result.short,.button-highlighted,input.button-highlighted,#quicktags #ed_strong,#ed_reply_toolbar #ed_reply_strong{font-weight:bold;}.plugins p{margin:0 4px;padding:0;}.plugins .desc p{margin:0 0 8px;}.plugins td.desc{line-height:1.5em;}.plugins .desc ul,.plugins .desc ol{margin:0 0 0 2em;}.plugins .desc ul{list-style-type:disc;}.plugins .row-actions-visible{padding:0;}.plugins tbody th.check-column{padding:7px 0;}.plugins .inactive td,.plugins .inactive th,.plugins .active td,.plugins .active th{border-top-style:solid;border-top-width:1px;padding:5px 7px 0;}#wpbody-content .plugins .plugin-title,#wpbody-content .plugins .theme-title{padding-right:12px;white-space:nowrap;}.plugins .second,.plugins .row-actions-visible{padding:0 0 5px;}.plugins-php .widefat tfoot th,.plugins-php .widefat tfoot td{border-top-style:solid;border-top-width:1px;}.plugin-update-tr .update-message{margin:5px;padding:3px 5px;border-width:1px;border-style:solid;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;}.plugin-install-php h4{margin:2.5em 0 8px;}#profile-page .form-table textarea{width:500px;margin-bottom:6px;}#profile-page .form-table #rich_editing{margin-right:5px;}#your-profile legend{font-family:Georgia,"Times New Roman","Bitstream Charter",Times,serif;font-size:22px;}#your-profile #rich_editing{border:none;}#display_name{width:15em;}#createuser .form-field input{width:25em;}.pressthis{margin:20px 0;}.pressthis a{display:inline-block;width:113px;position:relative;cursor:move;color:#333;background:#dfdfdf;-webkit-gradient(linear,left bottom,left top,color-stop(0.07,#e6e6e6),color-stop(0.77,#d8d8d8));-moz-linear-gradient(center bottom,#e6e6e6 7%,#d8d8d8 77%);background-repeat:no-repeat;background-image-position:10px 8px;border-radius:5px;-webkit-border-radius:5px;-moz-border-radius:5px;-o-border-radius:5px;border:1px #b4b4b4 solid;font:normal normal normal 14px/16px Georgia,"Times New Roman","Bitstream Charter",Times,serif;text-decoration:none;text-shadow:#fff 0 1px 0;-webkit-text-shadow:#fff 0 1px 0;-moz-text-shadow:#fff 0 1px 0;-o-text-shadow:#fff 0 1px 0;}.pressthis a:hover,.pressthis a:active{color:#333;}.pressthis a:hover:after{transform:skew(20deg) rotate(9deg);-webkit-transform:skew(20deg) rotate(9deg);-moz-transform:skew(20deg) rotate(9deg);box-shadow:0 10px 8px rgba(0,0,0,0.7);-webkit-box-shadow:0 10px 8px rgba(0,0,0,0.7);-moz-box-shadow:0 10px 8px rgba(0,0,0,0.7);}.pressthis a span{background:url(../images/press-this.png) no-repeat -45px 5px;padding:8px 0 8px 32px;display:inline-block;}.pressthis a:after{content:'';width:70%;height:55%;z-index:-1;position:absolute;right:10px;bottom:9px;background:transparent;transform:skew(20deg) rotate(6deg);-webkit-transform:skew(20deg) rotate(6deg);-moz-transform:skew(20deg) rotate(6deg);box-shadow:0 10px 8px rgba(0,0,0,0.6);-webkit-box-shadow:0 10px 8px rgba(0,0,0,0.6);-moz-box-shadow:0 10px 8px rgba(0,0,0,0.6);}#utc-time,#local-time{padding-left:25px;font-style:italic;font-family:Arial,"Bitstream Vera Sans",Helvetica,Verdana,sans-serif;}.defaultavatarpicker .avatar{margin:2px 0;vertical-align:middle;}#footer{position:absolute;bottom:0;left:0;right:0;padding:10px 0;margin-right:15px;border-top:1px;border-style:solid;}#footer,#footer a{font-size:12px;}#footer p{margin:0;line-height:20px;}#footer a{text-decoration:none;}#footer a:hover{text-decoration:underline;}#excerpt,.attachmentlinks{margin:0;height:4em;width:98%;}#template div{margin-right:190px;}p.pagenav{margin:0;display:inline;}.pagenav span{font-weight:bold;margin:0 6px;}.row-title{font-size:13px!important;font-weight:bold;}.column-author img,.column-username img{float:left;margin-right:10px;margin-top:1px;}.row-actions{visibility:hidden;padding:2px 0 0;}tr:hover .row-actions,div.comment-item:hover .row-actions{visibility:visible;}.row-actions-visible{padding:2px 0 0;}.form-table .pre{padding:8px;margin:0;}table.form-table td .updated{font-size:13px;}.tagchecklist{margin-left:14px;font-size:12px;overflow:auto;}.tagchecklist strong{margin-left:-8px;position:absolute;}.tagchecklist span{margin-right:25px;display:block;float:left;font-size:11px;line-height:1.8em;white-space:nowrap;cursor:default;}.tagchecklist span a{margin:6px 0 0 -9px;cursor:pointer;width:10px;height:10px;display:block;float:left;text-indent:-9999px;overflow:hidden;position:absolute;}#poststuff h2{margin-top:20px;font-size:1.5em;margin-bottom:15px;padding:0 0 3px;clear:left;}#poststuff h3,.metabox-holder h3{font-size:15px;font-family:Georgia,"Times New Roman","Bitstream Charter",Times,serif;font-weight:normal;padding:7px 10px;margin:0;line-height:1;}#poststuff .inside,#poststuff .inside p{font-size:12px;margin:6px 0 8px;}#poststuff .inside .submitbox p{margin:1em 0;}#post-visibility-select,#post-formats-select{line-height:1.5em;margin-top:3px;}#poststuff #submitdiv .inside{margin:0;padding:0;}#titlediv,#poststuff .postarea{margin-bottom:20px;}td.post-title strong,td.plugin-title strong{display:block;margin-bottom:.2em;}td.post-title p,td.plugin-title p{margin:6px 0;}.wp-hidden-children .wp-hidden-child,.ui-tabs-hide{display:none;}#templateside ul li a{text-decoration:none;}.tool-box{margin:15px 0 35px;}.tool-box .buttons{margin:15px 0;}.tool-box .title{margin:8px 0;font:18px/24px Georgia,"Times New Roman","Bitstream Charter",Times,serif;}.pressthis a{font-size:1.2em;}#sidemenu{margin:-30px 15px 0 315px;list-style:none;position:relative;float:right;padding-left:10px;font-size:12px;}#sidemenu a{padding:0 7px;display:block;float:left;line-height:28px;border-top-width:1px;border-top-style:solid;border-bottom-width:1px;border-bottom-style:solid;}#sidemenu li{display:inline;line-height:200%;list-style:none;text-align:center;white-space:nowrap;margin:0;padding:0;}#sidemenu a.current{font-weight:normal;padding-left:6px;padding-right:6px;-moz-border-radius:3px 3px 0 0;-webkit-border-top-left-radius:3px;-webkit-border-top-right-radius:3px;-khtml-border-top-left-radius:3px;-khtml-border-top-right-radius:3px;border-top-left-radius:3px;border-top-right-radius:3px;border-width:1px;border-style:solid;}#sidemenu li a .count-0{display:none;}#poststuff .inside .the-tagcloud{margin:5px 0 10px;padding:8px;border-width:1px;border-style:solid;line-height:1.8em;word-spacing:3px;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;}.plugin-install #description,.plugin-install-network #description{width:60%;}table .vers,table .column-visible,table .column-rating{text-align:left;}body.iframe{height:98%;}.anchors{margin:10px 20px 10px 20px;}div.nav{height:2em;padding:7px 10px;vertical-align:text-top;margin:5px 0;}.nav .button-secondary{padding:2px 4px;}.settings-toggle{text-align:right;margin:5px 7px 15px 0;font-size:12px;}.settings-toggle h3{margin:0;}form#tags-filter{position:relative;}td.media-icon{text-align:center;width:80px;padding-top:8px;padding-bottom:8px;}td.media-icon img{max-width:80px;max-height:60px;}.screen-per-page{width:3em;}.list-ajax-loading{float:right;margin-right:9px;margin-top:-1px;}.tablenav .list-ajax-loading{margin-top:7px;}#howto{font-size:11px;margin:0 5px;display:block;}.import-system{font-size:16px;}#namediv table{width:100%;}#namediv td.first{width:10px;white-space:nowrap;}#namediv input{width:98%;}#namediv p{margin:10px 0;}#submitdiv h3{margin-bottom:0!important;}.zerosize{height:0;width:0;margin:0;border:0;padding:0;overflow:hidden;position:absolute;}br.clear{height:2px;line-height:2px;}.checkbox{border:none;margin:0;padding:0;}#content{margin:0;width:100%;}fieldset{border:0;padding:0;margin:0;}.post-categories{display:inline;margin:0;padding:0;}.post-categories li{display:inline;} \ No newline at end of file diff --git a/src/wp-admin/css/wp-admin.dev.css b/src/wp-admin/css/wp-admin.dev.css index 3165a5e..0504759 100644 --- a/src/wp-admin/css/wp-admin.dev.css +++ b/src/wp-admin/css/wp-admin.dev.css @@ -66,7 +66,7 @@ ol { } .code, code { - font-family: Consolas, Monaco, Courier, monospace; + font-family: Consolas, Monaco, monospace; } kbd, code { @@ -81,8 +81,8 @@ kbd, code { .icon32 { float: left; - height: 36px; - margin: 14px 6px 0 0; + height: 34px; + margin: 7px 8px 0 0; width: 36px; } @@ -90,12 +90,6 @@ kbd, code { line-height: 24px; } -.subtitle { - font-size: 0.75em; - line-height: 1; - padding-left: 25px; -} - .pre { /* http://www.longren.org/2006/09/27/wrapping-text-inside-pre-tags/ */ white-space: pre-wrap; /* css-3 */ @@ -108,7 +102,7 @@ kbd, code { .howto { font-style: italic; display: block; - font-family: "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif; + font-family: Arial, "Bitstream Vera Sans", Helvetica, Verdana, sans-serif; } p.install-help { @@ -131,10 +125,10 @@ input[type="reset"], select { border-width: 1px; border-style: solid; - -moz-border-radius: 4px; - -khtml-border-radius: 4px; - -webkit-border-radius: 4px; - border-radius: 4px; + -moz-border-radius: 3px; + -khtml-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; } select option { @@ -168,7 +162,7 @@ input.button-secondary, input.button-highlighted, #postcustomstuff .submit input { text-decoration: none; - font-size: 11px !important; + font-size: 12px !important; line-height: 13px; padding: 3px 8px; cursor: pointer; @@ -231,7 +225,7 @@ input.small-text { #wpcontent select { padding: 2px; height: 2em; - font-size: 11px; + font-size: 12px; } #wpcontent option { @@ -255,7 +249,7 @@ label, border-style: solid; border-width: 1px; float: left; - margin: 12px 5px 5px 1px; + margin: 13px 5px 5px 1px; padding: 3px 5px; text-align: center; width: 200px; @@ -267,7 +261,7 @@ label, p.search-box { float: right; - margin: -5px 0 0; + margin: 0; } @@ -276,13 +270,11 @@ p.search-box { ------------------------------------------------------------------------------*/ #major-publishing-actions { - padding: 6px; + padding: 10px 10px 8px; clear: both; border-top: none; } - - #delete-action { line-height: 25px; vertical-align: middle; @@ -322,23 +314,29 @@ p.search-box { } .misc-pub-section { - padding: 6px; - border-bottom-width: 1px; - border-bottom-style: solid; + padding: 6px 10px; + border-width: 1px 0; + border-style: solid; } +.misc-pub-section:first-child { + border-top-width: 0; +} .misc-pub-section-last { - border-bottom: 0 none; + border-bottom-width: 0; } #minor-publishing-actions { - padding: 6px; + padding: 10px 10px 2px 8px; text-align: right; } #minor-publishing { border-bottom-width: 1px; border-bottom-style: solid; + -webkit-box-shadow: 0 1px 0 #fff; + -moz-box-shadow: 0 1px 0 #fff; + box-shadow: 0 1px 0 #fff; } #save-post { @@ -408,13 +406,6 @@ a.button-secondary { display: none; } -.add-new-h2 { - font-style: normal; - margin: 0 6px; - position: relative; - top: -3px; -} - td.action-links, th.action-links { text-align: right; @@ -439,13 +430,13 @@ th.action-links { border-style: solid; border-top-width: 0; border-top-style: none; - -moz-border-radius: 0 0 6px 6px; - -webkit-border-bottom-right-radius: 6px; - -webkit-border-bottom-left-radius: 6px; - -khtml-border-bottom-right-radius: 6px; - -khtml-border-bottom-left-radius: 6px; - border-bottom-right-radius: 6px; - border-bottom-left-radius: 6px; + -moz-border-radius: 0 0 3px 3px; + -webkit-border-bottom-right-radius: 3px; + -webkit-border-bottom-left-radius: 3px; + -khtml-border-bottom-right-radius: 3px; + -khtml-border-bottom-left-radius: 3px; + border-bottom-right-radius: 3px; + border-bottom-left-radius: 3px; } .plugins .plugin-update { @@ -485,6 +476,7 @@ form.upgrade .hint { ------------------------------------------------------------------------------*/ #editorcontainer #content { + font-family: Consolas, Monaco, monospace; padding: 6px; line-height: 150%; border: 0 none; @@ -501,13 +493,13 @@ form.upgrade .hint { border-style: solid; border-width: 1px; border-collapse: separate; - -moz-border-radius: 6px 6px 0 0; - -webkit-border-top-right-radius: 6px; - -webkit-border-top-left-radius: 6px; - -khtml-border-top-right-radius: 6px; - -khtml-border-top-left-radius: 6px; - border-top-right-radius: 6px; - border-top-left-radius: 6px; + -moz-border-radius: 3px 3px 0 0; + -webkit-border-top-right-radius: 3px; + -webkit-border-top-left-radius: 3px; + -khtml-border-top-right-radius: 3px; + -khtml-border-top-left-radius: 3px; + border-top-right-radius: 3px; + border-top-left-radius: 3px; } #quicktags { @@ -574,30 +566,394 @@ form.upgrade .hint { border-radius: 3px; } +/* Distraction Free Writing mode + * =Overlay Styles +-------------------------------------------------------------- */ +.fullscreen-overlay { + z-index: 149999; + display: none; + position: fixed; + top: 0; + bottom: 0; + left: 0; + right: 0; + filter: inherit; +} + +.fullscreen-active .fullscreen-overlay, +.fullscreen-active #wp-fullscreen-body { + display: block; +} + +.fullscreen-fader { + z-index: 200000; +} + +.fullscreen-active .fullscreen-fader { + display: none; +} + +/* =Overlay Body +-------------------------------------------------------------- */ +#wp-fullscreen-body { + width: 100%; + z-index: 150005; + display: none; + position: absolute; + top: 0; + left: 0; +} + +#wp-fullscreen-wrap { + margin: 0 auto 50px; + position: relative; + padding-top: 60px; +} + +#wp-fullscreen-title { + font-size: 1.7em; + line-height: 100%; + outline: medium none; + padding: 6px 7px; + width: 100%; + margin-bottom: 30px; +} + +#wp-fullscreen-container { + padding: 4px 10px 50px; +} + +#wp-fullscreen-title, +#wp-fullscreen-container { + -moz-border-radius: 0; + -khtml-border-radius: 0; + -webkit-border-radius: 0; + border-radius: 0; + border: 1px dashed transparent; + background: transparent; + -moz-transition-property: border-color; + -moz-transition-duration: 0.6s; + -webkit-transition-property: border-color; + -webkit-transition-duration: 0.6s; + -o-transition-property: border-color; + -o-transition-duration: 0.6s; + transition-property: border-color; + transition-duration: 0.6s; +} + + +#wp_mce_fullscreen { + width: 100%; + min-height: 300px; + border: 0; + background: transparent; + font-family: Consolas, Monaco, monospace; + line-height: 1.6em; + padding: 0; + overflow-y: hidden; + outline: none; + resize: none; +} + +#wp-fullscreen-tagline { + color: #BBBBBB; + font-size: 18px; + float: right; + padding-top: 5px; +} + +/* =Top bar +-------------------------------------------------------------- */ +#fullscreen-topbar { + position: fixed; + top: 0; + left: 0; + z-index: 150050; + border-bottom-style: solid; + border-bottom-width: 1px; + min-width: 800px; + width: 100%; + height: 40px; +} + +#wp-fullscreen-toolbar { + padding: 6px 10px 0; + clear: both; + max-width: 1100px; + min-width: 820px; + margin: 0 auto; +} + +#wp-fullscreen-mode-bar, +#wp-fullscreen-button-bar, +#wp-fullscreen-close, +#wp-fullscreen-count { + float: left; +} + +#wp-fullscreen-save { + float: right; +} + +#wp-fullscreen-save { + padding: 2px 2px 0 5px; +} + +#wp-fullscreen-count, +#wp-fullscreen-close { + padding-top: 5px; +} + +#wp-fullscreen-central-toolbar { + margin: auto; + padding: 0; +} + +#wp-fullscreen-buttons > div { + float: left; +} + +#wp-fullscreen-mode-bar { + padding: 1px 14px 0 0; +} + +#wp-fullscreen-modes a { + display: block; + font-size: 11px; + text-decoration: none; + float: left; + margin: 1px 0 0 0; + padding: 2px 6px 2px; + border-width: 1px 1px 1px 0; + border-style: solid; + border-color: #bbb; + color: #777; + text-shadow: 0 1px 0 #fff; + background-color: #f4f4f4; + background-image: -moz-linear-gradient(bottom, #e4e4e4, #f9f9f9); + background-image: -webkit-gradient(linear, left bottom, left top, from(#e4e4e4), to(#f9f9f9)); +} + +#wp-fullscreen-modes a:hover, +.wp-html-mode #wp-fullscreen-modes a:last-child, +.wp-tmce-mode #wp-fullscreen-modes a:first-child { + color: #333; + border-color: #999; + background-color: #eee; + background-image: -moz-linear-gradient(bottom, #f9f9f9, #e0e0e0); + background-image: -webkit-gradient(linear, left bottom, left top, from(#f9f9f9), to(#e0e0e0)); +} + +#wp-fullscreen-modes a:first-child { + border-width: 1px; + -moz-border-radius: 3px 0 0 3px; + -webkit-border-top-left-radius: 3px; + -webkit-border-bottom-left-radius: 3px; + -khtml-border-top-left-radius: 3px; + -khtml-border-bottom-left-radius: 3px; + border-top-left-radius: 3px; + border-bottom-left-radius: 3px; +} + +#wp-fullscreen-modes a:last-child { + -moz-border-radius: 0 3px 3px 0; + -webkit-border-top-right-radius: 3px; + -webkit-border-bottom-right-radius: 3px; + -khtml-border-top-right-radius: 3px; + -khtml-border-bottom-right-radius: 3px; + border-top-right-radius: 3px; + border-bottom-right-radius: 3px; +} + +#wp-fullscreen-buttons .active a { + background: inherit; +} + +#wp-fullscreen-buttons .hidden { + display: none; +} + +#wp-fullscreen-buttons .disabled { + opacity: 0.5; +} + +.wp-html-mode #wp-fullscreen-buttons div { + display: none; +} + +.wp-html-mode #wp-fullscreen-buttons div.wp-fullscreen-both { + display: block; +} + +#fullscreen-topbar.fullscreen-make-sticky { + display: block !important; +} + +#wp-fullscreen-save img { + vertical-align: middle; +} + +#wp-fullscreen-save img, +#wp-fullscreen-save span { + padding-right: 4px; + display: none; +} + +#wp-fullscreen-buttons .mce_image .mce_image { + background-image: url("../images/menu.png?ver=20100531"); + background-position: -124px -38px; +} + +#wp-fullscreen-buttons .mce_image .mce_image:hover { + background-position: -124px -6px; +} + +/* =Thickbox Adjustments +-------------------------------------------------------------- */ +.fullscreen-active #TB_overlay { + z-index: 150100; +} + +.fullscreen-active #TB_window { + z-index: 150102; +} + +/* =TinyMCE Adjustments +-------------------------------------------------------------- */ +#wp_mce_fullscreen_ifr { + background: transparent; +} + +#wp_mce_fullscreen_parent #wp_mce_fullscreen_tbl tr.mceFirst { + display : none; +} + +#wp-fullscreen-container .wp_themeSkin table td { + vertical-align: top; +} + /*------------------------------------------------------------------------------ 6.0 - Admin Header ------------------------------------------------------------------------------*/ #wphead-info { margin: 0 0 0 15px; - padding-right: 15px; } #user_info { float: right; font-size: 12px; - line-height: 46px; - height: 46px; + line-height: 26px; + height: 25px; + position: relative; + z-index: 49; + border-style: solid; + border-width: 0; + margin-top: 3px; + padding: 0 2px 0 6px; +} + +#user_info.active { + border-width: 1px; + margin-right: -1px; + margin-top: 2px; + -moz-border-radius: 3px 3px 0 0; + -webkit-border-top-right-radius: 3px; + -webkit-border-top-left-radius: 3px; + -khtml-border-top-right-radius: 3px; + -khtml-border-top-left-radius: 3px; + border-top-right-radius: 3px; + border-top-left-radius: 3px; } #user_info p { margin: 0; padding: 0; - line-height: 46px; + line-height: 25px; + cursor: pointer; +} + +#user_info .hide-if-no-js p { + margin: 0 20px 0 0; +} + +#user_info:hover .hide-if-no-js p { + text-decoration: underline; +} +#user_info.active .hide-if-no-js p { + text-decoration: none; +} + +#user_info_arrow { + height: 22px; + width: 22px; + position: absolute; + right: 3px; + top: 0; + cursor: pointer; +} + +#user_info_links_wrap { + min-width: 100px; + width: 100%; + position: absolute; + top: 25px; + right: 0; + padding: 0; + text-shadow: rgba(255,255,255,0.7) 0 1px 0; +} + +#user_info_links { + position: absolute; + left: -1px; + right: -1px; + overflow: hidden; +} + +#user_info.active #user_info_links ul { + margin-top: 0; + -moz-transition: margin-top 200ms; + -webkit-transition: margin-top 200ms; + -o-transition: margin-top 200ms; + transition: margin-top 200ms; +} + +#user_info_links ul { + border-width: 1px; + border-style: solid; + margin-top: -1000px; + -moz-transition: margin-top 500ms ease-in; + -webkit-transition: margin-top 500ms ease-in; + -o-transition: margin-top 500ms ease-in; + transition: margin-top 500ms ease-in; +} + +#user_info_links, +#user_info_links ul, +#user_info_links li:last-child { + -moz-border-radius: 0 0 3px 3px; + -webkit-border-bottom-right-radius: 3px; + -webkit-border-bottom-left-radius: 3px; + -khtml-border-bottom-right-radius: 3px; + -khtml-border-bottom-left-radius: 3px; + border-bottom-right-radius: 3px; + border-bottom-left-radius: 3px; +} + +#user_info_links li { + display: block; + margin: 0; +} + +#user_info_links a { + display: block; + padding: 6px 8px; } #wphead { - height: 46px; + height: 32px; + margin-right: 15px; + margin-left: 2px; } #wphead a, @@ -611,34 +967,24 @@ form.upgrade .hint { #header-logo { float: left; - margin: 7px 0 0 15px; + margin: 7px 0; + -webkit-user-select: none; + -moz-user-select: none; + -khtml-user-select: none; + user-select: none; } #wphead h1 { - font: normal 22px Georgia, "Times New Roman", "Bitstream Charter", Times, serif; - padding: 10px 8px 5px; + font: normal 16px Georgia, "Times New Roman", "Bitstream Charter", Times, serif; + padding: 6px 8px 5px; margin: 0; float: left; } -#wphead h1.long-title { - font: normal 18px Georgia, "Times New Roman", "Bitstream Charter", Times, serif; - padding: 12px 10px 5px; -} - -#wphead #privacy-on-link { - font-size: 50%; - font-style: normal; - line-height: 17px; - padding: 0 6px; - vertical-align: middle; -} - #wphead h1 a:hover { text-decoration:none; } -#wphead h1 a:hover #site-title, -#wphead h1 a#privacy-on-link:hover { +#wphead h1 a:hover #site-title { text-decoration:underline; } @@ -648,10 +994,11 @@ form.upgrade .hint { ------------------------------------------------------------------------------*/ #favorite-actions { - float: right; - margin: 11px 12px 0; + margin: 0 12px 0 15px; min-width: 130px; position: relative; + display: inline-block; + top: -1px; } #favorite-first { @@ -660,13 +1007,13 @@ form.upgrade .hint { -webkit-border-radius: 12px; border-radius: 12px; line-height: 15px; - padding: 3px 30px 4px 12px; + padding: 0 30px 0 0; border-width: 1px; border-style: solid; } #favorite-inside { - margin: 0 0 0 0px; + margin: 0; padding: 2px 1px; border-width: 1px; border-style: solid; @@ -682,6 +1029,10 @@ form.upgrade .hint { border-bottom-left-radius: 12px; } +#favorite-first a { + padding: 2px 0 2px 12px; +} + #favorite-actions a { display: block; text-decoration: none; @@ -690,14 +1041,17 @@ form.upgrade .hint { #favorite-inside a { padding: 3px 5px 3px 10px; + line-height: 20px; } #favorite-toggle { - height: 22px; + height: 18px; position: absolute; right: 0; top: 1px; width: 28px; + border-width: 0 0 0 1px; + border-style: solid; } #favorite-actions .slide-down { @@ -722,7 +1076,7 @@ form.upgrade .hint { } #screen-meta-links { - margin: 0 18px 0 0; + margin: 0 19px 0 0; } #screen-meta .screen-reader-text { @@ -734,13 +1088,14 @@ form.upgrade .hint { float: right; height: 22px; padding: 0; - margin: 0 6px 0 0; - font-family: "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif; - background: #e3e3e3; + margin: 0 0 0 6px; + font-family: Arial, "Bitstream Vera Sans", Helvetica, Verdana, sans-serif; -moz-border-radius-bottomleft: 3px; -moz-border-radius-bottomright: 3px; -webkit-border-bottom-left-radius: 3px; -webkit-border-bottom-right-radius: 3px; + border-bottom-left-radius: 3px; + border-bottom-right-radius: 3px; } #contextual-help-wrap li { @@ -764,11 +1119,8 @@ form.upgrade .hint { padding: 0 16px 0 6px; height: 22px; line-height: 22px; - font-size: 10px; + font-size: 12px; display: block; - background-repeat: no-repeat; - background-position: top right; - background-color: transparent; text-shadow: rgba(255,255,255,0.7) 0 1px 0; } @@ -787,12 +1139,8 @@ form.upgrade .hint { border-style: none solid solid; border-top: 0 none; border-width: 0 1px 1px; - margin: 0 15px; + margin: 0 15px 0 0; padding: 8px 12px 12px; - -moz-border-radius: 0 0 4px 4px; - -webkit-border-radius: 0 0 4px 4px; - -khtml-border-radius: 0 0 4px 4px; - border-radius: 0 0 4px 4px; } .metabox-prefs label { @@ -815,6 +1163,24 @@ form.upgrade .hint { 7.0 - Main Navigation (Left Menu) ------------------------------------------------------------------------------*/ +#adminmenuback, +#adminmenuwrap { + border-width: 0 1px 0 0; + border-style: solid; +} +#adminmenuwrap { + position: relative; +} + +#adminmenushadow { + position: absolute; + top: 0; + right: 0; + bottom: 0; + width: 6px; + z-index: 20; +} + /* side admin menu */ #adminmenu * { -webkit-user-select: none; @@ -830,12 +1196,11 @@ form.upgrade .hint { margin: 0; position: relative; z-index: 2; - border-width: 1px 0 0; - border-style: solid none none; } #adminmenu .wp-submenu a { - font: normal 11px/18px "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif; + font-size: 12px; + line-height: 18px; } #adminmenu .wp-submenu li.current, @@ -846,27 +1211,27 @@ form.upgrade .hint { #adminmenu a.menu-top, #adminmenu .wp-submenu-head { - font: normal 13px/18px Georgia, "Times New Roman", "Bitstream Charter", Times, serif; + font-size: 13px; + line-height: 18px; } #adminmenu div.wp-submenu-head { display: none; } -.folded #adminmenu div.wp-submenu-head, -.folded #adminmenu li.wp-has-submenu div.sub-open { +.js.folded #adminmenu div.wp-submenu-head { display: block; } -.folded #adminmenu a.menu-top, -.folded #adminmenu .wp-submenu, -.folded #adminmenu li.wp-menu-open .wp-submenu, -.folded #adminmenu div.wp-menu-toggle { +.js.folded #adminmenu a.menu-top, +body.no-js #adminmenu .wp-menu-toggle, +.js.folded #adminmenu div.wp-menu-toggle { display: none; } -#adminmenu li.wp-menu-open .wp-submenu, -.no-js #adminmenu .open-if-no-js .wp-submenu { +body.js #adminmenu li.wp-menu-open .wp-submenu, +body.no-js #adminmenu .open-if-no-js .wp-submenu, +body.no-js #adminmenu li.wp-has-current-submenu .wp-submenu { display: block; } @@ -875,6 +1240,9 @@ form.upgrade .hint { width: 28px; height: 28px; } +.js.folded #adminmenu div.wp-menu-image { + width: 32px; +} #adminmenu li { margin: 0; @@ -885,31 +1253,49 @@ form.upgrade .hint { #adminmenu a { display: block; line-height: 18px; - padding: 1px 5px 3px; + padding: 2px 5px; } #adminmenu li.menu-top { min-height: 26px; + position: relative; } #adminmenu a.menu-top { + font-weight: bold; line-height: 18px; min-width: 10em; padding: 5px 5px; - border-width: 1px 1px 0; - border-style: solid solid none; + border-width: 1px 0 1px; + border-style: solid; +} + +#adminmenu li.wp-menu-open { + border-width: 0 0 1px; + border-style: solid; } #adminmenu .wp-submenu a { margin: 0; padding-left: 12px; - border-width: 0 1px 0 0; - border-style: none solid none none; } -#adminmenu .menu-top-last ul.wp-submenu { - border-width: 0 0 1px; - border-style: none none solid; +.wp-menu-arrow { + display: none; +} +#adminmenu li.wp-has-current-submenu .wp-menu-arrow, +#adminmenu li.menu-top.current .wp-menu-arrow { + display: block; + position: absolute; + right: -9px; + top: 0; + cursor: auto; + z-index: 25; +} +#adminmenu .wp-menu-arrow div { + width: 15px; + height: 30px; + background: url(../images/menu-arrow-frame.png) top right no-repeat; } #adminmenu .wp-submenu li { @@ -917,53 +1303,11 @@ form.upgrade .hint { margin: 0; } -.folded #adminmenu li.menu-top { - width: 28px; - height: 30px; - overflow: hidden; - border-width: 1px 1px 0; - border-style: solid solid none; -} - -#adminmenu .menu-top-first a.menu-top, -.folded #adminmenu li.menu-top-first, -#adminmenu .wp-submenu .wp-submenu-head { - border-width: 1px 1px 0; - border-style: solid solid none; - -moz-border-radius-topleft :6px; - -moz-border-radius-topright: 6px; - -webkit-border-top-right-radius: 6px; - -webkit-border-top-left-radius: 6px; - -khtml-border-top-right-radius: 6px; - -khtml-border-top-left-radius: 6px; - border-top-right-radius: 6px; - border-top-left-radius: 6px; -} - -#adminmenu .menu-top-last a.menu-top, -.folded #adminmenu li.menu-top-last { - border-width: 1px; +.js.folded #adminmenu li.menu-top { + width: 32px; + height: 29px; + border-width: 1px 0; border-style: solid; - -moz-border-radius-bottomleft: 6px; - -moz-border-radius-bottomright: 6px; - -webkit-border-bottom-right-radius: 6px; - -webkit-border-bottom-left-radius: 6px; - -khtml-border-bottom-right-radius: 6px; - -khtml-border-bottom-left-radius: 6px; - border-bottom-right-radius: 6px; - border-bottom-left-radius: 6px; -} - -#adminmenu li.wp-menu-open a.menu-top-last { - border-bottom: 0 none; - -moz-border-radius-bottomright: 0; - -moz-border-radius-bottomleft: 0; - -webkit-border-bottom-right-radius: 0; - -webkit-border-bottom-left-radius: 0; - -khtml-border-bottom-right-radius: 0; - -khtml-border-bottom-left-radius: 0; - border-bottom-right-radius: 0; - border-bottom-left-radius: 0; } #adminmenu .wp-menu-image img { @@ -980,77 +1324,82 @@ form.upgrade .hint { } #adminmenu li.wp-menu-separator { - height: 21px; + height: 3px; padding: 0; margin: 0; + border-width: 1px 0; + border-style: solid; + cursor: inherit; } -#adminmenu a.separator { - cursor: w-resize; - height: 20px; +#adminmenu div.separator { + height: 1px; padding: 0; + border-width: 1px 0 0 0; + border-style: solid; } -.folded #adminmenu a.separator { - cursor: e-resize; +.js.folded #adminmenu .wp-submenu { + display: block; + position: absolute; + top: -5px; + left: 26px; + z-index: 999; + width: 0; + padding: 0; + overflow: hidden; + -moz-transition: width 200ms ease-out; + -webkit-transition: width 200ms ease-out; + -o-transition: width 200ms ease-out; + transition: width 200ms ease-out; } - -#adminmenu .wp-menu-separator-last { - height: 10px; - width: 1px; +.js.folded #adminmenu .wp-submenu.sub-open { + padding: 0 8px 8px 0; } #adminmenu .wp-submenu .wp-submenu-head { - border-width: 1px; - border-style: solid; - padding: 6px 4px 6px 10px; + padding: 6px 4px 5px 10px; cursor: default; + border-width: 1px 0; + border-style: solid; } -.folded #adminmenu .wp-submenu { - position: absolute; - margin: -1px 0 0 28px; - padding: 0 8px 8px; - z-index: 999; - border: 0 none; +.js.folded #adminmenu .wp-submenu-wrap { + margin-top: 4px; + border-width: 0 1px 1px 0; + border-style: solid; + position: relative; + -webkit-border-bottom-right-radius: 3px; + -webkit-border-top-right-radius: 3px; + -khtml-border-bottom-right-radius: 3px; + -khtml-border-top-right-radius: 3px; + -moz-border-radius-bottomright: 3px; + -moz-border-radius-topright: 3px; + border-bottom-right-radius: 3px; + border-top-right-radius: 3px; } -.folded #adminmenu .wp-submenu ul { - width: 140px; - border-width: 0 0 1px; - border-style: none none solid; +.js.folded #adminmenu .wp-submenu ul { + border-width: 0 0 0 1px; + border-style: solid; } -.folded #adminmenu .wp-submenu li.wp-first-item { - border-top: 0 none; -} - -.folded #adminmenu .wp-submenu a { +.js.folded #adminmenu .wp-submenu a { padding-left: 10px; } -.folded #adminmenu a.wp-has-submenu { +.js.folded #adminmenu a.wp-has-submenu { margin-left: 40px; } -#adminmenu li.menu-top-last .wp-submenu ul { - border-width: 0 0 1px; - border-style: none none solid; -} - #adminmenu .wp-menu-toggle { - width: 22px; + width: 18px; clear: right; float: right; margin: 1px 0 0; height: 27px; padding: 1px 2px 0 0; - cursor: default; -} - -#adminmenu li.wp-has-current-submenu ul { - border-bottom-width: 1px; - border-bottom-style: solid; + cursor: pointer; } #adminmenu .wp-menu-image a { @@ -1061,11 +1410,11 @@ form.upgrade .hint { padding: 6px 0 0 1px; } -#adminmenu #awaiting-mod, +#adminmenu .awaiting-mod, #adminmenu span.update-plugins, #sidemenu li a span.update-plugins { position: absolute; - font-family: Helvetica, Arial, sans-serif; + font-family: Arial, "Bitstream Vera Sans", Helvetica, Verdana, sans-serif; font-size: 9px; line-height: 17px; font-weight: bold; @@ -1077,7 +1426,7 @@ form.upgrade .hint { border-radius: 10px; } -#adminmenu li #awaiting-mod span, +#adminmenu li .awaiting-mod span, #adminmenu li span.update-plugins span, #sidemenu li a span.update-plugins span { display: block; @@ -1091,7 +1440,7 @@ form.upgrade .hint { .post-com-count-wrapper { min-width: 22px; - font-family: Helvetica, Arial, sans-serif; + font-family: Arial, "Bitstream Vera Sans", Helvetica, Verdana, sans-serif; } .post-com-count { @@ -1106,10 +1455,10 @@ form.upgrade .hint { } .post-com-count span { - font-size: 9px; + font-size: 11px; font-weight: bold; - height: 1.7em; - line-height: 1.70em; + height: 1.4em; + line-height: 1.4em; min-width: 0.7em; padding: 0 6px; display: inline-block; @@ -1142,6 +1491,32 @@ strong .post-com-count { padding: 4px 8px; } +#collapse-menu { + font-size: 12px; + line-height: 34px; +} + +.js.folded #collapse-menu span { + display: none; +} + +#collapse-button, +#collapse-button div { + width: 15px; + height: 15px; +} + +#collapse-button { + float: left; + margin: 8px 6px; + border-width: 1px; + border-style: solid; + -moz-border-radius: 10px; + -khtml-border-radius: 10px; + -webkit-border-radius: 10px; + border-radius: 10px; +} + /*------------------------------------------------------------------------------ 8.0 - Layout Blocks @@ -1151,7 +1526,8 @@ body.wp-admin { min-width: 785px; } -body.admin-bar #wphead { +body.admin-bar #wphead, +body.admin-bar #adminmenu { padding-top: 28px; } @@ -1169,6 +1545,11 @@ body.admin-bar #wphead { overflow: hidden; } +.widefat th { + font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif; + font-weight: normal; +} + .widefat td p { margin: 2px 0 0.8em; } @@ -1177,15 +1558,6 @@ body.admin-bar #wphead { margin: 0.6em 0; } -.widget .widget-top, -.postbox h3 { - cursor: move; - -webkit-user-select: none; - -moz-user-select: none; - -khtml-user-select: none; - user-select: none; -} - .postbox-container { float: left; padding-right: 0.5%; @@ -1195,10 +1567,6 @@ body.admin-bar #wphead { min-height: 300px; } -.postbox .hndle span { - padding: 6px 0; -} - .postbox .hndle { cursor: move; } @@ -1210,8 +1578,9 @@ body.admin-bar #wphead { .postbox .handlediv { float: right; - width: 23px; - height: 26px; + width: 27px; + height: 30px; + cursor: pointer; } .sortable-placeholder { @@ -1224,37 +1593,35 @@ body.admin-bar #wphead { .postbox, .stuffbox { margin-bottom: 20px; + padding: 0; border-width: 1px; border-style: solid; line-height: 1; - -moz-border-radius: 6px; - -khtml-border-radius: 6px; - -webkit-border-radius: 6px; - border-radius: 6px; } .widget .widget-top, .postbox h3, -.postbox h3, .stuffbox h3 { - -moz-border-radius: 6px 6px 0 0; - -webkit-border-top-right-radius: 6px; - -webkit-border-top-left-radius: 6px; - -khtml-border-top-right-radius: 6px; - -khtml-border-top-left-radius: 6px; - border-top-right-radius: 6px; - border-top-left-radius: 6px; + margin-top: 1px; + border-bottom-width: 1px; + border-style: solid; + cursor: move; + -webkit-user-select: none; + -moz-user-select: none; + -khtml-user-select: none; + user-select: none; +} + +.postbox .inside, +.stuffbox .inside { + padding: 0 10px; } .postbox.closed h3 { - -moz-border-radius-bottomleft: 4px; - -webkit-border-bottom-left-radius: 4px; - -khtml-border-bottom-left-radius: 4px; - border-bottom-left-radius: 4px; - -moz-border-radius-bottomright: 4px; - -webkit-border-bottom-right-radius: 4px; - -khtml-border-bottom-right-radius: 4px; - border-bottom-right-radius: 4px; + border: none; + -moz-box-shadow: none; + -webkit-box-shadow: none; + box-shadow: none; } .postbox table.form-table { @@ -1320,10 +1687,6 @@ body.admin-bar #wphead { word-wrap: break-word; } -#the-comment-list .check-column { - padding-top: 8px; -} - /*------------------------------------------------------------------------------ 10.0 - List Posts (/Pages/etc) @@ -1374,8 +1737,9 @@ table.fixed { width: 20%; } #commentsdiv.postbox .inside { - line-height:1.4em; - margin:0; + line-height: 1.4em; + margin: 0; + padding: 0; } #commentsdiv.postbox .inside .row-actions { line-height:18px; @@ -1401,7 +1765,7 @@ table.fixed { display: none; width: 7px; height: 4px; - margin-top: 5px; + margin-top: 8px; margin-left: 7px; background-image: url(../images/sort.gif); background-repeat: no-repeat; @@ -1473,10 +1837,11 @@ th.asc:hover span.sorting-indicator { cursor: default; height: 30px; line-height: 30px; - font-size: 11px; + font-size: 12px; } -.tablenav .one-page { +.tablenav .no-pages, +.tablenav .one-page .pagination-links { display: none; } @@ -1487,10 +1852,10 @@ th.asc:hover span.sorting-indicator { padding: 3px 6px; border-width: 1px; border-style: solid; - -moz-border-radius: 5px; - -khtml-border-radius: 5px; - -webkit-border-radius: 5px; - border-radius: 5px; + -moz-border-radius: 3px; + -khtml-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; } .tablenav .tablenav-pages a.disabled:hover { @@ -1619,8 +1984,7 @@ tr.inline-edit-row td { width: 69%; } -#wpbody-content .inline-edit-row-page .inline-edit-col-right, -#wpbody-content .bulk-edit-row-post .inline-edit-col-right { +#wpbody-content .inline-edit-row-page .inline-edit-col-right { margin-top: 27px; } @@ -1712,6 +2076,11 @@ tr.inline-edit-row td { margin-right: 0.5em } +.inline-edit-col-right .input-text-wrap input.inline-edit-menu-order-input { + width: 6em; +} + + /* Styling */ .inline-edit-row h4 { text-transform: uppercase; @@ -1784,7 +2153,7 @@ ul.cat-checklist { .inline-edit-row .catshow, .inline-edit-row .cathide, .inline-edit-row #bulk-titles div { - font-family: "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif; + font-family: Arial, "Bitstream Vera Sans", Helvetica, Verdana, sans-serif; font-style: normal; font-size: 11px; } @@ -1852,23 +2221,29 @@ table .inline-edit-row fieldset ul.cat-hover { padding: 3px 4px; border-width: 1px; border-style: solid; - -moz-border-radius: 6px; - -khtml-border-radius: 6px; - -webkit-border-radius: 6px; - border-radius: 6px; + -moz-border-radius: 3px; + -khtml-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; font-size: 1.7em; line-height: 100%; width: 100%; outline: none; } -#titlediv #title-prompt-text { +#titlediv #title-prompt-text, +#wp-fullscreen-title-prompt-text { color: #bbb; position: absolute; font-size: 1.7em; padding: 8px; } +#wp-fullscreen-title-prompt-text { + left: 0; + padding: 11px; +} + #poststuff .inside-submitbox, #side-sortables .inside-submitbox { margin: 0 3px; @@ -2011,9 +2386,12 @@ input#link_url { } .postbox { + -moz-border-radius: 3px; + -webkit-border-radius: 3px; + -khtml-border-radius: 3px; + border-radius: 3px; position: relative; min-width: 255px; - width: 99.5%; } #trackback_url { @@ -2036,7 +2414,8 @@ input#link_url { width: 100%; } -#side-sortables .category-add input.category-add-sumbit, #post-body .category-add input.category-add input.category-add-sumbit { +#side-sortables .category-add input.category-add-sumbit, +#post-body .category-add input.category-add input.category-add-sumbit { width: auto; } @@ -2110,6 +2489,7 @@ div.tabs-panel-inactive { #side-sortables .add-menu-item-tabs li, .wp-tab-bar li { display: inline; + line-height: 1.35em; } #side-sortables .category-tabs a, @@ -2205,11 +2585,6 @@ form#tags-filter { position: relative; } -p.search-box { - float: right; - margin: -5px 0 0; -} - .screen-per-page { width: 3em; } @@ -2263,17 +2638,17 @@ td.post-title p, td.plugin-title p { border-width: 0 1px 1px; border-style: none solid solid; width: 100%; - -moz-border-radius: 0 0 6px 6px; - -webkit-border-bottom-left-radius: 6px; - -webkit-border-bottom-right-radius: 6px; - -khtml-border-bottom-left-radius: 6px; - -khtml-border-bottom-right-radius: 6px; - border-bottom-left-radius: 6px; - border-bottom-right-radius: 6px; + -moz-border-radius: 0 0 3px 3px; + -webkit-border-bottom-left-radius: 3px; + -webkit-border-bottom-right-radius: 3px; + -khtml-border-bottom-left-radius: 3px; + -khtml-border-bottom-right-radius: 3px; + border-bottom-left-radius: 3px; + border-bottom-right-radius: 3px; } #post-status-info td { - font-size: 11px; + font-size: 12px; } .autosave-info { @@ -2443,7 +2818,7 @@ table.diff tr { table.diff td, table.diff th { padding: .5em; - font-family: Consolas, Monaco, Courier, monospace; + font-family: Consolas, Monaco, monospace; border: none; } @@ -2546,21 +2921,6 @@ div.tabs-panel-inactive { margin: 0 5px 0 125px; } -#side-sortables .category-tabs li, -#side-sortables .add-menu-item-tabs li { - display: inline; -} - -#side-sortables .category-tabs a, -#side-sortables .add-menu-item-tabs a { - text-decoration: none; -} - -#side-sortables .category-tabs, -#side-sortables .add-menu-item-tabs { - margin-bottom: 3px; -} - .categorydiv ul, .customlinkdiv ul, .posttypediv ul, @@ -2662,7 +3022,7 @@ span.description, .form-wrap p { font-size: 12px; font-style: italic; - font-family: "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif; + font-family: Arial, "Bitstream Vera Sans", Helvetica, Verdana, sans-serif; } .form-wrap .form-field { @@ -2694,7 +3054,6 @@ span.description, } .ajaxtag .newtag { - background: transparent; position: relative; } @@ -3007,71 +3366,6 @@ abbr.required { bottom: 1px; } -/* favorite-actions */ -#favorite-actions { - float: right; - margin: 11px 12px 0; - min-width: 130px; - position: relative; -} - -#favorite-first { - -moz-border-radius: 12px; - -khtml-border-radius: 12px; - -webkit-border-radius: 12px; - border-radius: 12px; - line-height: 15px; - padding: 3px 30px 4px 12px; - border-width: 1px; - border-style: solid; -} - -#favorite-inside { - margin: 0 0 0 0px; - padding: 2px 1px; - border-width: 1px; - border-style: solid; - position: absolute; - z-index: 11; - display: none; - -moz-border-radius: 0 0 12px 12px; - -webkit-border-bottom-right-radius: 12px; - -webkit-border-bottom-left-radius: 12px; - -khtml-border-bottom-right-radius: 12px; - -khtml-border-bottom-left-radius: 12px; - border-bottom-right-radius: 12px; - border-bottom-left-radius: 12px; -} - -#favorite-actions a { - display: block; - text-decoration: none; - font-size: 11px; -} - -#favorite-inside a { - padding: 3px 5px 3px 10px; -} - -#favorite-toggle { - height: 22px; - position: absolute; - right: 0; - top: 1px; - width: 28px; -} - -#favorite-actions .slide-down { - -moz-border-radius: 12px 12px 0 0; - -webkit-border-bottom-right-radius: 0; - -webkit-border-bottom-left-radius: 0; - -khtml-border-bottom-right-radius: 0; - -khtml-border-bottom-left-radius: 0; - border-bottom-right-radius: 0; - border-bottom-left-radius: 0; - border-bottom: none; -} - ul#dismissed-updates { display: none; } @@ -3176,10 +3470,10 @@ td.imgedit-settings input { float: left; width: 32px; height: 32px; - -moz-border-radius: 4px; - -khtml-border-radius: 4px; - -webkit-border-radius: 4px; - border-radius: 4px; + -moz-border-radius: 3px; + -khtml-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; border-width: 1px; border-style: solid; } @@ -3363,7 +3657,7 @@ span.imgedit-scale-warn { margin-bottom: 9px; padding: 8px 10px; line-height: 20px; - font-size: 11px; + font-size: 12px; } .form-table th, @@ -3703,19 +3997,26 @@ table#availablethemes td.bottom { } .appearance_page_custom-header #upload-form p label { - font-size: 11px; + font-size: 12px; } -.appearance_page_custom-header #available-headers .default-header { +.appearance_page_custom-header .available-headers .default-header { float: left; margin: 0 20px 20px 0; } -.appearance_page_custom-header #available-headers label input { +.appearance_page_custom-header .random-header { + clear: both; + margin: 0 20px 20px 0; + vertical-align: middle; +} + +.appearance_page_custom-header .available-headers label input, +.appearance_page_custom-header .random-header label input { margin-right: 10px; } -.appearance_page_custom-header #available-headers label img { +.appearance_page_custom-header .available-headers label img { vertical-align: middle; } @@ -3734,10 +4035,6 @@ div#custom-background-image img { max-height: 300px; } -#custom-background label { - padding-right: 15px; -} - /*------------------------------------------------------------------------------ 16.3 - Tabbed Admin Screen Interface (Experimental) @@ -3745,9 +4042,9 @@ div#custom-background-image img { .nav-tab { border-style: solid; - border-color: #ccc #ccc #f9f9f9; + border-color: #dfdfdf #dfdfdf #fff; border-width: 1px 1px 0; - color: #c1c1c1; + color: #aaa; text-shadow: rgba(255,255,255,1) 0 1px 0; font-size: 12px; line-height: 16px; @@ -3755,13 +4052,13 @@ div#custom-background-image img { padding: 4px 14px 6px; text-decoration: none; margin: 0 6px -1px 0; - -moz-border-radius: 5px 5px 0 0; - -webkit-border-top-left-radius: 5px; - -webkit-border-top-right-radius: 5px; - -khtml-border-top-left-radius: 5px; - -khtml-border-top-right-radius: 5px; - border-top-left-radius: 5px; - border-top-right-radius: 5px; + -moz-border-radius: 3px 3px 0 0; + -webkit-border-top-left-radius: 3px; + -webkit-border-top-right-radius: 3px; + -khtml-border-top-left-radius: 3px; + -khtml-border-top-right-radius: 3px; + border-top-left-radius: 3px; + border-top-right-radius: 3px; } .nav-tab-active { @@ -3769,14 +4066,23 @@ div#custom-background-image img { color: #464646; } +.nav-tab:hover, +.nav-tab-active { + border-color: #ccc #ccc #fff; +} + h2.nav-tab-wrapper, h3.nav-tab-wrapper { border-bottom: 1px solid #ccc; padding-bottom: 0; } h2 .nav-tab { - padding: 4px 20px 6px; - font: italic normal normal 24px/35px Georgia, "Times New Roman", "Bitstream Charter", Times, serif; + padding: 4px 10px 6px; + font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif; + font-weight: 200; + font-size: 20px; + line-height: 24px; + } @@ -3824,10 +4130,6 @@ input.button-highlighted, padding: 7px 0; } -.plugins td, .plugins th { - border-bottom: 0 none; -} - .plugins .inactive td, .plugins .inactive th, .plugins .active td, @@ -3857,10 +4159,10 @@ input.button-highlighted, padding: 3px 5px; border-width: 1px; border-style: solid; - -moz-border-radius: 5px; - -khtml-border-radius: 5px; - -webkit-border-radius: 5px; - border-radius: 5px; + -moz-border-radius: 3px; + -khtml-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; } .plugin-install-php h4 { @@ -3902,7 +4204,80 @@ input.button-highlighted, 19.0 - Tools ------------------------------------------------------------------------------*/ +.pressthis { + margin: 20px 0; +} +.pressthis a { + display: inline-block; + width: 113px; + position: relative; + cursor: move; + color: #333; + background: #dfdfdf; + -webkit-gradient( + linear, + left bottom, + left top, + color-stop(0.07, rgb(230,230,230)), + color-stop(0.77, rgb(216,216,216)) + ); + -moz-linear-gradient( + center bottom, + rgb(230,230,230) 7%, + rgb(216,216,216) 77% + ); + background-repeat: no-repeat; + background-image-position: 10px 8px; + border-radius: 5px; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + -o-border-radius: 5px; + border: 1px #b4b4b4 solid; + font: normal normal normal 14px/16px Georgia, "Times New Roman", "Bitstream Charter", Times, serif; + text-decoration: none; + text-shadow: #fff 0 1px 0px; + -webkit-text-shadow: #fff 0 1px 0px; + -moz-text-shadow: #fff 0 1px 0px; + -o-text-shadow: #fff 0 1px 0px; +} + +.pressthis a:hover, +.pressthis a:active { + color: #333 +} + +.pressthis a:hover:after { + transform: skew(20deg) rotate(9deg); + -webkit-transform: skew(20deg) rotate(9deg); + -moz-transform: skew(20deg) rotate(9deg); + box-shadow: 0 10px 8px rgba(0, 0, 0, 0.7); + -webkit-box-shadow: 0 10px 8px rgba(0, 0, 0, 0.7); + -moz-box-shadow: 0 10px 8px rgba(0, 0, 0, 0.7); +} + +.pressthis a span { + background: url(../images/press-this.png) no-repeat -45px 5px ; + padding: 8px 0 8px 32px; + display: inline-block; +} + +.pressthis a:after { + content: ''; + width: 70%; + height: 55%; + z-index: -1; + position: absolute; + right: 10px; + bottom: 9px; + background: transparent; + transform: skew(20deg) rotate(6deg); + -webkit-transform: skew(20deg) rotate(6deg); + -moz-transform: skew(20deg) rotate(6deg); + box-shadow: 0 10px 8px rgba(0, 0, 0, 0.6); + -webkit-box-shadow: 0 10px 8px rgba(0, 0, 0, 0.6); + -moz-box-shadow: 0 10px 8px rgba(0, 0, 0, 0.6); +} /*------------------------------------------------------------------------------ @@ -3912,7 +4287,7 @@ input.button-highlighted, #utc-time, #local-time { padding-left: 25px; font-style: italic; - font-family: "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif; + font-family: Arial, "Bitstream Vera Sans", Helvetica, Verdana, sans-serif; } .defaultavatarpicker .avatar { @@ -3926,7 +4301,12 @@ input.button-highlighted, ------------------------------------------------------------------------------*/ #footer { - margin-top: -46px; + position: absolute; + bottom: 0; + left: 0; + right: 0; + padding: 10px 0; + margin-right: 15px; border-top: 1px; border-style: solid; } @@ -3934,14 +4314,11 @@ input.button-highlighted, #footer, #footer a { font-size: 12px; - font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif; - font-style: italic; } #footer p { margin: 0; - padding: 15px; - line-height: 15px; + line-height: 20px; } #footer a { @@ -3978,14 +4355,14 @@ p.pagenav { } .row-title { - font-size: 12px !important; + font-size: 13px !important; font-weight: bold; } .column-author img, .column-username img { float: left; margin-right: 10px; - margin-top: 3px; + margin-top: 1px; } .row-actions { @@ -4042,7 +4419,6 @@ table.form-table td .updated { position: absolute; } - #poststuff h2 { margin-top: 20px; font-size: 1.5em; @@ -4050,43 +4426,50 @@ table.form-table td .updated { padding: 0 0 3px; clear: left; } + #poststuff h3, .metabox-holder h3 { - font-size: 12px; - font-weight: bold; - padding: 7px 9px; + font-size: 15px; + font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif; + font-weight: normal; + padding: 7px 10px; margin: 0; line-height: 1; } + #poststuff .inside, #poststuff .inside p { - font-size: 11px; - margin: 6px 6px 8px; + font-size: 12px; + margin: 6px 0 8px; } + #poststuff .inside .submitbox p { margin: 1em 0; } + #post-visibility-select, #post-formats-select { line-height: 1.5em; margin-top: 3px; } + #poststuff #submitdiv .inside { margin: 0; + padding: 0; } + #titlediv, #poststuff .postarea { margin-bottom: 20px; } - td.post-title strong, td.plugin-title strong { display: block; margin-bottom: .2em; } + td.post-title p, td.plugin-title p { margin: 6px 0; } - .wp-hidden-children .wp-hidden-child, .ui-tabs-hide { display: none; @@ -4096,7 +4479,6 @@ td.post-title p, td.plugin-title p { text-decoration: none; } - .tool-box { margin: 15px 0 35px; } @@ -4108,12 +4490,10 @@ td.post-title p, td.plugin-title p { font: 18px/24px Georgia, "Times New Roman", "Bitstream Charter", Times, serif; } - .pressthis a { font-size: 1.2em; } - #sidemenu { margin: -30px 15px 0 315px; list-style: none; @@ -4122,6 +4502,7 @@ td.post-title p, td.plugin-title p { padding-left: 10px; font-size: 12px; } + #sidemenu a { padding: 0 7px; display: block; @@ -4132,6 +4513,7 @@ td.post-title p, td.plugin-title p { border-bottom-width: 1px; border-bottom-style: solid; } + #sidemenu li { display: inline; line-height: 200%; @@ -4141,20 +4523,22 @@ td.post-title p, td.plugin-title p { margin: 0; padding: 0; } + #sidemenu a.current { font-weight: normal; padding-left: 6px; padding-right: 6px; - -moz-border-radius: 4px 4px 0 0; - -webkit-border-top-left-radius: 4px; - -webkit-border-top-right-radius: 4px; - -khtml-border-top-left-radius: 4px; - -khtml-border-top-right-radius: 4px; - border-top-left-radius: 4px; - border-top-right-radius: 4px; + -moz-border-radius: 3px 3px 0 0; + -webkit-border-top-left-radius: 3px; + -webkit-border-top-right-radius: 3px; + -khtml-border-top-left-radius: 3px; + -khtml-border-top-right-radius: 3px; + border-top-left-radius: 3px; + border-top-right-radius: 3px; border-width: 1px; border-style: solid; } + #sidemenu li a .count-0 { display: none; } @@ -4166,10 +4550,10 @@ td.post-title p, td.plugin-title p { border-style: solid; line-height: 1.8em; word-spacing: 3px; - -moz-border-radius: 6px; - -khtml-border-radius: 6px; - -webkit-border-radius: 6px; - border-radius: 6px; + -moz-border-radius: 3px; + -khtml-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; } .plugin-install #description, .plugin-install-network #description { @@ -4198,27 +4582,28 @@ body.iframe { .anchors { margin: 10px 20px 10px 20px; } + div.nav { height: 2em; padding: 7px 10px; vertical-align: text-top; margin: 5px 0; } + .nav .button-secondary { padding: 2px 4px; } -* html #themeselect { - padding: 0 3px; - height: 22px; -} + .settings-toggle { text-align: right; margin: 5px 7px 15px 0; font-size: 12px; } + .settings-toggle h3 { margin: 0; } + form#tags-filter { position: relative; } @@ -4236,38 +4621,45 @@ td.media-icon img { max-width: 80px; max-height: 60px; } + .screen-per-page { width: 3em; } -* html #template div {margin-right: 0;} .list-ajax-loading { float: right; margin-right: 9px; margin-top: -1px; } + .tablenav .list-ajax-loading { margin-top: 7px; } + #howto { font-size: 11px; margin: 0 5px; display: block; } + .import-system {font-size: 16px;} #namediv table { width: 100%; } + #namediv td.first { width: 10px; white-space: nowrap; } + #namediv input { width: 98%; } + #namediv p { margin: 10px 0; } + #submitdiv h3 { margin-bottom: 0 !important; } @@ -4283,34 +4675,35 @@ td.media-icon img { overflow: hidden; position: absolute; } + br.clear { height: 2px; line-height: 2px; } + .checkbox { border: none; margin: 0; padding: 0; } + #content { margin: 0; width: 100%; } + fieldset { border: 0; padding: 0; margin: 0; } -#linksubmitdiv div.inside, -div.inside { - padding: 0; - margin: 0; -} + .post-categories { display: inline; margin: 0; padding: 0; } + .post-categories li { display: inline; } diff --git a/src/wp-admin/custom-background.php b/src/wp-admin/custom-background.php index 530cb9e..62ebacf 100644 --- a/src/wp-admin/custom-background.php +++ b/src/wp-admin/custom-background.php @@ -43,14 +43,14 @@ class Custom_Background { var $page = ''; /** - * PHP4 Constructor - Register administration header callback. + * Constructor - Register administration header callback. * * @since 3.0.0 * @param callback $admin_header_callback * @param callback $admin_image_div_callback Optional custom image div output callback. * @return Custom_Background */ - function Custom_Background($admin_header_callback = '', $admin_image_div_callback = '') { + function __construct($admin_header_callback = '', $admin_image_div_callback = '') { $this->admin_header_callback = $admin_header_callback; $this->admin_image_div_callback = $admin_image_div_callback; } @@ -85,7 +85,7 @@ class Custom_Background { '

' . __( 'You can also choose a background color. If you know the hexadecimal code for the color you want, enter it in the Color field. If not, click on the Select a Color link, and a color picker will allow you to choose the exact shade you want.' ) . '

' . '

' . __( 'Don’t forget to click on the Save Changes button when you are finished.' ) . '

' . '

' . __( 'For more information:' ) . '

' . - '

' . __( 'Documentation on Custom Background' ) . '

' . + '

' . __( 'Documentation on Custom Background' ) . '

' . '

' . __( 'Support Forums' ) . '

' ); wp_enqueue_script('custom-background'); wp_enqueue_style('farbtastic'); @@ -237,7 +237,6 @@ if ( get_background_image() ) { -

@@ -270,10 +269,10 @@ if ( get_background_image() ) {
- - - - + + + +
@@ -294,8 +293,9 @@ if ( get_background_image() ) {
+ - + class="hide-if-no-js" id="clearcolor"> ()
@@ -346,6 +346,7 @@ if ( get_background_image() ) { // Add the meta-data wp_update_attachment_metadata( $id, wp_generate_attachment_metadata( $id, $file ) ); + update_post_meta( $id, '_wp_attachment_is_custom_background', get_option('stylesheet' ) ); set_theme_mod('background_image', esc_url($url)); diff --git a/src/wp-admin/custom-header.php b/src/wp-admin/custom-header.php index cdd58fa..24ec9b8 100644 --- a/src/wp-admin/custom-header.php +++ b/src/wp-admin/custom-header.php @@ -42,6 +42,16 @@ class Custom_Image_Header { */ var $default_headers = array(); + + /** + * Holds custom headers uploaded by the user + * + * @var array + * @since 3.2.0 + * @access private + */ + var $uploaded_headers = array(); + /** * Holds the page menu hook. * @@ -52,14 +62,14 @@ class Custom_Image_Header { var $page = ''; /** - * PHP4 Constructor - Register administration header callback. + * Constructor - Register administration header callback. * * @since 2.1.0 * @param callback $admin_header_callback * @param callback $admin_image_div_callback Optional custom image div output callback. * @return Custom_Image_Header */ - function Custom_Image_Header($admin_header_callback, $admin_image_div_callback = '') { + function __construct($admin_header_callback, $admin_image_div_callback = '') { $this->admin_header_callback = $admin_header_callback; $this->admin_image_div_callback = $admin_image_div_callback; } @@ -93,7 +103,7 @@ class Custom_Image_Header { '

' . __( 'If you want to discard your custom header and go back to the default included in your theme, click on the buttons to remove the custom image and restore the original header image.' ) . '

' . '

' . __( 'Some themes come with additional header images bundled. If you see multiple images displayed, select the one you’d like and click the Save Changes button.' ) . '

' . '

' . __( 'For more information:' ) . '

' . - '

' . __( 'Documentation on Custom Header' ) . '

' . + '

' . __( 'Documentation on Custom Header' ) . '

' . '

' . __( 'Support Forums' ) . '

' ); } @@ -183,7 +193,7 @@ class Custom_Image_Header { if ( isset( $_POST['removeheader'] ) ) { check_admin_referer( 'custom-header-options', '_wpnonce-custom-header-options' ); - set_theme_mod( 'header_image', '' ); + set_theme_mod( 'header_image', 'remove-header' ); return; } @@ -199,11 +209,20 @@ class Custom_Image_Header { } } - if ( isset($_POST['default-header']) ) { + if ( isset( $_POST['default-header'] ) ) { check_admin_referer( 'custom-header-options', '_wpnonce-custom-header-options' ); - $this->process_default_headers(); - if ( isset($this->default_headers[$_POST['default-header']]) ) - set_theme_mod('header_image', esc_url($this->default_headers[$_POST['default-header']]['url'])); + if ( 'random-default-image' == $_POST['default-header'] ) { + set_theme_mod( 'header_image', 'random-default-image' ); + } elseif ( 'random-uploaded-image' == $_POST['default-header'] ) { + set_theme_mod( 'header_image', 'random-uploaded-image' ); + } else { + $this->process_default_headers(); + $uploaded = get_uploaded_header_images(); + if ( isset( $uploaded[$_POST['default-header']] ) ) + set_theme_mod( 'header_image', esc_url( $uploaded[$_POST['default-header']]['url'] ) ); + elseif ( isset( $this->default_headers[$_POST['default-header']] ) ) + set_theme_mod( 'header_image', esc_url( $this->default_headers[$_POST['default-header']]['url'] ) ); + } } } @@ -226,22 +245,44 @@ class Custom_Image_Header { $this->default_headers[$header]['url'] = sprintf( $this->default_headers[$header]['url'], get_template_directory_uri(), get_stylesheet_directory_uri() ); $this->default_headers[$header]['thumbnail_url'] = sprintf( $this->default_headers[$header]['thumbnail_url'], get_template_directory_uri(), get_stylesheet_directory_uri() ); } + } /** * Display UI for selecting one of several default headers. * + * Show the random image option if this theme has multiple header images. + * Random image option is on by default if no header has been set. + * * @since 3.0.0 */ - function show_default_header_selector() { - echo '
'; - foreach ( $this->default_headers as $header_key => $header ) { + function show_header_selector( $type = 'default' ) { + if ( 'default' == $type ) { + $headers = $this->default_headers; + } else { + $headers = get_uploaded_header_images(); + $type = 'uploaded'; + } + + if ( 1 < count( $headers ) ) { + echo '
'; + echo ''; + echo '
'; + } + + echo '
'; + foreach ( $headers as $header_key => $header ) { $header_thumbnail = $header['thumbnail_url']; $header_url = $header['url']; - $header_desc = $header['description']; + $header_desc = empty( $header['description'] ) ? '' : $header['description']; echo '
'; - echo ''; + echo ''; echo '
'; } echo '
'; @@ -347,7 +388,8 @@ class Custom_Image_Header { header_text() ) { ?> toggle_text(); - }); + }); +/* ]]> */ -

@@ -480,22 +521,32 @@ class Custom_Image_Header {
- default_headers ) ) : ?> + - + + + default_headers ) ) : ?> + + + @@ -506,7 +557,7 @@ class Custom_Image_Header { + if ( defined( 'HEADER_IMAGE' ) && '' != HEADER_IMAGE ) : ?>
- -

- -

- +

show_default_header_selector(); + $this->show_header_selector( 'uploaded' ); + ?> +
+ +

+ +

+ + show_header_selector( 'default' ); ?>
@@ -519,7 +570,6 @@ class Custom_Image_Header {
header_text() ) : ?> -

@@ -607,6 +657,7 @@ wp_nonce_field( 'custom-header-options', '_wpnonce-custom-header-options' ); ?> if ( $width == HEADER_IMAGE_WIDTH && $height == HEADER_IMAGE_HEIGHT ) { // Add the meta-data wp_update_attachment_metadata( $id, wp_generate_attachment_metadata( $id, $file ) ); + update_post_meta( $id, '_wp_attachment_is_custom_header', get_option('stylesheet' ) ); set_theme_mod('header_image', esc_url($url)); do_action('wp_create_file_in_uploads', $file, $id); // For replication @@ -671,21 +722,22 @@ wp_nonce_field( 'custom-header-options', '_wpnonce-custom-header-options' ); ?> $_POST['height'] = $_POST['height'] * $_POST['oitar']; } - $original = get_attached_file( $_POST['attachment_id'] ); + $attachment_id = absint( $_POST['attachment_id'] ); + $original = get_attached_file($attachment_id); - $cropped = wp_crop_image($_POST['attachment_id'], $_POST['x1'], $_POST['y1'], $_POST['width'], $_POST['height'], HEADER_IMAGE_WIDTH, HEADER_IMAGE_HEIGHT); + $cropped = wp_crop_image( $attachment_id, (int) $_POST['x1'], (int) $_POST['y1'], (int) $_POST['width'], (int) $_POST['height'], HEADER_IMAGE_WIDTH, HEADER_IMAGE_HEIGHT ); if ( is_wp_error( $cropped ) ) wp_die( __( 'Image could not be processed. Please go back and try again.' ), __( 'Image Processing Error' ) ); - $cropped = apply_filters('wp_create_file_in_uploads', $cropped, $_POST['attachment_id']); // For replication + $cropped = apply_filters('wp_create_file_in_uploads', $cropped, $attachment_id); // For replication - $parent = get_post($_POST['attachment_id']); + $parent = get_post($attachment_id); $parent_url = $parent->guid; $url = str_replace(basename($parent_url), basename($cropped), $parent_url); // Construct the object array $object = array( - 'ID' => $_POST['attachment_id'], + 'ID' => $attachment_id, 'post_title' => basename($cropped), 'post_content' => $url, 'post_mime_type' => 'image/jpeg', @@ -695,7 +747,8 @@ wp_nonce_field( 'custom-header-options', '_wpnonce-custom-header-options' ); ?> // Update the attachment wp_insert_attachment($object, $cropped); - wp_update_attachment_metadata( $_POST['attachment_id'], wp_generate_attachment_metadata( $_POST['attachment_id'], $cropped ) ); + wp_update_attachment_metadata( $attachment_id, wp_generate_attachment_metadata( $attachment_id, $cropped ) ); + update_post_meta( $attachment_id, '_wp_attachment_is_custom_header', get_option('stylesheet' ) ); set_theme_mod('header_image', $url); diff --git a/src/wp-admin/edit-comments.php b/src/wp-admin/edit-comments.php index 40ef4a4..cce196b 100644 --- a/src/wp-admin/edit-comments.php +++ b/src/wp-admin/edit-comments.php @@ -1,6 +1,6 @@ prepare_items(); -$total_pages = $wp_list_table->get_pagination_arg( 'total_pages' ); -if ( $pagenum > $total_pages && $total_pages > 0 ) { - wp_redirect( add_query_arg( 'paged', $total_pages ) ); - exit; -} - wp_enqueue_script('admin-comments'); enqueue_comment_hotkeys_js(); @@ -120,11 +114,11 @@ add_screen_option( 'per_page', array('label' => _x( 'Comments', 'comments per pa add_contextual_help( $current_screen, '

' . __( 'You can manage comments made on your site similar to the way you manage Posts and other content. This screen is customizable in the same ways as other management screens, and you can act on comments using the on-hover action links or the Bulk Actions.' ) . '

' . '

' . __( 'A yellow row means the comment is waiting for you to moderate it.' ) . '

' . '

' . __( 'In the Author column, in addition to the author’s name, email address, and blog URL, the commenter’s IP address is shown. Clicking on this link will show you all the comments made from this IP address.' ) . '

' . - '

' . __( 'In the Comment column, above each comment it says “Submitted on,” followed by the date and time the comment was left on your site. Clicking on the date/time link will take you to that comment on your live site.' ) . '

' . + '

' . __( 'In the Comment column, above each comment it says “Submitted on,” followed by the date and time the comment was left on your site. Clicking on the date/time link will take you to that comment on your live site. Hovering over any comment gives you options to approve, reply (and approve), quick edit, edit, spam mark, or trash that comment.' ) . '

' . '

' . __( 'In the In Response To column, there are three elements. The text is the name of the post that inspired the comment, and links to the post editor for that entry. The “#” permalink symbol below leads to that post on your live site. The small bubble with the number in it shows how many comments that post has received. If the bubble is gray, you have moderated all comments for that post. If it is blue, there are pending comments. Clicking the bubble will filter the comments screen to show only comments on that post.' ) . '

' . '

' . __( 'Many people take advantage of keyboard shortcuts to moderate their comments more quickly. Use the link below to learn more.' ) . '

' . '

' . __( 'For more information:' ) . '

' . - '

' . __( 'Documentation on Comments' ) . '

' . + '

' . __( 'Documentation on Comments' ) . '

' . '

' . __( 'Documentation on Comment Spam' ) . '

' . '

' . __( 'Documentation on Keyboard Shortcuts' ) . '

' . '

' . __( 'Support Forums' ) . '

' diff --git a/src/wp-admin/edit-form-advanced.php b/src/wp-admin/edit-form-advanced.php index 720e510..aed7b64 100644 --- a/src/wp-admin/edit-form-advanced.php +++ b/src/wp-admin/edit-form-advanced.php @@ -12,12 +12,6 @@ if ( !defined('ABSPATH') ) wp_enqueue_script('post'); -if ( post_type_supports($post_type, 'editor') ) { - if ( user_can_richedit() ) - wp_enqueue_script('editor'); - wp_enqueue_script('word-count'); -} - if ( post_type_supports($post_type, 'editor') || post_type_supports($post_type, 'thumbnail') ) { add_thickbox(); wp_enqueue_script('media-upload'); @@ -170,28 +164,28 @@ add_screen_option('layout_columns', array('max' => 2) ); if ( 'post' == $post_type ) { add_contextual_help($current_screen, - '

' . __('The title field and the big Post Editing Area are fixed in place, but you can reposition all the other boxes using drag and drop, and can minimize or expand them by clicking the title bar of the box. Use the Screen Options tab to unhide more boxes (Excerpt, Send Trackbacks, Custom Fields, Discussion, Slug, Author) or to choose a 1- or 2-column layout for this screen.') . '

' . + '

' . __('The title field and the big Post Editing Area are fixed in place, but you can reposition all the other boxes using drag and drop, and can minimize or expand them by clicking the title bar of each box. Use the Screen Options tab to unhide more boxes (Excerpt, Send Trackbacks, Custom Fields, Discussion, Slug, Author) or to choose a 1- or 2-column layout for this screen.') . '

' . '

' . __('Title - Enter a title for your post. After you enter a title, you’ll see the permalink below, which you can edit.') . '

' . - '

' . __('Post editor - Enter the text for your post. There are two modes of editing: Visual and HTML. Choose the mode by clicking on the appropriate tab. Visual mode gives you a WYSIWYG editor. Click the last icon in the row to get a second row of controls. The screen icon just before that allows you to expand the edit box to full screen. The HTML mode allows you to enter raw HTML along with your post text. You can insert media files by clicking the icons above the post editor and following the directions.') . '

' . + '

' . __('Post editor - Enter the text for your post. There are two modes of editing: Visual and HTML. Choose the mode by clicking on the appropriate tab. Visual mode gives you a WYSIWYG editor. Click the last icon in the row to get a second row of controls. The HTML mode allows you to enter raw HTML along with your post text. You can insert media files by clicking the icons above the post editor and following the directions. You can go the distraction-free writing screen, new in 3.2, via the Fullscreen icon in Visual mode (second to last in the top row) or the Fullscreen button in HTML mode (last in the row). Once there, you can make buttons visible by hovering over the top area. Exit Fullscreen back to the regular post editor.') . '

' . '

' . __('Publish - You can set the terms of publishing your post in the Publish box. For Status, Visibility, and Publish (immediately), click on the Edit link to reveal more options. Visibility includes options for password-protecting a post or making it stay at the top of your blog indefinitely (sticky). Publish (immediately) allows you to set a future or past date and time, so you can schedule a post to be published in the future or backdate a post.') . '

' . - ( ( current_theme_supports( 'post-formats' ) && post_type_supports( 'post', 'post-formats' ) ) ? '

' . __( 'Post Format - This designates how your theme will display a specific post. For example, you could have a standard blog post with a title and paragraphs, or a short aside that omits the title and contains a short text blurb. Please refer to the Codex for descriptions of each post format.' ) . '

' : '' ) . + ( ( current_theme_supports( 'post-formats' ) && post_type_supports( 'post', 'post-formats' ) ) ? '

' . __( 'Post Format - This designates how your theme will display a specific post. For example, you could have a standard blog post with a title and paragraphs, or a short aside that omits the title and contains a short text blurb. Please refer to the Codex for descriptions of each post format. Your theme could enable all or some of 10 possible formats.' ) . '

' : '' ) . '

' . __('Featured Image - This allows you to associate an image with your post without inserting it. This is usually useful only if your theme makes use of the featured image as a post thumbnail on the home page, a custom header, etc.') . '

' . '

' . __('Send Trackbacks - Trackbacks are a way to notify legacy blog systems that you’ve linked to them. Enter the URL(s) you want to send trackbacks. If you link to other WordPress sites they’ll be notified automatically using pingbacks, and this field is unnecessary.') . '

' . '

' . __('Discussion - You can turn comments and pings on or off, and if there are comments on the post, you can see them here and moderate them.') . '

' . '

' . sprintf(__('You can also create posts with the Press This bookmarklet.'), 'options-writing.php') . '

' . '

' . __('For more information:') . '

' . - '

' . __('Documentation on Writing and Editing Posts') . '

' . + '

' . __('Documentation on Writing and Editing Posts') . '

' . '

' . __('Support Forums') . '

' ); } elseif ( 'page' == $post_type ) { add_contextual_help($current_screen, '

' . __('Pages are similar to Posts in that they have a title, body text, and associated metadata, but they are different in that they are not part of the chronological blog stream, kind of like permanent posts. Pages are not categorized or tagged, but can have a hierarchy. You can nest Pages under other Pages by making one the “Parent” of the other, creating a group of Pages.') . '

' . - '

' . __('Creating a Page is very similar to creating a Post, and the screens can be customized in the same way using drag and drop, the Screen Options tab, and expanding/collapsing boxes as you choose. The Page editor mostly works the same Post editor, but there are some Page-specific features in the Page Attributes box:') . '

' . + '

' . __('Creating a Page is very similar to creating a Post, and the screens can be customized in the same way using drag and drop, the Screen Options tab, and expanding/collapsing boxes as you choose. This screen also has the new in 3.2 distraction-free writing space, available in both the Visual and HTML modes via the Fullscreen buttons. The Page editor mostly works the same as the Post editor, but there are some Page-specific features in the Page Attributes box:') . '

' . '

' . __('Parent - You can arrange your pages in hierarchies. For example, you could have an “About” page that has “Life Story” and “My Dog” pages under it. There are no limits to how many levels you can nest pages.') . '

' . '

' . __('Template - Some themes have custom templates you can use for certain pages that might have additional features or custom layouts. If so, you’ll see them in this dropdown menu.') . '

' . '

' . __('Order - Pages are usually ordered alphabetically, but you can choose your own order by entering a number (1 for first, etc.) in this field.') . '

' . '

' . __('For more information:') . '

' . - '

' . __('Documentation on Adding New Pages') . '

' . - '

' . __('Documentation on Editing Pages') . '

' . + '

' . __('Documentation on Adding New Pages') . '

' . + '

' . __('Documentation on Editing Pages') . '

' . '

' . __('Support Forums') . '

' ); } @@ -201,7 +195,7 @@ require_once('./admin-header.php');
-

+

labels->add_new); ?>

@@ -210,7 +204,6 @@ require_once('./admin-header.php'); > - @@ -248,12 +241,12 @@ $side_meta_boxes = do_meta_boxes($post_type, 'side', $post);
publicly_queryable ) ? get_sample_permalink_html($post->ID) : ''; +$sample_permalink_html = $post_type_object->public ? get_sample_permalink_html($post->ID) : ''; $shortlink = wp_get_shortlink($post->ID, 'post'); if ( !empty($shortlink) ) $sample_permalink_html .= '' . __('Get Shortlink') . ''; -if ( ! empty( $post_type_object->publicly_queryable ) && ! ( 'pending' == $post->post_status && !current_user_can( $post_type_object->cap->publish_posts ) ) ) { ?> +if ( $post_type_object->public && ! ( 'pending' == $post->post_status && !current_user_can( $post_type_object->cap->publish_posts ) ) ) { ?>
ID) && ! empty($sample_permalink_html) && 'auto-draft' != $post->post_status ) @@ -276,9 +269,9 @@ wp_nonce_field( 'samplepermalink', 'samplepermalinknonce', false ); post_content); ?>
- + diff --git a/src/wp-admin/includes/class-wp-plugin-install-list-table.php b/src/wp-admin/includes/class-wp-plugin-install-list-table.php index 4893ae6..1f809b3 100644 --- a/src/wp-admin/includes/class-wp-plugin-install-list-table.php +++ b/src/wp-admin/includes/class-wp-plugin-install-list-table.php @@ -138,7 +138,7 @@ class WP_Plugin_Install_List_Table extends WP_List_Table { function get_columns() { return array( - 'name' => __( 'Name' ), + 'name' => _x( 'Name', 'plugin name' ), 'version' => __( 'Version' ), 'rating' => __( 'Rating' ), 'description' => __( 'Description' ), @@ -220,11 +220,18 @@ class WP_Plugin_Install_List_Table extends WP_List_Table { diff --git a/src/wp-admin/includes/class-wp-plugins-list-table.php b/src/wp-admin/includes/class-wp-plugins-list-table.php index b5ad6d4..99ce212 100644 --- a/src/wp-admin/includes/class-wp-plugins-list-table.php +++ b/src/wp-admin/includes/class-wp-plugins-list-table.php @@ -9,7 +9,7 @@ */ class WP_Plugins_List_Table extends WP_List_Table { - function WP_Plugins_List_Table() { + function __construct() { global $status, $page; $default_status = get_user_option( 'plugins_last_view' ); @@ -21,13 +21,17 @@ class WP_Plugins_List_Table extends WP_List_Table { if ( $status != $default_status && 'search' != $status ) update_user_meta( get_current_user_id(), 'plugins_last_view', $status ); + + if ( isset($_REQUEST['s']) ) + $_SERVER['REQUEST_URI'] = add_query_arg('s', stripslashes($_REQUEST['s']) ); + $page = $this->get_pagenum(); - parent::WP_List_Table( array( + parent::__construct( array( 'plural' => 'plugins', ) ); } - + function get_table_classes() { return array( 'widefat', $this->_args['plural'] ); } @@ -132,7 +136,7 @@ class WP_Plugins_List_Table extends WP_List_Table { uasort( $this->items, array( &$this, '_order_callback' ) ); } - $plugins_per_page = $this->get_items_per_page( str_replace( '-', '_', $screen->id . '_per_page' ) ); + $plugins_per_page = $this->get_items_per_page( str_replace( '-', '_', $screen->id . '_per_page' ), 999 ); $start = ( $page - 1 ) * $plugins_per_page; @@ -287,9 +291,9 @@ class WP_Plugins_List_Table extends WP_List_Table { if ( 'recently_activated' == $status ) submit_button( __( 'Clear List' ), 'secondary', 'clear-recent-list', false ); elseif ( 'top' == $which && 'mustuse' == $status ) - echo '

' . __( 'Files in the /wp-content/mu-plugins directory are executed automatically.' ) . '

'; + echo '

' . sprintf( __( 'Files in the %s directory are executed automatically.' ), str_replace( ABSPATH, '/', WPMU_PLUGIN_DIR ) ) . '

'; elseif ( 'top' == $which && 'dropins' == $status ) - echo '

' . __( 'Drop-ins are advanced plugins in the /wp-content directory that replace WordPress functionality when present.' ) . '

'; + echo '

' . sprintf( __( 'Drop-ins are advanced plugins in the %s directory that replace WordPress functionality when present.' ), str_replace( ABSPATH, '', WP_CONTENT_DIR ) ) . '

'; echo ''; } diff --git a/src/wp-admin/includes/class-wp-posts-list-table.php b/src/wp-admin/includes/class-wp-posts-list-table.php index c1b4c34..bdd24a6 100644 --- a/src/wp-admin/includes/class-wp-posts-list-table.php +++ b/src/wp-admin/includes/class-wp-posts-list-table.php @@ -45,7 +45,7 @@ class WP_Posts_List_Table extends WP_List_Table { */ var $sticky_posts_count = 0; - function WP_Posts_List_Table() { + function __construct() { global $post_type_object, $post_type, $wpdb; if ( !isset( $_REQUEST['post_type'] ) ) @@ -74,7 +74,7 @@ class WP_Posts_List_Table extends WP_List_Table { $this->sticky_posts_count = $wpdb->get_var( $wpdb->prepare( "SELECT COUNT( 1 ) FROM $wpdb->posts WHERE post_type = %s AND post_status != 'trash' AND ID IN ($sticky_posts)", $post_type ) ); } - parent::WP_List_Table( array( + parent::__construct( array( 'plural' => 'posts', ) ); } @@ -281,7 +281,7 @@ class WP_Posts_List_Table extends WP_List_Table { $post_status = !empty( $_REQUEST['post_status'] ) ? $_REQUEST['post_status'] : 'all'; if ( post_type_supports( $post_type, 'comments' ) && !in_array( $post_status, array( 'pending', 'draft', 'future' ) ) ) - $posts_columns['comments'] = '
' . esc_attr__( 'Comments' ) . '
'; + $posts_columns['comments'] = '' . esc_attr__( 'Comments' ) . ''; $posts_columns['date'] = __( 'Date' ); @@ -550,11 +550,13 @@ class WP_Posts_List_Table extends WP_List_Table { if ( 'trash' == $post->post_status || !EMPTY_TRASH_DAYS ) $actions['delete'] = "" . __( 'Delete Permanently' ) . ""; } - if ( in_array( $post->post_status, array( 'pending', 'draft' ) ) ) { - if ( $can_edit_post ) - $actions['view'] = '' . __( 'Preview' ) . ''; - } elseif ( 'trash' != $post->post_status ) { - $actions['view'] = '' . __( 'View' ) . ''; + if ( $post_type_object->public ) { + if ( in_array( $post->post_status, array( 'pending', 'draft' ) ) ) { + if ( $can_edit_post ) + $actions['view'] = '' . __( 'Preview' ) . ''; + } elseif ( 'trash' != $post->post_status ) { + $actions['view'] = '' . __( 'View' ) . ''; + } } $actions = apply_filters( is_post_type_hierarchical( $post->post_type ) ? 'page_row_actions' : 'post_row_actions', $actions, $post ); @@ -1003,6 +1005,7 @@ class WP_Posts_List_Table extends WP_List_Table { } ?> +

diff --git a/src/wp-admin/includes/class-wp-terms-list-table.php b/src/wp-admin/includes/class-wp-terms-list-table.php index ac4d963..7778d88 100644 --- a/src/wp-admin/includes/class-wp-terms-list-table.php +++ b/src/wp-admin/includes/class-wp-terms-list-table.php @@ -11,7 +11,7 @@ class WP_Terms_List_Table extends WP_List_Table { var $callback_args; - function WP_Terms_List_Table() { + function __construct() { global $post_type, $taxonomy, $tax; wp_reset_vars( array( 'action', 'taxonomy', 'post_type' ) ); @@ -27,7 +27,7 @@ class WP_Terms_List_Table extends WP_List_Table { if ( empty( $post_type ) || !in_array( $post_type, get_post_types( array( 'public' => true ) ) ) ) $post_type = 'post'; - parent::WP_List_Table( array( + parent::__construct( array( 'plural' => 'tags', 'singular' => 'tag', ) ); @@ -97,7 +97,7 @@ class WP_Terms_List_Table extends WP_List_Table { $columns = array( 'cb' => '', - 'name' => __( 'Name' ), + 'name' => _x( 'Name', 'term name' ), 'description' => __( 'Description' ), 'slug' => __( 'Slug' ), ); @@ -250,7 +250,7 @@ class WP_Terms_List_Table extends WP_List_Table { $pad = str_repeat( '— ', max( 0, $this->level ) ); $name = apply_filters( 'term_name', $pad . ' ' . $tag->name, $tag ); $qe_data = get_term( $tag->term_id, $taxonomy, OBJECT, 'edit' ); - $edit_link = get_edit_term_link( $tag->term_id, $taxonomy, $post_type ); + $edit_link = esc_url( get_edit_term_link( $tag->term_id, $taxonomy, $post_type ) ); $out = '' . $name . '
'; @@ -261,6 +261,7 @@ class WP_Terms_List_Table extends WP_List_Table { } if ( current_user_can( $tax->cap->delete_terms ) && $tag->term_id != $default_term ) $actions['delete'] = "term_id ) . "'>" . __( 'Delete' ) . ""; + $actions['view'] = '' . __( 'View' ) . ''; $actions = apply_filters( 'tag_row_actions', $actions, $tag ); $actions = apply_filters( "{$taxonomy}_row_actions", $actions, $tag ); @@ -269,7 +270,7 @@ class WP_Terms_List_Table extends WP_List_Table { $out .= ''; + $out .= '
' . $qe_data->parent . '
'; return $out; } @@ -300,7 +301,7 @@ class WP_Terms_List_Table extends WP_List_Table { $args['post_type'] = $post_type; - return "$count"; + return "$count"; } function column_links( $tag ) { @@ -335,7 +336,7 @@ class WP_Terms_List_Table extends WP_List_Table {

diff --git a/src/wp-admin/includes/class-wp-themes-list-table.php b/src/wp-admin/includes/class-wp-themes-list-table.php index 91e1d25..5cb7648 100644 --- a/src/wp-admin/includes/class-wp-themes-list-table.php +++ b/src/wp-admin/includes/class-wp-themes-list-table.php @@ -24,9 +24,8 @@ class WP_Themes_List_Table extends WP_List_Table { $themes = get_allowed_themes(); - $search = !empty( $_REQUEST['s'] ) ? trim( stripslashes( $_REQUEST['s'] ) ) : ''; - - if ( '' !== $search ) { + if ( ! empty( $_REQUEST['s'] ) ) { + $search = strtolower( stripslashes( $_REQUEST['s'] ) ); $this->search = array_merge( $this->search, array_filter( array_map( 'trim', explode( ',', $search ) ) ) ); $this->search = array_unique( $this->search ); } diff --git a/src/wp-admin/includes/class-wp-upgrader.php b/src/wp-admin/includes/class-wp-upgrader.php index d81b305..1cf4c41 100644 --- a/src/wp-admin/includes/class-wp-upgrader.php +++ b/src/wp-admin/includes/class-wp-upgrader.php @@ -25,9 +25,6 @@ class WP_Upgrader { var $skin = null; var $result = array(); - function WP_Upgrader($skin = null) { - return $this->__construct($skin); - } function __construct($skin = null) { if ( null == $skin ) $this->skin = new WP_Upgrader_Skin(); @@ -211,25 +208,25 @@ class WP_Upgrader { $destination = trailingslashit($destination) . trailingslashit(basename($source)); } - if ( $wp_filesystem->exists($remote_destination) ) { - if ( $clear_destination ) { - //We're going to clear the destination if theres something there - $this->skin->feedback('remove_old'); + if ( $clear_destination ) { + //We're going to clear the destination if theres something there + $this->skin->feedback('remove_old'); + $removed = true; + if ( $wp_filesystem->exists($remote_destination) ) $removed = $wp_filesystem->delete($remote_destination, true); - $removed = apply_filters('upgrader_clear_destination', $removed, $local_destination, $remote_destination, $hook_extra); + $removed = apply_filters('upgrader_clear_destination', $removed, $local_destination, $remote_destination, $hook_extra); - if ( is_wp_error($removed) ) - return $removed; - else if ( ! $removed ) - return new WP_Error('remove_old_failed', $this->strings['remove_old_failed']); - } else { - //If we're not clearing the destination folder and something exists there allready, Bail. - //But first check to see if there are actually any files in the folder. - $_files = $wp_filesystem->dirlist($remote_destination); - if ( ! empty($_files) ) { - $wp_filesystem->delete($remote_source, true); //Clear out the source files. - return new WP_Error('folder_exists', $this->strings['folder_exists'], $remote_destination ); - } + if ( is_wp_error($removed) ) + return $removed; + else if ( ! $removed ) + return new WP_Error('remove_old_failed', $this->strings['remove_old_failed']); + } elseif ( $wp_filesystem->exists($remote_destination) ) { + //If we're not clearing the destination folder and something exists there allready, Bail. + //But first check to see if there are actually any files in the folder. + $_files = $wp_filesystem->dirlist($remote_destination); + if ( ! empty($_files) ) { + $wp_filesystem->delete($remote_source, true); //Clear out the source files. + return new WP_Error('folder_exists', $this->strings['folder_exists'], $remote_destination ); } } @@ -302,8 +299,10 @@ class WP_Upgrader { return $download; } + $delete_package = ($download != $package); // Do not delete a "local" file + //Unzip's the file into a temporary directory - $working_dir = $this->unpack_package( $download ); + $working_dir = $this->unpack_package( $download, $delete_package ); if ( is_wp_error($working_dir) ) { $this->skin->error($working_dir); $this->skin->after(); @@ -581,7 +580,7 @@ class Plugin_Upgrader extends WP_Upgrader { return $removed; // If plugin is in its own directory, recursively delete the directory. - if ( strpos($plugin, '/') && $this_plugin_dir != $plugins_dir ) //base check on if plugin includes directory seperator AND that its not the root plugin folder + if ( strpos($plugin, '/') && $this_plugin_dir != $plugins_dir ) //base check on if plugin includes directory separator AND that its not the root plugin folder $deleted = $wp_filesystem->delete($this_plugin_dir, true); else $deleted = $wp_filesystem->delete($plugins_dir . $plugin); @@ -589,7 +588,7 @@ class Plugin_Upgrader extends WP_Upgrader { if ( ! $deleted ) return new WP_Error('remove_old_failed', $this->strings['remove_old_failed']); - return $removed; + return true; } } @@ -868,7 +867,7 @@ class Core_Upgrader extends WP_Upgrader { } function upgrade($current) { - global $wp_filesystem; + global $wp_filesystem, $wp_version; $this->init(); $this->upgrade_strings(); @@ -886,7 +885,21 @@ class Core_Upgrader extends WP_Upgrader { $wp_dir = trailingslashit($wp_filesystem->abspath()); - $download = $this->download_package( $current->package ); + // If partial update is returned from the API, use that, unless we're doing a reinstall. + // If we cross the new_bundled version number, then use the new_bundled zip. + // Don't though if the constant is set to skip bundled items. + // If the API returns a no_content zip, go with it. Finally, default to the full zip. + if ( $current->packages->partial && 'reinstall' != $current->response && $wp_version == $current->partial_version ) + $to_download = 'partial'; + elseif ( $current->packages->new_bundled && version_compare( $wp_version, $current->new_bundled, '<' ) + && ( ! defined( 'CORE_UPGRADE_SKIP_NEW_BUNDLED' ) || ! CORE_UPGRADE_SKIP_NEW_BUNDLED ) ) + $to_download = 'new_bundled'; + elseif ( $current->packages->no_content ) + $to_download = 'no_content'; + else + $to_download = 'full'; + + $download = $this->download_package( $current->packages->$to_download ); if ( is_wp_error($download) ) return $download; @@ -923,9 +936,6 @@ class WP_Upgrader_Skin { var $done_header = false; var $result = false; - function WP_Upgrader_Skin($args = array()) { - return $this->__construct($args); - } function __construct($args = array()) { $defaults = array( 'url' => '', 'nonce' => '', 'title' => '', 'context' => false ); $this->options = wp_parse_args($args, $defaults); @@ -1012,10 +1022,6 @@ class Plugin_Upgrader_Skin extends WP_Upgrader_Skin { var $plugin_active = false; var $plugin_network_active = false; - function Plugin_Upgrader_Skin($args = array()) { - return $this->__construct($args); - } - function __construct($args = array()) { $defaults = array( 'url' => '', 'plugin' => '', 'nonce' => '', 'title' => __('Update Plugin') ); $args = wp_parse_args($args, $defaults); @@ -1068,10 +1074,6 @@ class Bulk_Upgrader_Skin extends WP_Upgrader_Skin { var $in_loop = false; var $error = false; - function Bulk_Upgrader_Skin($args = array()) { - return $this->__construct($args); - } - function __construct($args = array()) { $defaults = array( 'url' => '', 'nonce' => '' ); $args = wp_parse_args($args, $defaults); @@ -1176,7 +1178,8 @@ class Bulk_Upgrader_Skin extends WP_Upgrader_Skin { class Bulk_Plugin_Upgrader_Skin extends Bulk_Upgrader_Skin { var $plugin_info = array(); // Plugin_Upgrader::bulk() will fill this in. - function Plugin_Upgrader_Skin($args = array()) { + + function __construct($args = array()) { parent::__construct($args); } @@ -1207,7 +1210,8 @@ class Bulk_Plugin_Upgrader_Skin extends Bulk_Upgrader_Skin { class Bulk_Theme_Upgrader_Skin extends Bulk_Upgrader_Skin { var $theme_info = array(); // Theme_Upgrader::bulk() will fill this in. - function Theme_Upgrader_Skin($args = array()) { + + function __construct($args = array()) { parent::__construct($args); } @@ -1249,10 +1253,6 @@ class Plugin_Installer_Skin extends WP_Upgrader_Skin { var $api; var $type; - function Plugin_Installer_Skin($args = array()) { - return $this->__construct($args); - } - function __construct($args = array()) { $defaults = array( 'type' => 'web', 'url' => '', 'plugin' => '', 'nonce' => '', 'title' => '' ); $args = wp_parse_args($args, $defaults); @@ -1317,10 +1317,6 @@ class Theme_Installer_Skin extends WP_Upgrader_Skin { var $api; var $type; - function Theme_Installer_Skin($args = array()) { - return $this->__construct($args); - } - function __construct($args = array()) { $defaults = array( 'type' => 'web', 'url' => '', 'theme' => '', 'nonce' => '', 'title' => '' ); $args = wp_parse_args($args, $defaults); @@ -1383,10 +1379,6 @@ class Theme_Installer_Skin extends WP_Upgrader_Skin { class Theme_Upgrader_Skin extends WP_Upgrader_Skin { var $theme = ''; - function Theme_Upgrader_Skin($args = array()) { - return $this->__construct($args); - } - function __construct($args = array()) { $defaults = array( 'url' => '', 'theme' => '', 'nonce' => '', 'title' => __('Update Theme') ); $args = wp_parse_args($args, $defaults); @@ -1438,9 +1430,6 @@ class File_Upload_Upgrader { var $package; var $filename; - function File_Upload_Upgrader($form, $urlholder) { - return $this->__construct($form, $urlholder); - } function __construct($form, $urlholder) { if ( ! ( ( $uploads = wp_upload_dir() ) && false === $uploads['error'] ) ) wp_die($uploads['error']); diff --git a/src/wp-admin/includes/class-wp-users-list-table.php b/src/wp-admin/includes/class-wp-users-list-table.php index d52d75f..de22748 100644 --- a/src/wp-admin/includes/class-wp-users-list-table.php +++ b/src/wp-admin/includes/class-wp-users-list-table.php @@ -12,14 +12,14 @@ class WP_Users_List_Table extends WP_List_Table { var $site_id; var $is_site_users; - function WP_Users_List_Table() { + function __construct() { $screen = get_current_screen(); $this->is_site_users = 'site-users-network' == $screen->id; if ( $this->is_site_users ) $this->site_id = isset( $_REQUEST['id'] ) ? intval( $_REQUEST['id'] ) : 0; - parent::WP_List_Table( array( + parent::__construct( array( 'singular' => 'user', 'plural' => 'users' ) ); @@ -52,7 +52,8 @@ class WP_Users_List_Table extends WP_List_Table { 'fields' => 'all_with_meta' ); - $args['search'] = '*' . $args['search'] . '*'; + if ( '' !== $args['search'] ) + $args['search'] = '*' . $args['search'] . '*'; if ( $this->is_site_users ) $args['blog_id'] = $this->site_id; @@ -112,7 +113,7 @@ class WP_Users_List_Table extends WP_List_Table { $name = translate_user_role( $name ); /* translators: User role name with count */ $name = sprintf( __('%1$s (%2$s)'), $name, $avail_roles[$this_role] ); - $role_links[$this_role] = "$name"; + $role_links[$this_role] = "$name"; } return $role_links; diff --git a/src/wp-admin/includes/dashboard.php b/src/wp-admin/includes/dashboard.php index 2b10928..1d3f373 100644 --- a/src/wp-admin/includes/dashboard.php +++ b/src/wp-admin/includes/dashboard.php @@ -1,6 +1,6 @@ id, $location, 'core' ); + + $priority = 'core'; + if ( 'dashboard_browser_nag' === $widget_id ) + $priority = 'high'; + + add_meta_box( $widget_id, $widget_name, $callback, $screen->id, $location, $priority ); } function _wp_dashboard_control_callback( $dashboard, $meta_box ) { @@ -384,25 +399,29 @@ function wp_dashboard_right_now() { $num = number_format_i18n( $num_widgets ); $switch_themes = $ct->title; - if ( current_user_can( 'switch_themes') ) { - echo '' . __('Change Theme') . ''; + if ( current_user_can( 'switch_themes') ) $switch_themes = '' . $switch_themes . ''; - } if ( current_user_can( 'edit_theme_options' ) ) { printf(_n('Theme %1$s with %2$s Widget', 'Theme %1$s with %2$s Widgets', $num_widgets), $switch_themes, $num); } else { printf(_n('Theme %1$s with %2$s Widget', 'Theme %1$s with %2$s Widgets', $num_widgets), $switch_themes, $num); } } else { - if ( current_user_can( 'switch_themes' ) ) { - echo '' . __('Change Theme') . ''; + if ( current_user_can( 'switch_themes' ) ) printf( __('Theme %1$s'), $ct->title ); - } else { + else printf( __('Theme %1$s'), $ct->title ); - } } echo '

'; + // Check if search engines are blocked. + if ( !is_network_admin() && !is_user_admin() && current_user_can('manage_options') && '1' != get_option('blog_public') ) { + $title = apply_filters('privacy_on_link_title', __('Your site is asking search engines not to index its content') ); + $content = apply_filters('privacy_on_link_text', __('Search Engines Blocked') ); + + echo "

$content

"; + } + update_right_now_message(); echo "\n\t".'
'; @@ -457,7 +476,7 @@ function wp_network_dashboard_right_now() { do_action( 'mu_activity_box_end' ); } -function wp_dashboard_quick_press_output() { +function wp_dashboard_quick_press() { global $post_ID; $drafts = false; @@ -538,7 +557,7 @@ function wp_dashboard_quick_press_output() { - +

@@ -550,10 +569,6 @@ function wp_dashboard_quick_press_output() { wp_dashboard_recent_drafts( $drafts ); } -function wp_dashboard_quick_press() { - echo '

' . __( 'Loading…' ) . '

' . __('This widget requires JavaScript.') . '

'; -} - function wp_dashboard_recent_drafts( $drafts = false ) { if ( !$drafts ) { $drafts_query = new WP_Query( array( @@ -581,7 +596,7 @@ function wp_dashboard_recent_drafts( $drafts = false ) {
  • \n
  • ", $list ); ?>
-

+

-

+ views(); ?> ' . __( 'Loading…' ) . '

' . __('This widget requires JavaScript.') . '

'; + wp_dashboard_cached_rss_widget( 'dashboard_incoming_links', 'wp_dashboard_incoming_links_output' ); } /** @@ -855,7 +870,7 @@ function wp_dashboard_incoming_links_control() { } function wp_dashboard_primary() { - echo '

' . __( 'Loading…' ) . '

' . __('This widget requires JavaScript.') . '

'; + wp_dashboard_cached_rss_widget( 'dashboard_primary', 'wp_dashboard_rss_output' ); } function wp_dashboard_primary_control() { @@ -877,7 +892,7 @@ function wp_dashboard_rss_output( $widget_id ) { } function wp_dashboard_secondary() { - echo '

' . __( 'Loading…' ) . '

' . __('This widget requires JavaScript.') . '

'; + wp_dashboard_cached_rss_widget( 'dashboard_secondary', 'wp_dashboard_secondary_output' ); } function wp_dashboard_secondary_control() { @@ -916,7 +931,11 @@ function wp_dashboard_secondary_output() { } function wp_dashboard_plugins() { - echo '

' . __( 'Loading…' ) . '

' . __('This widget requires JavaScript.') . '

'; + wp_dashboard_cached_rss_widget( 'dashboard_plugins', 'wp_dashboard_plugins_output', array( + 'http://wordpress.org/extend/plugins/rss/browse/popular/', + 'http://wordpress.org/extend/plugins/rss/browse/new/', + 'http://wordpress.org/extend/plugins/rss/browse/updated/' + ) ); } /** @@ -1016,30 +1035,35 @@ function wp_dashboard_plugins_output() { * @return bool False on failure. True on success. */ function wp_dashboard_cached_rss_widget( $widget_id, $callback, $check_urls = array() ) { - $loading = '

' . __( 'Loading…' ) . '

'; + $loading = '

' . __( 'Loading…' ) . '

' . __( 'This widget requires JavaScript.' ) . '

'; + $doing_ajax = ( defined('DOING_AJAX') && DOING_AJAX ); if ( empty($check_urls) ) { $widgets = get_option( 'dashboard_widget_options' ); - if ( empty($widgets[$widget_id]['url']) ) { + if ( empty($widgets[$widget_id]['url']) && ! $doing_ajax ) { echo $loading; return false; } $check_urls = array( $widgets[$widget_id]['url'] ); } - include_once ABSPATH . WPINC . '/class-feed.php'; - foreach ( $check_urls as $check_url ) { - $cache = new WP_Feed_Cache_Transient('', md5($check_url), ''); - if ( ! $cache->load() ) { - echo $loading; - return false; - } + $cache_key = 'dash_' . md5( $widget_id ); + if ( false !== ( $output = get_transient( $cache_key ) ) ) { + echo $output; + return true; + } + + if ( ! $doing_ajax ) { + echo $loading; + return false; } if ( $callback && is_callable( $callback ) ) { $args = array_slice( func_get_args(), 2 ); array_unshift( $args, $widget_id ); + ob_start(); call_user_func_array( $callback, $args ); + set_transient( $cache_key, ob_get_flush(), 43200); // Default lifetime in cache of 12 hours (same as the feeds) } return true; @@ -1099,6 +1123,8 @@ function wp_dashboard_rss_control( $widget_id, $form_inputs = array() ) { } } update_option( 'dashboard_widget_options', $widget_options ); + $cache_key = 'dash_' . md5( $widget_id ); + delete_transient( $cache_key ); } wp_widget_rss_form( $widget_options[$widget_id], $form_inputs ); @@ -1106,7 +1132,7 @@ function wp_dashboard_rss_control( $widget_id, $form_inputs = array() ) { // Display File upload quota on dashboard function wp_dashboard_quota() { - if ( !is_multisite() || !current_user_can('edit_posts') || get_site_option( 'upload_space_check_disabled' ) ) + if ( !is_multisite() || !current_user_can('upload_files') || get_site_option( 'upload_space_check_disabled' ) ) return true; $quota = get_space_allowed(); @@ -1116,7 +1142,7 @@ function wp_dashboard_quota() { $percentused = '100'; else $percentused = ( $used / $quota ) * 100; - $used_color = ( $percentused < 70 ) ? ( ( $percentused >= 40 ) ? 'waiting' : 'approved' ) : 'spam'; + $used_color = ( $percentused >= 70 ) ? ' spam' : ''; $used = round( $used, 2 ); $percentused = number_format( $percentused ); @@ -1134,7 +1160,7 @@ function wp_dashboard_quota() {
0' ); ?> -   +   post_status ) { echo ''; diff --git a/src/wp-admin/edit-form-comment.php b/src/wp-admin/edit-form-comment.php index b359536..6767ffe 100644 --- a/src/wp-admin/edit-form-comment.php +++ b/src/wp-admin/edit-form-comment.php @@ -120,7 +120,7 @@ $date = date_i18n( $datef, strtotime( $comment->comment_date ) );
-comment_content, 'content', 'newcomment_author_url', false, 4); ?> +comment_content, 'content', 'newcomment_author_url', false, 4, false); ?>
diff --git a/src/wp-admin/edit-link-form.php b/src/wp-admin/edit-link-form.php index f5bc030..2835787 100644 --- a/src/wp-admin/edit-link-form.php +++ b/src/wp-admin/edit-link-form.php @@ -44,7 +44,7 @@ add_contextual_help($current_screen, '

' . __( 'The boxes for link name, web address, and description have fixed positions, while the others may be repositioned using drag and drop. You can also hide boxes you don’t use in the Screen Options tab, or minimize boxes by clicking on the title bar of the box.' ) . '

' . '

' . __( 'XFN stands for XHTML Friends Network, which is optional. WordPress allows the generation of XFN attributes to show how you are related to the authors/owners of the site to which you are linking.' ) . '

' . '

' . __( 'For more information:' ) . '

' . - '

' . __( 'Documentation on Creating Links' ) . '

' . + '

' . __( 'Documentation on Creating Links' ) . '

' . '

' . __( 'Support Forums' ) . '

' ); @@ -53,7 +53,7 @@ require_once ('admin-header.php'); ?>
-

+

@@ -83,7 +83,7 @@ $side_meta_boxes = do_meta_boxes( 'link', 'side', $link );
-

+

diff --git a/src/wp-admin/edit-tag-form.php b/src/wp-admin/edit-tag-form.php index daac923..92f074a 100644 --- a/src/wp-admin/edit-tag-form.php +++ b/src/wp-admin/edit-tag-form.php @@ -68,7 +68,7 @@ do_action($taxonomy . '_pre_edit_form', $tag, $taxonomy); ?> // Back compat hooks if ( 'category' == $taxonomy ) do_action('edit_category_form_fields', $tag); - if ( 'link_category' == $taxonomy ) + elseif ( 'link_category' == $taxonomy ) do_action('edit_link_category_form_fields', $tag); else do_action('edit_tag_form_fields', $tag); @@ -80,7 +80,7 @@ do_action($taxonomy . '_pre_edit_form', $tag, $taxonomy); ?> // Back compat hooks if ( 'category' == $taxonomy ) do_action('edit_category_form', $tag); -if ( 'link_category' == $taxonomy ) +elseif ( 'link_category' == $taxonomy ) do_action('edit_link_category_form', $tag); else do_action('edit_tag_form', $tag); diff --git a/src/wp-admin/edit-tags.php b/src/wp-admin/edit-tags.php index 0a82e29..12867a2 100644 --- a/src/wp-admin/edit-tags.php +++ b/src/wp-admin/edit-tags.php @@ -1,6 +1,6 @@ current_action() ) { case 'add-tag': - check_admin_referer( 'add-tag' ); + check_admin_referer( 'add-tag', '_wpnonce_add-tag' ); if ( !current_user_can( $tax->cap->edit_terms ) ) wp_die( __( 'Cheatin’ uh?' ) ); @@ -209,11 +209,11 @@ if ( 'category' == $taxonomy || 'link_category' == $taxonomy || 'post_tag' == $t '

' . __( 'For more information:' ) . '

'; if ( 'category' == $taxonomy ) - $help .= '

' . __( 'Documentation on Categories' ) . '

'; + $help .= '

' . __( 'Documentation on Categories' ) . '

'; elseif ( 'link_category' == $taxonomy ) - $help .= '

' . __( 'Documentation on Link Categories' ) . '

'; + $help .= '

' . __( 'Documentation on Link Categories' ) . '

'; else - $help .= '

' . __( 'Documentation on Post Tags' ) . '

'; + $help .= '

' . __( 'Documentation on Post Tags' ) . '

'; $help .= '

' . __('Support Forums') . '

'; @@ -328,7 +328,7 @@ if ( current_user_can($tax->cap->edit_terms) ) { - +
diff --git a/src/wp-admin/edit.php b/src/wp-admin/edit.php index 39424ac..933219e 100644 --- a/src/wp-admin/edit.php +++ b/src/wp-admin/edit.php @@ -1,6 +1,6 @@ prepare_items(); -$total_pages = $wp_list_table->get_pagination_arg( 'total_pages' ); -if ( $pagenum > $total_pages && $total_pages > 0 ) { - wp_redirect( add_query_arg( 'paged', $total_pages ) ); - exit; -} - wp_enqueue_script('inline-edit-post'); $title = $post_type_object->labels->name; @@ -170,7 +166,7 @@ if ( 'post' == $post_type ) { '' . '

' . __('You can also edit multiple posts at once. Select the posts you want to edit using the checkboxes, select Edit from the Bulk Actions menu and click Apply. You will be able to change the metadata (categories, author, etc.) for all selected posts at once. To remove a post from the grouping, just click the x next to its name in the Bulk Edit area that appears.') . '

' . '

' . __('For more information:') . '

' . - '

' . __('Documentation on Managing Posts') . '

' . + '

' . __('Documentation on Managing Posts') . '

' . '

' . __('Support Forums') . '

' ); } elseif ( 'page' == $post_type ) { @@ -179,7 +175,7 @@ if ( 'post' == $post_type ) { '

' . __('Managing Pages is very similar to managing Posts, and the screens can be customized in the same way.') . '

' . '

' . __('You can also perform the same types of actions, including narrowing the list by using the filters, acting on a Page using the action links that appear when you hover over a row, or using the Bulk Actions menu to edit the metadata for multiple Pages at once.') . '

' . '

' . __('For more information:') . '

' . - '

' . __('Documentation on Managing Pages') . '

' . + '

' . __('Documentation on Managing Pages') . '

' . '

' . __('Support Forums') . '

' ); } @@ -190,7 +186,7 @@ require_once('./admin-header.php'); ?>
-

labels->name ); ?> labels->add_new); ?> labels->name ); ?> labels->add_new); ?> ' . __('Search results for “%s”') . '', get_search_query() ); ?>

diff --git a/src/wp-admin/export.php b/src/wp-admin/export.php index b765fa0..024ccf6 100644 --- a/src/wp-admin/export.php +++ b/src/wp-admin/export.php @@ -1,6 +1,6 @@ ' . __('You can export a file of your site’s content in order to import it into another installation or platform. The export file will be an XML file format called WXR. Posts, pages, comments, custom fields, categories, and tags can be included. You can choose for the WXR file to include only certain posts or pages by setting the dropdown filters to limit the export by category, author, date range by month, or publishing status.') . '

' . '

' . __('Once generated, your WXR file can be imported by another WordPress site or by another blogging platform able to access this format.') . '

' . '

' . __('For more information:') . '

' . - '

' . __('Documentation on Export') . '

' . + '

' . __('Documentation on Export') . '

' . '

' . __('Support Forums') . '

' ); @@ -109,7 +109,7 @@ function export_date_options() { continue; $month = zeroise( $date->month, 2 ); - echo ''; + echo ''; } } ?> diff --git a/src/wp-admin/freedoms.php b/src/wp-admin/freedoms.php new file mode 100644 index 0000000..cf7309a --- /dev/null +++ b/src/wp-admin/freedoms.php @@ -0,0 +1,42 @@ + +
+ +

+ +

license, the GPL.' ), 'http://wordpress.org/about/license/' ); ?>

+ +
    +
  1. +
  2. +
  3. +
  4. +
+ +

check out our trademark guidelines first.' ), 'http://wordpressfoundation.org/trademark-policy/' ); ?>

+ +

plugins and themes there. If you get a plugin or theme from another source, make sure to ask them if it’s GPL first. If they don’t respect the WordPress license, we don’t recommend them.' ), $plugins_url, $themes_url, 'http://wordpress.org/about/license/' ); ?>

+ +

Free Software Foundation.' ); ?>

+ +
+ diff --git a/src/wp-admin/images/arrows-dark-vs.png b/src/wp-admin/images/arrows-dark-vs.png new file mode 100644 index 0000000..0d1dc7a Binary files /dev/null and b/src/wp-admin/images/arrows-dark-vs.png differ diff --git a/src/wp-admin/images/arrows-dark.png b/src/wp-admin/images/arrows-dark.png new file mode 100644 index 0000000..29f814d Binary files /dev/null and b/src/wp-admin/images/arrows-dark.png differ diff --git a/src/wp-admin/images/arrows-vs.png b/src/wp-admin/images/arrows-vs.png new file mode 100644 index 0000000..d2536b9 Binary files /dev/null and b/src/wp-admin/images/arrows-vs.png differ diff --git a/src/wp-admin/images/arrows.png b/src/wp-admin/images/arrows.png new file mode 100644 index 0000000..775a7a0 Binary files /dev/null and b/src/wp-admin/images/arrows.png differ diff --git a/src/wp-admin/images/gray-star.png b/src/wp-admin/images/gray-star.png new file mode 100644 index 0000000..a32b058 Binary files /dev/null and b/src/wp-admin/images/gray-star.png differ diff --git a/src/wp-admin/images/logo-login.gif b/src/wp-admin/images/logo-login.gif deleted file mode 100644 index 72422b2..0000000 Binary files a/src/wp-admin/images/logo-login.gif and /dev/null differ diff --git a/src/wp-admin/images/logo-login.png b/src/wp-admin/images/logo-login.png new file mode 100644 index 0000000..497f683 Binary files /dev/null and b/src/wp-admin/images/logo-login.png differ diff --git a/src/wp-admin/images/menu-arrow-frame-rtl.png b/src/wp-admin/images/menu-arrow-frame-rtl.png new file mode 100644 index 0000000..b0e120b Binary files /dev/null and b/src/wp-admin/images/menu-arrow-frame-rtl.png differ diff --git a/src/wp-admin/images/menu-arrow-frame.png b/src/wp-admin/images/menu-arrow-frame.png new file mode 100644 index 0000000..33d19d8 Binary files /dev/null and b/src/wp-admin/images/menu-arrow-frame.png differ diff --git a/src/wp-admin/images/menu-shadow-rtl.png b/src/wp-admin/images/menu-shadow-rtl.png new file mode 100644 index 0000000..a750771 Binary files /dev/null and b/src/wp-admin/images/menu-shadow-rtl.png differ diff --git a/src/wp-admin/images/menu-shadow.png b/src/wp-admin/images/menu-shadow.png new file mode 100644 index 0000000..b0883a8 Binary files /dev/null and b/src/wp-admin/images/menu-shadow.png differ diff --git a/src/wp-admin/images/press-this.png b/src/wp-admin/images/press-this.png new file mode 100644 index 0000000..26c9697 Binary files /dev/null and b/src/wp-admin/images/press-this.png differ diff --git a/src/wp-admin/images/resize-rtl.gif b/src/wp-admin/images/resize-rtl.gif new file mode 100644 index 0000000..95e7b32 Binary files /dev/null and b/src/wp-admin/images/resize-rtl.gif differ diff --git a/src/wp-admin/images/star.gif b/src/wp-admin/images/star.gif deleted file mode 100644 index ff671f7..0000000 Binary files a/src/wp-admin/images/star.gif and /dev/null differ diff --git a/src/wp-admin/images/star.png b/src/wp-admin/images/star.png new file mode 100644 index 0000000..4ca5261 Binary files /dev/null and b/src/wp-admin/images/star.png differ diff --git a/src/wp-admin/images/wp-logo-vs.png b/src/wp-admin/images/wp-logo-vs.png index f364b26..13f3fa6 100644 Binary files a/src/wp-admin/images/wp-logo-vs.png and b/src/wp-admin/images/wp-logo-vs.png differ diff --git a/src/wp-admin/images/wp-logo.png b/src/wp-admin/images/wp-logo.png index 81e7d59..224f7c8 100644 Binary files a/src/wp-admin/images/wp-logo.png and b/src/wp-admin/images/wp-logo.png differ diff --git a/src/wp-admin/import.php b/src/wp-admin/import.php index f94f704..0200e56 100644 --- a/src/wp-admin/import.php +++ b/src/wp-admin/import.php @@ -1,6 +1,6 @@ ' . __('This screen lists links to plugins to import data from blogging/content management platforms. Choose the platform you want to import from, and click Install Now when you are prompted in the popup window. If your platform is not listed, click the link to search the plugin directory for other importer plugins to see if there is one for your platform.') . '

' . '

' . __('In previous versions of WordPress, all the importers were built-in, but they have been turned into plugins as of version 3.0 since most people only use them once or infrequently.') . '

' . '

' . __('For more information:') . '

' . - '

' . __('Documentation on Import') . '

' . + '

' . __('Documentation on Import') . '

' . '

' . __('Support Forums') . '

' ); diff --git a/src/wp-admin/includes/class-wp-comments-list-table.php b/src/wp-admin/includes/class-wp-comments-list-table.php index 90c158f..fd25129 100644 --- a/src/wp-admin/includes/class-wp-comments-list-table.php +++ b/src/wp-admin/includes/class-wp-comments-list-table.php @@ -21,7 +21,7 @@ class WP_Comments_List_Table extends WP_List_Table { var $pending_count = array(); - function WP_Comments_List_Table() { + function __construct() { global $post_id; $post_id = isset( $_REQUEST['p'] ) ? absint( $_REQUEST['p'] ) : 0; @@ -29,7 +29,7 @@ class WP_Comments_List_Table extends WP_List_Table { if ( get_option('show_avatars') ) add_filter( 'comment_author', 'floated_admin_avatar' ); - parent::WP_List_Table( array( + parent::__construct( array( 'plural' => 'comments', 'singular' => 'comment', 'ajax' => true, @@ -110,6 +110,8 @@ class WP_Comments_List_Table extends WP_List_Table { $_comment_post_ids[] = $_c->comment_post_ID; } + $_comment_post_ids = array_unique( $_comment_post_ids ); + $this->pending_count = get_pending_comments_num( $_comment_post_ids ); $this->set_pagination_args( array( diff --git a/src/wp-admin/includes/class-wp-filesystem-base.php b/src/wp-admin/includes/class-wp-filesystem-base.php index 0aaadeb..fd3fdc3 100644 --- a/src/wp-admin/includes/class-wp-filesystem-base.php +++ b/src/wp-admin/includes/class-wp-filesystem-base.php @@ -21,7 +21,7 @@ class WP_Filesystem_Base { */ var $verbose = false; /** - * Cached list of local filepaths to maped remote filepaths. + * Cached list of local filepaths to mapped remote filepaths. * * @since 2.7 * @access private @@ -82,7 +82,18 @@ class WP_Filesystem_Base { * @return string The location of the remote path. */ function wp_themes_dir() { - return $this->wp_content_dir() . '/themes'; + return $this->wp_content_dir() . 'themes/'; + } + /** + * Returns the path on the remote filesystem of WP_LANG_DIR + * + * @since 3.2.0 + * @access public + * + * @return string The location of the remote path. + */ + function wp_lang_dir() { + return $this->find_folder(WP_LANG_DIR); } /** @@ -137,7 +148,7 @@ class WP_Filesystem_Base { function find_folder($folder) { if ( strpos($this->method, 'ftp') !== false ) { - $constant_overrides = array( 'FTP_BASE' => ABSPATH, 'FTP_CONTENT_DIR' => WP_CONTENT_DIR, 'FTP_PLUGIN_DIR' => WP_PLUGIN_DIR ); + $constant_overrides = array( 'FTP_BASE' => ABSPATH, 'FTP_CONTENT_DIR' => WP_CONTENT_DIR, 'FTP_PLUGIN_DIR' => WP_PLUGIN_DIR, 'FTP_LANG_DIR' => WP_LANG_DIR ); foreach ( $constant_overrides as $constant => $dir ) if ( defined($constant) && $folder === $dir ) return trailingslashit(constant($constant)); @@ -204,14 +215,14 @@ class WP_Filesystem_Base { } } - //Only check this as a last resort, to prevent locating the incorrect install. All above proceeedures will fail quickly if this is the right branch to take. + //Only check this as a last resort, to prevent locating the incorrect install. All above procedures will fail quickly if this is the right branch to take. if (isset( $files[ $last_path ] ) ) { if ( $this->verbose ) printf( __('Found %s') . '
', $base . $last_path ); return trailingslashit($base . $last_path); } if ( $loop ) - return false; //Prevent tihs function looping again. + return false; //Prevent this function from looping again. //As an extra last resort, Change back to / if the folder wasnt found. This comes into effect when the CWD is /home/user/ but WP is at /var/www/.... mainly dedicated setups. return $this->search_for_folder($folder, '/', true); diff --git a/src/wp-admin/includes/class-wp-filesystem-direct.php b/src/wp-admin/includes/class-wp-filesystem-direct.php index 94319bc..9703d73 100644 --- a/src/wp-admin/includes/class-wp-filesystem-direct.php +++ b/src/wp-admin/includes/class-wp-filesystem-direct.php @@ -19,9 +19,9 @@ class WP_Filesystem_Direct extends WP_Filesystem_Base { /** * constructor * - * @param mixed $arg ingored argument + * @param mixed $arg ignored argument */ - function WP_Filesystem_Direct($arg) { + function __construct($arg) { $this->method = 'direct'; $this->errors = new WP_Error(); } @@ -193,11 +193,14 @@ class WP_Filesystem_Direct extends WP_Filesystem_Base { return $grouparray['name']; } - function copy($source, $destination, $overwrite = false) { + function copy($source, $destination, $overwrite = false, $mode = false) { if ( ! $overwrite && $this->exists($destination) ) return false; - return copy($source, $destination); + $rtval = copy($source, $destination); + if ( $mode ) + $this->chmod($destination, $mode); + return $rtval; } function move($source, $destination, $overwrite = false) { @@ -216,12 +219,12 @@ class WP_Filesystem_Direct extends WP_Filesystem_Base { } } - function delete($file, $recursive = false) { + function delete($file, $recursive = false, $type = false) { if ( empty($file) ) //Some filesystems report this as /, which can cause non-expected recursive deletion of all files in the filesystem. return false; - $file = str_replace('\\', '/', $file); //for win32, occasional problems deleteing files otherwise + $file = str_replace('\\', '/', $file); //for win32, occasional problems deleting files otherwise - if ( $this->is_file($file) ) + if ( 'f' == $type || $this->is_file($file) ) return @unlink($file); if ( ! $recursive && $this->is_dir($file) ) return @rmdir($file); @@ -233,7 +236,7 @@ class WP_Filesystem_Direct extends WP_Filesystem_Base { $retval = true; if ( is_array($filelist) ) //false if no files, So check first. foreach ($filelist as $filename => $fileinfo) - if ( ! $this->delete($file . $filename, $recursive) ) + if ( ! $this->delete($file . $filename, $recursive, $fileinfo['type']) ) $retval = false; if ( file_exists($file) && ! @rmdir($file) ) diff --git a/src/wp-admin/includes/class-wp-filesystem-ftpext.php b/src/wp-admin/includes/class-wp-filesystem-ftpext.php index df4ce0a..ff65d4c 100644 --- a/src/wp-admin/includes/class-wp-filesystem-ftpext.php +++ b/src/wp-admin/includes/class-wp-filesystem-ftpext.php @@ -19,7 +19,7 @@ class WP_Filesystem_FTPext extends WP_Filesystem_Base { var $errors = null; var $options = array(); - function WP_Filesystem_FTPext($opt='') { + function __construct($opt='') { $this->method = 'ftpext'; $this->errors = new WP_Error(); @@ -183,22 +183,22 @@ class WP_Filesystem_FTPext extends WP_Filesystem_Base { $dir = $this->dirlist($file); return $dir[$file]['group']; } - function copy($source, $destination, $overwrite = false ) { + function copy($source, $destination, $overwrite = false, $mode = false) { if ( ! $overwrite && $this->exists($destination) ) return false; $content = $this->get_contents($source); if ( false === $content) return false; - return $this->put_contents($destination, $content); + return $this->put_contents($destination, $content, $mode); } function move($source, $destination, $overwrite = false) { return ftp_rename($this->link, $source, $destination); } - function delete($file, $recursive = false ) { + function delete($file, $recursive = false, $type = false) { if ( empty($file) ) return false; - if ( $this->is_file($file) ) + if ( 'f' == $type || $this->is_file($file) ) return @ftp_delete($this->link, $file); if ( !$recursive ) return @ftp_rmdir($this->link, $file); @@ -206,7 +206,7 @@ class WP_Filesystem_FTPext extends WP_Filesystem_Base { $filelist = $this->dirlist( trailingslashit($file) ); if ( !empty($filelist) ) foreach ( $filelist as $delete_file ) - $this->delete( trailingslashit($file) . $delete_file['name'], $recursive); + $this->delete( trailingslashit($file) . $delete_file['name'], $recursive, $delete_file['type'] ); return @ftp_rmdir($this->link, $file); } diff --git a/src/wp-admin/includes/class-wp-filesystem-ftpsockets.php b/src/wp-admin/includes/class-wp-filesystem-ftpsockets.php index efd19d1..1dc170a 100644 --- a/src/wp-admin/includes/class-wp-filesystem-ftpsockets.php +++ b/src/wp-admin/includes/class-wp-filesystem-ftpsockets.php @@ -19,7 +19,7 @@ class WP_Filesystem_ftpsockets extends WP_Filesystem_Base { var $errors = null; var $options = array(); - function WP_Filesystem_ftpsockets($opt = '') { + function __construct($opt = '') { $this->method = 'ftpsockets'; $this->errors = new WP_Error(); @@ -193,7 +193,7 @@ class WP_Filesystem_ftpsockets extends WP_Filesystem_Base { return $dir[$file]['group']; } - function copy($source, $destination, $overwrite = false ) { + function copy($source, $destination, $overwrite = false, $mode = false) { if ( ! $overwrite && $this->exists($destination) ) return false; @@ -201,17 +201,17 @@ class WP_Filesystem_ftpsockets extends WP_Filesystem_Base { if ( false === $content ) return false; - return $this->put_contents($destination, $content); + return $this->put_contents($destination, $content, $mode); } function move($source, $destination, $overwrite = false ) { return $this->ftp->rename($source, $destination); } - function delete($file, $recursive = false ) { + function delete($file, $recursive = false, $type = false) { if ( empty($file) ) return false; - if ( $this->is_file($file) ) + if ( 'f' == $type || $this->is_file($file) ) return $this->ftp->delete($file); if ( !$recursive ) return $this->ftp->rmdir($file); diff --git a/src/wp-admin/includes/class-wp-filesystem-ssh2.php b/src/wp-admin/includes/class-wp-filesystem-ssh2.php index f5a6402..b809f45 100644 --- a/src/wp-admin/includes/class-wp-filesystem-ssh2.php +++ b/src/wp-admin/includes/class-wp-filesystem-ssh2.php @@ -48,7 +48,7 @@ class WP_Filesystem_SSH2 extends WP_Filesystem_Base { var $errors = array(); var $options = array(); - function WP_Filesystem_SSH2($opt='') { + function __construct($opt='') { $this->method = 'ssh2'; $this->errors = new WP_Error(); @@ -238,28 +238,28 @@ class WP_Filesystem_SSH2 extends WP_Filesystem_Base { return $grouparray['name']; } - function copy($source, $destination, $overwrite = false ) { + function copy($source, $destination, $overwrite = false, $mode = false) { if ( ! $overwrite && $this->exists($destination) ) return false; $content = $this->get_contents($source); if ( false === $content) return false; - return $this->put_contents($destination, $content); + return $this->put_contents($destination, $content, $mode); } function move($source, $destination, $overwrite = false) { return @ssh2_sftp_rename($this->link, $source, $destination); } - function delete($file, $recursive = false) { - if ( $this->is_file($file) ) + function delete($file, $recursive = false, $type = false) { + if ( 'f' == $type || $this->is_file($file) ) return ssh2_sftp_unlink($this->sftp_link, $file); if ( ! $recursive ) return ssh2_sftp_rmdir($this->sftp_link, $file); $filelist = $this->dirlist($file); if ( is_array($filelist) ) { foreach ( $filelist as $filename => $fileinfo) { - $this->delete($file . '/' . $filename, $recursive); + $this->delete($file . '/' . $filename, $recursive, $fileinfo['type']); } } return ssh2_sftp_rmdir($this->sftp_link, $file); diff --git a/src/wp-admin/includes/class-wp-importer.php b/src/wp-admin/includes/class-wp-importer.php index 8115ff2..2b4774b 100644 --- a/src/wp-admin/includes/class-wp-importer.php +++ b/src/wp-admin/includes/class-wp-importer.php @@ -10,10 +10,6 @@ class WP_Importer { */ function __construct() {} - function WP_Importer() { - $this->__construct(); - } - /** * Returns array with imported permalinks from WordPress database * diff --git a/src/wp-admin/includes/class-wp-links-list-table.php b/src/wp-admin/includes/class-wp-links-list-table.php index bf1c0bc..cbe3ed5 100644 --- a/src/wp-admin/includes/class-wp-links-list-table.php +++ b/src/wp-admin/includes/class-wp-links-list-table.php @@ -9,8 +9,8 @@ */ class WP_Links_List_Table extends WP_List_Table { - function WP_Links_List_Table() { - parent::WP_List_Table( array( + function __construct() { + parent::__construct( array( 'plural' => 'bookmarks', ) ); } @@ -77,7 +77,7 @@ class WP_Links_List_Table extends WP_List_Table { function get_columns() { return array( 'cb' => '', - 'name' => __( 'Name' ), + 'name' => _x( 'Name', 'link name' ), 'url' => __( 'URL' ), 'categories' => __( 'Categories' ), 'rel' => __( 'Relationship' ), diff --git a/src/wp-admin/includes/class-wp-list-table.php b/src/wp-admin/includes/class-wp-list-table.php index 1d80a7b..6420ee7 100644 --- a/src/wp-admin/includes/class-wp-list-table.php +++ b/src/wp-admin/includes/class-wp-list-table.php @@ -77,7 +77,7 @@ class WP_List_Table { * @param array $args An associative array with information about the current table * @access protected */ - function WP_List_Table( $args = array() ) { + function __construct( $args = array() ) { $args = wp_parse_args( $args, array( 'plural' => '', 'singular' => '', @@ -139,6 +139,12 @@ class WP_List_Table { if ( !$args['total_pages'] && $args['per_page'] > 0 ) $args['total_pages'] = ceil( $args['total_items'] / $args['per_page'] ); + // redirect if page number is invalid and headers are not already sent + if ( ! headers_sent() && ( ! defined( 'DOING_AJAX' ) || ! DOING_AJAX ) && $args['total_pages'] > 0 && $this->get_pagenum() > $args['total_pages'] ) { + wp_redirect( add_query_arg( 'paged', $args['total_pages'] ) ); + exit; + } + $this->_pagination_args = $args; } @@ -282,8 +288,13 @@ class WP_List_Table { echo "\n"; submit_button( __( 'Apply' ), 'button-secondary action', false, false, array( 'id' => "doaction$two" ) ); @@ -528,9 +539,12 @@ class WP_List_Table { '»' ); - $output .= "\n" . join( "\n", $page_links ); + $output .= "\n" . join( "\n", $page_links ) . ''; - $page_class = $total_pages < 2 ? ' one-page' : ''; + if ( $total_pages ) + $page_class = $total_pages < 2 ? ' one-page' : ''; + else + $page_class = ' no-pages'; $this->_pagination = "
$output
"; diff --git a/src/wp-admin/includes/class-wp-media-list-table.php b/src/wp-admin/includes/class-wp-media-list-table.php index 5e05f01..531fe60 100644 --- a/src/wp-admin/includes/class-wp-media-list-table.php +++ b/src/wp-admin/includes/class-wp-media-list-table.php @@ -9,10 +9,10 @@ */ class WP_Media_List_Table extends WP_List_Table { - function WP_Media_List_Table() { + function __construct() { $this->detached = isset( $_REQUEST['detached'] ) || isset( $_REQUEST['find_detached'] ); - parent::WP_List_Table( array( + parent::__construct( array( 'plural' => 'media' ) ); } @@ -137,7 +137,7 @@ class WP_Media_List_Table extends WP_List_Table { /* translators: column name */ if ( !$this->detached ) { $posts_columns['parent'] = _x( 'Attached to', 'column name' ); - $posts_columns['comments'] = '
Comments
'; + $posts_columns['comments'] = 'Comments'; } /* translators: column name */ $posts_columns['date'] = _x( 'Date', 'column name' ); @@ -215,7 +215,7 @@ foreach ( $columns as $column_name => $column_display_name ) { case 'title': ?> -
>is_trash ) echo $att_title; else { ?> + >is_trash ) echo $att_title; else { ?>

ID ), $matches ) ) diff --git a/src/wp-admin/includes/class-wp-ms-sites-list-table.php b/src/wp-admin/includes/class-wp-ms-sites-list-table.php index 5414d2c..baefc82 100644 --- a/src/wp-admin/includes/class-wp-ms-sites-list-table.php +++ b/src/wp-admin/includes/class-wp-ms-sites-list-table.php @@ -9,8 +9,8 @@ */ class WP_MS_Sites_List_Table extends WP_List_Table { - function WP_MS_Sites_List_Table() { - parent::WP_List_Table( array( + function __construct() { + parent::__construct( array( 'plural' => 'sites', ) ); } diff --git a/src/wp-admin/includes/class-wp-ms-themes-list-table.php b/src/wp-admin/includes/class-wp-ms-themes-list-table.php index 6e34a16..cd9841d 100644 --- a/src/wp-admin/includes/class-wp-ms-themes-list-table.php +++ b/src/wp-admin/includes/class-wp-ms-themes-list-table.php @@ -12,7 +12,7 @@ class WP_MS_Themes_List_Table extends WP_List_Table { var $site_id; var $is_site_themes; - function WP_MS_Themes_List_Table() { + function __construct() { global $status, $page; $default_status = get_user_option( 'themes_last_view' ); @@ -32,7 +32,7 @@ class WP_MS_Themes_List_Table extends WP_List_Table { if ( $this->is_site_themes ) $this->site_id = isset( $_REQUEST['id'] ) ? intval( $_REQUEST['id'] ) : 0; - parent::WP_List_Table( array( + parent::__construct( array( 'plural' => 'themes' ) ); } diff --git a/src/wp-admin/includes/class-wp-ms-users-list-table.php b/src/wp-admin/includes/class-wp-ms-users-list-table.php index 36d55e1..66c41c4 100644 --- a/src/wp-admin/includes/class-wp-ms-users-list-table.php +++ b/src/wp-admin/includes/class-wp-ms-users-list-table.php @@ -192,6 +192,7 @@ class WP_MS_Users_List_Table extends WP_List_Table { $actions['delete'] = '' . __( 'Delete' ) . ''; } + $actions = apply_filters( 'ms_user_row_actions', $actions, $user ); echo $this->row_actions( $actions ); ?>

>
-
<?php _e( '5 stars' ) ?>
-
<?php _e( '4 stars' ) ?>
-
<?php _e( '3 stars' ) ?>
-
<?php _e( '2 stars' ) ?>
-
<?php _e( '1 star' ) ?>
+ +
<?php _e( '5 stars' ) ?>
+
<?php _e( '4 stars' ) ?>
+
<?php _e( '3 stars' ) ?>
+
<?php _e( '2 stars' ) ?>
+
<?php _e( '1 star' ) ?>
>
- +
%2$sMB (%3$s%%)' ), esc_url( admin_url( 'upload.php' ) ), $used, $percentused ); ?>
@@ -1143,6 +1169,91 @@ function wp_dashboard_quota() { } add_action( 'activity_box_end', 'wp_dashboard_quota' ); +// Display Browser Nag Meta Box +function wp_dashboard_browser_nag() { + $notice = ''; + $response = wp_check_browser_version(); + + if ( $response ) { + if ( $response['insecure'] ) { + $msg = sprintf( __( "It looks like you're using an insecure version of %s. Using an outdated browser makes your computer unsafe. For the best WordPress experience, please update your browser." ), esc_attr( $response['update_url'] ), esc_html( $response['name'] ) ); + } else { + $msg = sprintf( __( "It looks like you're using an old version of %s. For the best WordPress experience, please update your browser." ), esc_attr( $response['update_url'] ), esc_html( $response['name'] ) ); + } + + $browser_nag_class = ''; + if ( !empty( $response['img_src'] ) ) { + $img_src = ( is_ssl() && ! empty( $response['img_src_ssl'] ) )? $response['img_src_ssl'] : $response['img_src']; + + $notice .= '
'; + $browser_nag_class = ' has-browser-icon'; + } + $notice .= "

{$msg}

"; + $notice .= sprintf( __( '

Update %2$s or learn how to browse happy

' ), esc_attr( $response['update_url'] ), esc_html( $response['name'] ), 'http://browsehappy.com/' ); + $notice .= '

' . __( 'Dismiss' ) . '

'; + $notice .= '
'; + } + + echo apply_filters( 'browse-happy-notice', $notice, $response ); +} + +function dashboard_browser_nag_class( $classes ) { + $response = wp_check_browser_version(); + + if ( $response && $response['insecure'] ) + $classes[] = 'browser-insecure'; + + return $classes; +} + +/** + * Check if the user needs a browser update + * + * @since 3.2.0 + * + * @return array|bool False on failure, array of browser data on success. + */ +function wp_check_browser_version() { + if ( empty( $_SERVER['HTTP_USER_AGENT'] ) ) + return false; + + $key = md5( $_SERVER['HTTP_USER_AGENT'] ); + + if ( false === ($response = get_site_transient('browser_' . $key) ) ) { + global $wp_version; + + $options = array( + 'body' => array( 'useragent' => $_SERVER['HTTP_USER_AGENT'] ), + 'user-agent' => 'WordPress/' . $wp_version . '; ' . get_bloginfo( 'url' ) + ); + + $response = wp_remote_post( 'http://api.wordpress.org/core/browse-happy/1.0/', $options ); + + if ( is_wp_error( $response ) || 200 != wp_remote_retrieve_response_code( $response ) ) + return false; + + /** + * Response should be an array with: + * 'name' - string - A user friendly browser name + * 'version' - string - The most recent version of the browser + * 'current_version' - string - The version of the browser the user is using + * 'upgrade' - boolean - Whether the browser needs an upgrade + * 'insecure' - boolean - Whether the browser is deemed insecure + * 'upgrade_url' - string - The url to visit to upgrade + * 'img_src' - string - An image representing the browser + * 'img_src_ssl' - string - An image (over SSL) representing the browser + */ + $response = unserialize( wp_remote_retrieve_body( $response ) ); + + if ( ! $response ) + return false; + + set_site_transient( 'browser_' . $key, $response, 604800 ); // cache for 1 week + } + + return $response; +} + /** * Empty function usable by plugins to output empty dashboard widget (to be populated later by JS). */ diff --git a/src/wp-admin/includes/deprecated.php b/src/wp-admin/includes/deprecated.php index a318f0e..3e02dbc 100644 --- a/src/wp-admin/includes/deprecated.php +++ b/src/wp-admin/includes/deprecated.php @@ -688,3 +688,16 @@ function get_others_pending($user_id) { return get_others_unpublished_posts($user_id, 'pending'); } + +/** + * Output the QuickPress dashboard widget. + * + * @since 3.0.0 + * @deprecated 3.2.0 + * @deprecated Use wp_dashboard_quick_press() + * @see wp_dashboard_quick_press() + */ +function wp_dashboard_quick_press_output() { + _deprecated_function( __FUNCTION__, '3.2', 'wp_dashboard_quick_press()' ); + wp_dashboard_quick_press(); +} diff --git a/src/wp-admin/includes/export.php b/src/wp-admin/includes/export.php index 2efd040..cfdc3dd 100644 --- a/src/wp-admin/includes/export.php +++ b/src/wp-admin/includes/export.php @@ -49,7 +49,7 @@ function export_wp( $args = array() ) { } else { $post_types = get_post_types( array( 'can_export' => true ) ); $esses = array_fill( 0, count($post_types), '%s' ); - $where = $wpdb->prepare( "{$wpdb->posts}.post_type IN (". implode(',',$esses) .")", $post_types ); + $where = $wpdb->prepare( "{$wpdb->posts}.post_type IN (" . implode( ',', $esses ) . ')', $post_types ); } if ( $args['status'] && ( 'post' == $args['content'] || 'page' == $args['content'] ) ) @@ -123,7 +123,7 @@ function export_wp( $args = array() ) { $str = utf8_encode( $str ); // $str = ent2ncr(esc_html($str)); - $str = ""; + $str = "'; return $str; } @@ -350,7 +350,7 @@ function export_wp( $args = array() ) { // fetch 20 posts at a time rather than loading the entire table into memory while ( $next_posts = array_splice( $post_ids, 0, 20 ) ) { - $where = "WHERE ID IN (" . join( ',', $next_posts ) . ")"; + $where = 'WHERE ID IN (' . join( ',', $next_posts ) . ')'; $posts = $wpdb->get_results( "SELECT * FROM {$wpdb->posts} $where" ); // Begin Loop @@ -384,14 +384,14 @@ function export_wp( $args = array() ) { get_results( $wpdb->prepare( "SELECT * FROM $wpdb->postmeta WHERE post_id = %d", $post->ID ) ); - if ( $postmeta ) : foreach( $postmeta as $meta ) : if ( $meta->meta_key != '_edit_lock' ) : ?> + foreach( $postmeta as $meta ) : if ( $meta->meta_key != '_edit_lock' ) : ?> meta_key; ?> meta_value ); ?> - + get_results( $wpdb->prepare( "SELECT * FROM $wpdb->comments WHERE comment_post_ID = %d AND comment_approved <> 'spam'", $post->ID ) ); - if ( $comments ) : foreach ( $comments as $c ) : ?> + foreach ( $comments as $c ) : ?> comment_ID; ?> comment_author ); ?> @@ -405,8 +405,15 @@ function export_wp( $args = array() ) { comment_type; ?> comment_parent; ?> user_id; ?> +get_results( $wpdb->prepare( "SELECT * FROM $wpdb->commentmeta WHERE comment_id = %d", $c->comment_ID ) ); + foreach ( $c_meta as $meta ) : ?> + + meta_key; ?> + meta_value ); ?> + + - + sys_get_temp_dir(), before finally defaulting to /tmp/ - * - * In the event that this function does not find a writable location, It may be overridden by the WP_TEMP_DIR constant in your wp-config.php file. - * - * @since 2.5.0 - * - * @return string Writable temporary directory - */ -function get_temp_dir() { - static $temp; - if ( defined('WP_TEMP_DIR') ) - return trailingslashit(WP_TEMP_DIR); - - if ( $temp ) - return trailingslashit($temp); - - $temp = WP_CONTENT_DIR . '/'; - if ( is_dir($temp) && @is_writable($temp) ) - return $temp; - - if ( function_exists('sys_get_temp_dir') ) { - $temp = sys_get_temp_dir(); - if ( @is_writable($temp) ) - return trailingslashit($temp); - } - - $temp = ini_get('upload_tmp_dir'); - if ( is_dir($temp) && @is_writable($temp) ) - return trailingslashit($temp); - - $temp = '/tmp/'; - return $temp; -} - /** * Returns a filename of a Temporary unique file. * Please note that the calling function must unlink() this itself. @@ -288,8 +252,8 @@ function wp_handle_upload( &$file, $overrides = false, $time = null ) { // Courtesy of php.net, the strings that describe the error indicated in $_FILES[{form field}]['error']. $upload_error_strings = array( false, - __( "The uploaded file exceeds the upload_max_filesize directive in php.ini." ), - __( "The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form." ), + __( "The uploaded file exceeds the upload_max_filesize directive in php.ini." ), + __( "The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form." ), __( "The uploaded file was only partially uploaded." ), __( "No file was uploaded." ), '', @@ -519,27 +483,18 @@ function download_url( $url, $timeout = 300 ) { if ( ! $tmpfname ) return new WP_Error('http_no_file', __('Could not create Temporary file.')); - $handle = @fopen($tmpfname, 'wb'); - if ( ! $handle ) - return new WP_Error('http_no_file', __('Could not create Temporary file.')); + $response = wp_remote_get( $url, array( 'timeout' => $timeout, 'stream' => true, 'filename' => $tmpfname ) ); - $response = wp_remote_get($url, array('timeout' => $timeout)); - - if ( is_wp_error($response) ) { - fclose($handle); - unlink($tmpfname); + if ( is_wp_error( $response ) ) { + unlink( $tmpfname ); return $response; } - if ( $response['response']['code'] != '200' ){ - fclose($handle); - unlink($tmpfname); - return new WP_Error('http_404', trim($response['response']['message'])); + if ( 200 != wp_remote_retrieve_response_code( $response ) ){ + unlink( $tmpfname ); + return new WP_Error( 'http_404', trim( wp_remote_retrieve_response_message( $response ) ) ); } - fwrite($handle, $response['body']); - fclose($handle); - return $tmpfname; } @@ -563,7 +518,7 @@ function unzip_file($file, $to) { return new WP_Error('fs_unavailable', __('Could not access filesystem.')); // Unzip can use a lot of memory, but not this much hopefully - @ini_set('memory_limit', '256M'); + @ini_set( 'memory_limit', apply_filters( 'admin_memory_limit', WP_MAX_MEMORY_LIMIT ) ); $needed_dirs = array(); $to = trailingslashit($to); @@ -697,12 +652,23 @@ function _unzip_file_ziparchive($file, $to, $needed_dirs = array() ) { function _unzip_file_pclzip($file, $to, $needed_dirs = array()) { global $wp_filesystem; + // See #15789 - PclZip uses string functions on binary data, If it's overloaded with Multibyte safe functions the results are incorrect. + if ( ini_get('mbstring.func_overload') && function_exists('mb_internal_encoding') ) { + $previous_encoding = mb_internal_encoding(); + mb_internal_encoding('ISO-8859-1'); + } + require_once(ABSPATH . 'wp-admin/includes/class-pclzip.php'); $archive = new PclZip($file); + $archive_files = $archive->extract(PCLZIP_OPT_EXTRACT_AS_STRING); + + if ( isset($previous_encoding) ) + mb_internal_encoding($previous_encoding); + // Is the archive valid? - if ( false == ($archive_files = $archive->extract(PCLZIP_OPT_EXTRACT_AS_STRING)) ) + if ( !is_array($archive_files) ) return new WP_Error('incompatible_archive', __('Incompatible Archive.'), $archive->errorInfo(true)); if ( 0 == count($archive_files) ) @@ -761,9 +727,10 @@ function _unzip_file_pclzip($file, $to, $needed_dirs = array()) { * * @param string $from source directory * @param string $to destination directory + * @param array $skip_list a list of files/folders to skip copying * @return mixed WP_Error on failure, True on success. */ -function copy_dir($from, $to) { +function copy_dir($from, $to, $skip_list = array() ) { global $wp_filesystem; $dirlist = $wp_filesystem->dirlist($from); @@ -771,21 +738,31 @@ function copy_dir($from, $to) { $from = trailingslashit($from); $to = trailingslashit($to); + $skip_regex = ''; + foreach ( (array)$skip_list as $key => $skip_file ) + $skip_regex .= preg_quote($skip_file, '!') . '|'; + + if ( !empty($skip_regex) ) + $skip_regex = '!(' . rtrim($skip_regex, '|') . ')$!i'; + foreach ( (array) $dirlist as $filename => $fileinfo ) { + if ( !empty($skip_regex) ) + if ( preg_match($skip_regex, $from . $filename) ) + continue; + if ( 'f' == $fileinfo['type'] ) { - if ( ! $wp_filesystem->copy($from . $filename, $to . $filename, true) ) { + if ( ! $wp_filesystem->copy($from . $filename, $to . $filename, true, FS_CHMOD_FILE) ) { // If copy failed, chmod file to 0644 and try again. $wp_filesystem->chmod($to . $filename, 0644); - if ( ! $wp_filesystem->copy($from . $filename, $to . $filename, true) ) + if ( ! $wp_filesystem->copy($from . $filename, $to . $filename, true, FS_CHMOD_FILE) ) return new WP_Error('copy_failed', __('Could not copy file.'), $to . $filename); } - $wp_filesystem->chmod($to . $filename, FS_CHMOD_FILE); } elseif ( 'd' == $fileinfo['type'] ) { if ( !$wp_filesystem->is_dir($to . $filename) ) { if ( !$wp_filesystem->mkdir($to . $filename, FS_CHMOD_DIR) ) return new WP_Error('mkdir_failed', __('Could not create directory.'), $to . $filename); } - $result = copy_dir($from . $filename, $to . $filename); + $result = copy_dir($from . $filename, $to . $filename, $skip_list); if ( is_wp_error($result) ) return $result; } diff --git a/src/wp-admin/includes/image-edit.php b/src/wp-admin/includes/image-edit.php index 03e7144..86cdfe2 100644 --- a/src/wp-admin/includes/image-edit.php +++ b/src/wp-admin/includes/image-edit.php @@ -204,7 +204,7 @@ function load_image_to_edit($post_id, $mime_type, $size = 'full') { if ( 'full' != $size && ( $data = image_get_intermediate_size($post_id, $size) ) ) { $filepath = apply_filters('load_image_to_edit_filesystempath', path_join( dirname($filepath), $data['file'] ), $post_id, $size); } - } elseif ( WP_Http_Fopen::test() ) { + } elseif ( function_exists('fopen') && function_exists('ini_get') && true == ini_get('allow_url_fopen') ) { $filepath = apply_filters('load_image_to_edit_attachmenturl', wp_get_attachment_url($post_id) , $post_id, $size); } @@ -391,7 +391,7 @@ function image_edit_apply_changes($img, $changes) { function stream_preview_image($post_id) { $post = get_post($post_id); - @ini_set('memory_limit', '256M'); + @ini_set( 'memory_limit', apply_filters( 'admin_memory_limit', WP_MAX_MEMORY_LIMIT ) ); $img = load_image_to_edit( $post_id, $post->post_mime_type, array(400, 400) ); if ( !is_resource($img) ) @@ -496,7 +496,7 @@ function wp_save_image($post_id) { $return = new stdClass; $success = $delete = $scaled = $nocrop = false; $post = get_post($post_id); - @ini_set('memory_limit', '256M'); + @ini_set( 'memory_limit', apply_filters( 'admin_memory_limit', WP_MAX_MEMORY_LIMIT ) ); $img = load_image_to_edit($post_id, $post->post_mime_type); if ( !is_resource($img) ) { @@ -551,7 +551,7 @@ function wp_save_image($post_id) { // generate new filename $path = get_attached_file($post_id); - $path_parts = pathinfo52( $path ); + $path_parts = pathinfo( $path ); $filename = $path_parts['filename']; $suffix = time() . rand(100, 999); diff --git a/src/wp-admin/includes/internal-linking.php b/src/wp-admin/includes/internal-linking.php index b2e60a2..a95c01b 100644 --- a/src/wp-admin/includes/internal-linking.php +++ b/src/wp-admin/includes/internal-linking.php @@ -16,7 +16,7 @@ * @return array Results. */ function wp_link_query( $args = array() ) { - $pts = get_post_types( array( 'publicly_queryable' => true ), 'objects' ); + $pts = get_post_types( array( 'public' => true ), 'objects' ); $pt_names = array_keys( $pts ); $query = array( @@ -76,20 +76,20 @@ function wp_link_dialog() {

+ +
+
+

+ :

+
+
+
+

+ :

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ : + + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ Default: Elastic', 'lightboxplus' )?> +
+
+ : + + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ Default: 350', 'lightboxplus' )?> +
+
+ : + + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ Default: false', 'lightboxplus' )?> +
+
+ : + + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ Default: false', 'lightboxplus' )?> +
+
+ : + + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ Default: false', 'lightboxplus' )?> +
+
+ : + + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ Default: false', 'lightboxplus' )?> +
+
+ : + + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ Default: 300', 'lightboxplus' )?> +
+
+ : + + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ Default: 100', 'lightboxplus' )?> +
+
+ : + + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ Default: false', 'lightboxplus' )?> +
+
+ : + + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ Default: false', 'lightboxplus' )?> +
+
+ : + /> + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ Default: Checked', 'lightboxplus' )?> +
+
+ : + + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ Default: 80%', 'lightboxplus' )?> +
+
+ : + /> + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ Default: Checked', 'lightboxplus' )?> +
+
+ : + + # + + # <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ Default: Image {current} of {total}', 'lightboxplus' )?> +
+
+ : + + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ Default: previous', 'lightboxplus' )?> +
+
+ : + + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ Default: next', 'lightboxplus' )?> +
+
+ : + + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ Default: close', 'lightboxplus' )?> +
+
+ : + /> + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ Default: Checked', 'lightboxplus' )?> +
+
+
+
+
+
+
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + +
+ : + /> + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ Default: Unchecked', 'lightboxplus' )?> +
+
+ : + /> + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ Default: Checked', 'lightboxplus' )?> +
+
+ : + + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ Default: 2500', 'lightboxplus' )?> +
+
+ : + + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ Default: start', 'lightboxplus' )?> +
+
+ : + + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ Default: stop', 'lightboxplus' )?> +
+
+
+
+
+
+
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ : + /> + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ Default: Unchecked', 'lightboxplus' )?> +
+
+ : + /> + <?php _e('Click for Help!', 'lightboxplus'); ?> + +
+ : + /><?php _e('Click for Help!', 'lightboxplus'); ?> +
+ Default: Unchecked', 'lightboxplus' )?> +
+
+ : + /> + Class name: + + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ rel=lightbox[] attribute. Using this method you can manually control which images are affected by Lightbox Plus by adding the class to the Advanced Link Settings in the WordPress Edit Image tool or by adding it to the image link URL and checking the Do Not Auto-Lightbox Images option. You can also specify the name of the class instead of using the default. Default: Unchecked / Default cboxModal', 'lightboxplus' )?> +
+
+ : + /> + <?php _e('Click for Help!', 'lightboxplus'); ?> + +
+ Do Not Auto-Lightbox Images', 'lightboxplus' )?>: + /> + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ will not automatically add appropriate attibutes (either rel="lightbox[postID]" or class: cboxModal) to Image URL. You will need to manually add the appropriate attribute for Lightbox Plus to work. Default: Unchecked', 'lightboxplus' )?> +
+
+ Do Not Display Image Title', 'lightboxplus' )?>: + /> + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ will not display image titles automatically. This has no effect if the Do Not Auto-Lightbox Images option is checked. Default: Unchecked', 'lightboxplus' )?> +
+
+
+
+ + + + +
+

+ +

+
+
+
+
+

:

+
+ + + + + + + + + +
+ : + /> + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ Default: Unchecked', 'lightboxplus' )?> +
+
+ : + /> + Number of Inline Lightboxes: + + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ Default: Unchecked / Default cboxModal', 'lightboxplus' )?> +
+
+

+ +

+
+
+
+ + +
+

+ : <?php _e('Click for Help!', 'lightboxplus'); ?>

+
+ + + + + + + +
+
+ If you are upgrading from a version prior to 1.4 it is highly recommended that you reinitialize Lightbox Plus','lightboxplus' ); ?> +
+
+

+ + +

+ + +
+
+
+ + +
+
+

:

+
+ + + + + + + + + + + + +
+
+
Visit plugin site | FAQ | Support | Follow on Twitter | Add Facebook Page','lightboxplus' ); ?> +
+

+ Color Powered and is licensed under the MIT License. Lightbox Plus allows you to easily integrate and customize a powerful and light-weight lightbox plugin for jQuery into your WordPress site. You can easily create additional styles by adding a new folder to the css directory under wp-content/plugins/lighbox-plus/css/ by duplicating and modifying any of the existing themes or using them as examples to create your own. See the changelog for important details on this upgrade.','lightboxplus' ); ?> +

+

+ You have my sincere thanks and appreciation for using Lightbox Plus.','lightboxplus' ); ?> +

+
+
diff --git a/src/wp-content/plugins/lightbox-plus/admin/lightbox.inline.php b/src/wp-content/plugins/lightbox-plus/admin/lightbox.inline.php new file mode 100644 index 0000000..5c6da3e --- /dev/null +++ b/src/wp-content/plugins/lightbox-plus/admin/lightbox.inline.php @@ -0,0 +1,110 @@ + + +
+
+

+ :

+
+ +
+ + + + +
+ Using Inline Lightboxes <?php _e('Click for Help!', 'lightboxplus'); ?> +
+
+ + <a class="lbp-inline-link-1" href="#">Inline HTML Content</a>
+ <div style="display:none">
+     <div id="lbp-inline-link-1" style="padding: 10px;background: #fff">
+         Inline Content Goes Here
+     </div>
+ </div>
', 'lightboxplus' )?> +
+
+
+ +
+

+ :

+
+ + + + + + + + + + + + + + + > + + + + + + + + +
 Link ClassContent IDWidthHeight
: + + + + + + + +
+
+
+ + +

:

+
+ + + + + + + +
+ +
+ +
+ +
+
+

+ +

+
+
+
+ \ No newline at end of file diff --git a/src/wp-content/plugins/lightbox-plus/admin/lightbox.secondary.php b/src/wp-content/plugins/lightbox-plus/admin/lightbox.secondary.php new file mode 100644 index 0000000..1d49ad0 --- /dev/null +++ b/src/wp-content/plugins/lightbox-plus/admin/lightbox.secondary.php @@ -0,0 +1,482 @@ + + +
+
+

+ :

+
+ +
+ + + + + + + + + +
+ Using Secondary Lightbox for Video Content <?php _e('Click for Help!', 'lightboxplus'); ?> +
+
+ <a title="Projection Animation Test" class="lbpModal" href="http://www.youtube.com/v/pUPrCCP73Ws">YouTube Flash / Video (Iframe/Direct Link To YouTube)</a>
+ <a title="Projection Animation Test" class="lbpModal" href="http://vimeo.com/moogaloop.swf?clip_id=9730308&server=vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=&fullscreen=1">Vimeo Flash / Video (Iframe/Direct Link To Vimeo)</a>', 'lightboxplus' )?> +
+
+ Using Secondary Lightbox for External Content <?php _e('Click for Help!', 'lightboxplus'); ?> +
+
+ <a class="lbpModal" href="http://wordpress.org/extend/plugins/lightbox-plus/">External Content (Iframe/Direct Link To WordPress plugins)</a>', 'lightboxplus' )?> +
+
+ Using Secondary Lightbox for Other Content<?php _e('Click for Help!', 'lightboxplus'); ?> +
+
+ <a href="'.$g_lightbox_plus_url.'/trivia.swf" class="lbpModal" title="Interactive Flash Demo">Interactive Flash (Iframe/Local Flash File)</a>', 'lightboxplus' )?> +
+
+
+

+ :

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ : + + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ Default: Elastic', 'lightboxplus' )?> +
+
+ : + + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ Default: 350', 'lightboxplus' )?> +
+
+ : + + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ Default: false', 'lightboxplus' )?> +
+
+ : + + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ Default: false', 'lightboxplus' )?> +
+
+ : + + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ Default: false', 'lightboxplus' )?> +
+
+ : + + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ Default: false', 'lightboxplus' )?> +
+
+ : + + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ Default: 300', 'lightboxplus' )?> +
+
+ : + + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ Default: 100', 'lightboxplus' )?> +
+
+ : + + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ Default: false', 'lightboxplus' )?> +
+
+ : + + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ Default: false', 'lightboxplus' )?> +
+
+ : + /> + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ Default: Checked', 'lightboxplus' )?> +
+
+ : + + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ Default: 80%', 'lightboxplus' )?> +
+
+ : + /> + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ Default: Checked', 'lightboxplus' )?> +
+
+ : + + # + + # <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ Default: Image {current} of {total}', 'lightboxplus' )?> +
+
+ : + + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ Default: previous', 'lightboxplus' )?> +
+
+ : + + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ Default: next', 'lightboxplus' )?> +
+
+ : + + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ Default: close', 'lightboxplus' )?> +
+
+ : + /> + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ Default: Checked', 'lightboxplus' )?> +
+
+
+
+
+ +
+
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + +
+ : + /> + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ Default: Unchecked', 'lightboxplus' )?> +
+
+ : + /> + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ Default: Checked', 'lightboxplus' )?> +
+
+ : + + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ Default: 2500', 'lightboxplus' )?> +
+
+ : + + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ Default: start', 'lightboxplus' )?> +
+
+ : + + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ Default: stop', 'lightboxplus' )?> +
+
+
+
+
+ +
+
+

+ +

+
+ + + + + + + + + + + + + + + +
+ : + /> + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ Default: Unchecked', 'lightboxplus' )?> +
+
+ : + /> + Class name: + + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ rel=lightbox[] attribute. Using this method you can manually control which images are affected by Lightbox Plus by adding the class to the Advanced Link Settings in the WordPress Edit Image tool or by adding it to the image link URL and checking the Do Not Auto-Lightbox Images option. You can also specify the name of the class instead of using the default. Default: Unchecked / Default cboxModal', 'lightboxplus' )?> +
+
+ Do Not Display Image Title', 'lightboxplus' )?>: + /> + <?php _e('Click for Help!', 'lightboxplus'); ?> +
+ will not display image titles automatically. This has no effect if the Do Not Auto-Lightbox Images option is checked. Default: Unchecked', 'lightboxplus' )?> +
+
+
+
+ +

:

+
+ + + + + + + +
+ +
+

+ title="Secondary Lightbox - Screenshot 2">Secondary Lightbox - Screenshot 2 - Text Link
<a href="/screenshot-2.jpg" title="Secondary Lightbox - Screenshot 2">Secondary Lightbox - Screenshot 2 - Text Link</a>

+ >Secondary Lightbox - Video Test
<a title="Projection Animation Test" href="http://www.youtube.com/v/pUPrCCP73Ws" >Secondary Lightbox - Video Test</a>

+ >Secondary Lightbox - External Page Test
<a title="Facelift Image Replacement @ WordPress.Org" href="http://wordpress.org/extend/plugins/facelift-image-replacement/" >Secondary Lightbox - External Page Test</a>

+ title="Secondary Lightbox - Interactive Flash">Secondary Lightbox - Interactive Flash
<a href="/trivia.swf" title="Secondary Lightbox - Interactive Flash">Secondary Lightbox - Interactive Flash</a>

+
+
+
+ +
+

+ +

+
+
+
+ \ No newline at end of file diff --git a/src/wp-content/plugins/lightbox-plus/classes/actions.class.php b/src/wp-content/plugins/lightbox-plus/classes/actions.class.php new file mode 100644 index 0000000..908eaf3 --- /dev/null +++ b/src/wp-content/plugins/lightbox-plus/classes/actions.class.php @@ -0,0 +1,249 @@ +lightboxOptions ) ) { + $lightboxPlusOptions = $this->getAdminOptions( $this->lightboxOptionsName ); + + if ($lightboxPlusOptions['use_custom_style']) { + $style_path = $g_lbp_global_style_url; + } + else { + $style_path = $g_lbp_local_style_url; + } + + if ( $lightboxPlusOptions['disable_css'] ) { + echo "".$this->EOL( ); + } else { + wp_register_style('lightboxStyle', $style_path.'/'.$lightboxPlusOptions['lightboxplus_style'].'/colorbox.css','','2.0.2','screen'); + wp_enqueue_style('lightboxStyle'); + /** + * TODO 4 -o Dan Zappone -c filesystem, IE: IE Styles + * Experimental should not be used currently Check for and add conditional IE specific CSS fixes + * These seem t not actually work correctly anymore so bypassing for now + * + * @var mixed + */ + /** + * $currentStylePath = get_option( 'lightboxplus_style_path' ); + * $filename = $currentStylePath.'/'.$lightboxPlusOptions['lightboxplus_style'].'/colorbox-ie.php'; + * if ( file_exists( $filename ) ) { + * $lightboxPlusStyleSheet .= ''.$this->EOL( ); + * echo $lightboxPlusStyleSheet; + * } + */ + } + } + } + + /** + * Add JavaScript (jQuery based) to page footer to activate LBP + * + * @echo string + */ + function lightboxPlusColorbox( ) { + global $g_lightbox_plus_url; + if ( !empty( $this->lightboxOptions ) ) { + $lightboxPlusOptions = $this->getAdminOptions( $this->lightboxOptionsName ); + $lightboxPlusJavaScript = ""; + $lightboxPlusJavaScript .= ''.$this->EOL( ); + $lightboxPlusJavaScript .= ''.$this->EOL( ); + echo $lightboxPlusJavaScript; + } + } + + /** + * Add new admin panel to WordPress under the Appearance category + */ + function lightboxPlusAddPanel() { + $plugin_page = add_theme_page( "Lightbox Plus", "Lightbox Plus", "manage_options", "lightboxplus", array( &$this, "lightboxPlusAdminPanel" ) ); + add_action('admin_print_scripts-'.$plugin_page, array( &$this, 'lightboxPlusAdminScripts')); + add_action('admin_head-'.$plugin_page, array( &$this, 'lightboxPlusColorbox')); + add_action('admin_print_styles-'.$plugin_page, array( &$this, 'lightboxPlusAdminStyles')); + } + + /** + * Tells WordPress to load the jquery, jquery-ui-core and jquery-ui-dialog in the lightbox plus admin panel + */ + function lightboxPlusAdminScripts( ) { + global $g_lightbox_plus_url; + wp_enqueue_script('jquery','','','1.4.2',true); + wp_enqueue_script('jquery-ui-core','','','1.7.3',true); + wp_enqueue_script('jquery-ui-dialog','','','1.7.3',true); + wp_enqueue_script( 'lightbox', $g_lightbox_plus_url.'/js/jquery.colorbox-min.js', array( 'jquery' ), '1.3.8', true); + } + + /** + * Add CSS styles to lightbox plus admin panel page headers to display lightboxed images + */ + function lightboxPlusAdminStyles() { + global $g_lightbox_plus_url; + global $g_lbp_local_style_url; + global $g_lbp_global_style_url; + + wp_register_style('lightboxplusStyles', $g_lightbox_plus_url.'/admin/lightbox.admin.css','','2.0.2','screen'); + wp_enqueue_style('lightboxplusStyles'); + + if ( !empty( $this->lightboxOptions ) ) { + $lightboxPlusOptions = $this->getAdminOptions( $this->lightboxOptionsName ); + + if ($lightboxPlusOptions['use_custom_style']) { + $style_path = $g_lbp_global_style_url; + } + else { + $style_path = $g_lbp_local_style_url; + } + + if ( $lightboxPlusOptions['disable_css'] ) { + echo "".$this->EOL( ); + } else { + wp_register_style('lightboxStyle', $style_path.'/'.$lightboxPlusOptions['lightboxplus_style'].'/colorbox.css','','2.0.2','screen'); + wp_enqueue_style('lightboxStyle'); + /** + * TODO 4 -o Dan Zappone -c filesystem, IE: IE Styles + * Experimental should not be used currently Check for and add conditional IE specific CSS fixes + * These seem t not actually work correctly anymore so bypassing for now + * + * @var mixed + */ + /** + * $currentStylePath = get_option( 'lightboxplus_style_path' ); + * $filename = $currentStylePath.'/'.$lightboxPlusOptions['lightboxplus_style'].'/colorbox-ie.php'; + * if ( file_exists( $filename ) ) { + * $lightboxPlusStyleSheet .= ''.$this->EOL( ); + * echo $lightboxPlusStyleSheet; + * } + */ + } + } + } + + + + + + + + } + } +?> diff --git a/src/wp-content/plugins/lightbox-plus/classes/filters.class.php b/src/wp-content/plugins/lightbox-plus/classes/filters.class.php new file mode 100644 index 0000000..6b89d03 --- /dev/null +++ b/src/wp-content/plugins/lightbox-plus/classes/filters.class.php @@ -0,0 +1,265 @@ +phpMinV('4.*') && !$lightboxPlusOptions['use_php_four']) { + return $this->lightboxPlusReplace( $content, '' ); + } + else { + return $this->lightboxPlusReplaceOld( $content, '' ); + } + + } + + /** + * New method to parse page content navigating the dom and replacing found elements with modified HTML to acomodate LBP appropriate HTML + * + * @param mixed $content + * @return mixed + */ + function lightboxPlusReplace( $html_content, $unq_id ) { + global $post; + + if (!empty($this->lightboxOptions)) {$lightboxPlusOptions = $this->getAdminOptions($this->lightboxOptionsName);} + $postGroupID = $post->ID; + $postGroupTitle = $post->post_title; + + $html = new simple_html_dom(); + $html->load($html_content); + + /** + * Find all image links (text and images) + * + * If (autolightbox text links) then + */ + switch ( $lightboxPlusOptions['text_links'] ) { + case 1: + foreach($html->find('a[href*=jpg$], a[href*=gif$], a[href*=png$], a[href*=jpeg$], a[href*=bmp$]') as $e) { + /** + * Use Class Method is selected - yes/no + */ + switch ($lightboxPlusOptions['use_class_method']) { + case 1: + if ($e->class && $e->class != $lightboxPlusOptions['class_name']) { + $e->class .= ' '.$lightboxPlusOptions['class_name']; + if (!$e->rel) { $e->rel = 'lightbox['.$postGroupID.$unq_id.']'; } + } + else { + $e->class = $lightboxPlusOptions['class_name']; + if (!$e->rel) { $e->rel = 'lightbox['.$postGroupID.$unq_id.']'; } + } + break; + default: + if (!$e->rel) { $e->rel = 'lightbox['.$postGroupID.$unq_id.']'; } + break; + } + + /** + * Do Not Display Title is select - yes/no + */ + switch ($lightboxPlusOptions['no_display_title']) { + case 1: + $e->title = null; + break; + default: + /** + * If title doesn't exist then get a title + * Set to caption title->image->post title by default then set to image title is exists + */ + if (!$e->title) { + if ($e->first_child()->title) { + $e->title = $e->first_child()->title; + } else { + $e->title = $postGroupTitle; + } + } + /** + * If use caption for title try to get the text from the caption - this could be wrong + */ + if ($lightboxPlusOptions['use_caption_title']) { + if ($e->next_sibling()->innertext) { $e->title = $e->next_sibling()->innertext; } + } + break; + } + } + break; + default: + /** + * find all links with image only else if (do not autolightbox textlinks) then + */ + foreach($html->find('a[href*=jpg$] img, a[href*=gif$] img, a[href*=png$] img, a[href*=jpeg$] img, a[href*=bmp$] img') as $e) { + /** + * Use Class Method is selected - yes/no + */ + switch ($lightboxPlusOptions['use_class_method']) { + case 1: + if ($e->parent()->class && $e->parent()->class != $lightboxPlusOptions['class_name']) { + $e->parent()->class .= ' '.$lightboxPlusOptions['class_name']; + if (!$e->parent()->rel) { $e->parent()->rel = 'lightbox['.$postGroupID.$unq_id.']'; } + } + else { + $e->parent()->class = $lightboxPlusOptions['class_name']; + if (!$e->parent()->rel) { $e->parent()->rel = 'lightbox['.$postGroupID.$unq_id.']'; } + } + break; + default: + if (!$e->parent()->rel) { $e->parent()->rel = 'lightbox['.$postGroupID.$unq_id.']'; } + break; + } + /** + * Do Not Display Title is select - yes/no + */ + switch ($lightboxPlusOptions['no_display_title']) { + case 1: + $e->parent()->title = null; + break; + default: + if (!$e->parent()->title) { + if ($e->title) { + $e->parent()->title = $e->title; + } + else { + $e->parent()->title = $postGroupTitle; + } + } + if ($lightboxPlusOptions['use_caption_title']) { + if ($e->parent()->next_sibling()->innertext) { $e->parent()->title = $e->parent()->next_sibling()->innertext; } + } + break; + } + } + break; + } + + $content = $html->save(); + $html->clear(); + unset($html); + return $content.''; + + } + + /** + * Old method to parse page content looking for RegEx matches and replace matched with modified HTML to acomodate LBP appropriate HTML + * + * @param mixed $content + * @return mixed + */ + function lightboxPlusReplaceOld( $content, $unq_id ) { + global $post; + global $g_php_version; + + $g_php_version = "PHP 4.x Method"; + + if (!empty($this->lightboxOptions)) {$lightboxPlusOptions = $this->getAdminOptions($this->lightboxOptionsName);} + $postGroupID = $post->ID; + /** + * Auto-Lightbox Match Patterns + * + * @var mixed + */ + $pattern_a[0] = "/]*?)>]*?)\/>/i"; + /** + * Auto-Lightbox Text Links match patterns + */ + if ( $lightboxPlusOptions['text_links'] ) { + $pattern_a[1] = "/]*?)>/i"; + } + /** + * General match patterns + * + * @var mixed + */ + $pattern_a[2] = "/]*?)>/i"; + $pattern_a[3] = "/]*?)>'; + break; + default: + $replacement_a[0] = ''; + break; + } + break; + /** + * Display title replacment patterns + * + * Using class method - yes/no + */ + default: + switch ( $lightboxPlusOptions['use_class_method'] ) { + case 1: + $replacement_a[0] = ''; + break; + default: + $replacement_a[0] = ''; + break; + } + break; + } + + /** + * Set replacemnt pattern for auto-lightbox text links + * + * Using class method - yes/no + */ + switch ( $lightboxPlusOptions['text_links'] ) { + case 1: + switch ( $lightboxPlusOptions['use_class_method'] ) { + case 1: + $replacement_a[1] = ''; + break; + default: + $replacement_a[1] = ''; + break; + } + } + /** + * Additional replacement patterns + * + * @var mixed + */ + $replacement_a[2] = ''; + $replacement_a[3] = '';; + } + } + } + +?> diff --git a/src/wp-content/plugins/lightbox-plus/classes/init.class.php b/src/wp-content/plugins/lightbox-plus/classes/init.class.php new file mode 100644 index 0000000..bb5c2b6 --- /dev/null +++ b/src/wp-content/plugins/lightbox-plus/classes/init.class.php @@ -0,0 +1,214 @@ +lightboxOptionsName ); + delete_option( $this->lightboxInitName ); + delete_option( $this->lightboxStylePathName ); + + /** + * Call Initialize Primary Lightbox + * Call Initialize Secondary Lightbox if enabled + * Call Initialize Inline Lightboxes if enabled + * + * @var wp_lightboxplus + */ + $lightboxPlusPrimaryOptions = $this->lightboxPlusPrimaryInit(); + $lightboxPlusSecondaryOptions = $this->lightboxPlusSecondaryInit(); + $lightboxPlusInlineOptions = $this->lightboxPlusInlineInit(); + + $lightboxPlusOptions = array_merge($lightboxPlusPrimaryOptions, $lightboxPlusSecondaryOptions, $lightboxPlusInlineOptions); + + /** + * Saved options and then get them out of the db to see if they are actually there + */ + update_option('lightboxplus_options', $lightboxPlusOptions); + $savedOptions = get_option('lightboxplus_options'); + + /** + * If Lightbox Plus has been initialized - set to true + */ + if ($savedOptions) { update_option('lightboxplus_init', true); } + + return $savedOptions; + } + + /** + * Initialize Primary Lightbox by buiding array of options and committing to database + */ + function lightboxPlusPrimaryInit() { + if ($this->phpMinV('4.*')) { + $versionInit = '0'; + } + else { + $versionInit = '1'; + } + + $lightboxPlusPrimaryOptions = array( + "lightboxplus_style" => 'shadowed', + "use_custom_style" => '0', + "lightboxplus_multi" => '0', + "disable_css" => '0', + "use_php_four" => $versionInit, + "use_inline" => '0', + "inline_num" => '1', + "transition" => 'elastic', + "speed" => '350', + "width" => 'false', + "height" => 'false', + "inner_width" => 'false', + "inner_height" => 'false', + "initial_width" => '300', + "initial_height" => '100', + "max_width" => 'false', + "max_height" => 'false', + "resize" => '1', + "opacity" => '0.8', + "preloading" => '1', + "label_image" => 'Image', + "label_of" => 'of', + "previous" => 'previous', + "next" => 'next', + "close" => 'close', + "overlay_close" => '1', + "slideshow" => '0', + "slideshow_auto" => '0', + "slideshow_speed" => '2500', + "slideshow_start" => 'start', + "slideshow_stop" => 'stop', + "use_caption_title" => '0', + "gallery_lightboxplus" => '0', + "multiple_galleries" => '0', + "use_class_method" => '0', + "class_name" => 'cboxModal', + "no_auto_lightbox" => '0', + "text_links" => '0', + "no_display_title" => '0' + ); + + return $lightboxPlusPrimaryOptions; + unset($lightboxPlusPrimaryOptions); + } + + /** + * Initialize Secondary Lightbox by buiding array of options and returning + * + * @return array $lightboxPlusSecondaryOptions + */ + function lightboxPlusSecondaryInit() { + $lightboxPlusOptions = get_option('lightboxplus_options'); + + $lightboxPlusSecondaryOptions = array( + "transition_sec" => 'elastic', + "speed_sec" => '350', + "width_sec" => 'false', + "height_sec" => 'false', + "inner_width_sec" => '50%', + "inner_height_sec" => '50%', + "initial_width_sec" => '300', + "initial_height_sec" => '100', + "max_width_sec" => 'false', + "max_height_sec" => 'false', + "resize_sec" => '1', + "opacity_sec" => '0.8', + "preloading_sec" => '1', + "label_image_sec" => 'Image', + "label_of_sec" => 'of', + "previous_sec" => 'previous', + "next_sec" => 'next', + "close_sec" => 'close', + "overlay_close_sec" => '1', + "slideshow_sec" => '0', + "slideshow_auto_sec" => '1', + "slideshow_speed_sec" => '2500', + "slideshow_start_sec" => 'start', + "slideshow_stop_sec" => 'stop', + "iframe_sec" => '1', + "use_class_method_sec" => '0', + "class_name_sec" => 'lbpModal', + "no_display_title_sec" => '0' + ); + + if ( !empty($lightboxPlusOptions) ) { + $lightboxPlusOptions = array_merge($lightboxPlusOptions, $lightboxPlusSecondaryOptions); + update_option('lightboxplus_options', $lightboxPlusOptions ); + unset($lightboxPlusOptions); + } + + return $lightboxPlusSecondaryOptions; + unset($lightboxPlusSecondaryOptions); + + } + + /** + * Initialize Inline Lightbox by buiding array of options and committing to database + * + * @param mixed $inline_number + * + * @return array $lightboxPlusInlineOptions + */ + function lightboxPlusInlineInit( $inline_number = 2 ) { + $lightboxPlusOptions = get_option('lightboxplus_options'); + + if ($lightboxPlusOptions['use_inline'] && $inline_number != '') { + $inline_links = array(); + $inline_hrefs = array(); + $inline_widths = array(); + $inline_heights = array(); + for ($i = 1; $i <= $inline_number; $i++) { + $inline_links[] = 'lbp-inline-link-'.$i; + $inline_hrefs[] = 'lbp-inline-href-'.$i; + $inline_widths[] = '50%'; + $inline_heights[] = '50%'; + } + } + + $lightboxPlusInlineOptions = array( + "inline_links" => $inline_links, + "inline_hrefs" => $inline_hrefs, + "inline_widths" => $inline_widths, + "inline_heights" => $inline_heights + ); + + + if ( !empty($lightboxPlusOptions)) { + $lightboxPlusOptions = array_merge($lightboxPlusOptions, $lightboxPlusInlineOptions); + update_option('lightboxplus_options', $lightboxPlusOptions ); + unset($lightboxPlusOptions); + } + + return $lightboxPlusInlineOptions; + unset($lightboxPlusInlineOptions); + + } + + /** + * Initialize the external style directory + * + * @return boolean + */ + function lightboxPlusGlobalStylesinit() { + global $g_lbp_local_style_path, $g_lbp_global_style_path; + $dir_create = mkdir($g_lbp_global_style_path, 0755); + if ($dir_create) { + $this->copy_directory($g_lbp_local_style_path,$g_lbp_global_style_path.'/'); + return true; + } + else { + return false; + } + + } + + + } + } +?> diff --git a/src/wp-content/plugins/lightbox-plus/classes/shd.class.php b/src/wp-content/plugins/lightbox-plus/classes/shd.class.php new file mode 100644 index 0000000..12ae4cc --- /dev/null +++ b/src/wp-content/plugins/lightbox-plus/classes/shd.class.php @@ -0,0 +1,982 @@ + + Acknowledge: Jose Solorzano (https://sourceforge.net/projects/php-html/) + Contributions by: + Yousuke Kumakura (Attribute filters) + Vadim Voituk (Negative indexes supports of "find" method) + Antcs (Constructor with automatically load contents either text or file/url) + Licensed under The MIT License + Redistributions of files must retain the above copyright notice. + *******************************************************************************/ + + define('HDOM_TYPE_ELEMENT', 1); + define('HDOM_TYPE_COMMENT', 2); + define('HDOM_TYPE_TEXT', 3); + define('HDOM_TYPE_ENDTAG', 4); + define('HDOM_TYPE_ROOT', 5); + define('HDOM_TYPE_UNKNOWN', 6); + define('HDOM_QUOTE_DOUBLE', 0); + define('HDOM_QUOTE_SINGLE', 1); + define('HDOM_QUOTE_NO', 3); + define('HDOM_INFO_BEGIN', 0); + define('HDOM_INFO_END', 1); + define('HDOM_INFO_QUOTE', 2); + define('HDOM_INFO_SPACE', 3); + define('HDOM_INFO_TEXT', 4); + define('HDOM_INFO_INNER', 5); + define('HDOM_INFO_OUTER', 6); + define('HDOM_INFO_ENDSPACE',7); + + // helper functions + // ----------------------------------------------------------------------------- + // get html dom form file + function file_get_html() { + $dom = new simple_html_dom; + $args = func_get_args(); + $dom->load(call_user_func_array('file_get_contents', $args), true); + return $dom; + } + + // get html dom form string + function str_get_html($str, $lowercase=true) { + $dom = new simple_html_dom; + $dom->load($str, $lowercase); + return $dom; + } + + // dump html dom tree + function dump_html_tree($node, $show_attr=true, $deep=0) { + $lead = str_repeat(' ', $deep); + echo $lead.$node->tag; + if ($show_attr && count($node->attr)>0) { + echo '('; + foreach($node->attr as $k=>$v) + echo "[$k]=>\"".$node->$k.'", '; + echo ')'; + } + echo "\n"; + + foreach($node->nodes as $c) + dump_html_tree($c, $show_attr, $deep+1); + } + + // get dom form file (deprecated) + function file_get_dom() { + $dom = new simple_html_dom; + $args = func_get_args(); + $dom->load(call_user_func_array('file_get_contents', $args), true); + return $dom; + } + + // get dom form string (deprecated) + function str_get_dom($str, $lowercase=true) { + $dom = new simple_html_dom; + $dom->load($str, $lowercase); + return $dom; + } + + // simple html dom node + // ----------------------------------------------------------------------------- + if (!class_exists('simple_html_dom_node')) { + class simple_html_dom_node { + public $nodetype = HDOM_TYPE_TEXT; + public $tag = 'text'; + public $attr = array(); + public $children = array(); + public $nodes = array(); + public $parent = null; + public $_ = array(); + private $dom = null; + + function __construct($dom) { + $this->dom = $dom; + $dom->nodes[] = $this; + } + + function __destruct() { + $this->clear(); + } + + function __toString() { + return $this->outertext(); + } + + // clean up memory due to php5 circular references memory leak... + function clear() { + $this->dom = null; + $this->nodes = null; + $this->parent = null; + $this->children = null; + } + + // dump node's tree + function dump($show_attr=true) { + dump_html_tree($this, $show_attr); + } + + // returns the parent of node + function parent() { + return $this->parent; + } + + // returns children of node + function children($idx=-1) { + if ($idx===-1) return $this->children; + if (isset($this->children[$idx])) return $this->children[$idx]; + return null; + } + + // returns the first child of node + function first_child() { + if (count($this->children)>0) return $this->children[0]; + return null; + } + + // returns the last child of node + function last_child() { + if (($count=count($this->children))>0) return $this->children[$count-1]; + return null; + } + + // returns the next sibling of node + function next_sibling() { + if ($this->parent===null) return null; + $idx = 0; + $count = count($this->parent->children); + while ($idx<$count && $this!==$this->parent->children[$idx]) + ++$idx; + if (++$idx>=$count) return null; + return $this->parent->children[$idx]; + } + + // returns the previous sibling of node + function prev_sibling() { + if ($this->parent===null) return null; + $idx = 0; + $count = count($this->parent->children); + while ($idx<$count && $this!==$this->parent->children[$idx]) + ++$idx; + if (--$idx<0) return null; + return $this->parent->children[$idx]; + } + + // get dom node's inner html + function innertext() { + if (isset($this->_[HDOM_INFO_INNER])) return $this->_[HDOM_INFO_INNER]; + if (isset($this->_[HDOM_INFO_TEXT])) return $this->dom->restore_noise($this->_[HDOM_INFO_TEXT]); + + $ret = ''; + foreach($this->nodes as $n) + $ret .= $n->outertext(); + return $ret; + } + + // get dom node's outer text (with tag) + function outertext() { + if ($this->tag==='root') return $this->innertext(); + + // trigger callback + if ($this->dom->callback!==null) + call_user_func_array($this->dom->callback, array($this)); + + if (isset($this->_[HDOM_INFO_OUTER])) return $this->_[HDOM_INFO_OUTER]; + if (isset($this->_[HDOM_INFO_TEXT])) return $this->dom->restore_noise($this->_[HDOM_INFO_TEXT]); + + // render begin tag + $ret = $this->dom->nodes[$this->_[HDOM_INFO_BEGIN]]->makeup(); + + // render inner text + if (isset($this->_[HDOM_INFO_INNER])) + $ret .= $this->_[HDOM_INFO_INNER]; + else { + foreach($this->nodes as $n) + $ret .= $n->outertext(); + } + + // render end tag + if(isset($this->_[HDOM_INFO_END]) && $this->_[HDOM_INFO_END]!=0) + $ret .= 'tag.'>'; + return $ret; + } + + // get dom node's plain text + function text() { + if (isset($this->_[HDOM_INFO_INNER])) return $this->_[HDOM_INFO_INNER]; + switch ($this->nodetype) { + case HDOM_TYPE_TEXT: return $this->dom->restore_noise($this->_[HDOM_INFO_TEXT]); + case HDOM_TYPE_COMMENT: return ''; + case HDOM_TYPE_UNKNOWN: return ''; + } + if (strcasecmp($this->tag, 'script')===0) return ''; + if (strcasecmp($this->tag, 'style')===0) return ''; + + $ret = ''; + foreach($this->nodes as $n) + $ret .= $n->text(); + return $ret; + } + + function xmltext() { + $ret = $this->innertext(); + $ret = str_ireplace('', '', $ret); + return $ret; + } + + // build node's text with tag + function makeup() { + // text, comment, unknown + if (isset($this->_[HDOM_INFO_TEXT])) return $this->dom->restore_noise($this->_[HDOM_INFO_TEXT]); + + $ret = '<'.$this->tag; + $i = -1; + + foreach($this->attr as $key=>$val) { + ++$i; + + // skip removed attribute + if ($val===null || $val===false) + continue; + + $ret .= $this->_[HDOM_INFO_SPACE][$i][0]; + //no value attr: nowrap, checked selected... + if ($val===true) + $ret .= $key; + else { + switch($this->_[HDOM_INFO_QUOTE][$i]) { + case HDOM_QUOTE_DOUBLE: $quote = '"'; break; + case HDOM_QUOTE_SINGLE: $quote = '\''; break; + default: $quote = ''; + } + $ret .= $key.$this->_[HDOM_INFO_SPACE][$i][1].'='.$this->_[HDOM_INFO_SPACE][$i][2].$quote.$val.$quote; + } + } + $ret = $this->dom->restore_noise($ret); + return $ret . $this->_[HDOM_INFO_ENDSPACE] . '>'; + } + + // find elements by css selector + function find($selector, $idx=null) { + $selectors = $this->parse_selector($selector); + if (($count=count($selectors))===0) return array(); + $found_keys = array(); + + // find each selector + for ($c=0; $c<$count; ++$c) { + if (($levle=count($selectors[0]))===0) return array(); + if (!isset($this->_[HDOM_INFO_BEGIN])) return array(); + + $head = array($this->_[HDOM_INFO_BEGIN]=>1); + + // handle descendant selectors, no recursive! + for ($l=0; $l<$levle; ++$l) { + $ret = array(); + foreach($head as $k=>$v) { + $n = ($k===-1) ? $this->dom->root : $this->dom->nodes[$k]; + $n->seek($selectors[$c][$l], $ret); + } + $head = $ret; + } + + foreach($head as $k=>$v) { + if (!isset($found_keys[$k])) + $found_keys[$k] = 1; + } + } + + // sort keys + ksort($found_keys); + + $found = array(); + foreach($found_keys as $k=>$v) + $found[] = $this->dom->nodes[$k]; + + // return nth-element or array + if (is_null($idx)) return $found; + else if ($idx<0) $idx = count($found) + $idx; + return (isset($found[$idx])) ? $found[$idx] : null; + } + + // seek for given conditions + protected function seek($selector, &$ret) { + list($tag, $key, $val, $exp, $no_key) = $selector; + + // xpath index + if ($tag && $key && is_numeric($key)) { + $count = 0; + foreach ($this->children as $c) { + if ($tag==='*' || $tag===$c->tag) { + if (++$count==$key) { + $ret[$c->_[HDOM_INFO_BEGIN]] = 1; + return; + } + } + } + return; + } + + $end = (!empty($this->_[HDOM_INFO_END])) ? $this->_[HDOM_INFO_END] : 0; + if ($end==0) { + $parent = $this->parent; + while (!isset($parent->_[HDOM_INFO_END]) && $parent!==null) { + $end -= 1; + $parent = $parent->parent; + } + $end += $parent->_[HDOM_INFO_END]; + } + + for($i=$this->_[HDOM_INFO_BEGIN]+1; $i<$end; ++$i) { + $node = $this->dom->nodes[$i]; + $pass = true; + + if ($tag==='*' && !$key) { + if (in_array($node, $this->children, true)) + $ret[$i] = 1; + continue; + } + + // compare tag + if ($tag && $tag!=$node->tag && $tag!=='*') {$pass=false;} + // compare key + if ($pass && $key) { + if ($no_key) { + if (isset($node->attr[$key])) $pass=false; + } + else if (!isset($node->attr[$key])) $pass=false; + } + // compare value + if ($pass && $key && $val && $val!=='*') { + $check = $this->match($exp, $val, $node->attr[$key]); + // handle multiple class + if (!$check && strcasecmp($key, 'class')===0) { + foreach(explode(' ',$node->attr[$key]) as $k) { + $check = $this->match($exp, $val, $k); + if ($check) break; + } + } + if (!$check) $pass = false; + } + if ($pass) $ret[$i] = 1; + unset($node); + } + } + + protected function match($exp, $pattern, $value) { + switch ($exp) { + case '=': + return ($value===$pattern); + case '!=': + return ($value!==$pattern); + case '^=': + return preg_match("/^".preg_quote($pattern,'/')."/", $value); + case '$=': + return preg_match("/".preg_quote($pattern,'/')."$/", $value); + case '*=': + if ($pattern[0]=='/') + return preg_match($pattern, $value); + return preg_match("/".$pattern."/i", $value); + } + return false; + } + + protected function parse_selector($selector_string) { + // pattern of CSS selectors, modified from mootools + $pattern = "/([\w-:\*]*)(?:\#([\w-]+)|\.([\w-]+))?(?:\[@?(!?[\w-]+)(?:([!*^$]?=)[\"']?(.*?)[\"']?)?\])?([\/, ]+)/is"; + preg_match_all($pattern, trim($selector_string).' ', $matches, PREG_SET_ORDER); + $selectors = array(); + $result = array(); + //print_r($matches); + + foreach ($matches as $m) { + $m[0] = trim($m[0]); + if ($m[0]==='' || $m[0]==='/' || $m[0]==='//') continue; + // for borwser grnreated xpath + if ($m[1]==='tbody') continue; + + list($tag, $key, $val, $exp, $no_key) = array($m[1], null, null, '=', false); + if(!empty($m[2])) {$key='id'; $val=$m[2];} + if(!empty($m[3])) {$key='class'; $val=$m[3];} + if(!empty($m[4])) {$key=$m[4];} + if(!empty($m[5])) {$exp=$m[5];} + if(!empty($m[6])) {$val=$m[6];} + + // convert to lowercase + if ($this->dom->lowercase) {$tag=strtolower($tag); $key=strtolower($key);} + //elements that do NOT have the specified attribute + if (isset($key[0]) && $key[0]==='!') {$key=substr($key, 1); $no_key=true;} + + $result[] = array($tag, $key, $val, $exp, $no_key); + if (trim($m[7])===',') { + $selectors[] = $result; + $result = array(); + } + } + if (count($result)>0) + $selectors[] = $result; + return $selectors; + } + + function __get($name) { + if (isset($this->attr[$name])) return $this->attr[$name]; + switch($name) { + case 'outertext': return $this->outertext(); + case 'innertext': return $this->innertext(); + case 'plaintext': return $this->text(); + case 'xmltext': return $this->xmltext(); + default: return array_key_exists($name, $this->attr); + } + } + + function __set($name, $value) { + switch($name) { + case 'outertext': return $this->_[HDOM_INFO_OUTER] = $value; + case 'innertext': + if (isset($this->_[HDOM_INFO_TEXT])) return $this->_[HDOM_INFO_TEXT] = $value; + return $this->_[HDOM_INFO_INNER] = $value; + } + if (!isset($this->attr[$name])) { + $this->_[HDOM_INFO_SPACE][] = array(' ', '', ''); + $this->_[HDOM_INFO_QUOTE][] = HDOM_QUOTE_DOUBLE; + } + $this->attr[$name] = $value; + } + + function __isset($name) { + switch($name) { + case 'outertext': return true; + case 'innertext': return true; + case 'plaintext': return true; + } + //no value attr: nowrap, checked selected... + return (array_key_exists($name, $this->attr)) ? true : isset($this->attr[$name]); + } + + function __unset($name) { + if (isset($this->attr[$name])) + unset($this->attr[$name]); + } + + // camel naming conventions + function getAllAttributes() {return $this->attr;} + function getAttribute($name) {return $this->__get($name);} + function setAttribute($name, $value) {$this->__set($name, $value);} + function hasAttribute($name) {return $this->__isset($name);} + function removeAttribute($name) {$this->__set($name, null);} + function getElementById($id) {return $this->find("#$id", 0);} + function getElementsById($id, $idx=null) {return $this->find("#$id", $idx);} + function getElementByTagName($name) {return $this->find($name, 0);} + function getElementsByTagName($name, $idx=null) {return $this->find($name, $idx);} + function parentNode() {return $this->parent();} + function childNodes($idx=-1) {return $this->children($idx);} + function firstChild() {return $this->first_child();} + function lastChild() {return $this->last_child();} + function nextSibling() {return $this->next_sibling();} + function previousSibling() {return $this->prev_sibling();} + } + + + } + // simple html dom parser + // ----------------------------------------------------------------------------- + + if (!class_exists('simple_html_dom')) { + class simple_html_dom { + public $root = null; + public $nodes = array(); + public $callback = null; + public $lowercase = false; + protected $pos; + protected $doc; + protected $char; + protected $size; + protected $cursor; + protected $parent; + protected $noise = array(); + protected $token_blank = " \t\r\n"; + protected $token_equal = ' =/>'; + protected $token_slash = " />\r\n\t"; + protected $token_attr = ' >'; + // use isset instead of in_array, performance boost about 30%... + protected $self_closing_tags = array('img'=>1, 'br'=>1, 'input'=>1, 'meta'=>1, 'link'=>1, 'hr'=>1, 'base'=>1, 'embed'=>1, 'spacer'=>1); + protected $block_tags = array('root'=>1, 'body'=>1, 'form'=>1, 'div'=>1, 'span'=>1, 'table'=>1); + protected $optional_closing_tags = array( + 'tr'=>array('tr'=>1, 'td'=>1, 'th'=>1), + 'th'=>array('th'=>1), + 'td'=>array('td'=>1), + 'li'=>array('li'=>1), + 'dt'=>array('dt'=>1, 'dd'=>1), + 'dd'=>array('dd'=>1, 'dt'=>1), + 'dl'=>array('dd'=>1, 'dt'=>1), + 'p'=>array('p'=>1), + 'nobr'=>array('nobr'=>1), + ); + + function __construct($str=null) { + if ($str) { + if (preg_match("/^http:\/\//i",$str) || is_file($str)) + $this->load_file($str); + else + $this->load($str); + } + } + + function __destruct() { + $this->clear(); + } + + // load html from string + function load($str, $lowercase=true) { + // prepare + $this->prepare($str, $lowercase); + // strip out comments + $this->remove_noise("''is"); + // strip out cdata + $this->remove_noise("''is", true); + // strip out + + \n"; + + return $output; + } + } + } +?> diff --git a/src/wp-content/plugins/lightbox-plus/classes/utility.class.php b/src/wp-content/plugins/lightbox-plus/classes/utility.class.php new file mode 100644 index 0000000..ad896a3 --- /dev/null +++ b/src/wp-content/plugins/lightbox-plus/classes/utility.class.php @@ -0,0 +1,189 @@ += $v[0]) { + if (empty($v[2]) || $v[2] == '*') { + return true; + } + elseif ($phpV[2] >= $v[2]) { + if (empty($v[4]) || $v[4] == '*' || $phpV[4] >= $v[4]) { + return true; + } + } + } + return false; + } + + /** + * Recursively copy a directory + * + * @param mixed $source + * @param mixed $destination + */ + function copy_directory( $source, $destination ) { + if ( is_dir( $source ) ) { + @mkdir( $destination ); + $directory = dir( $source ); + while ( FALSE !== ( $readdirectory = $directory->read() ) ) { + if ( $readdirectory == '.' || $readdirectory == '..' ) { + continue; + } + $PathDir = $source . '/' . $readdirectory; + if ( is_dir( $PathDir ) ) { + $this->copy_directory( $PathDir, $destination . '/' . $readdirectory ); + continue; + } + copy( $PathDir, $destination . '/' . $readdirectory ); + } + + $directory->close(); + } + else { + copy( $source, $destination ); + } + } + } + } +?> diff --git a/src/wp-content/plugins/lightbox-plus/css/black/colorbox.css b/src/wp-content/plugins/lightbox-plus/css/black/colorbox.css new file mode 100644 index 0000000..74b7b59 --- /dev/null +++ b/src/wp-content/plugins/lightbox-plus/css/black/colorbox.css @@ -0,0 +1,36 @@ +/* + ColorBox Core Style + The following rules are the styles that are consistant between all ColorBox themes +*/ +#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;} +#cboxOverlay{position:fixed; width:100%; height:100%;} +#cboxMiddleLeft, #cboxBottomLeft{clear:left;} +#cboxContent{position:relative; overflow:visible;} +#cboxLoadedContent{overflow:auto;} +#cboxLoadedContent iframe{display:block; width:100%; height:100%; border:0;} +#cboxTitle{margin:0;} +#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;} +#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;} + +/* + ColorBox example user style + These rules are ordered and tabbed in a way that represents the order/nesting of the generated HTML, + in hope that this will make the relationship easier to understand. Thanks, jack@colorpowered.com +*/ +#cboxOverlay{background:#000;} + +#colorbox{} + #cboxContent{background:#000; margin-top:20px;} + #cboxBottomCenter{height:30px; background:#000;} + #cboxLoadedContent{background:#000; padding:5px;} + #cboxTitle{position:absolute; bottom:-25px; left:5px; color:#ccc;} + #cboxCurrent{position:absolute; bottom:-25px; right:35px; color:#ccc;} + #cboxSlideshow{position:absolute; top:-20px; right:90px; color:#fff;} + #cboxPrevious{position:absolute; top:50%; left:5px; margin-top:-41px; background-image: url(data:image/gif;base64,AAAA); width:49%; height:100%; text-indent:-9999px;} + #cboxPrevious.hover{background-position:bottom left; background:url(images/prevblack.png) top left no-repeat;} + #cboxNext{position:absolute; top:50%; right:5px; margin-top:-41px; background-image: url(data:image/gif;base64,AAAA); width:49%; height:100%; text-indent:-9999px;} + #cboxNext.hover{background-position:bottom right; background:url(images/nextblack.png) top right no-repeat;} + #cboxLoadingOverlay{background:#000;} + #cboxLoadingGraphic{background:url(images/loading.gif) center center no-repeat;} + #cboxClose{position:absolute; bottom:-25px; right:5px; display:block; background:url(images/close.png) top center no-repeat; width:22px; height:22px; text-indent:-9999px;} + #cboxClose.hover{background-position:bottom center;} \ No newline at end of file diff --git a/src/wp-content/plugins/lightbox-plus/css/black/images/close.png b/src/wp-content/plugins/lightbox-plus/css/black/images/close.png new file mode 100644 index 0000000..e02eb3c Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/black/images/close.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/black/images/loading.gif b/src/wp-content/plugins/lightbox-plus/css/black/images/loading.gif new file mode 100644 index 0000000..f864d5f Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/black/images/loading.gif differ diff --git a/src/wp-content/plugins/lightbox-plus/css/black/images/nextblack.png b/src/wp-content/plugins/lightbox-plus/css/black/images/nextblack.png new file mode 100644 index 0000000..e68cdcd Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/black/images/nextblack.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/black/images/prevblack.png b/src/wp-content/plugins/lightbox-plus/css/black/images/prevblack.png new file mode 100644 index 0000000..ad56100 Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/black/images/prevblack.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/blue/colorbox.css b/src/wp-content/plugins/lightbox-plus/css/blue/colorbox.css new file mode 100644 index 0000000..ad136e4 --- /dev/null +++ b/src/wp-content/plugins/lightbox-plus/css/blue/colorbox.css @@ -0,0 +1,36 @@ +/* + ColorBox Core Style + The following rules are the styles that are consistant between all ColorBox themes +*/ +#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;} +#cboxOverlay{position:fixed; width:100%; height:100%;} +#cboxMiddleLeft, #cboxBottomLeft{clear:left;} +#cboxContent{position:relative; overflow:visible;} +#cboxLoadedContent{overflow:auto;} +#cboxLoadedContent iframe{display:block; width:100%; height:100%; border:0;} +#cboxTitle{margin:0;} +#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;} +#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;} + +/* + ColorBox example user style + These rules are ordered and tabbed in a way that represents the order/nesting of the generated HTML, + in hope that this will make the relationship easier to understand. Thanks, jack@colorpowered.com +*/ +#cboxOverlay{background:#003;} + +#colorbox{} + #cboxContent{background:#003; margin-top:20px;} + #cboxBottomCenter{height:30px; background:#003;} + #cboxLoadedContent{background:#003; padding:5px;} + #cboxTitle{position:absolute; bottom:-25px; left:5px; color:#ccc;} + #cboxCurrent{position:absolute; bottom:-25px; right:35px; color:#ccc;} + #cboxSlideshow{position:absolute; top:-20px; right:90px; color:#fff;} + #cboxPrevious{position:absolute; top:50%; left:5px; margin-top:-41px; background-image: url(data:image/gif;base64,AAAA); width:49%; height:100%; text-indent:-9999px;} + #cboxPrevious.hover{background-position:bottom left; background:url(images/prevblue.png) top left no-repeat;} + #cboxNext{position:absolute; top:50%; right:5px; margin-top:-41px; background-image: url(data:image/gif;base64,AAAA); width:49%; height:100%; text-indent:-9999px;} + #cboxNext.hover{background-position:bottom right; background:url(images/nextblue.png) top right no-repeat;} + #cboxLoadingOverlay{background:#003;} + #cboxLoadingGraphic{background:url(images/loading.gif) center center no-repeat;} + #cboxClose{position:absolute; bottom:-25px; right:5px; display:block; background:url(images/close.png) top center no-repeat; width:22px; height:22px; text-indent:-9999px;} + #cboxClose.hover{background-position:bottom center;} \ No newline at end of file diff --git a/src/wp-content/plugins/lightbox-plus/css/blue/images/close.png b/src/wp-content/plugins/lightbox-plus/css/blue/images/close.png new file mode 100644 index 0000000..e02eb3c Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/blue/images/close.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/blue/images/loading.gif b/src/wp-content/plugins/lightbox-plus/css/blue/images/loading.gif new file mode 100644 index 0000000..f864d5f Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/blue/images/loading.gif differ diff --git a/src/wp-content/plugins/lightbox-plus/css/blue/images/nextblue.png b/src/wp-content/plugins/lightbox-plus/css/blue/images/nextblue.png new file mode 100644 index 0000000..7a81138 Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/blue/images/nextblue.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/blue/images/prevblue.png b/src/wp-content/plugins/lightbox-plus/css/blue/images/prevblue.png new file mode 100644 index 0000000..1107511 Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/blue/images/prevblue.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/dark/colorbox.css b/src/wp-content/plugins/lightbox-plus/css/dark/colorbox.css new file mode 100644 index 0000000..af34f37 --- /dev/null +++ b/src/wp-content/plugins/lightbox-plus/css/dark/colorbox.css @@ -0,0 +1,36 @@ +/* + ColorBox Core Style + The following rules are the styles that are consistant between themes. + Avoid changing this area to maintain compatability with future versions of ColorBox. +*/ +#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;} +#cboxOverlay{position:fixed; width:100%; height:100%;} +#cboxMiddleLeft, #cboxBottomLeft{clear:left;} +#cboxContent{position:relative; overflow:hidden;} +#cboxLoadedContent{overflow:auto;} +#cboxLoadedContent iframe{display:block; width:100%; height:100%; border:0;} +#cboxTitle{margin:0;} +#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;} +#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;} + +/* + ColorBox example user style + The following rules are ordered and tabbed in a way that represents the + order/nesting of the generated HTML, so that the structure easier to understand. +*/ +#cboxOverlay{background:#000;} + +#colorbox{} + #cboxContent{background:#000; margin-top:20px;} + #cboxLoadedContent{background:#000; padding:5px;} + #cboxTitle{position:absolute; top:-20px; left:0; color:#ccc;} + #cboxCurrent{position:absolute; top:-20px; right:0px; color:#ccc;} + #cboxSlideshow{position:absolute; top:-20px; right:90px; color:#fff;} + #cboxPrevious{position:absolute; top:50%; left:5px; margin-top:-32px; background:url(images/controls.png) top left no-repeat; width:28px; height:65px; text-indent:-9999px;} + #cboxPrevious.hover{background-position:bottom left;} + #cboxNext{position:absolute; top:50%; right:5px; margin-top:-32px; background:url(images/controls.png) top right no-repeat; width:28px; height:65px; text-indent:-9999px;} + #cboxNext.hover{background-position:bottom right;} + #cboxLoadingOverlay{background:#000;} + #cboxLoadingGraphic{background:url(images/loading.gif) center center no-repeat;} + #cboxClose{position:absolute; top:5px; right:5px; display:block; background:url(images/controls.png) top center no-repeat; width:38px; height:19px; text-indent:-9999px;} + #cboxClose.hover{background-position:bottom center;} \ No newline at end of file diff --git a/src/wp-content/plugins/lightbox-plus/css/dark/images/controls.png b/src/wp-content/plugins/lightbox-plus/css/dark/images/controls.png new file mode 100644 index 0000000..e1e9798 Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/dark/images/controls.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/dark/images/loading.gif b/src/wp-content/plugins/lightbox-plus/css/dark/images/loading.gif new file mode 100644 index 0000000..19c67bb Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/dark/images/loading.gif differ diff --git a/src/wp-content/plugins/lightbox-plus/css/elegant/colorbox-ie.php b/src/wp-content/plugins/lightbox-plus/css/elegant/colorbox-ie.php new file mode 100644 index 0000000..fad8680 --- /dev/null +++ b/src/wp-content/plugins/lightbox-plus/css/elegant/colorbox-ie.php @@ -0,0 +1,23 @@ + +.cboxIE #cboxTopLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/internet_explorer/borderTopLeft.png', sizingMethod='scale');} +.cboxIE #cboxTopCenter{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/internet_explorer/borderTopCenter.png', sizingMethod='scale');} +.cboxIE #cboxTopRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/internet_explorer/borderTopRight.png', sizingMethod='scale');} +.cboxIE #cboxBottomLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/internet_explorer/borderBottomLeft.png', sizingMethod='scale');} +.cboxIE #cboxBottomCenter{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/internet_explorer/borderBottomCenter.png', sizingMethod='scale');} +.cboxIE #cboxBottomRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/internet_explorer/borderBottomRight.png', sizingMethod='scale');} +.cboxIE #cboxMiddleLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/internet_explorer/borderMiddleLeft.png', sizingMethod='scale');} +.cboxIE #cboxMiddleRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/internet_explorer/borderMiddleRight.png', sizingMethod='scale');} \ No newline at end of file diff --git a/src/wp-content/plugins/lightbox-plus/css/elegant/colorbox.css b/src/wp-content/plugins/lightbox-plus/css/elegant/colorbox.css new file mode 100644 index 0000000..2b7f0ec --- /dev/null +++ b/src/wp-content/plugins/lightbox-plus/css/elegant/colorbox.css @@ -0,0 +1,43 @@ +/* + ColorBox Core Style + The following rules are the styles that are consistant between themes. + Avoid changing this area to maintain compatability with future versions of ColorBox. +*/ +#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;} +#cboxOverlay{position:fixed; width:100%; height:100%;} +#cboxMiddleLeft, #cboxBottomLeft{clear:left;} +#cboxContent{position:relative; overflow:hidden;} +#cboxLoadedContent{overflow:auto;} +#cboxLoadedContent iframe{display:block; width:100%; height:100%; border:0;} +#cboxTitle{margin:0;} +#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;} +#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;} + +/* + Example user style + The following rules are ordered and tabbed in a way that represents the + order/nesting of the generated HTML, so that the structure easier to understand. +*/ +#cboxOverlay{background:url(images/overlay.png) 0 0 repeat;} +#colorbox{} + #cboxTopLeft{width:21px; height:21px; background:url(images/controls.png) -100px 0 no-repeat;} + #cboxTopRight{width:21px; height:21px; background:url(images/controls.png) -129px 0 no-repeat;} + #cboxBottomLeft{width:21px; height:21px; background:url(images/controls.png) -100px -29px no-repeat;} + #cboxBottomRight{width:21px; height:21px; background:url(images/controls.png) -129px -29px no-repeat;} + #cboxMiddleLeft{width:21px; background:url(images/controls.png) left top repeat-y;} + #cboxMiddleRight{width:21px; background:url(images/controls.png) right top repeat-y;} + #cboxTopCenter{height:21px; background:url(images/border.png) 0 0 repeat-x;} + #cboxBottomCenter{height:21px; background:url(images/border.png) 0 -29px repeat-x;} + #cboxContent{background:#fff;} + #cboxLoadedContent{margin-bottom:28px;} + #cboxTitle{position:absolute; bottom:3px; left:0; text-align:center; width:100%; color:#949494;} + #cboxCurrent{position:absolute; bottom:3px; left:58px; color:#949494;} + #cboxSlideshow{position:absolute; bottom:3px; right:30px; color:#0092ef;} + #cboxPrevious{position:absolute; bottom:0; left:0px; background:url(images/controls.png) -75px 0px no-repeat; width:25px; height:25px; text-indent:-9999px;} + #cboxPrevious.hover{background-position:-75px -25px;} + #cboxNext{position:absolute; bottom:0; left:27px; background:url(images/controls.png) -50px 0px no-repeat; width:25px; height:25px; text-indent:-9999px;} + #cboxNext.hover{background-position:-50px -25px;} + #cboxLoadingOverlay{background:url(images/loading_background.png) center center no-repeat;} + #cboxLoadingGraphic{background:url(images/loading.gif) center center no-repeat;} + #cboxClose{position:absolute; bottom:0; right:0; background:url(images/controls.png) -25px 0px no-repeat; width:25px; height:25px; text-indent:-9999px;} + #cboxClose.hover{background-position:-25px -25px;} \ No newline at end of file diff --git a/src/wp-content/plugins/lightbox-plus/css/elegant/images/border.png b/src/wp-content/plugins/lightbox-plus/css/elegant/images/border.png new file mode 100644 index 0000000..f463a10 Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/elegant/images/border.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/elegant/images/controls.png b/src/wp-content/plugins/lightbox-plus/css/elegant/images/controls.png new file mode 100644 index 0000000..9257176 Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/elegant/images/controls.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/elegant/images/internet_explorer/borderBottomCenter.png b/src/wp-content/plugins/lightbox-plus/css/elegant/images/internet_explorer/borderBottomCenter.png new file mode 100644 index 0000000..0d4475e Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/elegant/images/internet_explorer/borderBottomCenter.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/elegant/images/internet_explorer/borderBottomLeft.png b/src/wp-content/plugins/lightbox-plus/css/elegant/images/internet_explorer/borderBottomLeft.png new file mode 100644 index 0000000..2775eba Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/elegant/images/internet_explorer/borderBottomLeft.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/elegant/images/internet_explorer/borderBottomRight.png b/src/wp-content/plugins/lightbox-plus/css/elegant/images/internet_explorer/borderBottomRight.png new file mode 100644 index 0000000..f7f5137 Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/elegant/images/internet_explorer/borderBottomRight.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/elegant/images/internet_explorer/borderMiddleLeft.png b/src/wp-content/plugins/lightbox-plus/css/elegant/images/internet_explorer/borderMiddleLeft.png new file mode 100644 index 0000000..a2d63d1 Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/elegant/images/internet_explorer/borderMiddleLeft.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/elegant/images/internet_explorer/borderMiddleRight.png b/src/wp-content/plugins/lightbox-plus/css/elegant/images/internet_explorer/borderMiddleRight.png new file mode 100644 index 0000000..fd7c3e8 Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/elegant/images/internet_explorer/borderMiddleRight.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/elegant/images/internet_explorer/borderTopCenter.png b/src/wp-content/plugins/lightbox-plus/css/elegant/images/internet_explorer/borderTopCenter.png new file mode 100644 index 0000000..2937a9c Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/elegant/images/internet_explorer/borderTopCenter.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/elegant/images/internet_explorer/borderTopLeft.png b/src/wp-content/plugins/lightbox-plus/css/elegant/images/internet_explorer/borderTopLeft.png new file mode 100644 index 0000000..f9d458b Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/elegant/images/internet_explorer/borderTopLeft.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/elegant/images/internet_explorer/borderTopRight.png b/src/wp-content/plugins/lightbox-plus/css/elegant/images/internet_explorer/borderTopRight.png new file mode 100644 index 0000000..74b8583 Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/elegant/images/internet_explorer/borderTopRight.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/elegant/images/loading.gif b/src/wp-content/plugins/lightbox-plus/css/elegant/images/loading.gif new file mode 100644 index 0000000..b4695d8 Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/elegant/images/loading.gif differ diff --git a/src/wp-content/plugins/lightbox-plus/css/elegant/images/loading_background.png b/src/wp-content/plugins/lightbox-plus/css/elegant/images/loading_background.png new file mode 100644 index 0000000..6ae83e6 Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/elegant/images/loading_background.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/elegant/images/overlay.png b/src/wp-content/plugins/lightbox-plus/css/elegant/images/overlay.png new file mode 100644 index 0000000..6f3d321 Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/elegant/images/overlay.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/framed/colorbox.css b/src/wp-content/plugins/lightbox-plus/css/framed/colorbox.css new file mode 100644 index 0000000..0d50269 --- /dev/null +++ b/src/wp-content/plugins/lightbox-plus/css/framed/colorbox.css @@ -0,0 +1,50 @@ +/* + ColorBox Core Style + The following rules are the styles that are consistant between themes. + Avoid changing this area to maintain compatability with future versions of ColorBox. +*/ +#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;} +#cboxOverlay{position:fixed; width:100%; height:100%;} +#cboxMiddleLeft, #cboxBottomLeft{clear:left;} +#cboxContent{position:relative; overflow:visible;} +#cboxLoadedContent{overflow:auto;} +#cboxLoadedContent iframe{display:block; width:100%; height:100%; border:0;} +#cboxTitle{margin:0;} +#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;} +#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;} + +/* + ColorBox example user style + The following rules are ordered and tabbed in a way that represents the + order/nesting of the generated HTML, so that the structure easier to understand. +*/ +#cboxOverlay{background:#000;} + +#colorbox{} + #cboxTopLeft{width:14px; height:14px; background:url(images/controls.png) 0 0 no-repeat;} + #cboxTopCenter{height:14px; background:url(images/border.png) top left repeat-x;} + #cboxTopRight{width:14px; height:14px; background:url(images/controls.png) -36px 0 no-repeat;} + #cboxBottomLeft{width:14px; height:43px; background:url(images/controls.png) 0 -32px no-repeat;} + #cboxBottomCenter{height:43px; background:url(images/border.png) bottom left repeat-x;} + #cboxBottomRight{width:14px; height:43px; background:url(images/controls.png) -36px -32px no-repeat;} + #cboxMiddleLeft{width:14px; background:url(images/controls.png) -175px 0 repeat-y;} + #cboxMiddleRight{width:14px; background:url(images/controls.png) -211px 0 repeat-y;} + #cboxContent{background:#fff;} + #cboxLoadedContent{margin-bottom:5px;} + #cboxLoadingOverlay{background:url(images/loading_background.png) center center no-repeat;} + #cboxLoadingGraphic{background:url(images/loading.gif) center center no-repeat;} + #cboxTitle{position:absolute; bottom:-25px; left:0; text-align:center; width:100%; font-weight:bold; color:#7C7C7C;} + #cboxCurrent{position:absolute; bottom:-25px; left:58px; font-weight:bold; color:#7C7C7C;} + + #cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{position:absolute; bottom:-29px; background:url(images/controls.png) 0px 0px no-repeat; width:23px; height:23px; text-indent:-9999px;} + #cboxPrevious{left:0px; background-position: -51px -25px;} + #cboxPrevious.hover{background-position:-51px 0px;} + #cboxNext{left:27px; background-position:-75px -25px;} + #cboxNext.hover{background-position:-75px 0px;} + #cboxClose{right:0; background-position:-100px -25px;} + #cboxClose.hover{background-position:-100px 0px;} + + .cboxSlideshow_on #cboxSlideshow{background-position:-125px 0px; right:27px;} + .cboxSlideshow_on #cboxSlideshow.hover{background-position:-150px 0px;} + .cboxSlideshow_off #cboxSlideshow{background-position:-150px -25px; right:27px;} + .cboxSlideshow_off #cboxSlideshow.hover{background-position:-125px 0px;} \ No newline at end of file diff --git a/src/wp-content/plugins/lightbox-plus/css/framed/images/border.png b/src/wp-content/plugins/lightbox-plus/css/framed/images/border.png new file mode 100644 index 0000000..df13bb6 Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/framed/images/border.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/framed/images/controls.png b/src/wp-content/plugins/lightbox-plus/css/framed/images/controls.png new file mode 100644 index 0000000..65cfd1d Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/framed/images/controls.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/framed/images/loading.gif b/src/wp-content/plugins/lightbox-plus/css/framed/images/loading.gif new file mode 100644 index 0000000..b4695d8 Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/framed/images/loading.gif differ diff --git a/src/wp-content/plugins/lightbox-plus/css/framed/images/loading_background.png b/src/wp-content/plugins/lightbox-plus/css/framed/images/loading_background.png new file mode 100644 index 0000000..9de11f4 Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/framed/images/loading_background.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/green/colorbox.css b/src/wp-content/plugins/lightbox-plus/css/green/colorbox.css new file mode 100644 index 0000000..775a34c --- /dev/null +++ b/src/wp-content/plugins/lightbox-plus/css/green/colorbox.css @@ -0,0 +1,36 @@ +/* + ColorBox Core Style + The following rules are the styles that are consistant between all ColorBox themes +*/ +#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;} +#cboxOverlay{position:fixed; width:100%; height:100%;} +#cboxMiddleLeft, #cboxBottomLeft{clear:left;} +#cboxContent{position:relative; overflow:visible;} +#cboxLoadedContent{overflow:auto;} +#cboxLoadedContent iframe{display:block; width:100%; height:100%; border:0;} +#cboxTitle{margin:0;} +#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;} +#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;} + +/* + ColorBox example user style + These rules are ordered and tabbed in a way that represents the order/nesting of the generated HTML, + in hope that this will make the relationship easier to understand. Thanks, jack@colorpowered.com +*/ +#cboxOverlay{background:#030;} + +#colorbox{} + #cboxContent{background:#030; margin-top:20px;} + #cboxBottomCenter{height:30px; background:#030;} + #cboxLoadedContent{background:#030; padding:5px;} + #cboxTitle{position:absolute; bottom:-25px; left:5px; color:#ccc;} + #cboxCurrent{position:absolute; bottom:-25px; right:35px; color:#ccc;} + #cboxSlideshow{position:absolute; top:-20px; right:90px; color:#fff;} + #cboxPrevious{position:absolute; top:50%; left:5px; margin-top:-41px; background-image: url(data:image/gif;base64,AAAA); width:49%; height:100%; text-indent:-9999px;} + #cboxPrevious.hover{background-position:bottom left; background:url(images/prevgreen.png) top left no-repeat;} + #cboxNext{position:absolute; top:50%; right:5px; margin-top:-41px; background-image: url(data:image/gif;base64,AAAA); width:49%; height:100%; text-indent:-9999px;} + #cboxNext.hover{background-position:bottom right; background:url(images/nextgreen.png) top right no-repeat;} + #cboxLoadingOverlay{background:#030;} + #cboxLoadingGraphic{background:url(images/loading.gif) center center no-repeat;} + #cboxClose{position:absolute; bottom:-25px; right:5px; display:block; background:url(images/close.png) top center no-repeat; width:22px; height:22px; text-indent:-9999px;} + #cboxClose.hover{background-position:bottom center;} \ No newline at end of file diff --git a/src/wp-content/plugins/lightbox-plus/css/green/images/close.png b/src/wp-content/plugins/lightbox-plus/css/green/images/close.png new file mode 100644 index 0000000..e02eb3c Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/green/images/close.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/green/images/loading.gif b/src/wp-content/plugins/lightbox-plus/css/green/images/loading.gif new file mode 100644 index 0000000..f864d5f Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/green/images/loading.gif differ diff --git a/src/wp-content/plugins/lightbox-plus/css/green/images/nextgreen.png b/src/wp-content/plugins/lightbox-plus/css/green/images/nextgreen.png new file mode 100644 index 0000000..517c46e Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/green/images/nextgreen.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/green/images/prevgreen.png b/src/wp-content/plugins/lightbox-plus/css/green/images/prevgreen.png new file mode 100644 index 0000000..127cb3a Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/green/images/prevgreen.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/grey/colorbox.css b/src/wp-content/plugins/lightbox-plus/css/grey/colorbox.css new file mode 100644 index 0000000..2374ba8 --- /dev/null +++ b/src/wp-content/plugins/lightbox-plus/css/grey/colorbox.css @@ -0,0 +1,36 @@ +/* + ColorBox Core Style + The following rules are the styles that are consistant between all ColorBox themes +*/ +#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;} +#cboxOverlay{position:fixed; width:100%; height:100%;} +#cboxMiddleLeft, #cboxBottomLeft{clear:left;} +#cboxContent{position:relative; overflow:visible;} +#cboxLoadedContent{overflow:auto;} +#cboxLoadedContent iframe{display:block; width:100%; height:100%; border:0;} +#cboxTitle{margin:0;} +#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;} +#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;} + +/* + ColorBox example user style + These rules are ordered and tabbed in a way that represents the order/nesting of the generated HTML, + in hope that this will make the relationship easier to understand. Thanks, jack@colorpowered.com +*/ +#cboxOverlay{background:#666;} + +#colorbox{} + #cboxContent{background:#666; margin-top:20px;} + #cboxBottomCenter{height:30px; background:#666;} + #cboxLoadedContent{background:#666; padding:5px;} + #cboxTitle{position:absolute; bottom:-25px; left:5px; color:#ccc;} + #cboxCurrent{position:absolute; bottom:-25px; right:35px; color:#ccc;} + #cboxSlideshow{position:absolute; top:-20px; right:90px; color:#fff;} + #cboxPrevious{position:absolute; top:50%; left:5px; margin-top:-41px; background-image: url(data:image/gif;base64,AAAA); width:49%; height:100%; text-indent:-9999px;} + #cboxPrevious.hover{background-position:bottom left; background:url(images/prevgrey.png) top left no-repeat;} + #cboxNext{position:absolute; top:50%; right:5px; margin-top:-41px; background-image: url(data:image/gif;base64,AAAA); width:49%; height:100%; text-indent:-9999px;} + #cboxNext.hover{background-position:bottom right; background:url(images/nextgrey.png) top right no-repeat;} + #cboxLoadingOverlay{background:#666;} + #cboxLoadingGraphic{background:url(images/loading.gif) center center no-repeat;} + #cboxClose{position:absolute; bottom:-25px; right:5px; display:block; background:url(images/close.png) top center no-repeat; width:22px; height:22px; text-indent:-9999px;} + #cboxClose.hover{background-position:bottom center;} \ No newline at end of file diff --git a/src/wp-content/plugins/lightbox-plus/css/grey/images/close.png b/src/wp-content/plugins/lightbox-plus/css/grey/images/close.png new file mode 100644 index 0000000..e02eb3c Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/grey/images/close.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/grey/images/loading.gif b/src/wp-content/plugins/lightbox-plus/css/grey/images/loading.gif new file mode 100644 index 0000000..f864d5f Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/grey/images/loading.gif differ diff --git a/src/wp-content/plugins/lightbox-plus/css/grey/images/nextgrey.png b/src/wp-content/plugins/lightbox-plus/css/grey/images/nextgrey.png new file mode 100644 index 0000000..3e27d00 Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/grey/images/nextgrey.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/grey/images/prevgrey.png b/src/wp-content/plugins/lightbox-plus/css/grey/images/prevgrey.png new file mode 100644 index 0000000..7885e7a Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/grey/images/prevgrey.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/lightweight/colorbox.css b/src/wp-content/plugins/lightbox-plus/css/lightweight/colorbox.css new file mode 100644 index 0000000..e0405e2 --- /dev/null +++ b/src/wp-content/plugins/lightbox-plus/css/lightweight/colorbox.css @@ -0,0 +1,41 @@ +/* + ColorBox Core Style + The following rules are the styles that are consistant between themes. + Avoid changing this area to maintain compatability with future versions of ColorBox. +*/ +#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;} +#cboxOverlay{position:fixed; width:100%; height:100%;} +#cboxMiddleLeft, #cboxBottomLeft{clear:left;} +#cboxContent{position:relative; overflow:visible;} +#cboxLoadedContent{overflow:auto;} +#cboxLoadedContent iframe{display:block; width:100%; height:100%; border:0;} +#cboxTitle{margin:0;} +#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;} +#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;} + +/* + ColorBox example user style + The following rules are ordered and tabbed in a way that represents the + order/nesting of the generated HTML, so that the structure easier to understand. +*/ +#cboxOverlay{background:#fff;} + +#colorbox{} + #cboxContent{margin-top:32px;} + #cboxLoadedContent{background:#000; padding:1px;} + #cboxLoadingGraphic{background:url(images/loading.gif) center center no-repeat;} + #cboxLoadingOverlay{background:#000;} + #cboxTitle{position:absolute; top:-22px; left:0; color:#000;} + #cboxCurrent{position:absolute; top:-22px; right:205px; text-indent:-9999px;} + #cboxSlideshow, #cboxPrevious, #cboxNext, #cboxClose{text-indent:-9999px; width:20px; height:20px; position:absolute; top:-20px; background:url(images/controls.png) 0 0 no-repeat;} + #cboxPrevious{background-position:0px 0px; right:44px;} + #cboxPrevious.hover{background-position:0px -25px;} + #cboxNext{background-position:-25px 0px; right:22px;} + #cboxNext.hover{background-position:-25px -25px;} + #cboxClose{background-position:-50px 0px; right:0;} + #cboxClose.hover{background-position:-50px -25px;} + .cboxSlideshow_on #cboxPrevious, .cboxSlideshow_off #cboxPrevious{right:66px;} + .cboxSlideshow_on #cboxSlideshow{background-position:-75px -25px; right:44px;} + .cboxSlideshow_on #cboxSlideshow.hover{background-position:-100px -25px;} + .cboxSlideshow_off #cboxSlideshow{background-position:-100px 0px; right:44px;} + .cboxSlideshow_off #cboxSlideshow.hover{background-position:-75px -25px;} diff --git a/src/wp-content/plugins/lightbox-plus/css/lightweight/images/controls.png b/src/wp-content/plugins/lightbox-plus/css/lightweight/images/controls.png new file mode 100644 index 0000000..8569b57 Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/lightweight/images/controls.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/lightweight/images/loading.gif b/src/wp-content/plugins/lightbox-plus/css/lightweight/images/loading.gif new file mode 100644 index 0000000..19c67bb Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/lightweight/images/loading.gif differ diff --git a/src/wp-content/plugins/lightbox-plus/css/purple/colorbox.css b/src/wp-content/plugins/lightbox-plus/css/purple/colorbox.css new file mode 100644 index 0000000..ee48da2 --- /dev/null +++ b/src/wp-content/plugins/lightbox-plus/css/purple/colorbox.css @@ -0,0 +1,36 @@ +/* + ColorBox Core Style + The following rules are the styles that are consistant between all ColorBox themes +*/ +#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;} +#cboxOverlay{position:fixed; width:100%; height:100%;} +#cboxMiddleLeft, #cboxBottomLeft{clear:left;} +#cboxContent{position:relative; overflow:visible;} +#cboxLoadedContent{overflow:auto;} +#cboxLoadedContent iframe{display:block; width:100%; height:100%; border:0;} +#cboxTitle{margin:0;} +#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;} +#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;} + +/* + ColorBox example user style + These rules are ordered and tabbed in a way that represents the order/nesting of the generated HTML, + in hope that this will make the relationship easier to understand. Thanks, jack@colorpowered.com +*/ +#cboxOverlay{background:#303;} + +#colorbox{} + #cboxContent{background:#303; margin-top:20px;} + #cboxBottomCenter{height:30px; background:#303;} + #cboxLoadedContent{background:#303; padding:5px;} + #cboxTitle{position:absolute; bottom:-25px; left:5px; color:#ccc;} + #cboxCurrent{position:absolute; bottom:-25px; right:35px; color:#ccc;} + #cboxSlideshow{position:absolute; top:-20px; right:90px; color:#fff;} + #cboxPrevious{position:absolute; top:50%; left:5px; margin-top:-41px; background-image: url(data:image/gif;base64,AAAA); width:49%; height:100%; text-indent:-9999px;} + #cboxPrevious.hover{background-position:bottom left; background:url(images/prevpurple.png) top left no-repeat;} + #cboxNext{position:absolute; top:50%; right:5px; margin-top:-41px; background-image: url(data:image/gif;base64,AAAA); width:49%; height:100%; text-indent:-9999px;} + #cboxNext.hover{background-position:bottom right; background:url(images/nextpurple.png) top right no-repeat;} + #cboxLoadingOverlay{background:#303;} + #cboxLoadingGraphic{background:url(images/loading.gif) center center no-repeat;} + #cboxClose{position:absolute; bottom:-25px; right:5px; display:block; background:url(images/close.png) top center no-repeat; width:22px; height:22px; text-indent:-9999px;} + #cboxClose.hover{background-position:bottom center;} \ No newline at end of file diff --git a/src/wp-content/plugins/lightbox-plus/css/purple/images/close.png b/src/wp-content/plugins/lightbox-plus/css/purple/images/close.png new file mode 100644 index 0000000..e02eb3c Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/purple/images/close.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/purple/images/loading.gif b/src/wp-content/plugins/lightbox-plus/css/purple/images/loading.gif new file mode 100644 index 0000000..f864d5f Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/purple/images/loading.gif differ diff --git a/src/wp-content/plugins/lightbox-plus/css/purple/images/nextpurple.png b/src/wp-content/plugins/lightbox-plus/css/purple/images/nextpurple.png new file mode 100644 index 0000000..0ad162c Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/purple/images/nextpurple.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/purple/images/prevpurple.png b/src/wp-content/plugins/lightbox-plus/css/purple/images/prevpurple.png new file mode 100644 index 0000000..6876d97 Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/purple/images/prevpurple.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/red/colorbox.css b/src/wp-content/plugins/lightbox-plus/css/red/colorbox.css new file mode 100644 index 0000000..cb3e102 --- /dev/null +++ b/src/wp-content/plugins/lightbox-plus/css/red/colorbox.css @@ -0,0 +1,36 @@ +/* + ColorBox Core Style + The following rules are the styles that are consistant between all ColorBox themes +*/ +#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;} +#cboxOverlay{position:fixed; width:100%; height:100%;} +#cboxMiddleLeft, #cboxBottomLeft{clear:left;} +#cboxContent{position:relative; overflow:visible;} +#cboxLoadedContent{overflow:auto;} +#cboxLoadedContent iframe{display:block; width:100%; height:100%; border:0;} +#cboxTitle{margin:0;} +#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;} +#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;} + +/* + ColorBox example user style + These rules are ordered and tabbed in a way that represents the order/nesting of the generated HTML, + in hope that this will make the relationship easier to understand. Thanks, jack@colorpowered.com +*/ +#cboxOverlay{background:#300;} + +#colorbox{} + #cboxContent{background:#300; margin-top:20px;} + #cboxBottomCenter{height:30px; background:#300;} + #cboxLoadedContent{background:#300; padding:5px;} + #cboxTitle{position:absolute; bottom:-25px; left:5px; color:#ccc;} + #cboxCurrent{position:absolute; bottom:-25px; right:35px; color:#ccc;} + #cboxSlideshow{position:absolute; top:-20px; right:90px; color:#fff;} + #cboxPrevious{position:absolute; top:50%; left:5px; margin-top:-41px; background-image: url(data:image/gif;base64,AAAA); width:49%; height:100%; text-indent:-9999px;} + #cboxPrevious.hover{background-position:bottom left; background:url(images/prevred.png) top left no-repeat;} + #cboxNext{position:absolute; top:50%; right:5px; margin-top:-41px; background-image: url(data:image/gif;base64,AAAA); width:49%; height:100%; text-indent:-9999px;} + #cboxNext.hover{background-position:bottom right; background:url(images/nextred.png) top right no-repeat;} + #cboxLoadingOverlay{background:#300;} + #cboxLoadingGraphic{background:url(images/loading.gif) center center no-repeat;} + #cboxClose{position:absolute; bottom:-25px; right:5px; display:block; background:url(images/close.png) top center no-repeat; width:22px; height:22px; text-indent:-9999px;} + #cboxClose.hover{background-position:bottom center;} \ No newline at end of file diff --git a/src/wp-content/plugins/lightbox-plus/css/red/images/close.png b/src/wp-content/plugins/lightbox-plus/css/red/images/close.png new file mode 100644 index 0000000..e02eb3c Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/red/images/close.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/red/images/loading.gif b/src/wp-content/plugins/lightbox-plus/css/red/images/loading.gif new file mode 100644 index 0000000..f864d5f Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/red/images/loading.gif differ diff --git a/src/wp-content/plugins/lightbox-plus/css/red/images/nextred.png b/src/wp-content/plugins/lightbox-plus/css/red/images/nextred.png new file mode 100644 index 0000000..f3e54f4 Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/red/images/nextred.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/red/images/prevred.png b/src/wp-content/plugins/lightbox-plus/css/red/images/prevred.png new file mode 100644 index 0000000..cbf0e79 Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/red/images/prevred.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/shadowed/colorbox-ie.php b/src/wp-content/plugins/lightbox-plus/css/shadowed/colorbox-ie.php new file mode 100644 index 0000000..b8a3b88 --- /dev/null +++ b/src/wp-content/plugins/lightbox-plus/css/shadowed/colorbox-ie.php @@ -0,0 +1,25 @@ + +.cboxIE #cboxTopLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/internet_explorer/borderTopLeft.png', sizingMethod='scale');} +.cboxIE #cboxTopCenter{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/internet_explorer/borderTopCenter.png', sizingMethod='scale');} +.cboxIE #cboxTopRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/internet_explorer/borderTopRight.png', sizingMethod='scale');} +.cboxIE #cboxBottomLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/internet_explorer/borderBottomLeft.png', sizingMethod='scale');} +.cboxIE #cboxBottomCenter{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/internet_explorer/borderBottomCenter.png', sizingMethod='scale');} +.cboxIE #cboxBottomRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/internet_explorer/borderBottomRight.png', sizingMethod='scale');} +.cboxIE #cboxMiddleLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/internet_explorer/borderMiddleLeft.png', sizingMethod='scale');} +.cboxIE #cboxMiddleRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/internet_explorer/borderMiddleRight.png', sizingMethod='scale');} + + diff --git a/src/wp-content/plugins/lightbox-plus/css/shadowed/colorbox.css b/src/wp-content/plugins/lightbox-plus/css/shadowed/colorbox.css new file mode 100644 index 0000000..aadf6bc --- /dev/null +++ b/src/wp-content/plugins/lightbox-plus/css/shadowed/colorbox.css @@ -0,0 +1,41 @@ +/* + ColorBox Core Style + The following rules are the styles that are consistant between themes. + Avoid changing this area to maintain compatability with future versions of ColorBox. +*/ +#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;} +#cboxOverlay{position:fixed; width:100%; height:100%;} +#cboxMiddleLeft, #cboxBottomLeft{clear:left;} +#cboxContent{position:relative; overflow:hidden;} +#cboxLoadedContent{overflow:auto;} +#cboxLoadedContent iframe{display:block; width:100%; height:100%; border:0;} +#cboxTitle{margin:0;} +#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;} +#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;} +/* + ColorBox example user style + The following rules are ordered and tabbed in a way that represents the + order/nesting of the generated HTML, so that the structure easier to understand. +*/ +#cboxOverlay{background:#fff;} + +#colorBox{} + #cboxTopLeft{width:25px; height:25px; background:url(images/border1.png) 0 0 no-repeat;} + #cboxTopCenter{height:25px; background:url(images/border1.png) 0 -50px repeat-x;} + #cboxTopRight{width:25px; height:25px; background:url(images/border1.png) -25px 0 no-repeat;} + #cboxBottomLeft{width:25px; height:25px; background:url(images/border1.png) 0 -25px no-repeat;} + #cboxBottomCenter{height:25px; background:url(images/border1.png) 0 -75px repeat-x;} + #cboxBottomRight{width:25px; height:25px; background:url(images/border1.png) -25px -25px no-repeat;} + #cboxMiddleLeft{width:25px; background:url(images/border2.png) 0 0 repeat-y;} + #cboxMiddleRight{width:25px; background:url(images/border2.png) -25px 0 repeat-y;} + #cboxContent{background:#fff;} + #cboxLoadedContent{margin-bottom:20px; } + #cboxTitle{position:absolute; bottom:0px; left:0; text-align:center; width:100%; color:#999; } + #cboxCurrent{position:absolute; bottom:0px; left:100px; color:#999;} + #cboxSlideshow{position:absolute; bottom:0px; right:42px; color:#444;} + #cboxPrevious{position:absolute; bottom:0px; left:0; color:#444;} + #cboxNext{position:absolute; bottom:0px; left:63px; color:#444;} + #cboxLoadingOverlay{background:url(images/loading.gif) 5px 5px no-repeat #fff;} + #cboxClose{position:absolute; bottom:0; right:0; display:block; color:#444;} + + diff --git a/src/wp-content/plugins/lightbox-plus/css/shadowed/images/border1.png b/src/wp-content/plugins/lightbox-plus/css/shadowed/images/border1.png new file mode 100644 index 0000000..2d0a04d Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/shadowed/images/border1.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/shadowed/images/border2.png b/src/wp-content/plugins/lightbox-plus/css/shadowed/images/border2.png new file mode 100644 index 0000000..be02ef4 Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/shadowed/images/border2.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/shadowed/images/internet_explorer/borderBottomCenter.png b/src/wp-content/plugins/lightbox-plus/css/shadowed/images/internet_explorer/borderBottomCenter.png new file mode 100644 index 0000000..12e0e9a Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/shadowed/images/internet_explorer/borderBottomCenter.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/shadowed/images/internet_explorer/borderBottomLeft.png b/src/wp-content/plugins/lightbox-plus/css/shadowed/images/internet_explorer/borderBottomLeft.png new file mode 100644 index 0000000..b7a474a Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/shadowed/images/internet_explorer/borderBottomLeft.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/shadowed/images/internet_explorer/borderBottomRight.png b/src/wp-content/plugins/lightbox-plus/css/shadowed/images/internet_explorer/borderBottomRight.png new file mode 100644 index 0000000..6b6cb15 Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/shadowed/images/internet_explorer/borderBottomRight.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/shadowed/images/internet_explorer/borderMiddleLeft.png b/src/wp-content/plugins/lightbox-plus/css/shadowed/images/internet_explorer/borderMiddleLeft.png new file mode 100644 index 0000000..8f248ac Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/shadowed/images/internet_explorer/borderMiddleLeft.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/shadowed/images/internet_explorer/borderMiddleRight.png b/src/wp-content/plugins/lightbox-plus/css/shadowed/images/internet_explorer/borderMiddleRight.png new file mode 100644 index 0000000..336e19c Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/shadowed/images/internet_explorer/borderMiddleRight.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/shadowed/images/internet_explorer/borderTopCenter.png b/src/wp-content/plugins/lightbox-plus/css/shadowed/images/internet_explorer/borderTopCenter.png new file mode 100644 index 0000000..7cb1da4 Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/shadowed/images/internet_explorer/borderTopCenter.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/shadowed/images/internet_explorer/borderTopLeft.png b/src/wp-content/plugins/lightbox-plus/css/shadowed/images/internet_explorer/borderTopLeft.png new file mode 100644 index 0000000..d733b6c Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/shadowed/images/internet_explorer/borderTopLeft.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/shadowed/images/internet_explorer/borderTopRight.png b/src/wp-content/plugins/lightbox-plus/css/shadowed/images/internet_explorer/borderTopRight.png new file mode 100644 index 0000000..0d88683 Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/shadowed/images/internet_explorer/borderTopRight.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/shadowed/images/loading.gif b/src/wp-content/plugins/lightbox-plus/css/shadowed/images/loading.gif new file mode 100644 index 0000000..602ce3c Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/shadowed/images/loading.gif differ diff --git a/src/wp-content/plugins/lightbox-plus/css/teal/colorbox.css b/src/wp-content/plugins/lightbox-plus/css/teal/colorbox.css new file mode 100644 index 0000000..c80f59d --- /dev/null +++ b/src/wp-content/plugins/lightbox-plus/css/teal/colorbox.css @@ -0,0 +1,36 @@ +/* + ColorBox Core Style + The following rules are the styles that are consistant between all ColorBox themes +*/ +#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;} +#cboxOverlay{position:fixed; width:100%; height:100%;} +#cboxMiddleLeft, #cboxBottomLeft{clear:left;} +#cboxContent{position:relative; overflow:visible;} +#cboxLoadedContent{overflow:auto;} +#cboxLoadedContent iframe{display:block; width:100%; height:100%; border:0;} +#cboxTitle{margin:0;} +#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;} +#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;} + +/* + ColorBox example user style + These rules are ordered and tabbed in a way that represents the order/nesting of the generated HTML, + in hope that this will make the relationship easier to understand. Thanks, jack@colorpowered.com +*/ +#cboxOverlay{background:#033;} + +#colorbox{} + #cboxContent{background:#033; margin-top:20px;} + #cboxBottomCenter{height:30px; background:#033;} + #cboxLoadedContent{background:#033; padding:5px;} + #cboxTitle{position:absolute; bottom:-25px; left:5px; color:#ccc;} + #cboxCurrent{position:absolute; bottom:-25px; right:35px; color:#ccc;} + #cboxSlideshow{position:absolute; top:-20px; right:90px; color:#fff;} + #cboxPrevious{position:absolute; top:50%; left:5px; margin-top:-41px; background-image: url(data:image/gif;base64,AAAA); width:49%; height:100%; text-indent:-9999px;} + #cboxPrevious.hover{background-position:bottom left; background:url(images/prevteal.png) top left no-repeat;} + #cboxNext{position:absolute; top:50%; right:5px; margin-top:-41px; background-image: url(data:image/gif;base64,AAAA); width:49%; height:100%; text-indent:-9999px;} + #cboxNext.hover{background-position:bottom right; background:url(images/nextteal.png) top right no-repeat;} + #cboxLoadingOverlay{background:#033;} + #cboxLoadingGraphic{background:url(images/loading.gif) center center no-repeat;} + #cboxClose{position:absolute; bottom:-25px; right:5px; display:block; background:url(images/close.png) top center no-repeat; width:22px; height:22px; text-indent:-9999px;} + #cboxClose.hover{background-position:bottom center;} \ No newline at end of file diff --git a/src/wp-content/plugins/lightbox-plus/css/teal/images/close.png b/src/wp-content/plugins/lightbox-plus/css/teal/images/close.png new file mode 100644 index 0000000..e02eb3c Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/teal/images/close.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/teal/images/loading.gif b/src/wp-content/plugins/lightbox-plus/css/teal/images/loading.gif new file mode 100644 index 0000000..f864d5f Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/teal/images/loading.gif differ diff --git a/src/wp-content/plugins/lightbox-plus/css/teal/images/nextteal.png b/src/wp-content/plugins/lightbox-plus/css/teal/images/nextteal.png new file mode 100644 index 0000000..16da2f5 Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/teal/images/nextteal.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/teal/images/prevteal.png b/src/wp-content/plugins/lightbox-plus/css/teal/images/prevteal.png new file mode 100644 index 0000000..c51baa6 Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/teal/images/prevteal.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/white/colorbox.css b/src/wp-content/plugins/lightbox-plus/css/white/colorbox.css new file mode 100644 index 0000000..6d6666d --- /dev/null +++ b/src/wp-content/plugins/lightbox-plus/css/white/colorbox.css @@ -0,0 +1,36 @@ +/* + ColorBox Core Style + The following rules are the styles that are consistant between all ColorBox themes +*/ +#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;} +#cboxOverlay{position:fixed; width:100%; height:100%;} +#cboxMiddleLeft, #cboxBottomLeft{clear:left;} +#cboxContent{position:relative; overflow:visible;} +#cboxLoadedContent{overflow:auto;} +#cboxLoadedContent iframe{display:block; width:100%; height:100%; border:0;} +#cboxTitle{margin:0;} +#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;} +#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;} + +/* + ColorBox example user style + These rules are ordered and tabbed in a way that represents the order/nesting of the generated HTML, + in hope that this will make the relationship easier to understand. Thanks, jack@colorpowered.com +*/ +#cboxOverlay{background:#fff;} + +#colorbox{} + #cboxContent{background:#fff; margin-top:20px;} + #cboxBottomCenter{height:30px; background:#fff;} + #cboxLoadedContent{background:#fff; padding:5px;} + #cboxTitle{position:absolute; bottom:-25px; left:5px; color:#ccc;} + #cboxCurrent{position:absolute; bottom:-25px; right:35px; color:#ccc;} + #cboxSlideshow{position:absolute; top:-20px; right:90px; color:#fff;} + #cboxPrevious{position:absolute; top:50%; left:5px; margin-top:-41px; background-image: url(data:image/gif;base64,AAAA); width:49%; height:100%; text-indent:-9999px;} + #cboxPrevious.hover{background-position:bottom left; background:url(images/prevwhite.png) top left no-repeat;} + #cboxNext{position:absolute; top:50%; right:5px; margin-top:-41px; background-image: url(data:image/gif;base64,AAAA); width:49%; height:100%; text-indent:-9999px;} + #cboxNext.hover{background-position:bottom right; background:url(images/nextwhite.png) top right no-repeat;} + #cboxLoadingOverlay{background:#fff;} + #cboxLoadingGraphic{background:url(images/loading.gif) center center no-repeat;} + #cboxClose{position:absolute; bottom:-25px; right:5px; display:block; background:url(images/close.png) top center no-repeat; width:22px; height:22px; text-indent:-9999px;} + #cboxClose.hover{background-position:bottom center;} \ No newline at end of file diff --git a/src/wp-content/plugins/lightbox-plus/css/white/images/close.png b/src/wp-content/plugins/lightbox-plus/css/white/images/close.png new file mode 100644 index 0000000..e02eb3c Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/white/images/close.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/white/images/loading.gif b/src/wp-content/plugins/lightbox-plus/css/white/images/loading.gif new file mode 100644 index 0000000..f864d5f Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/white/images/loading.gif differ diff --git a/src/wp-content/plugins/lightbox-plus/css/white/images/nextwhite.png b/src/wp-content/plugins/lightbox-plus/css/white/images/nextwhite.png new file mode 100644 index 0000000..0467ef7 Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/white/images/nextwhite.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/white/images/prevwhite.png b/src/wp-content/plugins/lightbox-plus/css/white/images/prevwhite.png new file mode 100644 index 0000000..b01aaf1 Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/white/images/prevwhite.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/yellow/colorbox.css b/src/wp-content/plugins/lightbox-plus/css/yellow/colorbox.css new file mode 100644 index 0000000..cbfcb7e --- /dev/null +++ b/src/wp-content/plugins/lightbox-plus/css/yellow/colorbox.css @@ -0,0 +1,36 @@ +/* + ColorBox Core Style + The following rules are the styles that are consistant between all ColorBox themes +*/ +#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;} +#cboxOverlay{position:fixed; width:100%; height:100%;} +#cboxMiddleLeft, #cboxBottomLeft{clear:left;} +#cboxContent{position:relative; overflow:visible;} +#cboxLoadedContent{overflow:auto;} +#cboxLoadedContent iframe{display:block; width:100%; height:100%; border:0;} +#cboxTitle{margin:0;} +#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;} +#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;} + +/* + ColorBox example user style + These rules are ordered and tabbed in a way that represents the order/nesting of the generated HTML, + in hope that this will make the relationship easier to understand. Thanks, jack@colorpowered.com +*/ +#cboxOverlay{background:#110;} + +#colorbox{} + #cboxContent{background:#550; margin-top:20px;} + #cboxBottomCenter{height:30px; background:#550;} + #cboxLoadedContent{background:#550; padding:5px;} + #cboxTitle{position:absolute; bottom:-25px; left:5px; color:#ccc;} + #cboxCurrent{position:absolute; bottom:-25px; right:35px; color:#ccc;} + #cboxSlideshow{position:absolute; top:-20px; right:90px; color:#aaa;} + #cboxPrevious{position:absolute;top:50%;left:5px; margin-top:-41px; background-image: url(data:image/gif;base64,AAAA); width:49%; height:100%; text-indent:-9999px;} + #cboxPrevious:hover{background-position:bottom left;background:url(images/prevyellow.png) top left no-repeat; } + #cboxNext{position:absolute; top:50%; right:5px; margin-top:-41px; background-image: url(data:image/gif;base64,AAAA); width:49%; height:100%; text-indent:-9999px;} + #cboxNext.hover{background-position:bottom right; background:url(images/nextyellow.png) top right no-repeat;} + #cboxLoadingOverlay{background:#550;} + #cboxLoadingGraphic{background:url(images/loading.gif) center center no-repeat;} + #cboxClose{position:absolute; bottom:-25px; right:5px; display:block; background:url(images/close.png) top center no-repeat; width:22px; height:22px; text-indent:-9999px;} + #cboxClose.hover{background-position:bottom center;} \ No newline at end of file diff --git a/src/wp-content/plugins/lightbox-plus/css/yellow/images/close.png b/src/wp-content/plugins/lightbox-plus/css/yellow/images/close.png new file mode 100644 index 0000000..e02eb3c Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/yellow/images/close.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/yellow/images/loading.gif b/src/wp-content/plugins/lightbox-plus/css/yellow/images/loading.gif new file mode 100644 index 0000000..f864d5f Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/yellow/images/loading.gif differ diff --git a/src/wp-content/plugins/lightbox-plus/css/yellow/images/nextyellow.png b/src/wp-content/plugins/lightbox-plus/css/yellow/images/nextyellow.png new file mode 100644 index 0000000..e0d5aeb Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/yellow/images/nextyellow.png differ diff --git a/src/wp-content/plugins/lightbox-plus/css/yellow/images/prevyellow.png b/src/wp-content/plugins/lightbox-plus/css/yellow/images/prevyellow.png new file mode 100644 index 0000000..879eb31 Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/css/yellow/images/prevyellow.png differ diff --git a/src/wp-content/plugins/lightbox-plus/js/jquery.colorbox-min.js b/src/wp-content/plugins/lightbox-plus/js/jquery.colorbox-min.js new file mode 100644 index 0000000..2752e53 --- /dev/null +++ b/src/wp-content/plugins/lightbox-plus/js/jquery.colorbox-min.js @@ -0,0 +1,4 @@ +// ColorBox v1.3.14 - a full featured, light-weight, customizable lightbox based on jQuery 1.3+ +// Copyright (c) 2010 Jack Moore - jack@colorpowered.com +// Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php +(function(b,ib){var t="none",M="LoadedContent",c=false,v="resize.",o="y",q="auto",e=true,L="nofollow",m="x";function f(a,c){a=a?' id="'+i+a+'"':"";c=c?' style="'+c+'"':"";return b("")}function p(a,b){b=b===m?n.width():n.height();return typeof a==="string"?Math.round(/%/.test(a)?b/100*parseInt(a,10):parseInt(a,10)):a}function U(b){return a.photo||/\.(gif|png|jpg|jpeg|bmp)(?:\?([^#]*))?(?:#(\.*))?$/i.test(b)}function cb(a){for(var c in a)if(b.isFunction(a[c])&&c.substring(0,2)!=="on")a[c]=a[c].call(l);a.rel=a.rel||l.rel||L;a.href=a.href||b(l).attr("href");a.title=a.title||l.title;return a}function w(c,a){a&&a.call(l);b.event.trigger(c)}function jb(){var b,e=i+"Slideshow_",c="click."+i,f,k;if(a.slideshow&&h[1]){f=function(){F.text(a.slideshowStop).unbind(c).bind(V,function(){if(g");c.open=e}a.each(function(){b.data(this,r,b.extend({},b.data(this,r)||gb,c));b(this).addClass(G)});d=c.open;if(b.isFunction(d))d=d.call(a);d&&db(a[0]);return a};d.init=function(){var l="hover",m="clear:left";n=b(ib);j=f().attr({id:r,"class":A?i+"IE":""});x=f("Overlay",X?"position:absolute":"").hide();B=f("Wrapper");s=f("Content").append(k=f(M,"width:0; height:0; overflow:hidden"),K=f("LoadingOverlay").add(f("LoadingGraphic")),Z=f("Title"),Y=f("Current"),I=f("Next"),H=f("Previous"),F=f("Slideshow").bind(fb,jb),ab=f("Close"));B.append(f().append(f("TopLeft"),bb=f("TopCenter"),f("TopRight")),f(c,m).append(T=f("MiddleLeft"),s,R=f("MiddleRight")),f(c,m).append(f("BottomLeft"),S=f("BottomCenter"),f("BottomRight"))).children().children().css({"float":"left"});J=f(c,"position:absolute; width:9999px; visibility:hidden; display:none");b("body").prepend(x,j.append(B,J));s.children().hover(function(){b(this).addClass(l)},function(){b(this).removeClass(l)}).addClass(l);C=bb.height()+S.height()+s.outerHeight(e)-s.height();D=T.width()+R.width()+s.outerWidth(e)-s.width();y=k.outerHeight(e);z=k.outerWidth(e);j.css({"padding-bottom":C,"padding-right":D}).hide();I.click(d.next);H.click(d.prev);ab.click(d.close);s.children().removeClass(l);b("."+G).live("click",function(a){if(!(a.button!==0&&typeof a.button!=="undefined"||a.ctrlKey||a.shiftKey||a.altKey)){a.preventDefault();db(this)}});x.click(function(){a.overlayClose&&d.close()});b(document).bind("keydown",function(b){if(u&&a.escKey&&b.keyCode===27){b.preventDefault();d.close()}if(u&&a.arrowKey&&!E&&h[1])if(b.keyCode===37&&(g||a.loop)){b.preventDefault();H.click()}else if(b.keyCode===39&&(g
").children();a.h=b.height();b.replaceWith(b.children())}k.css({height:a.h});d.position(a.transition===t?0:a.speed)}};d.prep=function(o){var e="hidden";function m(t){var q,f,o,e,m=h.length,s=a.loop;d.position(t,function(){if(u){A&&p&&k.fadeIn(100);k.show();w(hb);Z.show().html(a.title);if(m>1){typeof a.current==="string"&&Y.html(a.current.replace(/\{current\}/,g+1).replace(/\{total\}/,m)).show();I[s||g")[0].src=e;if(U(f))b("")[0].src=f}}K.hide();if(a.transition==="fade")j.fadeTo(l,1,function(){if(A)j[0].style.filter=c});else if(A)j[0].style.filter=c;n.bind(v+i,function(){d.position(0)});w(V,a.onComplete)}})}if(u){var p,l=a.transition===t?0:a.speed;n.unbind(v+i);k.remove();k=f(M).html(o);k.hide().appendTo(J.show()).css({width:function(){a.w=a.w||k.width();a.w=a.mw&&a.mw");c[0].src=a.href;c.appendTo(k).one(Q,function(){c[0].src='//about:blank'})});q(" ")}else if(a.html)q(a.html);else if(U(n)){c=new Image;c.onload=function(){var e;c.onload=null;c.id=i+"Photo";b(c).css({border:t,display:"block",cssFloat:"left"});if(a.scalePhotos){s=function(){c.height-=c.height*e;c.width-=c.width*e};if(a.mw&&c.width>a.mw){e=(c.width-a.mw)/c.width;s()}if(a.mh&&c.height>a.mh){e=(c.height-a.mh)/c.height;s()}}if(a.h)c.style.marginTop=Math.max(a.h-c.height,0)/2+"px";h[1]&&(g, 2010. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: http://wordpress.org/tag/lightbox-plus\n" +"POT-Creation-Date: 2010-07-12 21:29+0000\n" +"PO-Revision-Date: 2010-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: admin/lightbox.admin.php:5 admin/lightbox.admin.php:683 +msgid "About Lightbox Plus for WordPress" +msgstr "" + +#: admin/lightbox.admin.php:29 admin/lightbox.admin.php:699 +msgid "" +"Thank you for downloading and installing Lightbox Plus for WordPress

Visit " +"plugin site | FAQ | Support | Follow on Twitter | Add Facebook Page" +msgstr "" + +#: admin/lightbox.admin.php:32 admin/lightbox.admin.php:702 +msgid "" +"Lightbox Plus implements ColorBox as a lightbox image overlay tool for " +"WordPress. ColorBox was created by Jack Moore of Color Powered and is licensed under the MIT " +"License. Lightbox Plus allows you to easily integrate and customize a " +"powerful and light-weight lightbox plugin for jQuery into your WordPress " +"site. You can easily create additional styles by adding a new folder to the " +"css directory under wp-content/plugins/lighbox-plus/css/ by " +"duplicating and modifying any of the existing themes or using them as " +"examples to create your own. See the changelog for important details on this upgrade." +msgstr "" + +#: admin/lightbox.admin.php:35 admin/lightbox.admin.php:705 +msgid "" +"Like many developers I spend a lot of my spare time working on WordPress " +"plugins and themes and any donation to the cause is appreciated. I know a " +"lot of other developers do the same and I try to donate to them whenever I " +"can. As a developer I greatly appreciate any donation you can make to help " +"support further development of quality plugins and themes for WordPress. " +"You have my sincere thanks and appreciation for using Lightbox Plus." +msgstr "" + +#: admin/lightbox.admin.php:45 +msgid "Lightbox Plus - General Settings" +msgstr "" + +#: admin/lightbox.admin.php:50 +msgid "Lightbox Plus Style" +msgstr "" + +#: admin/lightbox.admin.php:63 admin/lightbox.admin.php:74 +#: admin/lightbox.admin.php:85 admin/lightbox.admin.php:119 +#: admin/lightbox.admin.php:162 admin/lightbox.admin.php:173 +#: admin/lightbox.admin.php:184 admin/lightbox.admin.php:195 +#: admin/lightbox.admin.php:206 admin/lightbox.admin.php:217 +#: admin/lightbox.admin.php:228 admin/lightbox.admin.php:239 +#: admin/lightbox.admin.php:250 admin/lightbox.admin.php:261 +#: admin/lightbox.admin.php:294 admin/lightbox.admin.php:305 +#: admin/lightbox.admin.php:318 admin/lightbox.admin.php:329 +#: admin/lightbox.admin.php:340 admin/lightbox.admin.php:351 +#: admin/lightbox.admin.php:362 admin/lightbox.admin.php:384 +#: admin/lightbox.admin.php:395 admin/lightbox.admin.php:433 +#: admin/lightbox.admin.php:444 admin/lightbox.admin.php:455 +#: admin/lightbox.admin.php:477 admin/lightbox.admin.php:488 +#: admin/lightbox.admin.php:499 admin/lightbox.admin.php:512 +#: admin/lightbox.admin.php:524 admin/lightbox.admin.php:535 +#: admin/lightbox.admin.php:546 admin/lightbox.admin.php:598 +#: admin/lightbox.admin.php:632 admin/lightbox.admin.php:656 +#: admin/lightbox.inline.php:12 admin/lightbox.secondary.php:12 +#: admin/lightbox.secondary.php:21 admin/lightbox.secondary.php:30 +#: admin/lightbox.secondary.php:53 admin/lightbox.secondary.php:96 +#: admin/lightbox.secondary.php:107 admin/lightbox.secondary.php:118 +#: admin/lightbox.secondary.php:129 admin/lightbox.secondary.php:140 +#: admin/lightbox.secondary.php:151 admin/lightbox.secondary.php:162 +#: admin/lightbox.secondary.php:173 admin/lightbox.secondary.php:184 +#: admin/lightbox.secondary.php:195 admin/lightbox.secondary.php:228 +#: admin/lightbox.secondary.php:239 admin/lightbox.secondary.php:252 +#: admin/lightbox.secondary.php:263 admin/lightbox.secondary.php:274 +#: admin/lightbox.secondary.php:285 admin/lightbox.secondary.php:296 +#: admin/lightbox.secondary.php:319 admin/lightbox.secondary.php:330 +#: admin/lightbox.secondary.php:368 admin/lightbox.secondary.php:379 +#: admin/lightbox.secondary.php:390 admin/lightbox.secondary.php:413 +#: admin/lightbox.secondary.php:427 admin/lightbox.secondary.php:439 +msgid "Click for Help!" +msgstr "" + +#: admin/lightbox.admin.php:65 +msgid "" +"Select Lightbox Plus theme/style here. Default: Shadowed" +msgstr "" + +#: admin/lightbox.admin.php:71 +msgid "Use Custom Styles" +msgstr "" + +#: admin/lightbox.admin.php:76 +msgid "" +"If checked, the built in stylsheets for Lightbox Plus will be located at " +"wp-content/lbp-css. Lightbox Plus will attempt to create this " +"directory and copy default styles to it. This will allow you to create " +"custom styles in that directory with fear of the styles being deleted when " +"you upgrade he plugin. Default: Unchecked" +msgstr "" + +#: admin/lightbox.admin.php:82 +msgid "Disable Lightbox CSS" +msgstr "" + +#: admin/lightbox.admin.php:87 +msgid "" +"If checked, the built in stylsheets for Lightbox Plus will be disabled. " +"This will allow you to include customized Lightbox Plus styles in your theme " +"stylesheets which can reduce files loaded, and making editing easier. Note, " +"that if you do not have the Lightbox styles set in your stylesheet your " +"Lightboxed images will appear at the top of your page. Default: " +"Unchecked" +msgstr "" + +#: admin/lightbox.admin.php:93 admin/lightbox.admin.php:584 +#: admin/lightbox.admin.php:640 admin/lightbox.inline.php:100 +#: admin/lightbox.secondary.php:472 +msgid "Save all Lightbox Plus settings" +msgstr "" + +#: admin/lightbox.admin.php:93 admin/lightbox.admin.php:584 +#: admin/lightbox.admin.php:640 admin/lightbox.inline.php:100 +#: admin/lightbox.secondary.php:472 +msgid "Save settings" +msgstr "" + +#: admin/lightbox.admin.php:102 +msgid "Lightbox Plus - Primary Lightbox Settings" +msgstr "" + +#: admin/lightbox.admin.php:107 +msgid "Primary Lightbox - Base Settings" +msgstr "" + +#: admin/lightbox.admin.php:112 admin/lightbox.secondary.php:46 +msgid "Transition Type" +msgstr "" + +#: admin/lightbox.admin.php:121 admin/lightbox.secondary.php:55 +msgid "" +"Specifies the transition type. Can be set to \"elastic\", \"fade\", or \"none" +"\". Default: Elastic" +msgstr "" + +#: admin/lightbox.admin.php:127 admin/lightbox.secondary.php:61 +msgid "Resize Speed" +msgstr "" + +#: admin/lightbox.admin.php:164 admin/lightbox.secondary.php:98 +msgid "" +"Controls the speed of the fade and elastic transitions, in milliseconds. " +"Default: 350" +msgstr "" + +#: admin/lightbox.admin.php:170 admin/lightbox.secondary.php:104 +msgid "Width" +msgstr "" + +#: admin/lightbox.admin.php:175 admin/lightbox.secondary.php:109 +msgid "" +"Set a fixed total width. This includes borders and buttons. Example: \"100%" +"\", \"500px\", or 500, or false for no defined width. Default: " +"false" +msgstr "" + +#: admin/lightbox.admin.php:181 admin/lightbox.secondary.php:115 +msgid "Height" +msgstr "" + +#: admin/lightbox.admin.php:186 admin/lightbox.secondary.php:120 +msgid "" +"Set a fixed total height. This includes borders and buttons. Example: \"100%" +"\", \"500px\", or 500, or false for no defined height. Default: " +"false" +msgstr "" + +#: admin/lightbox.admin.php:192 admin/lightbox.secondary.php:126 +msgid "Inner Width" +msgstr "" + +#: admin/lightbox.admin.php:197 admin/lightbox.secondary.php:131 +msgid "" +"This is an alternative to \"width\" used to set a fixed inner width. This " +"excludes borders and buttons. Example: \"50%\", \"500px\", or 500, or false " +"for no inner width. Default: false" +msgstr "" + +#: admin/lightbox.admin.php:203 admin/lightbox.secondary.php:137 +msgid "Inner Height" +msgstr "" + +#: admin/lightbox.admin.php:208 admin/lightbox.secondary.php:142 +msgid "" +"This is an alternative to \"height\" used to set a fixed inner height. This " +"excludes borders and buttons. Example: \"50%\", \"500px\", or 500 or false " +"for no inner height. Default: false" +msgstr "" + +#: admin/lightbox.admin.php:214 admin/lightbox.secondary.php:148 +msgid "Initial Width" +msgstr "" + +#: admin/lightbox.admin.php:219 admin/lightbox.secondary.php:153 +msgid "" +"Set the initial width, prior to any content being loaded. " +"Default: 300" +msgstr "" + +#: admin/lightbox.admin.php:225 admin/lightbox.secondary.php:159 +msgid "Initial Height" +msgstr "" + +#: admin/lightbox.admin.php:230 admin/lightbox.secondary.php:164 +msgid "" +"Set the initial height, prior to any content being loaded. " +"Default: 100" +msgstr "" + +#: admin/lightbox.admin.php:236 admin/lightbox.secondary.php:170 +msgid "Maximum Width" +msgstr "" + +#: admin/lightbox.admin.php:241 admin/lightbox.secondary.php:175 +msgid "" +"Set a maximum width for loaded content. Example: \"75%\", \"500px\", 500, " +"or false for no maximum width. Default: false" +msgstr "" + +#: admin/lightbox.admin.php:247 admin/lightbox.secondary.php:181 +msgid "Maximum Height" +msgstr "" + +#: admin/lightbox.admin.php:252 admin/lightbox.secondary.php:186 +msgid "" +"Set a maximum height for loaded content. Example: \"75%\", \"500px\", 500, " +"or false for no maximum height. Default: false" +msgstr "" + +#: admin/lightbox.admin.php:258 admin/lightbox.secondary.php:192 +msgid "Resize" +msgstr "" + +#: admin/lightbox.admin.php:263 admin/lightbox.secondary.php:197 +msgid "" +"If checked and if Maximum Width or Maximum Height have been defined, Lightbx " +"Plus will resize photos to fit within the those values. Default: " +"Checked" +msgstr "" + +#: admin/lightbox.admin.php:269 admin/lightbox.secondary.php:203 +msgid "Overlay Opacity" +msgstr "" + +#: admin/lightbox.admin.php:296 admin/lightbox.secondary.php:230 +msgid "" +"Controls transparency of shadow overlay. Lower numbers are more transparent. " +"Default: 80%" +msgstr "" + +#: admin/lightbox.admin.php:302 admin/lightbox.secondary.php:236 +msgid "Pre-load images" +msgstr "" + +#: admin/lightbox.admin.php:307 admin/lightbox.secondary.php:241 +msgid "" +"Allows for preloading of \"Next\" and \"Previous\" content in a shared " +"relation group (same values for the \"rel\" attribute), after the current " +"content has finished loading. Uncheck to disable. Default: " +"Checked" +msgstr "" + +#: admin/lightbox.admin.php:313 admin/lightbox.secondary.php:247 +msgid "Grouping Labels" +msgstr "" + +#: admin/lightbox.admin.php:320 admin/lightbox.secondary.php:254 +msgid "" +"Text format for the content group / gallery count. {current} and {total} are " +"detected and replaced with actual numbers while ColorBox runs." +"Default: Image {current} of {total}" +msgstr "" + +#: admin/lightbox.admin.php:326 admin/lightbox.secondary.php:260 +msgid "Previous image text" +msgstr "" + +#: admin/lightbox.admin.php:331 admin/lightbox.secondary.php:265 +msgid "" +"Text for the previous button in a shared relation group (same values for " +"\"rel\" attribute). Default: previous" +msgstr "" + +#: admin/lightbox.admin.php:337 admin/lightbox.secondary.php:271 +msgid "Next image text" +msgstr "" + +#: admin/lightbox.admin.php:342 admin/lightbox.secondary.php:276 +msgid "" +"Text for the next button in a shared relation group (same values for \"rel\" " +"attribute). Default: next" +msgstr "" + +#: admin/lightbox.admin.php:348 admin/lightbox.secondary.php:282 +msgid "Close image text" +msgstr "" + +#: admin/lightbox.admin.php:353 admin/lightbox.secondary.php:287 +msgid "" +"Text for the close button. The \"Esc\" key will also close Lightbox Plus. " +"Default: close" +msgstr "" + +#: admin/lightbox.admin.php:359 admin/lightbox.secondary.php:293 +msgid "Overlay Close" +msgstr "" + +#: admin/lightbox.admin.php:364 admin/lightbox.secondary.php:298 +msgid "" +"If checked, enables closing Lightbox Plus by clicking on the background " +"overlay. Default: Checked" +msgstr "" + +#: admin/lightbox.admin.php:375 +msgid "Primary Lightbox - Slideshow Settings:" +msgstr "" + +#: admin/lightbox.admin.php:381 admin/lightbox.secondary.php:316 +msgid "Slideshow" +msgstr "" + +#: admin/lightbox.admin.php:386 admin/lightbox.secondary.php:321 +msgid "" +"If checked, adds slideshow capablity to a content group / gallery. " +"Default: Unchecked" +msgstr "" + +#: admin/lightbox.admin.php:392 admin/lightbox.secondary.php:327 +msgid "Auto-Start Slideshow" +msgstr "" + +#: admin/lightbox.admin.php:397 admin/lightbox.secondary.php:332 +msgid "" +"If checked, the slideshows will automatically start to play when content " +"grou opened. Default: Checked" +msgstr "" + +#: admin/lightbox.admin.php:403 admin/lightbox.secondary.php:338 +msgid "Slideshow Speed" +msgstr "" + +#: admin/lightbox.admin.php:435 admin/lightbox.secondary.php:370 +msgid "" +"Controls the speed of the slideshow, in milliseconds. Default: " +"2500" +msgstr "" + +#: admin/lightbox.admin.php:441 admin/lightbox.secondary.php:376 +msgid "Slideshow start text" +msgstr "" + +#: admin/lightbox.admin.php:446 admin/lightbox.secondary.php:381 +msgid "" +"Text for the slideshow start button. Default: start" +msgstr "" + +#: admin/lightbox.admin.php:452 admin/lightbox.secondary.php:387 +msgid "Slideshow stop text" +msgstr "" + +#: admin/lightbox.admin.php:457 admin/lightbox.secondary.php:392 +msgid "" +"Text for the slideshow stop button. Default: stop" +msgstr "" + +#: admin/lightbox.admin.php:468 +msgid "Primary Lightbox - Other Settings:" +msgstr "" + +#: admin/lightbox.admin.php:474 +msgid "Use WP Caption for LBP Caption" +msgstr "" + +#: admin/lightbox.admin.php:479 +msgid "" +"If checked, Lightbox Plus will attempt to use the displayed caption for the " +"image on the page as the caption for the image in the Lightbox Plus overlay. " +"Default: Unchecked" +msgstr "" + +#: admin/lightbox.admin.php:485 +msgid "Use For WP Gallery" +msgstr "" + +#: admin/lightbox.admin.php:490 +msgid "" +"If checked, Lightbox Plus will add the Lightboxing feature to the WordPress " +"built in gallery feature. In order for this to work correcly you must set " +"Link thumbnails to: Image File or use [gallery link=" +"\"file\" for the gallery options. Default: Unchecked" +msgstr "" + +#: admin/lightbox.admin.php:497 +msgid "Seperate Galleries in Post?" +msgstr "" + +#: admin/lightbox.admin.php:501 +msgid "" +"If the option to separate multiple gallries in a single post is check " +"Lightbox Plus will create separate sets of lightbox display for each gallery " +"in the post. Default: Unchecked" +msgstr "" + +#: admin/lightbox.admin.php:507 admin/lightbox.secondary.php:422 +msgid "Use Class Method" +msgstr "" + +#: admin/lightbox.admin.php:514 admin/lightbox.secondary.php:429 +msgid "" +"If checked, Lightbox Plus will only lightbox images using a class instead of " +"the rel=lightbox[] attribute. Using this method you can " +"manually control which images are affected by Lightbox Plus by adding the " +"class to the Advanced Link Settings in the WordPress Edit Image tool or by " +"adding it to the image link URL and checking the Do Not Auto-" +"Lightbox Images option. You can also specify the name of the class " +"instead of using the default. Default: Unchecked / Default " +"cboxModal" +msgstr "" + +#: admin/lightbox.admin.php:521 +msgid "Auto-Lightbox Text Links" +msgstr "" + +#: admin/lightbox.admin.php:526 +msgid "" +"If checked, Lightbox Plus will lightbox images that are linked to images via " +"text as well as those link by images. Use with care as there is a small " +"possibility that you will get double or triple images in the lightbox " +"display if you have invalidly nested html. Default: Unchecked" +msgstr "" + +#: admin/lightbox.admin.php:532 +msgid "Do Not Auto-Lightbox Images" +msgstr "" + +#: admin/lightbox.admin.php:537 +msgid "" +"If checked, Lightbox Plus will not automatically add appropriate " +"attibutes (either rel=\"lightbox[postID]\" or class: " +"cboxModal) to Image URL. You will need to manually add the " +"appropriate attribute for Lightbox Plus to work. Default: " +"Unchecked" +msgstr "" + +#: admin/lightbox.admin.php:543 admin/lightbox.secondary.php:436 +msgid "Do Not Display Image Title" +msgstr "" + +#: admin/lightbox.admin.php:548 admin/lightbox.secondary.php:441 +msgid "" +"If checked, Lightbox Plus will not display image titles " +"automatically. This has no effect if the Do Not Auto-Lightbox " +"Images option is checked. Default: Unchecked" +msgstr "" + +#: admin/lightbox.admin.php:556 +msgid "Primary Lightbox - Demo" +msgstr "" + +#: admin/lightbox.admin.php:561 +msgid "" +"Here you can test your settings for Lightbox Plus using image and text " +"links. If they do not work please check your settings and ensure that you " +"have transition type and resize speed set " +msgstr "" + +#: admin/lightbox.admin.php:590 +msgid "Lightbox Plus - Enable Optional/Advanced Settings" +msgstr "" + +#: admin/lightbox.admin.php:595 +msgid "Use Secondary Lightbox" +msgstr "" + +#: admin/lightbox.admin.php:600 +msgid "" +"If checked, Lightbox Plus will create a secondary lightbox with an " +"additional set of controls. This secondary lightbox can be used to create " +"inline or iFramed content using a class to specify the content. " +"Default: Unchecked" +msgstr "" + +#: admin/lightbox.admin.php:606 +msgid "Add Inline Lightboxes" +msgstr "" + +#: admin/lightbox.admin.php:634 +msgid "" +"If checked, Lightbox Plus will add the selected number of addtional " +"lightboxes that you can use to manuall add inline lightboxed content to. " +"Additional controls will be available at the bottom of the Lightbox Plus " +"admin page. Default: Unchecked / Default cboxModal" +msgstr "" + +#: admin/lightbox.admin.php:656 admin/lightbox.admin.php:670 +msgid "Reset/Re-initialize Lightbox Plus" +msgstr "" + +#: admin/lightbox.admin.php:662 +msgid "" +"This will immediately remove all existing settings and any files for " +"versions of Lightbox Plus prior to version 1.5 and will also re-initialize " +"the plugin with the new default options. Be absolutely certain you want to " +"do this.
If you are upgrading from a version prior to 1.4 " +"it is highly recommended that you reinitialize " +"Lightbox Plus" +msgstr "" + +#: admin/lightbox.admin.php:670 +msgid "Resets and re-initializes all Lightbox Plus settings" +msgstr "" + +#: admin/lightbox.inline.php:5 +msgid "Lightbox Plus - Inline Lightbox Settings" +msgstr "" + +#: admin/lightbox.inline.php:14 +msgid "" +"In order to display inline content using Lightbox Plus and Colorbox you must " +"at a minimum has the following items set: Inner Width, Inner Height, and Use " +"Iframe must be checked.

\n" +" \n" +" <a class=\"lbp-inline-link-1\" href=\"#" +"\">Inline HTML Content</a>
\n" +" <div style=\"display:none\">
\n" +"     <div id=\"lbp-" +"inline-link-1\" style=\"padding: 10px;background: #fff\">
\n" +"        " +" Inline Content Goes Here
\n" +"     </div>
\n" +" </div>
" +msgstr "" + +#: admin/lightbox.inline.php:30 +msgid "Inline Lightbox - Individual Settings" +msgstr "" + +#: admin/lightbox.inline.php:57 +msgid "Inline Lightbox #" +msgstr "" + +#: admin/lightbox.inline.php:80 +msgid "Inline Lightbox - Demo" +msgstr "" + +#: admin/lightbox.inline.php:85 +msgid "" +"Here you can test you settings with various different implementation of " +"Lightbox Plus using inline content. If they do not work please check that " +"you have the following items set: Inner Width, Inner Height, and Use Iframe " +"must be checked. You will not be able to display any of these without the " +"minimum options set." +msgstr "" + +#: admin/lightbox.secondary.php:5 +msgid "Lightbox Plus - Secondary Lightbox Settings" +msgstr "" + +#: admin/lightbox.secondary.php:14 +msgid "" +"In order to display video using Lightbox Plus and Colorbox you must at a " +"minimum have the following items set: Inner Width, Inner Height, and Use " +"Iframe must be checked.

\n" +" <a title=\"Projection Animation Test" +"\" class=\"lbpModal\" href=\"http://www.youtube.com/v/pUPrCCP73Ws\">YouTube " +"Flash / Video (Iframe/Direct Link To YouTube)</a>
\n" +" <a title=\"Projection Animation Test" +"\" class=\"lbpModal\" href=\"http://vimeo.com/moogaloop.swf?" +"clip_id=9730308&server=vimeo.com&show_title=1&show_byline=1&" +"show_portrait=0&color=&fullscreen=1\">Vimeo Flash / Video (Iframe/" +"Direct Link To Vimeo)</a>" +msgstr "" + +#: admin/lightbox.secondary.php:23 +msgid "" +"In order to display external content using Lightbox Plus and Colorbox you " +"must at a minimum has the following items set: Inner Width, Inner Height, " +"and Use Iframe must be checked.

\n" +" <a class=\"lbpModal\" href=" +"\"http://wordpress.org/extend/plugins/lightbox-plus/\">External Content " +"(Iframe/Direct Link To WordPress plugins)</a>" +msgstr "" + +#: admin/lightbox.secondary.php:32 +msgid "" +"In order to display other content, such as interactive flash, using Lightbox " +"Plus and Colorbox you must at a minimum has the following items set: Inner " +"Width, Inner Height, and Use Iframe must be checked.

\n" +" <a href=\"" +msgstr "" + +#: admin/lightbox.secondary.php:40 +msgid "Secondary Lightbox - Base Settings" +msgstr "" + +#: admin/lightbox.secondary.php:310 +msgid "Secondary Lightbox - Slideshow Settings:" +msgstr "" + +#: admin/lightbox.secondary.php:404 +msgid "Secondary Lightbox - Other Settings:" +msgstr "" + +#: admin/lightbox.secondary.php:410 +msgid "Use iFrame" +msgstr "" + +#: admin/lightbox.secondary.php:415 +msgid "" +"If checked, specifies that content should be displayed in an iFrame. Must be " +"used when using Lightbox Plus to display content from another site. Can be " +"used to display external web pages, video and more. Default: " +"Unchecked" +msgstr "" + +#: admin/lightbox.secondary.php:449 +msgid "Secondary Lightbox - Demo" +msgstr "" + +#: admin/lightbox.secondary.php:454 +msgid "" +"Here you can test you settings with various different implementations of " +"Lightbox Plus for Video, External Pages and Interactive Flash. If they do " +"not work please check that you have the following items set: Inner Width, " +"Inner Height, and Use Iframe must be checked. You will not be able to " +"display any of these without the minimum options set." +msgstr "" + +#: lightboxplus.php:189 +msgid "Settings" +msgstr "" + +#: lightboxplus.php:190 +msgid "FAQ" +msgstr "" + +#: lightboxplus.php:191 +msgid "Support" +msgstr "" + +#: lightboxplus.php:192 +msgid "Donate" +msgstr "" + +#: lightboxplus.php:193 +msgid "Follow on Twitter" +msgstr "" + +#: lightboxplus.php:194 +msgid "Facebook Page" +msgstr "" + +#: lightboxplus.php:256 +msgid "Primary lightbox settings updated." +msgstr "" + +#: lightboxplus.php:291 +msgid "Secondary lightbox settings updated." +msgstr "" + +#: lightboxplus.php:321 +msgid "Inline lightbox settings updated." +msgstr "" + +#: lightboxplus.php:337 +msgid "Lightbox custom styles initialized." +msgstr "" + +#: lightboxplus.php:340 +msgid "" +"Lightbox custom styles initialization failed.
Please create a directory called lbp-css in your " +"wp-content directory and copy the styles located in wp-" +"content/plugins/lightbox-plus/css/ to wp-content/lbp-css" +msgstr "" + +#: lightboxplus.php:349 +msgid "Secondary lightbox settings initialized." +msgstr "" + +#: lightboxplus.php:356 +msgid "Inline lightbox settings initialized." +msgstr "" + +#: lightboxplus.php:367 +msgid "Lightbox Plus has been reset to default settings." +msgstr "" + +#: lightboxplus.php:376 lightboxplus.php:382 lightboxplus.php:391 +msgid "Deleting: " +msgstr "" + +#: lightboxplus.php:376 +msgid "Removed old Lightbox Plus style images." +msgstr "" + +#: lightboxplus.php:379 +msgid "No images deleted . . . " +msgstr "" + +#: lightboxplus.php:379 lightboxplus.php:385 +msgid "already removed" +msgstr "" + +#: lightboxplus.php:382 +msgid "Removed old Lightbox Plus JavaScript." +msgstr "" + +#: lightboxplus.php:385 +msgid "No JavaScript deleted . . . " +msgstr "" + +#: lightboxplus.php:395 +msgid "Removed old Lightbox Plus styles." +msgstr "" + +#: lightboxplus.php:398 +msgid "No styles deleted . . . Old styles already removed" +msgstr "" + +#: lightboxplus.php:408 +msgid "Please check and update your settings before continuing!" +msgstr "" + +#: lightboxplus.php:441 +msgid "Lightbox Plus Options v2.5 (ColorBox v1.3.8)" +msgstr "" + +#: lightboxplus.php:445 +msgid "Settings Saved" +msgstr "" diff --git a/src/wp-content/plugins/lightbox-plus/lightboxplus.php b/src/wp-content/plugins/lightbox-plus/lightboxplus.php new file mode 100644 index 0000000..72651a1 --- /dev/null +++ b/src/wp-content/plugins/lightbox-plus/lightboxplus.php @@ -0,0 +1,482 @@ +ColorBox was created by Jack Moore of Color Powered and is licensed under the MIT License. + Author: Dan Zappone + Author URI: http://www.23systems.net/ + Version: 2.2.2 + */ + /*---- 2010.12.15 ----*/ + /** + * WordPress Globals + * + * @var mixed + */ + global $post; + global $content; + global $page; + /** + * Lightbox Plus Globals + * + * @var mixed + */ + global $g_lightbox_plus_url; + global $g_lightbox_plus_dir; + global $g_lbp_messages; + global $g_lbp_plugin_page; + global $g_lbp_local_style_path; + global $g_lbp_global_style_path; + global $g_lbp_local_style_url; + global $g_lbp_global_style_url; + + /** + * Instantiate Lightbox Plus Globals + * TODO: Verify all these are needed + * + * @var mixed + */ + $g_lbp_plugin_page = ''; + $g_lbp_messages = ''; + $g_lightbox_plus_url = WP_PLUGIN_URL.'/lightbox-plus'; + $g_lightbox_plus_dir = WP_PLUGIN_DIR.'/lightbox-plus'; + $g_lbp_local_style_path = $g_lightbox_plus_dir.'/css'; + $g_lbp_global_style_path = WP_CONTENT_DIR . '/lbp-css'; + $g_lbp_local_style_url = $g_lightbox_plus_url.'/css'; + $g_lbp_global_style_url = WP_CONTENT_URL . '/lbp-css'; + + /** + * Require extended Lightbox Plus classes + */ + require_once('classes/utility.class.php'); + require_once('classes/shortcode.class.php'); + require_once('classes/filters.class.php'); + require_once('classes/actions.class.php'); + require_once('classes/init.class.php'); + + /** + * Require HTML Parser + */ + $lbputility = new lbp_utilities(); + if ($lbputility->phpMinV('4.*')) { + require_once('classes/shd.class.php'); + } + unset($lbputility); + + /** + * On Plugin Activation initialize settings + */ + if (!function_exists('ActivateLBP')) { + function ActivateLBP() { + $lbp_activate = new lbp_init(); + $lbp_activate->lightboxPlusInit(); + unset($lbp_activate); + } + } + + /** + * On plugin deactivation remove settings + */ + if (!function_exists('DeactivateLBP')) { + function DeactivateLBP() { + delete_option('lightboxplus_options'); + delete_option('lightboxplus_init'); + } + } + + /** + * Register activation/deactivation hooks and text domain + */ + register_activation_hook( __FILE__, 'ActivateLBP' ); + register_deactivation_hook( __FILE__, 'DeactivateLBP' ); + load_plugin_textdomain('lightboxplus', false, $path = $g_lightbox_plus_url); + + /** + * Ensure class doesn't already exist + */ + if (!class_exists('wp_lightboxplus')) { + + class wp_lightboxplus extends lbp_init { + + /** + * The name the options are saved under in the database + * + * @var mixed + */ + var $lightboxOptionsName = 'lightboxplus_options'; + var $lightboxInitName = 'lightboxplus_init'; + var $lightboxStylePathName = 'lightboxplus_style_path'; + + /** + * The PHP 4 Compatible Constructor - calls the constructor function if using php4 + * + * NOTE: Lightbox Plus may not work with PHP4 and no support is offered as PHP4 has reached its end of life + */ + function wp_lightboxplus( ) { + $this->__construct( ); + } + + /** + * The PHP 5 Constructor - initializes the plugin and sets up panels + */ + function __construct( ) { + $this->lightboxOptions = $this->getAdminOptions( $this->lightboxOptionsName ); + //if ( !get_option( $this->lightboxInitName ) ) { + // $this->lightboxPlusInit( ); + //} + add_filter( 'plugin_row_meta',array( &$this, 'RegisterLBPLinks'),10,2); + add_action( "init", array( &$this, "lightboxPlusInitScripts" ) ); + add_action( 'wp_print_styles', array( &$this, 'lightboxPlusAddHeader' ) ); + /** + * Get lightbox options to check for auto-lightbox and gallery + */ + if ( !empty( $this->lightboxOptions ) ) { + $lightboxPlusOptions = $this->getAdminOptions( $this->lightboxOptionsName ); + /** + * Check to see if users wants images auto-lightboxed + */ + if ( $lightboxPlusOptions['no_auto_lightbox'] != 1 ) { + /** + * Check to see if user wants to have gallery images lightboxed + */ + if ($lightboxPlusOptions['gallery_lightboxplus'] != 1) { + add_filter( 'the_content', array( &$this, 'filterLightboxPlusReplace' ) ); + } + else { + remove_shortcode( 'gallery' ); + add_shortcode( 'gallery', array( &$this, 'lightboxPlusGallery' ), 10); + add_filter( 'the_content', array( &$this, 'filterLightboxPlusReplace' ), 12 ); + } + } + } + add_action( 'wp_footer', array( &$this, 'lightboxPlusColorbox' ) ); + if (is_admin()) { + add_action( 'admin_menu', array( &$this, 'lightboxPlusAddPanel' ) ); + } + } + + /** + * Retrieves the options from the database. + * + * @param mixed $optionsName + */ + function getAdminOptions( $optionsName ) { + $savedOptions = get_option( $optionsName ); + if ( !empty( $savedOptions ) ) { + foreach ( $savedOptions as $key => $option ) { + $theOptions[$key] = $option; + } + } + update_option( $optionsName, $theOptions ); + return $theOptions; + } + + /** + * Saves the admin options to the database. + * + * @param mixed $optionsName + * @param mixed $options + */ + function saveAdminOptions( $optionsName, $options ) { + update_option( $optionsName, $options ); + } + + /** + * Adds links to the plugin row on the plugins page. + * This add_filter function must be in this file or it does not work correctly, requires plugin_basename and file match + * + * @param mixed $links + * @param mixed $file + */ + function RegisterLBPLinks($links, $file) { + $base = plugin_basename(__FILE__); + if ($file == $base) { + $links[] = '' . __('Settings') . ''; + $links[] = '' . __('FAQ') . ''; + $links[] = '' . __('Support') . ''; + $links[] = '' . __('Donate') . ''; + $links[] = '' . __('Follow on Twitter') . ''; + $links[] = '' . __('Facebook Page') . ''; + } + return $links; + } + + /** + * The admin panel funtion + * handles creating admin panel and processing of form submission + */ + function lightboxPlusAdminPanel( ) { + global $g_lightbox_plus_url, $g_lbp_messages; + global $g_lbp_local_style_path, $g_lbp_global_style_path; + load_plugin_textdomain( 'lightboxplus',false, $path = $g_lightbox_plus_url ); + $location = admin_url('/admin.php?page=lightboxplus'); + /** + * Check form submission and update setting + */ + if ( isset($_POST['action']) ) { + switch ( $_POST['sub'] ) { + case 'settings': + $lightboxPlusOptions = array( + "lightboxplus_style" => $_POST['lightboxplus_style'], + "use_custom_style" => $_POST['use_custom_style'], + "disable_css" => $_POST['disable_css'], + "use_php_four" => $_POST['use_php_four'], + "lightboxplus_multi" => $_POST['lightboxplus_multi'], + "use_inline" => $_POST['use_inline'], + "inline_num" => $_POST['inline_num'], + "transition" => $_POST['transition'], + "speed" => $_POST['speed'], + "width" => $_POST['width'], + "height" => $_POST['height'], + "inner_width" => $_POST['inner_width'], + "inner_height" => $_POST['inner_height'], + "initial_width" => $_POST['initial_width'], + "initial_height" => $_POST['initial_height'], + "max_width" => $_POST['max_width'], + "max_height" => $_POST['max_height'], + "resize" => $_POST['resize'], + "opacity" => $_POST['opacity'], + "preloading" => $_POST['preloading'], + "label_image" => $_POST['label_image'], + "label_of" => $_POST['label_of'], + "previous" => $_POST['previous'], + "next" => $_POST['next'], + "close" => $_POST['close'], + "overlay_close" => $_POST['overlay_close'], + "slideshow" => $_POST['slideshow'], + "slideshow_auto" => $_POST['slideshow_auto'], + "slideshow_speed" => $_POST['slideshow_speed'], + "slideshow_start" => $_POST['slideshow_start'], + "slideshow_stop" => $_POST['slideshow_stop'], + "use_caption_title" => $_POST['use_caption_title'], + "gallery_lightboxplus" => $_POST['gallery_lightboxplus'], + "multiple_galleries" => $_POST['multiple_galleries'], + "use_class_method" => $_POST['use_class_method'], + "class_name" => $_POST['class_name'], + "no_auto_lightbox" => $_POST['no_auto_lightbox'], + "text_links" => $_POST['text_links'], + "no_display_title" => $_POST['no_display_title'] + ); + + $g_lbp_messages .= __('Primary lightbox settings updated.','lightboxplus').'

'; + + if ( $_POST['lightboxplus_multi'] ) { + $lightboxPlusSecondaryOptions = array( + "transition_sec" => $_POST['transition_sec'], + "speed_sec" => $_POST['speed_sec'], + "width_sec" => $_POST['width_sec'], + "height_sec" => $_POST['height_sec'], + "inner_width_sec" => $_POST['inner_width_sec'], + "inner_height_sec" => $_POST['inner_height_sec'], + "initial_width_sec" => $_POST['initial_width_sec'], + "initial_height_sec" => $_POST['initial_height_sec'], + "max_width_sec" => $_POST['max_width_sec'], + "max_height_sec" => $_POST['max_height_sec'], + "resize_sec" => $_POST['resize_sec'], + "opacity_sec" => $_POST['opacity_sec'], + "preloading_sec" => $_POST['preloading_sec'], + "label_image_sec" => $_POST['label_image_sec'], + "label_of_sec" => $_POST['label_of_sec'], + "previous_sec" => $_POST['previous_sec'], + "next_sec" => $_POST['next_sec'], + "close_sec" => $_POST['close_sec'], + "overlay_close_sec" => $_POST['overlay_close_sec'], + "slideshow_sec" => $_POST['slideshow_sec'], + "slideshow_auto_sec" => $_POST['slideshow_auto_sec'], + "slideshow_speed_sec" => $_POST['slideshow_speed_sec'], + "slideshow_start_sec" => $_POST['slideshow_start_sec'], + "slideshow_stop_sec" => $_POST['slideshow_stop_sec'], + "iframe_sec" => $_POST['iframe_sec'], + "use_class_method_sec" => $_POST['use_class_method_sec'], + "class_name_sec" => $_POST['class_name_sec'], + "no_display_title_sec" => $_POST['no_display_title_sec'], + ); + $lightboxPlusOptions = array_merge($lightboxPlusOptions, $lightboxPlusSecondaryOptions); + unset($lightboxPlusSecondaryOptions); + $g_lbp_messages .= __('Secondary lightbox settings updated.','lightboxplus').'

'; + } + + if ( $_POST['use_inline'] ) { + if (!empty($this->lightboxOptions)) { + $lightboxPlusInlineOptions = $this->getAdminOptions($this->lightboxOptionsName); + } + + if ($lightboxPlusInlineOptions['use_inline'] && $lightboxPlusInlineOptions['inline_num'] != '') { + $inline_links = array(); + $inline_hrefs = array(); + $inline_widths = array(); + $inline_heights = array(); + for ($i = 1; $i <= $lightboxPlusInlineOptions['inline_num']; $i++) { + $inline_links[] = $_POST["inline_link_$i"]; + $inline_hrefs[] = $_POST["inline_href_$i"]; + $inline_widths[] = $_POST["inline_width_$i"]; + $inline_heights[] = $_POST["inline_height_$i"]; + } + } + + $lightboxPlusInlineOptions = array( + "inline_links" => $inline_links, + "inline_hrefs" => $inline_hrefs, + "inline_widths" => $inline_widths, + "inline_heights" => $inline_heights + ); + + $lightboxPlusOptions = array_merge($lightboxPlusOptions, $lightboxPlusInlineOptions); + unset($lightboxPlusInlineOptions); + $g_lbp_messages .= __('Inline lightbox settings updated.','lightboxplus').'

'; + } + + $this->saveAdminOptions($this->lightboxOptionsName, $lightboxPlusOptions); + + /** + * Load options info array if not yet loaded + */ + if ( !empty( $this->lightboxOptions )) { $lightboxPlusOptions = $this->getAdminOptions( $this->lightboxOptionsName ); } + + /** + * Initialize Custom lightbox Plus Path + */ + if ( $_POST['use_custom_style'] && !is_dir($g_lbp_global_style_path) ) { + $dir_create_result = $this->lightboxPlusGlobalStylesinit(); + if ($dir_create_result) { + $g_lbp_messages .= __('Lightbox custom styles initialized.','lightboxplus').'

'; + } + else { + $g_lbp_messages .= __('Lightbox custom styles initialization failed.
Please create a directory called lbp-css in your wp-content directory and copy the styles located in wp-content/plugins/lightbox-plus/css/ to wp-content/lbp-css','lightboxplus').'

'; + } + } + + /** + * Initialize Secondary Lightbox if enabled + */ + if ( $_POST['lightboxplus_multi'] && !$_POST['class_name_sec'] ) { + $this->lightboxPlusSecondaryInit(); + $g_lbp_messages .= __('Secondary lightbox settings initialized.','lightboxplus').'

'; + } + /** + * Initialize Inline Lightboxes if enabled + */ + if ( $_POST['use_inline'] && !$_POST['inline_link_1'] ) { + $this->lightboxPlusInlineInit($_POST['inline_num']); + $g_lbp_messages .= __('Inline lightbox settings initialized.','lightboxplus').'

'; + } + + unset($lightboxPlusOptions); + + break; + case 'reset': + if ( !empty( $_POST[reinit_lightboxplus] )) { + delete_option( $this->lightboxOptionsName ); + delete_option( $this->lightboxInitName ); + delete_option( $this->lightboxStylePathName ); + $g_lbp_messages .= ''.__('Lightbox Plus has been reset to default settings.','lightboxplus').'

'; + + /** + * Used to remove old setting from previous versions of LBP + * + * @var string + */ + $pluginPath = ( dirname( __FILE__ )); + if ( file_exists( $pluginPath."/images" )) { + $g_lbp_messages .= __('Deleting: ').$pluginPath.'/images . . . '.__('Removed old Lightbox Plus style images.','lightboxplus').'

'; + $this->delete_directory( $pluginPath."/images/" ); + } else { + $g_lbp_messages .= __('No images deleted . . . ','lightboxplus').$pluginPath.'/images '.__('already removed','lightboxplus').'

'; + } + if ( file_exists( $pluginPath."/js/"."lightbox.js" )) { + $g_lbp_messages .= __('Deleting: ','lightboxplus').$pluginPath.'/js/lightbox.js . . . '.__('Removed old Lightbox Plus JavaScript.','lightboxplus').'

'; + $this->delete_file( $pluginPath."/js", "lightbox.js" ); + } else { + $g_lbp_messages .= __('No JavaScript deleted . . . ','lightboxplus').$pluginPath.'/js/lightbox.js '.__('already removed','lightboxplus').'

'; + } + $oldStyles = $this->dirList( $pluginPath."/css/" ); + if ( !empty( $oldStyles )) { + foreach ( $oldStyles as $value ) { + if ( file_exists( $pluginPath."/css/".$value )) { + $g_lbp_messages .= __('Deleting: '.$pluginPath.'/css/'.$value).' . . .

'; + $this->delete_file( $pluginPath."/css", $value ); + } + } + $g_lbp_messages .= __('Removed old Lightbox Plus styles.','lightboxplus').'

'; + } + else { + $g_lbp_messages .= __('No styles deleted . . . Old styles already removed','lightboxplus').'

'; + } + } + + /** + * Will reinitilize on reload where option lightboxplus_init is null + * + * @var wp_lightboxplus + */ + $this->lightboxPlusInit(); + $g_lbp_messages .= ''.__('Please check and update your settings before continuing!','lightboxplus').''; + break; + default: + break; + } + } + + /** + * Get options to load in form + */ + if ( !empty( $this->lightboxOptions )) { $lightboxPlusOptions = $this->getAdminOptions( $this->lightboxOptionsName ); } + + /** + * Check if there are styles + * + * @var mixed + */ + if ($lightboxPlusOptions['use_custom_style']) { + $stylePath = $g_lbp_global_style_path; + } + else { + $stylePath = $g_lbp_local_style_path; + } + if ( $handle = opendir( $stylePath )) { + while ( false !== ( $file = readdir( $handle ))) { + if ( $file != "." && $file != ".." && $file != ".DS_Store" && $file != ".svn" && $file != "index.html") { + $styles[$file] = $stylePath."/".$file."/"; + } + } + closedir( $handle ); + } + ?> + '; + echo ''; + } + require('admin/lightbox.admin.php'); + ?>
+ + ColorBox was created by Jack Moore and is licensed under the MIT License. Lightbox Plus for WordPress implements ColorBox as a lightbox image overlay tool for WordPress. ColorBox was created by Jack Moore and is licensed under the MIT License. Lightbox Plus permits users to view larger versions of images without having to leave the current page. Lightbox is able to add a lightbox to WordPress gallery images, display simple slide shows, video, forms and external content in overlays. The use of the dark or light background, which dims the page over which the image has been overlaid, also serves to highlight the image or video being viewed. Lightbox Plus captures the image title for display in the overlay. + +Lightbox Plus uses WordPress's built in jQuery library. + +=Troubleshooting= + +Please read the FAQ first if you are having problems. + +If you are unable to resolve your problem with the information provided in the FAQ please submit a support request. + += Requirements = + +Server + +* WordPress 2.8+ +* PHP 4 (Not recommended and not supported) +* PHP 5+ (Recommended) + +Client + +* IE 7+, FireFox 2+, Chrome, Safari 3+, Opera 8+ + += Usage = + +Note that getting the caption to appear in the overlay image by using the caption options built into WordPress Lightbox Plus uses the image title which is generated by "Edit Image Title" field and not the "Edit Caption Field." You can also manually add lightbox tags to your images using the following instructions. + +1. Add a rel="lightbox[uniqueID|filename]" attribute to any link tag to activate the lightbox, include a name between square brackets in the rel attibute. For example: + + image #1 + +Optional: Use the title attribute if you want to show a caption. + +2. If you have a set of related images that you would like to group, follow step one but additionally include a group name between square brackets in the rel attribute. For example: + + image #1 + image #2 + image #3 + +=Suggestions= + +Submit suggestions via Fundry. + +== Installation == + +1. Extract lightbox-plus.zip to your `wp-content/plugins` directory. +2. In the admin panel under plugins activate Lightbox Plus. +3. In the admin panel under Appearance click on Lightbox Plus to configure to your taste. +4. It should now be completely set up and functional + += Caveats = + +Flash (i.e. YouTube videos, etc.) will sit atop the Lightbox Plus display no matter what the z-index is. This is an issue with Flash. + +See Flash content displays on top of all DHTML layers at Adobe for details. + +To work around this issue you will need to add something like the following to your <param /> and <embed></embed> tags: + + + <object><param name="wmode" value="opaque" /><embed wmode="opaque" [all other embed settings, file src etc.]></embed></object> + + +== Frequently Asked Questions == + += I can't get Lightbox Plus to work, why not? = + +The problem may be with your Wordpress theme, mangling image display properties. Try using another theme, that doesn't interfere with posted images. You may be lacking wp_footer() function in your footer.php of your Wordpress theme. Look at the default theme to see how it is implemented. + +Alternately you may have other plugins that conflict with Lightbox Plus. Try disabling your other plugins and see if that helps. If it does, re-enable each plugin, one at a time to see which one is causing the conflict. Please let me know which plugin is causing the problem. + +Finally, it seems that recent version of WordPress (or perhaps the plugin is causing this in some way I am not aware of) do not automatically add the link to the full size image. You must also make sure that when you are adding an image from the WordPress media dialog control you must make sure there is a link to the image in the Link URL field. The easiest way to get the correct link is to click on the link to image button beneath the field. Visual depiction of what is required when adding images in order for lightbox to function correctly. + += Lightbox Plus doesn't work properly in browser X, Y, or Z (Chrome, Safari, Firefox, Opera, Explorer 6, 7, etc)? = + +Yes it does, the problems are the same as above. It has been tested in Firefox 2, 3, Safari 3, 4, Opera 9, 10, Chrome 1, 2, Internet Explorer 6, 7, 8 on Windows and Firefox 2, 3, Safari 3, 4 and Opera 9 on OS X and Firefox 2, 3, Opera 9, and Konqueror on Linux. + += Can I use this plugin and Lightview Plus, Lightbox 2 (either one), WP lightbox JS Plugin at the same time? = + +No other lightbox plugins can be used, they will most likely interfere with each other as they all modify the image URLs. Other image overlay plugins may possibly be compatible. + += Can I add my own styles and images for the overlay? = + +Yes, you can easily create additional styles by adding a new folder to the CSS directory under wp-content/plugins/lightbox-plus/css/ by duplicating and modifying any of the existing theme folders or using them as examples to create your own. + += How does Lightbox Plus differ from other Lightbox plugins for WordPress? = + +Performance wise the ColorBox jQuery plugin is smaller and generally faster and has more options than most lightbox JavaScript plugins. The regular expressions that handle the text are more robust handling a wider variety of characters and in addition it will also grab the image title from the image to use for the overlay image caption. + += Does Lightbox Plus work with WordPress' built in gallery = + +Yes it does. There are few simple requirements however. You you must set Link thumbnails to: Image File or use [gallery link="file" for the gallery options. You must check Use For WP Gallery box under Other Lightbox Plus Settings + += When resetting/re-initializing LBP the setting do not appear correctly when the page reloads, what gives? = + +This problem is only apparent in Chrome and Opera. It seems to works fine in Internet Explorer, Firefox and Safari. There are some browser related issues and I am investigating the problem at this time. For Chrome the settings are being saved but not displayed immediately, click on the Lightbox Plus link under appearance and you will see the current settings. Opera for whatever reason is completely failing to save re-initialization settings, you must manually set and save them or use another browser. And, no, it doesn't make sense since it's server side activity. + += Additional FAQs from Colorbox = + += ColorBox is positioned incorrectly or behaving strangely in Internet Explorer = + +This is likely a doctype issue. ColorBox requires a valid doctype and rendering in quirks mode is not supported. Make sure you are using the full doctype declaration to insure rendering in standards mode. + +This abbreviated doctype renders the document in quirks mode for Internet Explorer: + +The doctype with URI renders in standards mode for all browsers: + +For more information, see A List Apart's primer on doctypes. + += ColorBox's borders do not display in Internet Explorer = + +Some of the example styles provided make use of transparent .PNG files. Alpha transparencies aren't supported by default in IE6, and can cause an undesirable 'black halo' effect in IE7 and IE8 when changing their opacity. ColorBox resolves this by using one of IE's CSS filters. You can see these at the bottom of colorbox.css. The filter src paths are relative to the HTML document (just like an IMG element), while CSS background image paths are relative to the CSS document. In the examples I provide the relative path is the same, but users often change the directory structure once they move the files over to their own host. The filter src path needs to reflect this change with the appropriate relative path or an absolute path. Here is an example that assumes the 'images' folder is in the root directory: + +Original CSS with incorrect relative path: .AlphaImageLoader(src=images/internet_explorer/borderTopLeft.png + +Corrected relative path: .AlphaImageLoader(src=/images/internet_explorer/borderTopLeft.png + +Corrected absolute path: .AlphaImageLoader(src=http://your_domain.com/images/internet_explorer/borderTopLeft.png + += Other Problems = + +If you have read and tried the above and you are still having problems, then, please post your issues, in detail (links, error messages) to my site. + +http://www.23systems.net/plugins/lightbox-plus/ + += Known Problems = + +* No support for iPad (if someone wants to donate an iPad to me I will guarantee support) +* In some instances performance may be slow in IE - this may be due to plugin conflicts or slow JavaScript performance in IE. +* Lightboxed video does not seem to work in IE on locally installed sites, for example viewing in IE 7.0 while running XAMPP, this seems to be a Windows only issue. + += Plugin Conflicts = + +* Flickr Mini Gallery - Verified. Download hot fix for Flickr Mini Gallery (includes instructions) +* Tabbed Widgets - Verified +* DMSGuestbook - Un-verified +* Gengo - Un-verified + +Note: These conflicts may now be mitigated as of version 1.6.3. + +== Screenshots == + +1. Lightbox Plus - Image +2. Lightbox Plus - Video +3. Lightbox Plus - External Content +4. Lightbox Plus - Inline Content (Form) + +== Change Log == + +=2.2.2= +* Corrected load_plugin_textdomain function calls, had incorrect number of arguments - Thanks Johannes! +* Minor interface corrections + += 2.2.1 = +* Require HTML Parser only for PHP 5.X. Was causing errors with PHP 4.X. +* Updated ColorBox to verion 1.3.15 + * In IE6, closing an iframe when using HTTPS no longer generates a security warning. + * Changed the index.html example files to use YouTube's new embedded link format. + * By default, ColorBox returns focus to the element it was launched from once it closes. This can now be disabled by setting the 'returnFocus' property to false. Focus was causing problems for some users who had their anchor elements inside animated containers. + * Minor bug fix involved in using a combination of slideshow and non-slideshow content. + * Minor bug fix involved in preloading images when using a function as a value for the href property. + * The slideshow now respects the loop property. + * Fixed compatibility with jQuery 1.4.3 + * The 'open' property now accepts a function as a value, like all of the other properties. + * Preloading now loads the correct href for images when using a dynamic (function) value for the href property. + * Fixed bug in Safari 3 for Win where ColorBox centered on the document, rather than the visitor's viewport. + * May have fixed an issue in Opera 10.6+ where ColorBox would rarely/randomly freeze up while switching between photos in a group. + * Some functionality better encapsulated & minor performance improvements. + += 2.2 = +* Fixed "Object id #", "Object", "Object #" errors with PHP 5.1.x. + * Problem was due to circular memory leak in PHP 5.1 and 5.2 and HTML DOM object not being cleaned up. + * Altered way the content is returned to allow for closure and cleaning of object sooner eliminating memory leak. +* Due to overhwhelming demand I added PHP 4 functionality back in but it is not officially supported. + * If you were seeing an error that looked something like `Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /path/to/plugins/lightbox-plus/classes/shd.class.php on line 86` you have PHP 4. + * Option is automatically set to use legacy method if you have PHP 4 + * You will have to manually select the option to use the PHP 4 Auto Lightbox Method if you are using PHP 5.X and wish to use legacy method. +* Fix for images with upper case file extension not being auto-lightboxed. +* Probable fix for `XML Parsing Error: no element found` likely caused by memory leak + * Unable to reproduce error but research indicates memory leak is a likely cause. + += 2.1 = +* Now requires PHP 5+, no PHP 4 support. + * PHP4 reached it's end of life on 8/8/2008 nearly 2 years ago. +* Fixed problems with initialization and re-initialization of the plugin not working under various circumsanstances. + * Add code for activation/deactivation of the plugin +* Added true HTML parser instead of regular expressions + * Using PHP Simple HTML DOM Parser for parsing HTML + * Should mitigate issues of not consuming the HTML content and correctly modifying it +* Change method for finding and selecting styles + * Added option for stylesheet directory to reside outside of plugin directory + * Lightbox Plus no longer stores stylesheet path in options, it is now pulled from global definitions + * It should now be easier to use on multiple servers with different paths. +* Added support for multiple galleries on a single page displaying separate slide shows +* Updated ColorBox to version 1.3.9 + * Fixed a bug in IE where iframed youtube videos were not opening correctly. + += 2.0.5 = +* Rewrote the way the plugin is instantiated. + * Provide better conrol over how actions and filters are added by Lightbox Plus. + * Provides fix for jQuery UI styles loading on all admin panels. + * Prevented jquery.colorbox.min.js from loading on admin panels other than Lightbox Plus. +* Rewrote several functions to provide better compaibility with other plugins. + * Admin scripts are now enqued correctly. + * Admin and plugin styles are now enqueued correctly. +* Fixed slideshow always auto-starting if slideshow enabled. +* Changed several variables and related fields + * Do Not Auto-Lightbox Images using `auto_lightbox` to `no_auto_lightbox` to accurately reflect it's use. + * Do Not Display Image Title using `display_titles` to `no_display_titles` to accurately reflect it's use. + * Use Class Method using `class_method` to `use_class_method` to accurately reflect it's use. + * If you use any of these settings you will need to re-check them and save your settings. +* Reduced size of inline JavaScript and converted all to jQuery. + * Reduced size of some scripts using old toggle method for help. + += 2.0.2 = +* Add quick fix/hack for a big interface issue on the admin panel. See roadmap for long term solution. + * jQuery UI themes were overloading other plugins that were using the jQuery UI + * Lightbox Plus specific themes and scripts should only load on Lightbox Plus panel + * The exception is colorbox.min.js will load in any admin panel due to the way it is initilized. Expect version 2.0.5 to address this. + += 2.0.1 = +* Fixed several interface issues in the admin panel. + * User feedback was not reporting updates because admin scripts were not loading properly - this hs been fixed. + += 2.0 = +* Added secondary lightbox option + * There is no auto-lightboxing for the secondary lightbox + * Allows the creation of a secondary lightbox with iFrame capabilities + * Allows lightboxing of video, flash, and content that resides elsewhere +* Added inline lightbox options + * There is no auto-lightboxing for the inline lightbox + * Can have multiple inline lightboxes (up to 20) + * Can be used to display hidden inline content, forms and more... +* Improved interface in admin panel. + * Added better feedback for users +* Added backend test/demo areas + * Allows user to test lightbox settings in the admin panel + * Provides demos and examples for secondary lightbox using video,external webpages and interactive flash + * Provides demos and examples for inline lightbox using inline content +* Fixed issue with saving setting and changes not being reflected. +* Updated ColorBox to verion 1.3.8 + * Fixed a bug in Chrome where it would sometimes render photos at 0 by 0 width and height (behavior introduced in recent update to Chrome). + * Fixed a bug where the onClosed callback would fire twice (only affected 1.3.7). + * Fixed a bug in IE7 that existed with some iframed websites that use JS to reposition the viewport caused ColorBox to move out of position. + * Abstracted the identifiers (HTML ids & classes, and JS plugin name, method, and events) so that the plugin can be easily rebranded. + * Small changes to improve either code readability or compression. + += 1.7 = +* Updated ColorBox to verion 1.3.7 + * $.colorbox can now be used for direct calls and accessing public methods. Example: $.colorbox.close(); + * Resize now accepts 'width', 'innerWidth', 'height' and 'innerHeight'. Example: $.colorbox.resize({width:"100%"}) + * Added option (loop:false) to disable looping in a group. + * Added options (escKey:false, arrowKey:false) to disable esc-key and arrow-key bindings. + * Added method for removing ColorBox from a document: $.colorbox.remove(); + * Fixed a bug where iframed URLs would be truncated if they contained an unencoded apostrophe. + * Now uses the exact href specified on an anchor, rather than the version returned by 'this.href'. This was causing "#example" to be normalized to "http://domain/#example" which interfered with how some users were setting up links to inline content. + += 1.6.9.7 = +* Fixed auto-lightbox breaking links that contained manually created `rel="lightbox[]"` attributes. + += 1.6.9.6 = +* Skipping of auto-lightboxing of second image when image links were next to each other in html source should be fixed. At least in my testing. +* Fixed do not display image titles to work with text links. + * Note - must already not have title tag in links elements. +* Fixed ability to use class method in text only links and gallery. +* Added ability to specify the class name used with class method. Defaults to cboxModal for the class. +* Changed jQuery implementation of colorbox on the page to both reduce size and prepare for allowing two different colorboxes. (see Road Map) + += 1.6.9.5 = +* No really, the IE problems should be resolved. + * Correctly handle new settings when empty to render correct JavaScript on output - was causing IE to not display lightbox and wierd sliding effect on lightbox in all browsers. + * Fixed invalid function call that would prevent older versions of IE (7 or less) from rendering lightbox at all. +* Fixed issue that if admin was being accessed via SSL you could not save settings. +* Fixed some skipping of images being auto-lightboxed. May not resolve all issues - please let me know at Lightbox Plus Suport. + += 1.6.9 = +* Fixed problem with styles in IE 6/7/8 not working under various circumstnaces (hopefully) +* Added the option to disable Lightbox Plus from adding it's own styles allowing the user to place Lightbox/Colorbox styles in their theme stylesheet and reduce number of files loading. + += 1.6.8 = +* Fixed duplicate `rel=lightbox[]` tags being generated. +* Fixed IE 6 specific stylesheets - should provide correct headers for php based css documents. + * AlphaImageLoader should automatically be configure for old verions of IE - 6 or less +* As of this version IE 6 or less are no longer supported. + * If you are using IE 6 or less it is recommended that you upgrade your browser. +* Added option to auto-lightbox text links to images +* Added additional width and height options + * width - can set a fixed total width. This includes borders and buttons. + * height - can set a fixed total height. This includes borders and buttons. + * innerWidth - This is an alternative to 'width' used to set a fixed inner width. This excludes borders and buttons. + * innerHeight - This is an alternative to 'height' used to set a fixed inner height. This excludes borders and buttons. + * initialWidth - can set the initial width, prior to any content being loaded. + * initialHeight - can set the initial height, prior to any content being loaded. +* Updated `lightbox.admin.css` and `lightbox.admin.php` to correct a top level class that may effect global styles. +* Now works correctly with WordPress MU + * Tested with WordPress MU 2.9.2 +* Degradation of performance in Firefox corrected. May still occur in older versions + * Note: with the release of Firefox 3.0.19 the 3.0.x branch of Firefox will reach its end of life on March 30, 2010 + += 1.6.7 = +* Added fix to auto-lightbox images that are missing title attributes (Thanks J?rn) + * This primarily affects images that were placed using older verisons of WordPress +* Interface updates + * Changed admin panel to work that same way as my other plugins and thereby ease code maintainence + * Quick links in plugins list + * Added additiona support and FAQ links to admin panel +* Readme and faq update +* Actually includes ColorBox 1.3.6 which some how was replaced by 1.3.1 in last release (1.6.6) for which I apologize. +* Includes `lightbox-plus.pot` for language translations for interested parties. + += 1.6.6 = +* Tested with WordPress 2.9.1 + * Only works with WordPress 2.8+ due to the use of the `$in_footer` parameter used in the `wp_enqueue_script()` function. +* Moved all possible JavaScript to the footer to improve load speed + * Requires theme has the `wp_footer()` hook +* Cleaned up jQuery call to correctly work in no conflict mode per definition. +* Updated Colorbox to 1.3.6 which include the following fixes + * Small change to make Colorbox compatible with jQuery 1.4 + * Fixed a bug introduced in 1.3.4 with IE7's display of example 2 and example 3, and auto-width in Opera. + * Fixed a bug introduced in 1.3.4 where colorbox could not be launched by triggering an element's click event through JavaScript. + * Minor refinements. + * Event delegation is now used for elements that ColorBox is assigned to, rather than individual click events. + * Additional callbacks have been added to represent other stages of ColorBox's lifecycle. Available callbacks, in order of their execution: `onOpen`, `onLoad`, `onComplete`, `onCleanup`, `onClosed` These take place at the same time as the event hooks, but will be better suited than the hooks for targeting specific instances of ColorBox. + * Ajax content is now immediately added to the DOM to be more compatible if that content contains script tags. + * Focus is now returned to the calling element on closing. + * Fixed a bug where `maxHeight` and `maxWidth` did not work for non-photo content. + * Direct calls no longer need `'open:true'`, it is assumed. Example: `$.fn.colorbox({html:"

Hi

"});` + * Changed `$.fn.colorbox.element()` to return a jQuery object rather the DOM element. + * jQuery.colorbox-min.js is compressed with Google's Closure Compiler rather than YUI Compressor. + * Added `'innerWidth'` and `'innerHeight'` options to allow people to easily set the size dimensions for ColorBox, without having to anticipate the size of the borders and buttons. + * Renamed `'scrollbars'` option to `'scrolling'` to be in keeping with the existing HTML attribute. The option now also applies to iframes. + * Bug fix: In Safari, positioning occassionally incorrect when using '100%' dimensions. + * Bug fix: In IE6, the background overlay is briefly not full size when first viewing. + * Bug fix: In Firefox, opening ColorBox causes a split second shift with a small minority of webpage layouts. + * Simplified code in a few areas. +* Special thanks for navjotjsingh for the include, excude fix for WordPress built in gallery + += 1.6.3 = +* Eliminated conflict with Featured Content plug-in + * Removed `jQuery.noConflict()` due to poor implementation on my part. + * Kept `$lbp` jQuery variable. +* jQuery conflicts should all be resolved - hopefully. +* Minor modification to `wp_enqueue_script` function cal to include colorbox version. +* Now works with WordPress Mu if `rel=lightbox[]` is added manually. + * Working on solving auto lightboxing issues with WordPress Mu + += 1.6.2 = +* Added `jQuery.noConflict()` to the initiator to hopefully eliminate issues with other jQuery libraries loading and causing conflicts. + * Changed jQuery `$` variable to `$lbp` to give a unique constructor. +* Added replacement shortcode gallery method to allow Lightbox Plus to work with shortcode galleries called via the `echo do_shortcode('[gallery link="file" size="thumbnail"]');` method in templates. + * Replacement shortcode gallery function automatically adds `rel="lightbox"` or `class="cboxModal"` as selected in options. +* Added code to automatically cleanup doubled title tags from shortcode galleries. +* Added quicklinks to the plugin listing on the plugin page. +* Some minor UI tweaks to the admin page. + += 1.6.1 = +* Fixed IE display issues for elegant and shadowed themes. + * Should now correctly grab path to images for IE 6/7/8 +* Re-added additional simple styles blue, green, grey, purple, red, teal, yellow in addition to balck and white + * Fixed prev/next buttons in simple styles to only display when cursor hovers over left or right of image. + += 1.6 = +* Added the much requested feature for Lightbox Plus to work with WordPress' built in gallery + * Added checkbox to select whether to use with WP built in gallery. +* Updated LightBox Plus to use new version of ColorBox +* Updated ColorBox to version 1.3.1 with the following changes + * Removed the IE-only stylesheets and conditional comments. All CSS is handled by a single CSS file for all examples. + * Removed user-agent sniffing from the js and replaced it with feature detection. This will allow correct rendering for visitors masking their agent type. + * Added `$.fn.colorbox.resize()` method to allow ColorBox to resize it's height if it's contents change. + * Added `scrollbars` option to allow users to turn off scrollbars when using the `resize()` method. + * Renamed the `resize` option to be less ambiguous. It's now `scalePhotos`. + * Renamed the `cbox_close` event to be less ambiguous. It's now `cbox_cleanup`. It is the first thing to happen in the close method while the 'cbox_closed' event is the last to happen. + * Fixed a bug with the slideshow mouseover graphics that appeared after ColorBox is opened a 2nd time. + * Fixed a bug where ClearType may not work in IE 6 & 7 if using the fade transition. + * Minor code optimizations to increase compression. +* Minor corrections to admin interface. + += 1.5.5 = +* Updated additional code that didn't make it into 1.5.4 to use less memory and run faster +* Separated the admin panel output to a separate file + * Added some custom admin panel styles + * Cosmetic changes to admin panel + += 1.5.4 = +* Fixed bug where titles were being broken when DO NOT USE TITLE was checked. +* Fixed issue with limited character sets - should allow any characters in the title (diacritics, umlauts, etc.) +* Optimized code to use less memory and run faster +* Updated ColorBox to version 1.2.9 +* No new features at this time + += 1.5.3.1 = +* Fixed bug causing plugin not to use correct stylesheet on initial install or reset. It was pointing to a non exsitent style (shadow instead of shadowed.) + += 1.5.3 = +* Added class based option. + * If options is checked, Lightbox Plus will only lightbox images via class: cpModal attribute. + * Using this method you can manually control which images are affected by Lightbox Plus by adding the cpModal class the image link URL and checking the Don't Auto-Lightbox Images option. +* Added option to not automatically add attributes required for Lightbox Plus to work. This allows for more manual image control. +* Added option not to display image titles. +* Updated ColorBox to version 1.2.5 + += 1.5.2 = +* Reset/re-initialize button on the plugin page will now remove the old files that were not removed during upgrade to 1.5.x from pre 1.5 versions. +* Fixed the slideshow timing to display and save correctly - any amountof time over 5000 milliseconds was displaying as 13000 milliseconds. +* Miscellaneous cosmetic fixes and text adjustments + += 1.5.1 = +* Fixed the need to have class="imagebox" added to image links + += 1.5 = +* Rebuilt Lightbox Plus to utilize ColorBox for its image overlay functions + * Supports photos, photo groups, slideshow, ajax, inline, and iframed content. + * Appearance is completely controlled through CSS so users can restyle the box. + * Written in jQuery plugin format and can be chained with other jQuery commands. + * Generates W3C valid XHTML and CSS, adds no JS global variables & passes JSLint. +* README! - If you are upgrading from a previous version you will need to reset your Lightbox Plus settings as they have all changed and the old values are no longer useful. +* README! - There is a reset button that will remove your old options and replace them with the new options, Lightbox Plus will act funny until you either reset it or update the settings. +* README! - If you have custom styles back them up before proceeding. You will need to convert them to the new directory and ColorBox format to use them again. +* README! - Only the black and white existing styles have been ported to the new format, it is very easy to convert any of the other color styles to the new format. +* Added reset button to allow for resetting to default settings. +* Tested In: Firefox 2, 3, Safari 3, 4, Opera 9, 10, Chrome 1, 2, Internet Explorer 6, 7, 8. + += 1.4 = +* There is no version 1.4 + += 1.3.4 = +* Updated to work with WordPress 2.8 + += 1.3.3 = +* Fixed another problem with JavaScript error causing script not to work correctly. + += 1.3.2 = +* Fixed problem with JavaScript error on IE7. +* Added some additional color styles. + += 1.3.1 = +* Updated lightbox.js to allow better control from the admin panel - lightbox was failing sometimes due to duplicate JavaScript. + += 1.3.0 = +* Added ability to configure Lightbox options from the admin panel +* Initializes base options on load +* Modified and rewrote code for better readability and functionality + += 1.1.1 = +* Moved admin panel under Design/Appearance +* Minor code formatting for better readability + += 1.1.0 = +* Fixed absolute pathing - should now work in blog residing in subdirectories +* Rolled code into class structure + += 1.0.1 = +* Modifications to regular expression usage for image linking + += 1.0 = +* Initial release + +== Special Thanks == + +* Dirk Schmitz (for pointing out an obvious bug that I kept overlooking) +* Michael Sheehan and Helena Hultén for constinued support and testing. +* Ken Williams (for testing version 1.5) +* navjotsingh (for bug fix in gellery shortcode with version 1.6.x) +* Milan Petrovic for some quick debugging of version 2.0 admin panel +* Melanie Sallis for needing a lightbox for her site which prompted me to create this plugin +* Jack Moore for creating the awesome jQuery plugin, ColorBox, and everyone who has contributed to the support in developing this plugin. + +== More Information == + +Visit plugin site | FAQ | Support | Follow on Twitter | Add Facebook Page diff --git a/src/wp-content/plugins/lightbox-plus/screenshot-1.jpg b/src/wp-content/plugins/lightbox-plus/screenshot-1.jpg new file mode 100644 index 0000000..18515dc Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/screenshot-1.jpg differ diff --git a/src/wp-content/plugins/lightbox-plus/screenshot-2.jpg b/src/wp-content/plugins/lightbox-plus/screenshot-2.jpg new file mode 100644 index 0000000..baa28ee Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/screenshot-2.jpg differ diff --git a/src/wp-content/plugins/lightbox-plus/screenshot-3.jpg b/src/wp-content/plugins/lightbox-plus/screenshot-3.jpg new file mode 100644 index 0000000..e5d7588 Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/screenshot-3.jpg differ diff --git a/src/wp-content/plugins/lightbox-plus/screenshot-4.jpg b/src/wp-content/plugins/lightbox-plus/screenshot-4.jpg new file mode 100644 index 0000000..d440486 Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/screenshot-4.jpg differ diff --git a/src/wp-content/plugins/lightbox-plus/trivia.swf b/src/wp-content/plugins/lightbox-plus/trivia.swf new file mode 100644 index 0000000..96c8635 Binary files /dev/null and b/src/wp-content/plugins/lightbox-plus/trivia.swf differ diff --git a/src/wp-content/plugins/lightbox-plus/triviainfo.xml b/src/wp-content/plugins/lightbox-plus/triviainfo.xml new file mode 100644 index 0000000..8d5b058 --- /dev/null +++ b/src/wp-content/plugins/lightbox-plus/triviainfo.xml @@ -0,0 +1,19 @@ + + + <![CDATA[Trivia Game]]> + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/wp-content/plugins/plugin-update-blocker/dpu-menu.php b/src/wp-content/plugins/plugin-update-blocker/dpu-menu.php new file mode 100644 index 0000000..cb6e0e6 --- /dev/null +++ b/src/wp-content/plugins/plugin-update-blocker/dpu-menu.php @@ -0,0 +1,121 @@ + $key){ + if($comp != "action"){ + if($key == 'disable-update'){ + $plugin_name = preg_replace("/_php/", ".php", htmlentities(strip_tags($comp))); + $note = ''; + if(isset($_POST[$comp.'-note'])){$note = $_POST[$comp.'-note'];} + $pub_plugins[$plugin_name] = array('name' => $plugin_name, 'note' => $note); + } + } + } + + update_option(PUB_UPDATE_DEACTIVATED, serialize($pub_plugins)); + + ?> +
+

Options saved!

+
+ + + + + +
+

+

+

+ Select for which plugins you want to disable updates.
You can then leave a note to explain the changes you made.
+ If a plugin you deactivated had a new version ready, you may need to refresh the page to hide it. +

+
+ + + + + + + + $wp_plugins){ + $cur_plugin = ''; + if(array_key_exists($key, $pub_plugins)){ + $cur_plugin = $pub_plugins[$key]; + } + ?> + + + + + + + + + +

Plugin name

Deactivated


>Add note
+ /> +
+ +
+ + +
+ +
+ \ No newline at end of file diff --git a/src/wp-content/plugins/plugin-update-blocker/plugin-update-blocker.php b/src/wp-content/plugins/plugin-update-blocker/plugin-update-blocker.php new file mode 100644 index 0000000..958f5a8 --- /dev/null +++ b/src/wp-content/plugins/plugin-update-blocker/plugin-update-blocker.php @@ -0,0 +1,95 @@ +Settings'; + } + return $links; +} + +function pub_init(){ + add_submenu_page('tools.php', PUB_NAME, PUB_NAME, 8, PUB_SLUG, 'pub_menu'); +} + +function pub_menu(){ + include dirname(__FILE__) . '/dpu-menu.php'; +} + +function pub_wp_head() { + wp_print_scripts('jquery'); +} + +function pub_http_request_args( $r, $url ) { + if ( 0 !== strpos( $url, 'http://api.wordpress.org/plugins/update-check' ) ){ + return $r; + } + + $pub_plugins = unserialize(get_option(PUB_UPDATE_DEACTIVATED)); + if(count($pub_plugins) == 0){ return $r; } + + $wp_plugins = unserialize($r['body']['plugins'] ); + + foreach($pub_plugins as $key => $p){ + unset( $wp_plugins->plugins[ $key ] ); + unset( $wp_plugins->active[ array_key_exists($key, $wp_plugins) ] ); + } + $r['body']['plugins'] = serialize( $wp_plugins ); + + return $r; +} + +add_filter('http_request_args', 'pub_http_request_args', 5, 2 ); + + + + + +?> \ No newline at end of file diff --git a/src/wp-content/plugins/plugin-update-blocker/readme.txt b/src/wp-content/plugins/plugin-update-blocker/readme.txt new file mode 100644 index 0000000..9c9bf3e --- /dev/null +++ b/src/wp-content/plugins/plugin-update-blocker/readme.txt @@ -0,0 +1,57 @@ +=== Plugin Name === +Contributors: jegerwan +Donate link: # +Tags: plugin, update, admin, tools +Requires at least: 2.9 +Tested up to: 3.1 +Stable tag: 0.2 + +Lets you disable unwanted updates for plugins + +== Description == + +This plugin helps you deactivate the update for the plugins you don't want to update! +Let's say you are working on a website and you modified several plugins to make them work the way you want them to. +If you (or your client) later updates the plugin, all the changes you made will be lost. +This plugin will help you in solving this issue. +It will let you select for which plugins you want to disable updates. You can then leave a note to explain the changes you made. + +Please note: +It's strongly recommended that you keep your WordPress plugins up to date. +If you skip plugin updates, you could expose your website to critical security issues. + +== Installation == + +Pretty straightforward : + +1. Upload the entire directory to the `/wp-content/plugins/` directory +2. Activate the plugin through the 'Plugins' menu in WordPress +3. The plugin admin page is located in the "Tools" menu + + +== Upgrade Notice == + +first update, no upgrage possible + +== Frequently Asked Questions == + += Is the update blocker permanent? = + +This will bloc the updates for the selected plugins, as long as it is activated + +== Screenshots == + +1. Plugin page where you can disable your plugins + +== Changelog == + += 0.2 = +- added saved notifications +- extended description on the plugin page +- added PUB_VERSION & PUB_DIR +- added settings link in the plugin list +- updated screenshot +- added Plugin URI in plugin description + += 0.1 = +First update. The plugin is working but I will ad more features diff --git a/src/wp-content/plugins/plugin-update-blocker/screenshot-1.jpg b/src/wp-content/plugins/plugin-update-blocker/screenshot-1.jpg new file mode 100644 index 0000000..d272b5e Binary files /dev/null and b/src/wp-content/plugins/plugin-update-blocker/screenshot-1.jpg differ diff --git a/src/wp-content/plugins/thecartpress/TheCartPress.class.php b/src/wp-content/plugins/thecartpress/TheCartPress.class.php new file mode 100644 index 0000000..f27f567 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/TheCartPress.class.php @@ -0,0 +1,1171 @@ +. + */ + +include_once( dirname( __FILE__ ) . '/templates/tcp_template.php' ); +include_once( dirname( __FILE__ ) . '/templates/tcp_general_template.php' ); +include_once( dirname( __FILE__ ) . '/templates/tcp_template_template.php' ); +require_once( dirname( __FILE__ ) . '/checkout/tcp_checkout_template.php' ); + +if ( ! is_admin() ) { + require_once( dirname( __FILE__ ) . '/classes/ShoppingCart.class.php' ); +} + +require_once( dirname( __FILE__ ) . '/customposttypes/ProductCustomPostType.class.php' ); +require_once( dirname( __FILE__ ) . '/customposttypes/TemplateCustomPostType.class.php' ); +require_once( dirname( __FILE__ ) . '/classes/OrderPanel.class.php' ); +require_once( dirname( __FILE__ ) . '/classes/TCP_Plugin.class.php' ); +require_once( dirname( __FILE__ ) . '/classes/States.class.php' ); +require_once( dirname( __FILE__ ) . '/widgets/ShoppingCartSummaryWidget.class.php' ); +require_once( dirname( __FILE__ ) . '/widgets/ShoppingCartWidget.class.php' ); +require_once( dirname( __FILE__ ) . '/widgets/LastVisitedWidget.class.php' ); +require_once( dirname( __FILE__ ) . '/widgets/WishListWidget.class.php' ); +require_once( dirname( __FILE__ ) . '/widgets/RelatedListWidget.class.php' ); +require_once( dirname( __FILE__ ) . '/widgets/CustomPostTypeListWidget.class.php' ); +require_once( dirname( __FILE__ ) . '/widgets/TaxonomyCloudsPostTypeWidget.class.php' ); +require_once( dirname( __FILE__ ) . '/widgets/TaxonomyTreesPostTypeWidget.class.php' ); +require_once( dirname( __FILE__ ) . '/widgets/OrderPanelWidget.class.php' ); +require_once( dirname( __FILE__ ) . '/widgets/CommentsCustomPostTypeWidget.class.php' ); +require_once( dirname( __FILE__ ) . '/widgets/BrothersListWidget.class.php' ); +require_once( dirname( __FILE__ ) . '/widgets/CheckoutWidget.class.php' ); + +if ( ! session_id() ) session_start(); + +class TheCartPress { + + public $settings = array(); + + function __construct() { + $this->loadSettings(); + add_action( 'init', array( $this, 'init' ) ); + add_action( 'user_register', array( $this, 'user_register' ) ); + if ( is_admin() ) { + register_activation_hook( __FILE__, array( $this, 'activate_plugin' ) ); + register_deactivation_hook( __FILE__, array( $this, 'deactivate_plugin' ) ); + //tcp templates classes + tcp_add_template_class( 'tcp_checkout_email' ); + tcp_add_template_class( 'tcp_checkout_end' ); + add_action( 'admin_init', array( $this, 'admin_init' ) ); + add_action( 'wp_dashboard_setup', array( $this, 'wp_dashboard_setup' ) ); + add_action( 'admin_menu', array( $this, 'admin_menu' ) ); + //Metaboxes + require_once( dirname( __FILE__ ) . '/metaboxes/ProductCustomFieldsMetabox.class.php' ); + $productCustomFieldsMetabox = new ProductCustomFieldsMetabox(); + add_action( 'admin_menu', array( $productCustomFieldsMetabox, 'registerMetaBox' ) ); + add_action( 'save_post', array( $productCustomFieldsMetabox, 'saveCustomFields' ), 1, 2 ); + add_action( 'delete_post', array( $productCustomFieldsMetabox, 'deleteCustomFields' ), 1, 2 ); + require_once( dirname( __FILE__ ) . '/metaboxes/PostMetabox.class.php' ); + $postMetabox = new PostMetabox(); + add_action( 'admin_menu', array( $postMetabox, 'registerMetaBox' ) ); + add_action( 'delete_post', array( $postMetabox, 'deleteCustomFields' ), 1, 2 ); + require_once( dirname( __FILE__ ) . '/metaboxes/TemplateMetabox.class.php' ); + $templateMetabox = new TemplateMetabox(); + add_action( 'admin_menu', array( $templateMetabox, 'registerMetaBox' ) ); + add_action( 'save_post', array( $templateMetabox, 'saveCustomFields' ), 1, 2 ); + add_action( 'delete_post', array( $templateMetabox, 'deleteCustomFields' ), 1, 2 ); + //Settings screen + require_once( dirname( __FILE__ ) .'/admin/TCP_Settings.class.php' ); + new TCP_Settings(); + require_once( dirname( __FILE__ ) .'/admin/TCP_LoopsSettings.class.php' ); + new TCP_LoopsSettings(); + //if ( function_exists( 'register_theme_directory') ) register_theme_directory( WP_PLUGIN_DIR . '/thecartpress/themes-templates' ); + add_filter( 'admin_footer_text', array( $this, 'adminFooterText' ) ); + add_action( 'tcp_show_settings', array( $this, 'tcp_show_settings' ) ); + } else { + add_filter( 'the_content', array( $this, 'contentFilter' ) ); + add_filter( 'the_excerpt', array( $this, 'excerptFilter' ) ); + add_action( 'wp_head', array( $this, 'wp_head' ) ); + add_action( 'wp_meta', array( $this, 'wp_meta' ) ); +// add_filter( 'parse_query', array( $this, 'parseQuery' ) ); + add_filter( 'request', array( $this, 'request' ) ); + add_filter( 'parse_request', array( $this, 'parse_request' ) ); + add_filter( 'posts_join', array( $this, 'postsJoin' ) ); + add_filter( 'posts_where', array( $this, 'postsWhere' ) ); + add_filter( 'posts_orderby', array( $this, 'postsOrderby' ) ); +// add_filter( 'posts_request', array( $this, 'posts_request' ) ); + add_filter( 'get_previous_post_join', array( $this, 'postsJoinNext' ) ); + add_filter( 'get_previous_post_where', array( $this, 'postsWhereNext' ) ); + add_filter( 'get_next_post_join', array( $this, 'postsJoinNext' ) ); + add_filter( 'get_next_post_where', array( $this, 'postsWhereNext' ) ); + //ShoppingCartTable and CheckOut shortcodes, and more... + require_once( dirname( __FILE__ ) . '/shortcodes/ShoppingCartPage.class.php' ); + $shoppingCartPage = new ShoppingCartPage(); + add_shortcode( 'tcp_shopping_cart', array( $shoppingCartPage, 'show' ) ); + + require_once( dirname( __FILE__ ) . '/checkout/ActiveCheckout.class.php' ); + $activeCheckout = new ActiveCheckout(); + add_shortcode( 'tcp_checkout', array( $activeCheckout, 'show' ) ); + + add_shortcode( 'tcp_buy_button', array( $this, 'shortCodeBuyButton' ) ); + add_shortcode( 'tcp_price', array( $this, 'shortCodePrice' ) ); + + require_once( dirname( __FILE__ ) . '/shortcodes/TCP_Shortcode.class.php' ); + $tcp_shortcode = new TCP_Shortcode(); + add_shortcode( 'tcp_list', array( $tcp_shortcode, 'show' ) ); + add_filter( 'login_form_bottom', array( $this, 'loginFormBottom' ) ); + //TheCartPress hooks + } + add_filter( 'tcp_the_currency', array( $this, 'tcp_the_currency' ) ); + add_action( 'admin_bar_menu', array( $this, 'admin_bar_menu' ), 65 ); + add_action( 'wp_before_admin_bar_render', array( $this, 'wp_before_admin_bar_render' ) ); + add_action( 'widgets_init', array( $this, 'widgets_init' ) ); + $this->loadingDefaultCheckoutPlugins(); + } + + function wp_head() { + if ( is_single() && ! is_page() ) {//Last visited + global $post; + if ( $post->post_type == 'tcp_product' ) { + do_action( 'tcp_visited_product', $post ); + $shoppingCart = TheCartPress::getShoppingCart(); + $shoppingCart->addVisitedPost( $post->ID ); + } + } + //Shopping Cart actions + if ( isset( $_REQUEST['tcp_add_to_shopping_cart'] ) ) { + $shoppingCart = TheCartPress::getShoppingCart(); + $post_id = isset( $_REQUEST['tcp_post_id'] ) ? $_REQUEST['tcp_post_id'] : 0; + do_action( 'tcp_before_add_shopping_cart', $post_id ); + if ( is_array( $post_id ) ) { + for( $i = 0; $i < count( $_REQUEST['tcp_post_id'] ); $i++ ) { + $count = isset( $_REQUEST['tcp_count'][$i] ) ? (int)$_REQUEST['tcp_count'][$i] : 0; + if ( $count > 0 ) { + $post_id = isset( $_REQUEST['tcp_post_id'][$i] ) ? $_REQUEST['tcp_post_id'][$i] : 0; + $post_id = tcp_get_default_id( $post_id ); + $tcp_option_id = isset( $_REQUEST['tcp_option_id'][$i] ) ? $_REQUEST['tcp_option_id'][$i] : 0; + if ( $tcp_option_id > 0 ) { + $option_ids = explode( '-', $tcp_option_id); + if ( count( $option_ids ) == 2 ) { + $option_1_id = $option_ids[0]; + $price_1 = tcp_get_the_price( $option_1_id ); + $price_1 = tcp_get_the_price_with_tax( $post_id, $price_1 ); + $option_2_id = $option_ids[1]; + $price_2 = (float)tcp_get_the_price( $option_2_id ); + } else { + $option_1_id = $tcp_option_id; + $price_1 = tcp_get_the_price( $option_1_id ); + $price_1 = tcp_get_the_price_with_tax( $post_id, $price_1 ); + $option_2_id = '0'; + $price_2 = 0; + } + } else { + $option_1_id = isset( $_REQUEST['tcp_option_1_id'][$i] ) ? $_REQUEST['tcp_option_1_id'][$i] : 0; + $price_1 = tcp_get_the_price( $option_1_id ); + $price_1 = $option_1_id > 0 ? tcp_get_the_price_with_tax( $post_id, $price_1 ) : 0; + $option_2_id = isset( $_REQUEST['tcp_option_2_id'][$i] ) ? $_REQUEST['tcp_option_2_id'][$i] : 0; + $price_2 = tcp_get_the_price( $option_2_id ); + $price_2 = $option_2_id > 0 ? tcp_get_the_price_with_tax( $post_id, $price_2 ) : 0; + } + $unit_price = isset( $_REQUEST['tcp_unit_price'][$i] ) ? $_REQUEST['tcp_unit_price'][$i] : 0; + $unit_price += $price_1 + $price_2; + $tax = isset( $_REQUEST['tcp_tax'][$i] ) ? $_REQUEST['tcp_tax'][$i] : 0; + $unit_weight = isset( $_REQUEST['tcp_unit_weight'][$i] ) ? $_REQUEST['tcp_unit_weight'][$i] : 0; + $shoppingCart->add( $post_id, $option_1_id, $option_2_id, $count, $unit_price, $tax, $unit_weight ); + } + } + do_action( 'tcp_add_shopping_cart', $post_id ); + } + } elseif ( isset( $_REQUEST['tcp_delete_shopping_cart'] ) ) { + do_action( 'tcp_before_delete_shopping_cart' ); + $shoppingCart = TheCartPress::getShoppingCart(); + $shoppingCart->deleteAll(); + do_action( 'tcp_delete_shopping_cart' ); + } elseif ( isset( $_REQUEST['tcp_delete_item_shopping_cart'] ) ) { + $post_id = isset( $_REQUEST['tcp_post_id'] ) ? $_REQUEST['tcp_post_id'] : 0; + do_action( 'tcp_before_delete_item_shopping_cart', $post_id ); + if ( $post_id > 0 ) { + $option_1_id = isset( $_REQUEST['tcp_option_1_id'] ) ? $_REQUEST['tcp_option_1_id'] : 0; + $option_2_id = isset( $_REQUEST['tcp_option_2_id'] ) ? $_REQUEST['tcp_option_2_id'] : 0; + $shoppingCart = TheCartPress::getShoppingCart(); + $shoppingCart->delete( $post_id, $option_1_id, $option_2_id ); + do_action( 'tcp_delete_item_shopping_cart', $post_id ); + } + } elseif ( isset( $_REQUEST['tcp_modify_item_shopping_cart'] ) ) { + $post_id = $_REQUEST['tcp_post_id'] ? $_REQUEST['tcp_post_id'] : 0; + do_action( 'tcp_before_modify_shopping_cart', $post_id ); + if ( $post_id > 0 ) { + $option_1_id = isset( $_REQUEST['tcp_option_1_id'] ) ? $_REQUEST['tcp_option_1_id'] : 0; + $option_2_id = isset( $_REQUEST['tcp_option_2_id'] ) ? $_REQUEST['tcp_option_2_id'] : 0; + $count = isset( $_REQUEST['tcp_count'] ) ? $_REQUEST['tcp_count'] : 0; + $shoppingCart = TheCartPress::getShoppingCart(); + $shoppingCart->modify( $post_id, $option_1_id, $option_2_id, $count ); + do_action( 'tcp_modify_shopping_cart', $post_id ); + } + } elseif ( isset( $_REQUEST['tcp_add_to_wish_list'] ) ) { + $tcp_new_wish_list_item = isset( $_REQUEST['tcp_new_wish_list_item'] ) ? $_REQUEST['tcp_new_wish_list_item'] : 0; + if ( $tcp_new_wish_list_item > 0 ) { + $shoppingCart = TheCartPress::getShoppingCart(); + $shoppingCart->addWishList( $tcp_new_wish_list_item ); + do_action( 'tcp_add_wish_list', $tcp_new_wish_list_item ); + } + } elseif ( isset( $_REQUEST['tcp_remove_from_wish_list'] ) ) { + $post_id = isset( $_REQUEST['tcp_wish_list_post_id'] ) ? $_REQUEST['tcp_wish_list_post_id'] : 0; + if ( $post_id > 0 ) { + $shoppingCart = TheCartPress::getShoppingCart(); + $shoppingCart->deleteWishListItem( $post_id ); + do_action( 'tcp_delete_wish_list_item', $post_id ); + } + } + } + + static function getShoppingCart() { + if ( isset( $_SESSION['tcp_session'] ) ) + $shoppingCart = $_SESSION['tcp_session']; + else { + $shoppingCart = new ShoppingCart(); + $_SESSION['tcp_session'] = $shoppingCart; + } + return $shoppingCart; + } + + /** + * This function check if the plugin is ok + */ + public function checkThePlugin() { + $warnings = ''; + $base = dirname( __FILE__ ) . '/admin/'; + $checking_path = $base . 'Checking.php'; + $checking_path = 'admin.php?page=' . plugin_basename( dirname( __FILE__ ) ) . '/admin/Checking.php'; + $disable_shopping_cart = isset( $this->settings['disable_shopping_cart'] ) ? $this->settings['disable_shopping_cart'] : false; + if ( ! $disable_shopping_cart ) { + $page_id = get_option( 'tcp_shopping_cart_page_id' ); + if ( ! $page_id || ! get_page( $page_id ) ) + $warnings = __( 'The Shopping Cart page has been deleted.', 'tcp' ); + $page_id = get_option( 'tcp_checkout_page_id' ); + if ( ! $page_id || ! get_page( $page_id ) ) + $warnings .= '
' . __( 'The Checkout page has been deleted.', 'tcp' ); + } + if ( strlen( $warnings ) > 0 ) :?> +

+
+ +

Checking page to fix those warnings.', 'tcp' ), $checking_path );?>

+

+ settings['products_per_page'] ) ? (int)$this->settings['products_per_page'] : 10; + $query_string['posts_per_page'] = $products_per_page; + } + } + return $query_string; + } + + function parse_request( $requests ) { + //Order actions + if ( ! is_admin()) { + if ( is_tax( 'tcp_product_tag' ) || is_tax( 'tcp_product_category' ) || is_tax( 'tcp_product_supplier' ) ) { + if ( isset( $_REQUEST['tcp_order_type'] ) ) { + $_SESSION['tcp_order_type'] = $_REQUEST['tcp_order_type']; + } elseif ( ! isset( $_SESSION['tcp_order_type'] ) ) { + $_SESSION['tcp_order_type'] = 'date'; + } + if ( isset( $_REQUEST['tcp_order_desc'] ) ) { + $_SESSION['tcp_order_desc'] = $_REQUEST['tcp_order_desc']; + } elseif ( ! isset( $_SESSION['tcp_order_desc'] ) ) { + $_SESSION['tcp_order_desc'] = 'desc'; + } + } + } + return $requests; + } + + function postsJoin( $join ) { + global $wpdb; + + $join .= " LEFT JOIN {$wpdb->postmeta} tcp_postmeta_is_visible ON ({$wpdb->posts}.ID = tcp_postmeta_is_visible.post_id AND tcp_postmeta_is_visible.meta_key='tcp_is_visible' )"; + if ( is_tax( 'tcp_product_tag' ) || is_tax( 'tcp_product_category' ) || is_tax( 'tcp_product_supplier' ) ) { + if ( isset( $_SESSION['tcp_order_type'] ) ) { + if ( $_SESSION['tcp_order_type'] == 'price' ) { + $join .= " LEFT JOIN {$wpdb->postmeta} tcp_postmeta_price ON ({$wpdb->posts}.ID = tcp_postmeta_price.post_id AND tcp_postmeta_price.meta_key='tcp_price')"; + } elseif ( $_SESSION['tcp_order_type'] == 'order' ) { + $join .= " LEFT JOIN {$wpdb->postmeta} tcp_postmeta_order ON ({$wpdb->posts}.ID = tcp_postmeta_order.post_id AND tcp_postmeta_order.meta_key='tcp_order')"; + } elseif ( $_SESSION['tcp_order_type'] == 'author' ) { + $join .= " INNER JOIN {$wpdb->users} tcp_users ON ({$wpdb->posts}.post_author = tcp_users.ID)"; + } + } + } + return $join; + } + + function postsWhere( $where ) { + $where .= " AND (tcp_postmeta_is_visible.meta_value='1' OR tcp_postmeta_is_visible.meta_value IS NULL)"; + return $where; + } + + function postsOrderby( $orderby ) { + if ( is_tax( 'tcp_product_tag' ) || is_tax( 'tcp_product_category' ) || is_tax( 'tcp_product_supplier' ) ) { + global $wpdb; + $desc = isset( $_SESSION['tcp_order_desc'] ) ? $_SESSION['tcp_order_desc'] : 'desc'; + $type = isset( $_SESSION['tcp_order_type'] ) ? $_SESSION['tcp_order_type'] : 'date'; + switch ( $type ) { + case 'order': + $orderby = "CAST(tcp_postmeta_order.meta_value AS UNSIGNED) $desc, {$wpdb->posts}.post_title"; + break; + case 'price': + $orderby = "tcp_postmeta_price.meta_value $desc, {$wpdb->posts}.post_title"; + break; + case 'title': + $orderby = "{$wpdb->posts}.post_title $desc"; + break; + case 'date': + $orderby = "{$wpdb->posts}.post_date $desc"; //, {$wpdb->posts}.post_title"; + break; + case 'author': + $orderby = "tcp_users.display_name $desc, {$wpdb->posts}.post_title"; + break; + case 'rand': + $orderby = ' rand()'; + break; + case 'comment_count': + $orderby = "{$wpdb->posts}.comment_count $desc, {$wpdb->posts}.post_title"; + break; + } + } + return $orderby; + } + + function postsJoinNext( $join ) { + global $wpdb; + $join .= " LEFT JOIN {$wpdb->postmeta} tcp_postmeta_is_visible ON (p.ID = tcp_postmeta_is_visible.post_id AND tcp_postmeta_is_visible.meta_key='tcp_is_visible' )"; + return $join; + } + + function postsWhereNext( $where ) { + $where .= " AND (tcp_postmeta_is_visible.meta_value='1' OR tcp_postmeta_is_visible.meta_value IS NULL)"; + return $where; + } + +/* function posts_request( $input ) { +echo '
SELECT: ', $input; + return $input; + }*/ + + //WP 3.1 + /*function parseQuery( $query ) { + if ( ! is_admin() ) { + if ( is_tax( 'tcp_product_category' ) || is_tax( 'tcp_product_tag' ) || is_tax( 'tcp_product_supplier' ) ) { + if ( isset( $_REQUEST['tcp_order_type'] ) ) + $tcp_order_type = $_REQUEST['tcp_order_type']; + else + $tcp_order_type = isset( $_SESSION['tcp_order_type'] ) ? $_SESSION['tcp_order_type'] : 'order'; + $_SESSION['tcp_order_type'] = $tcp_order_type; + if ( isset( $_REQUEST['tcp_order_desc'] ) ) + $tcp_order_desc = $_REQUEST['tcp_order_desc']; + else + $tcp_order_desc = isset( $_SESSION['tcp_order_desc'] ) ? $_SESSION['tcp_order_desc'] : 'asc'; + $_SESSION['tcp_order_desc'] = $tcp_order_desc; + $query->query_vars['order'] = strtoupper( $_SESSION['tcp_order_desc'] ); + $query->query_vars['meta_key'] = 'tcp_price'; + $query->query_vars['post_type'] = 'tcp_product'; + switch ( $_SESSION['tcp_order_type'] ) { + case 'order': + $query->query_vars['orderby'] = 'meta_value_num'; + $query->query_vars['meta_key'] = 'tcp_order'; + break; + case 'price': + $query->query_vars['orderby'] = 'meta_value_num'; + $query->query_vars['meta_key'] = 'tcp_price'; + break; + case 'title': + $query->query_vars['orderby'] = 'title'; + break; + case 'date': + $query->query_vars['orderby'] = 'date'; + break; + case 'author': + $query->query_vars['orderby'] = 'author title'; + break; + case 'rand': + $query->query_vars['orderby'] = 'rand'; + break; + case 'comment_count': + $query->query_vars['orderby'] = 'comment_count title'; + break; + } + $query->query_vars['meta_query'] = array( + array( + 'key' => 'tcp_price', + 'value' => 0, + 'compare' => '>=', + 'type' => 'numeric' + ), + array( + 'key' => 'tcp_order', + 'value' => 0, + 'compare' => '>=', + 'type' => 'numeric' + ), + array( + 'key' => 'tcp_is_visible', + 'value' => 1, + 'compare' => '=', + 'type' => 'numeric', + ), + ); + } + } + return $query; + }*/ + + function loginFormBottom( $content ) { + return ''; + } + + function shortCodeBuyButton( $atts ) { + extract( shortcode_atts( array( 'post_id' => 0 ), $atts ) ); + return tcp_get_the_buy_button( $post_id ); + } + + function shortCodePrice( $atts ) { + extract( shortcode_atts( array( 'post_id' => 0 ), $atts ) ); + return tcp_get_the_price_label( $post_id ); + } + + function wp_meta() { + echo '
  • TheCartPress.com
  • '; + } + + function adminFooterText( $content ) { + $pos = strrpos( $content, '.' ) + strlen( '' ); + $content = substr( $content, 0, $pos ) . ' and TheCartPress' . substr( $content, $pos ); + return $content; + } + + function admin_bar_menu() { + global $wp_admin_bar; + //if ( is_admin_bar_showing() && current_user_can( 'tcp_read_orders' ) ) { + if ( current_user_can( 'tcp_read_orders' ) ) { + $wp_admin_bar->add_menu( + array( + 'id' => 'the_cart_press', + 'title' => __( 'Shopping', 'tcp' ), + 'href' => admin_url( 'admin.php' ) . '?page=thecartpress/admin/OrdersList.php', + ) + ); + $wp_admin_bar->add_menu( + array( + 'parent' => 'the_cart_press', + 'id' => 'orders_list', + 'title' =>__( 'Orders', 'tcp' ), + 'href' => admin_url( 'admin.php' ) . '?page=thecartpress/admin/OrdersList.php', + ) + ); + if ( current_user_can( 'tcp_downloadable_products' ) ) { + $wp_admin_bar->add_menu( + array( + 'parent' => 'the_cart_press', + 'id' => 'download_area', + 'title' => __( 'Download area', 'tcp' ), + 'href' => admin_url( 'admin.php' ) . "?page=thecartpress/admin/DownloadableList.php", + ) + ); + } + } + } + + function wp_before_admin_bar_render() { + if ( ! current_user_can( 'tcp_edit_products' ) ) { + global $wp_admin_bar; + $tcp_admin_bar_hidden_items = get_option( 'tcp_admin_bar_hidden_items', array() ); + $menu_bar = $wp_admin_bar->menu; + foreach( $menu_bar as $id => $menu ) { + if ( isset( $tcp_admin_bar_hidden_items[$id] ) ) { + unset( $wp_admin_bar->menu->$id ); + } else { + foreach( $menu as $id_menu => $menu_item ) { + if ( $id_menu == 'children' ) { + foreach( $menu_item as $id_item => $item ) { + if ( isset( $tcp_admin_bar_hidden_items[$id_item] ) ) { + unset( $menu_item->$id_item ); + } + } + } + } + } + } + } + } + + /** + * Runs when a user is registered (or created) before email + */ + function user_register( $user_id ) { + $user = new WP_User( $user_id ); + $user->set_role( 'customer' ); + } + + function wp_dashboard_setup() { + require_once( dirname( __FILE__ ) . '/widgets/OrdersSummaryDashboard.class.php' ); + $ordersSummaryDashboard = new OrdersSummaryDashboard(); + wp_add_dashboard_widget( 'tcp_orders_resume', __( 'Orders Summary', 'tcp' ), array( $ordersSummaryDashboard, 'show' ) ); + wp_add_dashboard_widget( 'thecartpress_rss_widget', __( 'TheCartPress blog', 'tcp' ), array($this, 'theCartPressRSSDashboardWidget' ) ); + } + + function theCartPressRSSDashboardWidget() { + wp_widget_rss_output( 'http://thecartpress.com/feed', array( 'items' => 5, 'show_author' => 1, 'show_date' => 1, 'show_summary' => 0 ) ); + } + + function widgets_init() { + register_widget( 'ShoppingCartSummaryWidget' ); + register_widget( 'ShoppingCartWidget' ); + register_widget( 'LastVisitedWidget' ); + register_widget( 'WishListWidget' ); + register_widget( 'RelatedListWidget' ); + register_widget( 'CustomPostTypeListWidget' ); + register_widget( 'TaxonomyCloudsPostTypeWidget' ); + register_widget( 'TaxonomyTreesPostTypeWidget' ); + register_widget( 'OrderPanelWidget' ); + register_widget( 'CommentsCustomPostTypeWidget' ); + register_widget( 'BrothersListWidget' ); + register_widget( 'CheckoutWidget' ); + } + + function admin_menu() { + $base = dirname( __FILE__ ) . '/admin/OrdersList.php'; + add_menu_page( '', 'TheCartPress', 'tcp_read_orders', $base, '', plugins_url( '/images/tcp.png', __FILE__ ) ); + add_submenu_page( $base, __( 'Orders', 'tcp' ), __( 'Orders', 'tcp' ), 'tcp_read_orders', $base ); + add_submenu_page( $base, __( 'Addresses', 'tcp' ), __( 'Addresses', 'tcp' ), 'tcp_edit_addresses', dirname( __FILE__ ) . '/admin/AddressesList.php' ); + add_submenu_page( $base, __( 'Taxes', 'tcp' ), __( 'Taxes', 'tcp' ), 'tcp_edit_taxes', dirname( __FILE__ ) . '/admin/TaxesList.php' ); + add_submenu_page( $base, __( 'Taxes Rates', 'tcp' ), __( 'Taxes Rates', 'tcp' ), 'tcp_edit_taxes', dirname( __FILE__ ) . '/admin/TaxesRates.php' ); + add_submenu_page( $base, __( 'Payment and Shipping Methods', 'tcp' ), __( 'Payment and Shipping methods', 'tcp' ), 'tcp_edit_plugins', dirname( __FILE__ ) . '/admin/PluginsList.php' ); + add_submenu_page( $base, __( 'Related Categories', 'tcp' ), __( 'Related Categories', 'tcp' ), 'tcp_edit_products', dirname( __FILE__ ) . '/admin/RelatedCats.php' ); + $hide_downloadable_menu = isset( $this->settings['hide_downloadable_menu'] ) ? $this->settings['hide_downloadable_menu'] : false; + if ( ! $hide_downloadable_menu ) { + add_submenu_page( $base, __( 'Downloadable Products', 'tcp' ), __( 'Downloadable Products', 'tcp' ), 'tcp_downloadable_products', dirname( __FILE__ ) . '/admin/DownloadableList.php' ); + } + add_submenu_page( $base, __( 'Update Prices', 'tcp' ), __( 'Update Prices', 'tcp' ), 'tcp_update_price', dirname( __FILE__ ) . '/admin/PriceUpdate.php' ); + add_submenu_page( $base, __( 'Update Stock', 'tcp' ), __( 'Update Stock', 'tcp' ), 'tcp_update_stock', dirname( __FILE__ ) . '/admin/StockUpdate.php' ); + add_submenu_page( $base, __( 'Shortcodes Generator', 'tcp' ), __( 'Shortcodes', 'tcp' ), 'tcp_shortcode_generator', dirname( __FILE__ ) . '/admin/ShortCodeGenerator.php' ); + add_submenu_page( $base, __( 'Admin Bar Config', 'tcp' ), __( 'Admin Bar Config', 'tcp' ), 'tcp_edit_products', dirname( __FILE__ ) . '/admin/AdminBarConfig.php' ); + //register pages + add_submenu_page( 'tcpm', __( 'list of Assigned products', 'tcp' ), __( 'list of Assigned products', 'tcp' ), 'tcp_edit_product', dirname( __FILE__ ) . '/admin/AssignedProductsList.php' ); + add_submenu_page( 'tcpm', __( 'Order', 'tcp' ), __( 'Order', 'tcp' ), 'tcp_edit_orders', dirname( __FILE__ ) . '/admin/OrderEdit.php' ); + add_submenu_page( 'tcpm', __( 'Plugin editor', 'tcp' ), __( 'Plugin editor', 'tcp' ), 'tcp_edit_plugins', dirname( __FILE__ ) . '/admin/PluginEdit.php' ); + add_submenu_page( 'tcpm', __( 'Address editor', 'tcp' ), __( 'Address editor', 'tcp' ), 'tcp_edit_addresses', dirname( __FILE__ ) . '/admin/AddressEdit.php' ); + add_submenu_page( 'tcpm', __( 'Upload files', 'tcp' ), __( 'Upload files', 'tcp' ), 'tcp_edit_product', dirname( __FILE__ ) . '/admin/UploadFiles.php' ); + add_submenu_page( 'tcpm', __( 'Downloadable products', 'tcp' ), __( 'Downloadable products', 'tcp' ), 'tcp_downloadable_products', dirname( __FILE__ ) . '/admin/VirtualProductDownloader.php' ); + add_submenu_page( 'tcpm', __( 'TheCartPress checking', 'tcp' ), __( 'TheCartPress checking', 'tcp' ), 'tcp_edit_products', dirname( __FILE__ ) . '/admin/Checking.php' ); + //add_submenu_page( 'tcpm', __( 'Print Order', 'tcp' ), __( 'Print Order', 'tcp' ), 'tcp_edit_orders', dirname( __FILE__ ) . '/admin/PrintOrder.php' ); + } + + function contentFilter( $content ) { + if ( is_single() ) { + global $post; + if ( $post->post_type != 'tcp_product' ) return $content; + $html = ''; + $see_buy_button_in_content = isset( $this->settings['see_buy_button_in_content'] ) ? $this->settings['see_buy_button_in_content'] : true; + $see_price_in_content = isset( $this->settings['see_price_in_content'] ) ? $this->settings['see_price_in_content'] : false; + $see_image_in_content = isset( $this->settings['see_image_in_content'] ) ? $this->settings['see_image_in_content'] : false; + $html = ''; + if ( $see_buy_button_in_content ) { + $html = tcp_the_buy_button( $post->ID, false ); + } elseif ( $see_price_in_content ) { + //$tax = tcp_get_the_tax_label( $post->ID ); + //if ( strlen( $tax ) > 0 ) $tax = ' (' . $tax . ')'; + //$html = '

    ID . '>' . tcp_get_the_price_label( $post->ID ) . ' ' . tcp_the_currency( false ) . $tax . '

    '; + $html = '

    ID . '>' . tcp_get_the_price_label( $post->ID ) . '

    '; + } + if ( $see_image_in_content && has_post_thumbnail( $post->ID ) ) { + $image_size = isset( $this->settings['image_size_content'] ) ? $this->settings['image_size_content'] : 'thumbnail'; + $image_align = isset( $this->settings['image_align_content'] ) ? $this->settings['image_align_content'] : ''; + $image_link = isset( $this->settings['image_link_content'] ) ? $this->settings['image_link_content'] : ''; + $thumbnail_id = get_post_thumbnail_id( $post->ID ); + $attr = array( 'class' => $image_align . ' size-' . $image_size . ' wp-image-' . $thumbnail_id . ' tcp_single_img_featured' ); + //$image_attributes = array{0 => url, 1 => width, 2 => height}; + $image_attributes = wp_get_attachment_image_src( $thumbnail_id, $image_size ); + if ( strlen( $image_link ) > 0 ) { + if ( $image_link == 'file' ) { + $href = $image_attributes[0]; + } else { + $href = get_permalink( $thumbnail_id ); + } + $image = '' . get_the_post_thumbnail( $post->ID, $image_size, $attr ) . ''; + } else { + $image = get_the_post_thumbnail( $post->ID, $image_size, $attr ); + } + $thumbnail_post = get_post( $thumbnail_id ); + if ( ! empty( $thumbnail_post->post_excerpt ) ) { + $width = $image_attributes[1]; + $image = '[caption id="attachment_' . $thumbnail_id . '" align="' . $image_align . ' tcp_featured_single_caption" width="' . $width . '" caption="' . $thumbnail_post->post_excerpt . '"]' . $image . '[/caption]'; + } + $html .= $image; + } + $html = apply_filters( 'tcp_filter_content', $html, $post->ID ); + return $html . do_shortcode( $content ); + } + return $content; + } + + function excerptFilter( $content ) { + if ( ! is_single() ) { + global $post; + if ( $post->post_type != 'tcp_product' ) return $content; + $html = ''; + $see_buy_button_in_excerpt = isset( $this->settings['see_buy_button_in_excerpt'] ) ? $this->settings['see_buy_button_in_excerpt'] : false; + $see_price_in_excerpt = isset( $this->settings['see_price_in_excerpt'] ) ? $this->settings['see_price_in_excerpt'] : true; + $see_image_in_excerpt = isset( $this->settings['see_image_in_excerpt'] ) ? $this->settings['see_image_in_excerpt'] : false; + if ( $see_buy_button_in_excerpt ) { + $html = tcp_the_buy_button( $post->ID, false ) . $content; + } elseif ( $see_price_in_excerpt ) { + //$tax = tcp_get_the_tax_label( $post->ID ); + //if ( strlen( $tax ) > 0 ) $tax = ' (' . $tax . ')'; + //$html = '

    ID . '>' . tcp_get_the_price_label( $post->ID ) . ' ' . tcp_the_currency( false ) . $tax . '

    '; + $html = '

    ID . '>' . tcp_get_the_price_label( $post->ID ) . '

    '; + } + if ( $see_image_in_excerpt ) { + $image_size = isset( $this->settings['image_size_excerpt'] ) ? $this->settings['image_size_excerpt'] : 'thumbnail'; + $image_align = isset( $this->settings['image_align_excerpt'] ) ? $this->settings['image_align_excerpt'] : ''; + $image_link = isset( $this->settings['image_link_excerpt'] ) ? $this->settings['image_link_excerpt'] : ''; + $thumbnail_id = get_post_thumbnail_id( $post->ID ); + $attr = array( 'class' => $image_align . ' size-' . $image_size . ' wp-image-' . $thumbnail_id . ' tcp_single_img_featured' ); + //$image_attributes = array{0 => url, 1 => width, 2 => height}; + $image_attributes = wp_get_attachment_image_src( $thumbnail_id, $image_size ); + if ( strlen( $image_link ) > 0 ) { + if ( $image_link == 'file' ) { + $href = $image_attributes[0]; + } else { + $href = get_permalink( $thumbnail_id ); + } + $image = '' . get_the_post_thumbnail( $post->ID, $image_size, $attr ) . ''; + } else { + $image = get_the_post_thumbnail( $post->ID, $image_size, $attr ); + } + $thumbnail_post = get_post( $thumbnail_id ); + if ( ! empty( $thumbnail_post->post_excerpt ) ) { + //$image_attributes = array{0 => url, 1 => width, 2 => height}; + $image_attributes = wp_get_attachment_image_src( $thumbnail_id, $image_size ); + $width = $image_attributes[1]; + $image = '[caption id="attachment_' . $thumbnail_id . '" align="' . $image_align . ' tcp_featured_single_caption" width="' . $width . '" caption="' . $thumbnail_post->post_excerpt . '"]' . $image . '[/caption]'; + } + $html .= $image; + } + $html = apply_filters( 'tcp_filter_excerpt', $html, $post->ID ); + return do_shortcode( $html . $content ); + } + return $content; + } + + function loadingDefaultCheckoutPlugins() { + //shipping methods + require_once( dirname( __FILE__ ) . '/plugins/FreeTrans.class.php' ); + tcp_register_shipping_plugin( 'FreeTrans' ); + require_once( dirname( __FILE__ ) . '/plugins/FlatRate.class.php' ); + tcp_register_shipping_plugin( 'FlatRateShipping' ); + require_once( dirname( __FILE__ ) . '/plugins/ShippingCost.class.php' ); + tcp_register_shipping_plugin( 'ShippingCost' ); + + //payment methods + require_once( dirname( __FILE__ ) . '/plugins/PayPal/PayPal.php' ); + tcp_register_payment_plugin( 'PayPal' ); + require_once( dirname( __FILE__ ) . '/plugins/Remboursement.class.php' ); + tcp_register_payment_plugin( 'Remboursement' ); + require_once( dirname( __FILE__ ) . '/plugins/NoCostPayment.class.php' ); + tcp_register_payment_plugin( 'NoCostPayment' ); + require_once( dirname( __FILE__ ) . '/plugins/Transference.class.php' ); + tcp_register_payment_plugin( 'Transference' ); + require_once( dirname( __FILE__ ) . '/plugins/CardOffLine/CardOffLine.class.php' ); + tcp_register_payment_plugin( 'CardOffLine' ); + require_once( dirname( __FILE__ ) . '/plugins/authorize.net/AuthorizeNet.class.php' ); + tcp_register_payment_plugin( 'AuthorizeNet' ); + } + + function activate_plugin() { + global $wp_version; + if ( version_compare( $wp_version, '3.0', '<' ) ) { + exit( __( 'TheCartPress requires WordPress version 3.0 or newer.', 'tcp' ) ); + } + require_once( dirname( __FILE__ ) . '/daos/RelEntities.class.php' ); + RelEntities::createTable(); + require_once( dirname( __FILE__ ) . '/daos/Addresses.class.php' ); + Addresses::createTable(); + require_once( dirname( __FILE__ ) . '/daos/Taxes.class.php' ); + Taxes::createTable(); + require_once( dirname( __FILE__ ) . '/daos/TaxRates.class.php' ); + TaxRates::createTable(); + TaxRates::initData(); + require_once( dirname( __FILE__ ) . '/daos/Countries.class.php' ); + Countries::createTable(); + Countries::initData(); + require_once( dirname( __FILE__ ) . '/daos/Orders.class.php' ); + Orders::createTable(); + require_once( dirname( __FILE__ ) . '/daos/OrdersDetails.class.php' ); + OrdersDetails::createTable(); + require_once( dirname( __FILE__ ) . '/daos/OrdersCosts.class.php' ); + OrdersCosts::createTable(); + require_once( dirname( __FILE__ ) . '/daos/Currencies.class.php' ); + Currencies::createTable(); + Currencies::initData(); + //Pages: shopping cart and checkout + $shopping_cart_page_id = get_option( 'tcp_shopping_cart_page_id' ); + if ( ! $shopping_cart_page_id || ! get_page( $shopping_cart_page_id ) ) + $shopping_cart_page_id = TheCartPress::createShoppingCartPage(); + else + wp_publish_post( (int)$shopping_cart_page_id ); + $page_id = get_option( 'tcp_checkout_page_id' ); + if ( ! $page_id || ! get_page( $page_id ) ) + TheCartPress::createCheckoutPage( $shopping_cart_page_id ); + else + wp_publish_post( (int)$page_id ); + //initial shipping and payment method + add_option( 'tcp_plugins_data_shi_FreeTrans', array( + array( + 'active' => true, + 'all_countries' => 'yes', + 'countries' => array(), + 'new_status' => 'PENDING', + 'minimun' => 0, + ), + ) + ); + add_option( 'tcp_plugins_data_pay_Remboursement', array( + array( + 'active' => true, + 'all_countries' => 'yes', + 'countries' => array(), + 'new_status' => 'PROCESSING', + 'notice' => 'Cash on delivery! (5%)', + 'percentage' => 5, + ), + ) + ); + if ( ! get_option( 'tcp_shortcodes_data' ) ) + add_option( 'tcp_shortcodes_data', array( array( + 'id' => 'all_products', + 'title' => '', + 'desc' => 'List of all products', + 'post_type' => 'tcp_product', + 'use_taxonomy' => false, + 'taxonomy' => 'tcp_product_category', + 'included' => array(), + 'term' => '', //'tables', + 'loop' => '', + 'columns' => 2, + 'see_title' => true, + 'see_image' => false, + 'image_size' => 'thumbnail', + 'see_content' => false, + 'see_excerpt' => true, + 'see_author' => false, + 'see_meta_data' => false, + 'see_meta_utilities' => false, + 'see_price' => false, + 'see_buy_button' => false, + 'see_first_custom_area' => false, + 'see_second_custom_area'=> false, + 'see_third_custom_area' => false, + ) ) ); + if ( ! get_option( 'tcp_settings' ) ) { + $this->settings = array( + 'legal_notice' => __( 'Checkout notice', 'tcp' ), + 'stock_management' => false, + 'disable_shopping_cart' => false, + 'user_registration' => false, + 'see_buy_button_in_content' => true, + 'see_buy_button_in_excerpt' => false, + 'see_price_in_content' => false, + 'see_price_in_excerpt' => true, + 'downloadable_path' => WP_PLUGIN_DIR . '/thecartpress/uploads', + 'load_default_styles' => true, + 'search_engine_activated' => true, + 'currency' => 'EUR', + 'decimal_point' => '.', + 'thousands_separator' => ',', + 'unit_weight' => 'gr', + 'product_rewrite' => 'product', + 'category_rewrite' => 'product_category', + 'tag_rewrite' => 'product_tag', + 'supplier_rewrite' => 'product_supplier', + 'hide_visibles' => false,//hide_invisibles!! + ); + add_option( 'tcp_settings', $this->settings ); + } + //TheCartPRess::createExampleData(); + //Roles & capabilities + add_role( 'customer', __( 'Customer', 'tcp' ) ); + $customer = get_role( 'customer' ); + $customer->add_cap( 'tcp_read_orders' ); + $customer->add_cap( 'tcp_edit_addresses' ); + $customer->add_cap( 'tcp_downloadable_products' ); + $subscriber = get_role( 'subscriber' ); + if ( $subscriber ) { + $caps = (array)$subscriber->capabilities; + foreach( $caps as $cap => $grant ) + if ( $grant ) $customer->add_cap( $cap ); + } + $administrator = get_role( 'administrator' ); + $administrator->add_cap( 'tcp_edit_product' ); + $administrator->add_cap( 'tcp_edit_products' ); + $administrator->add_cap( 'tcp_edit_others_products' ); + $administrator->add_cap( 'tcp_publish_products' ); + $administrator->add_cap( 'tcp_read_product' ); + $administrator->add_cap( 'tcp_delete_product' ); + $administrator->add_cap( 'tcp_users_roles' ); + $administrator->add_cap( 'tcp_edit_orders' ); + $administrator->add_cap( 'tcp_read_orders' ); + $administrator->add_cap( 'tcp_edit_settings' ); + $administrator->add_cap( 'tcp_edit_plugins' ); + $administrator->add_cap( 'tcp_update_price' ); + $administrator->add_cap( 'tcp_update_stock' ); + $administrator->add_cap( 'tcp_downloadable_products' ); + $administrator->add_cap( 'tcp_edit_addresses' ); + $administrator->add_cap( 'tcp_edit_taxes' ); + $administrator->add_cap( 'tcp_shortcode_generator' ); + add_role( 'merchant', __( 'Merchant', 'tcp' ) ); + $merchant = get_role( 'merchant' ); + $merchant->add_cap( 'tcp_edit_product' ); + $merchant->add_cap( 'tcp_edit_products' ); + $merchant->add_cap( 'tcp_edit_others_products' ); + $merchant->add_cap( 'tcp_publish_products' ); + $merchant->add_cap( 'tcp_read_product' ); + $merchant->add_cap( 'tcp_delete_product' ); + $merchant->add_cap( 'tcp_edit_orders' ); + $merchant->add_cap( 'tcp_read_orders' ); + $merchant->add_cap( 'tcp_update_price' ); + $merchant->add_cap( 'tcp_update_stock' ); + $merchant->add_cap( 'tcp_edit_addresses' ); + $merchant->add_cap( 'tcp_downloadable_products' ); + $merchant->add_cap( 'tcp_users_roles' ); + $merchant->add_cap( 'tcp_edit_settings' ); + $merchant->add_cap( 'tcp_edit_plugins' ); + $merchant->add_cap( 'tcp_edit_taxes' ); + $merchant->add_cap( 'tcp_shortcode_generator' ); + $editor = get_role( 'editor' ); + if ( $editor ) { + $caps = (array)$editor->capabilities; + foreach( $caps as $cap => $grant ) + if ( $grant ) { + $merchant->add_cap( $cap ); + } + } + } + + static function createShoppingCartPage() { + $post = array( + 'comment_status' => 'closed', + 'post_content' => '[tcp_shopping_cart]', + 'post_status' => 'publish', + 'post_title' => __( 'Shopping cart','tcp' ), + 'post_type' => 'page', + ); + $shopping_cart_page_id = wp_insert_post( $post ); + update_option( 'tcp_shopping_cart_page_id', $shopping_cart_page_id ); + return $shopping_cart_page_id; + } + + static function createCheckoutPage( $shopping_cart_page_id = 0 ) { + $post = array( + 'comment_status' => 'closed', + 'post_content' => '[tcp_checkout]', + 'post_status' => 'publish', + 'post_title' => __( 'Checkout','tcp' ), + 'post_type' => 'page', + 'post_parent' => $shopping_cart_page_id, + ); + $checkout_page_id = wp_insert_post( $post ); + update_option( 'tcp_checkout_page_id', $checkout_page_id ); + return $checkout_page_id; + } + + static function createExampleData() { + $products = wp_count_posts( 'tcp_product' ); + if ( $products->publish + $products->draft == 0 ) { + $args = array( + 'cat_name' => __( 'Category One', 'tcp' ), + 'category_description' => __( 'Category One for Product One', 'tcp' ), + 'taxonomy' => 'tcp_product_category', + ); + $post = array( + 'post_content' => 'Product One content, where you can read the best features of the Product One.', + 'post_status' => 'publish', + 'post_title' => __( 'Product One','tcp' ), + 'post_type' => 'tcp_product', + ); + $post_id = wp_insert_post( $post ); + add_post_meta( $post_id, 'tcp_tax_id', 0 ); + add_post_meta( $post_id, 'tcp_tax', 0 ); + add_post_meta( $post_id, 'tcp_tax_label', '' ); + add_post_meta( $post_id, 'tcp_is_visible', true ); + add_post_meta( $post_id, 'tcp_is_downloadable', false ); + add_post_meta( $post_id, 'tcp_type', 'SIMPLE' ); + add_post_meta( $post_id, 'tcp_price', 100 ); + add_post_meta( $post_id, 'tcp_weight', 12 ); + add_post_meta( $post_id, 'tcp_order', 10 ); + add_post_meta( $post_id, 'tcp_sku', 'SKU_ONE' ); + add_post_meta( $post_id, 'tcp_stock', -1 ); //No stock + //$category_id = wp_insert_category( $args ); + $category_id = term_exists( 'Category One', 'tcp_product_category' ); + if ( ! $category_id ) { + $category_id = wp_insert_term( 'Category One', 'tcp_product_category', $args ); + } + wp_set_object_terms( $post_id, (int)$category_id->term_id, 'tcp_product_category' ); + } + } + + function deactivate_plugin() { + //delete pages + $id = get_option( 'tcp_shopping_cart_page_id' ); + wp_delete_post( $id ); + $id = get_option( 'tcp_checkout_page_id' ); + wp_delete_post( $id ); + //remove roles + remove_role( 'customer' ); + remove_role( 'merchant' ); + } + + function admin_init() { + $this->checkThePlugin(); + } + + function loadSettings() { + $this->settings = get_option( 'tcp_settings' ); + } + + function init() { + if ( function_exists( 'load_plugin_textdomain' ) ) + load_plugin_textdomain( 'tcp', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' ); + new ProductCustomPostType(); + new TemplateCustomPostType(); + wp_register_script( 'tcp_scripts', plugins_url( 'thecartpress/js/tcp_admin_scripts.js' ) ); + //wp_register_script( 'tcp_jquery_validate', plugins_url( 'thecartpress/js/jquery.validate.min.js' ) ); + if ( is_admin() ) { + wp_enqueue_script( 'tcp_scripts' ); + //wp_enqueue_script( 'tcp_jquery_validate' ); + } else { + wp_enqueue_script( 'jquery' ); + wp_enqueue_script( 'tcp_scripts' ); + } + $load_default_styles = isset( $this->settings['load_default_styles'] ) ? $this->settings['load_default_styles'] : true; + if ( $load_default_styles ) + wp_enqueue_style( 'tcp_style', plugins_url( 'thecartpress/css/tcp_base.css' ) ); + + //feed + //http://localhost//?feed=tcp-products + add_feed( 'tcp-products', array( $this, 'registerProductsFeed' ) ); + global $wp_rewrite; + add_action( 'generate_rewrite_rules', array( $this, 'rewriteRules' ) ); + $wp_rewrite->flush_rules(); + $version = (int)get_option( 'tcp_version', 0 ); + if ( $version < 104 ) { + // + //TODO Deprecated 1.1 + // + global $wpdb; + $sql = 'update ' . $wpdb->prefix .'term_taxonomy set taxonomy=\'tcp_product_supplier\' + where taxonomy=\'tcp_product_supplier_tag\''; + $wpdb->query( $sql ); + + $posts = get_posts( array( 'post_type' => 'tcp_product', 'numberposts' => -1 ) ); + if ( is_array( $posts ) && count( $posts ) > 0 ) { + foreach( $posts as $post ) { + $order = tcp_get_the_order( $post->ID ); + if ( $order == 0 ) + update_post_meta( $post->ID, 'tcp_order', 0 ); + } + } + $count = $wpdb->get_var( 'select count(*) from ' . $wpdb->prefix . 'tcp_countries' ); + if ( $count == 234 ) { + $sql = 'INSERT INTO `' . $wpdb->prefix . 'tcp_countries` VALUES (\'YT\',\'MAYOTTE\',\'MAYOTTE\',\'MAYOTTE\',\'MAYOTTE\',\'MAYOTTE\',\'MYT\',175 ,0 ,0 ,0), + (\'ZA\',\'SOUTH AFRICA\',\'SOUTH AFRICA\',\'SUDÁFRICA\',\'SÜDAFRIKA, REPUBLIK\',\'AFRIQUE DU SUD\',\'ZAF\',710 ,0 ,0 ,0), + (\'ZM\',\'ZAMBIA\',\'ZAMBIA\',\'ZAMBIA\',\'SAMBIA\',\'ZAMBIE\',\'ZMB\',894 ,0 ,0 ,0), + (\'ZW\',\'ZIMBABWE\',\'ZIMBABWE\',\'ZIMBABUE\',\'SIMBABWE\',\'ZIMBABWE\',\'ZWE\',716 ,0 ,0 ,0);'; + $wpdb->query( $sql ); + } + // + //TODO Deprecated 1.1 + // + update_option( 'tcp_version', 104 ); + } + if ( $version < 105 ) { + // + //TODO Deprecated 1.1 + // + global $wpdb; + $sql = 'ALTER TABLE `'. $wpdb->prefix . 'tcp_orders` + MODIFY COLUMN `shipping_email` VARCHAR(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL, + MODIFY COLUMN `billing_email` VARCHAR(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL'; + $wpdb->query( $sql ); + $sql = 'ALTER TABLE `'. $wpdb->prefix . 'tcp_addresses` + MODIFY COLUMN `email` VARCHAR(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL'; + $wpdb->query( $sql ); + remove_role( 'super_merchant' ); + + $this->settings['product_rewrite'] = 'product'; + $this->settings['category_rewrite'] = 'category'; + $this->settings['tag_rewrite'] = 'tag'; + $this->settings['supplier_rewrite'] = 'supplier'; + update_option( 'tcp_settings', $this->settings ); + add_option( 'tcp_shortcodes_data', array( array( + 'id' => 'all_products', + 'title' => '', + 'desc' => 'List of all products', + 'post_type' => 'tcp_product', + 'use_taxonomy' => false, + 'taxonomy' => 'tcp_product_category', + 'included' => array(), + 'term' => '', //'tables', + 'loop' => '', + 'columns' => 2, + 'see_title' => true, + 'see_image' => false, + 'image_size' => 'thumbnail', + 'see_content' => false, + 'see_excerpt' => true, + 'see_author' => false, + 'see_meta_data' => false, + 'see_meta_utilities' => false, + 'see_price' => false, + 'see_buy_button' => false, + 'see_first_custom_area' => false, + 'see_second_custom_area'=> false, + 'see_third_custom_area' => false, + ) ) ); + update_option( 'tcp_version', 105 ); + update_option( 'tcp_version', 106 ); + // + //TODO Deprecated 1.1 + // + } + if ( $version < 107 ) { + // + //TODO Deprecated 1.1 + // + $this->settings['decimal_point'] = '.'; + $this->settings['thousands_separator'] = ','; + update_option( 'tcp_settings', $this->settings ); + global $wpdb; + $sql = 'ALTER TABLE `' . $wpdb->prefix . 'tcp_orders` + MODIFY COLUMN `shipping_city_id` char(4) NOT NULL DEFAULT \'\', + MODIFY COLUMN `shipping_region_id` char(2) NOT NULL DEFAULT \'\', + MODIFY COLUMN `billing_city_id` char(4) NOT NULL DEFAULT \'\', + MODIFY COLUMN `billing_region_id` char(2) NOT NULL DEFAULT \'\';'; + $wpdb->query( $sql ); + $sql = 'ALTER TABLE `' . $wpdb->prefix . 'tcp_addresses` + MODIFY COLUMN `city_id` char(4) NOT NULL DEFAULT \'\', + MODIFY COLUMN `region_id` char(2) NOT NULL DEFAULT \'\';'; + $wpdb->query( $sql ); + $sql = 'ALTER TABLE `' . $wpdb->prefix . 'tcp_orders` MODIFY COLUMN `payment_name` VARCHAR(255) NOT NULL;'; + $wpdb->query( $sql ); + require_once( dirname( __FILE__ ) . '/daos/OrdersCosts.class.php' ); + OrdersCosts::createTable(); + update_option( 'tcp_version', 107 ); + // + //TODO Deprecated 1.1 + // + } + if ( $version < 108 ) { + if ( strlen( $this->settings['downloadable_path'] ) == 0 ) $this->settings['downloadable_path'] = WP_PLUGIN_DIR . '/thecartpress/uploads'; + update_option( 'tcp_settings', $this->settings ); + update_option( 'tcp_version', 108 ); + // + //TODO Deprecated 1.1 + // + + } + if ( $version < 109 ) { + global $wpdb; + $sql = 'SHOW COLUMNS FROM ' . $wpdb->prefix . 'tcp_taxes WHERE field = \'tax\''; + $row = $wpdb->get_row( $sql ); + if ( $row ) { + $sql = 'DROP TABLE ' . $wpdb->prefix . 'tcp_taxes;'; + $wpdb->get_row( $sql ); + require_once( dirname( __FILE__ ) . '/daos/Taxes.class.php' ); + Taxes::createTable(); + } + require_once( dirname( __FILE__ ) . '/daos/TaxRates.class.php' ); + TaxRates::createTable(); + TaxRates::initData(); + $sql = 'delete FROM ' . $wpdb->prefix . 'postmeta where meta_key = \'tcp_tax_label\' or meta_key = \'tcp_tax\''; + $wpdb->query( $sql ); + $sql = 'SHOW COLUMNS FROM ' . $wpdb->prefix . 'tcp_orders_costs WHERE field = \'tax\''; + $row = $wpdb->get_row( $sql ); + if ( ! $row ) { + $sql = 'ALTER TABLE ' . $wpdb->prefix . 'tcp_orders_costs ADD COLUMN `tax` float UNSIGNED NOT NULL DEFAULT 0 AFTER `cost`'; + $wpdb->query( $sql ); + } + $sql = 'SHOW COLUMNS FROM ' . $wpdb->prefix . 'tcp_orders WHERE field = \'ip\''; + $row = $wpdb->get_row( $sql ); + if ( ! $row ) { + $sql = 'ALTER TABLE ' . $wpdb->prefix . 'tcp_orders ADD COLUMN ip VARCHAR(20) NOT NULL AFTER customer_id;'; + $wpdb->query( $sql ); + } + update_option( 'tcp_version', 109 ); + // + //TODO Deprecated 1.1 + // + } + } + + /** + * Allows to generate the xml for thecartpress search engine + */ + function registerProductsFeed() { + require_once( dirname( __FILE__ ) . '/classes/FeedForSearchEngine.class.php' ); + $feedForSearchEngine = new FeedForSearchEngine(); + $feedForSearchEngine->generateXML(); + } + + function rewriteRules( $wp_rewrite ) { + $new_rules = array( + 'feed/(.+)' => 'index.php?feed=' . $wp_rewrite->preg_index( 1 ) + ); + $wp_rewrite->rules = $new_rules + $wp_rewrite->rules; + } + + //TheCartPress hooks + function tcp_the_currency( $currency ) { + if ( $currency == 'EUR' ) + return '€'; + elseif ( $currency == 'CHF' ) + return 'SFr.'; + elseif ( $currency == 'GBP' ) + return '£'; + elseif ( $currency == 'USD' ) + return '$'; + elseif ( $currency == 'JPY' ) + return '¥'; + elseif ( $currency == 'IRR' ) + return 'ریال'; + else + return $currency; + } + + function tcp_show_settings() {?> + diff --git a/src/wp-content/plugins/thecartpress/admin/AddressEdit.php b/src/wp-content/plugins/thecartpress/admin/AddressEdit.php new file mode 100644 index 0000000..89b1210 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/admin/AddressEdit.php @@ -0,0 +1,250 @@ +. + */ +require_once( dirname( dirname( __FILE__ ) ) . '/daos/Addresses.class.php' ); + +$address_id = isset( $_REQUEST['address_id'] ) ? $_REQUEST['address_id'] : '0'; + +global $current_user; +get_currentuserinfo(); +$customer_id = $current_user->ID; +if ( $address_id > 0 && $customer_id > 0 && ! Addresses::isOwner( $address_id, $current_user->ID ) ) + wp_die( __( 'You do not have sufficient permissions to access this page.' ) ); + +require_once( dirname( dirname( __FILE__ ) ) . '/daos/Countries.class.php' ); + +//array( 'id' => array( 'name', ), 'id' => array( 'name', ), ... ) +$regions = apply_filters( 'tcp_address_editor_load_regions', false ); +$error_address = array(); + +if ( isset( $_REQUEST['tcp_save_address'] ) ) { + if ( ! isset( $_REQUEST['name'] ) || strlen( $_REQUEST['name'] ) == 0 ) + $error_address['name'][] = __( 'The Name field must be completed', 'tcp' ); + if ( ! isset( $_REQUEST['firstname'] ) || strlen( $_REQUEST['firstname'] ) == 0 ) + $error_address['firstname'][] = __( 'The Firstname field must be completed', 'tcp' ); + if ( ! isset( $_REQUEST['lastname'] ) || strlen( $_REQUEST['lastname'] ) == 0 ) + $error_address['lastname'][] = __( 'The Lastname field must be completed', 'tcp' ); + if ( ! isset( $_REQUEST['street'] ) || strlen( $_REQUEST['street'] ) == 0 ) + $error_address['street'][] = __( 'The Street field must be completed', 'tcp' ); + if ( ! isset( $_REQUEST['city'] ) || strlen( $_REQUEST['city'] ) == 0 ) + if ( ! isset( $_REQUEST['city_id'] ) ) { + $error_address['city'][] = __( 'The City field must be completed', 'tcp' ); + $error_address['city_id'][] = __( 'The City field must be completed', 'tcp' ); + } else { + $_REQUEST['city'] = $regions[$_REQUEST['city_id']]['name']; + } + if ( ! isset( $_REQUEST['region'] ) || strlen( $_REQUEST['region'] ) == 0 ) + if ( ! isset( $_REQUEST['region_id'] ) ) { + $error_address['region'][] = __( 'The Region field must be completed', 'tcp' ); + $error_address['region_id'][] = __( 'The Region field must be completed', 'tcp' ); + } else { + $_REQUEST['region'] = $regions[$_REQUEST['region_id']]['name']; + } + if ( ! isset( $_REQUEST['postcode'] ) || strlen( $_REQUEST['postcode'] ) == 0 ) + $error_address['postcode'][] = __( 'The Postcode field must be completed', 'tcp' ); + if ( ! isset( $_REQUEST['email'] ) || strlen( $_REQUEST['email'] ) == 0 ) + $error_address['email'][] = __( 'The eMail field must be completed', 'tcp' ); + $has_validation_error = count( $error_address ) > 0; + + if ( ! $has_validation_error ) { + $_REQUEST['customer_id'] = $customer_id; + if ( ! isset( $_REQUEST['city'] ) ) $_REQUEST['city'] = ''; + if ( ! isset( $_REQUEST['city_id'] ) ) $_REQUEST['city_id'] = ''; + if ( ! isset( $_REQUEST['region'] ) ) $_REQUEST['region'] = ''; + if ( ! isset( $_REQUEST['region_id'] ) ) $_REQUEST['region_id'] = ''; + if ( ! isset( $_REQUEST['default_billing'] ) ) $_REQUEST['default_billing'] = ''; + if ( ! isset( $_REQUEST['default_shipping'] ) ) $_REQUEST['default_shipping'] = ''; + Addresses::save( $_REQUEST );?> +

    + +

    +

    + +

    0 ) { + $address = Addresses::get( $address_id ); +} +$admin_path = 'admin.php?page=' . plugin_basename( dirname( dirname( __FILE__ ) ) ) . '/admin/'; + +function tcp_show_error_msg( $error_array, $id ) { + if ( isset( $error_array[$id] ) ) + //foreach($error_shipping[$id] ) + echo '', $error_array[$id][0], ''; +} + +function tcp_get_value( $id, $echo = true ) { + $res = ''; + if ( isset( $_REQUEST[$id] ) ) + $res = $_REQUEST[$id]; + else { + global $address; + if ( isset( $address->$id ) ) + $res = $address->$id; + } + if ( $echo ) + echo $res; + else + return $res; +} +?> + +
    +

    +
      +
    • +
    +
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + +
    + +
    + +
    + +
    + + + + 0 ) echo 'style="display:none;"';?>/> + + +
    + array( 'name'), 'id' => array( 'name'), ... ) + $cities = apply_filters( 'tcp_address_editor_load_cities', $cities ); + if ( is_array( $cities ) && count( $cities ) > 0 ) : ?> + + + + + + +
    + +
    + +
    + +
    + +
    + +
    + +
    + /> +
    + /> +
    + +

    + +

    +
    +
    diff --git a/src/wp-content/plugins/thecartpress/admin/AddressesList.php b/src/wp-content/plugins/thecartpress/admin/AddressesList.php new file mode 100644 index 0000000..4531e98 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/admin/AddressesList.php @@ -0,0 +1,98 @@ +. + */ + +require_once( dirname( dirname( __FILE__ ) ) . '/daos/Addresses.class.php' ); + +$admin_path = 'admin.php?page=' . plugin_basename( dirname( dirname( __FILE__ ) ) ) . '/admin/'; + +if ( is_user_logged_in() ) { + global $current_user; + get_currentuserinfo(); + if ( isset( $_REQUEST['tcp_delete_address'] ) ) { + $address_id = isset( $_REQUEST['address_id'] ) ? $_REQUEST['address_id'] : 0; + if ( $address_id > 0 && Addresses::isOwner( $address_id, $current_user->ID ) ) { + Addresses::delete( $address_id );?> +

    + +

    ID ); +} else + wp_die( __( 'You do not have sufficient permissions to access this page.' ) ); +?> +
    + +

    +
      +
    • +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + default_shipping == 'Y' ) $default = __( 'Shipping', 'tcp' ); + else $default = ''; + if ( $address->default_billing == 'Y' ) $default .= ' ' . __( 'Billing', 'tcp' );?> + + + + + +
     
     
    name;?>firstname, ' ', $address->lastname;?>street, ' ', $address->city, ' (', $address->region, ')';?> +
    |
    + +
    + +
    diff --git a/src/wp-content/plugins/thecartpress/admin/AdminBarConfig.php b/src/wp-content/plugins/thecartpress/admin/AdminBarConfig.php new file mode 100644 index 0000000..adcba62 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/admin/AdminBarConfig.php @@ -0,0 +1,61 @@ +. + */ +?> +
    +

    +
      +
    +
    + +
    + + +initialize(); + $wp_admin_bar->add_menus(); + do_action( 'admin_bar_menu' ); + $menu_bar = $wp_admin_bar->menu; + foreach( $menu_bar as $id => $menu ) : ?> + + + $menu_item ) + if ( $id == 'children' ) + foreach( $menu_item as $id => $item ) : ?> + + + + +
    + /> +
    + /> +
    +

    +
    diff --git a/src/wp-content/plugins/thecartpress/admin/AssignedProductsList.php b/src/wp-content/plugins/thecartpress/admin/AssignedProductsList.php new file mode 100644 index 0000000..a7b3136 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/admin/AssignedProductsList.php @@ -0,0 +1,267 @@ +. + */ + +require_once( dirname( dirname( __FILE__ ) ).'/daos/RelEntities.class.php' ); + +$post_id = isset( $_REQUEST['post_id'] ) ? $_REQUEST['post_id'] : 0; +$rel_type = isset( $_REQUEST['rel_type'] ) ? $_REQUEST['rel_type'] : ''; +$post_type_to = isset( $_REQUEST['post_type_to'] ) ? $_REQUEST['post_type_to'] : 'tcp_product'; +$category_slug = isset( $_REQUEST['category_slug'] ) ? $_REQUEST['category_slug'] : false; +$products_type = isset( $_REQUEST['products_type'] ) ? $_REQUEST['products_type'] : false; +global $thecartpress; +$show_back_end_label = isset( $thecartpress->settings['show_back_end_label'] ) ? $thecartpress->settings['show_back_end_label'] : false; +if ( isset( $_REQUEST['tcp_create_relation'] ) ) { + $post_id_to = isset( $_REQUEST['post_id_to'] ) ? $_REQUEST['post_id_to'] : 0; + $units = isset( $_REQUEST['units'] ) ? (int)$_REQUEST['units'] : 0; + $list_order = isset( $_REQUEST['list_order'] ) ? (int)$_REQUEST['list_order'] : 0; + if ( $post_id_to > 0 ) { + RelEntities::insert( $post_id, $post_id_to, $rel_type, $list_order, $units );?> +

    + +

    0 ) { + RelEntities::delete( $post_id, $post_id_to, $rel_type );?> +

    + +

    +

    + +

    +

    + +

    +
    + +

     post_title;?>

    +
      +
    • +
    •  | 
    • + +
    • + + +
    • +
    •  | 
    • +
    • +
    + +
    + + + + + + + + + + + + + + + + + + + 0 ): + foreach( $assigned_list as $assigned ) : $assigned_post = get_post( $assigned->id_to );?> + + + + + + + + + + + + + +
     
     
    post_title;?>id_to );?>id_to, 'tcp_back_end_label', true ); + else echo $assigned_post->post_excerpt;?> +
    + +  |  + + + +  |  + + + id_to );?> +
    +
    + +
    +
    + + + + +
    +
    + + + + + + + + + + + + + + + + + + + + id_to; + $args = array ( + 'post_type' => $post_type_to, + 'post__not_in' => $ids, + 'posts_per_page' => -1, + ); + if ( $post_type_to == 'tcp_product' ) { + $args['meta_key'] = 'tcp_type'; + $args['meta_value'] = $products_type; + $args['tcp_product_category'] = $category_slug; + } else { + $args['cat_in'] = array( $category_slug ); + } + $query = new WP_query( $args ); + if ( $query->have_posts() ) : + while ( $query->have_posts() ) : $query->the_post();?> + + + + + + + + + + + + + + + + + +
     
     
    +
    +
    + + + + + + + + + | + + +
    +
    +
    +
    + + diff --git a/src/wp-content/plugins/thecartpress/admin/Checking.php b/src/wp-content/plugins/thecartpress/admin/Checking.php new file mode 100644 index 0000000..a6ec6db --- /dev/null +++ b/src/wp-content/plugins/thecartpress/admin/Checking.php @@ -0,0 +1,35 @@ +
    +

    +
      +
    +
    +settings['disable_shopping_cart'] ) ? $thecartpress->settings['disable_shopping_cart'] : false; +if ( ! $disable_shopping_cart ) : + $warnings_msg = array(); + $shopping_cart_page_id = get_option( 'tcp_shopping_cart_page_id' ); + if ( ! $shopping_cart_page_id || ! get_page( $shopping_cart_page_id ) ) { + $shopping_cart_page_id = TheCartPress::createShoppingCartPage(); + $warnings_msg[] = __( 'The Shopping Cart page has been created', 'tcp' ); + } + $page_id = get_option( 'tcp_checkout_page_id' ); + if ( ! $page_id || ! get_page( $page_id ) ) { + TheCartPress::createCheckoutPage( $shopping_cart_page_id ); + $warnings_msg[] = __( 'The Checkout page has been created', 'tcp' ); + } + if ( count( $warnings_msg ) > 0 ) : ?> +
      + +
    • + +
    +

    + + +

    + +
    diff --git a/src/wp-content/plugins/thecartpress/admin/DownloadableList.php b/src/wp-content/plugins/thecartpress/admin/DownloadableList.php new file mode 100644 index 0000000..b749426 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/admin/DownloadableList.php @@ -0,0 +1,62 @@ +. + */ + +require_once( dirname( dirname( __FILE__ ) ) . '/daos/Orders.class.php' ); +?> + +
    + +

    +
    + +ID ); +if ( is_array( $orders ) && count( $orders ) > 0 ) { + $path = get_bloginfo('url') . '/wp-content/plugins/' . plugin_basename(dirname(__FILE__)) . '/'; + //$path = 'admin.php?page=' . plugin_basename( dirname( dirname( __FILE__ ) ) ) . '/admin/'; + $max_date = date( 'Y-m-d', mktime( 0, 0, 0, 1, 1, 2000 ) ); + + foreach( $orders as $order ) {?> +
    +
      +
    • post_id );?>
    • +
    • post_id );?>
    • + expires_at != $max_date ) : ?> +
    • expires_at );?>
    • + + max_downloads > -1 ) : ?> +
    • max_downloads );?>
    • + +
    +
    + +
    diff --git a/src/wp-content/plugins/thecartpress/admin/OrderEdit.php b/src/wp-content/plugins/thecartpress/admin/OrderEdit.php new file mode 100644 index 0000000..fbee659 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/admin/OrderEdit.php @@ -0,0 +1,193 @@ +. + */ + +require_once( dirname( dirname( __FILE__ ) ) . '/daos/Orders.class.php' ); +require_once( dirname( dirname( __FILE__ ) ) . '/classes/OrderPage.class.php' ); + +$admin_path = 'admin.php?page=' . plugin_basename( dirname( dirname( __FILE__ ) ) ) . '/admin/'; + +$order_id = isset( $_REQUEST['order_id'] ) ? $_REQUEST['order_id'] : ''; +$status = isset( $_REQUEST['status'] ) ? $_REQUEST['status'] : ''; + +if ( isset( $_REQUEST['tcp_order_edit'] ) && current_user_can( 'tcp_edit_orders' ) ) { + Orders::edit( $order_id, $_REQUEST['new_status'], $_REQUEST['code_tracking'], $_REQUEST['comment'], $_REQUEST['comment_internal'] ); + do_action( 'tcp_admin_order_editor_save', $order_id );?> +

    + +

    +

    + +

    +

    + billing_email; + else + $to = $order->shipping_email; + $from = isset( $thecartpress->settings['from_email'] ) && strlen( $thecartpress->settings['from_email'] ) > 0 ? $thecartpress->settings['from_email'] : 'no-response@thecartpress.com'; + $headers = 'MIME-Version: 1.0' . "\r\n"; + $headers .= 'Content-type: text/html; charset=utf-8' . "\r\n"; + $headers .= 'To: ' . $to . "\r\n"; + $headers .= 'From: ' . $from . "\r\n"; + $subject = 'Order from '.get_bloginfo( 'name' ); + $message = OrderPage::show( $order_id, true, false ); + $message_to_customer = apply_filters( 'tcp_send_order_mail_to_customer', $message, $order_id ); + mail( $to, $subject, $message_to_customer, $headers );?> +

    + +

    + +
    + +

    +
      +
    • +billing_email ) > 0 ) : ?> +
    •  | 
    • +
    • + +shipping_email ) > 0 ) : ?> +
    •  | 
    • +
    • + + 0 ) : ?> +
    •  | 
    • +
    • + +
    + +
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + + customer_id ); + if ( $user_data ) + echo $user_data->user_nicename, '<', $user_data->user_email, '>'; + else + echo $order->billing_email;?>
    + + created_at;?>
    + + payment_name;?>
    + + ip;?>
    + + + +
    + + + +
    + + + +
    + + + +
    +

    + + status == Orders::$ORDER_SUSPENDED || $order->status == Orders::$ORDER_CANCELLED ) :?> +

    + + +

    + + +
    diff --git a/src/wp-content/plugins/thecartpress/admin/OrdersList.php b/src/wp-content/plugins/thecartpress/admin/OrdersList.php new file mode 100644 index 0000000..3d60809 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/admin/OrdersList.php @@ -0,0 +1,198 @@ +. + */ + +require_once( dirname( dirname( __FILE__ ) ).'/daos/Orders.class.php' ); +require_once( dirname( dirname( __FILE__ ) ).'/daos/OrdersCosts.class.php' ); +require_once( dirname( dirname( __FILE__ ) ).'/classes/OrderPage.class.php' ); + +$admin_path = 'admin.php?page=' . plugin_basename( dirname( dirname( __FILE__ ) ) ) . '/admin/'; + +$status = isset( $_REQUEST['status'] ) ? $_REQUEST['status'] : ''; + +if ( is_user_logged_in() ) + if ( current_user_can( 'tcp_edit_orders' ) ) { + if ( isset( $_REQUEST['tcp_quick_order_edit'] ) ) { + Orders::quickEdit( $_REQUEST['order_id'], $_REQUEST['new_status'], $_REQUEST['new_code_tracking'] );?> +

    + +

    ID ); + } +else return; + +$orders = array(); +if ( is_array( $orders_db ) && count( $orders_db ) > 0 ) + foreach( $orders_db as $order ) { + $orders[] = array( + 'order_id' => $order->order_id, + 'date' => $order->created_at, + 'user' => $order->shipping_firstname . ' ' . $order->shipping_lastname, + 'user_id' => $order->customer_id, + 'status' => $order->status, + //'total' => ($order->price * (1 + $order->tax / 100)) * $order->qty_ordered + $order->shipping_amount + $order->payment_amount + OrdersCosts::getTotalCost( $order->order_id ) - $order->discount_amount, + 'total' => $order->price * $order->qty_ordered,// + $order->shipping_amount, // + $order->payment_amount + OrdersCosts::getTotalCost( $order->order_id ) - $order->discount_amount, + 'others' => $order->shipping_amount + $order->payment_amount + OrdersCosts::getTotalCost( $order->order_id ) - $order->discount_amount, + 'code_tracking' => $order->code_tracking, + 'payment_name' => $order->payment_name, + 'payment_method'=> $order->payment_method, + 'billing_email' => $order->billing_email, + ); + }?> +
    + +

    + +
    + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $order['order_id'], + 'date' => $order['date'], + 'user' => $order['user'], + 'user_id' => $order['user_id'], + 'status' => $order['status'], + 'payment_name' => $order['payment_name'], + 'payment_method'=> $order['payment_method'], + 'code_tracking' => $order['code_tracking'], + 'total' => $order['total'], + 'billing_email' => $order['billing_email'], + ); + $order_id = $order['order_id']; + $others = $order['others']; + } else { + $order_lines[$order['order_id']]['total'] += $order['total']; + } + endforeach; + if ( $order_id != '' ) $order_lines[$order_id]['total'] += $others; + foreach( $order_lines as $order ) : + $user_data = get_userdata( $order['user_id'] );?> + + + + + + + + + + + + + + + + +
     
     
    user_nicename, ' <', $user_data->user_email, '>]'; else echo ' <', $order['billing_email'], '>';?> + + + 0 ) echo $order['payment_name']; else echo $order['payment_method'];?> + + + +   + +
    + +
    diff --git a/src/wp-content/plugins/thecartpress/admin/PluginEdit.php b/src/wp-content/plugins/thecartpress/admin/PluginEdit.php new file mode 100644 index 0000000..4b2183e --- /dev/null +++ b/src/wp-content/plugins/thecartpress/admin/PluginEdit.php @@ -0,0 +1,184 @@ +. + */ + +require_once( dirname( dirname( __FILE__ ) ) . '/daos/Countries.class.php' ); +require_once( dirname( dirname( __FILE__ ) ) . '/daos/Orders.class.php' ); + +$plugin_id = isset( $_REQUEST['plugin_id'] ) ? $_REQUEST['plugin_id'] : ''; +$plugin_type = isset( $_REQUEST['plugin_type'] ) ? $_REQUEST['plugin_type'] : ''; +$instance = isset( $_REQUEST['instance'] ) ? (int)$_REQUEST['instance'] : 0; + +if ( isset( $_REQUEST['tcp_plugin_save'] ) ) { + $plugin_data = get_option( 'tcp_plugins_data_' . $plugin_id ); + if ( ! $plugin_data ) $plugin_data = array(); + $plugin_data[$instance] = array(); + $plugin_data[$instance]['title'] = isset( $_REQUEST['title'] ) ? $_REQUEST['title'] : ''; + $plugin_data[$instance]['active'] = isset( $_REQUEST['active'] ); + if ( isset( $_REQUEST['all_countries'] ) ) { + $plugin_data[$instance]['all_countries'] = $_REQUEST['all_countries']; + $plugin_data[$instance]['countries'] = array(); + } else { + $plugin_data[$instance]['all_countries'] = ''; + $plugin_data[$instance]['countries'] = isset( $_REQUEST['countries'] ) ? $_REQUEST['countries'] : array(); + } + $plugin_data[$instance]['new_status'] = isset( $_REQUEST['new_status'] ) ? $_REQUEST['new_status'] : Orders::$ORDER_PENDING; + $plugin = tcp_get_plugin( $plugin_id ); + $plugin_data[$instance] = $plugin->saveEditfields( $plugin_data[$instance] ); + $plugin_data = apply_filters( 'tcp_plugin_edit_save', $plugin_data, $instance ); + update_option( 'tcp_plugins_data_' . $plugin_id, $plugin_data );?> +

    + +

    +

    + +

    + +
    +

    : getTitle();?>

    +
      +
    • +
    +
    + +
    + $instance_data ) : + $data_instanced = isset( $plugin_data[$instance_id] ) ? $plugin_data[$instance_id] : array(); + if ( isset( $data_instanced['title'] ) ) { + $title = $data_instanced['title']; + } else { + $title = sprintf( __( 'Instance %d', 'tcp' ), $instance_id ); + } + if ( $instance_id == $instance ) : ?> +  |  + +  |  + + + + +
    + +
    + + + + + + + + + + + + + + + + + + + + > + + + + + showEditFields( $data );?> +
    + + + +
    + + + value="yes" /> +
    + + + + +
    + + + value="yes" + onclick="if (this.checked) jQuery('.sel_countries').hide(); else jQuery('.sel_countries').show();"/> +
    + + + +
    + +
    +
    + + + + + + + + +
    +
    +

    + + +

    +
    +
    diff --git a/src/wp-content/plugins/thecartpress/admin/PluginsList.php b/src/wp-content/plugins/thecartpress/admin/PluginsList.php new file mode 100644 index 0000000..56b25d7 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/admin/PluginsList.php @@ -0,0 +1,98 @@ +. + */ + +$admin_path = 'admin.php?page=' . plugin_basename( dirname( dirname( __FILE__ ) ) ) . '/admin/'; + +$plugin_type = isset( $_REQUEST['plugin_type'] ) ? $_REQUEST['plugin_type'] : ''; + +//if ( ! is_user_logged_in() || ! current_user_can( 'manage_options' ) ) return;?> + +
    +

    +
      +
      + + +
      +
      + +
      +
      + + + + + + + + + + + + + + + + + + + + + $plugin ) : + $tr_class = ''; + $data = tcp_get_plugin_data( $id ); + if ( is_array( $data ) && count( $data ) > 0 ) { + $n_active = 0; + foreach( $data as $instances ) + if ( $instances['active'] ) $n_active++; + $out = sprintf( __( 'No of instances: %d, actives: %d ', 'tcp') , count( $data ), $n_active ); + if ( $n_active > 0 ) + $tr_class = 'class="tcp_active_plugin"'; + } else { + $out = __( 'Not in use', 'tcp' ); + }?> + > + + + + + + +
       
       
      getTitle();?>getDescription();?> + +
      +
      diff --git a/src/wp-content/plugins/thecartpress/admin/PriceUpdate.php b/src/wp-content/plugins/thecartpress/admin/PriceUpdate.php new file mode 100644 index 0000000..8ad642c --- /dev/null +++ b/src/wp-content/plugins/thecartpress/admin/PriceUpdate.php @@ -0,0 +1,152 @@ +. + */ + +require_once( dirname( dirname( __FILE__ ) ).'/daos/RelEntities.class.php' ); + +$per = isset( $_REQUEST['per'] ) ? (int)$_REQUEST['per'] : 0; +$fix = isset( $_REQUEST['fix'] ) ? (int)$_REQUEST['fix'] : 0; +$update_type = isset( $_REQUEST['update_type'] ) ? $_REQUEST['update_type'] : 'per'; +$cat_slug = isset( $_REQUEST['category_slug'] ) ? $_REQUEST['category_slug'] : ''; + +if ( isset( $_REQUEST['tcp_update_price'] ) ) { + $args = array( + 'post_type' => 'tcp_product', + 'tcp_product_category' => $cat_slug , + 'posts_per_page' => -1, + ); + $args = apply_filters( 'tcp_update_price_query_args', $args ); + $query = new WP_query( $args ); + if ( $query->have_posts() ) { + $current_user = wp_get_current_user(); + while ( $query->have_posts() ) { + $post = $query->next_post(); + if ( ! current_user_can( 'tcp_edit_others_products' ) ) + if ( $post->post_author != $current_user->ID) { + die( __( 'This product cannot be modified by the user ', 'tcp' ) ); + } + if ( isset( $_REQUEST['tcp_new_price_' . $post->ID] ) ) { + //$new_price = (float)$_REQUEST['tcp_new_price_' . $post->ID]; + $new_price = $_REQUEST['tcp_new_price_' . $post->ID]; + $new_price = tcp_input_number( $new_price ); + update_post_meta( $post->ID, 'tcp_price', $new_price ); + } + do_action( 'tcp_update_price', $post ); + }?> +

      + +

      +
      +

      +
      + +
      + + + + + + + + + + + + +
      + +
      + /> + + style="display:none;" % +
      + /> + + style="display:none;" +
      +

      + +

      + 0 ) : + $args = array( + 'post_type' => 'tcp_product', + 'tcp_product_category' => $cat_slug , + 'posts_per_page' => -1, + ); + $args = apply_filters( 'tcp_update_price_query_args', $args ); + $query = new WP_query( $args ); + if ( $query->have_posts() ) :?> +
      +

      + + + + + + + + + + + + + + + + + + + have_posts() ) : + $post = $query->next_post(); + $price = tcp_get_the_price( $post->ID ); + if ( $update_type == 'per' ) { + $new_price = $price * (1 + $per / 100); + } else { //fixed + $new_price = $price + $fix; + }?> + + + + + + + + +
       
       
      post_title;?>  
      +
      + +

      + +

      + +
      diff --git a/src/wp-content/plugins/thecartpress/admin/PrintOrder.php b/src/wp-content/plugins/thecartpress/admin/PrintOrder.php new file mode 100644 index 0000000..623383b --- /dev/null +++ b/src/wp-content/plugins/thecartpress/admin/PrintOrder.php @@ -0,0 +1,103 @@ +. + */ +$wordpress_path = dirname( dirname( dirname( dirname( dirname( __FILE__ ) ) ) ) ) . '/'; + +//include_once( $wordpress_path . 'wp-config.php' ); +//include_once( $wordpress_path . 'wp-includes/wp-db.php' ); + +require($wordpress_path . 'wp-blog-header.php'); + +?> + + + +<?php _e( 'Order', 'tcp' );?> + + + + +

      + +  |  + +

      + + diff --git a/src/wp-content/plugins/thecartpress/admin/RelatedCats.php b/src/wp-content/plugins/thecartpress/admin/RelatedCats.php new file mode 100644 index 0000000..156d395 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/admin/RelatedCats.php @@ -0,0 +1,130 @@ +. + */ + +require_once( dirname( dirname( __FILE__ ) ).'/daos/RelEntities.class.php' ); + +$rel_type = isset( $_REQUEST['rel_type'] ) ? $_REQUEST['rel_type'] : 'CAT_POST-CAT_PROD'; + +if ( isset( $_REQUEST['tcp_save_related_categories'] ) ) { + $terms_1_id = $_REQUEST['tcp_term_1_id']; + foreach( $terms_1_id as $term_1_id ) { + RelEntities::deleteAll( $term_1_id, $rel_type ); + $id = 'tcp_term_2_id_' . $term_1_id; + if ( isset( $_REQUEST[$id] ) ) + foreach( $_REQUEST[$id] as $term_2_id ) + if ( $term_2_id > 0) { + RelEntities::insert( $term_1_id, $term_2_id, $rel_type );?> +

      + +

      + +
      +
      + +

      +
        + +
      • + +
      • + +
      • |
      • + +
      • + +
      • + +
      • |
      • + +
      • + +
      • + +
      • |
      • + +
      • + +
      • + +
      +
      + +

      + + + + + + + + + + + + + + + false ) ); + $second_terms = get_terms( $second_taxonomy, array( 'hide_empty' => false ) ); + foreach( $terms as $term ) : + $term_id = tcp_get_default_id( $term->term_id, $taxonomy ); + if ( $term_id != $term->term_id ) continue; ?> + + + + + + +
      name;?> + +
      +

      +
      +
      diff --git a/src/wp-content/plugins/thecartpress/admin/ShortCodeGenerator.php b/src/wp-content/plugins/thecartpress/admin/ShortCodeGenerator.php new file mode 100644 index 0000000..5372e44 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/admin/ShortCodeGenerator.php @@ -0,0 +1,375 @@ +. + */ + +$shortcodes_data = get_option( 'tcp_shortcodes_data' ); +$shortcode_id = isset( $_REQUEST['shortcode_id'] ) ? $_REQUEST['shortcode_id'] : -1; + +function tcp_exists_shortcode_id( $id ) { + global $shortcodes_data; + global $shortcode_id; + + foreach( $shortcodes_data as $i => $data ) + if ( $shortcode_id != $i && $data['id'] == $id ) + return true; + return false; +} + +if ( isset( $_REQUEST['tcp_shortcode_save'] ) ) { + if ( ! isset( $_REQUEST['id'] ) || strlen( trim( $_REQUEST['id'] ) ) == 0 ) {?> +

      + +

      +

      + +

      isset( $_REQUEST['id'] ) ? str_replace( ' ', '_', trim( $_REQUEST['id'] ) ) : 'id_' . $shortcode_id, + 'title' => '', //isset( $_REQUEST['title'] ) ? $_REQUEST['title'] : '', + 'desc' => isset( $_REQUEST['desc'] ) ? $_REQUEST['desc'] : '', + 'post_type' => isset( $_REQUEST['post_type'] ) ? $_REQUEST['post_type'] : '', + 'use_taxonomy' => isset( $_REQUEST['use_taxonomy'] ) ? $_REQUEST['use_taxonomy'] == 'yes' : false, + 'taxonomy' => isset( $_REQUEST['taxonomy'] ) ? $_REQUEST['taxonomy'] : '', + 'included' => isset( $_REQUEST['included'] ) ? $_REQUEST['included'] : array(), + 'term' => isset( $_REQUEST['term'] ) ? $_REQUEST['term'] : '', + 'loop' => isset( $_REQUEST['loop'] ) ? $_REQUEST['loop'] : 'default', + 'columns' => isset( $_REQUEST['columns'] ) ? (int)$_REQUEST['columns'] : 2, + 'see_title' => isset( $_REQUEST['see_title'] ) ? $_REQUEST['see_title'] == 'yes' : false, + 'see_image' => isset( $_REQUEST['see_image'] ) ? $_REQUEST['see_image'] == 'yes' : false, + 'image_size' => isset( $_REQUEST['image_size'] ) ? $_REQUEST['image_size'] : 'thumbnail', + 'see_content' => isset( $_REQUEST['see_content'] ) ? $_REQUEST['see_content'] == 'yes' : false, + 'see_excerpt' => isset( $_REQUEST['see_excerpt'] ) ? $_REQUEST['see_excerpt'] == 'yes' : false, + 'see_author' => isset( $_REQUEST['see_author'] ) ? $_REQUEST['see_author'] == 'yes' : false, + 'see_meta_data' => isset( $_REQUEST['see_meta_data'] ) ? $_REQUEST['see_meta_data'] == 'yes' : false, + 'see_meta_utilities' => isset( $_REQUEST['see_meta_utilities'] ) ? $_REQUEST['see_meta_utilities'] == 'yes' : false, + 'see_price' => isset( $_REQUEST['see_price'] ) ? $_REQUEST['see_price'] == 'yes' : false, + 'see_buy_button' => isset( $_REQUEST['see_buy_button'] ) ? $_REQUEST['see_buy_button'] == 'yes' : false, + 'see_first_custom_area' => isset( $_REQUEST['see_first_custom_area'] ) ? $_REQUEST['see_first_custom_area'] == 'yes' : false, + 'see_second_custom_area'=> isset( $_REQUEST['see_second_custom_area'] ) ? $_REQUEST['see_second_custom_area'] == 'yes' : false, + 'see_third_custom_area' => isset( $_REQUEST['see_third_custom_area'] ) ? $_REQUEST['see_third_custom_area'] == 'yes' : false, + ); + update_option( 'tcp_shortcodes_data', $shortcodes_data );?> +

      + +

      +

      + +

      0 ) { + $keys = array_keys( $shortcodes_data ); + $shortcode_id = array_shift( $keys ); + $shortcode_data = $shortcodes_data[$shortcode_id]; + } else { + $shortcode_id = 0; + $shortcode_data = array(); + } +} elseif ( isset( $shortcodes_data[$shortcode_id] ) ) { + $shortcode_data = $shortcodes_data[$shortcode_id]; +} else { + $shortcode_data = array(); +} + +$admin_path = 'admin.php?page=' . plugin_basename( dirname( dirname( __FILE__ ) ) ) . '/admin/'; +$shortcode_href = $admin_path . 'ShortCodeGenerator.php&shortcode_id='; +?> + +
      +

      +
        +
      + +
      + +
      + 0 ) : + foreach( $shortcodes_data as $id => $data ) : + if ( $shortcode_id == $id ) : ?> +  |  + +  |  + + + + + + + + +
      + +
      + + + + + + + + + + + + + + + + + + +

      + + + + + + + + + + + + + + + + + + +
      + +
      +
      + +
      +
      + + + +
      + + + + +
      + + + /> +
      + + + 0 ) : ?> + + + +
      + + + +
      + + + +
      + +
      () +
      + +
      +

      + +

      + +

      + + +

      +
      +
      diff --git a/src/wp-content/plugins/thecartpress/admin/StockUpdate.php b/src/wp-content/plugins/thecartpress/admin/StockUpdate.php new file mode 100644 index 0000000..59e498c --- /dev/null +++ b/src/wp-content/plugins/thecartpress/admin/StockUpdate.php @@ -0,0 +1,143 @@ +. + */ + +$cat_slug = isset( $_REQUEST['category_slug'] ) ? $_REQUEST['category_slug'] : ''; +$added_stock = isset( $_REQUEST['added_stock'] ) ? (int)$_REQUEST['added_stock'] : 0; +$pagination = isset( $_REQUEST['pagination'] ) ? (int)$_REQUEST['pagination'] : 1; + +if ( isset( $_REQUEST['tcp_update_stock'] ) ) { + $args = array( + 'post_type' => 'tcp_product', + 'tcp_product_category' => $cat_slug , + 'posts_per_page' => -1, + ); + $args = apply_filters( 'tcp_update_stock_query_args', $args ); + $query = new WP_query( $args ); + if ( $query->have_posts() ) { + while ( $query->have_posts() ) { + $post = $query->next_post(); + $new_stock = isset( $_REQUEST['tcp_new_stock_' . $post->ID] ) ? $_REQUEST['tcp_new_stock_' . $post->ID] : ''; + if ( $new_stock == '' || $new_stock < -1 ) + update_post_meta( $post->ID, 'tcp_stock', -1 ); + else + update_post_meta( $post->ID, 'tcp_stock', (int)$new_stock ); + do_action( 'tcp_update_stock', $post ); + }?> +

      + +

      +
      +

      +
      + +
      + + + + + + + + + + + + +
      + +
      + +
      +

      + +

      + 0 ) : + $args = array( + 'post_type' => 'tcp_product', + 'tcp_product_category' => $cat_slug , + 'posts_per_page' => -1, + ); + $query = new WP_query( $args ); + if ( $query->have_posts() ) :?> +
      +

      + + + + + + + + + + + + + + + + + + + + + have_posts() ) : + $post = $query->next_post(); + $stock = tcp_get_the_stock( $post->ID ); + if ( $added_stock == -1 || $stock == -1 ) + $new_stock = -1; + elseif ( $added_stock == 0 ) { + $new_stock = $stock; + } else { + if ( $stock > -1 ) { + $new_stock = $stock + $added_stock; + } else { + $new_stock = $added_stock; + } + }?> + + + + + + + + +
       
       
      post_title;?> +  
      +
      + +

      + +

      + +
      diff --git a/src/wp-content/plugins/thecartpress/admin/TCP_LoopsSettings.class.php b/src/wp-content/plugins/thecartpress/admin/TCP_LoopsSettings.class.php new file mode 100644 index 0000000..7e0eb4a --- /dev/null +++ b/src/wp-content/plugins/thecartpress/admin/TCP_LoopsSettings.class.php @@ -0,0 +1,186 @@ +. + */ + +class TCP_LoopsSettings { + + function __construct() { + if ( is_admin() ) { + $settings = get_option( 'tcp_settings' ); + if ( isset( $settings['use_tcp_loops'] ) && $settings['use_tcp_loops'] ) { + add_action( 'admin_init', array( $this, 'admin_init' ) ); + add_action( 'admin_menu', array( $this, 'admin_menu' ) ); + //add_filter( 'contextual_help', array( $this, 'contextual_help' ) , 10, 3 ); + } + } + } + + function contextual_help( $contextual_help, $screen_id, $screen ) { + if ( $screen_id == 'thecartpress_page_tcp_loopssettings_page' ) { + $contextual_help = 'This is where I would provide help to the user on how everything in my admin panel works. Formatted HTML works fine in here too.'; + } + return $contextual_help; + } + + function admin_init() { + register_setting( 'twentytencart_options', 'ttc_settings', array( $this, 'validate' ) ); + add_settings_section( 'main_section', __( 'Main settings', 'tcp' ) , array( $this, 'show_main_section' ), __FILE__ ); + add_settings_field( 'see_title', __( 'See title:', 'tcp' ), array( $this, 'see_title' ), __FILE__ , 'main_section' ); + add_settings_field( 'see_image', __( 'See image:', 'tcp' ), array( $this, 'see_image' ), __FILE__ , 'main_section' ); + add_settings_field( 'image_size', __( 'Image size:', 'tcp' ), array( $this, 'image_size' ), __FILE__ , 'main_section' ); + add_settings_field( 'see_excerpt', __( 'See excerpt:', 'tcp' ), array( $this, 'see_excerpt' ), __FILE__ , 'main_section' ); + add_settings_field( 'see_content', __( 'See content:', 'tcp' ), array( $this, 'see_content' ), __FILE__ , 'main_section' ); + add_settings_field( 'see_author', __( 'See author:', 'tcp' ), array( $this, 'see_author' ), __FILE__ , 'main_section' ); + add_settings_field( 'see_price', __( 'See price:', 'tcp' ), array( $this, 'see_price' ), __FILE__ , 'main_section' ); + add_settings_field( 'see_buy_button', __( 'See buy button:', 'tcp' ), array( $this, 'see_buy_button' ), __FILE__ , 'main_section' ); + add_settings_field( 'see_meta_data', __( 'See meta data:', 'tcp' ), array( $this, 'see_meta_data' ), __FILE__ , 'main_section' ); + add_settings_field( 'see_meta_utilities', __( 'See meta utilities:', 'tcp' ), array( $this, 'see_meta_utilities' ), __FILE__ , 'main_section' ); + add_settings_field( 'columns', __( 'Columns:', 'tcp' ), array( $this, 'columns' ), __FILE__ , 'main_section' ); + add_settings_field( 'see_first_custom_area', __( 'See first custom area', 'tcp' ), array( $this, 'see_first_custom_area' ), __FILE__ , 'main_section' ); + add_settings_field( 'see_second_custom_area', __( 'See second custom area', 'tcp' ), array( $this, 'see_second_custom_area' ), __FILE__ , 'main_section' ); + add_settings_field( 'see_third_custom_area', __( 'See third custom area', 'tcp' ), array( $this, 'see_third_custom_area' ), __FILE__ , 'main_section' ); + } + + function admin_menu() { + $base = dirname( dirname( __FILE__ ) ) . '/admin/OrdersList.php'; + add_submenu_page( $base, __( 'TCP Loops settings', 'tcp' ), __( 'Loops Settings', 'tcp' ), 'tcp_edit_settings', 'ttc_settings_page', array( $this, 'show_settings' ) ); + } + + function show_settings() {?> +
      +

      +
      + + +

      + +

      +
      +
      + /> + /> + + + /> + /> + /> + /> + /> + /> + /> + + /> + /> + /> diff --git a/src/wp-content/plugins/thecartpress/admin/TCP_Settings.class.php b/src/wp-content/plugins/thecartpress/admin/TCP_Settings.class.php new file mode 100644 index 0000000..75b6cfa --- /dev/null +++ b/src/wp-content/plugins/thecartpress/admin/TCP_Settings.class.php @@ -0,0 +1,706 @@ +. + */ + +require_once( dirname( dirname( __FILE__ ) ) . '/daos/Countries.class.php' ); +require_once( dirname( dirname( __FILE__ ) ) . '/daos/Currencies.class.php' ); + +class TCP_Settings { + + function __construct() { + if ( is_admin() ) { + add_action('admin_init', array( $this, 'admin_init' ) ); + add_action('admin_menu', array( $this, 'admin_menu' ) ); + //add_filter('contextual_help', array( $this, 'contextual_help') , 10, 3); + } + } + + function contextual_help( $contextual_help, $screen_id, $screen ) { + if ( $screen_id == 'thecartpress_page_tcp_settings_page' ) { + $contextual_help = 'This is where I would provide help to the user on how everything in my admin panel works. Formatted HTML works fine in here too.'; + } + return $contextual_help; + } + + function admin_init() { + register_setting( 'thecartpress_options', 'tcp_settings', array( $this, 'validate' ) ); + add_settings_section( 'tcp_main_section', __( 'Main settings', 'tcp' ) , array( $this, 'show_main_section' ), __FILE__ ); + add_settings_field( 'after_add_to_cart', __( 'After adding to cart', 'tcp' ), array( $this, 'show_after_add_to_cart' ), __FILE__ , 'tcp_main_section' ); + add_settings_field( 'stock_management', __( 'Stock management', 'tcp' ), array( $this, 'show_stock_management' ), __FILE__ , 'tcp_main_section' ); + add_settings_field( 'disable_shopping_cart', __( 'Disable shopping cart', 'tcp' ), array( $this, 'show_disable_shopping_cart' ), __FILE__ , 'tcp_main_section' ); + add_settings_field( 'enabled_wish_list', __( 'Enabled Wish list', 'tcp' ), array( $this, 'show_enabled_wish_list' ), __FILE__ , 'tcp_main_section' ); + add_settings_field( 'currency_layout', __( 'Currency layout', 'tcp' ), array( $this, 'show_currency_layout' ), __FILE__ , 'tcp_main_section' ); + add_settings_field( 'currency', __( 'Currency', 'tcp' ), array( $this, 'show_currency' ), __FILE__ , 'tcp_main_section' ); + add_settings_field( 'decimal_currency', __( 'Currency decimals', 'tcp' ), array( $this, 'show_decimal_currency' ), __FILE__ , 'tcp_main_section' ); + add_settings_field( 'decimal_point', __( 'Decimal point separator', 'tcp' ), array( $this, 'show_decimal_point_separator' ), __FILE__ , 'tcp_main_section' ); + add_settings_field( 'thousands_separator', __( 'Thousands separator', 'tcp' ), array( $this, 'show_thousands_separator' ), __FILE__ , 'tcp_main_section' ); + add_settings_field( 'unit_weight', __( 'Unit weight', 'tcp' ), array( $this, 'show_unit_weight' ), __FILE__ , 'tcp_main_section' ); + add_settings_field( 'hide_downloadable_menu', __( 'Hide downloadable menu', 'tcp' ), array( $this, 'show_hide_downloadable_menu' ), __FILE__ , 'tcp_main_section' ); + add_settings_field( 'downloadable_path', __( 'Downloadable path', 'tcp' ), array( $this, 'show_downloadable_path' ), __FILE__ , 'tcp_main_section' ); + + add_settings_section( 'tcp_countries_section', __( 'Countries settings', 'tcp' ) , array( $this, 'show_countries_section' ), __FILE__ ); + add_settings_field( 'country', __( 'Country', 'tcp' ), array( $this, 'show_country' ), __FILE__ , 'tcp_countries_section' ); + add_settings_field( 'billing_isos', __( 'Allowed Billing countries', 'tcp' ), array( $this, 'show_countries_for_billing' ), __FILE__ , 'tcp_countries_section' ); + add_settings_field( 'shipping_isos', __( 'Allowed Shipping countries', 'tcp' ), array( $this, 'show_countries_for_shipping' ), __FILE__ , 'tcp_countries_section' ); + + add_settings_section( 'tcp_tax_section', __( 'Tax settings', 'tcp' ) , array( $this, 'show_tax_section' ), __FILE__ ); + add_settings_field( 'default_tax_country', __( 'Default tax country', 'tcp' ), array( $this, 'show_default_tax_country' ), __FILE__ , 'tcp_tax_section' ); + add_settings_field( 'prices_include_tax', __( 'Prices include tax', 'tcp' ), array( $this, 'show_prices_include_tax' ), __FILE__ , 'tcp_tax_section' ); + add_settings_field( 'tax_based_on', __( 'Tax based on', 'tcp' ), array( $this, 'show_tax_based_on' ), __FILE__ , 'tcp_tax_section' ); + add_settings_field( 'shipping_cost_include_tax', __( 'Shipping cost include tax', 'tcp' ), array( $this, 'show_shipping_cost_include_tax' ), __FILE__ , 'tcp_tax_section' ); + add_settings_field( 'tax_for_shipping', __( 'Select tax for shipping/payment/other costs', 'tcp' ), array( $this, 'show_tax_for_shipping' ), __FILE__ , 'tcp_tax_section' ); + //add_settings_field( 'apply_tax_after_discount', __( 'Apply tax after discount', 'tcp' ), array( $this, 'show_apply_tax_after_discount' ), __FILE__ , 'tcp_tax_section' ); + //add_settings_field( 'apply_discount_on_prices_including_tax', __( 'Apply discount on prices including tax', 'tcp' ), array( $this, 'show_apply_discount_on_prices_including_tax' ), __FILE__ , 'tcp_tax_section' ); + //add_settings_field( 'Apply_tax_on', __( 'Apply tax on', 'tcp' ), array( $this, 'show_apply_tax_on' ), __FILE__ , 'tcp_tax_section' ); + //Apply Tax On: Original prices only or Custom price if available + add_settings_field( 'display_prices_with_taxes', __( 'Display prices with taxes', 'tcp' ), array( $this, 'show_display_prices_with_taxes' ), __FILE__ , 'tcp_tax_section' ); + add_settings_field( 'display_shipping_cost_with_taxes', __( 'Display shipping prices with taxes', 'tcp' ), array( $this, 'show_display_shipping_cost_with_taxes' ), __FILE__ , 'tcp_tax_section' ); + add_settings_field( 'display_full_tax_summary', __( 'Display full tax summary', 'tcp' ), array( $this, 'show_display_full_tax_summary' ), __FILE__ , 'tcp_tax_section' ); + add_settings_field( 'display_zero_tax_subtotal', __( 'Display zero tax subtotal', 'tcp' ), array( $this, 'show_display_zero_tax_subtotal' ), __FILE__ , 'tcp_tax_section' ); + //add_settings_field( 'display_Cart_Order_prices', __( 'Display Cart/Order prices', 'tcp' ), array( $this, 'show_display_Cart_Order_prices' ), __FILE__ , 'tcp_tax_section' ); + + add_settings_section( 'tcp_checkout_section', __( 'Checkout settings', 'tcp' ) , array( $this, 'show_checkout_section' ), __FILE__ ); + add_settings_field( 'user_registration', __( 'User registration required', 'tcp' ), array( $this, 'show_user_registration' ), __FILE__ , 'tcp_checkout_section' ); + add_settings_field( 'emails', __( '@mails to send orders', 'tcp' ), array( $this, 'show_emails' ), __FILE__ , 'tcp_checkout_section' ); + add_settings_field( 'from_email', __( 'From email', 'tcp' ), array( $this, 'show_from_email' ), __FILE__ , 'tcp_checkout_section' ); + add_settings_field( 'legal_notice', __( 'Checkout notice', 'tcp' ), array( $this, 'show_legal_notice' ), __FILE__ , 'tcp_checkout_section' ); + add_settings_field( 'checkout_successfully_message', __( 'Checkout successfully message', 'tcp' ), array( $this, 'show_checkout_successfully_message' ), __FILE__ , 'tcp_checkout_section' ); + + add_settings_section( 'tcp_permalinks_section', __( 'Permalinks settings', 'tcp' ) , array( $this, 'show_permalink_section' ), __FILE__ ); + add_settings_field( 'product_rewrite', __( 'Product base', 'tcp' ), array( $this, 'show_product_rewrite' ), __FILE__ , 'tcp_permalinks_section' ); + add_settings_field( 'category_rewrite', __( 'Category base', 'tcp' ), array( $this, 'show_category_rewrite' ), __FILE__ , 'tcp_permalinks_section' ); + add_settings_field( 'tag_rewrite', __( 'Tag base', 'tcp' ), array( $this, 'show_tag_rewrite' ), __FILE__ , 'tcp_permalinks_section' ); + add_settings_field( 'supplier_rewrite', __( 'Supplier base', 'tcp' ), array( $this, 'show_supplier_rewrite' ), __FILE__ , 'tcp_permalinks_section' ); + + add_settings_section( 'tcp_theme_compatibility_section', __( 'Theme compatibility settings', 'tcp' ) , array( $this, 'show_theme_compatibility_section' ), __FILE__ ); + add_settings_field( 'use_tcp_loops', __( 'Use TCP Loops Configurables', 'tcp' ), array( $this, 'show_use_tcp_loops' ), __FILE__ , 'tcp_theme_compatibility_section' ); + add_settings_field( 'load_default_styles', __( 'Load default styles', 'tcp' ), array( $this, 'show_load_default_styles' ), __FILE__ , 'tcp_theme_compatibility_section' ); + add_settings_field( 'products_per_page', __( 'Product pages show at most', 'tcp' ), array( $this, 'show_products_per_page' ), __FILE__ , 'tcp_theme_compatibility_section' ); + add_settings_field( 'see_buy_button_in_content', __( 'See buy button in content', 'tcp' ), array( $this, 'show_see_buy_button_in_content' ), __FILE__ , 'tcp_theme_compatibility_section' ); + add_settings_field( 'see_buy_button_in_excerpt', __( 'See buy button in excerpt', 'tcp' ), array( $this, 'show_see_buy_button_in_excerpt' ), __FILE__ , 'tcp_theme_compatibility_section' ); + add_settings_field( 'see_price_in_content', __( 'See price in content', 'tcp' ), array( $this, 'show_see_price_in_content' ), __FILE__ , 'tcp_theme_compatibility_section' ); + add_settings_field( 'see_price_in_excerpt', __( 'See price in excerpt', 'tcp' ), array( $this, 'show_see_price_in_excerpt' ), __FILE__ , 'tcp_theme_compatibility_section' ); + add_settings_field( 'see_image_in_content', __( 'See image in content', 'tcp' ), array( $this, 'show_see_image_in_content' ), __FILE__ , 'tcp_theme_compatibility_section' ); + add_settings_field( 'image_size_content', __( 'Image size in content', 'tcp' ), array( $this, 'image_size_content' ), __FILE__ , 'tcp_theme_compatibility_section' ); + add_settings_field( 'image_align_content', __( 'Image align in content', 'tcp' ), array( $this, 'image_align_content' ), __FILE__ , 'tcp_theme_compatibility_section' ); + add_settings_field( 'image_link_content', __( 'Image link in content', 'tcp' ), array( $this, 'image_link_content' ), __FILE__ , 'tcp_theme_compatibility_section' ); + add_settings_field( 'see_image_in_excerpt', __( 'See image in excerpt', 'tcp' ), array( $this, 'show_see_image_in_excerpt' ), __FILE__ , 'tcp_theme_compatibility_section' ); + add_settings_field( 'image_size_excerpt', __( 'Image size in excerpt', 'tcp' ), array( $this, 'image_size_excerpt' ), __FILE__ , 'tcp_theme_compatibility_section' ); + add_settings_field( 'image_align_excerpt', __( 'Image align in excerpt', 'tcp' ), array( $this, 'image_align_excerpt' ), __FILE__ , 'tcp_theme_compatibility_section' ); + add_settings_field( 'image_link_excerpt', __( 'Image link in excerpt', 'tcp' ), array( $this, 'image_link_excerpt' ), __FILE__ , 'tcp_theme_compatibility_section' ); + + add_settings_section( 'tcp_admin_section', __( 'Admin settings', 'tcp' ) , array( $this, 'show_admin_section' ), __FILE__ ); + add_settings_field( 'hide_visibles', __( 'Hide invisible products', 'tcp' ), array( $this, 'show_hide_visibles' ), __FILE__ , 'tcp_admin_section' ); + add_settings_field( 'show_back_end_label', __( 'Show back end label', 'tcp' ), array( $this, 'show_back_end_label' ), __FILE__ , 'tcp_admin_section' ); + + add_settings_section( 'tcp_search_engine_section', __( 'Search engine', 'tcp' ) , array( $this, 'show_search_engine_section' ), __FILE__ ); + add_settings_field( 'search_engine_activated', __( 'Search engine activated', 'tcp' ), array( $this, 'show_search_engine_activated' ), __FILE__ , 'tcp_search_engine_section' ); + } + + function admin_menu() { + $base = dirname( dirname( __FILE__ ) ) . '/admin/OrdersList.php'; + add_submenu_page( $base, __( 'TheCartPress settings', 'tcp' ), __( 'Settings', 'tcp' ), 'tcp_edit_settings', 'tcp_settings_page', array( $this, 'showSettings' ) ); + } + + function showSettings() { + global $thecartpress; + $thecartpress->loadSettings();?> +
      +

      +
      + + +

      + +

      +
      +
      +

      ', __( 'Notice from TheCartPress', 'tcp' ), '

      '; + wp_widget_rss_output( 'http://thecartpress.com/feed', array( 'items' => 3, 'show_author' => 0, 'show_date' => 1, 'show_summary' => 0 ) ); + echo '
      '; + } + + function show_user_registration() { + global $thecartpress; + $user_registration = isset( $thecartpress->settings['user_registration'] ) ? $thecartpress->settings['user_registration'] : false;?> + />settings['emails'] ) ? $thecartpress->settings['emails'] : '';?> + + settings['from_email'] ) ? $thecartpress->settings['from_email'] : '';?> + settings['after_add_to_cart'] ) ? $thecartpress->settings['after_add_to_cart'] : '';?> + settings['stock_management'] ) ? $thecartpress->settings['stock_management'] : false;?> + />settings['disable_shopping_cart'] ) ? $thecartpress->settings['disable_shopping_cart'] : false;?> + /> + settings['enabled_wish_list'] ) ? $thecartpress->settings['enabled_wish_list'] : false;?> + />settings['currency_layout'] ) ? $thecartpress->settings['currency_layout'] : '%1$s%2$s (%3$s)';?> + +
      Currency; %2$s -> Amount; %3$s -> ISO Code. By default, use %1$s%2$s (%3$s) -> $100 (USD).', 'tcp' );?> +
      100&euro.', 'tcp' );?> +
      + settings['currency'] ) ? $thecartpress->settings['currency'] : 'EUR';?> + settings['decimal_currency'] ) ? $thecartpress->settings['decimal_currency'] : '2';?> + settings['decimal_point'] ) ? $thecartpress->settings['decimal_point'] : '.';?> + settings['thousands_separator'] ) ? $thecartpress->settings['thousands_separator'] : ',';?> + settings['unit_weight'] ) ? $thecartpress->settings['unit_weight'] : 'gr';?> + settings['hide_downloadable_menu'] ) ? $thecartpress->settings['hide_downloadable_menu'] : false;?> + />settings['downloadable_path'] ) ? $thecartpress->settings['downloadable_path'] : '';?> + +
      +
      settings['country'] ) ? $thecartpress->settings['country'] : '';?> + + settings['shipping_isos'] ) ? $thecartpress->settings['shipping_isos'] : array();?> + value="yes" + onclick="if (this.checked) { jQuery('.sel_shipping_isos').hide(); jQuery('#shipping_isos option').attr('selected', false); } else { jQuery('.sel_shipping_isos').show(); }"/> +
      +
      > + +
      + + + + + + + + +
      + settings['billing_isos'] ) ? $thecartpress->settings['billing_isos'] : array();?> + value="yes" + onclick="if (this.checked) { jQuery('.sel_billing_isos').hide(); jQuery('#billing_isos option').attr('selected', false); } else { jQuery('.sel_billing_isos').show(); }"/> +
      +
      > + +
      + + + + + + + + +
      + settings['default_tax_country'] ) ? $thecartpress->settings['default_tax_country'] : ''; + if ( $default_tax_country == '' ) + $$default_tax_country = isset( $thecartpress->settings['country'] ) ? $thecartpress->settings['country'] : ''; + $billing_isos = isset( $thecartpress->settings['billing_isos'] ) ? $thecartpress->settings['billing_isos'] : array(); + $shipping_isos = isset( $thecartpress->settings['shipping_isos'] ) ? $thecartpress->settings['shipping_isos'] : array(); + $isos = array_merge( $billing_isos, $shipping_isos );?> + + settings['prices_include_tax'] ) ? $thecartpress->settings['prices_include_tax'] : false;?> + />settings['tax_based_on'] ) ? $thecartpress->settings['tax_based_on'] : '';?> + + settings['shipping_cost_include_tax'] ) ? $thecartpress->settings['shipping_cost_include_tax'] : false;?> + />settings['tax_for_shipping'] ) ? $thecartpress->settings['tax_for_shipping'] : '';?> + settings['apply_tax_after_discount'] ) ? $thecartpress->settings['apply_tax_after_discount'] : false;?> + />settings['apply_discount_on_prices_including_tax'] ) ? $thecartpress->settings['apply_discount_on_prices_including_tax'] : false;?> + />settings['display_prices_with_taxes'] ) ? $thecartpress->settings['display_prices_with_taxes'] : false;?> + />settings['display_full_tax_summary'] ) ? $thecartpress->settings['display_full_tax_summary'] : false;?> + />settings['display_shipping_cost_with_taxes'] ) ? $thecartpress->settings['display_shipping_cost_with_taxes'] : false;?> + />settings['display_zero_tax_subtotal'] ) ? $thecartpress->settings['display_zero_tax_subtotal'] : false;?> + />settings['legal_notice'] ) ? $thecartpress->settings['legal_notice'] : __( 'Checkout notice', 'tcp' );?> + +
      settings['checkout_successfully_message'] ) ? $thecartpress->settings['checkout_successfully_message'] : __( 'The order has been completed successfully', 'tcp' );?> + +
      0 ) + echo '', $content, ''; + } + + function show_product_rewrite() { + global $thecartpress; + $product_rewrite = isset( $thecartpress->settings['product_rewrite'] ) ? $thecartpress->settings['product_rewrite'] : 'product';?> + settings['category_rewrite'] ) ? $thecartpress->settings['category_rewrite'] : 'category';?> + +
      settings['tag_rewrite'] ) ? $thecartpress->settings['tag_rewrite'] : 'tag';?> + +
      settings['supplier_rewrite'] ) ? $thecartpress->settings['supplier_rewrite'] : 'supplier';?> + TheCartPress template functions.', 'tcp' ); + $content = apply_filters( 'tcp_theme_compatibility_section', $content ); + echo '', $content, ''; + } + + function show_use_tcp_loops() { + global $thecartpress; + $use_tcp_loops = isset( $thecartpress->settings['use_tcp_loops'] ) ? $thecartpress->settings['use_tcp_loops'] : true;?> + /> +
      settings['load_default_styles'] ) ? $thecartpress->settings['load_default_styles'] : true;?> + />settings['products_per_page'] ) ? $thecartpress->settings['products_per_page'] : '10';?> + settings['see_buy_button_in_content'] ) ? $thecartpress->settings['see_buy_button_in_content'] : true;?> + />settings['see_buy_button_in_excerpt'] ) ? $thecartpress->settings['see_buy_button_in_excerpt'] : false;?> + />settings['see_price_in_content'] ) ? $thecartpress->settings['see_price_in_content'] : false;?> + />settings['see_price_in_excerpt'] ) ? $thecartpress->settings['see_price_in_excerpt'] : false;?> + />settings['see_image_in_content'] ) ? $thecartpress->settings['see_image_in_content'] : false;?> + />settings['image_size_content'] ) ? $thecartpress->settings['image_size_content'] : 'thumbnail'; + $image_sizes = get_intermediate_image_sizes();?> + settings['image_align_content'] ) ? $thecartpress->settings['image_align_content'] : false;?> + settings['image_link_content'] ) ? $thecartpress->settings['image_link_content'] : false;?> + settings['see_image_in_excerpt'] ) ? $thecartpress->settings['see_image_in_excerpt'] : false;?> + />settings['image_size_excerpt'] ) ? $thecartpress->settings['image_size_excerpt'] : 'thumbnail'; + $image_sizes = get_intermediate_image_sizes();?> + settings['image_align_excerpt'] ) ? $thecartpress->settings['image_align_excerpt'] : false;?> + settings['image_link_excerpt'] ) ? $thecartpress->settings['image_link_excerpt'] : false;?> + settings['hide_visibles'] ) ? $thecartpress->settings['hide_visibles'] : false;?> + />settings['show_back_end_label'] ) ? $thecartpress->settings['show_back_end_label'] : false;?> + /> + settings['search_engine_activated'] ) ? $thecartpress->settings['search_engine_activated'] : true;?> + /> diff --git a/src/wp-content/plugins/thecartpress/admin/TaxesList.php b/src/wp-content/plugins/thecartpress/admin/TaxesList.php new file mode 100644 index 0000000..04e01cb --- /dev/null +++ b/src/wp-content/plugins/thecartpress/admin/TaxesList.php @@ -0,0 +1,145 @@ +. + */ + +require_once( dirname( dirname( __FILE__ ) ).'/daos/Taxes.class.php' ); + +$tax_id = isset( $_REQUEST['tax_id'] ) ? $_REQUEST['tax_id'] : 0; +if ( isset( $_REQUEST['tcp_edit_tax'] ) ) { + $error_tax = array(); + if ( ! isset( $_REQUEST['title'] ) && strlen( trim( $_REQUEST ['title'] ) ) == 0 ) + $error_tax['title'][] = __( 'The "title" field must be completed', 'tcp' ); + if ( ! isset( $_REQUEST['desc'] ) && strlen( trim( $_REQUEST ['desc'] ) ) == 0 ) //&& is_numeric( $_REQUEST ['tax'] ) ) + $error_tax['desc'][] = __( 'The "desc" field must be completed', 'tcp' ); + if ( count( $error_tax ) == 0 ) { + Taxes::save( $_REQUEST );?> +

      + +

      0 ) + if ( $tax_id > 0 ) { + $old_tax = Taxes::get( $tax_id ); + Taxes::delete( $tax_id );?> +

      + +

      +
      + +

      +
        +
      +
      + + 0 ) : ?> +

      + +
      + +

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
       
       
      + + +  
      tax_id;?>title;?>desc;?> +
      |
      + + + + +
      + +
      diff --git a/src/wp-content/plugins/thecartpress/admin/TaxesRates.php b/src/wp-content/plugins/thecartpress/admin/TaxesRates.php new file mode 100644 index 0000000..b102c33 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/admin/TaxesRates.php @@ -0,0 +1,166 @@ +. + */ + +require_once( dirname( dirname( __FILE__ ) ).'/daos/Countries.class.php' ); +require_once( dirname( dirname( __FILE__ ) ).'/daos/Taxes.class.php' ); +require_once( dirname( dirname( __FILE__ ) ).'/daos/TaxRates.class.php' ); + +if ( isset( $_REQUEST['tcp_add_tax_rate'] ) ) { + $_REQUEST['country_iso'] = isset( $_REQUEST['country_iso'] ) ? $_REQUEST['country_iso'] : 'all'; + $_REQUEST['region_id'] = isset( $_REQUEST['region_id'] ) ? $_REQUEST['region_id'] : 'all'; + $_REQUEST['region'] = isset( $_REQUEST['region'] ) ? $_REQUEST['region'] : ''; + $_REQUEST['post_code'] = isset( $_REQUEST['post_code'] ) ? $_REQUEST['post_code'] : 'all'; + $_REQUEST['tax_id'] = isset( $_REQUEST['tax_id'] ) ? $_REQUEST['tax_id'] : '-1'; + $_REQUEST['rate'] = isset( $_REQUEST['rate'] ) ? tcp_input_number($_REQUEST['rate']) : 0; + $_REQUEST['label'] = isset( $_REQUEST['label'] ) ? $_REQUEST['label'] : ''; + if ( $_REQUEST['post_code'] == '' ) $_REQUEST['post_code'] = 'all'; + TaxRates::insert( $_REQUEST );?> +

      + +

      +

      + +

      +

      +
        +
      +
      + + + + + + + + + + + + + + + + + + + + + + + + + 0 ) + foreach( $taxRates as $taxRate ) : ?> + + + + + + + + + + + + + + + + + + + + + + +
       
       
      country_iso, $language_iso ); echo isset( $country->name ) ? $country->name : __( 'All', 'tcp' );?>region_id == 'all' ) _e( 'All', 'tcp' ); else echo $taxRate->region;?>post_code == 'all' ) _e( 'All', 'tcp' ); else echo $taxRate->post_code;?>tax_id ); echo isset( $tax->title ) ? $tax->title : __( 'All', 'tcp' );?>rate, 3 );?>label;?>  + + +
      + + + array( 'name', ), 'id' => array( 'name', ), ... ) + $regions = apply_filters( 'tcp_tax_rates_load_regions', $regions );?> + + + + + + + + % + + + + +
      diff --git a/src/wp-content/plugins/thecartpress/admin/UploadFiles.php b/src/wp-content/plugins/thecartpress/admin/UploadFiles.php new file mode 100644 index 0000000..e19535b --- /dev/null +++ b/src/wp-content/plugins/thecartpress/admin/UploadFiles.php @@ -0,0 +1,130 @@ +. + */ + +$post_id = isset( $_REQUEST['post_id'] ) ? $_REQUEST['post_id'] : 0; +$error_upload = ''; + +function tcp_upload_file( $post_id, $file ) { + global $thecartpress; + global $error_upload; + $rev_name = strrev( $_FILES['upload_file']['name'] ); + $i = strpos( $rev_name, '.' ); + $ext = strrev( substr( $rev_name, 0, $i ) ); + $downloadable_path = isset( $thecartpress->settings['downloadable_path'] ) ? trim( $thecartpress->settings['downloadable_path'] ) : ''; + if ( strlen( $downloadable_path ) == 0 ) { + wp_die( __( 'The path where the downloadable files must be saved is not set.', 'tcp' ) ); + return false; + } else { + global $wpdb; + //$folder_path = $downloadable_path . '/' . $wpdb->prefix . 'tcp'; + $folder_path = $downloadable_path . '/tcp'; + if ( ! file_exists( $folder_path ) ) + if ( ! wp_mkdir_p( $folder_path ) ) { + $error_upload = sprintf( __( 'Error creating the folder "%s".', 'tcp' ), $folder_path ); + return false; + } + $file_path = $folder_path . '/upload_' . $post_id . '.' . $ext; + tcp_set_the_file( $post_id, $file_path ); + if ( move_uploaded_file( $_FILES['upload_file']['tmp_name'], $file_path ) ) { + $stat = stat( dirname( $file_path )); + $perms = $stat['mode'] & 0000666; + @ chmod( $file_path, $perms ); + do_action( 'tcp_uploaded_file', $file_path ); + return true; + } else { + $error_upload = sprintf( __( 'Error uploading the file to "%s".', 'tcp' ), $file_path ); + return false; + } + } +} + +if ( $post_id ) { + $file_path = tcp_get_the_file( $post_id ); + if ( isset( $_REQUEST['tcp_upload_virtual_file'] ) ) { + if ( tcp_upload_file( $post_id, $_FILES['upload_file'] ) ) {?> +

      1048576 ) { + $size = $size / 1048576; + printf (__( 'Upload completed, uploaded %d Mbytes', 'tcp' ), number_format( $size, 2 ) ); + } elseif ( $size > 1024) { + $size = $size / 1024; + printf (__( 'Upload completed, uploaded %d Kbytes', 'tcp' ), number_format( $size, 2 ) ); + } else { + printf (__( 'Upload completed, uploaded %d bytes', 'tcp' ), number_format( $size, 2 ) ); + } + ?>

      +

      +

      +

      +
      +

       post_title;?>

      +
        +
      • +
      +
      + +
      + + 0 ) : ?> + + + + + + +
      +

      + +

      + + + + + + + +
      +

      + +

      + +
      +
      + diff --git a/src/wp-content/plugins/thecartpress/admin/VirtualProductDownloader.php b/src/wp-content/plugins/thecartpress/admin/VirtualProductDownloader.php new file mode 100644 index 0000000..47ca47d --- /dev/null +++ b/src/wp-content/plugins/thecartpress/admin/VirtualProductDownloader.php @@ -0,0 +1,244 @@ +. + */ +$allowed_ext = array( + 'ez' => 'application/andrew-inset', + 'hqx' => 'application/mac-binhex40', + 'cpt' => 'application/mac-compactpro', + 'doc' => 'application/msword', + 'bin' => 'application/octet-stream', + 'dms' => 'application/octet-stream', + 'lha' => 'application/octet-stream', + 'lzh' => 'application/octet-stream', + 'exe' => 'application/octet-stream', + 'class' => 'application/octet-stream', + 'so' => 'application/octet-stream', + 'dll' => 'application/octet-stream', + 'oda' => 'application/oda', + 'pdf' => 'application/pdf', + 'ai' => 'application/postscript', + 'eps' => 'application/postscript', + 'ps' => 'application/postscript', + 'smi' => 'application/smil', + 'smil' => 'application/smil', + 'wbxml' => 'application/vnd.wap.wbxml', + 'wmlc' => 'application/vnd.wap.wmlc', + 'wmlsc' => 'application/vnd.wap.wmlscriptc', + 'bcpio' => 'application/x-bcpio', + 'vcd' => 'application/x-cdlink', + 'pgn' => 'application/x-chess-pgn', + 'cpio' => 'application/x-cpio', + 'csh' => 'application/x-csh', + 'dcr' => 'application/x-director', + 'dir' => 'application/x-director', + 'dxr' => 'application/x-director', + 'dvi' => 'application/x-dvi', + 'spl' => 'application/x-futuresplash', + 'gtar' => 'application/x-gtar', + 'hdf' => 'application/x-hdf', + 'js' => 'application/x-javascript', + 'skp' => 'application/x-koan', + 'skd' => 'application/x-koan', + 'skt' => 'application/x-koan', + 'skm' => 'application/x-koan', + 'latex' => 'application/x-latex', + 'nc' => 'application/x-netcdf', + 'cdf' => 'application/x-netcdf', + 'sh' => 'application/x-sh', + 'shar' => 'application/x-shar', + 'swf' => 'application/x-shockwave-flash', + 'sit' => 'application/x-stuffit', + 'sv4cpio' => 'application/x-sv4cpio', + 'sv4crc'=> 'application/x-sv4crc', + 'tar' => 'application/x-tar', + 'tcl' => 'application/x-tcl', + 'tex' => 'application/x-tex', + 'texinfo' => 'application/x-texinfo', + 'texi' => 'application/x-texinfo', + 't' => 'application/x-troff', + 'tr' => 'application/x-troff', + 'roff' => 'application/x-troff', + 'man' => 'application/x-troff-man', + 'me' => 'application/x-troff-me', + 'ms' => 'application/x-troff-ms', + 'ustar' => 'application/x-ustar', + 'src' => 'application/x-wais-source', + 'xhtml' => 'application/xhtml+xml', + 'xht' => 'application/xhtml+xml', + 'zip' => 'application/zip', + 'au' => 'audio/basic', + 'snd' => 'audio/basic', + 'mid' => 'audio/midi', + 'midi' => 'audio/midi', + 'kar' => 'audio/midi', + 'mpga' => 'audio/mpeg', + 'mp2' => 'audio/mpeg', + 'mp3' => 'audio/mpeg', + 'aif' => 'audio/x-aiff', + 'aiff' => 'audio/x-aiff', + 'aifc' => 'audio/x-aiff', + 'm3u' => 'audio/x-mpegurl', + 'ram' => 'audio/x-pn-realaudio', + 'rm' => 'audio/x-pn-realaudio', + 'rpm' => 'audio/x-pn-realaudio-plugin', + 'ra' => 'audio/x-realaudio', + 'wav' => 'audio/x-wav', + 'pdb' => 'chemical/x-pdb', + 'xyz' => 'chemical/x-xyz', + 'bmp' => 'image/bmp', + 'gif' => 'image/gif', + 'ief' => 'image/ief', + 'jpeg' => 'image/jpeg', + 'jpg' => 'image/jpeg', + 'jpe' => 'image/jpeg', + 'png' => 'image/png', + 'tiff' => 'image/tiff', + 'tif' => 'image/tif', + 'djvu' => 'image/vnd.djvu', + 'djv' => 'image/vnd.djvu', + 'wbmp' => 'image/vnd.wap.wbmp', + 'ras' => 'image/x-cmu-raster', + 'pnm' => 'image/x-portable-anymap', + 'pbm' => 'image/x-portable-bitmap', + 'pgm' => 'image/x-portable-graymap', + 'ppm' => 'image/x-portable-pixmap', + 'rgb' => 'image/x-rgb', + 'xbm' => 'image/x-xbitmap', + 'xpm' => 'image/x-xpixmap', + 'xwd' => 'image/x-windowdump', + 'igs' => 'model/iges', + 'iges' => 'model/iges', + 'msh' => 'model/mesh', + 'mesh' => 'model/mesh', + 'silo' => 'model/mesh', + 'wrl' => 'model/vrml', + 'vrml' => 'model/vrml', + 'css' => 'text/css', + 'html' => 'text/html', + 'htm' => 'text/html', + 'asc' => 'text/plain', + 'txt' => 'text/plain', + 'rtx' => 'text/richtext', + 'rtf' => 'text/rtf', + 'sgml' => 'text/sgml', + 'sgm' => 'text/sgml', + 'tsv' => 'text/tab-seperated-values', + 'wml' => 'text/vnd.wap.wml', + 'wmls' => 'text/vnd.wap.wmlscript', + 'etx' => 'text/x-setext', + 'xml' => 'text/xml', + 'xsl' => 'text/xml', + 'mpeg' => 'video/mpeg', + 'mpg' => 'video/mpeg', + 'mpe' => 'video/mpeg', + 'qt' => 'video/quicktime', + 'mov' => 'video/quicktime', + 'mxu' => 'video/vnd.mpegurl', + 'avi' => 'video/x-msvideo', + 'movie' => 'video/x-sgi-movie', + 'ice' => 'x-conference-xcooltalk' +); + +if ( isset( $_REQUEST['order_detail_id'] ) ) { + $order_detail_id = $_REQUEST['order_detail_id']; + + define('WP_INSTALLING', true); + $root = dirname( dirname( dirname( dirname( dirname( __FILE__) ) ) ) ) ; + //Loading wordpress enviorenment (+ plugins) + require_once( $root . '/wp-load.php' ); + require_once( $root . '/wp-config.php' ); + require_once( $root . '/wp-includes/wp-db.php' ); + require_once( $root . '/wp-includes/plugin.php' ); + require_once( $root . '/wp-admin/includes/plugin.php' ); + $current_plugins = get_option( 'active_plugins' ); + if ( is_array( $current_plugins ) ) { + foreach ( $current_plugins as $plugin ) { + if ( ! validate_file( $plugin ) && '.php' == substr( $plugin, -4 ) && file_exists( WP_PLUGIN_DIR . '/' . $plugin ) ) { + include_once( WP_PLUGIN_DIR . '/' . $plugin ); + } + } + unset( $plugin ); + } + unset( $current_plugins ); + + global $wpdb; + global $current_user; + get_currentuserinfo(); + $customer_id = $current_user->ID; + + require_once( dirname( dirname( __FILE__ ) ) . '/daos/Orders.class.php' ); + + if ( Orders::isProductDownloadable( $customer_id, $order_detail_id ) ) { + $order_detail = OrdersDetails::get( $order_detail_id ); + $post_id = $order_detail->post_id; + $file_path = tcp_get_the_file( $post_id ); + do_action( 'tcp_download_file', $file_path ); + if ( ! file_exists( $file_path ) ) { + wp_die( __( 'The file doesn\'t exists.', 'tcp' ) ); + return; + } + $file_size = filesize( $file_path ); + $path = explode( '/', $file_path ); + $file_name = $path[count( $path ) - 1]; + $file_ext = strtolower( substr( strrchr( $file_name, "." ), 1 ) ); + + if ( array_key_exists( $file_ext, $allowed_ext ) ) + $mime_type = $allowed_ext[$file_ext]; + elseif ( function_exists( 'mime_content_type' ) ) + $mime_type = mime_content_type( $file_path ); + else if ( function_exists( 'finfo_file' ) ) { + $file_info = finfo_open( FILEINFO_MIME ); + $mime_type = finfo_file( $file_info, $file_path ); + finfo_close( $file_info ); + } + else $mime_type = 'application/force-download'; + $file_name = get_the_title( $post_id ) . '.' . $file_ext . ''; + $file_name = str_replace( ' ', '_', $file_name ); + + // set headers + header( 'Pragma: public' ); + header( 'Expires: 0' ); + header( 'Cache-Control: must-revalidate, post-check=0, pre-check=0' ); + header( 'Cache-Control: public' ); + header( 'Content-Description: File Transfer' ); + header( 'Content-Type: '. $mime_type ); + header( 'Content-Disposition: attachment; filename=' . $file_name ); + header( 'Content-Transfer-Encoding: binary' ); + header( 'Content-Length: ' . $file_size ); + + $file = @fopen( $file_path, "rb" ); + if ( $file ) { + while( ! feof( $file ) ) { + print( fread( $file, 1024 * 8 ) ); + flush(); + $connection_status = connection_status(); + if ( $connection_status != 0 ) { + @fclose( $file ); + _e( 'The file cannot be downloaded. Error number ' . $connection_status, 'tcp' ); + return; + } + } + @fclose( $file ); + Orders::takeAwayDownload( $order_detail_id ); + do_action( 'tcp_download_file_ended', $file_path ); + } else { + wp_die( __( 'The file doesn\'t exists.', 'tcp' ) ); + } + } else + wp_die( __( 'You do not have sufficient permissions to access this page.', 'tcp' ) ); +} +?> diff --git a/src/wp-content/plugins/thecartpress/checkout/ActiveCheckout.class.php b/src/wp-content/plugins/thecartpress/checkout/ActiveCheckout.class.php new file mode 100644 index 0000000..3c9345d --- /dev/null +++ b/src/wp-content/plugins/thecartpress/checkout/ActiveCheckout.class.php @@ -0,0 +1,81 @@ + 0 ) { + echo $html; + } else { + echo '
      ' . "\n" . '
      '; + $checkout_successfully_message = isset( $thecartpress->settings['checkout_successfully_message'] ) ? $thecartpress->settings['checkout_successfully_message'] : ''; + if ( strlen( $checkout_successfully_message ) > 0 ) + echo '

      ', str_replace ( "\n" , '

      ', $checkout_successfully_message ), '

      '; + else + echo '' . __( 'The order has been completed successfully.', 'tcp' ) . ''; + echo '
      ' . "\n" . '
      '; + } + if ( $order_id > 0 ) ActiveCheckout::sendMails( $order_id ); + echo $_SESSION['order_page']; + //unset( $_SESSION['order_page'] );//TODO + echo '
      '; + echo '' . __( 'Print', 'tcp' ) . ''; + do_action( 'tcp_checkout_end', $order_id ); + return; + } elseif ( $shoppingCart->isEmpty() ) { + echo '' . __( 'The cart is empty', 'tcp' ) . ''; + } else { + require_once( dirname( __FILE__ ) . '/TCPCheckoutManager.class.php' ); + //Default checkout boxes + require_once( dirname( __FILE__ ) . '/TCPSigninBox.class.php' ); + require_once( dirname( __FILE__ ) . '/TCPBillingBox.class.php' ); + require_once( dirname( __FILE__ ) . '/TCPShippingBox.class.php' ); + require_once( dirname( __FILE__ ) . '/TCPShippingMethodsBox.class.php' ); + require_once( dirname( __FILE__ ) . '/TCPPaymentMethodsBox.class.php' ); + require_once( dirname( __FILE__ ) . '/TCPCartBox.class.php' ); + require_once( dirname( __FILE__ ) . '/TCPNoticeBox.class.php' ); + new TCPCheckoutManager(); + } + } + + static function sendMails( $order_id, $error = false, $error_text = '' ) { + require_once( dirname( dirname( __FILE__ ) ) . '/classes/OrderPage.class.php' ); + global $thecartpress; + $order = Orders::get( $order_id ); + if ( $order ) { + $customer_email = array(); + if ( strlen( $order->shipping_email ) > 0 ) $customer_email[] = $order->shipping_email; + if ( strlen( $order->billing_email ) > 0 && $order->shipping_email != $order->billing_email ) $customer_email[] = $order->billing_email; + $to_customer = implode( ',', $customer_email ); + $from = isset( $thecartpress->settings['from_email'] ) && strlen( $thecartpress->settings['from_email'] ) > 0 ? $thecartpress->settings['from_email'] : 'no-response@thecartpress.com'; + $headers = 'MIME-Version: 1.0' . "\r\n"; + $headers .= 'Content-type: text/html; charset=utf-8' . "\r\n"; + $headers .= 'To: ' . $to_customer . "\r\n"; + $headers .= 'From: ' . $from . "\r\n"; + //$headers .= 'Cc: ' . $cc . "\r\n"; + //$headers .= 'Bcc: ' . $bcc . "\r\n"; + $message = ''; + $subject = sprintf( __( 'Order from %s', 'tcp' ), get_bloginfo( 'name' ) ); + if ( $error ) { + $subject = __( 'Error in transaction.', 'tcp' ) . ' ' . $subject; + $message = $error_text; + } + $message .= isset( $_SESSION['order_page'] ) ? $_SESSION['order_page'] : OrderPage::show( $order_id, true, false ); + $message .= tcp_do_template( 'tcp_checkout_email', false ); + $message_to_customer = apply_filters( 'tcp_send_order_mail_to_customer', $message, $order_id ); + mail( $to_customer, $subject, $message_to_customer, $headers ); + $to = isset( $thecartpress->settings['emails'] ) ? $thecartpress->settings['emails'] : ''; + if ( strlen( $to ) ) { + $headers = 'MIME-Version: 1.0' . "\r\n"; + $headers .= 'Content-type: text/html; charset=utf-8' . "\r\n"; + $headers .= 'To: ' . $to . "\r\n"; + $headers .= 'From: ' . $from . "\r\n"; + $message_to_merchant = apply_filters( 'tcp_send_order_mail_to_merchant', $message, $order_id ); + mail( $to, $subject, $message, $headers ); + } + } + } +} +?> diff --git a/src/wp-content/plugins/thecartpress/checkout/TCPBillingBox.class.php b/src/wp-content/plugins/thecartpress/checkout/TCPBillingBox.class.php new file mode 100644 index 0000000..5229557 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/checkout/TCPBillingBox.class.php @@ -0,0 +1,379 @@ +errors['billing_firstname'] = __( 'The billing First name field must be completed', 'tcp' ); + if ( ! isset( $_REQUEST['billing_lastname'] ) || strlen( $_REQUEST['billing_lastname'] ) == 0 ) + $this->errors['billing_lastname'] = __( 'The billing Last name field must be completed', 'tcp' ); + if ( ! isset( $_REQUEST['billing_street'] ) || strlen( $_REQUEST['billing_street'] ) == 0 ) + $this->errors['billing_street'] = __( 'The billing Street field must be completed', 'tcp' ); + if ( isset( $_REQUEST['billing_city'] ) && strlen( $_REQUEST['billing_city'] ) == 0 ) + $this->errors['billing_city'] = __( 'The billing City field must be completed', 'tcp' ); + if ( isset( $_REQUEST['billing_region'] ) && strlen( $_REQUEST['billing_region'] ) == 0 && $_REQUEST['billing_region_id'] == '' ) + $this->errors['billing_region'] = __( 'The billing Region field must be completed', 'tcp' ); + global $thecartpress; + $billing_isos = isset( $thecartpress->settings['billing_isos'] ) ? $thecartpress->settings['billing_isos'] : false; + if ( $billing_isos ) { + if ( ! in_array( $_REQUEST['billing_country_id'], $billing_isos ) ) { + $this->errors['billing_country_id'] = __( 'The billing Country is not allowed', 'tcp' ); + } + } + if ( ! isset( $_REQUEST['billing_postcode'] ) || strlen( $_REQUEST['billing_postcode'] ) == 0 ) + $this->errors['billing_postcode'] = __( 'The billing Postcode field must be completed', 'tcp' ); + if ( ! isset( $_REQUEST['billing_email'] ) || strlen( $_REQUEST['billing_email'] ) == 0 ) + $this->errors['billing_email'] = __( 'The billing eMail field must be completed', 'tcp' ); + elseif ( ! $this->check_email_address( $_REQUEST['billing_email'] ) ) + $this->errors['billing_email'] = __( 'The billing eMail field must be a valid email', 'tcp' ); + } elseif ( $selected_billing_address == 'Y' ) { + global $thecartpress; + $billing_isos = isset( $thecartpress->settings['billing_isos'] ) ? $thecartpress->settings['billing_isos'] : false; + if ( $billing_isos ) { + $billing_country_id = Addresses::getCountryId( $_REQUEST['selected_billing_id'] ); + if ( ! in_array( $billing_country_id, $billing_isos ) ) { + $this->errors['billing_country_id'] = __( 'The billing Country is not allowed', 'tcp' ); + } + } + } + if ( count( $this->errors ) > 0 ) { + return false; + } else { + if ( $selected_billing_address == 'Y' ) { + $billing = array( + 'selected_billing_address' => 'Y', + 'selected_billing_id' => isset( $_REQUEST['selected_billing_id'] ) ? $_REQUEST['selected_billing_id'] : 0, + ); + } else { + $billing = array( + 'selected_billing_address' => 'new', + 'billing_firstname' => $_REQUEST['billing_firstname'], + 'billing_lastname' => $_REQUEST['billing_lastname'], + 'billing_company' => $_REQUEST['billing_company'], + 'billing_country' => isset( $_REQUEST['billing_country'] ) ? $_REQUEST['billing_country'] : '', + 'billing_country_id' => isset( $_REQUEST['billing_country_id'] ) ? $_REQUEST['billing_country_id'] : 0, + 'billing_region' => isset( $_REQUEST['billing_region'] ) ? $_REQUEST['billing_region'] : '', + 'billing_region_id' => isset( $_REQUEST['billing_region_id'] ) ? $_REQUEST['billing_region_id'] : 0, + 'billing_city' => isset( $_REQUEST['billing_city'] ) ? $_REQUEST['billing_city'] : '', + 'billing_city_id' => isset( $_REQUEST['billing_city_id'] ) ? $_REQUEST['billing_city_id'] : 0, + 'billing_street' => $_REQUEST['billing_street'], + 'billing_postcode' => $_REQUEST['billing_postcode'], + 'billing_telephone_1' => $_REQUEST['billing_telephone_1'], + 'billing_telephone_2' => $_REQUEST['billing_telephone_2'], + 'billing_fax' => $_REQUEST['billing_fax'], + 'billing_email' => $_REQUEST['billing_email'], + ); + } + $_SESSION['tcp_checkout']['billing'] = $billing; + return true; + } + } + + function show() { + if ( isset( $_REQUEST['selected_billing_address'] ) ) { + $selected_billing_address = $_REQUEST['selected_billing_address']; + } elseif ( isset( $_SESSION['tcp_checkout']['billing']['selected_billing_address'] ) ) { + $selected_billing_address = $_SESSION['tcp_checkout']['billing']['selected_billing_address']; + } else { + $selected_billing_address = 'Y'; + }?> +
      + ID ); + $default_address = false; + if ( count( $addresses ) > 0 ) : + if ( isset( $_REQUEST['selected_billing_id'] ) ) { + $default_address_id = $_REQUEST['selected_billing_id']; + } elseif ( isset( $_SESSION['tcp_checkout']['billing']['selected_billing_id'] ) ) { + $default_address_id = $_SESSION['tcp_checkout']['billing']['selected_billing_id']; + } else { + $default_address = Addresses::getCustomerDefaultBillingAddress( $current_user->ID ); + $default_address_id = $default_address ? $default_address->address_id : 0; + }?> +
      style="display:none"> + +
      + + showErrorMsg( 'billing_country_id' );?> +
      + 0 ) ) : ?> checked="true" onChange="jQuery('#selected_billing_area').show();jQuery('#new_billing_area').hide();" /> + +
      + + checked="true" onChange="jQuery('#new_billing_area').show();jQuery('#selected_billing_area').hide();" /> + +
      0 ) : + ?>style="display:none">firstname; + } elseif ( $current_user && $current_user instanceof WP_User ) { + $firstname = $current_user->first_name; + } else { + $firstname = ''; + } + if ( isset( $_REQUEST['billing_lastname'] ) ) { + $lastname = $_REQUEST['billing_lastname']; + } elseif ( isset( $_SESSION['tcp_checkout']['billing']['billing_lastname'] ) ) { + $lastname = $_SESSION['tcp_checkout']['billing']['billing_lastname']; + } elseif ( $default_address ) { + $lastname = $default_address->lastname; + } elseif ( $current_user && $current_user instanceof WP_User ) { + $lastname = $current_user->last_name; + } else { + $lastname = ''; + } + if ( isset( $_REQUEST['billing_company'] ) ) { + $company = $_REQUEST['billing_company']; + } elseif ( isset( $_SESSION['tcp_checkout']['billing']['billing_lastname'] ) ) { + $company = $_SESSION['tcp_checkout']['billing']['billing_company']; + } else { + $company = $default_address ? $default_address->company : ''; + } + if ( isset( $_REQUEST['billing_street'] ) ) { + $street = $_REQUEST['billing_street']; + } elseif ( isset( $_SESSION['tcp_checkout']['billing']['billing_street'] ) ) { + $street = $_SESSION['tcp_checkout']['billing']['billing_street']; + } else { + $street = $default_address ? $default_address->street : ''; + } + if ( isset( $_REQUEST['billing_city_id'] ) ) { + $city_id = $_REQUEST['billing_city_id']; + } elseif ( isset( $_SESSION['tcp_checkout']['billing']['billing_city_id'] ) ) { + $city_id = $_SESSION['tcp_checkout']['billing']['billing_city_id']; + } else { + $city_id = $default_address ? $default_address->city_id : ''; + } + if ( isset( $_REQUEST['billing_city'] ) ) { + $city = $_REQUEST['billing_city']; + } elseif ( isset( $_SESSION['tcp_checkout']['billing']['billing_city'] ) ) { + $city = $_SESSION['tcp_checkout']['billing']['billing_city']; + } else { + $city = $default_address ? $default_address->city : ''; + } + if ( isset( $_REQUEST['billing_region_id'] ) ) { + $region_id = $_REQUEST['billing_region_id']; + } elseif ( isset( $_SESSION['tcp_checkout']['billing']['billing_region_id'] ) ) { + $region_id = $_SESSION['tcp_checkout']['billing']['billing_region_id']; + } else { + $region_id = $default_address ? $default_address->region_id : ''; + } + if ( isset( $_REQUEST['billing_region'] ) ) { + $region = $_REQUEST['billing_region']; + } elseif ( isset( $_SESSION['tcp_checkout']['billing']['billing_region'] ) ) { + $region = $_SESSION['tcp_checkout']['billing']['billing_region']; + } else { + $region = $default_address ? $default_address->region : ''; + } + if ( isset( $_REQUEST['billing_postcode'] ) ) { + $postcode = $_REQUEST['billing_postcode']; + } elseif ( isset( $_SESSION['tcp_checkout']['billing']['billing_postcode'] ) ) { + $postcode = $_SESSION['tcp_checkout']['billing']['billing_postcode']; + } else { + $postcode = $default_address ? $default_address->postcode : ''; + } + if ( isset( $_REQUEST['billing_country_id'] ) ) { + $country_id = $_REQUEST['billing_country_id']; + } elseif ( isset( $_SESSION['tcp_checkout']['billing']['billing_country_id'] ) ) { + $country_id = $_SESSION['tcp_checkout']['billing']['billing_country_id']; + } else { + $country_id = $default_address ? $default_address->country_id : ''; + } + if ( isset( $_REQUEST['billing_telephone_1'] ) ) { + $telephone_1 = $_REQUEST['billing_telephone_1']; + } elseif ( isset( $_SESSION['tcp_checkout']['billing']['billing_telephone_1'] ) ) { + $telephone_1 = $_SESSION['tcp_checkout']['billing']['billing_telephone_1']; + } else { + $telephone_1 = $default_address ? $default_address->telephone_1 : ''; + } + if ( isset( $_REQUEST['billing_telephone_2'] ) ) { + $telephone_2 = $_REQUEST['billing_telephone_2']; + } elseif ( isset( $_SESSION['tcp_checkout']['billing']['billing_telephone_2'] ) ) { + $telephone_2 = $_SESSION['tcp_checkout']['billing']['billing_telephone_2']; + } else { + $telephone_2 = $default_address ? $default_address->telephone_2 : ''; + } + if ( isset( $_REQUEST['billing_fax'] ) ) { + $fax = $_REQUEST['billing_fax']; + } elseif ( isset( $_SESSION['tcp_checkout']['billing']['billing_fax'] ) ) { + $fax = $_SESSION['tcp_checkout']['billing']['billing_fax']; + } else { + $fax = $default_address ? $default_address->fax : ''; + } + if ( isset( $_REQUEST['billing_email'] ) ) { + $email = $_REQUEST['billing_email']; + } elseif ( isset( $_SESSION['tcp_checkout']['billing']['billing_email'] ) ) { + $email = $_SESSION['tcp_checkout']['billing']['billing_email']; + } elseif ( $default_address ) { + $email = $default_address->email; + } elseif ( $current_user ) { //&& $current_user instanceof WP_User ) { + $email = '';//$current_user->email; + } else { + $email = ''; + }?> +
        +
      • + + showErrorMsg( 'billing_firstname' );?>
      • + +
      • + + showErrorMsg( 'billing_lastname' );?>
      • + +
      • + + showErrorMsg( 'billing_company' );?>
      • + + + +
      • + settings['country'] ) ? $thecartpress->settings['country'] : ''; + $billing_isos = isset( $thecartpress->settings['billing_isos'] ) ? $thecartpress->settings['billing_isos'] : false; + if ( $billing_isos ) { + $countries = Countries::getSome( $billing_isos, tcp_get_current_language_iso() ); + } else { + $countries = Countries::getAll( tcp_get_current_language_iso() ); + } + $country_bill = $country_id; + if ( $country_bill == '' ) $country_bill = $country; + ?> +
      • + +
      • + array( 'name'), 'id' => array( 'name'), ... )?> + + + showErrorMsg( 'billing_region_id' );?> + 0 ) echo 'style="display:none;"';?>/> + showErrorMsg( 'billing_region' );?> +
      • + +
      • + array( 'name'), 'id' => array( 'name'), ... ) + $cities = apply_filters( 'tcp_load_cities_for_billing', $cities ); + if ( is_array( $cities ) && count( $cities ) > 0 ) : ?> + + showErrorMsg( 'billing_city_id' );?> + + + showErrorMsg( 'billing_city' );?> + +
      • + +
      • + + showErrorMsg( 'billing_street' );?>
      • + +
      • + + showErrorMsg( 'billing_postcode' );?>
      • + +
      • + + showErrorMsg( 'billing_telephone_1' );?>
      • + +
      • + + showErrorMsg( 'billing_telephone_2' );?>
      • + +
      • + + showErrorMsg( 'billing_fax' );?>
      • + +
      • + + showErrorMsg( 'billing_email' );?>
      • +
      +
      + +
      + errors[$field_name] ) ) : ?> +
      errors[$field_name];?> + diff --git a/src/wp-content/plugins/thecartpress/checkout/TCPCartBox.class.php b/src/wp-content/plugins/thecartpress/checkout/TCPCartBox.class.php new file mode 100644 index 0000000..e9c3d33 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/checkout/TCPCartBox.class.php @@ -0,0 +1,161 @@ + isset( $_REQUEST['comment'] ) ? $_REQUEST['comment'] : 0, + ); + $_SESSION['tcp_checkout']['cart'] = $comment; + return true; + } + + function show() { + $shipping_country = ''; + $selected_shipping_address = isset( $_SESSION['tcp_checkout']['shipping']['selected_shipping_address'] ) ? $_SESSION['tcp_checkout']['shipping']['selected_shipping_address'] : false; + if ( $selected_shipping_address == 'new' ) { + $shipping_country = $_SESSION['tcp_checkout']['shipping']['shipping_country_id']; + } elseif ( $selected_shipping_address == 'BIL' ) { + $selected_billing_address = isset( $_SESSION['tcp_checkout']['billing']['selected_billing_address'] ) ? $_SESSION['tcp_checkout']['billing']['selected_billing_address'] : false; + if ( $selected_billing_address == 'new' ) { + $shipping_country = $_SESSION['tcp_checkout']['billing']['billing_country_id']; + } else { //if ( $selected_billing_address == 'Y' ) { + $shipping_country = Addresses::getCountryId( $_SESSION['tcp_checkout']['billing']['selected_billing_id'] ); + } + } elseif ( $selected_shipping_address == 'Y' ) { + $shipping_country = Addresses::getCountryId( $_SESSION['tcp_checkout']['shipping']['selected_shipping_id'] ); + }?> +
      + showOrderCart( $shipping_country ); + do_action( 'tcp_checkout_cart_after' ); + if ( isset( $_REQUEST['comment'] ) ) { + $comment = $_REQUEST['comment']; + } elseif ( isset( $_SESSION['tcp_checkout']['cart']['comment'] ) ) { + $comment = $_SESSION['tcp_checkout']['cart']['comment']; + } else { + $comment = ''; + } + ?> +
      + +
      + + + + + + + + + + + + getItems() as $item ) { + $post_id = tcp_get_current_id( $item->getPostId() ); + $option_1_id = tcp_get_current_id( $item->getOption1Id() ); + $option_2_id = tcp_get_current_id( $item->getOption2Id() );?> + + 0 ) $price += tcp_get_the_price( $option_1_id ); + if ( $option_2_id > 0 ) $price += tcp_get_the_price( $option_2_id ); + $price_without_tax = tcp_get_the_price_without_tax( $post_id, $price ); + $tax = tcp_get_the_tax_amount( $post_id, $price ); + //$tax = $price - $price_without_tax;?> + + + + getUnits(); + $tax_amount += $tax; + $price = $price_without_tax * $item->getUnits(); + $subtotal += $price;?> + + getDiscount(); + $discount = $shoppingCart->getAllDiscounts(); + if ( $discount > 0 ) : ?> + + + + getCost( $instance, $shipping_country, $shoppingCart ); + $shoppingCart->addOtherCost( ShoppingCart::$OTHER_COST_SHIPPING_ID, $shipping_cost, __( 'Shipping cost', 'tcp' ) ); + } else { + $shoppingCart->deleteOtherCost( ShoppingCart::$OTHER_COST_SHIPPING_ID ); + } + if ( isset( $_SESSION['tcp_checkout']['payment_methods']['payment_method_id'] ) ) { + $pmi = $_SESSION['tcp_checkout']['payment_methods']['payment_method_id']; + $pmi = explode( '#', $pmi ); + $class = $pmi[0]; + $instance = $pmi[1]; + $payment_method = new $class(); + $payment_cost = $payment_method->getCost( $instance, $shipping_country, $shoppingCart ); + $shoppingCart->addOtherCost( ShoppingCart::$OTHER_COST_PAYMENT_ID, $payment_cost, __( 'Payment cost', 'tcp' ) ); + } else { + $shoppingCart->deleteOtherCost( ShoppingCart::$OTHER_COST_PAYMENT_ID ); + } + do_action( 'tcp_checkout_calculate_other_costs' ); + $costs = $shoppingCart->getOtherCosts(); + asort( $costs, SORT_STRING ); + foreach( $costs as $cost_id => $cost ) : ?> + class="tcp_par"> + + getCost() );?> + + getCost() ); + $subtotal += $cost_without_tax; + endforeach; + $show_tax_summary = false; + if ( $tax_amount == 0 ) { + $show_tax_summary = tcp_get_display_zero_tax_subtotal(); + } elseif ( tcp_is_display_full_tax_summary() ) { + $show_tax_summary = true; + } + if ( $show_tax_summary ) : ?> + + + + + + + + + +
      getOption1Id(), $item->getOption2Id() );?> + getCount(), 0 );?>getWeight(), 0 );?> 
      getDesc();?>
      diff --git a/src/wp-content/plugins/thecartpress/checkout/TCPCheckoutBox.class.php b/src/wp-content/plugins/thecartpress/checkout/TCPCheckoutBox.class.php new file mode 100644 index 0000000..1a2f5da --- /dev/null +++ b/src/wp-content/plugins/thecartpress/checkout/TCPCheckoutBox.class.php @@ -0,0 +1,51 @@ +config_settings = $config_settings; + } + + function get_title() { + } + + function get_class() { + return ''; + } + + function show_config_settings() { + } + + function save_config_settings() { + } + + function delete_config_settings() { + } + + /** + * Returns true if the box needs a form tag encapsulating it + */ + function is_form_encapsulated() { + return true; + } + + /** + *@return possible values: -1 jump to the step - 1, 0 -> No jump, 1 jump to step + 1 + */ + function before_action() { + return 0; + } + + function after_action() { + return true; + } + + function show() { + return true; + } +} +?> diff --git a/src/wp-content/plugins/thecartpress/checkout/TCPCheckoutManager.class.php b/src/wp-content/plugins/thecartpress/checkout/TCPCheckoutManager.class.php new file mode 100644 index 0000000..75fc4de --- /dev/null +++ b/src/wp-content/plugins/thecartpress/checkout/TCPCheckoutManager.class.php @@ -0,0 +1,529 @@ + array( + 'checkout_box' => 'TCPSigninBox', + 'settings' => array(), + ), + 1 => array( + 'checkout_box' => 'TCPBillingBox', + 'settings' => array(), + ), + 2 => array( + 'checkout_box' => 'TCPShippingBox', + ), + 3 => array( + 'checkout_box' => 'TCPShippingMethodsBox', + ), + 4 => array( + 'checkout_box' => 'TCPPaymentMethodsBox', + ), + 5 => array( + 'checkout_box' => 'TCPCartBox', + ), + 6 => array( + 'checkout_box' => 'TCPNoticeBox', + ), + ); + + function __construct( $checkout_type = 'ACCORDION' ) { //ACCORDION, TOP_BAR + if ( ! session_id() ) session_start(); + if ( ! isset( $_SESSION['tcp_checkout'] ) ) $_SESSION['tcp_checkout'] = array(); + $this->checkout_type = $checkout_type; + $step = isset( $_REQUEST['step'] ) ? $_REQUEST['step'] : 0; + $box = $this->get_box( $step ); + if ( isset( $_REQUEST['tcp_continue'] ) ) { + if ( ! $box->after_action() ) { + $this->show( $box, $step ); + } else { + $this->show_next_box( $box, $step ); + } + } elseif ( isset( $_REQUEST['tcp_back'] ) ) { + $this->show_previous_box( $box, $step ); + } else { + $box = $this->get_box( $step ); + $next_step = $step + $box->before_action(); + if ( $step == $next_step ) { + $this->show( $box, $step ); + } else { + //$next_box = $this->get_box( $next_step ); + //$this->show( $next_box, $next_step ); + $this->show_next_box( $box, $step ); + } + } + } + + private function show_next_box( $box, $step ) { + $step++; + $next_box = $this->get_box( $step ); + if ( $next_box ) { + $next_step = $step + $next_box->before_action(); + if ( $step != $next_step ) { + $next_box = $this->get_box( $next_step ); + $this->show_next_box( $next_box, $step ); + } else { + $this->show( $next_box, $next_step ); + } + } else { + $this->show( $box, $step ); //to see the last step + } + } + + private function show_previous_box( $box, $step ) { + if ( $step == 0 ) { + $this->show_next_box( $box, 0 ); + } else { + $step--; + $previous_box = $this->get_box( $step ); + $previous_step = $step - abs( $previous_box->before_action() ); + + if ( $step != $previous_step ) { + $previous_box = $this->get_box( $previous_step ); + $this->show_previous_box( $previous_box, $step ); + } else { + $this->show( $previous_box, $previous_step ); + } + } + } + + private function show( $box, $step = 0 ) {?> +
      + show_header( $box, $step ); + if ( $step == count( $this->steps ) ) { //last step, no return + $this->create_order(); //create the order, show payment form and empty shoppingcart + } else { + if ( $box->is_form_encapsulated() ) :?>
      +
      +

      . get_title();?>

      + show(); + $html = ''; + if ( ! $box->is_form_encapsulated() ) $html .= ''; + if ( $step > 0 ) $html .= ''; + if ( $see_continue_button && $step < count( $this->steps ) ) + $html .= ''; + $html .= ''; + if ( ! $box->is_form_encapsulated() ) $html .= ''; + if ( strlen( $html ) > 0 ) :?> + + show_footer( $box, $step );?> +
      get_class();?> --> + is_form_encapsulated() ) :?> +
      steps ) ) { //last step, no return + } elseif ( $this->checkout_type == TCPCheckoutManager::$TOP_BAR ) { ?> +
        + steps as $s => $value ) { + if ( $s < $step ) { + $b = $this->get_box( $s ); + $url = add_query_arg( 'step', $s, get_permalink() );?> +
      • get_title();?>
      • + get_box( $s );?> +
      • get_title();?>
      • + +
      + steps as $s => $value ) { + if ( $s < $step ) { + $b = $this->get_box( $s ); + $url = add_query_arg( 'step', $s, get_permalink() );?> + + steps ) -1 ) { //last step, no return + } elseif ( $this->checkout_type == TCPCheckoutManager::$ACCORDION ) { + foreach( $this->steps as $s => $value ) { + if ( $s > $step ) { + $b = $this->get_box( $s );?> +

      . get_title();?>

      + steps[$step] ) ) { + $checkout_box = isset( $this->steps[$step]['checkout_box'] ) ? $this->steps[$step]['checkout_box'] : false; + $settings = isset( $this->steps[$step]['settings'] ) ? $this->steps[$step]['settings'] : array(); + if ( $checkout_box ) { + return new $checkout_box( $settings ); + } else { + return false; + //throw new InvalidArgumentException( 'The Checkout is not configured correctly' ); + } + } else { + return false; + //throw new InvalidArgumentException( 'The step ' . $step .' doesn\'t exist in the checkout configuration' ); + } + } + + private function create_order() { + $selected_billing_address = isset( $_SESSION['tcp_checkout']['billing']['selected_billing_address'] ) ? $_SESSION['tcp_checkout']['billing']['selected_billing_address'] : 'N'; + $selected_shipping_address = isset( $_SESSION['tcp_checkout']['shipping']['selected_shipping_address'] ) ? $_SESSION['tcp_checkout']['shipping']['selected_shipping_address'] : 'N'; + do_action( 'tcp_checkout_create_order_start' ); + $order = array(); + $order['created_at'] = date( 'Y-m-d H:i:s' ); + $order['ip'] = tcp_get_remote_ip(); + $order['status'] = Orders::$ORDER_PENDING; + $order['comment'] = isset( $_SESSION['tcp_checkout']['cart']['comment'] ) ? $_SESSION['tcp_checkout']['cart']['comment'] : ''; + $order['order_currency_code'] = tcp_get_the_currency_iso(); + if ( $selected_billing_address == 'Y' ) { + $address = Addresses::get( $_SESSION['tcp_checkout']['billing']['selected_billing_id'] ); + $order['billing_firstname'] = $address->firstname; + $order['billing_lastname'] = $address->lastname; + $order['billing_company'] = $address->company; + $order['billing_street'] = $address->street; + $order['billing_city'] = $address->city; + $order['billing_city_id'] = $address->city_id; + $order['billing_region'] = $address->region; + $order['billing_region_id'] = $address->region_id; + $order['billing_postcode'] = $address->postcode; + $order['billing_country'] = ''; //$address->country; + $order['billing_country_id'] = $address->country_id; + $order['billing_telephone_1'] = $address->telephone_1; + $order['billing_telephone_2'] = $address->telephone_2; + $order['billing_fax'] = $address->fax; + $order['billing_email'] = $address->email; + $create_billing_address = false; + } else { + $order['billing_firstname'] = $_SESSION['tcp_checkout']['billing']['billing_firstname']; + $order['billing_lastname'] = $_SESSION['tcp_checkout']['billing']['billing_lastname']; + $order['billing_company'] = $_SESSION['tcp_checkout']['billing']['billing_company']; + $order['billing_street'] = $_SESSION['tcp_checkout']['billing']['billing_street']; + $order['billing_city'] = $_SESSION['tcp_checkout']['billing']['billing_city']; + $order['billing_city_id'] = isset( $_SESSION['tcp_checkout']['billing']['billing_city_id'] ) ? $_SESSION['tcp_checkout']['billing']['billing_city_id'] : ''; + $order['billing_region'] = isset( $_SESSION['tcp_checkout']['billing']['billing_region'] ) ? $_SESSION['tcp_checkout']['billing']['billing_region'] : ''; + $order['billing_region_id'] = isset( $_SESSION['tcp_checkout']['billing']['billing_region_id'] ) ? $_SESSION['tcp_checkout']['billing']['billing_region_id'] : ''; + $order['billing_postcode'] = $_SESSION['tcp_checkout']['billing']['billing_postcode']; + $order['billing_country'] = isset( $_SESSION['tcp_checkout']['billing']['billing_country'] ) ? $_SESSION['tcp_checkout']['billing']['billing_country'] : ''; + $order['billing_country_id'] = $_SESSION['tcp_checkout']['billing']['billing_country_id']; + $order['billing_telephone_1'] = $_SESSION['tcp_checkout']['billing']['billing_telephone_1']; + $order['billing_telephone_2'] = $_SESSION['tcp_checkout']['billing']['billing_telephone_2']; + $order['billing_fax'] = $_SESSION['tcp_checkout']['billing']['billing_fax']; + $order['billing_email'] = $_SESSION['tcp_checkout']['billing']['billing_email']; + $create_billing_address = true; + } + if ( $selected_shipping_address == 'Y' ) { + $address = Addresses::get( $_SESSION['tcp_checkout']['shipping']['selected_shipping_id'] ); + $order['shipping_firstname'] = $address->firstname; + $order['shipping_lastname'] = $address->lastname; + $order['shipping_company'] = $address->company; + $order['shipping_street'] = $address->street; + $order['shipping_city'] = $address->city; + $order['shipping_city_id'] = $address->city_id; + $order['shipping_region'] = $address->region; + $order['shipping_region_id'] = $address->region_id; + $order['shipping_postcode'] = $address->postcode; + $order['shipping_country'] = ''; //$address->country; + $order['shipping_country_id'] = $address->country_id; + $order['shipping_telephone_1'] = $address->telephone_1; + $order['shipping_telephone_2'] = $address->telephone_2; + $order['shipping_fax'] = $address->fax; + $order['shipping_email'] = $address->email; + $create_shipping_address = false; + } elseif ( $selected_shipping_address == 'BIL' ) { + $order['shipping_firstname'] = $order['billing_firstname']; + $order['shipping_lastname'] = $order['billing_lastname']; + $order['shipping_company'] = $order['billing_company']; + $order['shipping_street'] = $order['billing_street']; + $order['shipping_city'] = $order['billing_city']; + $order['shipping_city_id'] = $order['billing_city_id']; + $order['shipping_region'] = $order['billing_region']; + $order['shipping_region_id'] = $order['billing_region_id']; + $order['shipping_postcode'] = $order['billing_postcode']; + $order['shipping_country'] = //$order['billing_country']; + $order['shipping_country_id'] = $order['billing_country_id']; + $order['shipping_telephone_1'] = $order['billing_telephone_1']; + $order['shipping_telephone_2'] = $order['billing_telephone_2']; + $order['shipping_fax'] = $order['billing_fax']; + $order['shipping_email'] = $order['billing_email']; + $create_shipping_address = false; + } elseif ( isset( $_SESSION['tcp_checkout']['shipping'] ) ) { + $order['shipping_firstname'] = $_SESSION['tcp_checkout']['shipping']['shipping_firstname']; + $order['shipping_lastname'] = $_SESSION['tcp_checkout']['shipping']['shipping_lastname']; + $order['shipping_company'] = $_SESSION['tcp_checkout']['shipping']['shipping_company']; + $order['shipping_street'] = $_SESSION['tcp_checkout']['shipping']['shipping_street']; + $order['shipping_city'] = $_SESSION['tcp_checkout']['shipping']['shipping_city']; + $order['shipping_city_id'] = isset( $_SESSION['tcp_checkout']['shipping']['shipping_city_id'] ) ? $_SESSION['tcp_checkout']['shipping']['shipping_city_id'] : ''; + $order['shipping_region'] = isset( $_SESSION['tcp_checkout']['shipping']['shipping_region'] ) ? $_SESSION['tcp_checkout']['shipping']['shipping_region'] : ''; + $order['shipping_region_id'] = isset( $_SESSION['tcp_checkout']['shipping']['shipping_region_id'] ) ? $_SESSION['tcp_checkout']['shipping']['shipping_region_id'] : ''; + $order['shipping_postcode'] = $_SESSION['tcp_checkout']['shipping']['shipping_postcode']; + $order['shipping_country'] = isset( $_SESSION['tcp_checkout']['shipping']['shipping_country'] ) ? $_SESSION['tcp_checkout']['shipping']['shipping_country'] : ''; + $order['shipping_country_id'] = $_SESSION['tcp_checkout']['shipping']['shipping_country_id']; + $order['shipping_telephone_1'] = $_SESSION['tcp_checkout']['shipping']['shipping_telephone_1']; + $order['shipping_telephone_2'] = $_SESSION['tcp_checkout']['shipping']['shipping_telephone_2']; + $order['shipping_fax'] = $_SESSION['tcp_checkout']['shipping']['shipping_fax']; + $order['shipping_email'] = $_SESSION['tcp_checkout']['shipping']['shipping_email']; + $create_shipping_address = true; + } else { + $order['shipping_firstname'] = ''; + $order['shipping_lastname'] = ''; + $order['shipping_company'] = ''; + $order['shipping_street'] = ''; + $order['shipping_city'] = ''; + $order['shipping_city_id'] = ''; + $order['shipping_region'] = ''; + $order['shipping_region_id'] = ''; + $order['shipping_postcode'] = ''; + $order['shipping_country'] = ''; + $order['shipping_country_id'] = ''; + $order['shipping_telephone_1'] = ''; + $order['shipping_telephone_2'] = ''; + $order['shipping_fax'] = ''; + $order['shipping_email'] = ''; + $create_shipping_address = false; + } + if ( is_user_logged_in() ) { + global $current_user; + get_currentuserinfo(); + $order['customer_id'] = $current_user->ID; + } else { + $order['customer_id'] = 0; + } + $shoppingCart = TheCartPress::getShoppingCart(); + $shipping_country = $this->tcp_get_shipping_country(); + if ( isset( $_SESSION['tcp_checkout']['shipping_methods']['shipping_method_id'] ) ) { //sending + $smi = $_SESSION['tcp_checkout']['shipping_methods']['shipping_method_id']; + $smi = explode( '#', $smi ); + $class = $smi[0]; + $instance = $smi[1]; + $shipping_method = new $class(); + $shipping_amount = $shipping_method->getCost( $instance, $shipping_country, $shoppingCart ); + $shoppingCart->addOtherCost( ShoppingCart::$OTHER_COST_SHIPPING_ID, $shipping_amount, __( 'Shipping cost', 'tcp' ) ); + $order['shipping_amount'] = 0; + $order['shipping_method'] = $class; + } else { + $order['shipping_amount'] = 0; + $order['shipping_method'] = ''; + } + if ( isset( $_SESSION['tcp_checkout']['payment_methods']['payment_method_id'] ) ) { + $pmi = $_SESSION['tcp_checkout']['payment_methods']['payment_method_id']; + $pmi = explode ('#', $pmi ); + $class = $pmi[0]; + $instance = $pmi[1]; + $payment_method = new $class(); + $payment_amount = $payment_method->getCost( $instance, $shipping_country, $shoppingCart ); + $order['payment_amount'] = 0; + $shoppingCart->addOtherCost( ShoppingCart::$OTHER_COST_PAYMENT_ID, $payment_amount, __( 'Payment cost', 'tcp' ) ); + $order['payment_method'] = $class; + $order['payment_name'] = $payment_method->getTitle(); + } else { + $order['payment_amount'] = 0; + $order['payment_method'] = ''; + $order['payment_name'] = ''; + } + do_action( 'tcp_checkout_calculate_other_costs' ); + $order['discount_amount'] = $shoppingCart->getAllDiscounts(); + $order['weight'] = $shoppingCart->getWeight(); + $order['comment_internal'] = ''; + $order['code_tracking'] = ''; + //TODO more values??? + if ( isset( $order['billing_country'] ) && strlen( $order['billing_country'] ) == 0 ) { + $country_bill = Countries::get( $order['billing_country_id'] ); + $order['billing_country'] = $country_bill->name; + } + if ( $order['shipping_country_id'] == $order['billing_country_id'] ) + $order['shipping_country'] = $order['billing_country']; + elseif ( isset( $order['shipping_country'] ) && strlen( $order['shipping_country'] ) == 0 ) { + $country_ship = Countries::get( $order['shipping_country_id'] ); + if ( $country_ship ) $order['shipping_country'] = $country_ship->name; + } + $order_id = Orders::insert( $order ); + do_action( 'tcp_checkout_create_order_insert', $order_id ); + $no_stock_enough = false; + foreach( $shoppingCart->getItems() as $item ) { + $post = get_post( $item->getPostId() ); + $sku = tcp_get_the_sku( $item->getPostId(), $item->getOption1Id(), $item->getOption2Id() ); + //$sku = tcp_get_the_sku(); + $days_to_expire = (int)get_post_meta( $post->ID, 'tcp_days_to_expire', true ); + if ( $days_to_expire > 0 ) { + $today = date( 'Y-m-d' ); + $expires_at = date ( 'Y-m-d', strtotime( date( 'Y-m-d', strtotime( $today ) ) . " +$days_to_expire day" ) ); + } elseif ( $days_to_expire == 0 ) { + $expires_at = date( 'Y-m-d' ); + } else { + $expires_at = date( 'Y-m-d', mktime( 0, 0, 0, 1, 1, 2000 ) ); + } + $ordersDetails = array(); + $ordersDetails['order_id'] = $order_id; + $ordersDetails['post_id'] = $item->getPostId(); + $ordersDetails['option_1_id'] = $item->getOption1Id(); + $ordersDetails['option_2_id'] = $item->getOption2Id(); + $ordersDetails['weight'] = $item->getWeight(); + $ordersDetails['is_downloadable'] = $item->isDownloadable() ? 'Y' : ''; + $ordersDetails['sku'] = $sku; + $ordersDetails['name'] = $post->post_title; + $ordersDetails['option_1_name'] = $item->getOption1Id() > 0 ? get_the_title( $item->getOption1Id() ) : ''; + $ordersDetails['option_2_name'] = $item->getOption2Id() > 0 ? get_the_title( $item->getOption2Id() ) : ''; + $ordersDetails['price'] = $item->getUnitPrice(); + //$ordersDetails['price'] = tcp_get_the_price_without_tax( $item->getPostId(), $item->getUnitPrice() ); + $ordersDetails['original_price'] = $item->getUnitPrice(); + $ordersDetails['tax'] = $item->getTax();//since 1.0.9 must be 0 + $ordersDetails['qty_ordered'] = $item->getCount(); + $ordersDetails['max_downloads'] = (int)get_post_meta( $post->ID, 'tcp_max_downloads', true ); + $ordersDetails['expires_at'] = $expires_at; + global $thecartpress; + $stock_management = isset( $thecartpress->settings['stock_management'] ) ? $thecartpress->settings['stock_management'] : false; + if ( $stock_management ) { + $stock = tcp_get_the_stock( $item->getPostId(), $item->getOption1Id(), $item->getOption2Id() ); + $stock = apply_filters( 'tcp_checkout_stock', $stock ); + if ( $stock == -1 ) { + //nothing to do + } elseif ( $stock >= $item->getCount() ) { + tcp_set_the_stock( $item->getPostId(), $item->getOption1Id(), $item->getOption2Id(), $stock - $item->getCount() ); + } else { + $no_stock_enough = true; + } + } + $orders_details_id = OrdersDetails::insert( $ordersDetails ); + do_action( 'tcp_checkout_create_order_insert_detail', $orders_details_id ); + } + foreach( $shoppingCart->getOtherCosts() as $id => $cost ) { + //if ( $id != ShoppingCart::$OTHER_COST_SHIPPING_ID && $id != ShoppingCart::$OTHER_COST_PAYMENT_ID ) { + $ordersCosts = array(); + $ordersCosts['order_id'] = $order_id; + $ordersCosts['description'] = $cost->getDesc(); + $ordersCosts['cost'] = tcp_get_the_shipping_cost_without_tax( $cost->getCost() ); + $ordersCosts['tax'] = tcp_get_the_shipping_tax();//tcp_calculate_tax_for_shipping( $cost->getCost() ); + $ordersCosts['cost_order'] = $cost->getOrder(); + $orders_cost_id = OrdersCosts::insert( $ordersCosts ); + do_action( 'tcp_checkout_create_order_insert_cost', $orders_cost_id ); + //} + } + if ( $create_shipping_address ) + $this->createNewShippingAddress( $order ); + if ( $create_billing_address ) + $this->createNewBillingAddress( $order ); + //if ( $order['customer_id'] > 0 ) {//for downloadable products the customer must be registered + //$virtualProductsDAO = new VirtualProductsDAO(); + //$virtualProductsDAO->createVirtualProducts($productsCart, $order->customer_id, $order_id); + //} + // + // shows Payment Area + // + do_action( 'tcp_checkout_ok', $order_id ); + echo '
      ' . "\n"; + if ( $no_stock_enough ) { + Orders::editStatus( $order_id, Orders::$ORDER_PENDING, __( 'Not enough stock in order at check-out', 'tcp' ) ); + echo '

      ', __( 'There was an error when creating the order. Please contact with the seller.', 'tcp' ), '

      '; + } + echo '

      ' . __( 'The next step helps you to pay using the payment method chosen by you.', 'tcp' ) . '

      '; + if ( isset( $_SESSION['tcp_checkout']['payment_methods']['payment_method_id'] ) ) { + $pmi = $_SESSION['tcp_checkout']['payment_methods']['payment_method_id']; + $pmi = explode( '#', $pmi ); + $class = $pmi[0]; + $instance = $pmi[1]; + $payment_method = new $class(); + do_action( 'tcp_checkout_calculate_other_costs' ); + echo '

      '; + $payment_method->showPayForm( $instance, $shipping_country, $shoppingCart, $order_id ); + echo '

      '; + } + $order_page = OrderPage::show( $order_id, true, false ); + $_SESSION['order_page'] = $order_page; + echo $order_page; + //sendMails?? + echo '
      '; + echo '' . __( 'Print', 'tcp' ) . ''; + echo '
      ' . "\n"; + $shoppingCart->deleteAll(); + } + + private function tcp_get_shipping_country() { + $shipping_country = ''; + $selected_shipping_address = isset( $_SESSION['tcp_checkout']['shipping']['selected_shipping_address'] ) ? $_SESSION['tcp_checkout']['shipping']['selected_shipping_address'] : false; + if ( $selected_shipping_address == 'new' ) { + $shipping_country = $_SESSION['tcp_checkout']['shipping']['shipping_country_id']; + } elseif ( $selected_shipping_address == 'BIL' ) { + if ( isset( $_SESSION['tcp_checkout']['billing']['selected_billing_address'] ) && $_SESSION['tcp_checkout']['billing']['selected_billing_address'] == 'new' ) + $shipping_country = $_SESSION['tcp_checkout']['billing']['billing_country_id']; + else { + $address_id = $_SESSION['tcp_checkout']['billing']['selected_billing_id']; + $address = Addresses::get( $address_id ); + $shipping_country = $address->country_id; + } + } elseif ( $selected_shipping_address == 'Y' ) { + if ( isset( $_SESSION['tcp_checkout']['shipping']['selected_shipping_id'] ) ) { + $address_id = $_SESSION['tcp_checkout']['shipping']['selected_shipping_id']; + $address = Addresses::get( $address_id ); + $shipping_country = $address->country_id; + } + } + return $shipping_country; + } + + private function createNewBillingAddress( $order ) { + if ( $order['customer_id'] > 0 ) { + $address = array(); + $address['customer_id'] = $order['customer_id']; + $address['default_shipping'] = 'N'; + $address['default_billing'] = 'Y'; + $address['name'] = __( 'billing address', 'tcp' );//title + $address['firstname'] = $order['billing_firstname']; + $address['lastname'] = $order['billing_lastname']; + $address['company'] = $order['billing_company']; + $address['street'] = $order['billing_street']; + $address['city'] = $order['billing_city']; + $address['city_id'] = $order['billing_city_id']; + $address['region_id'] = $order['billing_region_id']; + $address['region'] = $order['billing_region']; + $address['postcode'] = $order['billing_postcode']; + $address['country'] = $order['billing_country']; + $address['country_id'] = $order['billing_country_id']; + $address['telephone_1'] = $order['billing_telephone_1']; + $address['telephone_2'] = $order['billing_telephone_2']; + $address['fax'] = $order['billing_fax']; + $address['email'] = $order['billing_email']; + Addresses::save($address); + } + } + + function createNewShippingAddress( $order ) { + if ( $order['customer_id'] > 0 ) { + $address = array(); + $address['customer_id'] = $order['customer_id']; + $address['default_shipping'] = 'Y'; + $address['default_billing'] = 'N'; + $address['name'] = __( 'shipping address', 'tcp' ); + $address['firstname'] = $order['shipping_firstname']; + $address['lastname'] = $order['shipping_lastname']; + $address['company'] = $order['shipping_company']; + $address['street'] = $order['shipping_street']; + $address['city'] = $order['shipping_city']; + $address['city_id'] = $order['shipping_city_id']; + $address['region_id'] = $order['shipping_region_id']; + $address['region'] = $order['shipping_region']; + $address['postcode'] = $order['shipping_postcode']; + $address['country'] = $order['shipping_country']; + $address['country_id'] = $order['shipping_country_id']; + $address['telephone_1'] = $order['shipping_telephone_1']; + $address['telephone_2'] = $order['shipping_telephone_2']; + $address['fax'] = $order['shipping_fax']; + $address['email'] = $order['shipping_email']; + Addresses::save( $address ); + } + } +} +?> diff --git a/src/wp-content/plugins/thecartpress/checkout/TCPNoticeBox.class.php b/src/wp-content/plugins/thecartpress/checkout/TCPNoticeBox.class.php new file mode 100644 index 0000000..d647ada --- /dev/null +++ b/src/wp-content/plugins/thecartpress/checkout/TCPNoticeBox.class.php @@ -0,0 +1,43 @@ +errors['legal_notice_accept'] = __( 'You must accept the conditions!!', 'tcp' ); + return count( $this->errors ) == 0; + } + + function show() { + $legal_notice_accept = isset( $_REQUEST['legal_notice_accept'] ) ? $_REQUEST['legal_notice_accept'] : '';?> + diff --git a/src/wp-content/plugins/thecartpress/checkout/TCPPaymentMethodsBox.class.php b/src/wp-content/plugins/thecartpress/checkout/TCPPaymentMethodsBox.class.php new file mode 100644 index 0000000..1e374a5 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/checkout/TCPPaymentMethodsBox.class.php @@ -0,0 +1,74 @@ +errors['payment_method_id'] = __( 'You must select a payment method', 'tcp' ); + if ( count( $this->errors ) > 0 ) { + return false; + } else { + $payment_method = array( + 'payment_method_id' => isset( $_REQUEST['payment_method_id'] ) ? $_REQUEST['payment_method_id'] : 0, + ); + $_SESSION['tcp_checkout']['payment_methods'] = $payment_method; + return true; + } + } + + function show() { + $shoppingCart = TheCartPress::getShoppingCart(); + $billing_country = ''; + $selected_billing_address = isset( $_SESSION['tcp_checkout']['billing']['selected_billing_address'] ) ? $_SESSION['tcp_checkout']['billing']['selected_billing_address'] : false; + if ( $selected_billing_address == 'new' ) { + $billing_country = $_SESSION['tcp_checkout']['billing']['billing_country_id']; + } else { //if ( $selected_billing_address == 'Y' ) { + $billing_country = Addresses::getCountryId( $_SESSION['tcp_checkout']['billing']['selected_billing_id'] ); + } + $shipping_country = ''; + $selected_shipping_address = isset( $_SESSION['tcp_checkout']['shipping']['selected_shipping_address'] ) ? $_SESSION['tcp_checkout']['shipping']['selected_shipping_address'] : false; + if ( $selected_shipping_address == 'new' ) { + $shipping_country = $_SESSION['tcp_checkout']['shipping']['shipping_country_id']; + } elseif ( $selected_shipping_address == 'BIL' ) { + $shipping_country = $billing_country; + } elseif ( $selected_shipping_address == 'Y' ) { + $shipping_country = Addresses::getCountryId( $_SESSION['tcp_checkout']['shipping']['selected_shipping_id'] ); + } + $applicable_plugins = tcp_get_applicable_payment_plugins( $billing_country, $shoppingCart );?> +
      + 0 ) : ?> +
        +
      • + /> + +
      • + +
      + errors['payment_method_id'] ) ) : ?>
      errors['payment_method_id'];?> + + +
      diff --git a/src/wp-content/plugins/thecartpress/checkout/TCPShippingBox.class.php b/src/wp-content/plugins/thecartpress/checkout/TCPShippingBox.class.php new file mode 100644 index 0000000..ba747fb --- /dev/null +++ b/src/wp-content/plugins/thecartpress/checkout/TCPShippingBox.class.php @@ -0,0 +1,400 @@ +isDownloadable() ) { + unset( $_SESSION['tcp_checkout']['shipping'] ); + return 1; + } else { + return 0; + } + } + + function after_action() { + $selected_shipping_address = isset( $_REQUEST['selected_shipping_address'] ) ? $_REQUEST['selected_shipping_address'] : 'N'; + if ( $selected_shipping_address == 'new' ) { + if ( ! isset( $_REQUEST['shipping_firstname'] ) || strlen( $_REQUEST['shipping_firstname'] ) == 0 ) + $this->errors['shipping_firstname'] = __( 'The shipping First name field must be completed', 'tcp' ); + if ( ! isset( $_REQUEST['shipping_lastname'] ) || strlen( $_REQUEST['shipping_lastname'] ) == 0 ) + $this->errors['shipping_lastname'] = __( 'The shipping Last name field must be completed', 'tcp' ); + if ( ! isset( $_REQUEST['shipping_street'] ) || strlen( $_REQUEST['shipping_street'] ) == 0 ) + $this->errors['shipping_street'] = __( 'The shipping Street field must be completed', 'tcp' ); + if ( isset( $_REQUEST['shipping_city'] ) && strlen( $_REQUEST['shipping_city'] ) == 0 ) + $this->errors['shipping_city'] = __( 'The shipping City field must be completed', 'tcp' ); + if ( isset( $_REQUEST['shipping_region'] ) && strlen( $_REQUEST['shipping_region'] ) == 0 && $_REQUEST['shipping_region_id'] == '' ) + $this->errors['shipping_region'] = __( 'The shipping Region field must be completed', 'tcp' ); + global $thecartpress; + $shipping_isos = isset( $thecartpress->settings['shipping_isos'] ) ? $thecartpress->settings['shipping_isos'] : false; + if ( $shipping_isos ) { + if ( ! in_array( $_REQUEST['shipping_country_id'], $shipping_isos ) ) { + $this->errors['shipping_country_id'] = __( 'The shipping Country is not allowed', 'tcp' ); + } + } + if ( ! isset( $_REQUEST['shipping_postcode'] ) || strlen( $_REQUEST['shipping_postcode'] ) == 0 ) + $this->errors['shipping_postcode'] = __( 'The shipping Postcode field must be completed', 'tcp' ); + if ( ! isset( $_REQUEST['shipping_email'] ) || strlen( $_REQUEST['shipping_email'] ) == 0 ) + $this->errors['shipping_email'] = __( 'The shipping eMail field must be completed', 'tcp' ); + elseif ( ! $this->check_email_address( $_REQUEST['shipping_email'] ) ) + $this->errors['shipping_email'] = __( 'The shipping eMail field must be a valid email', 'tcp' ); + } elseif ( $selected_shipping_address == 'Y' ) { // && is_user_logged_in() ) { + global $thecartpress; + $shipping_isos = isset( $thecartpress->settings['shipping_isos'] ) ? $thecartpress->settings['shipping_isos'] : false; + if ( $shipping_isos ) { + $shipping_country_id = Addresses::getCountryId( $_REQUEST['selected_shipping_id'] ); + if ( ! in_array( $shipping_country_id, $shipping_isos ) ) { + $this->errors['shipping_country_id'] = __( 'The shipping Country is not allowed', 'tcp' ); + } + } +// } elseif ( $selected_shipping_address == 'Y' ) { +// $selected_shipping_address = 'new'; + } + if ( count( $this->errors ) > 0 ) { + return false; + } else { + if ( $selected_shipping_address == 'Y' ) { + $shipping = array( + 'selected_shipping_address' => 'Y', + 'selected_shipping_id' => isset( $_REQUEST['selected_shipping_id'] ) ? $_REQUEST['selected_shipping_id'] : 0, + ); + } elseif ( $selected_shipping_address == 'BIL' ) { + $shipping = array( + 'selected_shipping_address' => 'BIL', + ); + } else { + $shipping = array( + 'selected_shipping_address' => 'new', + 'shipping_firstname' => isset( $_REQUEST['shipping_firstname'] ) ? $_REQUEST['shipping_firstname'] : '', + 'shipping_lastname' => isset( $_REQUEST['shipping_lastname'] ) ? $_REQUEST['shipping_lastname'] : '', + 'shipping_company' => isset( $_REQUEST['shipping_company'] ) ? $_REQUEST['shipping_company'] : '', + 'shipping_country' => isset( $_REQUEST['shipping_country'] ) ? $_REQUEST['shipping_country'] : '', + 'shipping_country_id' => isset( $_REQUEST['shipping_country_id'] ) ? $_REQUEST['shipping_country_id'] : 0, + 'shipping_region' => isset( $_REQUEST['shipping_region'] ) ? $_REQUEST['shipping_region'] : '', + 'shipping_region_id' => isset( $_REQUEST['shipping_region_id'] ) ? $_REQUEST['shipping_region_id'] : 0, + 'shipping_city' => isset( $_REQUEST['shipping_city'] ) ? $_REQUEST['shipping_city'] : '', + 'shipping_city_id' => isset( $_REQUEST['shipping_city_id'] ) ? $_REQUEST['shipping_city_id'] : 0, + 'shipping_street' => isset( $_REQUEST['shipping_street'] ) ? $_REQUEST['shipping_street'] : '', + 'shipping_postcode' => isset( $_REQUEST['shipping_postcode'] ) ? $_REQUEST['shipping_postcode'] : '', + 'shipping_telephone_1' => isset( $_REQUEST['shipping_telephone_1'] ) ? $_REQUEST['shipping_telephone_1'] : '', + 'shipping_telephone_2' => isset( $_REQUEST['shipping_telephone_2'] ) ? $_REQUEST['shipping_telephone_2'] : '', + 'shipping_fax' => isset( $_REQUEST['shipping_fax'] ) ? $_REQUEST['shipping_fax'] : '', + 'shipping_email' => isset( $_REQUEST['shipping_email'] ) ? $_REQUEST['shipping_email'] : '', + ); + } + $_SESSION['tcp_checkout']['shipping'] = $shipping; + return true; + } + } + + function show() { + if ( isset( $_REQUEST['selected_shipping_address'] ) ) { + $selected_shipping_address = $_REQUEST['selected_shipping_address']; + } elseif ( isset( $_SESSION['tcp_checkout']['shipping']['selected_shipping_address'] ) ) { + $selected_shipping_address = $_SESSION['tcp_checkout']['shipping']['selected_shipping_address']; + } else { + $selected_shipping_address = 'BIL'; + } + if ( $selected_shipping_address == 'Y' && ! is_user_logged_in() ) $selected_shipping_address = 'new';?> +
      + ID ); + $default_address = false; + if ( count( $addresses ) > 0 ) { + if ( isset( $_REQUEST['selected_shipping_id'] ) ) { + $default_address_id = $_REQUEST['selected_shipping_id']; + } elseif ( isset( $_SESSION['tcp_checkout']['shipping']['selected_shipping_id'] ) ) { + $default_address_id = $_SESSION['tcp_checkout']['shipping']['selected_shipping_id']; + } else { + $default_address = Addresses::getCustomerDefaultShippingAddress( $current_user->ID ); + $default_address_id = $default_address ? $default_address->address_id : 0; + }?> +
      style="display:none"> + +
      + + showErrorMsg( 'shipping_country_id' );?> +
      + + 0 ) : ?> checked="true" onChange="jQuery('#selected_shipping_area').show();jQuery('#new_shipping_area').hide();" /> + +
      + + checked="true" onChange="jQuery('#selected_shipping_area').hide();jQuery('#new_shipping_area').hide();" /> + + showErrorMsg( 'shipping_country_id' );?> +
      +
      + + checked="true" onChange="jQuery('#new_shipping_area').show();jQuery('#selected_shipping_area').hide();" /> + +
      style="display:none">firstname; + } elseif ( $current_user && $current_user instanceof WP_User ) { + $firstname = $current_user->first_name; + } else { + $firstname = ''; + } + if ( isset( $_REQUEST['shipping_lastname'] ) ) { + $lastname = $_REQUEST['shipping_lastname']; + } elseif ( isset( $_SESSION['tcp_checkout']['shipping']['shipping_lastname'] ) ) { + $lastname = $_SESSION['tcp_checkout']['shipping']['shipping_lastname']; + } elseif ( $default_address ) { + $lastname = $default_address->lastname; + } elseif ( $current_user && $current_user instanceof WP_User ) { + $lastname = $current_user->last_name; + } else { + $lastname = ''; + } + if ( isset( $_REQUEST['shipping_company'] ) ) { + $company = $_REQUEST['shipping_company']; + } elseif ( isset( $_SESSION['tcp_checkout']['shipping']['shipping_lastname'] ) ) { + $company = $_SESSION['tcp_checkout']['shipping']['shipping_company']; + } else { + $company = $default_address ? $default_address->company : ''; + } + if ( isset( $_REQUEST['shipping_street'] ) ) { + $street = $_REQUEST['shipping_street']; + } elseif ( isset( $_SESSION['tcp_checkout']['shipping']['shipping_street'] ) ) { + $street = $_SESSION['tcp_checkout']['shipping']['shipping_street']; + } else { + $street = $default_address ? $default_address->street : ''; + } + if ( isset( $_REQUEST['shipping_city_id'] ) ) { + $city_id = $_REQUEST['shipping_city_id']; + } elseif ( isset( $_SESSION['tcp_checkout']['shipping']['shipping_city_id'] ) ) { + $city_id = $_SESSION['tcp_checkout']['shipping']['shipping_city_id']; + } else { + $city_id = $default_address ? $default_address->city_id : ''; + } + if ( isset( $_REQUEST['shipping_city'] ) ) { + $city = $_REQUEST['shipping_city']; + } elseif ( isset( $_SESSION['tcp_checkout']['shipping']['shipping_city'] ) ) { + $city = $_SESSION['tcp_checkout']['shipping']['shipping_city']; + } else { + $city = $default_address ? $default_address->city : ''; + } + if ( isset( $_REQUEST['shipping_region_id'] ) ) { + $region_id = $_REQUEST['shipping_region_id']; + } elseif ( isset( $_SESSION['tcp_checkout']['shipping']['shipping_region_id'] ) ) { + $region_id = $_SESSION['tcp_checkout']['shipping']['shipping_region_id']; + } else { + $region_id = $default_address ? $default_address->region_id : ''; + } + if ( isset( $_REQUEST['shipping_region'] ) ) { + $region = $_REQUEST['shipping_region']; + } elseif ( isset( $_SESSION['tcp_checkout']['shipping']['shipping_region'] ) ) { + $region = $_SESSION['tcp_checkout']['shipping']['shipping_region']; + } else { + $region = $default_address ? $default_address->region : ''; + } + if ( isset( $_REQUEST['shipping_postcode'] ) ) { + $postcode = $_REQUEST['shipping_postcode']; + } elseif ( isset( $_SESSION['tcp_checkout']['shipping']['shipping_postcode'] ) ) { + $postcode = $_SESSION['tcp_checkout']['shipping']['shipping_postcode']; + } else { + $postcode = $default_address ? $default_address->postcode : ''; + } + if ( isset( $_REQUEST['shipping_country_id'] ) ) { + $country_id = $_REQUEST['shipping_country_id']; + } elseif ( isset( $_SESSION['tcp_checkout']['shipping']['shipping_country_id'] ) ) { + $country_id = $_SESSION['tcp_checkout']['shipping']['shipping_country_id']; + } else { + $country_id = $default_address ? $default_address->country_id : ''; + } + if ( isset( $_REQUEST['shipping_telephone_1'] ) ) { + $telephone_1 = $_REQUEST['shipping_telephone_1']; + } elseif ( isset( $_SESSION['tcp_checkout']['shipping']['shipping_telephone_1'] ) ) { + $telephone_1 = $_SESSION['tcp_checkout']['shipping']['shipping_telephone_1']; + } else { + $telephone_1 = $default_address ? $default_address->telephone_1 : ''; + } + if ( isset( $_REQUEST['shipping_telephone_2'] ) ) { + $telephone_2 = $_REQUEST['shipping_telephone_2']; + } elseif ( isset( $_SESSION['tcp_checkout']['shipping']['shipping_telephone_2'] ) ) { + $telephone_2 = $_SESSION['tcp_checkout']['shipping']['shipping_telephone_2']; + } else { + $telephone_2 = $default_address ? $default_address->telephone_2 : ''; + } + if ( isset( $_REQUEST['shipping_fax'] ) ) { + $fax = $_REQUEST['shipping_fax']; + } elseif ( isset( $_SESSION['tcp_checkout']['shipping']['shipping_fax'] ) ) { + $fax = $_SESSION['tcp_checkout']['shipping']['shipping_fax']; + } else { + $fax = $default_address ? $default_address->fax : ''; + } + if ( isset( $_REQUEST['shipping_email'] ) ) { + $email = $_REQUEST['shipping_email']; + } elseif ( isset( $_SESSION['tcp_checkout']['shipping']['shipping_email'] ) ) { + $email = $_SESSION['tcp_checkout']['shipping']['shipping_email']; + } elseif ( $default_address ) { + $email = $default_address->email; + } elseif ( $current_user ) { //&& $current_user instanceof WP_User ) { + $email = '';//$current_user->email; + } else { + $email = ''; + }?> +
        +
      • + + showErrorMsg( 'shipping_firstname' );?>
      • + +
      • + + showErrorMsg( 'shipping_lastname' );?>
      • + +
      • + + showErrorMsg( 'shipping_company' );?>
      • + + + +
      • + settings['country'] ) ? $thecartpress->settings['country'] : ''; + $shipping_isos = isset( $thecartpress->settings['shipping_isos'] ) ? $thecartpress->settings['shipping_isos'] : false; + if ( $shipping_isos ) { + $countries = Countries::getSome( $shipping_isos, tcp_get_current_language_iso() ); + } else { + $countries = Countries::getAll( tcp_get_current_language_iso() ); + } + $country_bill = $country_id; + if ( $country_bill == '' ) $country_bill = $country; + ?> +
      • + +
      • + array( 'name'), 'id' => array( 'name'), ... )?> + + + showErrorMsg( 'shipping_region_id' );?> + 0 ) echo 'style="display:none;"';?>/> + showErrorMsg( 'shipping_region' );?> +
      • + +
      • + array( 'name'), 'id' => array( 'name'), ... ) + $cities = apply_filters( 'tcp_load_cities_for_shipping', $cities ); + if ( is_array( $cities ) && count( $cities ) > 0 ) : ?> + + showErrorMsg( 'shipping_city_id' );?> + + + showErrorMsg( 'shipping_city' );?> + +
      • + +
      • + + showErrorMsg( 'shipping_street' );?>
      • + +
      • + + showErrorMsg( 'shipping_postcode' );?>
      • + +
      • + + showErrorMsg( 'shipping_telephone_1' );?>
      • + +
      • + + showErrorMsg( 'shipping_telephone_2' );?>
      • + +
      • + + showErrorMsg( 'shipping_fax' );?>
      • + +
      • + + showErrorMsg( 'shipping_email' );?>
      • +
      +
      + +
      + errors[$field_name] ) ) : ?> +
      errors[$field_name];?> + diff --git a/src/wp-content/plugins/thecartpress/checkout/TCPShippingMethodsBox.class.php b/src/wp-content/plugins/thecartpress/checkout/TCPShippingMethodsBox.class.php new file mode 100644 index 0000000..05c49a9 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/checkout/TCPShippingMethodsBox.class.php @@ -0,0 +1,77 @@ +isDownloadable() ) { + unset( $_SESSION['tcp_checkout']['shipping_methods'] ); + return 1; + } else { + return 0; + } + } + + function after_action() { + if ( ! isset( $_REQUEST['shipping_method_id'] ) ) + $this->errors['shipping_method_id'] = __( 'You must select a shipping method', 'tcp' ); + if ( count( $this->errors ) > 0 ) { + return false; + } else { + $shipping_method = array( + 'shipping_method_id' => isset( $_REQUEST['shipping_method_id'] ) ? $_REQUEST['shipping_method_id'] : 0, + ); + $_SESSION['tcp_checkout']['shipping_methods'] = $shipping_method; + return true; + } + } + + function show() { + $shoppingCart = TheCartPress::getShoppingCart(); + $selected_shipping_address = isset( $_SESSION['tcp_checkout']['shipping']['selected_shipping_address'] ) ? $_SESSION['tcp_checkout']['shipping']['selected_shipping_address'] : false; + if ( $selected_shipping_address == 'new' ) { + $shipping_country = $_SESSION['tcp_checkout']['shipping']['shipping_country_id']; + } elseif ( $selected_shipping_address == 'BIL' ) { + if ( $_SESSION['tcp_checkout']['billing']['selected_billing_address'] == 'new' ) { + $shipping_country = $_SESSION['tcp_checkout']['billing']['billing_country_id']; + } else { //if ( $_SESSION['tcp_checkout']['billing']['selected_billing_addres'] == 'Y' ) { + $shipping_country = Addresses::getCountryId( $_SESSION['tcp_checkout']['billing']['selected_billing_id'] ); + } + } else { //if ( $selected_billing_address == 'Y' ) { + $shipping_country = Addresses::getCountryId( $_SESSION['tcp_checkout']['shipping']['selected_shipping_id'] ); + } + if ( ! $shipping_country ) $shipping_country = ''; + $applicable_sending_plugins = tcp_get_applicable_shipping_plugins( $shipping_country, $shoppingCart );?> +
      0 ) : ?> +
        +
      • + /> + +
      • + +
      + errors['shipping_method_id'] ) ) : ?>
      errors['shipping_method_id'];?> + +
      diff --git a/src/wp-content/plugins/thecartpress/checkout/TCPSigninBox.class.php b/src/wp-content/plugins/thecartpress/checkout/TCPSigninBox.class.php new file mode 100644 index 0000000..7699705 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/checkout/TCPSigninBox.class.php @@ -0,0 +1,93 @@ + +
      + +
      +

      settings['user_registration'] ) ? $thecartpress->settings['user_registration'] : false; + if ( ! $user_registration ) : ?> +

      +
      +

      true, + 'redirect' => get_permalink(), + 'form_id' => 'loginform', + 'label_username' => __( 'Username', 'tcp' ), + 'label_password' => __( 'Password', 'tcp' ), + 'label_remember' => __( 'Remember Me', 'tcp' ), + 'label_log_in' => __( 'Log In', 'tcp' ), + 'id_username' => 'user_login', + 'id_password' => 'user_pass', + 'id_remember' => 'rememberme', + 'id_submit' => 'wp-submit', + 'remember' => true, + 'value_username' => '', + 'value_remember' => false + ); + wp_login_form( $args );?> +
      +
      + + +

      + +

      +
        +
      • +
      • + ', '', true );?> +
      + + + +

      +

      + + + + + +

      +
        +
      • +
      + + +

      + +
      + +
      + diff --git a/src/wp-content/plugins/thecartpress/checkout/tcp_checkout_template.php b/src/wp-content/plugins/thecartpress/checkout/tcp_checkout_template.php new file mode 100644 index 0000000..6ea19eb --- /dev/null +++ b/src/wp-content/plugins/thecartpress/checkout/tcp_checkout_template.php @@ -0,0 +1,15 @@ + diff --git a/src/wp-content/plugins/thecartpress/classes/BuyButton.class.php b/src/wp-content/plugins/thecartpress/classes/BuyButton.class.php new file mode 100644 index 0000000..c13f13c --- /dev/null +++ b/src/wp-content/plugins/thecartpress/classes/BuyButton.class.php @@ -0,0 +1,232 @@ +. + */ + +require_once( dirname( dirname( __FILE__ ) ) . '/daos/RelEntities.class.php' ); +require_once( 'MP3Player.class.php' ); + +class BuyButton { + static function show( $post_id = 0, $echo = true ) { + global $thecartpress; + $stock_management = isset( $thecartpress->settings['stock_management'] ) ? (bool)$thecartpress->settings['stock_management'] : false; + $disable_shopping_cart = isset( $thecartpress->settings['disable_shopping_cart'] ) ? (bool)$thecartpress->settings['disable_shopping_cart'] : false; + $after_add_to_cart = isset( $thecartpress->settings['after_add_to_cart'] ) ? $thecartpress->settings['after_add_to_cart'] : ''; + $enabled_wish_list = isset( $thecartpress->settings['enabled_wish_list'] ) ? $thecartpress->settings['enabled_wish_list'] : ''; + + if ( $after_add_to_cart == 'ssc' ) { + $action = get_permalink( tcp_get_current_id( get_option( 'tcp_shopping_cart_page_id', 0 ), 'page' ) ); + } else { + $action = ''; + } + if ( $post_id == 0 ) $post_id = tcp_get_default_id ( get_the_ID() ); + $out = '
      ' . "\n"; + $shoppingCart = TheCartPress::getShoppingCart(); + if ( tcp_is_downloadable( $post_id ) && $shoppingCart->exists( $post_id ) ) { + $out .= '
      ' . "\n"; + $out .= sprintf( __( 'The product is in your cart' ,'tcp' ) , get_permalink( tcp_get_current_id( get_option( 'tcp_shopping_cart_page_id' ), 'page' ) ) ) . "\n"; + $out .= MP3Player::showPlayer( $post_id, MP3Player::$SMALL, false ); + $out .= '
      ' . "\n"; + } elseif ( tcp_get_the_product_type( $post_id ) == 'SIMPLE' ) { + $price = tcp_get_the_price_with_tax( $post_id ); + $tax = tcp_get_the_tax( $post_id ); + $out .= '' . "\n"; + $out .= '
      ' . "\n"; + $out .= '' . "\n"; + $out .= '' . "\n"; + $out .= '' . "\n"; + $out .= '' . "\n"; + $out .= '' . "\n"; + $out .= ''; + $out .= '' . "\n"; + if ( ! $disable_shopping_cart ) { + $out .= '' . "\n"; + } elseif ( $enabled_wish_list && ! $shoppingCart->isInWishList( $post_id ) ) { + $out .= '' . "\n"; + } + $out .= '' . "\n"; + $out .= '' . "\n"; + if ( $enabled_wish_list && ! $shoppingCart->isInWishList( $post_id ) ) { + $html = '' . "\n"; + $wishlist = apply_filters( 'tcp_buy_button_add_to_wish_list', $html, $post_id ); + } else { + $wishlist = ''; + } + if ( ! $disable_shopping_cart ) { + $out .= '' . "\n"; + } elseif ( strlen( $wishlist ) > 0 ) { + $out .= '' . "\n"; + } + $out .= '' . "\n"; + $out .= '
      ' . __( 'Price', 'tcp' ) . ''; + if ( ! tcp_is_downloadable( $post_id ) ) { + $out .= __( 'Units', 'tcp' ); + } else { + $out .= ' '; + } + $out .= ' 
      ' . "\n"; + + $html = '' . "\n"; + $html .= '' . "\n"; + $html .= '' . tcp_get_the_price_label( $post_id ) . ''; + $out .= apply_filters( 'tcp_buy_button_options', $html, $post_id ); + $out .= ''; + if ( tcp_is_downloadable( $post_id ) ) { + $html = MP3Player::showPlayer( $post_id, MP3Player::$SMALL, false ); + $html .= ''; + $out .= apply_filters( 'tcp_buy_button_unit_text', $html, $post_id ); + } else { + if ( $stock_management && tcp_get_the_stock( $post_id ) == 0 ) { + $out .= '' . __( 'No stock for this product', 'tcp' ) . ''; + } else { + $html = ''; + $out .= apply_filters( 'tcp_buy_button_unit_text', $html, $post_id ); + } + } + if ( tcp_is_downloadable( $post_id ) || ! $stock_management || tcp_get_the_stock( $post_id ) != 0 ) { + if ( ! tcp_hide_buy_button( $post_id ) ) { + $html = '' . "\n"; + } else { + $html = ''; + } + $out .= apply_filters( 'tcp_buy_button_add_button', $html, $post_id ); + } + $out .= $wishlist; + $item = $shoppingCart->getItem( tcp_get_default_id( $post_id ) ); + if ( $item ) { + $html ='' . sprintf ( __( '%s unit(s) in your cart', 'tcp' ), $item->getCount(), get_permalink( tcp_get_current_id( get_option( 'tcp_shopping_cart_page_id' ), 'page' ) ) ) . ''; + $out .= apply_filters( 'tcp_buy_button_units_in_cart', $html, $post_id ); + } + $out .= ''; + $out .= $wishlist; + $out .= '
      ' . "\n"; + $out .= ''; + $out .= '
      ' . "\n"; + } else { // if ( tcp_get_the_product_type() == 'GROUPED' ) { + $post_id = tcp_get_default_id( $post_id ); + $out .= '' . "\n"; + $out .= '
      ' . "\n"; + $out .= '' . "\n"; + $out .= ''; + $out .= '' . "\n"; + $out .= '' . "\n"; + if ( ! $disable_shopping_cart ) { + $out .= '' . "\n"; + } else + $out .= '' . "\n"; + $products = RelEntities::select( $post_id ); + foreach( $products as $product ) { + $product_id = tcp_get_current_id( $product->id_to ); + if ( get_post_status( $product_id ) == 'publish' ) { + $tcp_exclude_range = get_post_meta( $product_id, 'tcp_exclude_range', true ); + $price = tcp_get_the_price_with_tax( $product_id ); + $tax = tcp_get_the_tax( $product_id ); + $stock = tcp_get_the_stock( $product_id ); + $is_downloadable = tcp_is_downloadable( $product_id ); + $out .= '' . "\n"; + $out .= '' . "\n"; + $out .= '' . "\n"; + $out .= '' . "\n"; + $out .= '' . "\n"; + $out .= '' . "\n"; + $out .= '' . "\n"; + if ( ! $disable_shopping_cart ) { + $out .= '' . "\n"; + } + $out .= '' . "\n"; + } + } + $out .= '
      ' . __('Name', 'tcp') . '' . __('Price', 'tcp') . '' . __('Units', 'tcp') . '
      '; + if ( $is_downloadable ) + $out .= MP3Player::showPlayer( $product->id_to, MP3Player::$SMALL, false ); + $out .= get_the_title( $product_id ); + $out .= ''; + $html = '' . tcp_get_the_price_label( $product_id ) . ''; + $html .= '' . "\n"; + $html .= '' . "\n"; + $html .= '' . "\n"; + $out .= apply_filters( 'tcp_buy_button_options', $html, $product_id, $post_id ); + $out .= ''; + if ( $is_downloadable ) { + $html = '' . "\n"; + $out .= apply_filters( 'tcp_buy_button_unit_text', $html, $product_id, $post_id ); + } elseif ( ! $stock_management || $stock != 0 ) { + $html = '' . "\n"; + $out .= apply_filters( 'tcp_buy_button_unit_text', $html, $product_id, $post_id ); + } + if ( ! $is_downloadable || ( $is_downloadable && ! $shoppingCart->exists( $product_id ) ) ) { + if ( ! $stock_management || $stock != 0 ) { + if ( ! tcp_hide_buy_button( $product_id ) ) { + $html = '' . "\n"; + } else { + $html = ''; + } + $out .= apply_filters( 'tcp_buy_button_add_button', $html, $product_id ); + } else { + $out .= '' . __( 'No stock for this product', 'tcp' ) . ''; + } + } + if ( $enabled_wish_list && tcp_is_visible( $product_id ) && ! $shoppingCart->isInWishList( $product_id ) ) { + $html = '' . "\n"; + $out .= apply_filters( 'tcp_buy_button_add_to_wish_list', $html, $product_id ); + } + $item = $shoppingCart->getItem( tcp_get_default_id( $product_id ) ); + if ( $item ) { + $html ='' . sprintf ( __( '%s unit(s) in your cart', 'tcp' ), $item->getCount(), get_permalink( tcp_get_current_id( get_option( 'tcp_shopping_cart_page_id' ), 'page' ) ) ) . ''; + $out .= apply_filters( 'tcp_buy_button_units_in_cart', $html, $post_id ); + } + $out .= '
      ' . "\n"; + if ( ! tcp_hide_buy_button( $post_id ) ) { + $html = '' . "\n"; + $out .= apply_filters( 'tcp_buy_button_add_to_shopping_cart', $html, $post_id ); + } + $out .= '' . "\n"; + if ( $enabled_wish_list && ! $shoppingCart->isInWishList( $post_id ) ) { + $html = '' . "\n"; + $out .= apply_filters( 'tcp_buy_button_add_to_wish_list', $html, $post_id ); + } + $out .= ''; + $out .= '
      ' . "\n"; + } + $out .= '
      ' . "\n"; + if ( $echo ) + echo $out; + else + return $out; + } +} +?> diff --git a/src/wp-content/plugins/thecartpress/classes/FeedForSearchEngine.class.php b/src/wp-content/plugins/thecartpress/classes/FeedForSearchEngine.class.php new file mode 100644 index 0000000..21312b1 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/classes/FeedForSearchEngine.class.php @@ -0,0 +1,118 @@ +. + */ + +/** + * Allows to generate the xml for TheCartPress search engine + */ +class FeedForSearchEngine { + function generateXML() { + global $thecartpress; + $tcp_guid = isset( $thecartpress->settings['search_engine_guid'] ) ? $thecartpress->settings['search_engine_guid'] : 'A'; + $guid = isset( $_REQUEST['guid'] ) ? $_REQUEST['guid'] : 'B'; + if ( $tcp_guid != $guid ) { + header('Content-Type: text/xml;', true); + echo ''; + echo ''; + echo '-1'; + echo '', __( 'Identification error', 'tcp'), ''; + echo ''; + return; + } + $search_engine_activated = isset( $thecartpress->settings['search_engine_activated'] ) ? $thecartpress->settings['search_engine_activated'] : true; + if ( $search_engineactivated ) { + header( 'Content-Type: text/xml;', true ); + header( 'Cache-Control: no-cache, must-revalidate' ); // HTTP/1.1 + header( '"Expires: Sat, 26 Jul 1997 05:00:00 GMT' ); // Date in the past + //header('Content-Type: text/html;', true); + echo ''; + echo ''; + echo '', bloginfo('name'), ''; + echo '', bloginfo('url'), ''; + echo '', bloginfo("description"), ''; + echo '', tcp_get_the_currency(), ''; + $args = array( + 'post_type' => 'tcp_product', + 'numberposts' => -1, + 'post_status' => 'publish', + ); + $products = get_posts( $args ); + if ($products) { + echo ''; + foreach ( $products as $product ) { + if ( $product->post_status == 'publish' ) { + echo ''; + echo '', $product->ID, ''; + echo 'post_title, ']]>'; + echo 'guid, ']]>'; + echo '', $product->post_date, ''; + $image_id = get_post_thumbnail_id($product->ID); + $image_url = wp_get_attachment_image_src($image_id); + if ($image_url) + { + $image_url = $image_url[0]; + if ($image_url) echo '', $image_url, ''; + } + echo '', $product->post_modified, ''; + //echo 'post_content, ']]>'; + echo 'post_excerpt, ']]>'; + echo '', tcp_get_the_product_type( $product->ID ), ''; + echo '', tcp_get_the_price( $product->ID ), ''; + echo '', tcp_get_the_tax( $product->ID ), ''; + echo '', $this->getCategories( $product->ID ), ''; + echo '', $this->getTags( $product->ID ), ''; + echo '', $this->getSuppliers( $product->ID ), ''; + echo ''; + } + } + echo ''; + } + echo ''; + } else { + header('Content-Type: text/xml;', true); + echo ''; + echo ''; + echo '-2'; + echo '', __( 'TheCartPress search engine property is deactivate', 'tcp'), ''; + echo ''; + } + } + + private function getTags( $post_id ) { + return $this->getTerms( $post_id, 'tcp_product_tag'); + } + + private function getSuppliers( $post_id ) { + return $this->getTerms( $post_id, 'tcp_product_supplier'); + } + + private function getCategories( $post_id ) { + return $this->getTerms( $post_id, 'tcp_product_category'); + } + + private function getTerms( $post_id, $taxonomy ) { + $post_terms = get_the_terms( $post_id, $taxonomy ); + $terms = array(); + if ( is_array( $post_terms ) && count( $post_terms ) > 0 ) { + foreach( $post_terms as $term ) + $terms[] = $term->name; + return implode( ',', $terms ); + } + else return ''; + } +} +?> diff --git a/src/wp-content/plugins/thecartpress/classes/MP3Player.class.php b/src/wp-content/plugins/thecartpress/classes/MP3Player.class.php new file mode 100644 index 0000000..3ff939a --- /dev/null +++ b/src/wp-content/plugins/thecartpress/classes/MP3Player.class.php @@ -0,0 +1,67 @@ +. + */ + +/** + * Shows a mp3 player based on flash + * @see http://flash-mp3-player.net/players/multi/documentation/ + */ +class MP3Player { + public static $BIG = 'BIG'; + public static $SMALL = 'SMALL'; + + static function showPlayer( $post_id = 0, $formato = 'BIG', $echo = true ) { + if ( $post_id == 0 ) { + global $post; + $post_id = $post->ID; + } + $attachments = get_children( 'post_type=attachment&post_mime_type=audio/mpeg&post_parent=' . $post_id ); + if ( is_array( $attachments ) && count( $attachments ) > 0 ) { + foreach( $attachments as $attachment ) { + $mp3 = $attachment->guid . '|'; + $title = $attachment->post_title . '|'; + } + $mp3 = substr( $mp3, 0, strlen( $mp3 ) - 1 ); + $title = substr( $title, 0, strlen( $title ) - 1 ); + $out = MP3Player::showItemPlayer( $formato, $mp3, $title ); + if ( $echo ) + echo $out; + else + return $out; + } + } + + /** + * @param $formato posible values BIG, SMALL + */ + static function showItemPlayer( $format, $mp3, $title ) { + if ( count( $mp3 ) == 0) + return; + elseif ( $format == MP3Player::$BIG ) { + $height = 20 + count($mp3) * 10; + return ' + + + '; + } elseif ( $format == MP3Player::$SMALL ) + return ' + + + '; + } +} +?> diff --git a/src/wp-content/plugins/thecartpress/classes/OrderPage.class.php b/src/wp-content/plugins/thecartpress/classes/OrderPage.class.php new file mode 100644 index 0000000..ef758c8 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/classes/OrderPage.class.php @@ -0,0 +1,192 @@ +. + */ +require_once( dirname( dirname( __FILE__ ) ) . '/daos/Orders.class.php' ); +require_once( dirname( dirname( __FILE__ ) ) . '/daos/OrdersDetails.class.php' ); +require_once( dirname( dirname( __FILE__ ) ) . '/daos/OrdersCosts.class.php' ); + +/** + * Shows an Order + * It's used in the cart area (into the checkout), in the print page and in the email page + */ +class OrderPage { + + static function show( $order_id, $see_comment = true, $echo = true, $see_address = true ) { + do_action( 'tcp_orderpage_create_order_cart', $order_id ); + $order = Orders::get( $order_id ); + $out = ''; + if ( $see_address ) { + if ( $order->shipping_firstname == "" ) { + $style = 'style="display:none"'; + } else { + $style = 'style="padding-bottom:1em;"'; + } + $out .= '
      ' . "\n"; + $out .= '

      ' . __( 'Shipping address', 'tcp' ) . '

      ' . "\n"; + $out .= $order->shipping_firstname . ' ' . $order->shipping_lastname . '
      ' . "\n"; + if ( strlen( $order->shipping_company ) > 0 ) $out .= $order->shipping_company . '
      ' . "\n"; + $out .= $order->shipping_street . '
      ' . "\n"; + $out .= $order->shipping_postcode . ', ' . $order->shipping_city . '
      ' . "\n"; + $out .= $order->shipping_region . ', ' . $order->shipping_country . '
      ' . "\n"; + $telephone = $order->shipping_telephone_1; + if ( strlen( $order->shipping_telephone_2 ) > 0 ) $telephone .= ' - ' . $order->shipping_telephone_2; + if ( strlen( $telephone ) > 0) $out .= __('Telephones', 'tcp') . ': ' . $telephone . '
      ' . "\n"; + if ( strlen( $order->shipping_fax ) > 0) $out .= __('Fax', 'tcp') . ': ' . $order->shipping_fax . '
      ' . "\n"; + if ( strlen( $order->shipping_email ) > 0) $out .= $order->shipping_email . '
      ' . "\n"; + $out .= '
      ' . "\n"; + + $out .= '
      ' . "\n"; + $out .= '

      ' . __( 'Billing address', 'tcp' ) . '

      ' . "\n"; + $out .= $order->billing_firstname . ' ' . $order->billing_lastname . '
      ' . "\n"; + if ( strlen( $order->billing_company ) > 0 ) $out .= $order->billing_company . '
      ' . "\n"; + $out .= $order->billing_street . '
      ' . "\n"; + $out .= $order->billing_postcode . ', ' . $order->billing_city . '
      ' . "\n"; + $out .= $order->billing_region . ', ' . $order->billing_country . '
      ' . "\n"; + $telephone = $order->billing_telephone_1; + if ( strlen( $order->billing_telephone_2 ) > 0 ) $telephone .= ' - ' . $order->billing_telephone_2; + if ( strlen( $telephone ) > 0) $out .= __('Telephones', 'tcp') . ': ' . $telephone . '
      ' . "\n"; + if ( strlen( $order->billing_fax ) > 0) $out .= __('Fax', 'tcp') . ': ' . $order->billing_fax . '
      ' . "\n"; + if ( strlen( $order->billing_email ) > 0) $out .= $order->billing_email . '



      ' . "\n"; + $out .= '
      ' . "\n"; + } + //$out .= '' . "\n"; + $out .= '
      ' . "\n"; + $out .= '' . "\n"; + $out .= '' . "\n"; + $out .= '' . "\n"; + $out .= '' . "\n"; + $out .= '' . "\n"; + $out .= '' . "\n"; + $out .= '' . "\n"; + $out .= '' . "\n"; + $out .= '' . "\n"; + $out .= '' . "\n"; + $ordersDetails = OrdersDetails::getDetails( $order_id ); + if ( is_array( $ordersDetails ) ) { + $total = 0; + $total_tax = 0; + $i = 0; + foreach( $ordersDetails as $orderDetail ) { + $out .= '' . "\n"; + $out .= '' . "\n"; + if ( $orderDetail->tax > 0 ) + //$out .= '' . "\n"; + $out .= '' . "\n"; + else + //$out .= '' . "\n"; + $out .= '' . "\n"; + $out .= '' . "\n"; + $out .= '' . "\n"; + /*if ( $orderDetail->tax > 0 ) { + $tax = 1 + $orderDetail->tax / 100; + $price = $orderDetail->price * $tax; + } else + $price = $orderDetail->price;*/ + $price = $orderDetail->price * $orderDetail->qty_ordered; + $tax = $price * ( $orderDetail->tax / 100 ) * $orderDetail->qty_ordered; + $total_tax += $tax; + $total += $price; + //$out .= '' . "\n"; + $out .= '' . "\n"; + $out .= '' . "\n"; + } + } + $discount = $order->discount_amount; + if ( $discount > 0 ) { + $dis = '' . "\n"; + $dis .= '' . "\n"; + //$dis .= '' . "\n"; + $dis .= '' . "\n"; + $dis .= '' . "\n"; + $out .= $dis; + $total = $total - $discount; + } + //TODO Deprecated 1.1 + if ( $order->shipping_amount > 0 ) { + $out .= '' . "\n"; + //$out .= '' . "\n"; + $out .= '' . "\n"; + $out .= '' . "\n"; + $total += $order->shipping_amount; + } + if ( $order->payment_amount > 0 ) { + $out .= '' . "\n"; + //$out .= '' . "\n"; + $out .= '' . "\n"; + $out .= '' . "\n"; + $total += $order->payment_amount; + } + //TODO Deprecated 1.1 + do_action( 'tcp_orderpage_calculate_other_costs', $order_id ); + $ordersCosts = OrdersCosts::getCosts( $order_id ); + if ( is_array( $ordersCosts ) ) { + foreach( $ordersCosts as $ordersCost ) { + $cost = 'description . '' . "\n"; + //$cost .= '' . "\n"; + $cost .= '' . "\n"; + $tax = $ordersCost->cost * ( $ordersCost->tax / 100 ); + $total_tax += $tax; + $total += $ordersCost->cost; + $cost .= '' . "\n"; + $out .= $cost; + } + } + //if ( tcp_is_display_full_tax_summary() ) { + if ( $total_tax > 0 ) { + $out .= '' . "\n"; + $out .= '' . "\n"; + //$out .= '' . "\n"; + $out .= '' . "\n"; + $out .= ''; + } + do_action( 'tcp_orderpage_before_total', $order_id ); + $total += $total_tax; + $total = apply_filters( 'tcp_orderpage_set_total', $total, $order_id ); + $out .= '' . "\n"; + $out .= '' . "\n"; + //$out .= '' . "\n"; + $out .= '' . "\n"; + $out .= ''; + $out .= '
      ' . __( 'Name', 'tcp' ) . '' . __( 'Price', 'tcp' ) . '' . __( 'Units', 'tcp' ) . '' . __( 'Weight', 'tcp' ) . '' . __( 'Total', 'tcp' ) . '
      ' . $orderDetail->name; + if ( strlen( $orderDetail->option_1_name ) > 0 ) $out .= '
      ' . $orderDetail->option_1_name; + if ( strlen( $orderDetail->option_2_name ) > 0 ) $out .= '-' . $orderDetail->option_2_name; + $out .= '
      ' . tcp_format_the_price( $orderDetail->price, $order->order_currency_code ) . '' . tcp_format_the_price( $orderDetail->price ) . '' . tcp_format_the_price( $orderDetail->price, $order->order_currency_code ) .'' . tcp_format_the_price( $orderDetail->price ) .'' . tcp_number_format( $orderDetail->qty_ordered, 0 ) . '' . tcp_number_format( $orderDetail->weight, 0 ). ' ' . tcp_get_the_unit_weight() . '' . tcp_format_the_price( $price, $order->order_currency_code ) . '' . tcp_format_the_price( $price ) . '
      ' . __( 'Discount', 'tcp' ) . '' . tcp_format_the_price( $discount, $order->order_currency_code ) . '' . tcp_format_the_price( $discount ) . '
      ' . tcp_format_the_price( $order->shipping_amount, $order->order_currency_code ) . '' . tcp_format_the_price( $order->shipping_amount ) . '
      ' . tcp_format_the_price( $order->payment_amount, $order->order_currency_code ) . '' . tcp_format_the_price( $order->payment_amount ) . '
      ' . tcp_format_the_price( $ordersCost->cost, $order->order_currency_code ) . '' . tcp_format_the_price( $ordersCost->cost ) . '
      ' . __( 'Taxes', 'tcp' ) . '' . tcp_format_the_price( $total_tax, $order->order_currency_code ) . '' . tcp_format_the_price( $total_tax ) . '
      ' . __( 'Total', 'tcp' ) . '' . tcp_format_the_price( $total, $order->order_currency_code ) . '' . tcp_format_the_price( $total ) . '
      ' . "\n"; + if ( $see_comment && strlen( $order->comment ) > 0 ) $out .= '

      ' . $order->comment . '

      '; + if ( $echo ) + echo $out; + else + return $out; + } +} +?> diff --git a/src/wp-content/plugins/thecartpress/classes/OrderPanel.class.php b/src/wp-content/plugins/thecartpress/classes/OrderPanel.class.php new file mode 100644 index 0000000..163db08 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/classes/OrderPanel.class.php @@ -0,0 +1,53 @@ +. + */ + +class OrderPanel { + static function show() { + if ( isset( $_REQUEST['tcp_order_type'] ) ) + $tcp_order_type = $_REQUEST['tcp_order_type']; + else + $tcp_order_type = isset( $_SESSION['tcp_order_type'] ) ? $_SESSION['tcp_order_type'] : 'order'; + $_SESSION['tcp_order_type'] = $tcp_order_type; + if ( isset( $_REQUEST['tcp_order_desc'] ) ) + $tcp_order_desc = $_REQUEST['tcp_order_desc']; + else + $tcp_order_desc = isset( $_SESSION['tcp_order_desc'] ) ? $_SESSION['tcp_order_desc'] : 'asc'; + $_SESSION['tcp_order_desc'] = $tcp_order_desc;?> +
      +
      + : + + /> + + /> + + +
      +
      diff --git a/src/wp-content/plugins/thecartpress/classes/ShoppingCart.class.php b/src/wp-content/plugins/thecartpress/classes/ShoppingCart.class.php new file mode 100644 index 0000000..b2ecf55 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/classes/ShoppingCart.class.php @@ -0,0 +1,511 @@ +. + */ + +/** + * Session shopping cart + */ +class ShoppingCart { + + public static $OTHER_COST_SHIPPING_ID = 'shipping'; + public static $OTHER_COST_PAYMENT_ID = 'payment'; + + private $visited_post_ids = array(); + private $wish_list_post_ids = array(); + private $shopping_cart_items = array(); + private $other_costs = array(); + private $freeShipping = false; + private $discount = 0; + + function add( $post_id, $option_1_id = 0, $option_2_id = 0, $count = 1, $unit_price = 0, $tax = 0, $unit_weight = 0 ) { + if ( ! is_numeric( $post_id ) || ! is_numeric( $option_1_id ) || ! is_numeric( $option_2_id ) ) return; + $shopping_cart_id = $post_id . '_' . $option_1_id . '_' . $option_2_id; + $is_downloadable = tcp_is_downloadable( $post_id ); + if ( isset( $this->shopping_cart_items[$shopping_cart_id] ) ) { + if ( ! $is_downloadable ) { + $sci = new ShoppingCartItem( $post_id, $option_1_id, $option_2_id, $count, $unit_price, $tax, $unit_weight ); + $sci = apply_filters( 'tcp_add_to_shopping_cart', $sci ); + if ( $sci ) { + $sci = $this->shopping_cart_items[$shopping_cart_id]; + $sci->add( $count ); + } + } + } else { + $sci = new ShoppingCartItem( $post_id, $option_1_id, $option_2_id, $count, $unit_price, $tax, $unit_weight ); + $sci = apply_filters( 'tcp_add_to_shopping_cart', $sci ); + if ( $sci ) { + if ( $is_downloadable ) { + $sci->setDownloadable( true ); + $sci->setCount( 1 ); + } else { + $sci->setDownloadable( false ); + } + $this->shopping_cart_items[$shopping_cart_id] = $sci; + } + } + } + + /** + * Returns the total amount in the cart + * @see getTotalForShipping() + */ + function getTotal( $otherCosts = false ) { + $total = 0; + foreach( $this->shopping_cart_items as $shopping_cart_item ) { + $total += $shopping_cart_item->getTotal(); + } + if ( $otherCosts ) + $total += $this->getTotalOtherCosts(); + $total = apply_filters( 'tcp_shopping_cart_get_total', $total ); + return $total - $this->discount; + } + + /** + * Return the number of articles in the cart + */ + function getCount() { + $count = 0; + foreach( $this->shopping_cart_items as $shopping_cart_item ) + $count += $shopping_cart_item->getCount(); + return $count; + } + + function getWeight() { + $weight = 0; + foreach( $this->shopping_cart_items as $shopping_cart_item ) + $weight += $shopping_cart_item->getWeight(); + return $weight; + } + + function deleteAll() { + unset( $this->shopping_cart_items ); + $this->shopping_cart_items = array(); + unset( $this->other_costs ); + $this->other_costs = array(); + $this->deleteAllDiscounts(); + } + + function delete( $post_id, $option_1_id = 0, $option_2_id = 0 ) { + $shopping_cart_id = $post_id . '_' . $option_1_id . '_' . $option_2_id; + if ( isset( $this->shopping_cart_items[$shopping_cart_id] ) ) + unset( $this->shopping_cart_items[$shopping_cart_id] ); + } + + function modify( $post_id, $option_1_id = 0, $option_2_id = 0, $count = 0 ) { + $shopping_cart_id = $post_id . '_' . $option_1_id . '_' . $option_2_id; + if ( isset( $this->shopping_cart_items[$shopping_cart_id] ) ) + if ($count > 0) { + if ( ! tcp_is_downloadable( $post_id ) ) + $this->shopping_cart_items[$shopping_cart_id]->setCount( $count ); + else + $this->shopping_cart_items[$shopping_cart_id]->setCount( 1 ); + } else + $this->delete( $post_id, $option_1_id , $option_2_id ); + } + + function getItemsId() { + $ids = array(); + foreach( $this->shopping_cart_items as $item ) + $ids[] = $item->getPostId(); + return $ids; + } + + function getItems() { + return $this->shopping_cart_items; + } + + /** + * Returns the item if it is in the cart + */ + function getItem( $post_id, $option_1_id = 0 , $option_2_id = 0) { + $shopping_cart_id = $post_id . '_' . $option_1_id . '_' . $option_2_id; + if ( isset( $this->shopping_cart_items[$shopping_cart_id] ) ) { + return $this->shopping_cart_items[$shopping_cart_id]; + } elseif ( $option_1_id == 0 && $option_2_id == 0) { + foreach( $this->shopping_cart_items as $item ) { + if ( $item->getPostId() == $post_id ) { + return $item; + } + } + return false; + } else { + return false; + } + } + + /** + * Returns true if the cart is empty + */ + function isEmpty() { + return count( $this->shopping_cart_items ) == 0; + } + + /** + * Returns true if the product exists in the cart + */ + function exists( $post_id, $option_1_id = 0 , $option_2_id = 0 ) { + $shopping_cart_id = $post_id . '_' . $option_1_id . '_' . $option_2_id; + return isset( $this->shopping_cart_items[$shopping_cart_id] ); + } + + /** + * Return true if all the products in the cart are downloadable + */ + function isDownloadable() { + foreach( $this->shopping_cart_items as $item ) + if ( ! $item->isDownloadable() ) return false; + return true; + } + + /** + * Returns the total amount to calculate shipping cost + */ + function getTotalForShipping() { + $total = 0; + foreach( $this->shopping_cart_items as $item ) + if ( ! $item->isDownloadable() && ! $item->isFreeShipping() ) + $total += $item->getTotal(); + return $total; + } + + /** + * Visited functions + */ + function addVisitedPost( $post_id ) { + if ( isset( $this->visited_post_ids[$post_id] ) ) + $this->visited_post_ids[$post_id]++; + else + $this->visited_post_ids[$post_id] = 0; + } + + function getVisitedPosts() { + return $this->visited_post_ids; + } + + function deleteVisitedPost() { + unset( $this->visited_post_ids ); + $this->visited_post_ids = array(); + } + /** + * End Visited functions + */ + + /** + * WishList functions + */ + function addWishList( $post_id ) { + $user_id = get_current_user_id(); + if ( $user_id > 0 ) { + $wishList = (array)get_user_meta( $user_id, 'tcp_wish_list', true ); + $wishList[$post_id] = 1; + update_user_meta( $user_id, 'tcp_wish_list', $wishList ); + } else { + $this->wish_list_post_ids[$post_id] = 1; + } + } + + function isInWishList( $post_id ) { + $user_id = get_current_user_id(); + if ( $user_id > 0 ) { + $wishList = (array)get_user_meta( $user_id, 'tcp_wish_list', true ); + return isset( $wishList[$post_id] ); + } else { + return isset( $this->wish_list_post_ids[$post_id] ); + } + } + + function getWishList() { + $user_id = get_current_user_id(); + if ( $user_id > 0 ) { + $wishList = (array)get_user_meta( $user_id, 'tcp_wish_list', true ); + if ( count( $this->wish_list_post_ids ) > 0 ) { + foreach( $this->wish_list_post_ids as $id => $item ) + $wishList[$id] = 1; + update_user_meta( $user_id, 'tcp_wish_list', $wishList ); + unset( $this->wish_list_post_ids ); + $this->wish_list_post_ids = array(); + } + return $wishList; + } else { + return $this->wish_list_post_ids; + } + } + + function deleteWishListItem( $post_id) { + $user_id = get_current_user_id(); + if ( $user_id > 0 ) { + $wishList = (array)get_user_meta( $user_id, 'tcp_wish_list', true ); + unset( $wishList[$post_id] ); + update_user_meta( $user_id, 'tcp_wish_list', $wishList ); + } else { + unset( $this->wish_list_post_ids[$post_id] ); + } + + } + + function deleteWishList() { + $user_id = get_current_user_id(); + if ( $user_id > 0 ) { + update_user_meta( $user_id, 'tcp_wish_list', array() ); + } else { + unset( $this->wish_list_post_ids ); + $this->wish_list_post_ids = array(); + } + } + +/* function volcarWishList() { + $current_user = wp_get_current_user(); + if ( $current_user->ID > 0 ) { + update_user_meta( $current_user->ID, 'tcp_wish_list', $this->wish_list_post_ids ); + return true; + } else { + return false; + } + }*/ + /** + * End WishList functions + */ + + function isThereStock( $post_id = 0, $option_1_id = 0, $option_2_id = 0 ) { + if ( $post_id == 0 ) { + foreach( $this->shopping_cart_items as $item ) { + $stock = tcp_get_the_stock( $item->getPostId(), $item->getOption1Id(), $item->getOption2Id() ); + if ( $stock == 0 || ( $stock > -1 && $stock < $item->getCount() ) ) + return false; + } + return true; + } else { + $stock = tcp_get_the_stock( $post_id, $option_1_id, $option_2_id ); + if ( $stock == 0 || ( $stock > -1 && $stock < $item->getCount() ) ) + return false; + else + return true; + } + } + + /** + * Other costs API + */ + function addOtherCost( $id, $cost = 0, $desc = '', $order = 0 ) { + if ( $cost == 0 ) + $this->deleteOtherCost( $id ); + else + $this->other_costs[$id] = new ShoppingCartOtherCost( $cost, $desc, $order ); + } + + function deleteOtherCost( $id ) { + if ( isset( $this->other_costs[$id] ) ) + unset( $this->other_costs[$id] ); + } + + function getOtherCosts() { + return $this->other_costs; + } + + function deleteOtherCosts() { + unset( $this->other_costs ); + $this->other_costs = array(); + } + + function getTotalOtherCosts() { + $total = 0; + foreach( $this->other_costs as $other_cost ) { + $total += $other_cost->getCost(); + } + return $total; + } + + function setFreeShipping( $freeShipping = true ) { + $this->freeShipping = (bool)$freeShipping; + } + + function isFreeShipping() { + return $this->freeShipping; + } + + function setDiscount( $discount ) { + $this->discount = $discount; + } + + function getDiscount() { + return $this->discount; + } + + function getAllDiscounts() { + $discount = $this->getDiscount(); + foreach( $this->shopping_cart_items as $item ) + $discount += $item->getDiscount(); + return $discount; + } + + function deleteAllDiscounts() { + $this->setDiscount( 0 ); + foreach( $this->shopping_cart_items as $item ) + $item->setDiscount( 0 ); + } +} + +class ShoppingCartItem { + private $post_id; + private $option_1_id; + private $option_2_id; + private $count; + private $unit_price; + private $tax; + private $unit_weight; + private $is_downloadable = false; + private $discount = 0; + private $free_shipping = false; + + function __construct( $post_id, $option_1_id = 0, $option_2_id = 0, $count = 1, $unit_price = 0, $tax = 0, $unit_weight = 0 ) { + $this->post_id = (int)$post_id; + $this->option_1_id = (int)$option_1_id; + $this->option_2_id = (int)$option_2_id; + $this->count = (int)$count; + $this->unit_price = (float)$unit_price; + $this->tax = (float)$tax; + $this->unit_weight = (float)$unit_weight; + do_action( 'tcp_shopping_cart_item_created', $this ); + } + + function add( $count ) { + $this->count += $count; + } + + function getShoppingCartId() { + return $this->post_id . '_' . $this->option_1_id . '_' . $this->option_2_id; + } + + function getPostId() { + return $this->post_id; + } + + function getOption1Id() { + return $this->option_1_id; + } + + function getOption2Id() { + return $this->option_2_id; + } + + function getCount() { + return $this->count; + } + + function getUnits() { + return $this->getCount(); + } + + function setCount($count) { + $this->count = $count; + } + + function getUnitPrice() { + $price = $this->unit_price; + return apply_filters( 'tcp_item_get_unit_price', $price, $this->getPostId() ); + } + + function getTax() { + $tax = (float)$this->tax; + return apply_filters( 'tcp_item_get_tax', $tax, $this->getPostId() ); + } + + function getUnitWeight() { + $weight = $this->unit_weight; + return apply_filters( 'tcp_item_get_unit_weight', $weight, $this->getPostId() ); + } + + function getPrice() { + return $this->getUnitPrice() * $this->count; + return apply_filters( 'tcp_item_get_price', $price, $this->getPostId() ); + } + + function getTotal() { + //if ( $this->getTax() == 0 ) + $total = ( $this->getUnitPrice() * $this->count ) - $this->discount; + //else { + // $price = $this->unit_price * ( 1 + $this->getTax() / 100 ); + // $price = $price * $this->count; + // $total = $price - $this->getDiscount(); + //} + $total = apply_filters( 'tcp_shopping_cart_get_item_total', $total, $this->getPostId() ); + return $total; + } + + function getWeight() { + $weight = $this->getUnitWeight() * $this->count; + return apply_filters( 'tcp_shopping_cart_get_weight', $weight, $this->getPostId() ); + } + + function isDownloadable() { + return $this->is_downloadable; + } + + function setDownloadable( $is_downloadable = true ) { + $this->is_downloadable = $is_downloadable; + } + + function setDiscount( $discount ) { + $this->discount = $discount; + } + + function addDiscount( $discount ) { + $this->discount += $discount; + } + + function getDiscount() { + $discount = $this->discount; + return apply_filters( 'tcp_item_get_discount', $discount, $this->getPostId() ); + } + + function setFreeShipping( $free_shipping = true ) { + $this->free_shipping = $free_shipping; + } + + function isFreeShipping() { + return $this->free_shipping; + } +} + +class ShoppingCartOtherCost { + private $cost; + private $desc; + private $order; + + function __construct( $cost = 0, $desc = '', $order = 0 ) { + $this->cost = (float)$cost; + $this->desc = $desc; + $this->order = $order; + } + + function __toString() { + return $this->order . $this->desc; + } + + function getCost() { + return $this->cost; + } + + function getDesc() { + return $this->desc; + } + + function getOrder() { + return $this->order; + } +} +?> diff --git a/src/wp-content/plugins/thecartpress/classes/States.class.php b/src/wp-content/plugins/thecartpress/classes/States.class.php new file mode 100644 index 0000000..55152e1 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/classes/States.class.php @@ -0,0 +1,78 @@ +. + */ +require_once( dirname( dirname( __FILE__ ) ) .'/daos/Addresses.class.php' ); + +class TCPStates { + + function __construct() { + add_action( 'init', array( $this, 'init' ), 99 ); + if ( is_admin() ) { + add_filter( 'tcp_address_editor_load_regions', array( $this, 'load_states' ) ); + } else { + add_filter( 'tcp_load_regions_for_billing', array( $this, 'load_states' ) ); + add_filter( 'tcp_load_regions_for_shipping', array( $this, 'load_states' ) ); + } + } + + function init() { + wp_register_script( 'tcp_state_scripts', plugins_url( 'thecartpress/js/tcp_state_scripts.php' ) ); + wp_enqueue_script( 'tcp_state_scripts' ); + } + + function load_states( $regions ) { + return array(); + } +} + +new TCPStates(); + +function tcp_get_billing_region() { + if ( isset( $_SESSION['tcp_checkout']['billing']['selected_billing_address'] ) ) { + if ( $_SESSION['tcp_checkout']['billing']['selected_billing_address'] == 'new' ) { + $billing_region_id = $_SESSION['tcp_checkout']['billing']['billing_region_id']; + } else { //if ( $_SESSION['tcp_checkout']['billing']['selected_billing_address'] == 'Y' ) { + $billing_address = Addresses::get( $_SESSION['tcp_checkout']['billing']['selected_billing_id'] ); + $billing_region_id = $billing_address->region_id; + } + return $billing_region_id; + } else { + return ''; + } +} + +function tcp_get_shipping_region() { + if ( isset( $_SESSION['tcp_checkout']['shipping']['selected_shipping_address'] ) ) { + if ( $_SESSION['tcp_checkout']['shipping']['selected_shipping_address'] == 'new' ) { + $shipping_region_id = $_SESSION['tcp_checkout']['shipping']['shipping_region_id']; + } elseif ( $_SESSION['tcp_checkout']['shipping']['selected_shipping_address'] == 'BIL' ) { + if ( isset( $_SESSION['tcp_checkout']['billing']['selected_billing_address'] ) == 'new' ) { + $shipping_region_id = $_SESSION['tcp_checkout']['billing']['billing_region_id'];; + } else { + $shipping_address = Addresses::get( $_SESSION['tcp_checkout']['billing']['selected_billing_id'] ); + $shipping_region_id = $shipping_address->region_id; + } + } else {//selected_shipping_address == Y + $shipping_address = Addresses::get( $_SESSION['tcp_checkout']['shipping']['selected_shipping_id'] ); + $shipping_region_id = $shipping_address->region_id; + } + return $shipping_region_id; + } else { + return ''; + } +} +?> diff --git a/src/wp-content/plugins/thecartpress/classes/TCP_Plugin.class.php b/src/wp-content/plugins/thecartpress/classes/TCP_Plugin.class.php new file mode 100644 index 0000000..7037d57 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/classes/TCP_Plugin.class.php @@ -0,0 +1,221 @@ +. + */ + +/** + * All the checkout plugins must implement this class + */ +class TCP_Plugin { + /** + * Returns the title of the plugin + * Must be implemented + */ + function getTitle() { + } + + /** + * Returns the description of the plugin + * Must be implemented + */ + function getDescription() { + } + + /** + * Shows the data that the plugin need to be edited + * Must be implemented + */ + function showEditFields( $data ) { + } + + /** + * This functions is run when the edut plugin page is saved + * Must be implemented + */ + function saveEditFields( $data ) { + return $data; + } + + /** + * Returns if the plugin is applicable + * Must be implemented + */ + function isApplicable( $shippingCountry, $shoppingCart, $data ) { + return true; + } + + /** + * Returns the text label to show in the checkout. + * Must be implemented + */ + function getCheckoutMethodLabel( $instance, $shippingCountry, $shoppingCart ) { + } + + /** + * Returns the cost of the service + * Must be implemented + */ + function getCost( $instance, $shippingCountry, $shoppingCart ) { + return 0; + } + + /** + * Shows the button or the notice after the orders have been saved + * + * Must be implemented only for payment methods + */ + function showPayForm( $instance, $shippingCountry, $shoppingCart, $order_id ) { + } + + function __construct() { + } +} + +$tcp_shipping_plugins = array(); +$tcp_payment_plugins = array(); + +/** + * Registers a shipping plugin + */ +function tcp_register_shipping_plugin( $class_name ) { + global $tcp_shipping_plugins; + $tcp_shipping_plugins['shi_' . $class_name] = new $class_name(); +} + +/** + * Registers a payment plugin + */ +function tcp_register_payment_plugin( $class_name ) { + global $tcp_payment_plugins; + $tcp_payment_plugins['pay_' . $class_name] = new $class_name(); +} + +/** + * Returns the plugin object from a given plugin_id + */ +function tcp_get_plugin( $plugin_id ) { + global $tcp_shipping_plugins; + global $tcp_payment_plugins; + + if ( isset( $tcp_shipping_plugins[$plugin_id] ) ) + return $tcp_shipping_plugins[$plugin_id]; + elseif ( isset( $tcp_payment_plugins[$plugin_id] ) ) + return $tcp_payment_plugins[$plugin_id]; + else return null; +} + +function tcp_get_plugin_type( $plugin_id ) { + global $tcp_shipping_plugins; + global $tcp_payment_plugins; + + if ( isset( $tcp_shipping_plugins[$plugin_id] ) ) + return 'shipping'; + elseif ( isset( $tcp_payment_plugins[$plugin_id] ) ) + return 'payment'; + else return ''; +} + +function tcp_get_applicable_shipping_plugins( $shipping_country, $shoppingCart ) { + if ( $shoppingCart->isDownloadable() ) + return array(); + else + return tcp_get_applicable_plugins( $shipping_country, $shoppingCart ); +} + +function tcp_get_applicable_payment_plugins( $shipping_country, $shoppingCart ) { + return tcp_get_applicable_plugins( $shipping_country, $shoppingCart, 'payment' ); +} + +function tcp_get_applicable_plugins( $shipping_country, $shoppingCart, $type = 'shipping' ) { + if ( $type == 'shipping' ) { + global $tcp_shipping_plugins; + $tcp_plugins = $tcp_shipping_plugins; + } else { + global $tcp_payment_plugins; + $tcp_plugins = $tcp_payment_plugins; + } + $applicable_plugins = array(); + foreach( $tcp_plugins as $plugin_id => $plugin ) { + $plugin_data = get_option( 'tcp_plugins_data_' . $plugin_id ); + if ( is_array( $plugin_data ) && count( $plugin_data ) > 0 ) { + $applicable_instance_id = -1; + $applicable_for_country = false; + foreach( $plugin_data as $instance_id => $instance ) { + if ( $instance['active'] ) { + $all_countries = isset( $instance['all_countries'] ) ? $instance['all_countries'] == 'yes' : false; + if ( $all_countries ) { + $applicable_instance_id = $instance_id; + //TODO + $data = $plugin_data[$applicable_instance_id]; + if ( $plugin->isApplicable( $shipping_country, $shoppingCart, $data ) ) + $applicable_plugins[] = array( + 'plugin' => $plugin, + 'instance' => $applicable_instance_id, + ); + } else { + $countries = isset( $instance['countries'] ) ? $instance['countries'] : array(); + if ( in_array( $shipping_country, $countries ) ) { + $applicable_instance_id = $instance_id; + $applicable_for_country = true; + //TODO + $data = $plugin_data[$applicable_instance_id]; + if ( $plugin->isApplicable( $shipping_country, $shoppingCart, $data ) ) + $applicable_plugins[] = array( + 'plugin' => $plugin, + 'instance' => $applicable_instance_id, + ); + //break; + } + } + } + } +/* if ( $applicable_instance_id > -1 ) { + $data = $plugin_data[$applicable_instance_id]; + if ( $plugin->isApplicable( $shipping_country, $shoppingCart, $data ) ) + $applicable_plugins[] = array( + 'plugin' => $plugin, + 'instance' => $applicable_instance_id, + ); + } +*/ + } + } + + if ( $applicable_for_country ) + foreach( $applicable_plugins as $id => $plugin_instance ) { + $data = tcp_get_shipping_plugin_data( get_class( $plugin_instance['plugin'] ), $plugin_instance['instance'] ); + $all_countrie = isset( $data['all_countries'] ) ? $data['all_countries'] == 'yes' : false; + if ( $all_countrie ) unset( $applicable_plugins[$id] ); + } + return $applicable_plugins; +} + +function tcp_get_shipping_plugin_data( $plugin_name, $instance ) { + return tcp_get_plugin_data( 'shi_' . $plugin_name, $instance ); +} + +function tcp_get_payment_plugin_data( $plugin_name, $instance ) { + return tcp_get_plugin_data( 'pay_' . $plugin_name, $instance ); +} + +function tcp_get_plugin_data( $plugin_id, $instance = -1 ) { + $plugin_data = get_option( 'tcp_plugins_data_' . $plugin_id ); + if ( $instance == -1 ) + return $plugin_data; + else + return $plugin_data[$instance]; +} +?> diff --git a/src/wp-content/plugins/thecartpress/classes/TheCartPressSearchEngine.class.php b/src/wp-content/plugins/thecartpress/classes/TheCartPressSearchEngine.class.php new file mode 100644 index 0000000..d42d396 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/classes/TheCartPressSearchEngine.class.php @@ -0,0 +1,78 @@ +. + */ + +/** + * Allows to comunicate with TheCartPress search engine + */ +class TheCartPressSearchEngine { + static private $HOST = 'http://thecartpress.com/moira/'; + //private $HOST = 'http://localhost/moira/'; + + static function remove() { + $url = TheCartPressSearchEngine::$HOST . 'moira_add.php'; + $url .= '?delete_web=' . get_bloginfo('url'); + return TheCartPressSearchEngine::connectAndSend( $url ); + } + + static function refresh() { + $url = TheCartPressSearchEngine::$HOST . 'moira_add.php'; + $url .= '?refresh_web=' . get_bloginfo('url'); + $guid = TheCartPressSearchEngine::generateNewGuid(); + $url .= '&guid=' . $guid; + return TheCartPressSearchEngine::connectAndSend( $url ); + } + + static function generateNewGuid() { + $guid = TheCartPressSearchEngine::guid(); + $settings = get_option( 'tcp_settings' ); + $settings['search_engine_guid'] = $guid; + update_option( 'tcp_settings', $settings ); + return $guid; + } + + static private function connectAndSend( $url ) { + try { + $handler = curl_init( $url ); + curl_setopt( $handler, CURLOPT_RETURNTRANSFER, 1 ); + $response = curl_exec( $handler ); + curl_close( $handler ); + return $response; + } catch (Exception $e) { + return 'Caught exception: ' . $e->getMessage(); + } + } + + static private function guid() { + if ( function_exists( 'com_create_guid' ) ) + return com_create_guid(); + else { + mt_srand( (float)microtime() * 10000 ); //optional for php 4.2.0 and up. + $char_id = strtoupper( md5( uniqid( rand(), true ) ) ); + $hyphen = chr( 45 );// "-" + $uuid = chr( 123 )// "{" + .substr( $char_id, 0, 8 ) . $hyphen + .substr( $char_id, 8, 4 ) . $hyphen + .substr( $char_id, 12, 4 ) . $hyphen + .substr( $char_id, 16, 4 ) . $hyphen + .substr( $char_id, 20, 12 ) + .chr( 125 );// "}" + return $uuid; + } + } +} +?> diff --git a/src/wp-content/plugins/thecartpress/copying.txt b/src/wp-content/plugins/thecartpress/copying.txt new file mode 100644 index 0000000..94a9ed0 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/copying.txt @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/src/wp-content/plugins/thecartpress/css/arrowClara.jpg b/src/wp-content/plugins/thecartpress/css/arrowClara.jpg new file mode 100644 index 0000000..f2bcde1 Binary files /dev/null and b/src/wp-content/plugins/thecartpress/css/arrowClara.jpg differ diff --git a/src/wp-content/plugins/thecartpress/css/chekout_box_bg.jpg b/src/wp-content/plugins/thecartpress/css/chekout_box_bg.jpg new file mode 100644 index 0000000..22bf626 Binary files /dev/null and b/src/wp-content/plugins/thecartpress/css/chekout_box_bg.jpg differ diff --git a/src/wp-content/plugins/thecartpress/css/tcp_base.css b/src/wp-content/plugins/thecartpress/css/tcp_base.css new file mode 100644 index 0000000..17c7f64 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/css/tcp_base.css @@ -0,0 +1,383 @@ +@charset "utf-8"; +/* CSS Document */ + +/* SHOPPING CART THE WORDPRESS CART +-------------------------------------------------------------- */ +table#tcp_shopping_cart_table { + border:0px; + width: 100%; +} + +table#tcp_shopping_cart_table tr th, +table#tcp_shopping_cart_table thead th { + line-height: 16px !important; + color: #666 !important; + background-image:url(/wp-content/plugins/thecartpress/css/chekout_box_bg.jpg); + background-repeat: repeat-x; + padding-left: 10px; + background-position: 1px 0px; + margin: 0px 0px 1px 0px !important; + font-size: 11px; + background-color: #f0f0f0; + border: 1px solid #CCCCCC; + font-weight: bold; +} + +table#tcp_shopping_cart_table tr td { + background-color: #fff; + font-size: 11px; + padding: 4px 10px; + border-top: 1px dotted #ccc; +} +table#tcp_shopping_cart_table tr.odd td { + background-color: #FfF7FC; +} +table#tcp_shopping_cart_table .tcp_cart_name { + background-color: #f7f7f7; + width: inherit; + font-size: 11px; + border-right: 1px dotted #ccc; +} +table#tcp_shopping_cart_table .tcp_cart_name a{ + text-decoration: none; +} + +#shopping_cart input { + font-size: 11px; + margin-bottom: 0px; +} +table#tcp_shopping_cart_table .tcp_cart_subtotal_row td{ + color: #666; +} +table#tcp_shopping_cart_table .tcp_cart_total_row td { + border: 1px solid #ccc; +} + +table#tcp_shopping_cart_table .tcp_cart_total_row td, +table#tcp_shopping_cart_table .tcp_cart_subtotal_row td { + font-weight: bold; + text-transform: uppercase; + background-image:url(/wp-content/plugins/thecartpress/css/chekout_box_bg.jpg); + background-repeat: repeat-x; + background-position: 1px 0px; + border: 1px solid #ccc; +} +table#tcp_shopping_cart_table .tcp_cart_total_row td.tcp_cart_total_title, +table#tcp_shopping_cart_table .tcp_cart_subtotal_row td.tcp_cart_subtotal_title { + text-align: right; +} + + + +table#tcp_shopping_cart_table .tcp_cart_total { + color: #c00; +} +.tcp_sc_links { + list-style-type: none; + float: right; +} +.tcp_sc_links li { + border: 1px solid #ccc; + -moz-border-radius: 5px; + -khtml-border-radius: 5px; + -webkit-border-radius: 5px; + margin-bottom: 4px; + padding: 0 0px 0 0px; + background-image:url(/wp-content/plugins/thecartpress/css/chekout_box_bg.jpg); + background-repeat: repeat-x; + background-position: 0px 0px; + text-decoration: none; + border-bottom: 1px solid #888; + border-right: 1px solid #888; +} +.tcp_sc_links li:hover { + border-top: 1px dotted #ccc; +} +.tcp_sc_links li a{ + text-decoration: none; + background-image:url(/wp-content/plugins/thecartpress/css/arrowClara.jpg); + background-repeat: no-repeat; + background-position: 3px 0px; + line-height: 27px; + padding: 3px 20px 3px 28px; +} +.tcp_sc_links .tcp_sc_checkout a{ + font-weight: bold; +} + + +/* CHEKOUT THE WORDPRESS CART +-------------------------------------------------------------- */ +#checkout { + +} +#checkout p{ + margin-bottom:6px; + +} +#checkout h3{ + font-family: Arial, Helvetica, sans-serif; + line-height: 24px !important; + color: #333 !important; + background-image:url(/wp-content/plugins/thecartpress/css/chekout_box_bg.jpg); + background-repeat: repeat-x; + padding-left: 10px; + background-position: 1px 0px; + margin: 0px 0px 1px 0px !important; + font-size: 11px; + background-color: #f0f0f0; + border: 1px solid #CCCCCC; + font-weight: normal; + text-transform: uppercase; +} +#checkout h3 a{ + text-decoration: none; +} +.checkout_active h3.active{ + font-weight: bold; + color: #000; +} +#checkout h4{ + font-family: Arial, Helvetica, sans-serif; + font-size: 11px; + color: #333; + text-transform: uppercase; + line-height: 20px; + padding-left: 0px; + border-bottom: 1px dotted #999; + margin-bottom:10px; + font-weight: normal; +} +#checkout ul { + list-style-type: none; +} + +#identify_layer, #billing_layer, #shipping_layer, #sending_layer, #payment_layer, #cart_layer { +} + +.checkout_info { + margin-bottom: 1px; + font-size: 11px; + padding: 20px 10px 10px 10px; + background-color: #FFF; /*FAF7EE*/ + background-image: url(/wp-content/plugins/thecartpress/css/chekout_box_bg.jpg); + background-repeat: repeat-x; + background-position: left -10px; + border: 1px #ccc solid; + font-family: Arial, Helvetica, sans-serif; + } +.identify_layer .checkout_info { + padding-top: 0px; + } +.checkout_info strong{ + color: #666 !important; + } +.checkout_info input { + margin: 5px 0px 5px 0px !important; +} +.checkout_info input[type="submit"], +.checkout_info input[type="button"]{ + padding: 6px; +} + +.checkout_info select { + padding: 0px; + margin: 5px 0px 5px 0px; +} + +.checkout_info label { + padding: 0px 0px 0px 4px; + margin: 0px; +} +.checkout_info span.description { + clear: left; + color: #C00; + display: block; + margin-bottom: 10px; + text-align: right; +} +#login_form { + float:right; + width:45%; + padding: 10px; +} +#login_form label { + width: 80px; + float: left; + padding-top:6px; + clear:both; +} +#login_form input { + width: 100px; + float: left; + margin: 5px 0px 5px 0px; +} +#loginform p{ + padding: 0px; +} +.login-remember { + clear:both; + width: 100%; + display: block; +} +.login-remember label{ + padding-top:10px; + width: 200px !important; + font-size: .85em; +} +.login-remember input { + clear:left; + float: left; + margin: 5px 0px 5px 0px; + width: 30px !important; +} +p.login-lostpassword { + clear: both; +} +#login_guess { + float:left; + width:45%; + padding: 10px; +} +#login_guess a, p.login-lostpassword a{ + font-weight: bolder; + font-size: 11px; + text-decoration: none; + color:#C00; +} +#login_guess a:hover, p.login-lostpassword a:hover{ + color:#960000; +} +#login_guess ul{ + margin-top: 6px; + margin-bottom: 14px; +} +#billing_layer_info p, #shipping_layer_info p { + line-height: 24px; + margin-bottom:20px; + clear: both; + display: block; +} +#selected_billing_area label, +#selected_shipping_area label { + font-weight: bold; + margin: 0px 10px 0px 0px; +} +#selected_billing_area br, +#selected_shipping_area br { + display: none; +} +#selected_billing_area select, +#selected_shipping_area select { + margin: 0px 0px 10px 0px; +} +#new_shipping_area li, #new_billing_area li { + float: left; + line-height: 24px; + margin-bottom:1px; + list-style-type: none; +} +#new_shipping_area li label, #new_billing_area li label { + width: 140px; + float: left; + +} +#new_shipping_area li input, #new_billing_area li input, #new_shipping_area li select, #new_billing_area li select { + width: 260px; + float: left; + margin: 0px 0px 0px 0px; +} + +#new_shipping_area span.error, #new_billing_area span.error { + line-height: 1em; + clear:left; + font-weight:bolder; + color:#C00; + display: block; + padding:0px 0px 10px 4px; +} + + +#cart_layer table { +} +#cart_layer .checkout_item td{ + background-color: #fff0f0; + border-bottom:#fff solid 1px; /*FAF7EE*/ + padding-bottom: 6px; + padding-top: 6px; +} +#cart_layer .impar td{ + background-color: #FAF7EE; +} + +#cart_layer .checkout_subtotal td, #cart_layer .checkout_total td{ + background-color: #f0f0ff; +} +#cart_layer .checkout_total { + font-weight: bolder; + font-size: 12px; +} +#cart_layer .checkout_total td{ + border-top:#999 dotted 1px; +} +.checkout_currency { + text-align: right; +} +#cart_layer .checkout_total .checkout_currency{ + color: #fff; + background-color: #c00; + border:#c00 solid 1px; +} +.cart_layer_info table th{ + background-color: #fff; +} +.cart_layer_info #comment{ + width: 62%; +} +.checkout_subtotal tr{ +} + +/* Checkout resume */ +div#shipping_info { + width: inherit; + float: left; +} +div#billing_info { + width: inherit; + float: left; + margin-left: 40px; +} +div#shipping_info h3, +div#billing_info h3{ + margin-bottom:6px; + padding-right: 10px; + font-weight: bold; +} +#content .tcp_payment_area table.widefat { + clear: both; + margin-top:20px; +} + +/* ***Float containers fix*** */ +.clearfix:after { + content: "."; + display: block; + height: 0; + clear: both; + visibility: hidden; + } + +.clearfix { + display: inline-table; +} + +/* Hides from IE-mac \*/ +* html .clearfix {height: 1%;} +.clearfix {display: block;} +/* End hide from IE-mac */ + + +ul.tcp_checkout_bar li {display: inline; padding-right: 2em;} +li.tcp_checkout_active_step span{font-weight:bold;} + +.tcp_item_discount {padding-left: 1em;} diff --git a/src/wp-content/plugins/thecartpress/customposttypes/ProductCustomPostType.class.php b/src/wp-content/plugins/thecartpress/customposttypes/ProductCustomPostType.class.php new file mode 100644 index 0000000..195a42e --- /dev/null +++ b/src/wp-content/plugins/thecartpress/customposttypes/ProductCustomPostType.class.php @@ -0,0 +1,245 @@ +. + */ + +/** + * This class defines the post type 'tcp_product'. + */ +require_once( dirname( dirname( __FILE__ ) ).'/daos/RelEntities.class.php' ); + +class ProductCustomPostType { + public static $PRODUCT = 'tcp_product'; + public static $PRODUCT_CATEGORY = 'tcp_product_category'; + public static $PRODUCT_TAG = 'tcp_product_tag'; + public static $SUPPLIER_TAG = 'tcp_product_supplier'; + + function __construct() { + global $thecartpress; + $labels = array( + 'name' => _x( 'Products', 'post type general name', 'tcp' ), + 'singular_name' => _x( 'Product', 'post type singular name', 'tcp' ), + 'add_new' => _x( 'Add New', 'product', 'tcp' ), + 'add_new_item' => __( 'Add New', 'tcp' ), + 'edit_item' => __( 'Edit Product', 'tcp' ), + 'new_item' => __( 'New Product', 'tcp' ), + 'view_item' => __( 'View Product', 'tcp' ), + 'search_items' => __( 'Search Products', 'tcp' ), + 'not_found' => __( 'No products found', 'tcp' ), + 'not_found_in_trash' => __( 'No products found in Trash', 'tcp' ), + 'parent_item_colon' => '', + ); + $register = array ( + 'label' => __( 'Products', 'tcp' ), + 'singular_label' => __( 'Product', 'tcp' ), + 'labels' => $labels, + 'public' => true, + 'show_ui' => true, + '_builtin' => false, // It's a custom post type, not built in! (http://kovshenin.com/archives/extending-custom-post-types-in-wordpress-3-0/) + '_edit_link' => 'post.php?post=%d', + 'capability_type' => 'post', + 'hierarchical' => false, //allways false + 'query_var' => true, + 'supports' => array( 'title', 'excerpt', 'editor', 'thumbnail', 'comments' ), + 'taxonomies' => array( ProductCustomPostType::$PRODUCT_CATEGORY ), // Permalinks format + 'rewrite' => array( 'slug' => isset( $thecartpress->settings['product_rewrite'] ) ? $thecartpress->settings['product_rewrite'] : 'products' ), + 'has_archive' => isset( $thecartpress->settings['product_rewrite'] ) && $thecartpress->settings['product_rewrite'] != '' ? $thecartpress->settings['product_rewrite'] : 'products', + ); + register_post_type( ProductCustomPostType::$PRODUCT, $register ); + if ( is_admin() ) { + add_filter( 'post_row_actions', array( $this, 'postRowActions' ) ); + add_filter( 'manage_edit-' . ProductCustomPostType::$PRODUCT . '_columns', array( $this, 'customColumnsDefinition' ) ); + } + $labels = array( + 'name' => _x( 'Categories', 'taxonomy general name', 'tcp' ), + 'singular_name' => _x( 'Category', 'taxonomy singular name', 'tcp' ), + 'search_items' => __( 'Search Categories', 'tcp' ), + 'all_items' => __( 'All Categories', 'tcp' ), + 'parent_item' => __( 'Parent Category', 'tcp' ), + 'parent_item_colon' => __( 'Parent Category:', 'tcp' ), + 'edit_item' => __( 'Edit Category', 'tcp' ), + 'update_item' => __( 'Update Category', 'tcp' ), + 'add_new_item' => __( 'Add New Category', 'tcp' ), + 'new_item_name' => __( 'New Category Name', 'tcp' ), + ); + $register = array ( + 'labels' => $labels, + 'hierarchical' => true, + 'query_var' => true, //'cat_prods', + 'label' => __( 'Category', 'tcp' ), + 'rewrite' => array('slug' => isset( $thecartpress->settings['category_rewrite'] ) ? $thecartpress->settings['category_rewrite'] : 'product_category' ), //false + ); + register_taxonomy( ProductCustomPostType::$PRODUCT_CATEGORY, ProductCustomPostType::$PRODUCT, $register ); + register_taxonomy( ProductCustomPostType::$PRODUCT_TAG, ProductCustomPostType::$PRODUCT, array( + 'public' => true, + 'hierarchical' => false, + 'query_var' => true, + 'rewrite' => array('slug' => isset( $thecartpress->settings['tag_rewrite'] ) ? $thecartpress->settings['tag_rewrite'] : 'product_tag' ), //false + 'label' => __( 'Products Tags', 'tcp' ), + ) ); + register_taxonomy( ProductCustomPostType::$SUPPLIER_TAG, ProductCustomPostType::$PRODUCT, array( + 'hierarchical' => true, + 'query_var' => true, + 'rewrite' => array('slug' => isset( $thecartpress->settings['supplier_rewrite'] ) ? $thecartpress->settings['supplier_rewrite'] : 'product_supplier' ), //false + 'labels' => array( + 'name' => _x( 'Suppliers', 'taxonomy general name', 'tcp' ), + 'singular_name' => _x( 'Supplier', 'taxonomy singular name', 'tcp' ), + 'search_items' => __( 'Search Suppliers', 'tcp' ), + 'all_items' => __( 'All Suppliers', 'tcp' ), + 'edit_item' => __( 'Edit Suppliers', 'tcp' ), + 'update_item' => __( 'Update Suppliers', 'tcp' ), + 'add_new_item' => __( 'Add New Suppliers', 'tcp' ), + 'new_item_name' => __( 'New Suppliers Name', 'tcp' ), + ), + ) ); + + if ( is_admin() ) { + add_action( 'manage_posts_custom_column', array( $this, 'managePostCustomColumns' ) ); + add_action( 'restrict_manage_posts', array( $this, 'restrictManagePosts' ) ); + add_filter( 'parse_query', array( $this, 'parseQuery' ) ); //TODO 3.1 + //for quick edit + //add_action('quick_edit_custom_box', array( $this, 'quickEditCustomBox' ), 10, 2 ); + } + } + + /*function quickEditCustomBox( $column_name, $post_type ) { + if ( $post_type == ProductCustomPostType::$PRODUCT ) { + global $post; //TODO + if ('price' == $column_name) + echo 'price:', tcp_get_the_price( $post->ID ); + } + }*/ + + function postRowActions( $actions, $post_line = null ) { + global $post; + if ( $post->post_type != 'tcp_product' ) return $actions; + $admin_path = 'admin.php?page=' . plugin_basename( dirname( dirname( __FILE__ ) ) ) . '/admin/'; + if ( $post->post_type == 'tcp_product' && tcp_get_the_product_type( $post->ID ) == 'GROUPED' ) { + $count = RelEntities::count( $post->ID ); + if ( $count > 0 ) + $count = ' (' . $count . ')'; + else + $count = ''; + $actions['tcp_assigned'] = '' . __( 'assigned products', 'tcp' ) . $count . ''; + } + $actions = apply_filters( 'tcp_product_row_actions', $actions ); + return $actions; + } + + /** + * Custom definition for the products list + */ + function customColumnsDefinition( $columns ) { + $columns = array( + 'cb' => '', + 'title' => __( 'Name', 'tcp' ), + 'label' => __( 'label', 'tcp' ), + 'price' => __( 'Type - price', 'tcp' ), + 'date' => __( 'date', 'tcp' ), + //'comments' => __('Comments', 'tcp' ), + ); + global $thecartpress; + if ( ! $thecartpress->settings['show_back_end_label'] ) unset( $columns['label'] ); + return $columns; + } + + /** + * Prints the custom fields values in the products list + */ + function managePostCustomColumns( $column_name ) { + global $post; + if ( $post->post_type == ProductCustomPostType::$PRODUCT ) + if ( 'ID' == $column_name ) { + echo $post->ID; + } elseif ( 'label' == $column_name ) { + $label = tcp_get_the_meta( 'tcp_back_end_label', $post->ID ); + if ( strlen( $label ) ) echo $label; + } elseif ( 'price' == $column_name ) { + echo tcp_get_the_product_type( $post->ID ) . ' - ' . tcp_format_the_price( tcp_get_the_price( $post->ID ) ); + } + } + + /** + * Print filtering fields in the products list + */ + function restrictManagePosts() { + global $typenow; + if ( $typenow == ProductCustomPostType::$PRODUCT ) { + global $wp_query; + wp_dropdown_categories( array( + 'show_option_all' => __( 'View all categories', 'tcp' ), + 'taxonomy' => ProductCustomPostType::$PRODUCT_CATEGORY, + 'name' => 'tcp_product_cat', + 'orderby' => 'name', + 'selected' => isset( $wp_query->query['term'] ) ? $wp_query->query['term'] : '', + 'hierarchical' => true, + 'depth' => 3, + 'show_count' => true, + 'hide_empty' => true, + ) );?> +
      + + + diff --git a/src/wp-content/plugins/thecartpress/plugins/CardOffLine/notify.php b/src/wp-content/plugins/thecartpress/plugins/CardOffLine/notify.php new file mode 100644 index 0000000..3d00e42 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/plugins/CardOffLine/notify.php @@ -0,0 +1,110 @@ +insert( $wpdb->prefix . 'tcp_offlines', + array( + 'order_id' => $order_id, + 'card_holder' => $card_holder, + 'card_number' => $card_number, + 'cvc' => $cvc, + 'expiration_month' => $expiration_month, + 'expiration_year' => $expiration_year, + 'card_type' => $card_type, + 'created_at' => $created_at, + ), + array( '%d', '%s', '%s', '%s', '%s', '%s', '%s', '%s' ) + ); + $wpdb->update( $wpdb->prefix . 'tcp_orders', + array( + 'status' => $new_status, + ), + array( + 'order_id' => $order_id, + ), + array( '%s' ), array( '%d' ) ); + header( 'Location: ' . $url ); + exit; + die( __( 'OK data card', 'tcp' ) ); + } else { + die( __( 'Wrong data card', 'tcp' ) ); + } +} + +class CCValidator { + static function validateCC($ccnum, $type = 'unknown') { + //Clean up input + $type = strtolower( $type ); + $ccnum = preg_replace( '/[-[:space:]]/', '', $ccnum ); + //Do type specific checks + if ( $type == 'unknown' ) { + //Skip type specific checks + } elseif ( $type == 'mastercard'){ + if ( strlen($ccnum) != 16 || !ereg( '5[1-5]', $ccnum ) ) return 0; + } elseif ( $type == 'visa'){ + if ( ( strlen($ccnum) != 13 && strlen( $ccnum ) != 16 ) || substr ($ccnum, 0, 1) != '4') + return 0; + } elseif ( $type == 'amex' ) { + if ( strlen( $ccnum ) != 15 || !ereg( '3[47]', $ccnum ) ) + return 0; + } elseif ($type == 'discover'){ + if (strlen($ccnum) != 16 || substr($ccnum, 0, 4) != '6011') + return 0; + } else { + //invalid type entered + return -1; + } + // Start MOD 10 checks + $dig = CCValidator::toCharArray($ccnum); + $numdig = sizeof ($dig); + $j = 0; + for ( $i=( $numdig - 2 ); $i >= 0; $i-=2 ) { + $dbl[$j] = $dig[$i] * 2; + $j++; + } + $dblsz = sizeof( $dbl ); + $validate = 0; + for ( $i = 0; $i < $dblsz; $i++){ + $add = CCValidator::toCharArray( $dbl[$i] ); + for ($j = 0; $j < sizeof( $add ); $j++ ){ + $validate += $add[$j]; + } + $add = ''; + } + for ( $i = ( $numdig - 1 ); $i >= 0; $i -= 2 ) { + $validate += $dig[$i]; + } + if ( substr( $validate, -1, 1 ) == '0' ) return 1; + else return 0; + } + + // takes a string and returns an array of characters + static function toCharArray( $input ){ + $len = strlen( $input ); + for ($j = 0; $j < $len; $j++ ) { + $char[$j] = substr( $input, $j, 1 ); + } + return ( $char ); + } +} +?> diff --git a/src/wp-content/plugins/thecartpress/plugins/FlatRate.class.php b/src/wp-content/plugins/thecartpress/plugins/FlatRate.class.php new file mode 100644 index 0000000..d720c4a --- /dev/null +++ b/src/wp-content/plugins/thecartpress/plugins/FlatRate.class.php @@ -0,0 +1,95 @@ +. + */ + +class FlatRateShipping extends TCP_Plugin { + + function getTitle() { + return 'FlatRate'; + } + + function getDescription() { + return 'Calculate the shipping cost by a flat or percentual formula.
      Author: TheCartPress team'; + } + + function getCheckoutMethodLabel( $instance, $shippingCountry, $shoppingCart ) { + $data = tcp_get_shipping_plugin_data( get_class( $this ), $instance ); + $title = isset( $data['title'] ) ? $data['title'] : ''; + $cost = $this->getCost( $instance, $shippingCountry, $shoppingCart ); + return sprintf( __( '%s. Cost: %s', 'tcp' ), $title, tcp_format_the_price( $cost ) ); + } + + function showEditFields( $data ) {?> + + + + + + + + + + + + + + + + + + + % + + + + + + + + + getCount(); + } + } else {//'percentage' + $total = $shoppingCart->getTotalForShipping() - $shoppingCart->getDiscount(); + return $total * $data['percentage'] / 100; + } + } +} +?> diff --git a/src/wp-content/plugins/thecartpress/plugins/FreeTrans.class.php b/src/wp-content/plugins/thecartpress/plugins/FreeTrans.class.php new file mode 100644 index 0000000..880bd5b --- /dev/null +++ b/src/wp-content/plugins/thecartpress/plugins/FreeTrans.class.php @@ -0,0 +1,53 @@ +. + */ + +class FreeTrans extends TCP_Plugin { + + function getTitle() { + return 'Free Trans'; + } + + function getDescription() { + return 'Free transport for orders with cost greater than an editable minimun.
      Author: TheCartPress team'; + } + + function showEditFields( $data ) {?> + + + + + + + getTotal() > $minimun_amount; + } + + function getCheckoutMethodLabel( $instance, $shippingCountry, $shoppingCart ) { + return __( 'Free transport', 'tcp' ); + } +} +?> diff --git a/src/wp-content/plugins/thecartpress/plugins/NoCostPayment.class.php b/src/wp-content/plugins/thecartpress/plugins/NoCostPayment.class.php new file mode 100644 index 0000000..2c0c748 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/plugins/NoCostPayment.class.php @@ -0,0 +1,67 @@ +. + */ + + +class NoCostPayment extends TCP_Plugin { + function getTitle() { + return 'No Payment'; + } + + function getDescription() { + return 'No payment method. Only for test purpose.
      Author: TheCartPress team'; + } + + function showEditFields( $data ) {?> + + + + + + + 'ok', + 'order_id' => $order_id, + );?> +

      +

      +

      + +

      diff --git a/src/wp-content/plugins/thecartpress/plugins/PayPal/PayPal.php b/src/wp-content/plugins/thecartpress/plugins/PayPal/PayPal.php new file mode 100644 index 0000000..5770dfb --- /dev/null +++ b/src/wp-content/plugins/thecartpress/plugins/PayPal/PayPal.php @@ -0,0 +1,87 @@ +. + */ + +require_once('paypal.class.php'); + +class PayPal extends TCP_Plugin { + + function getTitle() { + return 'PayPal'; + } + + function getDescription() { + return 'PayPal payment method.
      Author: TheCartPress team'; + } + + function showEditFields( $data ) {?> + + + + + + + + + + + /> + getTotal( true ); + $p = new paypal_class( $test_mode ); + $p->add_field( 'charset', 'utf-8' ); + $p->add_field( 'business', $business ); + $p->add_field( 'return', $return_url ); + $p->add_field( 'cancel_return', $cancel_url ); + $p->add_field( 'notify_url', $notify_url ); + $p->add_field( 'custom', $order_id . '-' . $test_mode . '-' . $new_status ); + $p->add_field( 'item_name', __( 'Shopping cart ', 'tcp' ) . get_bloginfo( 'name' ) ); + $p->add_field( 'amount', number_format( $paymentAmount, 2, '.', '' ) ); + $p->add_field( 'currency_code', tcp_get_the_currency_iso() ); + require_once( dirname( dirname( dirname( __FILE__ ) ) ) .'/daos/Orders.class.php' ); + $order = Orders::get( $order_id ); + $p->add_field( 'first_name', $order->shipping_firstname );//utf8_decode + $p->add_field( 'last_name', $order->shipping_lastname ); + $p->add_field( 'address1', $order->shipping_street ); + $p->add_field( 'city', $order->shipping_city ); + $p->add_field( 'state', $order->shipping_region_id ); + $p->add_field( 'zip', $order->shipping_postcode ); + $p->add_field( 'country', $order->shipping_country_id ); + echo $p->submit_paypal_post(); + } + + function saveEditFields( $data ) { + $data['business'] = isset( $_REQUEST['business'] ) ? $_REQUEST['business'] : ''; + $data['test_mode'] = isset( $_REQUEST['test_mode'] ) ? $_REQUEST['test_mode'] == 'yes' : false; + return $data; + } +} +?> diff --git a/src/wp-content/plugins/thecartpress/plugins/PayPal/notify.php b/src/wp-content/plugins/thecartpress/plugins/PayPal/notify.php new file mode 100644 index 0000000..b8d0dc4 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/plugins/PayPal/notify.php @@ -0,0 +1,54 @@ +. + */ + +$custom = isset( $_REQUEST['custom'] ) ? $_REQUEST['custom'] : '0-1-CANCELLED';//Order_id-test_mode-new_status +if ($debug) echo $custom, '
      ';//TODO + +$custom = split( '-', $custom ); +$order_id = $custom[0]; +$test_mode = $custom[1] == '1'; +$new_status = $custom[2]; + +require_once('paypal.class.php' ); +$p = new paypal_class( $test_mode ); + +$wordpress_path = dirname( dirname( dirname( dirname( dirname( dirname( __FILE__ ) ) ) ) ) ) . '/'; +include_once( $wordpress_path . 'wp-config.php' ); +include_once( $wordpress_path . 'wp-includes/wp-db.php' ); + +$thecartpress_path = dirname( dirname( dirname( __FILE__ ) ) ) . '/'; +require_once( $thecartpress_path . 'daos/Orders.class.php'); +require_once( $thecartpress_path . 'checkout/ActiveCheckout.class.php'); + +if ( isset( $_REQUEST['action'] ) && $_REQUEST['action'] == 'ok' ) { + if ( $p->validate_ipn() ) { + if ( Orders::isDownloadable( $order_id ) ) { + Orders::editStatus( $order_id, Orders::$ORDER_COMPLETED ); + } else { + Orders::editStatus( $order_id, $new_status ); + } + ActiveCheckout::sendMails( $order_id ); + } else { + Orders::editStatus( $order_id, Orders::$ORDER_CANCELLED, 'Error IPN (PayPal).' ); + ActiveCheckout::sendMails( $order_id, true, 'Error Paypal' ); + } +} else { + Orders::editStatus( $order_id, Orders::$ORDER_CANCELLED, 'Cancel PayPal.' ); + ActiveCheckout::sendMails( $order_id, true, 'Error Paypal' ); +} +?> diff --git a/src/wp-content/plugins/thecartpress/plugins/PayPal/paypal.class.php b/src/wp-content/plugins/thecartpress/plugins/PayPal/paypal.class.php new file mode 100644 index 0000000..d949c49 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/plugins/PayPal/paypal.class.php @@ -0,0 +1,275 @@ +add_field('business', 'somebody@domain.com'); + * $p->add_field('first_name', $_POST['first_name']); + * ... (add all your fields in the same manor) + * $p->submit_paypal_post(); + * + * To process an IPN, have your IPN processing file contain: + * + * $p = new paypal_class; + * if ($p->validate_ipn()) { + * ... (IPN is verified. Details are in the ipn_data() array) + * } + * + * + * In case you are new to paypal, here is some information to help you: + * + * 1. Download and read the Merchant User Manual and Integration Guide from + * http://www.paypal.com/en_US/pdf/integration_guide.pdf. This gives + * you all the information you need including the fields you can pass to + * paypal (using add_field() with this class) aswell as all the fields + * that are returned in an IPN post (stored in the ipn_data() array in + * this class). It also diagrams the entire transaction process. + * + * 2. Create a "sandbox" account for a buyer and a seller. This is just + * a test account(s) that allow you to test your site from both the + * seller and buyer perspective. The instructions for this is available + * at https://developer.paypal.com/ as well as a great forum where you + * can ask all your paypal integration questions. Make sure you follow + * all the directions in setting up a sandbox test environment, including + * the addition of fake bank accounts and credit cards. + * + ******************************************************************************* +*/ + +class paypal_class { + + var $last_error; // holds the last error encountered + + var $ipn_log; // bool: log IPN results to text file? + + var $ipn_log_file; // filename of the IPN log + var $ipn_response; // holds the IPN response from paypal + var $ipn_data = array(); // array contains the POST values for IPN + + var $fields = array(); // array holds the fields to submit to paypal + + + function paypal_class($test_mode = false) { + + // initialization constructor. Called when class is created. + if ($test_mode) + $this->paypal_url = 'https://www.sandbox.paypal.com/cgi-bin/webscr'; // testing paypal url + else + $this->paypal_url = 'https://www.paypal.com/cgi-bin/webscr'; // paypal url + + $this->last_error = ''; + + $this->ipn_log_file = '.ipn_results.log'; + $this->ipn_log = false; + $this->ipn_response = ''; + + // populate $fields array with a few default values. See the paypal + // documentation for a list of fields and their data types. These defaul + // values can be overwritten by the calling script. + + $this->add_field('rm','2'); // Return method = POST + $this->add_field('cmd','_xclick'); + + } + + function add_field($field, $value) { + + // adds a key=>value pair to the fields array, which is what will be + // sent to paypal as POST variables. If the value is already in the + // array, it will be overwritten. + + $this->fields["$field"] = $value; + } + + function submit_paypal_post() { + + // this function actually generates an entire HTML page consisting of + // a form with hidden elements which is submitted to paypal via the + // BODY element's onLoad attribute. We do this so that you can validate + // any POST vars from you custom form before submitting to paypal. So + // basically, you'll have your own form which is submitted to your script + // to validate the data, which in turn calls this function to create + // another hidden form and submit to paypal. + + // The user will briefly see a message on the screen that reads: + // "Please wait, your order is being processed..." and then immediately + // is redirected to paypal. + + $output = "
      paypal_url."\">\n"; + foreach ($this->fields as $name => $value) + $output .= "\n"; + $output .= ""; + $output .= "
      \n"; + return $output; + } + + function validate_ipn() { + + // parse the paypal URL + $url_parsed=parse_url($this->paypal_url); + + // generate the post string from the _POST vars aswell as load the + // _POST vars into an arry so we can play with them from the calling + // script. + $post_string = ''; + foreach ($_POST as $field=>$value) { + $this->ipn_data["$field"] = $value; + $post_string .= $field.'='.urlencode(stripslashes($value)).'&'; + } + $post_string.="cmd=_notify-validate"; // append ipn command + + // open the connection to paypal + $fp = fsockopen($url_parsed['host'],"80",$err_num,$err_str,30); + if(!$fp) { + + // could not open the connection. If loggin is on, the error message + // will be in the log. + $this->last_error = "fsockopen error no. $errnum: $errstr"; + $this->log_ipn_results(false); + return false; + + } else { + + // Post the data back to paypal + fputs($fp, "POST {$url_parsed['path']} HTTP/1.1\r\n"); + fputs($fp, "Host: {$url_parsed['host']}\r\n"); + fputs($fp, "Content-type: application/x-www-form-urlencoded\r\n"); + fputs($fp, "Content-length: ".strlen($post_string)."\r\n"); + fputs($fp, "Connection: close\r\n\r\n"); + fputs($fp, $post_string . "\r\n\r\n"); + + // loop through the response from the server and append to variable + while(!feof($fp)) { + $this->ipn_response .= fgets($fp, 1024); + } + + fclose($fp); // close connection + + } + + if (eregi("VERIFIED",$this->ipn_response)) { + + // Valid IPN transaction. + $this->log_ipn_results(true); + return true; + + } else { + + // Invalid IPN transaction. Check the log for details. + $this->last_error = 'IPN Validation Failed.'; + $this->log_ipn_results(false); + return false; + + } + + } + + function log_ipn_results($success) { + + if (!$this->ipn_log) return; // is logging turned off? + + // Timestamp + $text = '['.date('m/d/Y g:i A').'] - '; + + // Success or failure being logged? + if ($success) $text .= "SUCCESS!\n"; + else $text .= 'FAIL: '.$this->last_error."\n"; + + // Log the POST variables + $text .= "IPN POST Vars from Paypal:\n"; + foreach ($this->ipn_data as $key=>$value) { + $text .= "$key=$value, "; + } + + // Log the response from the paypal server + $text .= "\nIPN Response from Paypal Server:\n ".$this->ipn_response; + + // Write to log + $fp=fopen($this->ipn_log_file,'a'); + fwrite($fp, $text . "\n\n"); + + fclose($fp); // close file + } + + function dump_fields() { + + // Used for debugging, this function will output all the field/value pairs + // that are currently defined in the instance of the class using the + // add_field() function. + + echo "

      paypal_class->dump_fields() Output:

      "; + echo " + + + + "; + + ksort($this->fields); + foreach ($this->fields as $key => $value) { + echo ""; + } + + echo "
      Field NameValue
      $key".urldecode($value)." 

      "; + } +} + + + diff --git a/src/wp-content/plugins/thecartpress/plugins/Remboursement.class.php b/src/wp-content/plugins/thecartpress/plugins/Remboursement.class.php new file mode 100644 index 0000000..66af529 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/plugins/Remboursement.class.php @@ -0,0 +1,96 @@ +. + */ + +class Remboursement extends TCP_Plugin { + + function getTitle() { + return 'Cash on delivery'; + } + + function getDescription() { + return __( 'Cash on delivery payment method.
      Author: TheCartPress team', 'tcp' ); + } + + function showEditFields( $data ) {?> + + + + + + + + + + + +
      + + + + + + + + getCost( $instance, $shippingCountry, $shoppingCart ); + $cost = tcp_number_format( $cost ); + return sprintf( __( '%s. Cost: %s', 'tcp' ), $title, tcp_format_the_price( $cost ) ); + } + + function getCost( $instance, $shippingCountry, $shoppingCart ) { + $data = tcp_get_payment_plugin_data( get_class( $this ), $instance ); + $percentage = isset( $data['percentage'] ) ? $data['percentage'] : 0; + if ( $percentage > 0 ) + return $shoppingCart->getTotal() * $percentage / 100; + else { + $fix = isset( $data['fix'] ) ? $data['fix'] : 0; + return $fix; + } + } + + function showPayForm( $instance, $shippingCountry, $shoppingCart, $order_id ) { + global $thecartpress; + $data = tcp_get_payment_plugin_data( get_class( $this ), $instance ); + $title = isset( $data['title'] ) ? $data['title'] : ''; + $cost = $this->getCost( $instance, $shippingCountry, $shoppingCart ); + $params = array( + 'tcp_checkout' => 'ok', + 'order_id' => $order_id, + );?> +

      +

      +

      + +

      diff --git a/src/wp-content/plugins/thecartpress/plugins/ShippingCost.class.php b/src/wp-content/plugins/thecartpress/plugins/ShippingCost.class.php new file mode 100644 index 0000000..009b37f --- /dev/null +++ b/src/wp-content/plugins/thecartpress/plugins/ShippingCost.class.php @@ -0,0 +1,284 @@ +. + */ + +require_once( dirname( dirname( __FILE__ ) ) . '/daos/Countries.class.php' ); + +class ShippingCost extends TCP_Plugin { + + function getTitle() { + return 'ShippingCost'; + } + + function getDescription() { + return __( 'Calculate the shipping cost using a table of weights ranges and zones.
      Author: TheCartPress team', 'tcp' ); + } + + function getCheckoutMethodLabel( $instance, $shippingCountry, $shoppingCart ) { + $data = tcp_get_shipping_plugin_data( get_class( $this ), $instance ); + $title = isset( $data['title'] ) ? $data['title'] : ''; + $cost = $this->getCost( $instance, $shippingCountry, $shoppingCart ); + return sprintf( __( '%s. Cost: %s', 'tcp' ), $title, tcp_format_the_price( $cost ) ); + } + + function showEditFields( $data ) { + $stored_data = isset( $data['costs'] ); + $ranges = isset( $data['ranges'] ) ? $data['ranges'] : array( 10, 20 ); + $zones = isset( $data['zones'] ) ? $data['zones'] : array( + '0' => array( 'ES', 'FR', 'PT' ), + '1' => array( 'CA', 'MX', 'US' ), + '2' => array( 'CN', 'KR', 'JP' ), + ); + $costs = isset( $data['costs'] ) ? $data['costs'] : array( + 10 => array( + '0' => 1.5, + '1' => 2.5, + '2' => 3, + ), + 20 => array( + '0' => 4.5, + '1' => 5.5, + '2' => 6 + ), + ); +//var_dump( $costs ); echo '

      '; +//var_dump( $zones ); + if ( isset( $_REQUEST['tcp_copy_from_instance'] ) ) { + $plugin_data = get_option( 'tcp_plugins_data_shi_' . get_class( $this ) ); + $data = reset( $plugin_data ); + $ranges = $data['ranges']; + $zones = $data['zones']; + $costs = $data['costs'];?> +

      + save before delete other rows or columns', 'tcp' );?> +

      $zone ) + $costs[$new_range][$z] = 0; + sort( $ranges );?> +

      + save before delete other rows or columns', 'tcp' );?> +

      $value ) + if ( $this->startsWith( $index, 'tcp_delete_range-' ) ) { + $names = explode( '-', $index ); + $range = $names[1]; + unset( $ranges[$range] );?> +

      + save before delete other rows or columns', 'tcp' );?> +

      startsWith( $index, 'tcp_delete_zone-' ) ) { + $names = explode( '-', $index ); + $zone = $names[1]; + unset( $zones[$zone] ); + ?>

      + save before delete other rows or columns', 'tcp' );?> +

      startsWith( $index, 'tcp_delete_def_zone-' ) ) { + $names = explode( '-', $index ); + $zone_id = $names[1]; + unset( $zones[$zone_id] ); + ?>

      + save before delete other zones', 'tcp' );?> +

      + + +

      + + + +

      + + + + + + + $isos ) : ?> + + + + + + + + + $isos ) : ?> + + + + + + + $range ) : ?> + + + $zone ) : ?> + + + + + + + + +
      + + + + + +  
       
      + : +   +   + + +   +
      + + + + +   +
      + +

      + + +

      + + + + + $isos ) : ?> + + + + + + + $isos ) : ?> + + + + + + + $isos ) : ?> + + + + + + + + + + $zone ) + foreach( $ranges as $r => $range ) + $costs[$r][] = isset( $_REQUEST['cost-' . $r][$z] ) ? (float)$_REQUEST['cost-' . $r][$z] : 0; + $new_zones = array(); + $z = 0; + foreach( $zones as $zone ) + if ( isset( $_REQUEST['zones_isos_' . $zone] ) ) + $new_zones[$z++] = $_REQUEST['zones_isos_' . $zone]; + else + $new_zones[$z++] = array(); + $data['zones'] = $new_zones; + $data['ranges'] = $ranges; + $data['costs'] = $costs; + return $data; + } + + function getCost( $instance, $shippingCountry, $shoppingCart ) { + $totalWeight = $shoppingCart->getWeight(); + $data = tcp_get_shipping_plugin_data( get_class( $this ), $instance ); + $zones = $data['zones']; + $ranges = $data['ranges']; + $costs = $data['costs']; + foreach( $ranges as $r => $range ) + if ( $range > $totalWeight ) { + $selected_range = $r;//ange; + break; + } + $selected_zone = 0; + foreach( $zones as $z => $zone) + if ( in_array( $shippingCountry, $zone ) ) { + $selected_zone = $z; + break; + } + return $costs[$selected_range][$selected_zone]; + } + + private function startsWith( $Haystack, $Needle ) { + return strpos( $Haystack, $Needle ) === 0; + } +} +?> diff --git a/src/wp-content/plugins/thecartpress/plugins/Transference.class.php b/src/wp-content/plugins/thecartpress/plugins/Transference.class.php new file mode 100644 index 0000000..7012aa7 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/plugins/Transference.class.php @@ -0,0 +1,116 @@ +. + */ + +class Transference extends TCP_Plugin { + + function getTitle() { + return 'Transference'; + } + + function getDescription() { + return 'Transference payment method.
      Author: TheCartPress team'; + } + + function showEditFields( $data ) {?> + + + + + + + + 'ok', + 'order_id' => $order_id, + );?> +

      +
      + + + + + + + + + + +
      + 1) :?> + + +
      + + +
      + + + +
      + + + +
      + + + +
      + + + + + + +
      + + + +
      + + + +
      + + + + + +
      :
      :
      :
      :
      :
      +

      + +

      diff --git a/src/wp-content/plugins/thecartpress/plugins/authorize.net/AuthorizeNet.class.php b/src/wp-content/plugins/thecartpress/plugins/authorize.net/AuthorizeNet.class.php new file mode 100644 index 0000000..35faa73 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/plugins/authorize.net/AuthorizeNet.class.php @@ -0,0 +1,163 @@ +. + */ + +class AuthorizeNet extends TCP_Plugin { + + function getTitle() { + return 'authorize.net'; + } + + function getDescription() { + return 'authorize.net payment method.
      Author: TheCartPress team'; + } + + function showEditFields( $data ) {?> + + + + + /> + + + + + + + + + + + + + + + + + + + getTotal( true ); + $amount = number_format( $paymentAmount, 2, '.', '' ); + $notify_url = plugins_url( 'thecartpress/plugins/authorize.net/notify.php' );//?orderid=' . $order_id . '&status=' . $new_status ); + require_once( dirname( dirname( dirname( __FILE__ ) ) ) .'/daos/Orders.class.php' ); + $order = Orders::get( $order_id ); + require_once dirname( __FILE__ ) . '/anet_php_sdk/AuthorizeNet.php'; // Include the SDK you downloaded in Step 2 + $fp_timestamp = time(); + $fp_sequence = $order_id . time(); // Enter an invoice or other unique number. + $fingerprint = AuthorizeNetSIM_Form::getFingerprint( $api_login_id, $transaction_key, $amount, $fp_sequence, $fp_timestamp ); + + $fields = array( + 'x_address' => $order->billing_street, + 'x_amount' => $amount, +// 'x_background_url' => '', +// 'x_card_num' => '', + 'x_city' => $order->billing_city, +// 'x_color_background' => '', +// 'x_color_link' => '', +// 'x_color_text' => '', + 'x_company' => $order->billing_company, + 'x_country' => $order->billing_country_id, +// 'x_cust_id' => '', + 'x_customer_ip' => $_SERVER['REMOTE_ADDR'], +// 'x_description' => '', + 'x_delim_data' => false, +// 'x_duplicate_window' => '', +// 'x_duty' => '', + 'x_email' => isset( $thecartpress->settings['emails'] ) ? $thecartpress->settings['emails'] : '', + 'x_email_customer' => $order->billing_email, + 'x_fax' => $order->billing_fax, + 'x_first_name' => $order->billing_firstname, +// 'x_footer_email_receipt' => '', +// 'x_footer_html_payment_form' => '', +// 'x_footer_html_receipt' => '', + 'x_fp_hash' => $fingerprint, + 'x_fp_sequence' => $fp_sequence, + 'x_fp_timestamp' => $fp_timestamp, +// 'x_freight' => '', +// 'x_header_email_receipt' => '', +// 'x_header_html_payment_form' => '', +// 'x_header_html_receipt' => '', + 'x_invoice_num' => $order_id, + 'x_last_name' => $order->billing_lastname, +// 'x_line_item' => '', + 'x_login' => $api_login_id, +// 'x_logo_url' => '', + 'x_method' => 'cc', + 'x_phone' => $order->billing_telephone_1, +// 'x_po_num' => '', + 'x_receipt_link_method' => 'LINK', + 'x_receipt_link_text' => __( 'Returns to the eCommerce', 'tcp'), + 'x_receipt_link_url' => home_url(), +// 'x_recurring_billing' => '', + 'x_relay_response' => 'true', + 'x_relay_url' => $notify_url, +// 'x_rename' => '', + 'x_ship_to_address' => $order->shipping_street, + 'x_ship_to_company' => $order->shipping_company, + 'x_ship_to_country' => $order->shipping_country_id, + 'x_ship_to_city' => $order->shipping_city, + 'x_ship_to_first_name' => $order->shipping_firstname, + 'x_ship_to_last_name' => $order->shipping_lastname, + 'x_ship_to_state' => $order->shipping_region_id, + 'x_ship_to_zip' => $order->shipping_postcode, + 'x_show_form' => 'payment_form', + 'x_state' => $order->billing_region_id, +// 'x_tax' => '', +// 'x_tax_exempt' => '', + 'x_test_request' => $test_mode, +// 'x_trans_id' => '', +// 'x_type' => '', +// 'x_version' => '', + 'x_zip' => $order->billing_postcode, + ); + $form = new AuthorizeNetSIM_Form( $fields ); + if ( $test_mode ) : ?> +
      + + + getHiddenFieldString();?> + + + + +
      diff --git a/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/AuthorizeNet.php b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/AuthorizeNet.php new file mode 100644 index 0000000..31fdaa9 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/AuthorizeNet.php @@ -0,0 +1,29 @@ + Includes all classes. Include this file in your project. + - lib/AuthorizeNetAIM.php -> AIM API. + - lib/AuthorizeNetARB.php -> ARB API. + - lib/AuthorizeNetCIM.php -> CIM API. + - lib/AuthorizeNetSIM.php -> SIM API. + - lib/AuthorizeNetTD.php -> Reporting API. + - lib/AuthorizeNetCP.php -> Card Present API. + - lib/AuthorizeNetDPM.php -> Direct Post Method Helpers. + - lib/AuthorizeNetSOAP.php -> Class to assist with using the SOAP API. + - lib/shared/AuthorizeNetRequest.php -> Class to connect to AuthorizeNet. + - lib/shared/AuthorizeNetTypes.php -> Classes for AuthorizeNet Datatypes. + - lib/shared/AuthorizeNetResponse.php -> Class to parse AuthorizeNet NVP Responses. + - lib/shared/AuthorizeNetXMLResponse.php -> Class to parse AuthorizeNet XML Responses. + - lib/ssl/cert.pem -> The AuthorizeNet Certificate bundle. + - tests/ -> Tests & examples for each of the API methods. + - README -> This file. + - README.html -> HTML version of this file. + +Requirements: + - cURL PHP Extension + - PHP 5.2+ + - An Authorize.Net Merchant Account or Test Account. You can get a + free test account at http://developer.authorize.net/testaccount/ + +Install: + - Include the 'AuthorizeNet.php' file in your application. + - Use your desired API. + +Usage Examples: + See below for basic usage examples. View the tests/ folder for more examples of each API. + +AuthorizeNetAIM.php Quick Usage Example: + amount = "5.99"; + $sale->card_num = '6011000000000012'; + $sale->exp_date = '04/15'; + $response = $sale->authorizeAndCapture(); + if ($response->approved) { + $transaction_id = $response->transaction_id; + } + ?> + +AuthorizeNetAIM.php Advanced Usage Example: + amount = "45.00"; + + // Use eCheck: + $auth->setECheck( + '121042882', + '123456789123', + 'CHECKING', + 'Bank of Earth', + 'Jane Doe', + 'WEB' + ); + + // Set multiple line items: + $auth->addLineItem('item1', 'Golf tees', 'Blue tees', '2', '5.00', 'N'); + $auth->addLineItem('item2', 'Golf shirt', 'XL', '1', '40.00', 'N'); + + // Set Invoice Number: + $auth->invoice_num = time(); + + // Set a Merchant Defined Field: + $auth->setCustomField("entrance_source", "Search Engine"); + + // Authorize Only: + $response = $auth->authorizeOnly(); + + if ($response->approved) { + $auth_code = $response->transaction_id; + + // Now capture: + $capture = new AuthorizeNetAIM; + $capture_response = $capture->priorAuthCapture($auth_code); + + // Now void: + $void = new AuthorizeNetAIM; + $void_response = $void->void($capture_response->transaction_id); + } + ?> + +AuthorizeNetARB.php Usage Example: + name = "PHP Monthly Magazine"; + $subscription->intervalLength = "1"; + $subscription->intervalUnit = "months"; + $subscription->startDate = "2011-03-12"; + $subscription->totalOccurrences = "12"; + $subscription->amount = "12.99"); + $subscription->creditCardCardNumber = "6011000000000012"; + $subscription->creditCardExpirationDate= "2018-10"; + $subscription->creditCardCardCode = "123"; + $subscription->billToFirstName = "Rasmus"; + $subscription->billToLastName = "Doe"; + + // Create the subscription. + $request = new AuthorizeNetARB; + $response = $request->createSubscription($subscription); + $subscription_id = $response->getSubscriptionId(); + ?> + +AuthorizeNetCIM.php Usage Example: + description = "Description of customer"; + $customerProfile->merchantCustomerId= time(); + $customerProfile->email = "test@domain.com"; + $response = $request->createCustomerProfile($customerProfile); + if ($response->isOk()) { + $customerProfileId = $response->getCustomerProfileId(); + } + ?> + +AuthorizeNetSIM.php Usage Example: + isAuthorizeNet()) { + $transactionId = $message->transaction_id; + } + ?> + +AuthorizeNetDPM.php Usage Example: + + +AuthorizeNetCP.php Usage Example: + amount = '59.99'; + $sale->device_type = '4'; + $sale->setTrack1Data('%B4111111111111111^CARDUSER/JOHN^1803101000000000020000831000000?'); + $response = $sale->authorizeAndCapture(); + $trans_id = $response->transaction_id; + ?> + +AuthorizeNetTD.php Usage Example: + getTransactionDetails("12345"); + echo $response->xml->transaction->transactionStatus; + ?> + +Test Credit Card Numbers: + - Set the expiration date to anytime in the future. + - American Express Test Card=> 370000000000002 + - Discover Test Card => 6011000000000012 + - Visa Test Card => 4007000000027 + - Second Visa Test Card => 4012888818888 + - JCB => 3088000000000017 + - Diners Club/ Carte Blanche=> 38000000000006 + +PHPDoc: + To autogenerate PHPDocs run: + phpdoc -t phpdocs/ -f AuthorizeNet.php -d lib + +Release Notes + Version 1.1.5 + - Added HTML version of README. + Version 1.1.4 + - Updated the cert.pem bundle to include the new secure.authorize.net SSL certificate. + Version 1.1.3 + - Added more documentation + - Improved support for all Transaction Details API methods. + - Added support for the Card Present API. + - Added easier xpath support to XML Response class. + - Added ability to use DPM sample app with production account. + Version 1.1.2 + - Added getValidationResponses method to CIM Response for parsing the validation results when validating payment profiles. + - Added support for UpdateSplitTenderGroup method to CIM request. + - Bug fix. In CIM requests using validation mode the the validation mode element should have been added to the end of the request. + - Bug fix. In AIM Response class where $response->account_number was returning the wrong value. \ No newline at end of file diff --git a/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/doc/AIM.markdown b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/doc/AIM.markdown new file mode 100644 index 0000000..2ae1541 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/doc/AIM.markdown @@ -0,0 +1,187 @@ +Advanced Integration Method +=========================== + +Basic Overview +-------------- + +The AuthorizeNetAIM class creates a request object for submitting transactions +to the AuthorizeNetAIM API. To use, create an instance of the class, set the fields +for your transaction, call the method you want to use (Authorize Only, Authorize & +Capture, etc.) and you'll receive an AuthorizeNetAIM response object providing easy access +to the results of the transaction. + +Including the SDK +----------------- + +require_once 'anet_php_sdk/AuthorizeNet.php'; + +Setting Merchant Credentials +---------------------------- +The easiest way to set credentials is to define constants which the SDK uses: +define("AUTHORIZENET_API_LOGIN_ID", "YOURLOGIN"); +define("AUTHORIZENET_TRANSACTION_KEY", "YOURKEY"); + +You can also set credentials manually per request like so: + +$sale = new AuthorizeNetAIM("YOUR_API_LOGIN_ID","YOUR_TRANSACTION_KEY"); + + +Setting the Transaction Post Location +------------------------------------- + +To post transactions to the live Authorize.Net gateway: +define("AUTHORIZENET_SANDBOX", false); + +To post transactions to the Authorize.Net test server: +define("AUTHORIZENET_SANDBOX", true); + +You can also set the location manually per request: +$sale->setSandbox(false); + + +Setting Fields +-------------- + +An Authorize.Net AIM request is simply a set of name/value pairs. The PHP SDK +allows you to set these fields in a few different ways depending on your +preference. + +Note: to make things easier on the developer, the "x_" prefix attached to each +field in the AIM API has been removed. Thus, instead of setting $sale->x_card_num, +set $sale->card_num instead. + +1.) By Setting Fields Directly: +$sale = new AuthorizeNetAIM; +$sale->amount = "1999.99"; +$sale->card_num = '6011000000000012'; +$sale->exp_date = '04/15'; +$response = $sale->authorizeAndCapture(); + +2.) By Setting Multiple Fields at Once: +$sale = new AuthorizeNetAIM; +$sale->setFields( + array( + 'amount' => rand(1, 1000), + 'card_num' => '6011000000000012', + 'exp_date' => '0415' + ) +); + +3.) By Setting Special Items + +To add line items or set custom fields use the respective functions: + +Line Items: +$sale->addLineItem( + 'item1', // Item Id + 'Golf tees', // Item Name + 'Blue tees', // Item Description + '2', // Item Quantity + '5.00', // Item Unit Price + 'N' // Item taxable + ); + +Custom Fields: +$sale->setCustomField("coupon_code", "SAVE2011"); + +4.) By Passing in Objects + +Each property will be copied from the object to the AIM request. + +$sale = new AuthorizeNetAIM; +$customer = (object)array(); +$customer->first_name = "Jane"; +$customer->last_name = "Smith"; +$customer->company = "Jane Smith Enterprises Inc."; +$customer->address = "20 Main Street"; +$customer->city = "San Francisco"; +$customer->state = "CA"; +$customer->zip = "94110"; +$customer->country = "US"; +$customer->phone = "415-555-5557"; +$customer->fax = "415-555-5556"; +$customer->email = "foo@example.com"; +$customer->cust_id = "55"; +$customer->customer_ip = "98.5.5.5"; +$sale->setFields($customer); + +Submitting Transactions +----------------------- +To submit a transaction call one of the 7 methods: + +-authorizeAndCapture() +-authorizeOnly() +-priorAuthCapture() +-void() +-captureOnly() +-credit() + +Each method has optional parameters which highlight the fields required by the +Authorize.Net API for that transaction type. + + +eCheck +------ +To submit an electronic check transaction you can set the required fields individually +or simply use the setECheck method: + +$sale = new AuthorizeNetAIM; +$sale->amount = "45.00"; +$sale->setECheck( + '121042882', // bank_aba_code + '123456789123', // bank_acct_num + 'CHECKING', // bank_acct_type + 'Bank of Earth', // bank_name + 'Jane Doe', // bank_acct_name + 'WEB' // echeck_type +); +$response = $sale->authorizeAndCapture(); + + +Partial Authorization Transactions +---------------------------------- +To enable partial authorization transactions set the partial_auth flag +to true: + +$sale->allow_partial_auth = true; + +You should receive a split tender id in the response if a partial auth +is made: + +$split_tender_id = $response->split_tender_id; + + +Itemized Order Information +-------------------------- +To add itemized order information use the addLineItem method: + +$auth->addLineItem( + 'item1', // Item Id + 'Golf tees', // Item Name + 'Blue tees', // Item Description + '2', // Item Quantity + '5.00', // Item Unit Price + 'N' // Item taxable + ); + + +Merchant Defined Fields +----------------------- +You can use the setCustomField method to set any custom merchant defined field(s): + +$sale->setCustomField("entrance_source", "Search Engine"); +$sale->setCustomField("coupon_code", "SAVE2011"); + + +Transaction Response +-------------------- +When you submit an AIM transaction you receive an AuthorizeNetAIM_Response +object in return. You can access each name/value pair in the response as +you would normally expect: + +$response = $sale->authorizeAndCapture(); +$response->response_code; +$response->response_subcode; +$response->response_reason_code; +$response->transaction_id; + diff --git a/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/doc/ARB.markdown b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/doc/ARB.markdown new file mode 100644 index 0000000..1d4bb92 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/doc/ARB.markdown @@ -0,0 +1,52 @@ +ARB API +======= + +Basic Overview +-------------- + +The AuthorizeNetARB class creates a request object for submitting transactions +to the AuthorizeNetARB API. + + +Creating/Updating Subscriptions +------------------------------- + +To create or update a subscription first create a subscription object: + +$subscription = new AuthorizeNet_Subscription; +$subscription->name = "Short subscription"; +$subscription->intervalLength = "1"; +$subscription->intervalUnit = "months"; +$subscription->startDate = "2011-03-12"; +$subscription->totalOccurrences = "14"; +$subscription->amount = rand(1,100); +$subscription->creditCardCardNumber = "6011000000000012"; +$subscription->creditCardExpirationDate = "2018-10"; +$subscription->creditCardCardCode = "123"; +$subscription->billToFirstName = "john"; +$subscription->billToLastName = "doe"; + +Then create an AuthorizeNetARB object and call the appropriate method +passing in your subscription object: + +$request = new AuthorizeNetARB; +$response = $request->createSubscription($subscription); + + or for updating a subscription: + +$response = $request->updateSubscription($subscription_id, $subscription); + +Getting Subscription Status +--------------------------- + +Create a new AuthorizeNetARB object and call the getSubscriptionStatus +method with the subscription_id you want the status of as the parameter: + +$status_request = new AuthorizeNetARB; +$status_response = $status_request->getSubscriptionStatus($subscription_id); + +Canceling a Subscription +------------------------ + +$cancellation = new AuthorizeNetARB; +$cancel_response = $cancellation->cancelSubscription($subscription_id); diff --git a/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/doc/CIM.markdown b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/doc/CIM.markdown new file mode 100644 index 0000000..bbe8a3b --- /dev/null +++ b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/doc/CIM.markdown @@ -0,0 +1,249 @@ +CIM API +======= + +Basic Overview +-------------- + +The AuthorizeNetCIM class creates a request object for submitting transactions +to the Authorize.Net CIM API. + + +Creating a Customer Profile +--------------------------- + +To create a new cusomter profile, first create a new AuthorizeNetCustomer +object. + +$customerProfile = new AuthorizeNetCustomer; +$customerProfile->description = "Description of customer"; +$customerProfile->merchantCustomerId = 123; +$customerProfile->email = "user@domain.com"; + +You can then create an add payment profiles and addresses to this +customer object. + +// Add payment profile. +$paymentProfile = new AuthorizeNetPaymentProfile; +$paymentProfile->customerType = "individual"; +$paymentProfile->payment->creditCard->cardNumber = "4111111111111111"; +$paymentProfile->payment->creditCard->expirationDate = "2015-10"; +$customerProfile->paymentProfiles[] = $paymentProfile; + +// Add another payment profile. +$paymentProfile2 = new AuthorizeNetPaymentProfile; +$paymentProfile2->customerType = "business"; +$paymentProfile2->payment->bankAccount->accountType = "businessChecking"; +$paymentProfile2->payment->bankAccount->routingNumber = "121042882"; +$paymentProfile2->payment->bankAccount->accountNumber = "123456789123"; +$paymentProfile2->payment->bankAccount->nameOnAccount = "Jane Doe"; +$paymentProfile2->payment->bankAccount->echeckType = "WEB"; +$paymentProfile2->payment->bankAccount->bankName = "Pandora Bank"; +$customerProfile->paymentProfiles[] = $paymentProfile2; + + +// Add shipping address. +$address = new AuthorizeNetAddress; +$address->firstName = "john"; +$address->lastName = "Doe"; +$address->company = "John Doe Company"; +$address->address = "1 Main Street"; +$address->city = "Boston"; +$address->state = "MA"; +$address->zip = "02412"; +$address->country = "USA"; +$address->phoneNumber = "555-555-5555"; +$address->faxNumber = "555-555-5556"; +$customerProfile->shipToList[] = $address; + +// Add another shipping address. +$address2 = new AuthorizeNetAddress; +$address2->firstName = "jane"; +$address2->lastName = "Doe"; +$address2->address = "11 Main Street"; +$address2->city = "Boston"; +$address2->state = "MA"; +$address2->zip = "02412"; +$address2->country = "USA"; +$address2->phoneNumber = "555-512-5555"; +$address2->faxNumber = "555-523-5556"; +$customerProfile->shipToList[] = $address2; + + +Next, create an AuthorizeNetCIM object: + +$request = new AuthorizeNetCIM; + +Finally, call the createCustomerProfile method and pass in your +customer object: + +$response = $request->createCustomerProfile($customerProfile); + +The response object provides some helper methods for easy access to the +results of the transaction: + +$new_customer_id = $response->getCustomerProfileId(); + +The response object also stores the XML response as a SimpleXml element +which you can access like so: + +$new_customer_id = $response->xml->customerProfileId + +You can also run xpath queries against the result: + +$array = $response->xpath('customerProfileId'); +$new_customer_id = $array[0]; + + +Deleting a Customer Profile +--------------------------- + +To delete a customer profile first create a new AuthorizeNetCIM object: + +$request = new AuthorizeNetCIM; + +Then call the deleteCustomerProfile method: + +request->deleteCustomerProfile($customer_id); + + +Retrieving a Customer Profile +----------------------------- + +To retrieve a customer profile call the getCustomerProfile method: + +$response = $request->getCustomerProfile($customerProfileId); + + +Validation Mode +--------------- + +Validation mode allows you to generate a test transaction at the time you create a customer profile. In Test Mode, only field validation is performed. In Live Mode, a transaction is generated and submitted to the processor with the amount of $0.00 or $0.01. If successful, the transaction is immediately voided. + +To create a customer profile with Validation mode, simply pass in the +a value for the validation mode parameter on the createCustomerProfile method: + +$response = $request->createCustomerProfile($customerProfile, "testMode"); + +You can access the validation response for each payment profile via xpath, +the SimpleXML element or the getValidationResponses method: + +$validationResponses = $response->getValidationResponses(); + foreach ($validationResponses as $vr) { + echo $vr->approved; +} + + +Updating a Customer Profile +--------------------------- + +Call the updateCustomerProfile method with the customerProfileId and customerProfile +parameters: + +$response = $request->updateCustomerProfile($customerProfileId, $customerProfile); + + +Adding a Payment Profile +------------------------ + + +$paymentProfile = new AuthorizeNetPaymentProfile; +$paymentProfile->customerType = "individual"; +$paymentProfile->payment->creditCard->cardNumber = "4111111111111111"; +$paymentProfile->payment->creditCard->expirationDate = "2015-10"; +$response = $request->createCustomerPaymentProfile($customerProfileId, $paymentProfile); + + +Updating a Payment Profile +-------------------------- + +$paymentProfile->payment->creditCard->cardNumber = "4111111111111111"; +$paymentProfile->payment->creditCard->expirationDate = "2017-11"; +$response = $request->updateCustomerPaymentProfile($customerProfileId,$paymentProfileId, $paymentProfile); + +Adding a Shipping Address +------------------------- + + + +$address = new AuthorizeNetAddress; +$address->firstName = "john"; +$address->lastName = "Doe"; +$address->company = "John Doe Company"; +$address->address = "1 Main Street"; +$address->city = "Boston"; +$address->state = "MA"; +$address->zip = "02412"; +$address->country = "USA"; +$address->phoneNumber = "555-555-5555"; +$address->faxNumber = "555-555-5556"; +$response = $request->createCustomerShippingAddress($customerProfileId, $address); +$customerAddressId = $response->getCustomerAddressId(); + +Updating a Shipping Address +--------------------------- + +// Update shipping address. +$address->address = "2 First Street"; +$response = $request->updateCustomerShippingAddress($customerProfileId, $customerAddressId, $address); + + +Creating Transactions +--------------------- + +// Create Auth & Capture Transaction +$transaction = new AuthorizeNetTransaction; +$transaction->amount = "9.79"; +$transaction->customerProfileId = $customerProfileId; +$transaction->customerPaymentProfileId = $paymentProfileId; +$transaction->customerShippingAddressId = $customerAddressId; + +$lineItem = new AuthorizeNetLineItem; +$lineItem->itemId = "4"; +$lineItem->name = "Cookies"; +$lineItem->description = "Chocolate Chip"; +$lineItem->quantity = "4"; +$lineItem->unitPrice = "1.00"; +$lineItem->taxable = "true"; + +$lineItem2 = new AuthorizeNetLineItem; +$lineItem2->itemId = "4"; +$lineItem2->name = "Cookies"; +$lineItem2->description= "Peanut Butter"; +$lineItem2->quantity = "4"; +$lineItem2->unitPrice = "1.00"; +$lineItem2->taxable = "true"; + +$transaction->lineItems[] = $lineItem; +$transaction->lineItems[] = $lineItem2; + + +$response = $request->createCustomerProfileTransaction("AuthCapture", $transaction); +$transactionResponse = $response->getTransactionResponse(); +$transactionId = $transactionResponse->transaction_id; + + +Voiding a Transaction +--------------------- + +$transaction = new AuthorizeNetTransaction; +$transaction->transId = $transactionId; +$response = $request->createCustomerProfileTransaction("Void", $transaction); + + +Deleting a Shipping Address +--------------------------- + +$response = $request->deleteCustomerShippingAddress($customerProfileId, $customerAddressId); + + +Deleting a Payment Profile +-------------------------- + +$response = $request->deleteCustomerPaymentProfile($customerProfileId, $paymentProfileId); + + + +Getting Customer Profile IDs +---------------------------- + +$response = $request->getCustomerProfileIds(); \ No newline at end of file diff --git a/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/doc/CP.markdown b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/doc/CP.markdown new file mode 100644 index 0000000..96ea161 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/doc/CP.markdown @@ -0,0 +1,43 @@ +Card Present API +================ + +Basic Overview +-------------- + +The AuthorizeNetCP class creates a request object for submitting transactions +to the AuthorizeNetCP API. The AuthorizeNetCP class extends the AuthorizeNetAIM +class. See the AIM.markdown for help with the basics. This document contains +information regarding the special features of the AuthorizeNetCP class. + + +Merchant Credentials +-------------------- + +Please note that if you are using both the CNP and CP APIs your merchant +credentials will be different. + +Setting Track Data +------------------ + +To set Track 1 and/or Track 2 data, use the respective methods like so: + +$sale = new AuthorizeNetCP(CP_API_LOGIN_ID, CP_TRANSACTION_KEY); +$sale->setFields( + array( + 'amount' => rand(1, 1000), + 'device_type' => '4', + ) +); +$sale->setTrack1Data('%B4111111111111111^CARDUSER/JOHN^1803101000000000020000831000000?'); +$response = $sale->authorizeAndCapture(); + +$sale = new AuthorizeNetCP(CP_API_LOGIN_ID, CP_TRANSACTION_KEY); +$sale->setFields( + array( + 'amount' => rand(1, 1000), + 'device_type' => '4', + ) +); +$sale->setTrack2Data('4111111111111111=1803101000020000831?'); +$response = $sale->authorizeAndCapture(); + diff --git a/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/doc/DPM.markdown b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/doc/DPM.markdown new file mode 100644 index 0000000..115cc9d --- /dev/null +++ b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/doc/DPM.markdown @@ -0,0 +1,24 @@ +Direct Post Method +================== + +Basic Overview +-------------- + +The Authorize.Net PHP SDK includes a class that demonstrates one way +of implementing the Direct Post Method. + +While it is not necessary to use the AuthorizeNetDPM class to implement +DPM, it may serve as a handy reference. + +The AuthorizeNetDPM class extends the AuthorizeNetSIM_Form class. +See the SIM.markdown for additional documentation. + +Relay Response Snippet +---------------------- + +The AuthorizeNetDPM class contains a getRelayResponseSnippet($redirect_url) +which generates a snippet of HTML that will redirect a user back to your +site after submitting a checkout form using DPM/SIM. + +Use this method(or just grab the html) if you want to create a checkout +experience where the user only interacts with pages on your site. \ No newline at end of file diff --git a/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/doc/SIM.markdown b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/doc/SIM.markdown new file mode 100644 index 0000000..ee38e59 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/doc/SIM.markdown @@ -0,0 +1,74 @@ +Server Integration Method +========================= + +Basic Overview +-------------- + +The Authorize.Net PHP SDK includes classes that can speed up implementing +a Server Integration Method solution. + + +Hosted Order/Receipt Page +------------------------- + +The AuthorizeNetSIM_Form class aims to make it easier to setup the hidden +fields necessary for creating a SIM experience. While it is not necessary +to use the AuthorizeNetSIM_Form class to implement SIM, it may be handy for +reference. + +The code below will generate a buy now button that leads to a hosted order page: + +
      + $amount, + 'x_fp_sequence' => $fp_sequence, + 'x_fp_hash' => $fingerprint, + 'x_fp_timestamp' => $time, + 'x_relay_response'=> "FALSE", + 'x_login' => $api_login_id, + ) +); +echo $sim->getHiddenFieldString();?> + +
      + +Fingerprint Generation +---------------------- + +To generate the fingerprint needed for a SIM transaction call the getFingerprint method: + +$fingerprint = AuthorizeNetSIM_Form::getFingerprint($api_login_id, $transaction_key, $amount, $fp_sequence, $fp_timestamp); + + +Relay Response +-------------- + +The PHP SDK includes a AuthorizeNetSIM class for handling a relay response from +Authorize.Net. + +To receive a relay response from Authorize.Net you can either configure the +url in the Merchant Interface or specify the url when submitting a transaction +with SIM using the "x_relay_url" field. + +When a transaction occurs, Authorize.Net will post the transaction details to +this url. You can then craete a page on your server at a url such as +http://yourdomain.com/response_handler.php and execute any logic you want +when a transaction occurs. The AuthorizeNetSIM class makes it easy to verify +the transaction came from Authorize.Net and parse the response: + +$response = new AuthorizeNetSIM; +if ($response->isAuthorizeNet()) +{ + if ($response->approved) + { + // Activate magazine subscription + magazine_subscription_activate($response->cust_id); + } +} diff --git a/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/doc/SOAP.markdown b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/doc/SOAP.markdown new file mode 100644 index 0000000..a535f00 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/doc/SOAP.markdown @@ -0,0 +1,10 @@ +SOAP +==== + +Basic Overview +-------------- + +The AuthorizeNetSOAP class provides a very basic wrapper to PHP's bundled +SoapClient class. The AuthorizeNetSOAP class merely contains the WSDL, +Sandbox, and Live Production server urls to make it easier to connect +to the Authorize.Net SOAP API. \ No newline at end of file diff --git a/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/doc/TD.markdown b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/doc/TD.markdown new file mode 100644 index 0000000..c9a1bfb --- /dev/null +++ b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/doc/TD.markdown @@ -0,0 +1,55 @@ +Transaction Details API +======================= + +Basic Overview +-------------- + +The AuthorizeNetTD class creates a request object for submitting requests +to the Authorize.Net Transaction Details API. + +The AuthorizeNetTD class returns a response that uses PHP's bundled SimpleXML +class for accessing it's members. + +The AuthorizeNetTD response provides two ways to access response elements: + +1.) A SimpleXml object: + +$response->xml->transaction->payment->creditCard->cardType + +2.) Xpath: + +$batches = $response->xpath("batchList/batch"); + +3.) AuthorizeNet Objects (todo) + + + +Get Transaction Details +----------------------- + +$request = new AuthorizeNetTD; +$response = $request->getTransactionDetails($transId); +echo "Amount: {$response->xml->transaction->authAmount}"; + +Get Settled Batch List +---------------------- +$request = new AuthorizeNetTD; +$response = $request->getSettledBatchList(); +$batches = $response->xpath("batchList/batch"); +echo "Batch 1: {$batches[0]->batchId}"; + +Get Transaction List +-------------------- +$request = new AuthorizeNetTD; +$response = $request->getTransactionList($batch_id); +$transactions = $response->xpath("transactions/transaction") + +There are two additional helper methods in the PHP SDK which +will make multiple calls to retrieve a day's worth of +transactions or a month's worth of batches: + +getTransactionsForDay($month, $day, $year = false) +getSettledBatchListForMonth($month , $year) + +If you don't pass parameters into these methods they will default +to the current day/month. diff --git a/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/lib/AuthorizeNetAIM.php b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/lib/AuthorizeNetAIM.php new file mode 100644 index 0000000..cb51945 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/lib/AuthorizeNetAIM.php @@ -0,0 +1,500 @@ + + * setFields( + * array( + * 'amount' => '4.99', + * 'card_num' => '411111111111111', + * 'exp_date' => '0515' + * ) + * ); + * $response = $sale->authorizeAndCapture(); + * if ($response->approved) { + * echo "Sale successful!"; } else { + * echo $response->error_message; + * } + * ?> + *
      + * + * Note: To send requests to the live gateway, either define this: + * define("AUTHORIZENET_SANDBOX", false); + * -- OR -- + * $sale = new AuthorizeNetAIM; + * $sale->setSandbox(false); + * + * @package AuthorizeNet + * @subpackage AuthorizeNetAIM + * @link http://www.authorize.net/support/AIM_guide.pdf AIM Guide + */ + + +/** + * Builds and sends an AuthorizeNet AIM Request. + * + * @package AuthorizeNet + * @subpackage AuthorizeNetAIM + */ +class AuthorizeNetAIM extends AuthorizeNetRequest +{ + + const LIVE_URL = 'https://secure.authorize.net/gateway/transact.dll'; + const SANDBOX_URL = 'https://test.authorize.net/gateway/transact.dll'; + + /** + * Holds all the x_* name/values that will be posted in the request. + * Default values are provided for best practice fields. + */ + protected $_x_post_fields = array( + "version" => "3.1", + "delim_char" => ",", + "delim_data" => "TRUE", + "relay_response" => "FALSE", + "encap_char" => "|", + ); + + /** + * Only used if merchant wants to send multiple line items about the charge. + */ + private $_additional_line_items = array(); + + /** + * Only used if merchant wants to send custom fields. + */ + private $_custom_fields = array(); + + /** + * Checks to make sure a field is actually in the API before setting. + * Set to false to skip this check. + */ + public $verify_x_fields = true; + + /** + * A list of all fields in the AIM API. + * Used to warn user if they try to set a field not offered in the API. + */ + private $_all_aim_fields = array("address","allow_partial_auth","amount", + "auth_code","authentication_indicator", "bank_aba_code","bank_acct_name", + "bank_acct_num","bank_acct_type","bank_check_number","bank_name", + "card_code","card_num","cardholder_authentication_value","city","company", + "country","cust_id","customer_ip","delim_char","delim_data","description", + "duplicate_window","duty","echeck_type","email","email_customer", + "encap_char","exp_date","fax","first_name","footer_email_receipt", + "freight","header_email_receipt","invoice_num","last_name","line_item", + "login","method","phone","po_num","recurring_billing","relay_response", + "ship_to_address","ship_to_city","ship_to_company","ship_to_country", + "ship_to_first_name","ship_to_last_name","ship_to_state","ship_to_zip", + "split_tender_id","state","tax","tax_exempt","test_request","tran_key", + "trans_id","type","version","zip" + ); + + /** + * Do an AUTH_CAPTURE transaction. + * + * Required "x_" fields: card_num, exp_date, amount + * + * @param string $amount The dollar amount to charge + * @param string $card_num The credit card number + * @param string $exp_date CC expiration date + * + * @return AuthorizeNetAIM_Response + */ + public function authorizeAndCapture($amount = false, $card_num = false, $exp_date = false) + { + ($amount ? $this->amount = $amount : null); + ($card_num ? $this->card_num = $card_num : null); + ($exp_date ? $this->exp_date = $exp_date : null); + $this->type = "AUTH_CAPTURE"; + return $this->_sendRequest(); + } + + /** + * Do a PRIOR_AUTH_CAPTURE transaction. + * + * Required "x_" field: trans_id(The transaction id of the prior auth, unless split + * tender, then set x_split_tender_id manually.) + * amount (only if lesser than original auth) + * + * @param string $trans_id Transaction id to charge + * @param string $amount Dollar amount to charge if lesser than auth + * + * @return AuthorizeNetAIM_Response + */ + public function priorAuthCapture($trans_id = false, $amount = false) + { + ($trans_id ? $this->trans_id = $trans_id : null); + ($amount ? $this->amount = $amount : null); + $this->type = "PRIOR_AUTH_CAPTURE"; + return $this->_sendRequest(); + } + + /** + * Do an AUTH_ONLY transaction. + * + * Required "x_" fields: card_num, exp_date, amount + * + * @param string $amount The dollar amount to charge + * @param string $card_num The credit card number + * @param string $exp_date CC expiration date + * + * @return AuthorizeNetAIM_Response + */ + public function authorizeOnly($amount = false, $card_num = false, $exp_date = false) + { + ($amount ? $this->amount = $amount : null); + ($card_num ? $this->card_num = $card_num : null); + ($exp_date ? $this->exp_date = $exp_date : null); + $this->type = "AUTH_ONLY"; + return $this->_sendRequest(); + } + + /** + * Do a VOID transaction. + * + * Required "x_" field: trans_id(The transaction id of the prior auth, unless split + * tender, then set x_split_tender_id manually.) + * + * @param string $trans_id Transaction id to void + * + * @return AuthorizeNetAIM_Response + */ + public function void($trans_id = false) + { + ($trans_id ? $this->trans_id = $trans_id : null); + $this->type = "VOID"; + return $this->_sendRequest(); + } + + /** + * Do a CAPTURE_ONLY transaction. + * + * Required "x_" fields: auth_code, amount, card_num , exp_date + * + * @param string $auth_code The auth code + * @param string $amount The dollar amount to charge + * @param string $card_num The last 4 of credit card number + * @param string $exp_date CC expiration date + * + * @return AuthorizeNetAIM_Response + */ + public function captureOnly($auth_code = false, $amount = false, $card_num = false, $exp_date = false) + { + ($auth_code ? $this->auth_code = $auth_code : null); + ($amount ? $this->amount = $amount : null); + ($card_num ? $this->card_num = $card_num : null); + ($exp_date ? $this->exp_date = $exp_date : null); + $this->type = "CAPTURE_ONLY"; + return $this->_sendRequest(); + } + + /** + * Do a CREDIT transaction. + * + * Required "x_" fields: trans_id, amount, card_num (just the last 4) + * + * @param string $trans_id Transaction id to credit + * @param string $amount The dollar amount to credit + * @param string $card_num The last 4 of credit card number + * + * @return AuthorizeNetAIM_Response + */ + public function credit($trans_id = false, $amount = false, $card_num = false) + { + ($trans_id ? $this->trans_id = $trans_id : null); + ($amount ? $this->amount = $amount : null); + ($card_num ? $this->card_num = $card_num : null); + $this->type = "CREDIT"; + return $this->_sendRequest(); + } + + /** + * Alternative syntax for setting x_ fields. + * + * Usage: $sale->method = "echeck"; + * + * @param string $name + * @param string $value + */ + public function __set($name, $value) + { + $this->setField($name, $value); + } + + /** + * Quickly set multiple fields. + * + * Note: The prefix x_ will be added to all fields. If you want to set a + * custom field without the x_ prefix, use setCustomField or setCustomFields. + * + * @param array $fields Takes an array or object. + */ + public function setFields($fields) + { + $array = (array)$fields; + foreach ($array as $key => $value) { + $this->setField($key, $value); + } + } + + /** + * Quickly set multiple custom fields. + * + * @param array $fields + */ + public function setCustomFields($fields) + { + $array = (array)$fields; + foreach ($array as $key => $value) { + $this->setCustomField($key, $value); + } + } + + /** + * Add a line item. + * + * @param string $item_id + * @param string $item_name + * @param string $item_description + * @param string $item_quantity + * @param string $item_unit_price + * @param string $item_taxable + */ + public function addLineItem($item_id, $item_name, $item_description, $item_quantity, $item_unit_price, $item_taxable) + { + $line_item = ""; + $delimiter = ""; + foreach (func_get_args() as $key => $value) { + $line_item .= $delimiter . $value; + $delimiter = "<|>"; + } + $this->_additional_line_items[] = $line_item; + } + + /** + * Use ECHECK as payment type. + */ + public function setECheck($bank_aba_code, $bank_acct_num, $bank_acct_type, $bank_name, $bank_acct_name, $echeck_type = 'WEB') + { + $this->setFields( + array( + 'method' => 'echeck', + 'bank_aba_code' => $bank_aba_code, + 'bank_acct_num' => $bank_acct_num, + 'bank_acct_type' => $bank_acct_type, + 'bank_name' => $bank_name, + 'bank_acct_name' => $bank_acct_type, + 'echeck_type' => $echeck_type, + ) + ); + } + + /** + * Set an individual name/value pair. This will append x_ to the name + * before posting. + * + * @param string $name + * @param string $value + */ + public function setField($name, $value) + { + if ($this->verify_x_fields) { + if (in_array($name, $this->_all_aim_fields)) { + $this->_x_post_fields[$name] = $value; + } else { + throw new AuthorizeNetException("Error: no field $name exists in the AIM API. + To set a custom field use setCustomField('field','value') instead."); + } + } else { + $this->_x_post_fields[$name] = $value; + } + } + + /** + * Set a custom field. Note: the x_ prefix will not be added to + * your custom field if you use this method. + * + * @param string $name + * @param string $value + */ + public function setCustomField($name, $value) + { + $this->_custom_fields[$name] = $value; + } + + /** + * Unset an x_ field. + * + * @param string $name Field to unset. + */ + public function unsetField($name) + { + unset($this->_x_post_fields[$name]); + } + + /** + * + * + * @param string $response + * + * @return AuthorizeNetAIM_Response + */ + protected function _handleResponse($response) + { + return new AuthorizeNetAIM_Response($response, $this->_x_post_fields['delim_char'], $this->_x_post_fields['encap_char'], $this->_custom_fields); + } + + /** + * @return string + */ + protected function _getPostUrl() + { + return ($this->_sandbox ? self::SANDBOX_URL : self::LIVE_URL); + } + + /** + * Converts the x_post_fields array into a string suitable for posting. + */ + protected function _setPostString() + { + $this->_x_post_fields['login'] = $this->_api_login; + $this->_x_post_fields['tran_key'] = $this->_transaction_key; + $this->_post_string = ""; + foreach ($this->_x_post_fields as $key => $value) { + $this->_post_string .= "x_$key=" . urlencode($value) . "&"; + } + // Add line items + foreach ($this->_additional_line_items as $key => $value) { + $this->_post_string .= "x_line_item=" . urlencode($value) . "&"; + } + // Add custom fields + foreach ($this->_custom_fields as $key => $value) { + $this->_post_string .= "$key=" . urlencode($value) . "&"; + } + $this->_post_string = rtrim($this->_post_string, "& "); + } +} + +/** + * Parses an AuthorizeNet AIM Response. + * + * @package AuthorizeNet + * @subpackage AuthorizeNetAIM + */ +class AuthorizeNetAIM_Response extends AuthorizeNetResponse +{ + private $_response_array = array(); // An array with the split response. + + /** + * Constructor. Parses the AuthorizeNet response string. + * + * @param string $response The response from the AuthNet server. + * @param string $delimiter The delimiter used (default is ",") + * @param string $encap_char The encap_char used (default is "|") + * @param array $custom_fields Any custom fields set in the request. + */ + public function __construct($response, $delimiter, $encap_char, $custom_fields) + { + if ($response) { + + // Split Array + $this->response = $response; + if ($encap_char) { + $this->_response_array = explode($encap_char.$delimiter.$encap_char, substr($response, 1, -1)); + } else { + $this->_response_array = explode($delimiter, $response); + } + + /** + * If AuthorizeNet doesn't return a delimited response. + */ + if (count($this->_response_array) < 10) { + $this->approved = false; + $this->error = true; + $this->error_message = "Unrecognized response from AuthorizeNet: $response"; + return; + } + + + + // Set all fields + $this->response_code = $this->_response_array[0]; + $this->response_subcode = $this->_response_array[1]; + $this->response_reason_code = $this->_response_array[2]; + $this->response_reason_text = $this->_response_array[3]; + $this->authorization_code = $this->_response_array[4]; + $this->avs_response = $this->_response_array[5]; + $this->transaction_id = $this->_response_array[6]; + $this->invoice_number = $this->_response_array[7]; + $this->description = $this->_response_array[8]; + $this->amount = $this->_response_array[9]; + $this->method = $this->_response_array[10]; + $this->transaction_type = $this->_response_array[11]; + $this->customer_id = $this->_response_array[12]; + $this->first_name = $this->_response_array[13]; + $this->last_name = $this->_response_array[14]; + $this->company = $this->_response_array[15]; + $this->address = $this->_response_array[16]; + $this->city = $this->_response_array[17]; + $this->state = $this->_response_array[18]; + $this->zip_code = $this->_response_array[19]; + $this->country = $this->_response_array[20]; + $this->phone = $this->_response_array[21]; + $this->fax = $this->_response_array[22]; + $this->email_address = $this->_response_array[23]; + $this->ship_to_first_name = $this->_response_array[24]; + $this->ship_to_last_name = $this->_response_array[25]; + $this->ship_to_company = $this->_response_array[26]; + $this->ship_to_address = $this->_response_array[27]; + $this->ship_to_city = $this->_response_array[28]; + $this->ship_to_state = $this->_response_array[29]; + $this->ship_to_zip_code = $this->_response_array[30]; + $this->ship_to_country = $this->_response_array[31]; + $this->tax = $this->_response_array[32]; + $this->duty = $this->_response_array[33]; + $this->freight = $this->_response_array[34]; + $this->tax_exempt = $this->_response_array[35]; + $this->purchase_order_number= $this->_response_array[36]; + $this->md5_hash = $this->_response_array[37]; + $this->card_code_response = $this->_response_array[38]; + $this->cavv_response = $this->_response_array[39]; + $this->account_number = $this->_response_array[50]; + $this->card_type = $this->_response_array[51]; + $this->split_tender_id = $this->_response_array[52]; + $this->requested_amount = $this->_response_array[53]; + $this->balance_on_card = $this->_response_array[54]; + + $this->approved = ($this->response_code == self::APPROVED); + $this->declined = ($this->response_code == self::DECLINED); + $this->error = ($this->response_code == self::ERROR); + $this->held = ($this->response_code == self::HELD); + + // Set custom fields + if ($count = count($custom_fields)) { + $custom_fields_response = array_slice($this->_response_array, -$count, $count); + $i = 0; + foreach ($custom_fields as $key => $value) { + $this->$key = $custom_fields_response[$i]; + $i++; + } + } + + if ($this->error) { + $this->error_message = "AuthorizeNet Error: + Response Code: ".$this->response_code." + Response Subcode: ".$this->response_subcode." + Response Reason Code: ".$this->response_reason_code." + Response Reason Text: ".$this->response_reason_text." + "; + } + } else { + $this->approved = false; + $this->error = true; + $this->error_message = "Error connecting to AuthorizeNet"; + } + } + +} diff --git a/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/lib/AuthorizeNetARB.php b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/lib/AuthorizeNetARB.php new file mode 100644 index 0000000..8df101a --- /dev/null +++ b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/lib/AuthorizeNetARB.php @@ -0,0 +1,159 @@ +_request_payload = ($refId ? "$refId" : ""); + } + + /** + * Create an ARB subscription + * + * @param AuthorizeNet_Subscription $subscription + * + * @return AuthorizeNetARB_Response + */ + public function createSubscription(AuthorizeNet_Subscription $subscription) + { + $this->_request_type = "CreateSubscriptionRequest"; + $this->_request_payload .= $subscription->getXml(); + return $this->_sendRequest(); + } + + /** + * Update an ARB subscription + * + * @param int $subscriptionId + * @param AuthorizeNet_Subscription $subscription + * + * @return AuthorizeNetARB_Response + */ + public function updateSubscription($subscriptionId, AuthorizeNet_Subscription $subscription) + { + $this->_request_type = "UpdateSubscriptionRequest"; + $this->_request_payload .= "$subscriptionId"; + $this->_request_payload .= $subscription->getXml(); + return $this->_sendRequest(); + } + + /** + * Get status of a subscription + * + * @param int $subscriptionId + * + * @return AuthorizeNetARB_Response + */ + public function getSubscriptionStatus($subscriptionId) + { + $this->_request_type = "GetSubscriptionStatusRequest"; + $this->_request_payload .= "$subscriptionId"; + return $this->_sendRequest(); + } + + /** + * Cancel a subscription + * + * @param int $subscriptionId + * + * @return AuthorizeNetARB_Response + */ + public function cancelSubscription($subscriptionId) + { + $this->_request_type = "CancelSubscriptionRequest"; + $this->_request_payload .= "$subscriptionId"; + return $this->_sendRequest(); + } + + /** + * + * + * @param string $response + * + * @return AuthorizeNetARB_Response + */ + protected function _handleResponse($response) + { + return new AuthorizeNetARB_Response($response); + } + + /** + * @return string + */ + protected function _getPostUrl() + { + return ($this->_sandbox ? self::SANDBOX_URL : self::LIVE_URL); + } + + /** + * Prepare the XML document for posting. + */ + protected function _setPostString() + { + $this->_post_string =<< +_request_type} xmlns= "AnetApi/xml/v1/schema/AnetApiSchema.xsd"> + + {$this->_api_login} + {$this->_transaction_key} + + {$this->_request_payload} +_request_type}> +XML; + } + +} + + +/** + * A class to parse a response from the ARB XML API. + * + * @package AuthorizeNet + * @subpackage AuthorizeNetARB + */ +class AuthorizeNetARB_Response extends AuthorizeNetXMLResponse +{ + + /** + * @return int + */ + public function getSubscriptionId() + { + return $this->_getElementContents("subscriptionId"); + } + + /** + * @return string + */ + public function getSubscriptionStatus() + { + return $this->_getElementContents("Status"); + } + +} \ No newline at end of file diff --git a/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/lib/AuthorizeNetCIM.php b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/lib/AuthorizeNetCIM.php new file mode 100644 index 0000000..9d16dfa --- /dev/null +++ b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/lib/AuthorizeNetCIM.php @@ -0,0 +1,509 @@ +_refId = $refId; + } + + /** + * Create a customer profile. + * + * @param AuthorizeNetCustomer $customerProfile + * @param string $validationMode + * + * @return AuthorizeNetCIM_Response + */ + public function createCustomerProfile($customerProfile, $validationMode = "none") + { + $this->_validationMode = $validationMode; + $this->_constructXml("createCustomerProfileRequest"); + $profile = $this->_xml->addChild("profile"); + $this->_addObject($profile, $customerProfile); + return $this->_sendRequest(); + } + + /** + * Create a customer payment profile. + * + * @param int $customerProfileId + * @param AuthorizeNetPaymentProfile $paymentProfile + * @param string $validationMode + * + * @return AuthorizeNetCIM_Response + */ + public function createCustomerPaymentProfile($customerProfileId, $paymentProfile, $validationMode = "none") + { + $this->_validationMode = $validationMode; + $this->_constructXml("createCustomerPaymentProfileRequest"); + $this->_xml->addChild("customerProfileId", $customerProfileId); + $profile = $this->_xml->addChild("paymentProfile"); + $this->_addObject($profile, $paymentProfile); + return $this->_sendRequest(); + } + + /** + * Create a shipping address. + * + * @param int $customerProfileId + * @param AuthorizeNetAddress $shippingAddress + * + * @return AuthorizeNetCIM_Response + */ + public function createCustomerShippingAddress($customerProfileId, $shippingAddress) + { + $this->_constructXml("createCustomerShippingAddressRequest"); + $this->_xml->addChild("customerProfileId", $customerProfileId); + $address = $this->_xml->addChild("address"); + $this->_addObject($address, $shippingAddress); + return $this->_sendRequest(); + } + + /** + * Create a transaction. + * + * @param string $transactionType + * @param AuthorizeNetTransaction $transaction + * @param string $extraOptionsString + * + * @return AuthorizeNetCIM_Response + */ + public function createCustomerProfileTransaction($transactionType, $transaction, $extraOptionsString = "") + { + $this->_constructXml("createCustomerProfileTransactionRequest"); + $transactionParent = $this->_xml->addChild("transaction"); + $transactionChild = $transactionParent->addChild("profileTrans" . $transactionType); + $this->_addObject($transactionChild, $transaction); + $this->_extraOptions = $extraOptionsString; + return $this->_sendRequest(); + } + + /** + * Delete a customer profile. + * + * @param int $customerProfileId + * + * @return AuthorizeNetCIM_Response + */ + public function deleteCustomerProfile($customerProfileId) + { + $this->_constructXml("deleteCustomerProfileRequest"); + $this->_xml->addChild("customerProfileId", $customerProfileId); + return $this->_sendRequest(); + } + + /** + * Delete a payment profile. + * + * @param int $customerProfileId + * @param int $customerPaymentProfileId + * + * @return AuthorizeNetCIM_Response + */ + public function deleteCustomerPaymentProfile($customerProfileId, $customerPaymentProfileId) + { + $this->_constructXml("deleteCustomerPaymentProfileRequest"); + $this->_xml->addChild("customerProfileId", $customerProfileId); + $this->_xml->addChild("customerPaymentProfileId", $customerPaymentProfileId); + return $this->_sendRequest(); + } + + /** + * Delete a shipping address. + * + * @param int $customerProfileId + * @param int $customerAddressId + * + * @return AuthorizeNetCIM_Response + */ + public function deleteCustomerShippingAddress($customerProfileId, $customerAddressId) + { + $this->_constructXml("deleteCustomerShippingAddressRequest"); + $this->_xml->addChild("customerProfileId", $customerProfileId); + $this->_xml->addChild("customerAddressId", $customerAddressId); + return $this->_sendRequest(); + } + + /** + * Get all customer profile ids. + * + * @return AuthorizeNetCIM_Response + */ + public function getCustomerProfileIds() + { + $this->_constructXml("getCustomerProfileIdsRequest"); + return $this->_sendRequest(); + } + + /** + * Get a customer profile. + * + * @param int $customerProfileId + * + * @return AuthorizeNetCIM_Response + */ + public function getCustomerProfile($customerProfileId) + { + $this->_constructXml("getCustomerProfileRequest"); + $this->_xml->addChild("customerProfileId", $customerProfileId); + return $this->_sendRequest(); + } + + /** + * Get a payment profile. + * + * @param int $customerProfileId + * @param int $customerPaymentProfileId + * + * @return AuthorizeNetCIM_Response + */ + public function getCustomerPaymentProfile($customerProfileId, $customerPaymentProfileId) + { + $this->_constructXml("getCustomerPaymentProfileRequest"); + $this->_xml->addChild("customerProfileId", $customerProfileId); + $this->_xml->addChild("customerPaymentProfileId", $customerPaymentProfileId); + return $this->_sendRequest(); + } + + /** + * Get a shipping address. + * + * @param int $customerProfileId + * @param int $customerAddressId + * + * @return AuthorizeNetCIM_Response + */ + public function getCustomerShippingAddress($customerProfileId, $customerAddressId) + { + $this->_constructXml("getCustomerShippingAddressRequest"); + $this->_xml->addChild("customerProfileId", $customerProfileId); + $this->_xml->addChild("customerAddressId", $customerAddressId); + return $this->_sendRequest(); + } + + /** + * Update a profile. + * + * @param int $customerProfileId + * @param AuthorizeNetCustomer $customerProfile + * @param string $validationMode + * + * @return AuthorizeNetCIM_Response + */ + public function updateCustomerProfile($customerProfileId, $customerProfile, $validationMode = "none") + { + // $this->_validationMode = $validationMode; + $this->_constructXml("updateCustomerProfileRequest"); + $customerProfile->customerProfileId = $customerProfileId; + $profile = $this->_xml->addChild("profile"); + $this->_addObject($profile, $customerProfile); + return $this->_sendRequest(); + } + + /** + * Update a payment profile. + * + * @param int $customerProfileId + * @param int $customerPaymentProfileId + * @param AuthorizeNetPaymentProfile $paymentProfile + * @param string $validationMode + * + * @return AuthorizeNetCIM_Response + */ + public function updateCustomerPaymentProfile($customerProfileId, $customerPaymentProfileId, $paymentProfile, $validationMode = "testMode") + { + // $this->_validationMode = $validationMode; + $this->_constructXml("updateCustomerPaymentProfileRequest"); + $this->_xml->addChild("customerProfileId", $customerProfileId); + $paymentProfile->customerPaymentProfileId = $customerPaymentProfileId; + $profile = $this->_xml->addChild("paymentProfile"); + $this->_addObject($profile, $paymentProfile); + return $this->_sendRequest(); + } + + /** + * Update a shipping address. + * + * @param int $customerProfileId + * @param int $customerShippingAddressId + * @param AuthorizeNetAddress $shippingAddress + * + * @return AuthorizeNetCIM_Response + */ + public function updateCustomerShippingAddress($customerProfileId, $customerShippingAddressId, $shippingAddress) + { + + $this->_constructXml("updateCustomerShippingAddressRequest"); + $this->_xml->addChild("customerProfileId", $customerProfileId); + $shippingAddress->customerAddressId = $customerShippingAddressId; + $sa = $this->_xml->addChild("address"); + $this->_addObject($sa, $shippingAddress); + return $this->_sendRequest(); + } + + /** + * Update the status of an existing order that contains multiple transactions with the same splitTenderId. + * + * @param int $splitTenderId + * @param string $splitTenderStatus + * + * @return AuthorizeNetCIM_Response + */ + public function updateSplitTenderGroup($splitTenderId, $splitTenderStatus) + { + $this->_constructXml("updateSplitTenderGroupRequest"); + $this->_xml->addChild("splitTenderId", $splitTenderId); + $this->_xml->addChild("splitTenderStatus", $splitTenderStatus); + return $this->_sendRequest(); + } + + /** + * Validate a customer payment profile. + * + * @param int $customerProfileId + * @param int $customerPaymentProfileId + * @param int $customerShippingAddressId + * @param int $cardCode + * @param string $validationMode + * + * @return AuthorizeNetCIM_Response + */ + public function validateCustomerPaymentProfile($customerProfileId, $customerPaymentProfileId, $customerShippingAddressId, $cardCode, $validationMode = "testMode") + { + $this->_validationMode = $validationMode; + $this->_constructXml("validateCustomerPaymentProfileRequest"); + $this->_xml->addChild("customerProfileId",$customerProfileId); + $this->_xml->addChild("customerPaymentProfileId",$customerPaymentProfileId); + $this->_xml->addChild("customerShippingAddressId",$customerShippingAddressId); + $this->_xml->addChild("cardCode",$cardCode); + return $this->_sendRequest(); + } + + /** + * @return string + */ + protected function _getPostUrl() + { + return ($this->_sandbox ? self::SANDBOX_URL : self::LIVE_URL); + } + + /** + * + * + * @param string $response + * + * @return AuthorizeNetCIM_Response + */ + protected function _handleResponse($response) + { + return new AuthorizeNetCIM_Response($response); + } + + /** + * Prepare the XML post string. + */ + protected function _setPostString() + { + ($this->_validationMode != "none" ? $this->_xml->addChild('validationMode',$this->_validationMode) : ""); + $this->_post_string = $this->_xml->asXML(); + + // Add extraOptions CDATA + if ($this->_extraOptions) { + $this->_xml->addChild("extraOptions"); + $this->_post_string = str_replace("",'_extraOptions . ']]>', $this->_xml->asXML()); + } + } + + /** + * Start the SimpleXMLElement that will be posted. + * + * @param string $request_type The action to be performed. + */ + private function _constructXml($request_type) + { + $string = '<'.$request_type.' xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">'; + $this->_xml = @new SimpleXMLElement($string); + $merchant = $this->_xml->addChild('merchantAuthentication'); + $merchant->addChild('name',$this->_api_login); + $merchant->addChild('transactionKey',$this->_transaction_key); + ($this->_refId ? $this->_xml->addChild('refId',$this->_refId) : ""); + } + + /** + * Add an object to an SimpleXMLElement parent element. + * + * @param SimpleXMLElement $destination The parent element. + * @param Object $object An object, array or value. + */ + private function _addObject($destination, $object) + { + $array = (array)$object; + foreach ($array as $key => $value) { + if ($value && !is_object($value)) { + if (is_array($value) && count($value)) { + foreach ($value as $index => $item) { + $items = $destination->addChild($key); + $this->_addObject($items, $item); + } + } else { + $destination->addChild($key,$value); + } + } elseif (is_object($value) && self::_notEmpty($value)) { + $dest = $destination->addChild($key); + $this->_addObject($dest, $value); + } + } + } + + /** + * Checks whether an array or object contains any values. + * + * @param Object $object + * + * @return bool + */ + private static function _notEmpty($object) + { + $array = (array)$object; + foreach ($array as $key => $value) { + if ($value && !is_object($value)) { + return true; + } elseif (is_object($value)) { + if (self::_notEmpty($value)) { + return true; + } + } + } + return false; + } + +} + +/** + * A class to parse a response from the CIM XML API. + * + * @package AuthorizeNet + * @subpackage AuthorizeNetCIM + */ +class AuthorizeNetCIM_Response extends AuthorizeNetXMLResponse +{ + /** + * @return AuthorizeNetAIM_Response + */ + public function getTransactionResponse() + { + return new AuthorizeNetAIM_Response($this->_getElementContents("directResponse"), ",", "", array()); + } + + /** + * @return array Array of AuthorizeNetAIM_Response objects for each payment profile. + */ + public function getValidationResponses() + { + $responses = (array)$this->xml->validationDirectResponseList; + $return = array(); + foreach ((array)$responses["string"] as $response) { + $return[] = new AuthorizeNetAIM_Response($response, ",", "", array()); + } + return $return; + } + + /** + * @return AuthorizeNetAIM_Response + */ + public function getValidationResponse() + { + return new AuthorizeNetAIM_Response($this->_getElementContents("validationDirectResponse"), ",", "", array()); + } + + /** + * @return array + */ + public function getCustomerProfileIds() + { + $ids = (array)$this->xml->ids; + return $ids["numericString"]; + } + + /** + * @return array + */ + public function getCustomerPaymentProfileIds() + { + $ids = (array)$this->xml->customerPaymentProfileIdList; + return $ids["numericString"]; + } + + /** + * @return array + */ + public function getCustomerShippingAddressIds() + { + $ids = (array)$this->xml->customerShippingAddressIdList; + return $ids["numericString"]; + } + + /** + * @return string + */ + public function getCustomerAddressId() + { + return $this->_getElementContents("customerAddressId"); + } + + /** + * @return string + */ + public function getCustomerProfileId() + { + return $this->_getElementContents("customerProfileId"); + } + + /** + * @return string + */ + public function getPaymentProfileId() + { + return $this->_getElementContents("customerPaymentProfileId"); + } + +} diff --git a/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/lib/AuthorizeNetCP.php b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/lib/AuthorizeNetCP.php new file mode 100644 index 0000000..1ff0a3d --- /dev/null +++ b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/lib/AuthorizeNetCP.php @@ -0,0 +1,222 @@ + "1.0", + "delim_char" => ",", + "encap_char" => "|", + "market_type" => "2", + "response_format" => "1", // 0 - XML, 1 - NVP + ); + + /** + * Device Types (x_device_type) + * 1 = Unknown + * 2 = Unattended Terminal + * 3 = Self Service Terminal + * 4 = Electronic Cash Register + * 5 = Personal Computer- Based Terminal + * 6 = AirPay + * 7 = Wireless POS + * 8 = Website + * 9 = Dial Terminal + * 10 = Virtual Terminal + */ + + /** + * Strip sentinels and set track1 field. + * + * @param string $track1data + */ + public function setTrack1Data($track1data) { + if (preg_match('/^%.*\?$/', $track1data)) { + $this->track1 = substr($track1data, 1, -1); + } else { + $this->track1 = $track1data; + } + } + + /** + * Strip sentinels and set track2 field. + * + * @param string $track2data + */ + public function setTrack2Data($track2data) { + if (preg_match('/^;.*\?$/', $track2data)) { + $this->track2 = substr($track2data, 1, -1); + } else { + $this->track2 = $track2data; + } + } + + /** + * + * + * @param string $response + * + * @return AuthorizeNetAIM_Response + */ + protected function _handleResponse($response) + { + return new AuthorizeNetCP_Response($response, $this->_x_post_fields['delim_char'], $this->_x_post_fields['encap_char'], $this->_custom_fields); + } + +} + + +/** + * Parses an AuthorizeNet Card Present Response. + * + * @package AuthorizeNet + * @subpackage AuthorizeNetCP + */ +class AuthorizeNetCP_Response extends AuthorizeNetResponse +{ + private $_response_array = array(); // An array with the split response. + + /** + * Constructor. Parses the AuthorizeNet response string. + * + * @param string $response The response from the AuthNet server. + * @param string $delimiter The delimiter used (default is ",") + * @param string $encap_char The encap_char used (default is "|") + * @param array $custom_fields Any custom fields set in the request. + */ + public function __construct($response, $delimiter, $encap_char, $custom_fields) + { + if ($response) { + + // If it's an XML response + if (substr($response, 0, 5) == "xml = @simplexml_load_string($response); + // Set all fields + $this->version = array_pop(array_slice(explode('"', $response), 1,1)); + $this->response_code = (string)$this->xml->ResponseCode; + + if ($this->response_code == 1) { + $this->response_reason_code = (string)$this->xml->Messages->Message->Code; + $this->response_reason_text = (string)$this->xml->Messages->Message->Description; + } else { + $this->response_reason_code = (string)$this->xml->Errors->Error->ErrorCode; + $this->response_reason_text = (string)$this->xml->Errors->Error->ErrorText; + } + + $this->authorization_code = (string)$this->xml->AuthCode; + $this->avs_code = (string)$this->xml->AVSResultCode; + $this->card_code_response = (string)$this->xml->CVVResultCode; + $this->transaction_id = (string)$this->xml->TransID; + $this->md5_hash = (string)$this->xml->TransHash; + $this->user_ref = (string)$this->xml->UserRef; + $this->card_num = (string)$this->xml->AccountNumber; + $this->card_type = (string)$this->xml->AccountType; + $this->test_mode = (string)$this->xml->TestMode; + $this->ref_trans_id = (string)$this->xml->RefTransID; + + + } else { // If it's an NVP response + + // Split Array + $this->response = $response; + if ($encap_char) { + $this->_response_array = explode($encap_char.$delimiter.$encap_char, substr($response, 1, -1)); + } else { + $this->_response_array = explode($delimiter, $response); + } + + /** + * If AuthorizeNet doesn't return a delimited response. + */ + if (count($this->_response_array) < 10) { + $this->approved = false; + $this->error = true; + $this->error_message = "Unrecognized response from AuthorizeNet: $response"; + return; + } + + + + // Set all fields + $this->version = $this->_response_array[0]; + $this->response_code = $this->_response_array[1]; + $this->response_reason_code = $this->_response_array[2]; + $this->response_reason_text = $this->_response_array[3]; + $this->authorization_code = $this->_response_array[4]; + $this->avs_code = $this->_response_array[5]; + $this->card_code_response = $this->_response_array[6]; + $this->transaction_id = $this->_response_array[7]; + $this->md5_hash = $this->_response_array[8]; + $this->user_ref = $this->_response_array[9]; + $this->card_num = $this->_response_array[20]; + $this->card_type = $this->_response_array[21]; + $this->split_tender_id = $this->_response_array[22]; + $this->requested_amount = $this->_response_array[23]; + $this->approved_amount = $this->_response_array[24]; + $this->card_balance = $this->_response_array[25]; + + + + } + $this->approved = ($this->response_code == self::APPROVED); + $this->declined = ($this->response_code == self::DECLINED); + $this->error = ($this->response_code == self::ERROR); + $this->held = ($this->response_code == self::HELD); + + + if ($this->error) { + $this->error_message = "AuthorizeNet Error: + Response Code: ".$this->response_code." + Response Reason Code: ".$this->response_reason_code." + Response Reason Text: ".$this->response_reason_text." + "; + } + + } else { + $this->approved = false; + $this->error = true; + $this->error_message = "Error connecting to AuthorizeNet"; + } + } + + /** + * Is the MD5 provided correct? + * + * @param string $api_login_id + * @param string $md5_setting + * @return bool + */ + public function isAuthorizeNet($api_login_id = false, $md5_setting = false) + { + $amount = ($this->amount ? $this->amount : '0.00'); + $api_login_id = ($api_login_id ? $api_login_id : AUTHORIZENET_API_LOGIN_ID); + $md5_setting = ($md5_setting ? $md5_setting : AUTHORIZENET_MD5_SETTING); + return ($this->md5_hash == strtoupper(md5($md5_setting . $api_login_id . $this->transaction_id . $amount))); + } + +} + diff --git a/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/lib/AuthorizeNetDPM.php b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/lib/AuthorizeNetDPM.php new file mode 100644 index 0000000..5e693cc --- /dev/null +++ b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/lib/AuthorizeNetDPM.php @@ -0,0 +1,237 @@ +isAuthorizeNet()) + { + if ($response->approved) + { + // Do your processing here. + $redirect_url = $url . '?response_code=1&transaction_id=' . $response->transaction_id; + } + else + { + // Redirect to error page. + $redirect_url = $url . '?response_code='.$response->response_code . '&response_reason_text=' . $response->response_reason_text; + } + // Send the Javascript back to AuthorizeNet, which will redirect user back to your site. + echo AuthorizeNetDPM::getRelayResponseSnippet($redirect_url); + } + else + { + echo "Error -- not AuthorizeNet. Check your MD5 Setting."; + } + } + // Step 3: Show receipt page to customer. + elseif (!count($_POST) && count($_GET)) + { + if ($_GET['response_code'] == 1) + { + echo "Thank you for your purchase! Transaction id: " . htmlentities($_GET['transaction_id']); + } + else + { + echo "Sorry, an error occurred: " . htmlentities($_GET['response_reason_text']); + } + } + } + + /** + * A snippet to send to AuthorizeNet to redirect the user back to the + * merchant's server. Use this on your relay response page. + * + * @param string $redirect_url Where to redirect the user. + * + * @return string + */ + public static function getRelayResponseSnippet($redirect_url) + { + return " + "; + } + + /** + * Generate a sample form for use in a demo Direct Post implementation. + * + * @param string $amount Amount of the transaction. + * @param string $fp_sequence Sequential number(ie. Invoice #) + * @param string $relay_response_url The Relay Response URL + * @param string $api_login_id Your API Login ID + * @param string $transaction_key Your API Tran Key. + * @param bool $test_mode Use the sandbox? + * @param bool $prefill Prefill sample values(for test purposes). + * + * @return string + */ + public static function getCreditCardForm($amount, $fp_sequence, $relay_response_url, $api_login_id, $transaction_key, $test_mode = true, $prefill = true) + { + $time = time(); + $fp = self::getFingerprint($api_login_id, $transaction_key, $amount, $fp_sequence, $time); + $sim = new AuthorizeNetSIM_Form( + array( + 'x_amount' => $amount, + 'x_fp_sequence' => $fp_sequence, + 'x_fp_hash' => $fp, + 'x_fp_timestamp' => $time, + 'x_relay_response'=> "TRUE", + 'x_relay_url' => $relay_response_url, + 'x_login' => $api_login_id, + ) + ); + $hidden_fields = $sim->getHiddenFieldString(); + $post_url = ($test_mode ? self::SANDBOX_URL : self::LIVE_URL); + + $form = ' + +
      + '.$hidden_fields.' +
      +
      + + +
      +
      + + +
      +
      + + +
      +
      +
      +
      + + +
      +
      + + +
      +
      +
      +
      + + +
      +
      + + +
      +
      +
      +
      + + +
      +
      + + +
      +
      + + +
      +
      + +
      '; + return $form; + } + +} \ No newline at end of file diff --git a/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/lib/AuthorizeNetSIM.php b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/lib/AuthorizeNetSIM.php new file mode 100644 index 0000000..60297e5 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/lib/AuthorizeNetSIM.php @@ -0,0 +1,212 @@ +api_login_id = ($api_login_id ? $api_login_id : (defined('AUTHORIZENET_API_LOGIN_ID') ? AUTHORIZENET_API_LOGIN_ID : "")); + $this->md5_setting = ($md5_setting ? $md5_setting : (defined('AUTHORIZENET_MD5_SETTING') ? AUTHORIZENET_MD5_SETTING : "")); + $this->response = $_POST; + + // Set fields without x_ prefix + foreach ($_POST as $key => $value) { + $name = substr($key, 2); + $this->$name = $value; + } + + // Set some human readable fields + $map = array( + 'avs_response' => 'x_avs_code', + 'authorization_code' => 'x_auth_code', + 'transaction_id' => 'x_trans_id', + 'customer_id' => 'x_cust_id', + 'md5_hash' => 'x_MD5_Hash', + 'card_code_response' => 'x_cvv2_resp_code', + 'cavv_response' => 'x_cavv_response', + ); + foreach ($map as $key => $value) { + $this->$key = (isset($_POST[$value]) ? $_POST[$value] : ""); + } + + $this->approved = ($this->response_code == self::APPROVED); + $this->declined = ($this->response_code == self::DECLINED); + $this->error = ($this->response_code == self::ERROR); + $this->held = ($this->response_code == self::HELD); + } + + /** + * Verify the request is AuthorizeNet. + * + * @return bool + */ + public function isAuthorizeNet() + { + return count($_POST) && $this->md5_hash && ($this->generateHash() == $this->md5_hash); + } + + /** + * Generates an Md5 hash to compare against Authorize.Net's. + * + * @return string Hash + */ + public function generateHash() + { + $amount = ($this->amount ? $this->amount : "0.00"); + return strtoupper(md5($this->md5_setting . $this->api_login_id . $this->transaction_id . $amount)); + } + +} + +/** + * A helper class for using hosted order page. + * + * @package AuthorizeNet + * @subpackage AuthorizeNetSIM + */ +class AuthorizeNetSIM_Form +{ + public $x_address; + public $x_amount; + public $x_background_url; + public $x_card_num; + public $x_city; + public $x_color_background; + public $x_color_link; + public $x_color_text; + public $x_company; + public $x_country; + public $x_cust_id; + public $x_customer_ip; + public $x_description; + public $x_delim_data; + public $x_duplicate_window; + public $x_duty; + public $x_email; + public $x_email_customer; + public $x_fax; + public $x_first_name; + public $x_footer_email_receipt; + public $x_footer_html_payment_form; + public $x_footer_html_receipt; + public $x_fp_hash; + public $x_fp_sequence; + public $x_fp_timestamp; + public $x_freight; + public $x_header_email_receipt; + public $x_header_html_payment_form; + public $x_header_html_receipt; + public $x_invoice_num; + public $x_last_name; + public $x_line_item; + public $x_login; + public $x_logo_url; + public $x_method; + public $x_phone; + public $x_po_num; + public $x_receipt_link_method; + public $x_receipt_link_text; + public $x_receipt_link_url; + public $x_recurring_billing; + public $x_relay_response; + public $x_relay_url; + public $x_rename; + public $x_ship_to_address; + public $x_ship_to_company; + public $x_ship_to_country; + public $x_ship_to_city; + public $x_ship_to_first_name; + public $x_ship_to_last_name; + public $x_ship_to_state; + public $x_ship_to_zip; + public $x_show_form; + public $x_state; + public $x_tax; + public $x_tax_exempt; + public $x_test_request; + public $x_trans_id; + public $x_type; + public $x_version; + public $x_zip; + + /** + * Constructor + * + * @param array $fields Fields to set. + */ + public function __construct($fields = false) + { + // Set some best practice fields + $this->x_relay_response = "FALSE"; + $this->x_version = "3.1"; + $this->x_delim_char = ","; + $this->x_delim_data = "TRUE"; + + if ($fields) { + foreach ($fields as $key => $value) { + $this->$key = $value; + } + } + } + + /** + * Get a string of HTML hidden fields for use in a form. + * + * @return string + */ + public function getHiddenFieldString() + { + $array = (array)$this; + $string = ""; + foreach ($array as $key => $value) { + if ($value) { + $string .= ''; + } + } + return $string; + } + + /** + * Generates a fingerprint needed for a hosted order form or DPM. + * + * @param string $api_login_id Login ID. + * @param string $transaction_key API key. + * @param string $amount Amount of transaction. + * @param string $fp_sequence An invoice number or random number. + * @param string $fp_timestamp Timestamp. + * + * @return string The fingerprint. + */ + public static function getFingerprint($api_login_id, $transaction_key, $amount, $fp_sequence, $fp_timestamp) + { + $api_login_id = ($api_login_id ? $api_login_id : (defined('AUTHORIZENET_API_LOGIN_ID') ? AUTHORIZENET_API_LOGIN_ID : "")); + $transaction_key = ($transaction_key ? $transaction_key : (defined('AUTHORIZENET_TRANSACTION_KEY') ? AUTHORIZENET_TRANSACTION_KEY : "")); + if (function_exists('hash_hmac')) { + return hash_hmac("md5", $api_login_id . "^" . $fp_sequence . "^" . $fp_timestamp . "^" . $amount . "^", $transaction_key); + } + return bin2hex(mhash(MHASH_MD5, $api_login_id . "^" . $fp_sequence . "^" . $fp_timestamp . "^" . $amount . "^", $transaction_key)); + } + +} \ No newline at end of file diff --git a/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/lib/AuthorizeNetSOAP.php b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/lib/AuthorizeNetSOAP.php new file mode 100644 index 0000000..36c30a4 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/lib/AuthorizeNetSOAP.php @@ -0,0 +1,99 @@ +__setLocation(self::SANDBOX_URL); + } + + /** + * Switch between the sandbox or production gateway. + * + * @param bool + */ + public function setSandbox($bool) + { + $this->__setLocation(($bool ? self::SANDBOX_URL : self::LIVE_URL)); + } + + /** + * Get all types as PHP Code. + * @return string + */ + public function getSoapTypes() + { + $string = ""; + $types = $this->__getTypes(); + foreach ($types as $type) { + if (preg_match("/struct /",$type)) { + $type = preg_replace("/struct /","class ",$type); + $type = preg_replace("/ (\w+) (\w+);/"," // $1\n public \$$2;",$type); + $string .= $type ."\n"; + } + } + return $string; + } + + /** + * Get all methods as PHP Code. + * @return string + */ + public function getSoapMethods() + { + $string = ""; + $functions = array(); + $methods = $this->__getFunctions(); + foreach ($methods as $index => $method) { + $sig = explode(" ", $method, 2); + if (!isset($functions[$sig[1]])) { + $string .= " /**\n * @return {$sig[0]}\n */\n public function {$sig[1]} {}\n\n"; + $functions[$sig[1]] = true; + } + } + return $string; + } + + /** + * Create a file from the WSDL for reference. + */ + public function saveSoapDocumentation($path) + { + $string = "getSoapMethods() . "\n}\n\n" . $this->getSoapTypes() ."\n\n ?>"; + return file_put_contents($path, $string); + } + + + +} \ No newline at end of file diff --git a/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/lib/AuthorizeNetTD.php b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/lib/AuthorizeNetTD.php new file mode 100644 index 0000000..cce2148 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/lib/AuthorizeNetTD.php @@ -0,0 +1,183 @@ +_constructXml("getSettledBatchListRequest"); + ($includeStatistics ? + $this->_xml->addChild("includeStatistics", $includeStatistics) : null); + ($firstSettlementDate ? + $this->_xml->addChild("firstSettlementDate", $firstSettlementDate . $utc) : null); + ($lastSettlementDate ? + $this->_xml->addChild("lastSettlementDate", $lastSettlementDate . $utc) : null); + return $this->_sendRequest(); + } + + /** + * Return all settled batches for a certain month. + * + * @param int $month + * @param int $year + * + * @return AuthorizeNetTD_Response + */ + public function getSettledBatchListForMonth($month = false, $year = false) + { + $month = ($month ? $month : date('m')); + $year = ($year ? $year : date('Y')); + $firstSettlementDate = substr(date('c',mktime(0, 0, 0, $month, 1, $year)),0,-6); + $lastSettlementDate = substr(date('c',mktime(0, 0, 0, $month+1, 0, $year)),0,-6); + return $this->getSettledBatchList(true, $firstSettlementDate, $lastSettlementDate); + } + + /** + * This function returns limited transaction details for a specified batch ID + * + * @param int $batchId + * + * @return AuthorizeNetTD_Response + */ + public function getTransactionList($batchId) + { + $this->_constructXml("getTransactionListRequest"); + $this->_xml->addChild("batchId", $batchId); + return $this->_sendRequest(); + } + + /** + * Return all transactions for a certain day. + * + * @param int $month + * @param int $day + * @param int $year + * + * @return array Array of SimpleXMLElments + */ + public function getTransactionsForDay($month = false, $day = false, $year = false) + { + $transactions = array(); + $month = ($month ? $month : date('m')); + $day = ($day ? $day : date('d')); + $year = ($year ? $year : date('Y')); + $firstSettlementDate = substr(date('c',mktime(0, 0, 0, (int)$month, (int)$day, (int)$year)),0,-6); + $lastSettlementDate = substr(date('c',mktime(0, 0, 0, (int)$month, (int)$day, (int)$year)),0,-6); + $response = $this->getSettledBatchList(true, $firstSettlementDate, $lastSettlementDate); + $batches = $response->xpath("batchList/batch"); + foreach ($batches as $batch) { + $batch_id = (string)$batch->batchId; + $request = new AuthorizeNetTD; + $tran_list = $request->getTransactionList($batch_id); + $transactions = array_merge($transactions, $tran_list->xpath("transactions/transaction")); + } + return $transactions; + } + + /** + * This function returns full transaction details for a specified transaction ID. + * + * @param int $transId + * + * @return AuthorizeNetTD_Response + */ + public function getTransactionDetails($transId) + { + $this->_constructXml("getTransactionDetailsRequest"); + $this->_xml->addChild("transId", $transId); + return $this->_sendRequest(); + } + + /** + * @return string + */ + protected function _getPostUrl() + { + return ($this->_sandbox ? self::SANDBOX_URL : self::LIVE_URL); + } + + /** + * + * + * @param string $response + * + * @return AuthorizeNetTransactionDetails_Response + */ + protected function _handleResponse($response) + { + return new AuthorizeNetTD_Response($response); + } + + /** + * Prepare the XML post string. + */ + protected function _setPostString() + { + $this->_post_string = $this->_xml->asXML(); + + } + + /** + * Start the SimpleXMLElement that will be posted. + * + * @param string $request_type The action to be performed. + */ + private function _constructXml($request_type) + { + $string = '<'.$request_type.' xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">'; + $this->_xml = @new SimpleXMLElement($string); + $merchant = $this->_xml->addChild('merchantAuthentication'); + $merchant->addChild('name',$this->_api_login); + $merchant->addChild('transactionKey',$this->_transaction_key); + } + +} + +/** + * A class to parse a response from the Transaction Details XML API. + * + * @package AuthorizeNet + * @subpackage AuthorizeNetTD + */ +class AuthorizeNetTD_Response extends AuthorizeNetXMLResponse +{ + + +} diff --git a/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/lib/shared/AuthorizeNetRequest.php b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/lib/shared/AuthorizeNetRequest.php new file mode 100644 index 0000000..509c783 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/lib/shared/AuthorizeNetRequest.php @@ -0,0 +1,120 @@ +_api_login = ($api_login_id ? $api_login_id : (defined('AUTHORIZENET_API_LOGIN_ID') ? AUTHORIZENET_API_LOGIN_ID : "")); + $this->_transaction_key = ($transaction_key ? $transaction_key : (defined('AUTHORIZENET_TRANSACTION_KEY') ? AUTHORIZENET_TRANSACTION_KEY : "")); + $this->_sandbox = (defined('AUTHORIZENET_SANDBOX') ? AUTHORIZENET_SANDBOX : true); + $this->_log_file = (defined('AUTHORIZENET_LOG_FILE') ? AUTHORIZENET_LOG_FILE : false); + } + + /** + * Alter the gateway url. + * + * @param bool $bool Use the Sandbox. + */ + public function setSandbox($bool) + { + $this->_sandbox = $bool; + } + + /** + * Set a log file. + * + * @param string $filepath Path to log file. + */ + public function setLogFile($filepath) + { + $this->_log_file = $filepath; + } + + /** + * Return the post string. + * + * @return string + */ + public function getPostString() + { + return $this->_post_string; + } + + /** + * Posts the request to AuthorizeNet & returns response. + * + * @return AuthorizeNetARB_Response The response. + */ + protected function _sendRequest() + { + $this->_setPostString(); + $post_url = $this->_getPostUrl(); + $curl_request = curl_init($post_url); + curl_setopt($curl_request, CURLOPT_POSTFIELDS, $this->_post_string); + curl_setopt($curl_request, CURLOPT_HEADER, 0); + curl_setopt($curl_request, CURLOPT_TIMEOUT, 45); + curl_setopt($curl_request, CURLOPT_RETURNTRANSFER, 1); + curl_setopt($curl_request, CURLOPT_SSL_VERIFYHOST, 2); + if ($this->VERIFY_PEER) { + curl_setopt($curl_request, CURLOPT_CAINFO, dirname(dirname(__FILE__)) . '/ssl/cert.pem'); + } else { + curl_setopt($curl_request, CURLOPT_SSL_VERIFYPEER, false); + } + + if (preg_match('/xml/',$post_url)) { + curl_setopt($curl_request, CURLOPT_HTTPHEADER, Array("Content-Type: text/xml")); + } + + $response = curl_exec($curl_request); + + if ($this->_log_file) { + + if ($curl_error = curl_error($curl_request)) { + file_put_contents($this->_log_file, "----CURL ERROR----\n$curl_error\n\n", FILE_APPEND); + } + // Do not log requests that could contain CC info. + // file_put_contents($this->_log_file, "----Request----\n{$this->_post_string}\n", FILE_APPEND); + + file_put_contents($this->_log_file, "----Response----\n$response\n\n", FILE_APPEND); + } + curl_close($curl_request); + + return $this->_handleResponse($response); + } + +} \ No newline at end of file diff --git a/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/lib/shared/AuthorizeNetResponse.php b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/lib/shared/AuthorizeNetResponse.php new file mode 100644 index 0000000..7b96cb9 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/lib/shared/AuthorizeNetResponse.php @@ -0,0 +1,75 @@ +billTo = new AuthorizeNetAddress; + $this->payment = new AuthorizeNetPayment; + } + +} + +/** + * A class that contains all fields for a CIM Payment Type. + * + * @package AuthorizeNet + * @subpackage AuthorizeNetCIM + */ +class AuthorizeNetPayment +{ + public $creditCard; + public $bankAccount; + + public function __construct() + { + $this->creditCard = new AuthorizeNetCreditCard; + $this->bankAccount = new AuthorizeNetBankAccount; + } +} + +/** + * A class that contains all fields for a CIM Transaction. + * + * @package AuthorizeNet + * @subpackage AuthorizeNetCIM + */ +class AuthorizeNetTransaction +{ + public $amount; + public $tax; + public $shipping; + public $duty; + public $lineItems = array(); + public $customerProfileId; + public $customerPaymentProfileId; + public $customerShippingAddressId; + public $creditCardNumberMasked; + public $bankRoutingNumberMasked; + public $bankAccountNumberMasked; + public $order; + public $taxExempt; + public $recurringBilling; + public $cardCode; + public $splitTenderId; + public $approvalCode; + public $transId; + + public function __construct() + { + $this->tax = (object)array(); + $this->tax->amount = ""; + $this->tax->name = ""; + $this->tax->description = ""; + + $this->shipping = (object)array(); + $this->shipping->amount = ""; + $this->shipping->name = ""; + $this->shipping->description = ""; + + $this->duty = (object)array(); + $this->duty->amount = ""; + $this->duty->name = ""; + $this->duty->description = ""; + + // line items + + $this->order = (object)array(); + $this->order->invoiceNumber = ""; + $this->order->description = ""; + $this->order->purchaseOrderNumber = ""; + } + +} + +/** + * A class that contains all fields for a CIM Transaction Line Item. + * + * @package AuthorizeNet + * @subpackage AuthorizeNetCIM + */ +class AuthorizeNetLineItem +{ + public $itemId; + public $name; + public $description; + public $quantity; + public $unitPrice; + public $taxable; + +} + +/** + * A class that contains all fields for a CIM Credit Card. + * + * @package AuthorizeNet + * @subpackage AuthorizeNetCIM + */ +class AuthorizeNetCreditCard +{ + public $cardNumber; + public $expirationDate; + public $cardCode; +} + +/** + * A class that contains all fields for a CIM Bank Account. + * + * @package AuthorizeNet + * @subpackage AuthorizeNetCIM + */ +class AuthorizeNetBankAccount +{ + public $accountType; + public $routingNumber; + public $accountNumber; + public $nameOnAccount; + public $echeckType; + public $bankName; +} + +/** + * A class that contains all fields for an AuthorizeNet ARB Subscription. + * + * @package AuthorizeNet + * @subpackage AuthorizeNetARB + */ +class AuthorizeNet_Subscription +{ + + public $name; + public $intervalLength; + public $intervalUnit; + public $startDate; + public $totalOccurrences; + public $trialOccurrences; + public $amount; + public $trialAmount; + public $creditCardCardNumber; + public $creditCardExpirationDate; + public $creditCardCardCode; + public $bankAccountAccountType; + public $bankAccountRoutingNumber; + public $bankAccountAccountNumber; + public $bankAccountNameOnAccount; + public $bankAccountEcheckType; + public $bankAccountBankName; + public $orderInvoiceNumber; + public $orderDescription; + public $customerId; + public $customerEmail; + public $customerPhoneNumber; + public $customerFaxNumber; + public $billToFirstName; + public $billToLastName; + public $billToCompany; + public $billToAddress; + public $billToCity; + public $billToState; + public $billToZip; + public $billToCountry; + public $shipToFirstName; + public $shipToLastName; + public $shipToCompany; + public $shipToAddress; + public $shipToCity; + public $shipToState; + public $shipToZip; + public $shipToCountry; + + public function getXml() + { + $xml = " + {$this->name} + + + {$this->intervalLength} + {$this->intervalUnit} + + {$this->startDate} + {$this->totalOccurrences} + {$this->trialOccurrences} + + {$this->amount} + {$this->trialAmount} + + + {$this->creditCardCardNumber} + {$this->creditCardExpirationDate} + {$this->creditCardCardCode} + + + {$this->bankAccountAccountType} + {$this->bankAccountRoutingNumber} + {$this->bankAccountAccountNumber} + {$this->bankAccountNameOnAccount} + {$this->bankAccountEcheckType} + {$this->bankAccountBankName} + + + + {$this->orderInvoiceNumber} + {$this->orderDescription} + + + {$this->customerId} + {$this->customerEmail} + {$this->customerPhoneNumber} + {$this->customerFaxNumber} + + + {$this->billToFirstName} + {$this->billToLastName} + {$this->billToCompany} +
      {$this->billToAddress}
      + {$this->billToCity} + {$this->billToState} + {$this->billToZip} + {$this->billToCountry} +
      + + {$this->shipToFirstName} + {$this->shipToLastName} + {$this->shipToCompany} +
      {$this->shipToAddress}
      + {$this->shipToCity} + {$this->shipToState} + {$this->shipToZip} + {$this->shipToCountry} +
      +
      "; + + $xml_clean = ""; + // Remove any blank child elements + foreach (preg_split("/(\r?\n)/", $xml) as $key => $line) { + if (!preg_match('/><\//', $line)) { + $xml_clean .= $line . "\n"; + } + } + + // Remove any blank parent elements + $element_removed = 1; + // Recursively repeat if a change is made + while ($element_removed) { + $element_removed = 0; + if (preg_match('/<[a-z]+>[\r?\n]+\s*<\/[a-z]+>/i', $xml_clean)) { + $xml_clean = preg_replace('/<[a-z]+>[\r?\n]+\s*<\/[a-z]+>/i', '', $xml_clean); + $element_removed = 1; + } + } + + // Remove any blank lines + // $xml_clean = preg_replace('/\r\n[\s]+\r\n/','',$xml_clean); + return $xml_clean; + } +} + diff --git a/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/lib/shared/AuthorizeNetXMLResponse.php b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/lib/shared/AuthorizeNetXMLResponse.php new file mode 100644 index 0000000..ede7854 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/lib/shared/AuthorizeNetXMLResponse.php @@ -0,0 +1,128 @@ +response = $response; + if ($response) { + $this->xml = @simplexml_load_string($response); + + // Remove namespaces for use with XPath. + $this->xpath_xml = @simplexml_load_string(preg_replace('/ xmlns:xsi[^>]+/','',$response)); + } + } + + /** + * Was the transaction successful? + * + * @return bool + */ + public function isOk() + { + return ($this->getResultCode() == "Ok"); + } + + /** + * Run an xpath query on the cleaned XML response + * + * @param string $path + * @return array Returns an array of SimpleXMLElement objects or FALSE in case of an error. + */ + public function xpath($path) + { + return $this->xpath_xml->xpath($path); + } + + /** + * Was there an error? + * + * @return bool + */ + public function isError() + { + return ($this->getResultCode() == "Error"); + } + + /** + * @return string + */ + public function getErrorMessage() + { + return "Error: {$this->getResultCode()} + Message: {$this->getMessageText()} + {$this->getMessageCode()}"; + } + + /** + * @return string + */ + public function getRefID() + { + return $this->_getElementContents("refId"); + } + + /** + * @return string + */ + public function getResultCode() + { + return $this->_getElementContents("resultCode"); + } + + /** + * @return string + */ + public function getMessageCode() + { + return $this->_getElementContents("code"); + } + + /** + * @return string + */ + public function getMessageText() + { + return $this->_getElementContents("text"); + } + + /** + * Grabs the contents of a unique element. + * + * @param string + * @return string + */ + protected function _getElementContents($elementName) + { + $start = "<$elementName>"; + $end = ""; + if (strpos($this->response,$start) === false || strpos($this->response,$end) === false) { + return false; + } else { + $start_position = strpos($this->response, $start)+strlen($start); + $end_position = strpos($this->response, $end); + return substr($this->response, $start_position, $end_position-$start_position); + } + } + +} \ No newline at end of file diff --git a/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/lib/ssl/cert.pem b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/lib/ssl/cert.pem new file mode 100644 index 0000000..b59fbb0 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/lib/ssl/cert.pem @@ -0,0 +1,253 @@ +-----BEGIN CERTIFICATE----- +MIIEYTCCA0mgAwIBAgIESyDOMjANBgkqhkiG9w0BAQUFADCBsTELMAkGA1UEBhMC +VVMxFjAUBgNVBAoTDUVudHJ1c3QsIEluYy4xOTA3BgNVBAsTMHd3dy5lbnRydXN0 +Lm5ldC9ycGEgaXMgaW5jb3Jwb3JhdGVkIGJ5IHJlZmVyZW5jZTEfMB0GA1UECxMW +KGMpIDIwMDkgRW50cnVzdCwgSW5jLjEuMCwGA1UEAxMlRW50cnVzdCBDZXJ0aWZp +Y2F0aW9uIEF1dGhvcml0eSAtIEwxQzAeFw0xMDAzMzExNzA0MDBaFw0xMjAzMzAx +NzMzNTdaMIGVMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQG +A1UEBxMNTW91bnRhaW4gVmlldzEgMB4GA1UEChMXQ3liZXJzb3VyY2UgQ29ycG9y +YXRpb24xHTAbBgNVBAsTFFBsYXRpbnVtU1NMIFdpbGRjYXJkMRgwFgYDVQQDFA8q +LmF1dGhvcml6ZS5uZXQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAOSIsv0X +OFMm2cV74o2jSF7zkNGeLHkPsI10xsFXTG1xqjzq4eImAReA3eIp1oHvLmji4kea +rmTbxoURYdsRsWkx61b2vDrKJwjGU+hPvTYna0M4I9fpDgmp7e/Q5TJBWqI7BX9N +2ccL95/2rV0g021JJhkqYMDFERTYRqkLFLfNAgMBAAGjggEdMIIBGTALBgNVHQ8E +BAMCBaAwEwYDVR0lBAwwCgYIKwYBBQUHAwEwMwYDVR0fBCwwKjAooCagJIYiaHR0 +cDovL2NybC5lbnRydXN0Lm5ldC9sZXZlbDFjLmNybDAzBggrBgEFBQcBAQQnMCUw +IwYIKwYBBQUHMAGGF2h0dHA6Ly9vY3NwLmVudHJ1c3QubmV0MEAGA1UdIAQ5MDcw +NQYJKoZIhvZ9B0sCMCgwJgYIKwYBBQUHAgEWGmh0dHA6Ly93d3cuZW50cnVzdC5u +ZXQvcnBhMB8GA1UdIwQYMBaAFB7xq4kG+EkPATN37hR67hl8kyhNMB0GA1UdDgQW +BBQ/gzreJ5piCG2MLGy5XOBCVB9iTTAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBBQUA +A4IBAQCK6J1LZ3kGde6kzS4aGnPq5WUnJTdwB/ASIB15OOdK20Mdi7D0zF0Aevew ++f73shY3f7eozVmh8aCb7uDRojrBgLGdtj0vcRiqUm+e1LKf9p0XPdFMLGzh2E2W ++eLhBTMEYOgGPQDY/sf2MEKHRIgobccFI3LUUXylncY6+UKtUWJQ114duoZH0+o+ +RIlSRgGsGNYkWJ9+jeI6acvG15ahIzIfUx8m0vQp0Nri9/3p/HOezQjNdN0knTlR +pRbXZJ65zOig2wjt4an0OfYnOcqpJ/2yslCv0/jKwumHeygVt68l3J4rH7nUwUzs +B+JUkDiJgBD/+BFADuJkTJLMcn6t +-----END CERTIFICATE----- +-----BEGIN CERTIFICATE----- +MIIE8jCCA9qgAwIBAgIEOGPp/DANBgkqhkiG9w0BAQUFADCBtDEUMBIGA1UEChML +RW50cnVzdC5uZXQxQDA+BgNVBAsUN3d3dy5lbnRydXN0Lm5ldC9DUFNfMjA0OCBp +bmNvcnAuIGJ5IHJlZi4gKGxpbWl0cyBsaWFiLikxJTAjBgNVBAsTHChjKSAxOTk5 +IEVudHJ1c3QubmV0IExpbWl0ZWQxMzAxBgNVBAMTKkVudHJ1c3QubmV0IENlcnRp +ZmljYXRpb24gQXV0aG9yaXR5ICgyMDQ4KTAeFw0wOTEyMTAyMDQzNTRaFw0xOTEy +MTAyMTEzNTRaMIGxMQswCQYDVQQGEwJVUzEWMBQGA1UEChMNRW50cnVzdCwgSW5j +LjE5MDcGA1UECxMwd3d3LmVudHJ1c3QubmV0L3JwYSBpcyBpbmNvcnBvcmF0ZWQg +YnkgcmVmZXJlbmNlMR8wHQYDVQQLExYoYykgMjAwOSBFbnRydXN0LCBJbmMuMS4w +LAYDVQQDEyVFbnRydXN0IENlcnRpZmljYXRpb24gQXV0aG9yaXR5IC0gTDFDMIIB +IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAl6MtPJ7eBdoTwhGNnY7jf8dL +flqfs/9iq3PIKGu6EGSChxPNVxj/KM7A5g4GkVApg9Hywyrb2NtOBMwA64u2lty8 +qvpSdwTB2xnkrpz9PIsD7028GgNl+cGxP3KG8jiqGa4QiHgo2nXDPQKCApy5wWV3 +diRMmPdtMTj72/7bNwJ2oRiXpszeIAlJNiRpQvbkN2LxWW2pPO00nKOO29w61/cK +b+8u2NWTWnrtCElo4kHjWpDBhlX8UUOd4LLEZ7TLMjEl8FSfS9Fv29Td/K9ebHiQ +ld7KOki5eTybGdZ1BaD5iNfB6KUJ5BoV3IcjqrJ1jGMlh9j4PabCzGb/pWZoVQID +AQABo4IBCzCCAQcwDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wMwYI +KwYBBQUHAQEEJzAlMCMGCCsGAQUFBzABhhdodHRwOi8vb2NzcC5lbnRydXN0Lm5l +dDAyBgNVHR8EKzApMCegJaAjhiFodHRwOi8vY3JsLmVudHJ1c3QubmV0LzIwNDhj +YS5jcmwwOwYDVR0gBDQwMjAwBgRVHSAAMCgwJgYIKwYBBQUHAgEWGmh0dHA6Ly93 +d3cuZW50cnVzdC5uZXQvcnBhMB0GA1UdDgQWBBQe8auJBvhJDwEzd+4Ueu4ZfJMo +TTAfBgNVHSMEGDAWgBRV5IHREYC+2Im5CKMx+aEkCRa5cDANBgkqhkiG9w0BAQUF +AAOCAQEAB/ZfgoR/gEDHkDRGQiQDzi+ruoOeJXMN7awFacaH7aNc8lfBsUl2mk3y +P93kDv4LPrmY2TKVHTL0Ae6cyMjlP+BTdmL83attPZSQ8sCzPJgnNl4olyL8G0DT +Kw2ttVdt3w/jS+9zAhBl+hvQrDHV4w/oujIwg+5K0L/fIpB6vuw6G8RJBB3xroB3 +PEII26c7KKaAAQPmOaPr34BZG/MsvtxyRHmgbAelbU1EjkJoypR8Lja6hZ7NqsRe +PFS+/i/qaZ0cHimbltjI/lGQ8SSmkAaz8Cmi/3gud1xFIdlEADHzvjJP9QoyDfz8 +uhZ2VrLWSJLyi6Y+t6xcaeoLP2ZFuQ== +-----END CERTIFICATE----- +-----BEGIN CERTIFICATE----- +MIIEnzCCBAigAwIBAgIERp6RGjANBgkqhkiG9w0BAQUFADCBwzELMAkGA1UEBhMC +VVMxFDASBgNVBAoTC0VudHJ1c3QubmV0MTswOQYDVQQLEzJ3d3cuZW50cnVzdC5u +ZXQvQ1BTIGluY29ycC4gYnkgcmVmLiAobGltaXRzIGxpYWIuKTElMCMGA1UECxMc +KGMpIDE5OTkgRW50cnVzdC5uZXQgTGltaXRlZDE6MDgGA1UEAxMxRW50cnVzdC5u +ZXQgU2VjdXJlIFNlcnZlciBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTAeFw0wOTAz +MjMxNTE4MjdaFw0xOTAzMjMxNTQ4MjdaMIG0MRQwEgYDVQQKEwtFbnRydXN0Lm5l +dDFAMD4GA1UECxQ3d3d3LmVudHJ1c3QubmV0L0NQU18yMDQ4IGluY29ycC4gYnkg +cmVmLiAobGltaXRzIGxpYWIuKTElMCMGA1UECxMcKGMpIDE5OTkgRW50cnVzdC5u +ZXQgTGltaXRlZDEzMDEGA1UEAxMqRW50cnVzdC5uZXQgQ2VydGlmaWNhdGlvbiBB +dXRob3JpdHkgKDIwNDgpMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA +rU1LqRKGsuqjIAcVFmQqK0vRvwtKTY7tgHalZ7d4QMBzQshowNtTK91euHaYNZOL +Gp18EzoOH1u3Hs/lJBQesYGpjX24zGtLA/ECDNyrpUAkAH90lKGdCCmziAv1h3ed +Vc3kw37XamSrhRSGlVuXMlBvPci6Zgzj/L24ScF2iUkZ/cCovYmjZy/Gn7xxGWC4 +LeksyZB2ZnuU4q941mVTXTzWnLLPKQP5L6RQstRIzgUyVYr9smRMDuSYB3Xbf9+5 +CFVghTAp+XtIpGmG4zU/HoZdenoVve8AjhUiVBcAkCaTvA5JaJG/+EfTnZVCwQ5N +328mz8MYIWJmQ3DW1cAH4QIDAQABo4IBJzCCASMwDgYDVR0PAQH/BAQDAgEGMA8G +A1UdEwEB/wQFMAMBAf8wMwYIKwYBBQUHAQEEJzAlMCMGCCsGAQUFBzABhhdodHRw +Oi8vb2NzcC5lbnRydXN0Lm5ldDAzBgNVHR8ELDAqMCigJqAkhiJodHRwOi8vY3Js +LmVudHJ1c3QubmV0L3NlcnZlcjEuY3JsMDsGA1UdIAQ0MDIwMAYEVR0gADAoMCYG +CCsGAQUFBwIBFhpodHRwOi8vd3d3LmVudHJ1c3QubmV0L0NQUzAdBgNVHQ4EFgQU +VeSB0RGAvtiJuQijMfmhJAkWuXAwHwYDVR0jBBgwFoAU8BdiE1U9s/8KAGv7UISX +8+1i0BowGQYJKoZIhvZ9B0EABAwwChsEVjcuMQMCAIEwDQYJKoZIhvcNAQEFBQAD +gYEAj2WiMI4mq4rsNRaY6QPwjRdfvExsAvZ0UuDCxh/O8qYRDKixDk2Ei3E277M1 +RfPB+JbFi1WkzGuDFiAy2r77r5u3n+F+hJ+ePFCnP1zCvouGuAiS7vhCKw0T43aF +SApKv9ClOwqwVLht4wj5NI0LjosSzBcaM4eVyJ4K3FBTF3s= +-----END CERTIFICATE----- +-----BEGIN CERTIFICATE----- +MIIE2DCCBEGgAwIBAgIEN0rSQzANBgkqhkiG9w0BAQUFADCBwzELMAkGA1UEBhMC +VVMxFDASBgNVBAoTC0VudHJ1c3QubmV0MTswOQYDVQQLEzJ3d3cuZW50cnVzdC5u +ZXQvQ1BTIGluY29ycC4gYnkgcmVmLiAobGltaXRzIGxpYWIuKTElMCMGA1UECxMc +KGMpIDE5OTkgRW50cnVzdC5uZXQgTGltaXRlZDE6MDgGA1UEAxMxRW50cnVzdC5u +ZXQgU2VjdXJlIFNlcnZlciBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTAeFw05OTA1 +MjUxNjA5NDBaFw0xOTA1MjUxNjM5NDBaMIHDMQswCQYDVQQGEwJVUzEUMBIGA1UE +ChMLRW50cnVzdC5uZXQxOzA5BgNVBAsTMnd3dy5lbnRydXN0Lm5ldC9DUFMgaW5j +b3JwLiBieSByZWYuIChsaW1pdHMgbGlhYi4pMSUwIwYDVQQLExwoYykgMTk5OSBF +bnRydXN0Lm5ldCBMaW1pdGVkMTowOAYDVQQDEzFFbnRydXN0Lm5ldCBTZWN1cmUg +U2VydmVyIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIGdMA0GCSqGSIb3DQEBAQUA +A4GLADCBhwKBgQDNKIM0VBuJ8w+vN5Ex/68xYMmo6LIQaO2f55M28Qpku0f1BBc/ +I0dNxScZgSYMVHINiC3ZH5oSn7yzcdOAGT9HZnuMNSjSuQrfJNqc1lB5gXpa0zf3 +wkrYKZImZNHkmGw6AIr1NJtl+O3jEP/9uElY3KDegjlrgbEWGWG5VLbmQwIBA6OC +AdcwggHTMBEGCWCGSAGG+EIBAQQEAwIABzCCARkGA1UdHwSCARAwggEMMIHeoIHb +oIHYpIHVMIHSMQswCQYDVQQGEwJVUzEUMBIGA1UEChMLRW50cnVzdC5uZXQxOzA5 +BgNVBAsTMnd3dy5lbnRydXN0Lm5ldC9DUFMgaW5jb3JwLiBieSByZWYuIChsaW1p +dHMgbGlhYi4pMSUwIwYDVQQLExwoYykgMTk5OSBFbnRydXN0Lm5ldCBMaW1pdGVk +MTowOAYDVQQDEzFFbnRydXN0Lm5ldCBTZWN1cmUgU2VydmVyIENlcnRpZmljYXRp +b24gQXV0aG9yaXR5MQ0wCwYDVQQDEwRDUkwxMCmgJ6AlhiNodHRwOi8vd3d3LmVu +dHJ1c3QubmV0L0NSTC9uZXQxLmNybDArBgNVHRAEJDAigA8xOTk5MDUyNTE2MDk0 +MFqBDzIwMTkwNTI1MTYwOTQwWjALBgNVHQ8EBAMCAQYwHwYDVR0jBBgwFoAU8Bdi +E1U9s/8KAGv7UISX8+1i0BowHQYDVR0OBBYEFPAXYhNVPbP/CgBr+1CEl/PtYtAa +MAwGA1UdEwQFMAMBAf8wGQYJKoZIhvZ9B0EABAwwChsEVjQuMAMCBJAwDQYJKoZI +hvcNAQEFBQADgYEAkNwwAvpkdMKnCqV8IY00F6j7Rw7/JXyNEwr75Ji174z4xRAN +95K+8cPV1ZVqBLssziY2ZcgxxufuP+NXdYR6Ee9GTxj005i7qIcyunL2POI9n9cd +2cNgQ4xYDiKWL2KjLB+6rQXvqzJ4h6BUcxm1XAX5Uj5tLUUL9wqT6u0G+bI= +-----END CERTIFICATE----- +-----BEGIN CERTIFICATE----- +MIIDSTCCArKgAwIBAgIQfmO9EP9/fYY45sRzhqgfGzANBgkqhkiG9w0BAQUFADBM +MQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkg +THRkLjEWMBQGA1UEAxMNVGhhd3RlIFNHQyBDQTAeFw0wOTA0MDkwMDAwMDBaFw0x +MTA0MTEyMzU5NTlaMIGPMQswCQYDVQQGEwJVUzENMAsGA1UECBMEVXRhaDEWMBQG +A1UEBxMNQW1lcmljYW4gRm9yazEcMBoGA1UEChMTQXV0aG9yaXplLk5ldCBDb3Jw +LjEcMBoGA1UECxMTQVVUSE9SSVpFLk5FVCBDT1JQLjEdMBsGA1UEAxMUc2VjdXJl +LmF1dGhvcml6ZS5uZXQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAN0dh86L +70MHbun7wTNGV0pNXsnebt3z9mCpndLUiBp5J/b57hQO5/HvevkhkDyCrky/Dn7y +4SEJh6RHYuP4ZBk30DS8iH5dWCRHqSQgpMKhUl/+D7KHbVqgPzOpOR44TiSa1P5m +Fv0qicvRR3iwSK/6ESywNvEJk1iiYPnpnnlvAgMBAAGjgecwgeQwDAYDVR0TAQH/ +BAIwADA2BgNVHR8ELzAtMCugKaAnhiVodHRwOi8vY3JsLnRoYXd0ZS5jb20vVGhh +d3RlU0dDQ0EuY3JsMCgGA1UdJQQhMB8GCCsGAQUFBwMBBggrBgEFBQcDAgYJYIZI +AYb4QgQBMHIGCCsGAQUFBwEBBGYwZDAiBggrBgEFBQcwAYYWaHR0cDovL29jc3Au +dGhhd3RlLmNvbTA+BggrBgEFBQcwAoYyaHR0cDovL3d3dy50aGF3dGUuY29tL3Jl +cG9zaXRvcnkvVGhhd3RlX1NHQ19DQS5jcnQwDQYJKoZIhvcNAQEFBQADgYEARa0l +PaGn4TOw3KOMVu8eiSdho4Nmal6u9AWE3rWHDakO2/a1AkZTM2/Wpt6KI3fp6WWK +LSsa9wLoVYSJ6pI7bmiJTvyx42yPP0PZXQSz05PHgTEGyW2jAn4N1hFvbTj28mZT +jv2jd12xgrmX34nulLdydNaM8J7CauhMvqwwvZ0= +-----END CERTIFICATE----- +-----BEGIN CERTIFICATE----- +MIIDIzCCAoygAwIBAgIEMAAAAjANBgkqhkiG9w0BAQUFADBfMQswCQYDVQQGEwJV +UzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xNzA1BgNVBAsTLkNsYXNzIDMgUHVi +bGljIFByaW1hcnkgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMDQwNTEzMDAw +MDAwWhcNMTQwNTEyMjM1OTU5WjBMMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhh +d3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEWMBQGA1UEAxMNVGhhd3RlIFNHQyBD +QTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA1NNn0I0Vf67NMf59HZGhPwtx +PKzMyGT7Y/wySweUvW+Aui/hBJPAM/wJMyPpC3QrccQDxtLN4i/1CWPN/0ilAL/g +5/OIty0y3pg25gqtAHvEZEo7hHUD8nCSfQ5i9SGraTaEMXWQ+L/HbIgbBpV8yeWo +3nWhLHpo39XKHIdYYBkCAwEAAaOB/jCB+zASBgNVHRMBAf8ECDAGAQH/AgEAMAsG +A1UdDwQEAwIBBjARBglghkgBhvhCAQEEBAMCAQYwKAYDVR0RBCEwH6QdMBsxGTAX +BgNVBAMTEFByaXZhdGVMYWJlbDMtMTUwMQYDVR0fBCowKDAmoCSgIoYgaHR0cDov +L2NybC52ZXJpc2lnbi5jb20vcGNhMy5jcmwwMgYIKwYBBQUHAQEEJjAkMCIGCCsG +AQUFBzABhhZodHRwOi8vb2NzcC50aGF3dGUuY29tMDQGA1UdJQQtMCsGCCsGAQUF +BwMBBggrBgEFBQcDAgYJYIZIAYb4QgQBBgpghkgBhvhFAQgBMA0GCSqGSIb3DQEB +BQUAA4GBAFWsY+reod3SkF+fC852vhNRj5PZBSvIG3dLrWlQoe7e3P3bB+noOZTc +q3J5Lwa/q4FwxKjt6lM07e8eU9kGx1Yr0Vz00YqOtCuxN5BICEIlxT6Ky3/rbwTR +bcV0oveifHtgPHfNDs5IAn8BL7abN+AqKjbc1YXWrOU/VG+WHgWv +-----END CERTIFICATE----- +-----BEGIN CERTIFICATE----- +MIICPDCCAaUCEHC65B0Q2Sk0tjjKewPMur8wDQYJKoZIhvcNAQECBQAwXzELMAkG +A1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMTcwNQYDVQQLEy5DbGFz +cyAzIFB1YmxpYyBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTk2 +MDEyOTAwMDAwMFoXDTI4MDgwMTIzNTk1OVowXzELMAkGA1UEBhMCVVMxFzAVBgNV +BAoTDlZlcmlTaWduLCBJbmMuMTcwNQYDVQQLEy5DbGFzcyAzIFB1YmxpYyBQcmlt +YXJ5IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIGfMA0GCSqGSIb3DQEBAQUAA4GN +ADCBiQKBgQDJXFme8huKARS0EN8EQNvjV69qRUCPhAwL0TPZ2RHP7gJYHyX3KqhE +BarsAx94f56TuZoAqiN91qyFomNFx3InzPRMxnVx0jnvT0Lwdd8KkMaOIG+YD/is +I19wKTakyYbnsZogy1Olhec9vn2a/iRFM9x2Fe0PonFkTGUugWhFpwIDAQABMA0G +CSqGSIb3DQEBAgUAA4GBALtMEivPLCYATxQT3ab7/AoRhIzzKBxnki98tsX63/Do +lbwdj2wsqFHMc9ikwFPwTtYmwHYBV4GSXiHx0bH/59AhWM1pF+NEHJwZRDmJXNyc +AA9WjQKZ7aKQRUzkuxCkPfAyAw7xzvjoyVGM5mKf5p/AfbdynMk2OmufTqj/ZA1k +-----END CERTIFICATE----- +-----BEGIN CERTIFICATE----- +MIIFCjCCA/KgAwIBAgIERWua3DANBgkqhkiG9w0BAQUFADCBsDELMAkGA1UEBhMC +VVMxFjAUBgNVBAoTDUVudHJ1c3QsIEluYy4xOTA3BgNVBAsTMHd3dy5lbnRydXN0 +Lm5ldC9DUFMgaXMgaW5jb3Jwb3JhdGVkIGJ5IHJlZmVyZW5jZTEfMB0GA1UECxMW +KGMpIDIwMDYgRW50cnVzdCwgSW5jLjEtMCsGA1UEAxMkRW50cnVzdCBSb290IENl +cnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA5MTIxMDIwNTU0M1oXDTE5MTIxMDIx +MjU0M1owgbExCzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1FbnRydXN0LCBJbmMuMTkw +NwYDVQQLEzB3d3cuZW50cnVzdC5uZXQvcnBhIGlzIGluY29ycG9yYXRlZCBieSBy +ZWZlcmVuY2UxHzAdBgNVBAsTFihjKSAyMDA5IEVudHJ1c3QsIEluYy4xLjAsBgNV +BAMTJUVudHJ1c3QgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkgLSBMMUUwggEiMA0G +CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC2WwRUd90OJGbcKqHbgMxdx1/9UhZY +2l+UBqm4trljDEcgguzHlU6LuHdSaj21h6nW4cx05abIwNRWT40u1gg+DExDPvBB +k15G7znn2WUqDHZQJ71bDTMzB+D3oqmc4REzrWb80ix6qqNzFr6ThXUP1zeM+iO3 +ZPjjTG7tswW94jbbfN52RNqCcna2bv+UodCG9xDNSlqLsHWMZlKATkhMSYOmQNd3 +gRNNXnJ+SEYiqg/iPmWUOOFycf5KcQm6NX9ViT2B1bgoARB3NloQhdK9YIQrSWGU +DN5MQGoqxHlghCSCMmlKmEviVhC6A0VRINPP2o5UG0W2erqXmlrYxtFfAgMBAAGj +ggEnMIIBIzAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAzBggrBgEF +BQcBAQQnMCUwIwYIKwYBBQUHMAGGF2h0dHA6Ly9vY3NwLmVudHJ1c3QubmV0MDMG +A1UdHwQsMCowKKAmoCSGImh0dHA6Ly9jcmwuZW50cnVzdC5uZXQvcm9vdGNhMS5j +cmwwOwYDVR0gBDQwMjAwBgRVHSAAMCgwJgYIKwYBBQUHAgEWGmh0dHA6Ly93d3cu +ZW50cnVzdC5uZXQvQ1BTMB0GA1UdDgQWBBRbQYqyxEPBvb/IVEFVneCWrf+5oTAf +BgNVHSMEGDAWgBRokORnpKZTgMeGZqTx90tD+4S9bTAZBgkqhkiG9n0HQQAEDDAK +GwRWNy4xAwIAgTANBgkqhkiG9w0BAQUFAAOCAQEAsjvSnsG8O0i23NhaGGZTw701 +DUhCLDUB2BCi4uONLLqmAxHta7FJy1/N7GCzutQC62FPTn7435BfTtOQAhxS2hIA +L5tx2gQSFMGQgy4o0hBAEYsmLeuZVVRvYI7Fgx3Aoz/VihQ5ahsN79NadznPabS9 +aW9PeNOhhqObt9f7qi3w+iah+WcsiEulNNWD+0zxW3AiZhubWU9NzpjbQaT+GqPr +OOb58TkCnUa2ycKePoK2H5/KSqixBl8QNDv92nusM07tprdL85H1nAsRktwTasjV +8TttlmsB5CNMscHg0hIhnynUrZU9pvfnMsV1twtX2KT5wOzsMjMMTa7oCNXsqg== +-----END CERTIFICATE----- +-----BEGIN CERTIFICATE----- +MIIEmzCCBASgAwIBAgIEQoctTDANBgkqhkiG9w0BAQUFADCBwzELMAkGA1UEBhMC +VVMxFDASBgNVBAoTC0VudHJ1c3QubmV0MTswOQYDVQQLEzJ3d3cuZW50cnVzdC5u +ZXQvQ1BTIGluY29ycC4gYnkgcmVmLiAobGltaXRzIGxpYWIuKTElMCMGA1UECxMc +KGMpIDE5OTkgRW50cnVzdC5uZXQgTGltaXRlZDE6MDgGA1UEAxMxRW50cnVzdC5u +ZXQgU2VjdXJlIFNlcnZlciBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTAeFw0wNzAx +MDUxOTIwMzlaFw0xNzAxMDUxOTUwMzlaMIGwMQswCQYDVQQGEwJVUzEWMBQGA1UE +ChMNRW50cnVzdCwgSW5jLjE5MDcGA1UECxMwd3d3LmVudHJ1c3QubmV0L0NQUyBp +cyBpbmNvcnBvcmF0ZWQgYnkgcmVmZXJlbmNlMR8wHQYDVQQLExYoYykgMjAwNiBF +bnRydXN0LCBJbmMuMS0wKwYDVQQDEyRFbnRydXN0IFJvb3QgQ2VydGlmaWNhdGlv +biBBdXRob3JpdHkwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC2lbZD +QvrGbSpvSN+UTDlXBe7DeRFBaDbt7P6aAY+hOCj89xBGZi5NHhqxGk7G0cCViLDJ +/zGLMwPbt4N7PiCEXu2yViin+OC5QHE3xctHDpcqaMAilWIV20fZ9dAr/4JLya0+ +3kzbkIBQPwmKhADsMAo9GM37/SpZmiOVFyxFnh9uQ3ltDFyY/kinxSNHXF79buce +tPZoRdGGg1uiio2x4ymA/iVxiK2+vI+sUpZLqlGN5BMxGehOTZ/brLNq1bw5VHHK +enp/kN19HYDZgbtZJsIR/uaT4veA5GX7NDcOKYBwTa84hi6ef1evnheu6xzLKCFf +thzY56IEIvnT2tjLAgMBAAGjggEnMIIBIzAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0T +AQH/BAUwAwEB/zAzBggrBgEFBQcBAQQnMCUwIwYIKwYBBQUHMAGGF2h0dHA6Ly9v +Y3NwLmVudHJ1c3QubmV0MDMGA1UdHwQsMCowKKAmoCSGImh0dHA6Ly9jcmwuZW50 +cnVzdC5uZXQvc2VydmVyMS5jcmwwOwYDVR0gBDQwMjAwBgRVHSAAMCgwJgYIKwYB +BQUHAgEWGmh0dHA6Ly93d3cuZW50cnVzdC5uZXQvQ1BTMB0GA1UdDgQWBBRokORn +pKZTgMeGZqTx90tD+4S9bTAfBgNVHSMEGDAWgBTwF2ITVT2z/woAa/tQhJfz7WLQ +GjAZBgkqhkiG9n0HQQAEDDAKGwRWNy4xAwIAgTANBgkqhkiG9w0BAQUFAAOBgQAM +sIR8LRP+mj2/GAWVPSBIoxaBhxVQFaSIjZ9g1Dpv6y1uOoakqdLBnYl6CBykLbNH +jg9kSm9mA4M/TzSUNqopbYuNAiIrjM13pXCVhpHRtr9SvjNqa5n5b+ESvgTLM7/1 +EhpORLpbFk0wufO0dM5u8mhWWN3Yof1UBfQjkYXJ+Q== +-----END CERTIFICATE----- +-----BEGIN CERTIFICATE----- +MIIFdDCCBFygAwIBAgIETCA3bTANBgkqhkiG9w0BAQUFADCBsTELMAkGA1UE +BhMCVVMxFjAUBgNVBAoTDUVudHJ1c3QsIEluYy4xOTA3BgNVBAsTMHd3dy5l +bnRydXN0Lm5ldC9ycGEgaXMgaW5jb3Jwb3JhdGVkIGJ5IHJlZmVyZW5jZTEf +MB0GA1UECxMWKGMpIDIwMDkgRW50cnVzdCwgSW5jLjEuMCwGA1UEAxMlRW50 +cnVzdCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSAtIEwxRTAeFw0xMTAzMjMx +NjQ4MzhaFw0xMzAzMjIyMzE4MDFaMIH4MQswCQYDVQQGEwJVUzETMBEGA1UE +CBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzETMBEGCysG +AQQBgjc8AgEDEwJVUzEZMBcGCysGAQQBgjc8AgECEwhEZWxhd2FyZTEgMB4G +A1UEChMXQ3liZXJzb3VyY2UgQ29ycG9yYXRpb24xHTAbBgNVBA8TFFByaXZh +dGUgT3JnYW5pemF0aW9uMRwwGgYDVQQLExNBVVRIT1JJWkUuTkVUIENPUlAu +MS0wDgYDVQQFEwcyODM4OTIxMBsGA1UEAxMUc2VjdXJlLmF1dGhvcml6ZS5u +ZXQwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCvrwbLk7kDJnja +13i9lcXhYlHIwCTKHegPRuAkGDO6hNH0yNVv10kQSWjKhZ6KnoEA2p0F92FN +HwFTUfm0QGlaXW9kPc8nUi94hgY05iYwh96FHNdibqeO2r73GGol/RJkUO69 +ekqP1f+ABi7qWguL29cadX1DmOVQSkIeWc0xn9IVgS8dxnDzKwJ+41M5gLfM +YAJQ/FOwjOpt0j/Kg+38iHZ71FM7ehceYFggn+7y0ZcAcDUx4l6sKBuqFXq7 +viMqP2/Np0TpzmJMi2X8Wy0FDYoilHb9qBJWkl2AYxfjLTTSu27OMAJYyvEM +RmjOkLn7hQBPoSE6u3UKevtF2WPtAgMBAAGjggFJMIIBRTALBgNVHQ8EBAMC +BaAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMDMGCCsGAQUFBwEB +BCcwJTAjBggrBgEFBQcwAYYXaHR0cDovL29jc3AuZW50cnVzdC5uZXQwMwYD +VR0fBCwwKjAooCagJIYiaHR0cDovL2NybC5lbnRydXN0Lm5ldC9sZXZlbDFl +LmNybDBBBgNVHSAEOjA4MDYGCmCGSAGG+mwKAQIwKDAmBggrBgEFBQcCARYa +aHR0cDovL3d3dy5lbnRydXN0Lm5ldC9ycGEwHwYDVR0RBBgwFoIUc2VjdXJl +LmF1dGhvcml6ZS5uZXQwHwYDVR0jBBgwFoAUW0GKssRDwb2/yFRBVZ3glq3/ +uaEwHQYDVR0OBBYEFGZazQ8qcWqAiT+oFpV/D7WTbcGlMAkGA1UdEwQCMAAw +DQYJKoZIhvcNAQEFBQADggEBAEG1lvV2JQXDXRmEXkDp5qpF6uj1eNfffViE +QR6XCLPWIuaEcgnieTfFzRPEYbxzUY9jCqM62U37hUTDdMKjZas7fwaZ8RjE +wQASNPrIsHFsXEb0Nbz58g3cY00teCH3qQ9N9uW3TC+OXiSz9aSBxYkHD/63 +2D1rzaZLVHXUoReMMbjwf69zLDN7qsy6VDksHMVjqQugZF0ZCLFPPH5jfdAx +sOtocx7eyUovzO387ve8UMTdw6Anr9Ai7iVaYf4MpMqcuaHVet3QeE97Koy1 +mT3q9FmUGbXM+nCqSs/TQ4jSqOo4zqDnkK/cOgbzjsuJJZ/rCPSxaKvz3b/n +wMWH7kM= +-----END CERTIFICATE----- \ No newline at end of file diff --git a/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/tests/AuthorizeNetAIM_Test.php b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/tests/AuthorizeNetAIM_Test.php new file mode 100644 index 0000000..03e9628 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/tests/AuthorizeNetAIM_Test.php @@ -0,0 +1,846 @@ +setFields( + array( + 'amount' => rand(1, 1000), + 'card_num' => '4111111111111111', + 'exp_date' => '0415' + ) + ); + $response = $sale->authorizeAndCapture(); + $this->assertTrue($response->approved); + } + + public function testAuthCaptureAlternate() + { + $sale = new AuthorizeNetAIM; + $sale->amount = rand(1, 10000); + $sale->card_num = '6011000000000012'; + $sale->exp_date = '04/15'; + $response = $sale->authorizeAndCapture(); + $this->assertTrue($response->approved); + } + + public function testAuthCaptureShort() + { + $sale = new AuthorizeNetAIM; + $response = $sale->authorizeAndCapture(rand(1, 100), '6011000000000012', '04/16'); + $this->assertTrue($response->approved); + } + + public function testAuthCapturePartial() + { + $amount = 3.69; + + $sale = new AuthorizeNetAIM; + $sale->amount = $amount; + $sale->card_num = '4222222222222'; + $sale->zip = "46225"; + $sale->exp_date = '04/15'; + $sale->allow_partial_auth = true; + $response = $sale->authorizeAndCapture(); + $this->assertTrue($response->held); + $this->assertEquals("1.23", $response->amount); + $this->assertEquals($amount, $response->requested_amount); + $split_tender_id = $response->split_tender_id; + + // Pay the balance with a different card + $sale = new AuthorizeNetAIM; + $sale->amount = $amount - $response->amount; + $sale->card_num = '6011000000000012'; + $sale->exp_date = '04/20'; + $sale->split_tender_id = $split_tender_id; + $sale->allow_partial_auth = true; + $response = $sale->authorizeAndCapture(); + $this->assertTrue($response->approved); + + + } + + public function testAuthCaptureShortNoVerify() + { + $sale = new AuthorizeNetAIM; + $sale->VERIFY_PEER = false; + $response = $sale->authorizeAndCapture(rand(1, 100), '6011000000000012', '04/19'); + $this->assertTrue($response->approved); + } + + // public function testVisaVerify() + // { + // return; // Remove to enable test + // $verify = new AuthorizeNetAIM; + // $verify->amount = "0.00"; + // $verify->card_num = '4012888818888'; + // $verify->exp_date = "0517"; + // $verify->address = "123 Main Street"; + // $verify->zip = "94110"; + // $verify->authentication_indicator = "5"; + // $verify->cardholder_authentication_value = "512"; + // $response = $verify->authorizeOnly(); + // $this->assertTrue($response->approved); + // } + // + // public function testVisaVerifyFail() + // { + // return; // Remove to enable test + // $verify = new AuthorizeNetAIM; + // $verify->amount = "0.00"; + // $verify->card_num = '4012888818888'; + // $verify->exp_date = "0517"; + // $verify->address = "123 Main Street"; + // $verify->zip = "94110"; + // $verify->authentication_indicator = "5"; + // $verify->cardholder_authentication_value = ""; + // $response = $verify->authorizeOnly(); + // $this->assertTrue($response->declined); + // } + // + // public function testMastercardVerify() + // { + // return; // Remove to enable test + // $verify = new AuthorizeNetAIM; + // $verify->amount = "0.00"; + // $verify->card_num = '5424000000000015'; + // $verify->exp_date = "0517"; + // $verify->address = "123 Main Street"; + // $verify->zip = "94110"; + // $verify->authentication_indicator = "2"; + // $verify->cardholder_authentication_value = "512"; + // $response = $verify->authorizeOnly(); + // $this->assertTrue($response->approved); + // } + // + // public function testMastercardVerifyFail() + // { + // return; // Remove to enable test + // $verify = new AuthorizeNetAIM; + // $verify->amount = "0.00"; + // $verify->card_num = '5424000000000015'; + // $verify->exp_date = "0517"; + // $verify->address = "123 Main Street"; + // $verify->zip = "94110"; + // $verify->authentication_indicator = "2"; + // $verify->cardholder_authentication_value = ""; + // $response = $verify->authorizeOnly(); + // $this->assertTrue($response->declined); + // } + + public function testAimResponseFields() + { + + $sale = new AuthorizeNetAIM; + $sale->card_num = '4111111111111111'; + $sale->exp_date = '04/16'; + $sale->amount = $amount = rand(1,99); + $sale->description = $description = "Sale description"; + $sale->first_name = $first_name = "Jane"; + $sale->last_name = $last_name = "Smith"; + $sale->company = $company = "Jane Smith Enterprises Inc."; + $sale->address = $address = "20 Main Street"; + $sale->city = $city = "San Francisco"; + $sale->state = $state = "CA"; + $sale->zip = $zip = "94110"; + $sale->country = $country = "US"; + $sale->phone = $phone = "415-555-5557"; + $sale->fax = $fax = "415-555-5556"; + $sale->email = $email = "foo@example.com"; + $sale->cust_id = $customer_id = "55"; + $sale->customer_ip = "98.5.5.5"; + $sale->invoice_num = $invoice_number = "123"; + $sale->ship_to_first_name = $ship_to_first_name = "John"; + $sale->ship_to_last_name = $ship_to_last_name = "Smith"; + $sale->ship_to_company = $ship_to_company = "Smith Enterprises Inc."; + $sale->ship_to_address = $ship_to_address = "10 Main Street"; + $sale->ship_to_city = $ship_to_city = "San Francisco"; + $sale->ship_to_state = $ship_to_state = "CA"; + $sale->ship_to_zip = $ship_to_zip_code = "94110"; + $sale->ship_to_country = $ship_to_country = "US"; + $sale->tax = $tax = "0.00"; + $sale->freight = $freight = "Freight<|>ground overnight<|>12.95"; + $sale->duty = $duty = "Duty1<|>export<|>15.00"; + $sale->tax_exempt = $tax_exempt = "FALSE"; + $sale->po_num = $po_num = "12"; + + + + $response = $sale->authorizeAndCapture(); + $this->assertTrue($response->approved); + $this->assertEquals("1", $response->response_code); + $this->assertEquals("1", $response->response_subcode); + $this->assertEquals("1", $response->response_reason_code); + $this->assertEquals("This transaction has been approved.", $response->response_reason_text); + $this->assertGreaterThan(1, strlen($response->authorization_code)); + $this->assertEquals("Y", $response->avs_response); + $this->assertGreaterThan(1, strlen($response->transaction_id)); + $this->assertEquals($invoice_number, $response->invoice_number); + $this->assertEquals($description, $response->description); + $this->assertEquals($amount, $response->amount); + $this->assertEquals("CC", $response->method); + $this->assertEquals("auth_capture", $response->transaction_type); + $this->assertEquals($customer_id, $response->customer_id); + $this->assertEquals($first_name, $response->first_name); + $this->assertEquals($last_name, $response->last_name); + $this->assertEquals($company, $response->company); + $this->assertEquals($address, $response->address); + $this->assertEquals($city, $response->city); + $this->assertEquals($state, $response->state); + $this->assertEquals($zip, $response->zip_code); + $this->assertEquals($country, $response->country); + $this->assertEquals($phone, $response->phone); + $this->assertEquals($fax, $response->fax); + $this->assertEquals($email, $response->email_address); + $this->assertEquals($ship_to_first_name, $response->ship_to_first_name); + $this->assertEquals($ship_to_last_name, $response->ship_to_last_name); + $this->assertEquals($ship_to_company, $response->ship_to_company); + $this->assertEquals($ship_to_address, $response->ship_to_address); + $this->assertEquals($ship_to_city, $response->ship_to_city); + $this->assertEquals($ship_to_state, $response->ship_to_state); + $this->assertEquals($ship_to_zip_code, $response->ship_to_zip_code); + $this->assertEquals($ship_to_country, $response->ship_to_country); + $this->assertEquals($tax, $response->tax); + $this->assertEquals("15.00", $response->duty); + $this->assertEquals("12.95", $response->freight); + $this->assertEquals($tax_exempt, $response->tax_exempt); + $this->assertEquals($po_num, $response->purchase_order_number); + $this->assertGreaterThan(1, strlen($response->md5_hash)); + $this->assertEquals("", $response->card_code_response); + $this->assertEquals("2", $response->cavv_response); + $this->assertEquals("XXXX1111", $response->account_number); + $this->assertEquals("Visa", $response->card_type); + $this->assertEquals("", $response->split_tender_id); + $this->assertEquals("", $response->requested_amount); + $this->assertEquals("", $response->balance_on_card); + + + } + + + public function testVoid() + { + // First create transaction to void. + $amount = rand(1, 1000); + $sale = new AuthorizeNetAIM; + $sale->setFields( + array( + 'amount' => $amount, + 'card_num' => '6011000000000012', + 'exp_date' => '0415' + ) + ); + $response = $sale->authorizeAndCapture(); + $this->assertTrue($response->approved); + + $void = new AuthorizeNetAIM; + $void->setFields( + array( + 'amount' => $amount, + 'card_num' => '6011000000000012', + 'trans_id' => $response->transaction_id, + ) + ); + $void_response = $void->Void(); + $this->assertTrue($void_response->approved); + } + + public function testVoidShort() + { + // First create transaction to void. + $amount = rand(1, 1000); + $card_num = '6011000000000012'; + $exp_date = '0415'; + $sale = new AuthorizeNetAIM; + $response = $sale->authorizeAndCapture($amount, $card_num, $exp_date); + $this->assertTrue($response->approved); + + $void = new AuthorizeNetAIM; + $void_response = $void->void($response->transaction_id); + $this->assertTrue($void_response->approved); + } + + public function testAuthCaptureECheckSandbox() + { + $sale = new AuthorizeNetAIM; + $sale->setFields( + array( + 'amount' => rand(1, 1000), + 'method' => 'echeck', + 'bank_aba_code' => '121042882', + 'bank_acct_num' => '123456789123', + 'bank_acct_type' => 'CHECKING', + 'bank_name' => 'Bank of Earth', + 'bank_acct_name' => 'Jane Doe', + 'echeck_type' => 'WEB', + ) + ); + $response = $sale->authorizeAndCapture(); + $this->assertEquals("ECHECK", $response->method); + $this->assertTrue($response->approved); + + } + + public function testAmex() + { + $sale = new AuthorizeNetAIM; + $response = $sale->authorizeAndCapture(rand(1, 100), '370000000000002', '04/16'); + $this->assertTrue($response->approved); + } + + public function testDiscover() + { + $sale = new AuthorizeNetAIM; + $response = $sale->authorizeAndCapture(rand(1, 100), '6011000000000012', '04/16'); + $this->assertTrue($response->approved); + } + + public function testVisa() + { + $sale = new AuthorizeNetAIM; + $response = $sale->authorizeAndCapture(rand(1, 100), '4012888818888', '04/16'); + $this->assertTrue($response->approved); + } + + // public function testJCB() + // { + // return; // Remove to enable test + // $sale = new AuthorizeNetAIM; + // $response = $sale->authorizeAndCapture(rand(1, 100), '3088000000000017', '0905'); + // $this->assertTrue($response->approved); + // } + // + // public function testDinersClub() + // { + // return; // Remove to enable test + // $sale = new AuthorizeNetAIM; + // $response = $sale->authorizeAndCapture(rand(1, 100), '38000000000006', '0905'); + // $this->assertTrue($response->approved); + // } + + public function testAuthOnly() + { + $auth = new AuthorizeNetAIM; + $auth->setFields( + array( + 'amount' => rand(1, 1000), + 'card_num' => '6011000000000012', + 'exp_date' => '0415' + ) + ); + $response = $auth->authorizeOnly(); + $this->assertTrue($response->approved); + } + + public function testAuthCaptureVoid() + { + $amount = rand(1, 1000); + $auth = new AuthorizeNetAIM; + $auth->setFields( + array( + 'amount' => $amount, + 'card_num' => '6011000000000012', + 'exp_date' => '0415' + ) + ); + $auth_response = $auth->authorizeOnly(); + $this->assertTrue($auth_response->approved); + + // Now capture. + $capture = new AuthorizeNetAIM; + $capture->setFields( + array( + 'amount' => $amount, + 'card_num' => '6011000000000012', + 'exp_date' => '0415', + 'trans_id' => $auth_response->transaction_id, + ) + ); + $capture_response = $capture->priorAuthCapture(); + $this->assertTrue($capture_response->approved); + + // Now void + $void = new AuthorizeNetAIM; + $void->setFields( + array( + 'amount' => $amount, + 'card_num' => '0012', + 'trans_id' => $auth_response->transaction_id, + ) + ); + $void_response = $void->void(); + $this->assertTrue($void_response->approved); + } + + // public function testCredit() + // { + // + // } + // + // public function testPriorAuthCapture() + // { + // + // } + // + // public function testCaptureOnly() + // { + // + // } + + public function testAdvancedAIM() + { + $auth = new AuthorizeNetAIM; + $auth->amount = "45.00"; + + // Use eCheck: + $auth->setECheck( + '121042882', + '123456789123', + 'CHECKING', + 'Bank of Earth', + 'Jane Doe', + 'WEB' + ); + + // Set multiple line items: + $auth->addLineItem('item1', 'Golf tees', 'Blue tees', '2', '5.00', 'N'); + $auth->addLineItem('item2', 'Golf shirt', 'XL', '1', '40.00', 'N'); + + // Set Invoice Number: + $auth->invoice_num = time(); + + // Set a Merchant Defined Field: + $auth->setCustomField("entrance_source", "Search Engine"); + + // Authorize Only: + $response = $auth->authorizeOnly(); + $this->assertTrue($response->approved); + if ($response->approved) { + $auth_code = $response->transaction_id; + + // Now capture: + $capture = new AuthorizeNetAIM; + $capture_response = $capture->priorAuthCapture($auth_code); + $this->assertTrue($capture_response->approved); + + // Now void: + $void = new AuthorizeNetAIM; + $void_response = $void->void($capture_response->transaction_id); + $this->assertTrue($void_response->approved); + } + } + + public function testAuthCaptureCustomFields() + { + $sale = new AuthorizeNetAIM; + $sale->setFields( + array( + 'amount' => rand(1, 1000), + 'card_num' => '6011000000000012', + 'exp_date' => '0415' + ) + ); + $sale->setCustomField("foo", "bar"); + $sale->setCustomField("foo2", "bar2"); + $sale->setCustomField("foo3", "bar3"); + $sale->setCustomField("foo4", "bar4"); + $sale->setCustomField("foo5", "bar5"); + $sale->setCustomField("My_MerchantField6", "My Merchant Value6"); + $sale->setCustomField("foo7", "bar7"); + $response = $sale->authorizeAndCapture(); + $this->assertTrue($response->approved); + $this->assertEquals("bar", $response->foo); + $this->assertEquals("bar2", $response->foo2); + } + + public function testEncapCharacter() + { + $description = "john doe's present, with comma"; + $amount = rand(1, 1000); + $sale = new AuthorizeNetAIM; + $sale->setFields( + array( + 'amount' => $amount, + 'card_num' => '6011000000000012', + 'exp_date' => '0415', + 'encap_char' => '$', + 'description' => $description, + ) + ); + $response = $sale->authorizeAndCapture(); + $this->assertTrue($response->approved); + $this->assertEquals($amount, $response->amount); + $this->assertEquals($description, $response->description); + } + + public function testAuthCaptureSetMultipleCustomFields() + { + $sale = new AuthorizeNetAIM; + $sale->setFields( + array( + 'amount' => rand(1, 1000), + 'card_num' => '6011000000000012', + 'exp_date' => '0415' + ) + ); + $sale->setCustomFields(array("foo" => "bar", "foo2" => "bar2")); + $response = $sale->authorizeAndCapture(); + $this->assertTrue($response->approved); + $this->assertEquals("bar", $response->foo); + $this->assertEquals("bar2", $response->foo2); + } + + public function testInvalidMerchantCredentials() + { + $auth = new AuthorizeNetAIM('d', 'd'); + $response = $auth->AuthorizeOnly(); + $this->assertTrue($response->error); + $this->assertEquals($response->response_subcode, 2); + $this->assertEquals($response->response_reason_code, 13); + } + + public function testInvalidCreditCard() + { + $sale = new AuthorizeNetAIM; + $sale->setFields( + array( + 'amount' => rand(1, 1000), + 'card_num' => '123', + 'exp_date' => '0415' + ) + ); + $response = $sale->authorizeAndCapture(); + $this->assertFalse($response->approved); + $this->assertTrue($response->error); + } + + public function testError() + { + $sale = new AuthorizeNetAIM; + $sale->unsetField("login"); + $sale->unsetField("tran_key"); + $sale->unsetField("delim_data"); + + $sale->unsetField("version"); + $sale->unsetField("relay_response"); + + $response = $sale->authorizeAndCapture(); + // An exception should have been thrown. + $this->assertFalse($response->approved); + $this->assertTrue($response->error); + + } + + public function testMultipleLineItems() + { + $merchant = (object)array(); + $merchant->login = AUTHORIZENET_API_LOGIN_ID; + $merchant->tran_key = AUTHORIZENET_TRANSACTION_KEY; + $merchant->allow_partial_auth = "false"; + + $creditCard = array( + 'exp_date' => '02/2012', + 'card_num' => '6011000000000012', + 'card_code' => '452', + ); + + $transaction = array( + 'amount' => rand(100, 1000), + 'duplicate_window' => '10', + // 'email_customer' => 'true', + 'footer_email_receipt' => 'thank you for your business!', + 'header_email_receipt' => 'a copy of your receipt is below', + ); + + $order = array( + 'description' => 'Johns Bday Gift', + 'invoice_num' => '3123', + 'line_item' => 'item1<|>golf balls<|><|>2<|>18.95<|>Y', + ); + + $customer = (object)array(); + $customer->first_name = "Jane"; + $customer->last_name = "Smith"; + $customer->company = "Jane Smith Enterprises Inc."; + $customer->address = "20 Main Street"; + $customer->city = "San Francisco"; + $customer->state = "CA"; + $customer->zip = "94110"; + $customer->country = "US"; + $customer->phone = "415-555-5557"; + $customer->fax = "415-555-5556"; + $customer->email = "foo@example.com"; + $customer->cust_id = "55"; + $customer->customer_ip = "98.5.5.5"; + + $shipping_info = (object)array(); + $shipping_info->ship_to_first_name = "John"; + $shipping_info->ship_to_last_name = "Smith"; + $shipping_info->ship_to_company = "Smith Enterprises Inc."; + $shipping_info->ship_to_address = "10 Main Street"; + $shipping_info->ship_to_city = "San Francisco"; + $shipping_info->ship_to_state = "CA"; + $shipping_info->ship_to_zip = "94110"; + $shipping_info->ship_to_country = "US"; + $shipping_info->tax = "CA"; + $shipping_info->freight = "Freight<|>ground overnight<|>12.95"; + $shipping_info->duty = "Duty1<|>export<|>15.00"; + $shipping_info->tax_exempt = "false"; + $shipping_info->po_num = "12"; + + $sale = new AuthorizeNetAIM; + $sale->setFields($creditCard); + $sale->setFields($shipping_info); + $sale->setFields($customer); + $sale->setFields($order); + $sale->setFields($merchant); + $sale->setFields($transaction); + + $sale->addLineItem('item2', 'golf tees', 'titanium tees', '2', '2.95', 'Y'); + $sale->addLineItem('item3', 'golf shirt', 'red, large', '2', '3.95', 'Y'); + + $response = $sale->authorizeAndCapture(); + + $this->assertTrue($response->approved); + } + + public function testAllFieldsLongMethod() + { + $merchant = (object)array(); + $merchant->login = AUTHORIZENET_API_LOGIN_ID; + $merchant->tran_key = AUTHORIZENET_TRANSACTION_KEY; + $merchant->allow_partial_auth = "false"; + + $creditCard = array( + 'exp_date' => '02/2012', + 'card_num' => '6011000000000012', + 'card_code' => '452', + ); + + $transaction = array( + 'amount' => rand(100, 1000), + 'duplicate_window' => '10', + // 'email_customer' => 'true', + 'footer_email_receipt' => 'thank you for your business!', + 'header_email_receipt' => 'a copy of your receipt is below', + ); + + $order = array( + 'description' => 'Johns Bday Gift', + 'invoice_num' => '3123', + 'line_item' => 'item1<|>golf balls<|><|>2<|>18.95<|>Y', + ); + + $customer = (object)array(); + $customer->first_name = "Jane"; + $customer->last_name = "Smith"; + $customer->company = "Jane Smith Enterprises Inc."; + $customer->address = "20 Main Street"; + $customer->city = "San Francisco"; + $customer->state = "CA"; + $customer->zip = "94110"; + $customer->country = "US"; + $customer->phone = "415-555-5557"; + $customer->fax = "415-555-5556"; + $customer->email = "foo@example.com"; + $customer->cust_id = "55"; + $customer->customer_ip = "98.5.5.5"; + + $shipping_info = (object)array(); + $shipping_info->ship_to_first_name = "John"; + $shipping_info->ship_to_last_name = "Smith"; + $shipping_info->ship_to_company = "Smith Enterprises Inc."; + $shipping_info->ship_to_address = "10 Main Street"; + $shipping_info->ship_to_city = "San Francisco"; + $shipping_info->ship_to_state = "CA"; + $shipping_info->ship_to_zip = "94110"; + $shipping_info->ship_to_country = "US"; + $shipping_info->tax = "CA"; + $shipping_info->freight = "Freight<|>ground overnight<|>12.95"; + $shipping_info->duty = "Duty1<|>export<|>15.00"; + $shipping_info->tax_exempt = "false"; + $shipping_info->po_num = "12"; + + $sale = new AuthorizeNetAIM; + $sale->setFields($creditCard); + $sale->setFields($shipping_info); + $sale->setFields($customer); + $sale->setFields($order); + $sale->setFields($merchant); + $sale->setFields($transaction); + $response = $sale->authorizeAndCapture(); + + $this->assertTrue($response->approved); + } + + public function testResponseMethods() + { + $amount = rand(1, 1000); + $zipcode = "02301"; + + $sale = new AuthorizeNetAIM; + $sale->setFields( + array( + 'amount' => $amount, + 'card_num' => '6011000000000012', + 'exp_date' => '0415', + 'zip' => $zipcode, + ) + ); + + $sale->setCustomField("custom1", "custom1value"); + $sale->setCustomField("custom2", "custom2value"); + $result = $sale->authorizeAndCapture(); + $this->assertTrue($result->approved); + + $this->assertEquals("custom2value", $result->custom2); + $this->assertEquals($amount, $result->amount); + $this->assertEquals("CC", $result->method); + $this->assertEquals("auth_capture", $result->transaction_type); + $this->assertEquals("Discover", $result->card_type); + $this->assertEquals($zipcode, $result->zip_code); + } + + public function testSetBadField() + { + try { + $amount = rand(1, 1000); + $zipcode = "02301"; + + $sale = new AuthorizeNetAIM; + $sale->setFields( + array( + 'amount' => $amount, + 'card_num' => '6011000000000012', + 'exp_date' => '0415', + 'zipcode' => $zipcode, // Should actually be just "zip" + ) + ); + + $result = $sale->authorizeAndCapture(); + $this->assertTrue($result->approved); + // should have thrown an exception by now + $this->assertFalse(true); + } + catch (AuthorizeNetException $e){ + $this->assertTrue(true); + + } + } + +} + + +class AuthorizeNetAIM_Live_Test extends PHPUnit_Framework_TestCase +{ + + public function testAuthCaptureSetECheckMethod() + { + if (MERCHANT_LIVE_API_LOGIN_ID) { + // $this->markTestIncomplete('Depends on whether eChecks is enabled'); + $sale = new AuthorizeNetAIM(MERCHANT_LIVE_API_LOGIN_ID,MERCHANT_LIVE_TRANSACTION_KEY); + $sale->setSandbox(false); + $sale->test_request = 'TRUE'; + $sale->amount = "4.99"; + $sale->setECheck( + '121042882', + '123456789123', + 'CHECKING', + 'Bank of Earth', + 'Jane Doe', + 'WEB' + ); + $response = $sale->authorizeAndCapture(); + $this->assertEquals("ECHECK", $response->method); + $this->assertEquals("18", $response->response_reason_code); + // $this->assertTrue($response->approved); + } + } + + public function testAuthCaptureECheck() + { + if (MERCHANT_LIVE_API_LOGIN_ID) { + // $this->markTestIncomplete('Depends on whether eChecks is enabled'); + $sale = new AuthorizeNetAIM(MERCHANT_LIVE_API_LOGIN_ID,MERCHANT_LIVE_TRANSACTION_KEY); + $sale->setSandbox(false); + $sale->test_request = 'TRUE'; + $sale->setFields( + array( + 'amount' => rand(1, 1000), + 'method' => 'echeck', + 'bank_aba_code' => '121042882', + 'bank_acct_num' => '123456789123', + 'bank_acct_type' => 'CHECKING', + 'bank_name' => 'Bank of Earth', + 'bank_acct_name' => 'Jane Doe', + 'echeck_type' => 'WEB', + ) + ); + $response = $sale->authorizeAndCapture(); + $this->assertEquals("ECHECK", $response->method); + $this->assertEquals("18", $response->response_reason_code); + // $this->assertTrue($response->approved); + } + } + + public function testAuthCaptureLiveServerTestRequest() + { + if (MERCHANT_LIVE_API_LOGIN_ID) { + $sale = new AuthorizeNetAIM(MERCHANT_LIVE_API_LOGIN_ID,MERCHANT_LIVE_TRANSACTION_KEY); + $sale->setSandbox(false); + $sale->setFields( + array( + 'amount' => rand(1, 1000), + 'card_num' => '6011000000000012', + 'exp_date' => '0415' + ) + ); + $sale->setField('test_request', 'TRUE'); + $response = $sale->authorizeAndCapture(); + $this->assertTrue($response->approved); + } + } + + public function testAuthCaptureLiveServer() + { + if (MERCHANT_LIVE_API_LOGIN_ID) { + $sale = new AuthorizeNetAIM(MERCHANT_LIVE_API_LOGIN_ID,MERCHANT_LIVE_TRANSACTION_KEY); + $sale->setSandbox(false); + $sale->test_request = 'TRUE'; + $sale->setFields( + array( + 'amount' => rand(1, 1000), + 'card_num' => '6011000000000012', + 'exp_date' => '0415' + ) + ); + $response = $sale->authorizeAndCapture(); + $this->assertTrue($response->approved); + } + } + + public function testInvalidCredentials() + { + if (MERCHANT_LIVE_API_LOGIN_ID) { + // Post a response to live server using invalid credentials. + $sale = new AuthorizeNetAIM('a','a'); + $sale->setSandbox(false); + $sale->setFields( + array( + 'amount' => rand(1, 1000), + 'card_num' => '6011000000000012', + 'exp_date' => '0415' + ) + ); + $response = $sale->authorizeAndCapture(); + $this->assertTrue($response->error); + $this->assertEquals("13", $response->response_reason_code); + } + } + +} \ No newline at end of file diff --git a/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/tests/AuthorizeNetARB_Test.php b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/tests/AuthorizeNetARB_Test.php new file mode 100644 index 0000000..ef120af --- /dev/null +++ b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/tests/AuthorizeNetARB_Test.php @@ -0,0 +1,201 @@ +name = "Short subscription"; + $subscription->intervalLength = "1"; + $subscription->intervalUnit = "months"; + $subscription->startDate = "2011-03-12"; + $subscription->totalOccurrences = "14"; + $subscription->amount = rand(1,100); + $subscription->creditCardCardNumber = "6011000000000012"; + $subscription->creditCardExpirationDate = "2018-10"; + $subscription->creditCardCardCode = "123"; + $subscription->billToFirstName = "john"; + $subscription->billToLastName = "doe"; + + // Create the subscription. + $request = new AuthorizeNetARB; + $response = $request->createSubscription($subscription); + $this->assertTrue($response->isOk()); + $subscription_id = $response->getSubscriptionId(); + + // Get the subscription status + $status_request = new AuthorizeNetARB; + $status_response = $status_request->getSubscriptionStatus($subscription_id); + $this->assertEquals("active",$status_response->getSubscriptionStatus()); + + // Update the subscription + $update_request = new AuthorizeNetARB; + $updated_subscription_info = new AuthorizeNet_Subscription; + $updated_subscription_info->billToFirstName = "jane"; + $updated_subscription_info->billToLastName = "smith"; + $updated_subscription_info->creditCardCardNumber = "6011000000000012"; + $updated_subscription_info->creditCardExpirationDate = "2019-10"; + $updated_subscription_info->creditCardCardCode = "423"; + $update_response = $update_request->updateSubscription($subscription_id, $updated_subscription_info); + $this->assertTrue($update_response->isOk()); + + // Cancel the subscription + $cancellation = new AuthorizeNetARB; + $cancel_response = $cancellation->cancelSubscription($subscription_id); + $this->assertTrue($cancel_response->isOk()); + + // Get the subscription status + $status_request = new AuthorizeNetARB; + $status_response = $status_request->getSubscriptionStatus($subscription_id); + $this->assertEquals("canceled", $status_response->getSubscriptionStatus()); + + } + + + public function testCreateSubscriptionLong() + { + + $subscription = new AuthorizeNet_Subscription; + $subscription->name = "test subscription"; + $subscription->intervalLength = "1"; + $subscription->intervalUnit = "months"; + $subscription->startDate = "2015-03-12"; + $subscription->totalOccurrences = "14"; + $subscription->trialOccurrences = ""; + $subscription->amount = "6.99"; + $subscription->trialAmount = ""; + $subscription->creditCardCardNumber = "6011000000000012"; + $subscription->creditCardExpirationDate = "2018-10"; + $subscription->creditCardCardCode = "123"; + $subscription->bankAccountAccountType = ""; + $subscription->bankAccountRoutingNumber = ""; + $subscription->bankAccountAccountNumber = ""; + $subscription->bankAccountNameOnAccount = ""; + $subscription->bankAccountEcheckType = ""; + $subscription->bankAccountBankName = ""; + $subscription->orderInvoiceNumber = ""; + $subscription->orderDescription = ""; + $subscription->customerId = "12"; + $subscription->customerEmail = "foo@domain.com"; + $subscription->customerPhoneNumber = ""; + $subscription->customerFaxNumber = ""; + $subscription->billToFirstName = "john"; + $subscription->billToLastName = "doe"; + $subscription->billToCompany = ""; + $subscription->billToAddress = ""; + $subscription->billToCity = ""; + $subscription->billToState = ""; + $subscription->billToZip = ""; + $subscription->billToCountry = ""; + $subscription->shipToFirstName = ""; + $subscription->shipToLastName = ""; + $subscription->shipToCompany = ""; + $subscription->shipToAddress = ""; + $subscription->shipToCity = ""; + $subscription->shipToState = ""; + $subscription->shipToZip = ""; + $subscription->shipToCountry = ""; + + $refId = "ref" . time(); + + // Create the request and send it. + $request = new AuthorizeNetARB; + $request->setRefId($refId); + $response = $request->createSubscription($subscription); + + + // Handle the response. + + $this->assertTrue($response->isOk()); + $this->assertEquals($response->getMessageCode(), "I00001"); + $this->assertEquals($response->getMessageText(), "Successful."); + $this->assertEquals($response->getRefId(), $refId); + $this->assertEquals($response->getResultCode(), "Ok"); + + // Cancel the subscription to avoid duplicate errors in future + + $cancellation = new AuthorizeNetARB; + $cancellation->setRefId($refId); + $cancel_response = $cancellation->cancelSubscription($response->getSubscriptionId()); + + + + $this->assertTrue($cancel_response->isOk()); + + } + + public function testCreateSubscriptionECheck() + { + + $subscription = new AuthorizeNet_Subscription; + $subscription->name = "my test echeck subscription"; + $subscription->intervalLength = "1"; + $subscription->intervalUnit = "months"; + $subscription->startDate = "2015-04-12"; + $subscription->totalOccurrences = "2"; + $subscription->trialOccurrences = ""; + $subscription->amount = "11.99"; + $subscription->trialAmount = ""; + $subscription->bankAccountAccountType = "checking"; + $subscription->bankAccountRoutingNumber = "121000248"; + $subscription->bankAccountAccountNumber = "12345678"; + $subscription->bankAccountNameOnAccount = "John Doe"; + $subscription->bankAccountEcheckType = "WEB"; + $subscription->bankAccountBankName = "Bank of Earth"; + $subscription->orderInvoiceNumber = ""; + $subscription->orderDescription = ""; + $subscription->customerId = "12"; + $subscription->customerEmail = "foo@domain.com"; + $subscription->customerPhoneNumber = ""; + $subscription->customerFaxNumber = ""; + $subscription->billToFirstName = "john"; + $subscription->billToLastName = "doe"; + $subscription->billToCompany = ""; + $subscription->billToAddress = ""; + $subscription->billToCity = ""; + $subscription->billToState = ""; + $subscription->billToZip = ""; + $subscription->billToCountry = ""; + $subscription->shipToFirstName = ""; + $subscription->shipToLastName = ""; + $subscription->shipToCompany = ""; + $subscription->shipToAddress = ""; + $subscription->shipToCity = ""; + $subscription->shipToState = ""; + $subscription->shipToZip = ""; + $subscription->shipToCountry = ""; + + $refId = "ref" . time(); + + // Create the request and send it. + $request = new AuthorizeNetARB; + $request->setRefId($refId); + + $response = $request->createSubscription($subscription); + + + // Handle the response. + + $this->assertTrue($response->isOk()); + $this->assertEquals($response->getMessageCode(), "I00001"); + $this->assertEquals($response->getMessageText(), "Successful."); + $this->assertEquals($response->getRefId(), $refId); + $this->assertEquals($response->getResultCode(), "Ok"); + + + // Cancel the subscription to avoid duplicate errors in future + + + $cancellation = new AuthorizeNetARB; + $cancellation->setRefId($refId); + $cancel_response = $cancellation->cancelSubscription($response->getSubscriptionId()); + + $this->assertTrue($cancel_response->isOk()); + + } + +} \ No newline at end of file diff --git a/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/tests/AuthorizeNetCIM_Test.php b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/tests/AuthorizeNetCIM_Test.php new file mode 100644 index 0000000..75c58d9 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/tests/AuthorizeNetCIM_Test.php @@ -0,0 +1,355 @@ +getCustomerProfileIds(); + $customers = $response->getCustomerProfileIds(); + + foreach ($customers as $customer) { + $response = $request->deleteCustomerProfile($customer); + $this->assertTrue($response->isOk()); + } + + + } + + public function testXPath() + { + + // Create new customer profile + $request = new AuthorizeNetCIM; + $customerProfile = new AuthorizeNetCustomer; + $customerProfile->description = $description = "Some Description of customer 2"; + $customerProfile->merchantCustomerId = $merchantCustomerId = time().rand(1,150); + $customerProfile->email = $email = "test2@domain.com"; + + // Add payment profile. + $paymentProfile = new AuthorizeNetPaymentProfile; + $paymentProfile->customerType = "individual"; + $paymentProfile->payment->creditCard->cardNumber = "4111111111111111"; + $paymentProfile->payment->creditCard->expirationDate = "2021-04"; + $customerProfile->paymentProfiles[] = $paymentProfile; + + $response = $request->createCustomerProfile($customerProfile); + $this->assertTrue($response->isOk()); + $array = $response->xpath('customerProfileId'); + $this->assertEquals($response->getCustomerProfileId(), "{$array[0]}"); + + $profile = $request->getCustomerProfile($response->getCustomerProfileId()); + + $this->assertEquals($email, (string)array_pop($profile->xpath('profile/email'))); + $this->assertEquals($email, (string)array_pop($profile->xpath('profile/email'))); + $this->assertEquals($description, (string)array_pop($profile->xpath('profile/description'))); + $this->assertEquals($merchantCustomerId, (string)array_pop($profile->xpath('profile/merchantCustomerId'))); + + } + + + + public function testCreateCustomerProfile() + { + // Create new customer profile + $request = new AuthorizeNetCIM; + $customerProfile = new AuthorizeNetCustomer; + $customerProfile->description = "Description of customer"; + $customerProfile->merchantCustomerId = time().rand(1,100); + $customerProfile->email = "blahbla@domain.com"; + + // Add payment profile. + $paymentProfile = new AuthorizeNetPaymentProfile; + $paymentProfile->customerType = "individual"; + $paymentProfile->payment->creditCard->cardNumber = "4111111111111111"; + $paymentProfile->payment->creditCard->expirationDate = "2015-10"; + $customerProfile->paymentProfiles[] = $paymentProfile; + + // Add another payment profile. + $paymentProfile2 = new AuthorizeNetPaymentProfile; + $paymentProfile2->customerType = "business"; + $paymentProfile2->payment->bankAccount->accountType = "businessChecking"; + $paymentProfile2->payment->bankAccount->routingNumber = "121042882"; + $paymentProfile2->payment->bankAccount->accountNumber = "123456789123"; + $paymentProfile2->payment->bankAccount->nameOnAccount = "Jane Doe"; + $paymentProfile2->payment->bankAccount->echeckType = "WEB"; + $paymentProfile2->payment->bankAccount->bankName = "Pandora Bank"; + $customerProfile->paymentProfiles[] = $paymentProfile2; + + + // Add shipping address. + $address = new AuthorizeNetAddress; + $address->firstName = "john"; + $address->lastName = "Doe"; + $address->company = "John Doe Company"; + $address->address = "1 Main Street"; + $address->city = "Boston"; + $address->state = "MA"; + $address->zip = "02412"; + $address->country = "USA"; + $address->phoneNumber = "555-555-5555"; + $address->faxNumber = "555-555-5556"; + $customerProfile->shipToList[] = $address; + + // Add another shipping address. + $address2 = new AuthorizeNetAddress; + $address2->firstName = "jane"; + $address2->lastName = "Doe"; + $address2->address = "11 Main Street"; + $address2->city = "Boston"; + $address2->state = "MA"; + $address2->zip = "02412"; + $address2->country = "USA"; + $address2->phoneNumber = "555-512-5555"; + $address2->faxNumber = "555-523-5556"; + $customerProfile->shipToList[] = $address2; + + $response = $request->createCustomerProfile($customerProfile); + $this->assertTrue($response->isOk()); + $this->assertEquals(2, count($response->getCustomerShippingAddressIds())); + $this->assertEquals(2, count($response->getCustomerPaymentProfileIds())); + $customerProfileId = $response->getCustomerProfileId(); + + $this->assertEquals($response->getCustomerProfileId(), "{$response->xml->customerProfileId}"); + + + + $response = $request->getCustomerProfile($customerProfileId); + $this->assertEquals($customerProfile->description, (string)$response->xml->profile->description); + $this->assertEquals($customerProfile->merchantCustomerId, (string)$response->xml->profile->merchantCustomerId); + $this->assertEquals($customerProfile->email, (string)$response->xml->profile->email); + $this->assertEquals(substr($customerProfile->paymentProfiles[0]->payment->creditCard->cardNumber, -4, 4), substr((string)$response->xml->profile->paymentProfiles->payment->creditCard->cardNumber, -4, 4)); + + + + $this->assertTrue($response->isOk()); + + + } + + public function testGetCustomerProfile() + { + // Create new customer profile + $request = new AuthorizeNetCIM; + $customerProfile = new AuthorizeNetCustomer; + $customerProfile->description = "Description of customer"; + $customerProfile->merchantCustomerId = time().rand(1,10); + $customerProfile->email = "blahlah@domain.com"; + $response = $request->createCustomerProfile($customerProfile); + $this->assertTrue($response->isOk()); + $customerProfileId = $response->getCustomerProfileId(); + + $response = $request->getCustomerProfile($customerProfileId); + + $this->assertTrue($response->isOk()); + + } + + public function testCreateCustomerProfileWithValidationMode() + { + // Create new customer profile + $request = new AuthorizeNetCIM; + $customerProfile = new AuthorizeNetCustomer; + $customerProfile->description = "Some Description of customer 2"; + $customerProfile->merchantCustomerId = time().rand(1,10); + $customerProfile->email = "test2@domain.com"; + + // Add payment profile. + $paymentProfile = new AuthorizeNetPaymentProfile; + $paymentProfile->customerType = "individual"; + $paymentProfile->payment->creditCard->cardNumber = "4111111111111111"; + $paymentProfile->payment->creditCard->expirationDate = "2015-04"; + $customerProfile->paymentProfiles[] = $paymentProfile; + + // Add another payment profile. + $paymentProfile2 = new AuthorizeNetPaymentProfile; + $paymentProfile2->customerType = "individual"; + $paymentProfile2->payment->creditCard->cardNumber = "4222222222222"; + $paymentProfile2->payment->creditCard->expirationDate = "2019-10"; + $customerProfile->paymentProfiles[] = $paymentProfile2; + + $response = $request->createCustomerProfile($customerProfile, "testMode"); + + $this->assertTrue($response->isOk()); + + $validationResponses = $response->getValidationResponses(); + foreach ($validationResponses as $vr) { + $this->assertTrue($vr->approved); + } + + } + + public function testUpdateSplitTenderGroup() + { + // Create a partial auth test transaction + $amount = 4.92; + + $sale = new AuthorizeNetAIM; + $sale->amount = $amount; + $sale->card_num = '4222222222222'; + $sale->zip = "46225"; + $sale->exp_date = '04/24'; + $sale->allow_partial_auth = true; + $response = $sale->authorizeAndCapture(); + $this->assertTrue($response->held); + $this->assertEquals("1.23", $response->amount); + $this->assertEquals($amount, $response->requested_amount); + $split_tender_id = $response->split_tender_id; + + // Charge a bit more + $sale = new AuthorizeNetAIM; + $sale->amount = 1.23; + $sale->card_num = '6011000000000012'; + $sale->exp_date = '04/26'; + $sale->split_tender_id = $split_tender_id; + $sale->allow_partial_auth = true; + $response = $sale->authorizeAndCapture(); + $this->assertTrue($response->approved); + + // Void the group of partial auths. + + $request = new AuthorizeNetCIM; + $response = $request->updateSplitTenderGroup($split_tender_id, "voided"); + $this->assertTrue($response->isOk()); + } + + public function testAll() + { + // Create new customer profile + $request = new AuthorizeNetCIM; + $customerProfile = new AuthorizeNetCustomer; + $customerProfile->description = "Description of customer"; + $customerProfile->merchantCustomerId = time().rand(1,10); + $customerProfile->email = "blahblahblah@domain.com"; + $response = $request->createCustomerProfile($customerProfile); + $this->assertTrue($response->isOk()); + $customerProfileId = $response->getCustomerProfileId(); + + // Update customer profile + $customerProfile->description = "New description"; + $customerProfile->email = "newemail@domain.com"; + $response = $request->updateCustomerProfile($customerProfileId, $customerProfile); + $this->assertTrue($response->isOk()); + + // Add payment profile. + $paymentProfile = new AuthorizeNetPaymentProfile; + $paymentProfile->customerType = "individual"; + $paymentProfile->payment->creditCard->cardNumber = "4111111111111111"; + $paymentProfile->payment->creditCard->expirationDate = "2015-10"; + $response = $request->createCustomerPaymentProfile($customerProfileId, $paymentProfile); + $this->assertTrue($response->isOk()); + $paymentProfileId = $response->getPaymentProfileId(); + + // Update payment profile. + $paymentProfile->payment->creditCard->cardNumber = "4111111111111111"; + $paymentProfile->payment->creditCard->expirationDate = "2017-11"; + $response = $request->updateCustomerPaymentProfile($customerProfileId,$paymentProfileId, $paymentProfile); + $this->assertTrue($response->isOk()); + + // Add shipping address. + $address = new AuthorizeNetAddress; + $address->firstName = "john"; + $address->lastName = "Doe"; + $address->company = "John Doe Company"; + $address->address = "1 Main Street"; + $address->city = "Boston"; + $address->state = "MA"; + $address->zip = "02412"; + $address->country = "USA"; + $address->phoneNumber = "555-555-5555"; + $address->faxNumber = "555-555-5556"; + $response = $request->createCustomerShippingAddress($customerProfileId, $address); + $this->assertTrue($response->isOk()); + $customerAddressId = $response->getCustomerAddressId(); + + // Update shipping address. + $address->address = "2 First Street"; + $response = $request->updateCustomerShippingAddress($customerProfileId, $customerAddressId, $address); + $this->assertTrue($response->isOk()); + + // Create Auth & Capture Transaction + $transaction = new AuthorizeNetTransaction; + $transaction->amount = "9.79"; + $transaction->customerProfileId = $customerProfileId; + $transaction->customerPaymentProfileId = $paymentProfileId; + $transaction->customerShippingAddressId = $customerAddressId; + + $lineItem = new AuthorizeNetLineItem; + $lineItem->itemId = "4"; + $lineItem->name = "Cookies"; + $lineItem->description = "Chocolate Chip"; + $lineItem->quantity = "4"; + $lineItem->unitPrice = "1.00"; + $lineItem->taxable = "true"; + + $lineItem2 = new AuthorizeNetLineItem; + $lineItem2->itemId = "4"; + $lineItem2->name = "Cookies"; + $lineItem2->description= "Peanut Butter"; + $lineItem2->quantity = "4"; + $lineItem2->unitPrice = "1.00"; + $lineItem2->taxable = "true"; + + $transaction->lineItems[] = $lineItem; + $transaction->lineItems[] = $lineItem2; + + + $response = $request->createCustomerProfileTransaction("AuthCapture", $transaction); + $this->assertTrue($response->isOk()); + $transactionResponse = $response->getTransactionResponse(); + $this->assertTrue($transactionResponse->approved); + $transactionId = $transactionResponse->transaction_id; + + // Void the transaction + $transaction = new AuthorizeNetTransaction; + $transaction->transId = $transactionId; + $response = $request->createCustomerProfileTransaction("Void", $transaction); + $this->assertTrue($response->isOk()); + $transactionResponse = $response->getTransactionResponse(); + $this->assertTrue($transactionResponse->approved); + + + // Delete Shipping Address + $response = $request->deleteCustomerShippingAddress($customerProfileId, $customerAddressId); + $this->assertTrue($response->isOk()); + + // Delete payment profile. + $response = $request->deleteCustomerPaymentProfile($customerProfileId, $paymentProfileId); + $this->assertTrue($response->isOk()); + + + // Delete the profile id for future testing. + $response = $request->deleteCustomerProfile($customerProfileId); + $this->assertTrue($response->isOk()); + } + + + + + public function testGetCustomerProfileIds() + { + // Create new customer profile + $request = new AuthorizeNetCIM; + $customerProfile = new AuthorizeNetCustomer; + $customerProfile->description = "Description of customer"; + $customerProfile->merchantCustomerId = time().rand(1,10); + $customerProfile->email = "blahblahblah@domain.com"; + $response = $request->createCustomerProfile($customerProfile); + $this->assertTrue($response->isOk()); + $customerProfileId = $response->getCustomerProfileId(); + + $response = $request->getCustomerProfileIds(); + $this->assertTrue($response->isOk()); + $this->assertTrue(in_array($customerProfileId, $response->getCustomerProfileIds())); + + + } + + + + +} \ No newline at end of file diff --git a/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/tests/AuthorizeNetCP_Test.php b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/tests/AuthorizeNetCP_Test.php new file mode 100644 index 0000000..aa8c580 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/tests/AuthorizeNetCP_Test.php @@ -0,0 +1,179 @@ +setFields( + array( + 'amount' => rand(1, 1000), + 'card_num' => '4111111111111111', + 'exp_date' => '0415', + 'device_type' => '4', + ) + ); + $response = $sale->authorizeAndCapture(); + $this->assertTrue($response->approved); + } + + // public function testMd5() + // { + // return; + // $sale = new AuthorizeNetCP(CP_API_LOGIN_ID, CP_TRANSACTION_KEY); + // $sale->setFields( + // array( + // 'amount' => rand(1, 1000), + // 'card_num' => '4111111111111111', + // 'exp_date' => '0415', + // 'device_type' => '4', + // ) + // ); + // $response = $sale->authorizeAndCapture(); + // $this->assertTrue($response->approved); + // $this->assertTrue($response->isAuthorizeNet(CP_API_LOGIN_ID)); + // } + + public function testAuthCaptureTrack1() + { + $sale = new AuthorizeNetCP(CP_API_LOGIN_ID, CP_TRANSACTION_KEY); + $sale->setFields( + array( + 'amount' => rand(1, 1000), + 'device_type' => '4', + ) + ); + $sale->setTrack1Data('%B4111111111111111^CARDUSER/JOHN^1803101000000000020000831000000?'); + $response = $sale->authorizeAndCapture(); + $this->assertTrue($response->approved); + } + + public function testAuthCaptureTrack2() + { + $sale = new AuthorizeNetCP(CP_API_LOGIN_ID, CP_TRANSACTION_KEY); + $sale->setFields( + array( + 'amount' => rand(1, 1000), + 'device_type' => '4', + ) + ); + $sale->setTrack2Data('4111111111111111=1803101000020000831?'); + $response = $sale->authorizeAndCapture(); + $this->assertTrue($response->approved); + } + + public function testAuthCaptureTrack2Error() + { + $sale = new AuthorizeNetCP(CP_API_LOGIN_ID, CP_TRANSACTION_KEY); + $sale->setFields( + array( + 'amount' => rand(1, 1000), + 'device_type' => '4', + ) + ); + $sale->setTrack2Data('4411111111111111=1803101000020000831?'); + $response = $sale->authorizeAndCapture(); + $this->assertFalse($response->approved); + $this->assertTrue($response->error); + $this->assertEquals(6, $response->response_reason_code); + } + + public function testResponseFields() + { + $sale = new AuthorizeNetCP(CP_API_LOGIN_ID, CP_TRANSACTION_KEY); + $sale->setFields( + array( + 'amount' => rand(1, 1000), + 'device_type' => '4', + ) + ); + $sale->user_ref = $user_ref = "someCustomVariable123"; + $sale->setTrack1Data('%B4111111111111111^CARDUSER/JOHN^1803101000000000020000831000000?'); + $response = $sale->authorizeAndCapture(); + + + $this->assertTrue($response->approved); + $this->assertEquals('1.0',$response->version); + $this->assertEquals('1',$response->response_code); + $this->assertEquals('1',$response->response_reason_code); + $this->assertEquals('(TESTMODE) This transaction has been approved.',$response->response_reason_text); + $this->assertEquals('000000',$response->authorization_code); + $this->assertEquals('P',$response->avs_code); + $this->assertEquals('',$response->card_code_response); + $this->assertEquals('0',$response->transaction_id); + $this->assertStringMatchesFormat('%x',$response->md5_hash); + $this->assertEquals($user_ref, $response->user_ref); + $this->assertEquals('XXXX1111',$response->card_num); + $this->assertEquals('Visa',$response->card_type); + + + } + + public function testXmlResponse() + { + $sale = new AuthorizeNetCP(CP_API_LOGIN_ID, CP_TRANSACTION_KEY); + $sale->setFields( + array( + 'amount' => rand(1, 1000), + 'device_type' => '4', + 'response_format' => '0', + ) + ); + $sale->user_ref = $user_ref = "dummyvalue323"; + $sale->setTrack1Data('%B4111111111111111^CARDUSER/JOHN^1803101000000000020000831000000?'); + $response = $sale->authorizeAndCapture(); + + + $this->assertTrue($response->approved); + $this->assertEquals('1.0',$response->version); + $this->assertEquals('1',$response->response_code); + $this->assertEquals('1',$response->response_reason_code); + $this->assertEquals('This transaction has been approved.',$response->response_reason_text); + $this->assertEquals('000000',$response->authorization_code); + $this->assertEquals('P',$response->avs_code); + $this->assertEquals('',$response->card_code_response); + $this->assertEquals('0',$response->transaction_id); + $this->assertStringMatchesFormat('%x',$response->md5_hash); + $this->assertEquals($user_ref, $response->user_ref); + $this->assertEquals('XXXX1111',$response->card_num); + $this->assertEquals('Visa',$response->card_type); + + + } + + public function testXmlResponseFailure() + { + $sale = new AuthorizeNetCP(CP_API_LOGIN_ID, CP_TRANSACTION_KEY); + $sale->setFields( + array( + 'amount' => rand(1, 1000), + 'device_type' => '4', + 'response_format' => '0', + ) + ); + $sale->user_ref = $user_ref = "dummyvalue323"; + $sale->setTrack1Data('%B4111111111111^CARDUSER/JOHN^1803101000000000020000831000000?'); + $response = $sale->authorizeAndCapture(); + + + $this->assertTrue($response->error); + $this->assertEquals('1.0',$response->version); + $this->assertEquals('3',$response->response_code); + $this->assertEquals('6',$response->response_reason_code); + $this->assertEquals('The credit card number is invalid.',$response->response_reason_text); + $this->assertEquals('000000',$response->authorization_code); + $this->assertEquals('P',$response->avs_code); + $this->assertEquals('',$response->card_code_response); + $this->assertEquals('0',$response->transaction_id); + $this->assertStringMatchesFormat('%x',$response->md5_hash); + $this->assertEquals($user_ref, $response->user_ref); + $this->assertEquals('XXXX1111',$response->card_num); + + + } + + +} \ No newline at end of file diff --git a/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/tests/AuthorizeNetDPM_Test.php b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/tests/AuthorizeNetDPM_Test.php new file mode 100644 index 0000000..78b7e5a --- /dev/null +++ b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/tests/AuthorizeNetDPM_Test.php @@ -0,0 +1,25 @@ +assertEquals("db88bbebb8f699acdbe70daad897a68a",AuthorizeNetDPM::getFingerprint("123","123","123","123","123")); + } + + public function testGetCreditCardForm() + { + $fp_sequence = "12345"; + $this->assertContains('',AuthorizeNetDPM::getCreditCardForm('2', $fp_sequence, 'ht', '2', '1', true)); + } + + public function testRelayResponseUrl() + { + $return_url = 'http://yourdomain.com'; + + $this->assertContains('window.location="'.$return_url.'";', AuthorizeNetDPM::getRelayResponseSnippet($return_url)); + } + +} \ No newline at end of file diff --git a/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/tests/AuthorizeNetSIM_Test.php b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/tests/AuthorizeNetSIM_Test.php new file mode 100644 index 0000000..62ef5a3 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/tests/AuthorizeNetSIM_Test.php @@ -0,0 +1,56 @@ +assertEquals("8FC33C32ABB3EDD8BBC4BE3E904CB47E",$message->generateHash()); + } + + public function testAmount() + { + $_POST['x_amount'] = "4.12"; + $_POST['x_response_code'] = "1"; + $message = new AuthorizeNetSIM("528udYYwz","test"); + $this->assertEquals("4.12",$message->amount); + $this->assertTrue($message->approved); + } + + public function testIsAuthNet() + { + $_POST['x_amount'] = "4.12"; + $_POST['x_trans_id'] = "123"; + $_POST['x_MD5_Hash'] = "8FC33C32ABB3EDD8BBC4BE3E904CB47E"; + $message = new AuthorizeNetSIM("528udYYwz","test"); + $this->assertTrue($message->isAuthorizeNet()); + + + $_POST['x_amount'] = "4.12"; + $_POST['x_trans_id'] = "123"; + $_POST['x_MD5_Hash'] = "8FC33C32BB3EDD8BBC4BE3E904CB47E"; + $message = new AuthorizeNetSIM("528udYYwz","test"); + $this->assertFalse($message->isAuthorizeNet()); + } + + public function testIsError() + { + $_POST['x_amount'] = "4.12"; + $_POST['x_response_code'] = "3"; + $_POST['x_ship_to_state'] = "CA"; + $message = new AuthorizeNetSIM("528udYYwz","test"); + $this->assertEquals("3",$message->response_code); + $this->assertTrue($message->error); + $this->assertFalse($message->approved); + $this->assertEquals("CA",$message->ship_to_state); + } + + + + +} \ No newline at end of file diff --git a/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/tests/AuthorizeNetTD_Test.php b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/tests/AuthorizeNetTD_Test.php new file mode 100644 index 0000000..d565a2f --- /dev/null +++ b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/tests/AuthorizeNetTD_Test.php @@ -0,0 +1,70 @@ +getSettledBatchList(); + $this->assertTrue($response->isOk()); + $this->assertEquals("I00001",(string)array_pop($response->xpath("messages/message/code"))); + } + + public function testGetSettledBatchListIncludeStatistics() + { + $request = new AuthorizeNetTD; + $response = $request->getSettledBatchList(true); + $this->assertTrue($response->isOk()); + } + + public function testGetSettledBatchListForMonth() + { + $request = new AuthorizeNetTD; + $response = $request->getSettledBatchListForMonth(); + $this->assertTrue($response->isOk()); + } + + public function testGetTransactionsForDay() + { + $request = new AuthorizeNetTD; + $transactions = $request->getTransactionsForDay(12, 8, 2010); + $this->assertTrue(is_array($transactions)); + } + + public function testGetTransactionList() + { + $request = new AuthorizeNetTD; + $response = $request->getSettledBatchList(); + $this->assertTrue($response->isOk()); + $batches = $response->xpath("batchList/batch"); + $batch_id = (string)$batches[0]->batchId; + $response = $request->getTransactionList($batch_id); + $this->assertTrue($response->isOk()); + } + + public function testGetTransactionDetails() + { + $sale = new AuthorizeNetAIM; + $amount = rand(1, 100); + $response = $sale->authorizeAndCapture($amount, '4012888818888', '04/17'); + $this->assertTrue($response->approved); + + $transId = $response->transaction_id; + + $request = new AuthorizeNetTD; + $response = $request->getTransactionDetails($transId); + $this->assertTrue($response->isOk()); + + $this->assertEquals($transId, (string)$response->xml->transaction->transId); + $this->assertEquals($amount, (string)$response->xml->transaction->authAmount); + $this->assertEquals("Visa", (string)$response->xml->transaction->payment->creditCard->cardType); + + } + + +} \ No newline at end of file diff --git a/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/tests/AuthorizeNet_SOAP_Test.php b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/tests/AuthorizeNet_SOAP_Test.php new file mode 100644 index 0000000..20b87d7 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/tests/AuthorizeNet_SOAP_Test.php @@ -0,0 +1,31 @@ +assertTrue($client->saveSoapDocumentation($filepath) > 1); + unlink($filepath); + } + + public function testGetCustomerIds () + { + $client = new AuthorizeNetSOAP; + $result = $client->GetCustomerProfileIds( + array( + 'merchantAuthentication' => array( + 'name' => AUTHORIZENET_API_LOGIN_ID, + 'transactionKey' => AUTHORIZENET_TRANSACTION_KEY, + ), + ) + ); + $customer_ids = $result->GetCustomerProfileIdsResult->ids->long; + $this->assertTrue(is_array($customer_ids)); + } + +} \ No newline at end of file diff --git a/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/tests/AuthorizeNet_Test_Config.php b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/tests/AuthorizeNet_Test_Config.php new file mode 100644 index 0000000..1038042 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/plugins/authorize.net/anet_php_sdk/tests/AuthorizeNet_Test_Config.php @@ -0,0 +1,47 @@ +

      AuthorizeNet_SOAP_

      • Save soap doc
      • Get customer ids

      AuthorizeNetAIM_Sandbox_

      • Auth capture
      • Auth capture alternate
      • Auth capture short
      • Auth capture partial
      • Auth capture short no verify
      • Aim response fields
      • Void
      • Void short
      • Auth capture e check sandbox
      • Amex
      • Discover
      • Visa
      • Auth only
      • Auth capture void
      • Advanced a i m
      • Auth capture custom fields
      • Encap character
      • Auth capture set multiple custom fields
      • Invalid merchant credentials
      • Invalid credit card
      • Error
      • Multiple line items
      • All fields long method
      • Response methods
      • Set bad field

      AuthorizeNetAIM_Live_

      • Auth capture set e check method
      • Auth capture e check
      • Auth capture live server test request
      • Auth capture live server
      • Invalid credentials

      AuthorizeNetARB_

      • All methods
      • Create subscription long
      • Create subscription e check

      AuthorizeNetCIM_

      • Delete all customer profiles
      • X path
      • Create customer profile
      • Get customer profile
      • Create customer profile with validation mode
      • Update split tender group
      • All
      • Get customer profile ids

      AuthorizeNetCP_

      • Auth capture
      • Auth capture track 1
      • Auth capture track
      • Auth capture track 2 error
      • Response fields
      • Xml response
      • Xml response failure

      AuthorizeNetDPM_

      • Generate fingerprint
      • Get credit card form
      • Relay response url

      AuthorizeNetSIM_

      • Generate hash
      • Amount
      • Is auth net
      • Is error

      AuthorizeNetTD_

      • Get settled batch list
      • Get settled batch list include statistics
      • Get settled batch list for month
      • Get transactions for day
      • Get transaction list
      • Get transaction details
      \ No newline at end of file diff --git a/src/wp-content/plugins/thecartpress/plugins/authorize.net/notify.php b/src/wp-content/plugins/thecartpress/plugins/authorize.net/notify.php new file mode 100644 index 0000000..9b40cce --- /dev/null +++ b/src/wp-content/plugins/thecartpress/plugins/authorize.net/notify.php @@ -0,0 +1,76 @@ +. + */ + +$wordpress_path = dirname( dirname( dirname( dirname( dirname( dirname( __FILE__ ) ) ) ) ) ) . '/'; +include_once( $wordpress_path . 'wp-config.php' ); +include_once( $wordpress_path . 'wp-includes/wp-db.php' ); + +$thecartpress_path = dirname( dirname( dirname( __FILE__ ) ) ) . '/'; +require_once( $thecartpress_path . 'daos/Orders.class.php'); +require_once( $thecartpress_path . 'checkout/ActiveCheckout.class.php'); + +$plugin_path = dirname( dirname( dirname( __FILE__ ) ) ) . '/classes/TCP_Plugin.class.php'; +$instance = $_REQUEST['instance']; +$data = tcp_get_payment_plugin_data( 'AuthorizeNet', $instance ); + +$api_login_id = $data['api_login_id']; +$md5_hash = $data['md5_hash']; +//$x_login = $_REQUEST['x_login']; +$x_md5_hash = strtolower( $_REQUEST['x_MD5_Hash'] ); +$x_trans_id = $_REQUEST['x_trans_id']; +$x_amount = $_REQUEST['x_amount']; +$x_md5_hash = $_REQUEST['x_MD5_Hash']; +$x_trans_id = $_REQUEST['x_trans_id']; +$order_id = $_REQUEST['order_id']; +$fingerprint = strtolower( md5( $md5_hash . $api_login_id . $x_trans_id . $x_amount ) ); + +if ( $fingerprint != $x_md5_hash ) { + $new_status = $_REQUEST['new_status']; + $response_code = isset( $_REQUEST['x_response_code'] ) ? $_REQUEST['x_response_code'] : 0;//1 ->OK, 2->declined, else->error + if ( $response_code == 1) { + if ( Orders::isDownloadable( $order_id ) ) { + Orders::editStatus( $order_id, Orders::$ORDER_COMPLETED ); + } else { + Orders::editStatus( $order_id, $new_status ); + } + ActiveCheckout::sendMails( $order_id ); + } else { + $response_reason_text = isset( $_REQUEST['x_response_reason_text'] ) ? $_REQUEST['x_response_reason_text'] : 'no reason'; + $response_reason_code = isset( $_REQUEST['x_response_reason_code'] ) ? $_REQUEST['x_response_reason_code'] : 0; + Orders::editStatus( $order_id, Orders::$ORDER_CANCELLED, $response_reason_text . '(' . $response_reason_code . ')' ); + ActiveCheckout::sendMails( $order_id, true, 'Autorized.net Error: (' . $response_reason_code . ') ' . $response_reason_text ); + } +} else { + Orders::editStatus( $order_id, Orders::$ORDER_CANCELLED, __( 'Error notifiying Authotized.net payment', 'tcp' ) ); +} +$redirect = add_query_arg( 'tcp_checkout', 'ok', get_permalink( tcp_get_current_id( get_option( 'tcp_checkout_page_id' ), 'page' ) ) ); +?> + + +Processing Payment + + + + +

      Processing your payment. Please wait...

      + + diff --git a/src/wp-content/plugins/thecartpress/readme.txt b/src/wp-content/plugins/thecartpress/readme.txt new file mode 100644 index 0000000..b64e080 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/readme.txt @@ -0,0 +1,264 @@ +=== TheCartPress, E-Commerce for WordPress Stores === +Contributors: thecartpress +Tags: CartPress, ecommerce, e-commerce, store, shop, shopping, shopping cart, cart, custom post type, taxonomy, taxonomies, ecomerce, products, TheCartPress +Requires at least: 3.1 +Tested up to: 3.1.3 +Stable Tag: 1.0.9 + +Native integration & interaction with WordPress. Flexibility & Scalability. Ideal for theme constructors! + +== Description == + +E-Commerce plugin to create professional stores with WordPress. TheCartPress is an e-commerce plugin natively integrated into WordPress. + +Design and look of your store whith native WordPress ability to manage themes and templates. +You can create new WordPress plugins to extend the functionality and fit your needs. + +Extends the TheCartPress e-commerce funcionalities with the large WordPress plugins repository. +It is compatible with many existing plugins in the WordPress repository: All In One SEO Pack, WordPress Multi Lingual Plugin, Google Analytics for WordPress, TubePress, Members only, GD star rating, etc. + += Product Browsing Offering = + +* WordPress native features +* Multiple Images Per Product +* WordPress image galleries +* Auto-embed media player for Downloadable products (mp3) +* Order products by Price, Order, Name, Date, Author +* Product Review/Comments +* Related Products +* Related Posts +* Product Option Selection +* Grouped Products View +* Enhace your store with WordPress plugins: Send to a Friend, Social share, Lightbox for images, Video galleries, etc. + += Full Catalog Browsing Offering = + +* Filter by: Category, Supplier, Product Tag, Author, Date, Reviews and Searches +* Main navigation Widgets: Product categories, Product tags, Product reviews, Product suppliers, Product lists, Last visited, Related items (post and products), Custom Post Type Lists +* Product listing in configurable grid or list format + Extending easily your theme with our loop-products-grid.php and function.php files. You can use it in your main products loop and also in the Widgets to list products. You can have as many loop templates as you need, the widgets let you choose the template loop +* Product Reviews +* Recently viewed products +* Cross-sells and Related Items in many ways +* Design and look of your store whith native WordPress ability to manage themes and templates. +* TheCartPress as a catalogue: without shopping cart +* Use WordPress plugins to make private sales: “members only”, etc + += Catalog Management Offering = + +* New WordPress user role: Merchant +* Shortcode Generator, insert configurable loops using your template loops when writing in the editor. See some shortcode examples in TheCartPerss Basic Demo. +* Simple and Grouped Products +* Simple products with two options levels. Coming soon +* Downloadable/Digital Products +* Tax Rates per product +* Batch Updates to products in admin panel. Extending +* Native WordPress Media Manager with automatic image resizing and watermarking +* Create, Edit and Delete products, products categories, products tags and products suppliers +* Custom permalinks for products, products categories, products tags and products suppliers +* Approve, Respond and Delete Product Reviews + += Multilingual = + +* Compatible with WordPress Multi Lingual Plugin: WPML and other WordPress Plugins + += Checkout Offering = + +* One-Page Checkout +* Checkout without account/Guest Checkout +* Checkout with account to use address book +* Create account at beginning of checkout +* Shopping Cart with tax and shipping estimates +* Bind to accept the terms of the sale to proceed + += Shipping Offering = + +* On-site order tracking from customer accounts +* Ability to specify allowed destination countries per method +* Flat rate shipping per order +* Flat rate shipping per item +* Free Shipping +* Table rates for weight and destination +* Extend it with TheCartPress plugin capabilities and develop your own + += Payment Offering = + +* Ability to specify allowed payment countries per method +* Saved Credit Card method for offline payments. +* Bank Transfer +* Cash On delivery, reemboursement +* PayPal +* TPV Plugins. Make your own plugin easily +* Extend it with TheCartPress plugin capabilities and develop your own + += Customer Accounts Offering = + +* New WordPress user role: Customer +* Order status and history +* Downloadable Products +* Address Book with unlimited addresses +* Default Billing and Shipping addressest +* Product Reviews submitted +* Account Dashboard for overview of: orders resume, products reviews, TheCartPress news, etc. + += Customer Service Offering = + +* Feature-rich Customer Accounts +* Order History +* Order Tracking from Account +* Forgot Password Email from front-end +* Order and Account Update Emails +* Customizable Order Emails + += Marketing Promotions and Tools Offering = + +* Advanced promotional rules: Based on catalog conditions, Based on shopping cart condition (Cooming soon!) +* Free Shipping Option +* Search Engine Friendly URL’s +* URL Rewrites +* Recently Viewed Products +* Cross-sells on product category pages, post category pages, single product and single post pages +* Compatibility with more relevant SEO WordPress plugins: All in one SEO pack, etc. + += Analytics and Reporting = + +* TheCartPress is compatible with the “Google Analytics for WordPress” and other WordPress plugins + += Unlimited features = + +* TheCartPress is compatible with the WordPress plugins and you can create your own plugins, the limit is in your imagination! + += More info and Community = +[TheCartPress Site](http://thecartpress.com) +[TheCartPress Community](http://community.thecartpress.com/activity/) + + +== Installation == + +This section describes how to install the plugin and get it working. + +1. Upload TheCartpress E-commerce plugin to the '/wp-content/plugins/' directory +1. Activate the plugin through the 'Plugins' menu in WordPress + +== Frequently Asked Questions == + += Requirements = + +Up to WodPress 3.1 + += What is the plugin license? = + +This plugin is released under a GPL license. + +== Screenshots == + +== Changelog == + += 1.0.9 = +* Simple Wish list (Suggested in the community) +* Settings: Hide downloadable menu (Suggested in the community) +* Settings: Products per page (Suggested in the community) +* Settings: Currency layout (Suggested in the community) +* Print order from order edit page (Suggested in the community) +* FlateRate/ShippingCost instance names (Suggested in the community) +* Tax!: International tax management (Suggested in the community) +* BuyButton: You could make your own buy buttons (Suggested in the community) +* New Chekout: Developed again. Now, it's configurable. +* Templates +* Regions/states (Suggested in the community) +* Authorize.net paymet method (Suggested in the community) +* Number of decimals for the prices (Suggested in the community) +* Hide if empty property in Shopping Cart (Summary) Widgets +* Exclude for range prices: Allows to exclude a product from its parent range price +* New ShortCode: tcp_price, to show the price of the current product +* New CSS styles + += 1.0.8 = +* Settings: Decimal point and thousands separator validation +* Settings: Category and Tag base for products validation +* Settings: Selected Countries to shipping and billing (Suggested in the community) +* Assigned products admin: Set list order (Suggested in the community) +* Checkout + shipping/payment methods: Apply more than one instance per checkout and named instances (Suggested in the community) +* Checkout: styles (Thanks to the community) +* Improvements in multilingual support. Now qTranslate is supported (Thanks to the community) +* Checkout: Country list in current language (Suggested in the community) +* Orders edit: Suspended orders could be deleted (Suggested in the community) +* Orders edit: new links to send the order in an email to the customer (billing and shipping email) (Suggested in the community) +* New settings: see image in content and/or in excerpt (plus size, alignment and link) +* Added more useful hooks for plugin development +* Currency symbol +* Admin bar configuration (Suggested in the community) +* Settings: What to do after add to the cart (Suggested in the community) + += 1.0.7 = +* Improvements in Buy Button (less code) +* CVC field, Card type and Cardholder in CC Offline (Suggested in the community) +* Order editor: button to delete card data (Suggested in the community) +* Plugin Auto-Checking +* New Settings: Default Country, Decimal point and thousands separator (Suggested in the community) +* New templates functions: tcp_number_format and tcp_input_number +* Checkout improvements (hooks, other costs, validation) (Thanks to the community) +* Added more useful hooks for plugin development +* New field in Payment and Shipping methods: Active/Not active +* TheCartPress Payment and Shipping methods editor: new column to see active/inactive methods +* Send separate emails to customer and to merchant and when the pay has been done (Thanks to the community) +* $thecartpress object available for plugin development +* Checkout page is now child of Shopping cart page +* Folder for localisation + += 1.0.6 = +* Bug fixed (Thanks to the community) +* Example themes ready for use + += 1.0.5 = +* Post type Comments Widget +* ShortCode generator +* Bug fixed internal version updates +* Improvements in multilingual support +* Permalinks in categories/tags/suppliers of products (manageable from settings page) +* Improvements in widgets ShoppingCart and ResumeShopping +* Hide invisibles products in the list of products in admin (manageable from settings page) (required WP 3.1) +* Added more useful hooks for plugin development + += 1.0.4 = +* 7 digits for postal code +* Visible products by default +* Order field for products +* Order panel (widget and function tag) +* Improvements in Check-out +* Selection of international organizations + += 1.0.3 = +* Fixed non-visible post/product bug +* Stock management setting: To enable stock management +* Disable Shopping cart setting: To use TheCartPress as a catalogue (Suggested in the community) +* More navigation and usability improvements in widgets +* Loops in themes and in products lists widgets +* Improvements in the default css file (for ready to use ecommerce) +* Example theme: twentytenEcommerce (see themes-templates folder) +* New payment methods: PayPal, Card off line. + += 1.0.2 = +* Fixed non-visible products in the loops when suppliers taxonomy and product tags taxonomy +* Stock management +* More navigation and usability improvements in widgets + += 1.0.1 = +* Supplier taxonomy redefined +* The widget TCP Custom Post Type List has been divided into three widgets for a more intuitive use: TCP Last visited, TCP Related items, TCP Custom post type Lists +* Some navigation and usability improvements in widgets +* Fixed some minor general issues when activating +* Fixed html format in checkout step one +* Added shortcuts in shopping cart: Checkout, Empty cart and Continue shopping +* Added classes in cols for the buy options table +* Added useful hooks for plugin development +* Fixed for some php versions: "Parse error: syntax error, unexpected T_FUNCTION in .plugins/thecartpress/TheCartPress.class.php on line 78" +* Developed a child WordPress default theme for E-commerce: Twenty Ten E-Commerce Cart 1.0 + += 1.0 = +First public version. + +== Upgrade Notice == + += 1.0.1 = +This version fixes, in the first version of ThecartPress E-commerce, some issues and enhances the funcionality. diff --git a/src/wp-content/plugins/thecartpress/shortcodes/ShoppingCartPage.class.php b/src/wp-content/plugins/thecartpress/shortcodes/ShoppingCartPage.class.php new file mode 100644 index 0000000..4f5115b --- /dev/null +++ b/src/wp-content/plugins/thecartpress/shortcodes/ShoppingCartPage.class.php @@ -0,0 +1,129 @@ +. + */ + +class ShoppingCartPage { + + function show( $notice = '' ) { + global $thecartpress; + $stock_management = isset( $thecartpress->settings['stock_management'] ) ? $thecartpress->settings['stock_management'] : false; + $shoppingCart = TheCartPress::getShoppingCart(); + if ( $shoppingCart->isEmpty() ) : ?> + + +
      + 0 ) { + echo '

      ', $notice, '

      '; + }; + do_action( 'tcp_shopping_cart_before_cart' );?> + + + + + + + + + getItems() as $item ) : ?> + + + + + + + + + getTotal();?> + + getDiscount(); + if ( $discount > 0) : ?> + + + + + + + + + + + + + + + + + + + + +
      + getPostId() ) ) : ?> + + getPostId(), $item->getOption1Id(), $item->getOption2Id() );?> + getPostId() ); + if ( $post_id > 0 ) : ?> + getPostId(), $item->getOption1Id(), $item->getOption2Id() );?> + + getPostId(), $item->getOption1Id(), $item->getOption2Id() );?> + + getOption1Id() > 0 ) echo '
      ', get_the_title( tcp_get_current_id( $item->getOption1Id() ) );?> + getOption2Id() > 0 ) echo '-', get_the_title( tcp_get_current_id( $item->getOption2Id() ) );?>
      +
      + getUnitPrice() );?> + getDiscount() > 0 ) :?> + getDiscount() ) );?> + +
      + + + + getPostId() ) ) : ?> + + + + 1  + + + getPostId(), $item->getOption1Id(), $item->getOption2Id() ); + if ( $stock == 0 ) : ?> + + getCount() ) : ?> + + + + getTotal() );?> +
      getTotal() );?>
      + +
      + diff --git a/src/wp-content/plugins/thecartpress/shortcodes/TCP_Shortcode.class.php b/src/wp-content/plugins/thecartpress/shortcodes/TCP_Shortcode.class.php new file mode 100644 index 0000000..a2da842 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/shortcodes/TCP_Shortcode.class.php @@ -0,0 +1,41 @@ +. + */ + +class TCP_Shortcode { + + //@param id: identifier of one shortcode. See ShortcodeGenerator. + function show( $atts ) { + extract( shortcode_atts( array( 'id' => '' ), $atts ) ); + $shortcodes_data = get_option( 'tcp_shortcodes_data' ); + foreach( $shortcodes_data as $shortcode_data ) + if ( $shortcode_data['id'] == $id ) { + $customPostTypeListWidget = new CustomPostTypeListWidget(); + $args = array( + 'before_widget' => '
      ', + 'after_widget' => '
      ', + 'before_title' => '', + 'after_title' => '', + ); + ob_start(); + $customPostTypeListWidget->widget( $args, $shortcode_data ); + return ob_get_clean(); + } + return sprintf( __( 'Mal formed shortcode: %s', 'tcp' ), $id ); + } +} +?> diff --git a/src/wp-content/plugins/thecartpress/swfs/player_mp3_maxi.swf b/src/wp-content/plugins/thecartpress/swfs/player_mp3_maxi.swf new file mode 100644 index 0000000..b2fde33 Binary files /dev/null and b/src/wp-content/plugins/thecartpress/swfs/player_mp3_maxi.swf differ diff --git a/src/wp-content/plugins/thecartpress/swfs/player_mp3_multi.swf b/src/wp-content/plugins/thecartpress/swfs/player_mp3_multi.swf new file mode 100644 index 0000000..846c7b8 Binary files /dev/null and b/src/wp-content/plugins/thecartpress/swfs/player_mp3_multi.swf differ diff --git a/src/wp-content/plugins/thecartpress/templates/tcp_general_template.php b/src/wp-content/plugins/thecartpress/templates/tcp_general_template.php new file mode 100644 index 0000000..592b8cc --- /dev/null +++ b/src/wp-content/plugins/thecartpress/templates/tcp_general_template.php @@ -0,0 +1,169 @@ +. + */ + +/** + * Display Taxonomy Tree. + * + * This function is primarily used by themes which want to hardcode the Taxonomy + * Tree into the sidebar and also by the TaxonomyTree widget in TheCartPress. + * + * There is also an action that is called whenever the function is run called, + * 'tcp_get_taxonomy_tree'. + * + * @since 1.0.7 + * @param array $args + * @param boolean $echo Default to echo and not return the form. + */ +function tcp_get_taxonomy_tree( $args = false, $echo = true, $before = '', $after = '' ) { + do_action( 'tcp_get_taxonomy_tree' ); + if ( ! $args ) + $args = array( + 'style' => 'list', + 'show_count' => true, + 'hide_empty' => true, + 'taxonomy' => 'tcp_product_category', + 'title_li' => '', + 'echo' => false, + ); + $tree = '
        ' . wp_list_categories( $args ) . '
      '; + $tree = apply_filters( 'tcp_get_taxonomy_tree', $tree ); + if ( $echo ) + echo $before, $tree, $after; + else + return $before . $tree . $after; +} + +/** + * Display Shopping Cart Summary. + * + * This function is primarily used by themes which want to hardcode the Resumen + * Shopping Cart into the sidebar and also by the ShoppingCartSummary widget + * in TheCartPress. + * + * There is also an action that is called whenever the function is run called, + * 'tcp_get_shopping_cart_summary'. + * + * @since 1.0.7 + * @param array $args + * @param boolean $echo Default to echo and not return the form. + */ +function tcp_get_shopping_cart_summary( $args = false, $echo = true ) { + do_action( 'tcp_get_shopping_cart_before_summary' ); + if ( ! $args ) + $args = array( + 'see_product_count' => false, + 'see_stock_notice' => true, + 'see_weight' => true, + 'see_delete_all' => false, + 'see_shopping_cart' => true, + 'see_checkout' => true, + ); + global $thecartpress; + $unit_weight = isset( $thecartpress->settings['unit_weight'] ) ? $thecartpress->settings['unit_weight'] : 'gr'; + $stock_management = isset( $thecartpress->settings['stock_management'] ) ? $thecartpress->settings['stock_management'] : false; + $shoppingCart = TheCartPress::getShoppingCart(); + $summary = '
        '; + $summary .= '
      • ' . __( 'Total', 'tcp' ) . ': ' . tcp_format_the_price( $shoppingCart->getTotal() ) . '
      • '; + + $discount = $shoppingCart->getAllDiscounts(); + if ( $discount > 0 ) + $summary .= '
      • ' . __( 'Discount', 'tcp' ) . ': ' . tcp_format_the_price( $discount ) . '
      • '; + + if ( isset( $args['see_product_count'] ) ? $args['see_product_count'] : false ) + $summary .= '
      • ' . __( 'No products', 'tcp' ) . ': ' . $shoppingCart->getCount() . '
      • '; + + if ( $stock_management && isset( $args['see_stock_notice'] ) ? $args['see_stock_notice'] : false ) + if ( ! $shoppingCart->isThereStock() ) + $summary .= '
      • ' . printf( __( 'No enough stock for some products. Visit the Shopping Cart to see more details.', 'tcp' ), get_permalink( tcp_get_current_id( get_option( 'tcp_shopping_cart_page_id' ), 'page' ) ) ) . '
      • '; + + $see_weight = isset( $args['see_weight'] ) ? $args['see_weight'] : false; + if ( $see_weight && $shoppingCart->getWeight() > 0 ) + $summary .= '
      • ' . __( 'Weigth', 'tcp' ) . ': ' . tcp_number_format( $shoppingCart->getWeight() ) . ' ' . $unit_weight . '
      • '; + + if ( isset( $args['see_shopping_cart'] ) ? $args['see_shopping_cart'] : true ) + $summary .= '
      • ' . __( 'Shopping cart', 'tcp' ) . '
      • '; + + if ( isset( $args['see_checkout'] ) ? $args['see_checkout'] : true ) + $summary .= '
      • ' . __( 'Checkout', 'tcp' ) . '
      • '; + + if ( isset( $args['see_delete_all'] ) ? $args['see_delete_all'] : false ) + $summary .= '
      • '; + $summary = apply_filters( 'tcp_get_shopping_cart_summary', $summary, $args ); + $summary .= '
      '; + if ( $echo ) + echo $summary; + else + return $summary; +} + +function tcp_get_taxonomies_cloud( $args = false, $echo = true, $before = '', $after = '' ) { + do_action( 'tcp_get_taxonomies_cloud' ); + if ( ! $args ) + $args = array( + 'taxonomy' => 'tcp_product_tag', + 'echo' => false, + ); + $cloud = wp_tag_cloud( $args ); + $cloud = apply_filters( 'tcp_get_taxonomies_cloud', $cloud ); + if ( $echo ) + echo $before, $cloud, $after; + else + return $before . $cloud . $after; +} + +function tcp_get_tags_cloud( $args = false, $echo = true, $before = '', $after = '' ) { + do_action( 'tcp_get_tags_cloud' ); + $cloud = tcp_get_taxonomies_cloud( $args, false, $before, $after ); + $cloud = apply_filters( 'tcp_get_tags_cloud', $cloud ); + if ( $echo ) + echo $cloud; + else + return $cloud; +} + +function tcp_get_suppliers_cloud( $args = false, $echo = true, $before = '', $after = '' ) { + do_action( 'tcp_get_suppliers_cloud' ); + if ( ! $args ) + $args = array( + 'taxonomy' => 'tcp_product_supplier', + 'echo' => false, + ); + $cloud = tcp_get_taxonomies_cloud( $args, false, $before, $after ); + $cloud = apply_filters( 'tcp_get_suppliers_cloud', $cloud ); + if ( $echo ) + echo $cloud; + else + return $cloud; +} + +function tcp_get_number_of_attachments( $post_id = 0 ) { + if ( $post_id == 0 ) $post_id = get_the_ID(); + $args = array( + 'post_type' => 'attachment', + 'numberposts' => -1, + 'post_status' => null, + 'post_parent' => $post_id, + ); + $attachments = get_posts( $args ); + if ( is_array( $attachments ) ) + return count( $attachments ); + else + return 0; +} + +?> diff --git a/src/wp-content/plugins/thecartpress/templates/tcp_qt_template.php b/src/wp-content/plugins/thecartpress/templates/tcp_qt_template.php new file mode 100644 index 0000000..3ce853c --- /dev/null +++ b/src/wp-content/plugins/thecartpress/templates/tcp_qt_template.php @@ -0,0 +1,62 @@ +. + */ + +//qTranslate Multilanguage support + +function tcp_get_current_language_iso() { + if ( function_exists( 'qtrans_getLanguage' ) ) + return qtrans_getLanguage(); + else + return tcp_get_admin_language_iso(); +} + +//Given a post_id this function returns the post_id in the default language +function tcp_get_default_id( $post_id, $post_type = 'tcp_product' ) { + return $post_id; +} + +//Given a post_id this function returns the equivalent post_id in the current language +function tcp_get_current_id( $post_id, $post_type = 'tcp_product' ) { + return $post_id; +} + +/** + * Returns the list of translations from a given post_id + * Example of returned array + * array(2) { ["en"]=> object(stdClass)#45 (6) { ["translation_id"]=> string(2) "11" ["language_code"]=> string(2) "en" ["element_id"]=> string(1) "9" ["original"]=> string(1) "1" ["post_title"]=> string(21) "Tom Sawyer Adventures" ["post_status"]=> string(7) "publish" } + * ["es"]=> object(stdClass)#44 (6) { ["translation_id"]=> string(2) "12" ["language_code"]=> string(2) "es" ["element_id"]=> string(2) "10" ["original"]=> string(1) "0" ["post_title"]=> string(27) "Las Aventuras de Tom Sawyer" ["post_status"]=> string(7) "publish" } } + */ +function tcp_get_all_translations( $post_id, $post_type = 'tcp_product' ) { + return false; +} + +function tcp_get_default_language() { + return $this->tcp_get_current_language_iso(); +} + +function tcp_get_current_language() { + return $this->tcp_get_current_language_iso(); +} + +/** + * This function adds a post identified by the $translate_post_id as a translation of the post identified by $post_id + */ +function tcp_add_translation( $post_id, $translate_post_id, $language, $post_type = 'tcp_product' ) { + return; +} +?> diff --git a/src/wp-content/plugins/thecartpress/templates/tcp_template.php b/src/wp-content/plugins/thecartpress/templates/tcp_template.php new file mode 100644 index 0000000..28c68eb --- /dev/null +++ b/src/wp-content/plugins/thecartpress/templates/tcp_template.php @@ -0,0 +1,715 @@ +. + */ + +//Multilingua support: WPML or Qtranslate +function tcp_get_admin_language_iso() { + if ( strlen( WPLANG ) > 0 ) { + $lang_country = explode ( '_', WPLANG ); + if ( is_array( $lang_country ) && count( $lang_country ) > 0 ) { + return $lang_country[0]; + } else { + return ''; + } + } else { + return ''; + } +} + +global $sitepress; +if ( $sitepress ) { + include_once( dirname( __FILE__ ) . '/tcp_wpml_template.php' ); +} else { + include_once( dirname( __FILE__ ) . '/tcp_qt_template.php' ); +} +//End Multilingua support + +//Returns the title of a product (with/without options) +function tcp_get_the_title( $post_id = 0, $option_1_id = 0, $option_2_id = 0 ) { + if ( $post_id == 0 ) $post_id = get_the_ID(); + $title = '' . get_the_title( $post_id ) . ''; + if ( $option_1_id > 0 ) { + $option_1_id = tcp_get_current_id( $option_1_id, 'tcp_product_option' ); + $title .= ' ' . get_the_title( $option_1_id ) . ''; + } + if ( $option_2_id > 0 ) { + $option_2_id = tcp_get_current_id( $option_2_id, 'tcp_product_option' ); + $title .= ' ' . get_the_title( $option_2_id ) . ''; + } + if ( ! tcp_is_visible( $post_id ) ) { + $post_id = tcp_get_the_parent( $post_id ); + $title = get_the_title( $post_id ) . ' - ' . $title; + } + return $title; +} + +function tcp_the_title( $echo = true ) { + $title = tcp_get_the_title(); + if ( $echo ) + echo $title; + else + return $title; +} + +function tcp_get_the_currency() { + return tcp_the_currency( false ); +} + +function tcp_the_currency( $echo = true ) { + global $thecartpress; + $currency = isset( $thecartpress->settings['currency'] ) ? $thecartpress->settings['currency'] : 'EUR'; + $currency = apply_filters( 'tcp_the_currency', $currency ); + if ( $echo ) + echo $currency; + else + return $currency; +} + +function tcp_the_currency_iso( $echo = true ) { + global $thecartpress; + $currency = isset( $thecartpress->settings['currency'] ) ? $thecartpress->settings['currency'] : 'EUR'; + $currency = apply_filters( 'tcp_the_currency_iso', $currency ); + if ( $echo ) + echo $currency; + else + return $currency; +} + +function tcp_get_the_currency_iso() { + return tcp_the_currency_iso( false ); +} + +function tcp_the_currency_layout( $echo = true ) { + global $thecartpress; + $currency_layout = isset( $thecartpress->settings['currency_layout'] ) ? $thecartpress->settings['currency_layout'] : '%1$s%2$s (%3$s)'; + $currency_layout = apply_filters( 'tcp_the_currency_layout', $currency_layout ); + if ( $echo ) + echo $currency_layout; + else + return $currency_layout; +} + +function tcp_get_the_currency_layout() { + return tcp_the_currency_layout( false ); +} + +function tcp_get_decimal_currency() { + global $thecartpress; + $decimal_currency = isset( $thecartpress->settings['decimal_currency'] ) ? $thecartpress->settings['decimal_currency'] : '2'; + $decimal_currency = apply_filters( 'tcp_get_decimal_currency', $decimal_currency ); + return $decimal_currency; +} + +function tcp_the_unit_weight( $echo = true ) { + global $thecartpress; + $unit_weight = isset( $thecartpress->settings['unit_weight'] ) ? $thecartpress->settings['unit_weight'] : 'gr'; + $unit_weight = apply_filters( 'tcp_the_unit_weight', $unit_weight ); + if ( $echo ) + echo $unit_weight; + else + return $unit_weight; +} + +function tcp_get_the_unit_weight( $echo = true ) { + return tcp_the_unit_weight( false ); +} + +function tcp_get_default_currency() { + global $thecartpress; + return isset( $thecartpress->settings['currency'] ) ? $thecartpress->settings['currency'] : ''; +} + +function tcp_the_buy_button( $post_id = 0, $echo = true ) { + $html = apply_filters( 'tcp_the_buy_button', '', $post_id ); + if ( strlen( $html ) > 0 ) { + if ( $echo ) echo $html; + else return $html; + } else { + require_once( dirname( dirname( __FILE__ ) ) . '/classes/BuyButton.class.php' ); + return BuyButton::show( $post_id, $echo ); + } +} + +function tcp_get_the_buy_button( $post_id = 0 ) { + return tcp_the_buy_button( $post_id, false ); +} + +function tcp_the_order_panel() { + OrderPanel::show(); +} + +/** + * Returns the price of the current product + * since 1.0.9 + */ +function tcp_the_price( $before = '', $after = '', $echo = true ) { + $price = tcp_number_format( tcp_get_the_price() ); + $price = $before . $price . $after; + if ( $echo ) + echo $price; + else + return $price; +} + +/** + * Returns the price of the given product + * since 1.0.9 + */ +function tcp_get_the_price( $post_id = 0 ) { + $price = (float)tcp_get_the_meta( 'tcp_price', $post_id ); + $price = apply_filters( 'tcp_get_the_price', $price, $post_id ); + return $price; +} + +/** + * Adds the currency to the price + * since 1.0.9 + */ +function tcp_format_the_price( $price, $currency = '') { + if ( $currency == '' ) $currency = tcp_get_the_currency(); + //$label = sprintf( _x( '%1$s%2$s (%3$s)', 'currency + price + (currency ISO)', 'tcp' ), $currency, tcp_number_format( $price, tcp_get_decimal_currency() ), tcp_get_the_currency_iso() ); + $layout = tcp_get_the_currency_layout(); + if ( strlen( $layout ) == 0 ) $layout = _x( '%1$s%2$s (%3$s)', 'currency + price + (currency ISO)', 'tcp' ); + $label = sprintf( $layout, $currency, tcp_number_format( $price, tcp_get_decimal_currency() ), tcp_get_the_currency_iso() ); + $label = apply_filters( 'tcp_format_the_price', $label ); + return $label; +} + +/** + * Display the price + * since 1.0.9 + */ +function tcp_the_price_label( $before = '', $after = '', $echo = true ) { + $label = tcp_get_the_price_label(); + $label = $before . $label . $after; + if ( $echo ) + echo $label; + else + return $label; +} + +/** + * Returns the price + * since 1.0.9 + */ +function tcp_get_the_price_label( $post_id = 0 ) { + if ( $post_id == 0 ) $post_id = get_the_ID(); + $type = tcp_get_the_meta( 'tcp_type', $post_id ); + if ( $type == 'SIMPLE' ) { + $price = tcp_get_the_price_with_tax( $post_id ); + $label = tcp_format_the_price( $price ); + } else { //GROUPED + require_once( dirname( dirname( __FILE__ ) ) . '/daos/RelEntities.class.php' ); + $products = RelEntities::select( $post_id, $type ); + if ( is_array( $products ) && count( $products ) > 0 ) { + $min = 99999999999;//(float)tcp_get_the_price( $products[0]->id_to ); + $max = 0; + foreach( $products as $product ) { + if ( ! tcp_is_exclude_range( $product->id_to ) ) { + $price = (float)tcp_get_the_price( $product->id_to ); + if ( $price > 0 ) { + if ( $price < $min ) $min = $price; + if ( $price > $max ) $max = $price; + } + } + } + if ( $min != $max ) { + $label = sprintf( _x( '%s to %s', 'min_price to max_price', 'tcp' ), tcp_format_the_price( $min ), tcp_format_the_price( $max ) ); + } else { + $label = tcp_format_the_price( $min ); + } + } else { + $label = ''; + } + } + $label = apply_filters( 'tcp_get_the_price_label', $label, $post_id ); + return $label; +} + +/** + * Calculates the tax and return the price with or without tax + * since 1.0.9 + */ +function tcp_get_the_price_with_tax( $post_id, $price = false ) { + if ( ! $price ) $price = tcp_get_the_price( $post_id ); + if ( tcp_is_display_prices_with_taxes() ) { + if ( tcp_is_prices_include_tax() ) { + return $price; + } else { //add tax from price + $tax = tcp_get_the_tax( $post_id ); + $amount = $price * $tax / 100; + return $price + $amount; + } + } elseif ( ! tcp_is_prices_include_tax() ) { + return $price; + } else { //remove tax from price + $tax = tcp_get_the_tax( $post_id ); + return $price / ( 1 + $tax / 100 ); + } +} + +/** + * Returns the price without tax + * since 1.0.9 + */ +function tcp_get_the_price_without_tax( $post_id, $price = false ) { + if ( ! $price ) $price = tcp_get_the_price( $post_id ); + if ( tcp_is_prices_include_tax() ) { + $tax = tcp_get_the_tax( $post_id ); + $price_without_tax = $price / (1 + $tax / 100 ); + return $price_without_tax; + } else { + return $price; + } +} + +function tcp_get_the_tax_amount( $post_id, $price = false ) { + if ( ! $price ) $price = tcp_get_the_price( $post_id ); + $tax = tcp_get_the_tax( $post_id ); + if ( tcp_is_prices_include_tax() ) { + return $price * $tax / ( 100 + $tax ); + } else { + return $price * $tax / 100; + } +} + +/** + * Returns the tax applied to a product + * since 1.0.9 + */ +function tcp_get_the_tax( $post_id = 0 ) { + $tax_id = tcp_get_the_tax_id( $post_id ); + if ( $tax_id == 0 ) return 0; + $country_iso = tcp_get_tax_country(); + $region_iso = tcp_get_tax_region(); + require_once( dirname( dirname ( __FILE__ ) ) . '/daos/TaxRates.class.php' ); + $tax = TaxRates::find( $country_iso, $region_iso, 'all', $tax_id ); + $tax = apply_filters( 'tcp_get_the_tax', $tax, $post_id ); + if ( $tax ) return $tax->rate; //$tax->label + else return 0; +} + +function tcp_the_tax( $before = '', $after = '', $echo = true ) { + $tax = tcp_number_format( tcp_get_the_tax() ); + $tax = $before . $tax . $after; + if ( $echo ) + echo $tax; + else + return $tax; +} + +function tcp_get_the_tax_id( $post_id = 0 ) { + $tax_id = tcp_get_the_meta( 'tcp_tax_id', $post_id ); + if ( ! $tax_id ) + return 0;//-1; + else + return $tax_id; +} + +/** + * Returns the default country to calculate tax + * since 1.0.9 + */ +function tcp_get_default_tax_country() { + global $thecartpress; + return isset( $thecartpress->settings['default_tax_country'] ) ? $thecartpress->settings['default_tax_country'] : ''; +} + +/** + * Returns the country iso to calculate tax + * since 1.0.9 + */ +function tcp_get_tax_country() { + $tax_based_on = tcp_get_tax_based_on(); + $country_iso = ''; + if ( $tax_based_on == 'billing' && function_exists( 'tcp_get_billing_country' ) ) { + $country_iso = tcp_get_billing_country(); + } elseif ( $tax_based_on == 'shipping' && function_exists( 'tcp_get_shipping_country' ) ) { + $country_iso = tcp_get_shipping_country(); + } + if ( $country_iso != '') { + return $country_iso; + } else { + return tcp_get_default_tax_country(); + } +} + +/** + * Returns the region iso to calculate tax + * since 1.0.9 + */ +function tcp_get_tax_region() { + $tax_based_on = tcp_get_tax_based_on(); + $region_iso = ''; + if ( $tax_based_on == 'billing' && function_exists( 'tcp_get_billing_region' ) ) { + $region_iso = tcp_get_billing_region(); + } elseif ( $tax_based_on == 'shipping' && function_exists( 'tcp_get_shipping_region' ) ) { + $region_iso = tcp_get_shipping_region(); + } + if ( $region_iso != '') { + return $region_iso; + } else { + return 'all'; + } +} + +/** + * Calculates the shipping/payment/other costs with tax + * since 1.0.9 + */ +function tcp_calculate_tax_for_shipping( $cost ) { + $tax = tcp_get_the_shipping_tax(); + if ( tcp_is_shipping_cost_include_tax() ) + return $cost; + else + return $cost * $tax / 100; +} + +/** + * Returns the shipping cost without tax + * since 1.0.9 + */ +function tcp_get_the_shipping_cost_without_tax( $cost ) { + if ( tcp_is_shipping_cost_include_tax() ) { + $tax = tcp_get_the_shipping_tax(); + $cost_without_tax = $cost / ( 1 + $tax / 100 ); + return $cost_without_tax; + } else { + return $cost; + } +} + +/** + * Returns the tax to apply to the shipping/payment/other costs + * since 1.0.9 + */ +function tcp_get_the_shipping_tax() { + global $thecartpress; + $tax_id = isset( $thecartpress->settings['tax_for_shipping'] ) ? $thecartpress->settings['tax_for_shipping'] : 0; + if ( $tax_id == 0 ) return 0; + require_once( dirname( dirname ( __FILE__ ) ) . '/daos/TaxRates.class.php' ); + $country_iso = tcp_get_tax_country(); + $region_iso = tcp_get_tax_region(); + $tax = TaxRates::find( $country_iso, $region_iso, 'all', $tax_id ); + $tax = apply_filters( 'tcp_get_the_tax_for_shipping', $tax ); + if ( $tax ) return $tax->rate; //$tax->label + else return 0; +} + +function tcp_is_shipping_cost_include_tax() { + global $thecartpress; + return isset( $thecartpress->settings['shipping_cost_include_tax'] ) ? $thecartpress->settings['shipping_cost_include_tax'] : false; +} + +function tcp_is_display_shipping_cost_with_taxes() { + global $thecartpress; + return isset( $thecartpress->settings['display_shipping_cost_with_taxes'] ) ? $thecartpress->settings['display_shipping_cost_with_taxes'] : false; +} + +/** + * Returns true if the prices include the taxes + */ +function tcp_is_prices_include_tax() { + global $thecartpress; + return isset( $thecartpress->settings['prices_include_tax'] ) ? $thecartpress->settings['prices_include_tax'] : false; +} + +function tcp_get_tax_based_on() { + global $thecartpress; + return isset( $thecartpress->settings['tax_based_on'] ) ? $thecartpress->settings['tax_based_on'] : 'origin'; +} + +/** + * Returns true if the prices must be displayed with taxes + */ +function tcp_is_display_prices_with_taxes() { + global $thecartpress; + return isset( $thecartpress->settings['display_prices_with_taxes'] ) ? $thecartpress->settings['display_prices_with_taxes'] : false; +} + +/** + * Returns true if the full tax summary must be displayed in the cart/order tables + */ +function tcp_is_display_full_tax_summary() { + global $thecartpress; + return isset( $thecartpress->settings['display_full_tax_summary'] ) ? $thecartpress->settings['display_full_tax_summary'] : false; +} + +function tcp_get_display_zero_tax_subtotal() { + global $thecartpress; + return isset( $thecartpress->settings['display_zero_tax_subtotal'] ) ? $thecartpress->settings['display_zero_tax_subtotal'] : false; +} +/** + * Returns true if the tax summary must be displayed in the cart/order tables + */ +function display_zero_tax_subtotal() { + global $thecartpress; + return isset( $thecartpress->settings['display_zero_tax_subtotal'] ) ? $thecartpress->settings['display_zero_tax_subtotal'] : false; +} + +/*function tcp_the_tax( $before = '', $after = '', $echo = true ) { + $tax = tcp_number_format( tcp_get_the_tax() ); + $tax = $before . $tax . $after; + if ( $echo ) + echo $tax; + else + return $tax; +} + +function tcp_get_the_tax( $post_id = 0 ) { + $tax = (float)tcp_get_the_meta( 'tcp_tax', $post_id ); + return apply_filters( 'tcp_get_the_tax', $tax, $post_id ); +} + +function tcp_get_the_tax_label( $post_id = 0 ) { + $tax = tcp_get_the_meta( 'tcp_tax_label', $post_id ); + $tax = apply_filters( 'tcp_get_the_tax_label', $tax, $post_id ); + return $tax; +} +*/ +//TODO Deprecated 1.1 +function tcp_the_tax_label( $before = '', $after = '', $echo = true ) { + return ''; + //$tax = tcp_get_the_tax_label(); + //$tax = $before . $tax . $after; + //if ( $echo ) + // echo $tax; + //else + // return $tax; +} +//TODO Deprecated 1.1 +/* +function tcp_the_price_tax( $before = '', $after = '', $echo = true ) { + $price = tcp_get_the_price_tax(); + if ( strlen( $price ) == 0 ) return; + else $price = tcp_number_format( $price ); + $price = $before . $price . $after; + if ( $echo ) + echo $price; + else + return $price; +} + +function tcp_get_the_price_tax( $post_id = 0 ) { + $price = tcp_get_the_meta( 'tcp_price', $post_id ); + if ( ! $price ) return; + if ( strlen( $price ) == 0 ) $price = 0; + $tax = tcp_get_the_meta( 'tcp_tax', $post_id ); + if ( ! $tax ) return; + if ( strlen( $tax ) == 0 ) $tax = 0; + if ( $tax > 0 ) $price = $price * 1 + ($tax / 100); + return apply_filters( 'tcp_get_the_price_tax', $price, $post_id ); +}*/ + +function tcp_get_the_product_type( $post_id = 0 ) { + return tcp_get_the_meta( 'tcp_type', $post_id ); +} + +function tcp_get_the_weight( $post_id = 0 ) { + $weight = (float)tcp_get_the_meta( 'tcp_weight', $post_id ); + $weight = apply_filters( 'tcp_get_the_weight', $weight, $post_id ); + return $weight; +} + +function tcp_the_weight( $before = '', $after = '', $echo = true ) { + $weight = tcp_number_format( tcp_get_the_weight() ); + $weight = $before . $weight . $after; + if ( $echo ) + echo $weight; + else + return $weight; +} + +function tcp_get_the_order( $post_id = 0 ) { + return (int)tcp_get_the_meta( 'tcp_order', $post_id ); +} + +function tcp_the_sku( $before = '', $after = '', $echo = true ) { + $sku = tcp_the_meta( 'tcp_sku', $before, $after, false ); + if ( $echo ) + echo $sku; + else + return $sku; +} + +function tcp_get_the_sku( $post_id = 0, $option_1_id = 0, $option_2_id = 0 ) { + if ( $option_2_id > 0) { + $sku = tcp_get_the_meta( 'tcp_sku', $option_2_id ); + if ( strlen( $sku ) == 0 ) + return tcp_get_the_sku( $post_id, $option_1_id ); + } elseif ( $option_1_id > 0) { + $sku = tcp_get_the_meta( 'tcp_sku', $option_1_id ); + if ( strlen( $sku ) == 0 ) + return tcp_get_the_sku( $post_id ); + } else + $sku = tcp_get_the_meta( 'tcp_sku', $post_id ); + $sku = apply_filters( 'tcp_get_the_sku', $sku, $post_id, $option_1_id, $option_2_id ); + return $sku; +} + +function tcp_the_stock( $before = '', $after = '', $echo = true ) { + $stock = tcp_the_meta( 'tcp_stock', $before, $after, false ); + if ( $echo ) + echo $stock; + else + return $stock; +} + +function tcp_get_the_stock( $post_id = 0, $option_1_id = 0, $option_2_id = 0 ) { + if ( $option_2_id > 0) { + $stock = tcp_get_the_meta( 'tcp_stock', $option_2_id ); + if ( $stock == -1 ) + $stock = tcp_get_the_stock( $post_id, $option_1_id ); + } elseif ( $option_1_id > 0) { + $stock = tcp_get_the_meta( 'tcp_stock', $option_1_id ); + if ( $stock == -1 ) + $stock = tcp_get_the_stock( $post_id ); + } else { + $stock = tcp_get_the_meta( 'tcp_stock', $post_id ); + if ( strlen( $stock ) > 0 ) + $stock = (int)$stock; + else + $stock = -1; + } + $stock = apply_filters( 'tcp_get_the_stock', $stock, $post_id, $option_1_id, $option_2_id ); + return $stock; +} + +function tcp_set_the_stock( $post_id, $option_1_id = 0, $option_2_id = 0, $stock = -1 ) { + if ( (int)$stock > -1 ) { + if ( $option_2_id > 0) { + $old_stock = tcp_get_the_meta( 'tcp_stock', $option_2_id ); + if ( $old_stock == -1 ) { + return tcp_set_the_stock( $post_id, $option_1_id, 0, $stock ); + } else { + update_post_meta( $option_2_id, 'tcp_stock', (int)$stock ); + return true; + } + } elseif ( $option_1_id > 0) { + $old_stock = tcp_get_the_meta( 'tcp_stock', $option_1_id ); + if ( $old_stock == -1 ) { + return tcp_set_the_stock( $post_id, 0, 0, $stock ); + } else { + update_post_meta( $option_1_id, 'tcp_stock', (int)$stock ); + return true; + } + } else { + update_post_meta( $post_id, 'tcp_stock', (int)$stock ); + return true; + } + } else return false; +} + +function tcp_is_downloadable( $post_id = 0 ) { + return tcp_get_the_meta( 'tcp_is_downloadable', $post_id ); +} + +function tcp_is_exclude_range( $post_id = 0 ) { + $default_id = tcp_get_default_id( $post_id ); + return tcp_get_the_meta( 'tcp_exclude_range', $default_id ); +} + +function tcp_is_visible( $post_id = 0 ) { + return tcp_get_the_meta( 'tcp_is_visible', $post_id ); +} + +function tcp_hide_buy_button( $post_id = 0 ) { + return tcp_get_the_meta( 'tcp_hide_buy_button', $post_id ); +} + +function tcp_get_the_file( $post_id = 0 ) { + return tcp_get_the_meta( 'tcp_download_file', $post_id ); +} + +function tcp_set_the_file( $post_id, $upload_file ) { + $default_id = tcp_get_default_id( $post_id ); + if ( $default_id != $post_id ) $post_id = $default_id; + update_post_meta( $post_id, 'tcp_download_file', $upload_file ); +} + +function tcp_the_meta( $meta_key, $before = '', $after = '', $echo = true ) { + $meta_value = tcp_get_the_meta( $meta_key ); + if ( strlen( $meta_value ) == 0 ) return ''; + $meta_value = $before . $meta_value . $after; + if ( $echo ) + echo $meta_value; + else + return $meta_value; +} + +function tcp_get_the_meta( $meta_key, &$post_id = 0 ) { + if ( $post_id == 0 ) $post_id = get_the_ID(); + $meta_value = get_post_meta( $post_id, $meta_key, true ); + if ( ! $meta_value ) { + $default_id = tcp_get_default_id( $post_id ); + if ( $default_id != $post_id ) $meta_value = get_post_meta( $default_id, $meta_key, true ); + } + $meta_value = apply_filters( 'tcp_get_the_meta', $meta_value, $meta_key, $post_id ); + return $meta_value; +} + +//to select in a multiple select control +function tcp_selected_multiple( $values, $value, $echo = true ) { + if ( in_array( $value, $values ) ) + if ( $echo ) + echo ' selected="true"'; + else + return ' selected="true"'; +} + +function tcp_get_the_parent( $post_id, $rel_type = 'GROUPED' ) { + require_once( dirname( dirname( __FILE__ ) ) . '/daos/RelEntities.class.php' ); + return RelEntities::getParent( $post_id, $rel_type ); +} + +/** + * Formats a float number to a string number to show in the screen + * @since 1.0.7 + */ +function tcp_number_format( $number, $decimals = 2 ) { + global $thecartpress; + return number_format( $number, $decimals, $thecartpress->settings['decimal_point'], $thecartpress->settings['thousands_separator'] ); +} + +/** + * Converts a typed number into a float number + * @since 1.0.7 + */ +function tcp_input_number( $input ) { + global $thecartpress; + + $aux = str_replace( $thecartpress->settings['thousands_separator'], '', $input ); + $aux = str_replace( $thecartpress->settings['decimal_point'], '.', $aux ); + return (float)$aux; +} + +/** + * Returns the remote ip + * @since 1.0.9 + */ +function tcp_get_remote_ip() { + if ( isset( $_SERVER['HTTP_X_FORWARDED_FOR'] ) && $_SERVER['HTTP_X_FORWARDED_FOR'] != '' ) { // for proxy + $ip = $_SERVER['HTTP_X_FORWARDED_FOR']; + //$proxy = $_SERVER['REMOTE_ADDR']; + //$host = @gethostbyaddr( $_SERVER['HTTP_X_FORWARDED_FOR'] ); + } else { // for normal user + $ip = isset( $_SERVER['REMOTE_ADDR'] ) ? $_SERVER['REMOTE_ADDR'] : ''; + //$host = @gethostbyaddr( $_SERVER['REMOTE_ADDR'] ); + } + return $ip; +} +?> diff --git a/src/wp-content/plugins/thecartpress/templates/tcp_template_template.php b/src/wp-content/plugins/thecartpress/templates/tcp_template_template.php new file mode 100644 index 0000000..93eddff --- /dev/null +++ b/src/wp-content/plugins/thecartpress/templates/tcp_template_template.php @@ -0,0 +1,61 @@ +. + */ + +$tcp_template_classes = array(); //to store the template classes + +function tcp_add_template_class( $template_class ) { + global $tcp_template_classes; + $tcp_template_classes[$template_class] = 0; +} + +function tcp_remove_template_class( $template_class ) { + global $tcp_template_classes; + unset( $tcp_template_classes[$template_class] ); +} + +function tcp_get_templates_classes() { + global $tcp_template_classes; + return array_keys( $tcp_template_classes ); +} + +function tcp_do_template( $template_class, $echo = true ) { + $args = array( + 'post_type' => TemplateCustomPostType::$TEMPLATE, + 'posts_per_page'=> -1, + 'meta_query' => array( + array( + 'key' => 'tcp_template_class', + 'value' => $template_class, + 'compare' => '=' + ) + ) + ); + $query = new WP_Query( $args ); + $html = ''; + while ( $query->have_posts() ) { + $query->the_post(); + $html .= apply_filters( 'the_content', get_the_content() ); + } + wp_reset_postdata(); + wp_reset_query(); + if ( $echo ) + echo $html; + else + return $html; +} +?> diff --git a/src/wp-content/plugins/thecartpress/templates/tcp_wpml_template.php b/src/wp-content/plugins/thecartpress/templates/tcp_wpml_template.php new file mode 100644 index 0000000..0542b9b --- /dev/null +++ b/src/wp-content/plugins/thecartpress/templates/tcp_wpml_template.php @@ -0,0 +1,117 @@ +. + */ + +//WPML Multilanguage support + + +function tcp_get_current_language_iso() { + if ( defined( 'ICL_LANGUAGE_CODE' ) ) { + return ICL_LANGUAGE_CODE; + } else { + tcp_get_admin_language_iso(); + } +} + +//Given a post_id this function returns the post_id in the default language +function tcp_get_default_id( $post_id, $post_type = 'tcp_product' ) { + global $sitepress; + if ( $sitepress ) { + $default_language = $sitepress->get_default_language(); + return icl_object_id( $post_id, $post_type, true, $default_language ); + } else + return $post_id; +} + +//Given a post_id this function returns the equivalent post_id in the current language +function tcp_get_current_id( $post_id, $post_type = 'tcp_product' ) { + global $sitepress; + if ( $sitepress ) { + $default_language = $sitepress->get_current_language(); + return icl_object_id( $post_id, $post_type, true, $default_language ); + } else + return $post_id; +} + +/** + * Returns the list of translations from a given post_id + * Example of returned array + * array(2) { ["en"]=> object(stdClass)#45 (6) { ["translation_id"]=> string(2) "11" ["language_code"]=> string(2) "en" ["element_id"]=> string(1) "9" ["original"]=> string(1) "1" ["post_title"]=> string(21) "Tom Sawyer Adventures" ["post_status"]=> string(7) "publish" } + * ["es"]=> object(stdClass)#44 (6) { ["translation_id"]=> string(2) "12" ["language_code"]=> string(2) "es" ["element_id"]=> string(2) "10" ["original"]=> string(1) "0" ["post_title"]=> string(27) "Las Aventuras de Tom Sawyer" ["post_status"]=> string(7) "publish" } } + */ +function tcp_get_all_translations( $post_id, $post_type = 'tcp_product' ) { + global $sitepress; + if ( $sitepress ) { + $trid = $sitepress->get_element_trid( $post_id, 'post_' . $post_type ); + return $sitepress->get_element_translations( $trid, 'post_'. $post_type ); + } else + return false; +} + +function tcp_get_default_language() { + global $sitepress; + if ( $sitepress ) { + return $sitepress->get_default_language(); + } else { + return ''; + } +} + +function tcp_get_current_language() { + global $sitepress; + if ( $sitepress ) { + return $sitepress->get_current_language(); + } else { + return tcp_get_default_language(); + } +} + +/** + * This function adds a post identified by the $translate_post_id as a translation of the post identified by $post_id + */ +function tcp_add_translation( $post_id, $translate_post_id, $language, $post_type = 'tcp_product' ) { + global $sitepress; + if ( $sitepress ) { + $trid = $sitepress->get_element_trid( $post_id, 'post_' . $post_type ); + $sitepress->set_element_language_details( $translate_post_id, 'post_' . $post_type, $trid, $language ); + } +} + +/** + * To register strings to translate. For Example to translate the titles of the wigets + * +function tcp_register_string( $context, $name, $value ) { + if ( function_exists( 'icl_register_string' ) ) + icl_register_string( $context, $name, $value ); +} + +function tcp_unregiser_string( $context, $name ) { + if ( function_exists( 'icl_unregister_string' ) ) + icl_unregister_string( $context, $name ); +} + +/** + * Returns the translation of a string identified by $context and $name + * +function tcp_t( $context, $name, $value ) { + if ( function_exists( 'icl_t' ) ) + return icl_t( $context, $name, $value ); + else + return $value; +}*/ +//end Multilanguage +?> diff --git a/src/wp-content/plugins/thecartpress/themes-templates/twentyten-eCommerce/functions.php b/src/wp-content/plugins/thecartpress/themes-templates/twentyten-eCommerce/functions.php new file mode 100644 index 0000000..0c68455 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/themes-templates/twentyten-eCommerce/functions.php @@ -0,0 +1,235 @@ +. + */ + +add_image_size( 'mini-thumbnail', 45, 45 ); // mini thumbnails +add_image_size( 'medium-thumbnail', 95, 75 ); // medium thumbnails + +if ( ! function_exists( 'twentytencart_posted_on' ) ) : +/** + * Prints HTML with meta information for the current postdate/time and author. + * + * @since Twenty Ten 1.0 + */ +function twentytencart_posted_on() { + printf( __( 'Posted on %2$s by %3$s', 'twentyten' ), + 'meta-prep meta-prep-author', + sprintf( '', + get_permalink(), + esc_attr( get_the_time() ), + get_the_date() + ), + sprintf( '%3$s', + get_author_posts_url( get_the_author_meta( 'ID' ) ), + sprintf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ), + get_the_author() + ) + ); +} +endif; + + + +if ( ! function_exists( 'twentytencart_posted_in' ) ) : +/** + * Prints HTML with meta information for the current post (category, tags and permalink). + * + * @since Twenty Ten 1.0 + */ +function twentytencart_posted_in() { + // Retrieves tag list of current post, separated by commas. + $tag_list = get_the_term_list(0, 'tcp_product_tag', '', ', '); + $supplier_list = get_the_term_list(0, 'tcp_product_supplier', '', ', '); + if ( $tag_list && $supplier_list ) { + $posted_in = __( 'This entry was posted in %1$s and tagged %2$s and supplied by %3$s. Bookmark the permalink.', 'twentytencart' ); + } elseif ( $tag_list ) { + $posted_in = __( 'This entry was posted in %1$s and tagged %2$s. Bookmark the permalink.', 'twentyten' ); + } elseif ( $supplier_list ) { + $posted_in = __( 'This entry was posted in %1$s and supplied by %3$s. Bookmark the permalink.', 'twentytencart' ); + } elseif ( is_object_in_taxonomy( get_post_type(), 'tcp_product_category' ) ) { + $posted_in = __( 'This entry was posted in %1$s. Bookmark the permalink.', 'twentyten' ); + } else { + $posted_in = __( 'Bookmark the permalink.', 'twentyten' ); + } + + // Prints the string, replacing the placeholders. + printf( + $posted_in, + get_the_term_list(0, 'tcp_product_category', '', ' , '), + $tag_list, + $supplier_list, + get_permalink(), + the_title_attribute( 'echo=0' ) + ); +} +endif; + +add_action( 'admin_menu', 'twentytencart_admin_menu', 99 ); +add_action( 'admin_init', 'twentytencart_admin_init' ); +add_action( 'twentyten_credits', 'twentytencart_credits' ); + +function twentytencart_admin_menu() { + //add_options_page( __( 'TwentytenCart', 'tcp' ), __( 'TwentytenCart settings', 'tcp' ), 'tcp_edit_settings', 'themes', 'twentytencart_show_settings' ); + add_submenu_page( 'themes.php', __( 'TCP Loop settings', 'tcp' ), __( 'TCP Loop settings', 'tcp' ), 'tcp_edit_settings', __FILE__, 'twentytencart_show_settings' ); +} + +function twentytencart_admin_init() { + register_setting( 'twentytencart_options', 'ttc_settings', 'twentytencart_validate' ); + add_settings_section( 'main_section', __( 'Main settings', 'tcp' ) , 'twentytencart_show_main_section', __FILE__ ); + add_settings_field( 'see_title', __( 'See title:', 'tcp' ), 'twentytencart_see_title', __FILE__ , 'main_section' ); + add_settings_field( 'see_image', __( 'See image:', 'tcp' ), 'twentytencart_see_image', __FILE__ , 'main_section' ); + add_settings_field( 'image_size', __( 'Image size:', 'tcp' ), 'twentytencart_image_size', __FILE__ , 'main_section' ); + add_settings_field( 'see_excerpt', __( 'See excerpt:', 'tcp' ), 'twentytencart_see_excerpt', __FILE__ , 'main_section' ); + add_settings_field( 'see_content', __( 'See content:', 'tcp' ), 'twentytencart_see_content', __FILE__ , 'main_section' ); + add_settings_field( 'see_author', __( 'See author:', 'tcp' ), 'twentytencart_see_author', __FILE__ , 'main_section' ); + add_settings_field( 'see_price', __( 'See price:', 'tcp' ), 'twentytencart_see_price', __FILE__ , 'main_section' ); + add_settings_field( 'see_buy_button', __( 'See buy button:', 'tcp' ), 'twentytencart_see_buy_button', __FILE__ , 'main_section' ); + add_settings_field( 'see_meta_data', __( 'See meta data:', 'tcp' ), 'twentytencart_see_meta_data', __FILE__ , 'main_section' ); + add_settings_field( 'see_meta_utilities', __( 'See meta utilities:', 'tcp' ), 'twentytencart_see_meta_utilities', __FILE__ , 'main_section' ); + add_settings_field( 'columns', __( 'Columns:', 'tcp' ), 'twentytencart_columns', __FILE__ , 'main_section' ); + add_settings_field( 'see_first_custom_area', __( 'See first custom area', 'tcp' ), 'twentytencart_see_first_custom_area', __FILE__ , 'main_section' ); + add_settings_field( 'see_second_custom_area', __( 'See second custom area', 'tcp' ), 'twentytencart_see_second_custom_area', __FILE__ , 'main_section' ); + add_settings_field( 'see_third_custom_area', __( 'See third custom area', 'tcp' ), 'twentytencart_see_third_custom_area', __FILE__ , 'main_section' ); +} + +function twentytencart_credits() { +?> +
      +

      +
      + + +

      + +

      +
      +
      + /> + /> + + + /> + /> + /> + /> + /> + /> + /> + + /> + /> + /> diff --git a/src/wp-content/plugins/thecartpress/themes-templates/twentyten-eCommerce/images/_notes/dwsync.xml b/src/wp-content/plugins/thecartpress/themes-templates/twentyten-eCommerce/images/_notes/dwsync.xml new file mode 100644 index 0000000..48597cc --- /dev/null +++ b/src/wp-content/plugins/thecartpress/themes-templates/twentyten-eCommerce/images/_notes/dwsync.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/src/wp-content/plugins/thecartpress/themes-templates/twentyten-eCommerce/images/arrow-circle.gif b/src/wp-content/plugins/thecartpress/themes-templates/twentyten-eCommerce/images/arrow-circle.gif new file mode 100644 index 0000000..582185e Binary files /dev/null and b/src/wp-content/plugins/thecartpress/themes-templates/twentyten-eCommerce/images/arrow-circle.gif differ diff --git a/src/wp-content/plugins/thecartpress/themes-templates/twentyten-eCommerce/images/chekout_box_bg.jpg b/src/wp-content/plugins/thecartpress/themes-templates/twentyten-eCommerce/images/chekout_box_bg.jpg new file mode 100644 index 0000000..22bf626 Binary files /dev/null and b/src/wp-content/plugins/thecartpress/themes-templates/twentyten-eCommerce/images/chekout_box_bg.jpg differ diff --git a/src/wp-content/plugins/thecartpress/themes-templates/twentyten-eCommerce/license.txt b/src/wp-content/plugins/thecartpress/themes-templates/twentyten-eCommerce/license.txt new file mode 100644 index 0000000..5fbe4a7 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/themes-templates/twentyten-eCommerce/license.txt @@ -0,0 +1,281 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 51 Franklin St, Fifth Floor, Boston, MA 02110, USA + + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + diff --git a/src/wp-content/plugins/thecartpress/themes-templates/twentyten-eCommerce/loop-single-product.php b/src/wp-content/plugins/thecartpress/themes-templates/twentyten-eCommerce/loop-single-product.php new file mode 100644 index 0000000..5e05540 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/themes-templates/twentyten-eCommerce/loop-single-product.php @@ -0,0 +1,120 @@ +. + */ + +/** + * The loop that displays products in configurable GRID mode. + * + * @package WordPress + * @subpackage Twenty_Ten_Ecommerce + * @since Twenty Ten Ecommerce 1.0 + */ +?> + + +max_num_pages > 1 ) : ?> + + + + + +
      +

      +
      +

      + +
      +
      + + + + + + +
      > +

      + + + + +
      + +
      + +
      + →', 'twentyten' ) ); ?> + '' ) ); ?> +
      + + +
      + + + Posted in %2$s', 'twentyten' ), 'entry-utility-prep entry-utility-prep-cat-links', get_the_term_list(0, 'tcp_product_category', '', ', ' ) ); ?> + + | + + + Tagged %2$s', 'twentyten' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); ?> + + | + + + Supplied by %2$s', 'twentyten' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); ?> + + + + + | ', '' ); ?> +
      +
      + + + + + + + +max_num_pages > 1 ) : ?> + + diff --git a/src/wp-content/plugins/thecartpress/themes-templates/twentyten-eCommerce/loop-tcp-grid.php b/src/wp-content/plugins/thecartpress/themes-templates/twentyten-eCommerce/loop-tcp-grid.php new file mode 100644 index 0000000..f6b48cc --- /dev/null +++ b/src/wp-content/plugins/thecartpress/themes-templates/twentyten-eCommerce/loop-tcp-grid.php @@ -0,0 +1,193 @@ +. + */ + +/** + * The loop that displays products in configurable GRID mode. + * + * @package WordPress + * @subpackage Twenty_Ten_Ecommerce + * @since Twenty Ten Ecommerce 1.0 + */ +?> + +max_num_pages > 1 ) : ?> + + + + + +
      +

      +
      +

      + +
      +
      + + + + + + + +'; + $column = $number_of_columns; + } +?> + +'; +?> + + + 0; $column-- ) + echo ''; +?> +
      > + +
      > + +

      + + + + + +
      + +
      + + +
      + +
      + + +
      + +
      + + +
      + +
      + + +
      + →', 'twentyten' ) ); ?> + '' ) ); ?> +
      + + + + + + + + + + + + + +
      +
      + +
      + +
      + + + + +
      + + + Posted in %2$s', 'twentyten' ), 'entry-utility-prep entry-utility-prep-cat-links', get_the_term_list(0, 'tcp_product_category', '', ', ' ) ); ?> + + | + + + Tagged %2$s', 'twentyten' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); ?> + + | + + + Supplied by %2$s', 'twentyten' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); ?> + + + + + | ', '' ); ?> +
      + +
      + +
       
      + +max_num_pages > 1 ) : ?> + + diff --git a/src/wp-content/plugins/thecartpress/themes-templates/twentyten-eCommerce/single-tcp_product.php b/src/wp-content/plugins/thecartpress/themes-templates/twentyten-eCommerce/single-tcp_product.php new file mode 100644 index 0000000..2d6d8b1 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/themes-templates/twentyten-eCommerce/single-tcp_product.php @@ -0,0 +1,25 @@ + + +
      +
      + + + +
      +
      + + + diff --git a/src/wp-content/plugins/thecartpress/themes-templates/twentyten-eCommerce/style.css b/src/wp-content/plugins/thecartpress/themes-templates/twentyten-eCommerce/style.css new file mode 100644 index 0000000..95f6a85 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/themes-templates/twentyten-eCommerce/style.css @@ -0,0 +1,194 @@ +/* +Theme Name: Twentyten eCommerce +Theme URI: http://thecartpress.com/ +Description: Extend the functionality of the Twenty Ten theme with E-Commerce. A basic CHILD theme to use with TheCartPress E-commerce Cart plugin. Able to work with custom post types and taxonomies. New configurable template loops: Grid and List. Templates for e-commerce taxonomies: categories, tags, suppliers. Template for single products. Use the useful widgets of TheCartPress Ecommerce Cart plugin to create your e-commerce: Shopping cart, Product lists, navigation store menus: product categories, product tags, suppliers, related items. Ecommerces, stores and shops. +Author: TheCartPress Team +Author URI: http://thecartpress.com/ +Version: 1.0 +Template Version: 1.0.4 +License: GNU General Public License +License URI: license.txt +Tags: thecartpress, cartpress, e-commerce, cart, store, shopping cart, shop, shopping, commerce, ecommerce, custom post types, taxonomies, taxonomy, twentyten +Template: twentyten +*/ + + + +@import url("../twentyten/style.css"); + +#content h1.page-title { + font-size: 24px; + font-weight: bold; + color: #999; + text-transform: capitalize; + margin: 0 0 0px; +} +.page-title span { + color: #000; + font-size: 24px; + font-weight: bold; + font-style: italic; +}/*////////loop in content//////////////*/ +#content .type-tcp_product .hentry { + margin:10px 0 20px; +} +#content table.tcp_products_list tr td{ + border: 1px dotted #E7E7E7; +} +#content table.tcp_products_list { + width: 99%; +} +.tcp_products_list .entry-content, +.tcp_products_list .entry-summary { + clear: both; + padding: 0px 0 0; +} +#content .entry-price { + font-size: 11px; + font-weight: bold; + color: #C00; + text-transform: lowercase; +} +#content .entry-utility { + padding-top: 6px; + border-top: 1px dotted #ccc; +} +.comments-link { + display: block; + width: 100%; +} + +/*The loop in sidebar*/ +#primary p { + margin: 0 0 6px; +} +#primary .hentry { + margin: 0 0 3px; +} +#primary .hentry div { + margin: 0 0 0px; +} +#primary .hentry div.entry-title { + margin: 0 0 0px; +} +#primary .hentry div.entry-title a { + color: #06c; +} +#primary .hentry div.entry-title a:hover { + color: #FF4B33; +} +#primary .hentry div.entry-title a:visited { + color: #743399; +} +#primary .hentry div.entry-price { + font-size: 10px; + font-weight: normal; + color: #c00; + line-height: 12px; + padding-left: 4px; +} +#primary .entry-content, +#primary .entry-summary { + padding: 0px 0 0; +} +#primary .tcp_products_list td { + padding: 2px; +} + +#secondary p { + margin: 0 0 6px; +} +#secondary .hentry { + margin: 0 0 3px; +} +#secondary .hentry div { + margin: 0 0 0px; +} +#secondary .hentry div.entry-title { + margin: 0 0 0px; +} +#secondary .hentry div.entry-title a { + color: #06c; +} +#secondary .hentry div.entry-title a:hover { + color: #FF4B33; +} +#secondary .hentry div.entry-title a:visited { + color: #743399; +} +#secondary .hentry div.entry-price { + font-size: 10px; + font-weight: normal; + color: #c00; + line-height: 12px; + padding-left: 4px; +} +#secondary .entry-content, #primary .entry-summary { + padding: 0px 0 0; +} + + + + + + +/*///////Buy options in content ////////*/ +#content .entry-content .tcp_buy_button table { + font-size: 12px; + border: 1px solid #E7E7E7; + margin: 0 0px 10px 0; + text-align: left; + width: inherit; +} +#content .entry-content .tcp_buy_button table tr td{ + padding: 6px 6px; +} +#content .entry-content .tcp_buy_button table input{ + margin: 0 0 0px; +} + +#content .entry-content .tcp_buy_button table .tcp_added_product_title { + font-size: 11px; + clear: both; + display: block; + color: #999; +} + + + + +/*///////EXAMPLES ADDING CUSTOM STYLES TO TCP SHORTCODES//////*/ +/*/////// You can delete them //////*/ +#tcp_shortcode_single-home div.entry-post-thumbnail { + float: left; + background-color: #9F6; + margin-right: 10px; +} +#tcp_shortcode_single-home div.entry-summary { + clear: none; + padding: 12px 0 0; +} + +#tcp_shortcode_featured_products-medium table, +#tcp_shortcode_featured_products-medium th, +#tcp_shortcode_featured_products-medium td { + border: 0px solid #CCCCCC; +} +#tcp_shortcode_featured_products-medium .tcp_products_list td, +#tcp_shortcode_featured_products-medium .tcp_products_list tbody td{ + padding: 2px; + background-color: transparent; +} +#tcp_shortcode_featured_products-medium .tcp_products_list .entry-price { + font-size: 10px; +} +#tcp_shortcode_featured_products-medium .tcp_products_list h2.entry-title { + font-size: 11px; +} +#tcp_shortcode_featured_products-medium .type-tcp_product .hentry { + margin: 0 0 10px; +} +#tcp_shortcode_featured_products-medium table.tcp_products_list tr td{ + border: 0px dotted #E7E7E7; +} + diff --git a/src/wp-content/plugins/thecartpress/themes-templates/twentyten-eCommerce/taxonomy-tcp_product_category.php b/src/wp-content/plugins/thecartpress/themes-templates/twentyten-eCommerce/taxonomy-tcp_product_category.php new file mode 100644 index 0000000..528a4de --- /dev/null +++ b/src/wp-content/plugins/thecartpress/themes-templates/twentyten-eCommerce/taxonomy-tcp_product_category.php @@ -0,0 +1,32 @@ + + +
      +
      + +

      ' . $wp_query->queried_object->name . '' ); + ?>

      + ' . $category_description . '
      '; + + /* Run the loop for the category page to output the posts. + */ + get_template_part( 'loop', 'tcp-grid' ); + ?> + +
      +
      + + + diff --git a/src/wp-content/plugins/thecartpress/themes-templates/twentyten-eCommerce/taxonomy-tcp_product_supplier.php b/src/wp-content/plugins/thecartpress/themes-templates/twentyten-eCommerce/taxonomy-tcp_product_supplier.php new file mode 100644 index 0000000..c347d57 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/themes-templates/twentyten-eCommerce/taxonomy-tcp_product_supplier.php @@ -0,0 +1,32 @@ + + +
      +
      + +

      ' . $wp_query->queried_object->name . '' ); + ?>

      + ' . $category_description . '
      '; + + /* Run the loop for the supplier archive to output the products. + */ + get_template_part( 'loop', 'tcp-grid' ); + ?> + +
      + + + + diff --git a/src/wp-content/plugins/thecartpress/themes-templates/twentyten-eCommerce/taxonomy-tcp_product_tag.php b/src/wp-content/plugins/thecartpress/themes-templates/twentyten-eCommerce/taxonomy-tcp_product_tag.php new file mode 100644 index 0000000..ce9bdac --- /dev/null +++ b/src/wp-content/plugins/thecartpress/themes-templates/twentyten-eCommerce/taxonomy-tcp_product_tag.php @@ -0,0 +1,32 @@ + + +
      +
      + +

      ' . $wp_query->queried_object->name . '' ); + ?>

      +

      + ' . single_tag_title( '', false ) . '' ); + ?> +

      + +
      +
      + + + diff --git a/src/wp-content/plugins/thecartpress/widgets/BrothersListWidget.class.php b/src/wp-content/plugins/thecartpress/widgets/BrothersListWidget.class.php new file mode 100644 index 0000000..a6b4a4e --- /dev/null +++ b/src/wp-content/plugins/thecartpress/widgets/BrothersListWidget.class.php @@ -0,0 +1,71 @@ +. + */ + +require_once( dirname( __FILE__) . '/CustomListWidget.class.php' ); + +class BrothersListWidget extends CustomListWidget { + + function BrothersListWidget() { + parent::CustomListWidget( 'tcpbrotherslist', __( 'Allow to create brothers list', 'tcp' ), 'TCP Brothers List' ); + } + + function widget( $args, $instance ) { + if ( ! is_single() ) return; + global $post; + if ( $post ) { + $terms = get_the_terms( 0, 'tcp_product_category' ); + $ids = array(); + foreach( $terms as $term ) + $ids[] = $term->term_id; + $loop_args = array( + 'post_type' => ProductCustomPostType::$PRODUCT, + 'posts_per_page' => $instance['limit'], + 'exclude' => $post->ID, //TODO + 'tax_query' => array( + array( + 'taxonomy' => ProductCustomPostType::$PRODUCT_CATEGORY, + 'terms' => $ids, + 'field' => 'id', + ), + ), + ); + parent::widget( $args, $loop_args, $instance ); + } + } + + function update( $new_instance, $old_instance ) { + $instance = $old_instance; + $instance['title'] = strip_tags( $new_instance['title'] ); + return parent::update( $new_instance, $instance ); + } + + function form( $instance ) { + $defaults = array( + 'title' => __( 'Brothers list', 'tcp' ), + ); + $instance = wp_parse_args( ( array ) $instance, $defaults );?> +
      +

      + + +

      +
      diff --git a/src/wp-content/plugins/thecartpress/widgets/CheckoutWidget.class.php b/src/wp-content/plugins/thecartpress/widgets/CheckoutWidget.class.php new file mode 100644 index 0000000..784a300 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/widgets/CheckoutWidget.class.php @@ -0,0 +1,63 @@ +. + */ + +class CheckoutWidget extends WP_Widget { + + function CheckoutWidget() { + $widget_settings = array( + 'classname' => 'checkout', + 'description' => __( 'Allow to view the Checkout info', 'tcp' ), + ); + $control_settings = array( + 'width' => 300, + 'id_base' => 'checkout-widget' + ); + $this->WP_Widget( 'checkout-widget', 'TCP Checkout', $widget_settings, $control_settings ); + } + + function widget( $args, $instance ) { + if ( is_page( get_option( 'tcp_checkout_page_id' ) ) ) { + extract( $args ); + $title = apply_filters( 'widget_title', $instance['title'] ); + echo $before_widget; + if ( isset( $_SESSION['tcp_checkout'] ) ) { + if ( $title ) echo $before_title, $title, $after_title; + ?>
      'Checkout', + ); + $instance = wp_parse_args( ( array ) $instance, $defaults );?> +

      + + +

      diff --git a/src/wp-content/plugins/thecartpress/widgets/CommentsCustomPostTypeWidget.class.php b/src/wp-content/plugins/thecartpress/widgets/CommentsCustomPostTypeWidget.class.php new file mode 100644 index 0000000..13de88f --- /dev/null +++ b/src/wp-content/plugins/thecartpress/widgets/CommentsCustomPostTypeWidget.class.php @@ -0,0 +1,103 @@ +. + */ + +class CommentsCustomPostTypeWidget extends WP_Widget { + + function CommentsCustomPostTypeWidget( ) { + $widget_settings = array( + 'classname' => 'commentscustomposttype', + 'description' => __( 'Allow to create most recent lists of comments for custom post types', 'tcp' ), + ); + $control_settings = array( + 'width' => 300, + 'id_base' => 'commentscustomposttype-widget' + ); + $this->WP_Widget( 'commentscustomposttype-widget', 'TCP Comments for Custom Post Type', $widget_settings, $control_settings ); + //add_action( 'wp_unregister_sidebar_widget', array( $this, 'wpUnregisterSidebarWidget' ) ); + } + +// function wpUnregisterSidebarWidget( $id ) { +// } + + function widget( $args, $instance ) { + global $comments, $comment; + + extract( $args ); + //$title = apply_filters('widget_title', empty($instance['title']) ? __('Recent Comments') : $instance['title']); + $title = apply_filters( 'widget_title', $instance['title'] ); + if ( ! $number = absint( $instance['number'] ) ) + $number = 5; + + $post_type = isset( $instance['post_type'] ) ? $instance['post_type'] : 'tcp_product'; + $comments = get_comments( array( 'number' => $number, 'status' => 'approve' ) ); + echo $before_widget; + if ( $title ) echo $before_title, $title, $after_title; + + echo '
        '; + if ( $comments ) + foreach ( (array) $comments as $comment) + // translators: comments widget: 1: comment author, 2: post link + if ( strlen( $post_type ) == 0 || get_post_type( $comment->comment_post_ID ) == $post_type ) + echo '
      • ', sprintf( __( '%1$s on %2$s', 'tcp' ), get_comment_author_link(), '' . get_the_title($comment->comment_post_ID) . ''), '
      • '; + echo '
      '; + echo $after_widget; + } + + function theComments( $comments ) { + if ( strlen( $this->post_type ) == 0 ) { + return $comments; + } else { + $new_comments = array(); + foreach( $comments as $comment ) + if ( get_post_type( $comment->comment_post_ID ) == $this->post_type ) + $new_comments[] = $comment; + return $new_comments; + } + } + + function update( $new_instance, $old_instance ) { + $instance = $old_instance; + $instance['title'] = strip_tags($new_instance['title']); + $instance['number'] = (int)$new_instance['number']; + $instance['post_type'] = $new_instance['post_type']; + return $instance; + } + + function form( $instance ) { + $title = isset( $instance['title'] ) ? esc_attr( $instance['title'] ) : __( 'Comments for Custom Post Type', 'tcp' ); + $number = isset( $instance['number'] ) ? (int)$instance['number'] : 5; + $type = isset( $instance['post_type'] ) ? $instance['post_type'] : 'tcp_product';?> +

      + + +

      + + +

      + + +

      . + */ + +//used by Last visited and RelatedList +class CustomListWidget extends WP_Widget { + + function CustomListWidget( $name, $description, $title, $width = 300 ) { + $widget_settings = array( + 'classname' => $name, + 'description' => $description, + ); + $control_settings = array( + 'width' => $width, + 'id_base' => $name . '-widget' + ); + $this->WP_Widget( $name . '-widget', $title, $widget_settings, $control_settings ); + } + + function widget( $args, $loop_args, $instance ) { + extract( $args ); + query_posts( $loop_args ); + if ( ! have_posts() ) { + wp_reset_query(); + return; + } + echo $before_widget; + $title = apply_filters( 'widget_title', $instance['title'] ); + if ( $title ) echo $before_title, $title, $after_title; + if ( strlen( $instance['loop'] ) > 0 && file_exists( $instance['loop'] ) ) { + include( $instance['loop'] ); + } else if ( have_posts() ) : + do_action( 'before_custom_list_widget' ); + while ( have_posts() ) : + the_post(); + do_action( 'before_custom_list_widget_item', get_the_ID() );?> +
      > + +
      + +
      + + +
      + +
      + + +
      + +
      + + +
      +

      +
      + + +
      + →', 'tcp' ) ); ?> + '')); ?> +
      + + +
      + + + Posted in %2$s', 'tcp' ), 'entry-utility-prep entry-utility-prep-cat-links', get_the_category_list( ', ' ) ); ?> + + | + + + + Tagged %2$s', 'tcp' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); ?> + + | + + + | ', '' ); ?> +
      + +
      + 5, + 'loop' => '', + 'columns' => 2, + 'see_title' => true, + 'see_image' => false, + 'image_size' => 'thumbnail', + 'see_content' => false, + 'see_excerpt' => false, + 'see_meta_data' => false, + 'see_price' => true, + 'see_buy_button' => false, + 'see_first_custom_area' => false, + 'see_second_custom_area' => false, + 'see_third_custom_area' => false, + ); + $instance = wp_parse_args( ( array ) $instance, $defaults ); + $see_title = isset( $instance['see_title'] ) ? $instance['see_title'] : false; + $see_image = isset( $instance['see_image'] ) ? $instance['see_image'] : false; + $image_size = isset( $instance['image_size'] ) ? $instance['image_size'] : 'thumbnail'; + $see_content = isset( $instance['see_content'] ) ? $instance['see_content'] : false; + $see_excerpt = isset( $instance['see_excerpt'] ) ? $instance['see_excerpt'] : false; + $see_author = isset( $instance['see_author'] ) ? $instance['see_author'] : false; + $see_meta_data = isset( $instance['see_meta_data'] ) ? $instance['see_meta_data']: false; + $see_price = isset( $instance['see_price'] ) ? $instance['see_price'] : false; + $see_buy_button = isset( $instance['see_buy_button'] ) ? $instance['see_buy_button']: false; + $use_taxonomy = isset( $instance['use_taxonomy'] ) ? $instance['use_taxonomy'] : false; + $see_first_custom_area = isset( $instance['see_first_custom_area'] ) ? $instance['see_first_custom_area'] : false; + $see_second_custom_area = isset( $instance['see_second_custom_area'] ) ? $instance['see_second_custom_area'] : false; + $see_third_custom_area = isset( $instance['see_third_custom_area'] ) ? $instance['see_third_custom_area'] : false; + ?> +
      +

      + + +

      +

      + +  () + +

      + +

      + get_field_id( 'columns' );?> + +

      +
      + + diff --git a/src/wp-content/plugins/thecartpress/widgets/CustomPostTypeListWidget.class.php b/src/wp-content/plugins/thecartpress/widgets/CustomPostTypeListWidget.class.php new file mode 100644 index 0000000..eaf2833 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/widgets/CustomPostTypeListWidget.class.php @@ -0,0 +1,376 @@ +. + */ + +class CustomPostTypeListWidget extends WP_Widget { + + function CustomPostTypeListWidget() { + $widget_settings = array( + 'classname' => 'customposttypelist', + 'description' => __( 'Allow to create Custom Post Type Lists', 'tcp' ), + ); + $control_settings = array( + 'width' => 300, + 'id_base' => 'customposttypelist-widget' + ); + $this->WP_Widget( 'customposttypelist-widget', 'TCP Custom Post Type List', $widget_settings, $control_settings ); + } + + function widget( $args, $instance ) { + extract( $args ); + $title = apply_filters( 'widget_title', $instance['title'] ); + if ( isset( $instance['use_taxonomy'] ) && $instance['use_taxonomy'] ) { + $taxonomy = ( $instance['taxonomy'] == 'category' ) ? 'category_name' : $instance['taxonomy']; + $args = array( + 'post_type' => isset( $instance['post_type'] ) ? $instance['post_type'] : 'tcp_product', + 'posts_per_page' => isset( $instance['limit'] ) ? $instance['limit'] : -1, + ); + if ( strlen( $taxonomy ) > 0 ) { + $args[$taxonomy] = $instance['term']; + } + } else { + $args = array( + 'post_type' => isset( $instance['post_type'] ) ? $instance['post_type'] : 'tcp_product', + 'posts_per_page' => isset( $instance['limit'] ) ? $instance['limit'] : -1, + ); + if ( isset( $instance['included'] ) && count( $instance['included'] ) > 0 && strlen( $instance['included'][0] ) > 0 ) { + $args['post__in'] = $instance['included']; + } + } + query_posts( $args ); + if ( ! have_posts() ) return; + echo $before_widget; + if ( $title ) echo $before_title, $title, $after_title; + if ( isset( $instance['loop'] ) && strlen( $instance['loop'] ) > 0 && file_exists( $instance['loop'] ) ) { + include( $instance['loop'] ); + } else if ( have_posts() ) while ( have_posts() ) : the_post();?> +
      > + +
      + +
      + + + + +
      + +
      + + +
      + +
      + + +
      +

      +
      + + +
      + +
      + + +
      + →', 'tcp' ) ); ?> + '')); ?> +
      + + +
      + + + Posted in %2$s', 'tcp' ), 'entry-utility-prep entry-utility-prep-cat-links', get_the_category_list( ', ' ) ); ?> + + | + + + Tagged %2$s', 'tcp' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); ?> + + | + + + | ', '' ); ?> +
      + +
      + 'Custom Post Type List', + 'post_type' => 'tcp_product', + 'use_taxonomy' => true, + 'taxonomy' => true, + 'term' => 'tcp_product_category', + 'included' => array(), + 'limit' => 5, + 'loop' => '', + 'columns' => 2, + 'see_title' => true, + 'see_image' => false, + 'image_size' => 'thumbnail', + 'see_content' => false, + 'see_excerpt' => false, + 'see_meta_data' => false, + 'see_meta_utilities' => false, + 'see_price' => true, + 'see_buy_button'=> false, + ); + $instance = wp_parse_args( ( array ) $instance, $defaults ); + $see_title = isset( $instance['see_title'] ) ? $instance['see_title'] : false; + $see_image = isset( $instance['see_image'] ) ? $instance['see_image'] : false; + $image_size = isset( $instance['image_size'] ) ? $instance['image_size'] : 'thumbnail'; + $see_content = isset( $instance['see_content'] ) ? $instance['see_content'] : false; + $see_excerpt = isset( $instance['see_excerpt'] ) ? $instance['see_excerpt'] : false; + $see_author = isset( $instance['see_author'] ) ? $instance['see_author'] : false; + $see_meta_data = isset( $instance['see_meta_data'] ) ? $instance['see_meta_data'] : false; + $see_meta_utilities = isset( $instance['see_meta_utilities'] ) ? $instance['see_meta_utilities'] : false; + $see_price = isset( $instance['see_price'] ) ? $instance['see_price'] : false; + $see_buy_button = isset( $instance['see_buy_button'] ) ? $instance['see_buy_button'] : false; + $use_taxonomy = isset( $instance['use_taxonomy'] ) ? $instance['use_taxonomy'] : false; + $see_first_custom_area = isset( $instance['see_first_custom_area'] ) ? $instance['see_first_custom_area'] : false; + $see_second_custom_area = isset( $instance['see_second_custom_area'] ) ? $instance['see_second_custom_area'] : false; + $see_third_custom_area = isset( $instance['see_third_custom_area'] ) ? $instance['see_third_custom_area'] : false; + if ( $use_taxonomy ) { + $use_taxonomy_style = ''; + $included_style = 'display: none;'; + } else { + $use_taxonomy_style = 'display: none;'; + $included_style = ''; + } + $related_type = isset( $instance['related_type'] ) ? $instance['related_type'] : ''; + if ( $related_type != '') + $p_included_style = 'display: none;'; + else + $p_included_style = ''; + ?> + +
      +

      + + +

      + + + +

      + /> + +

      +
      +

      + + + +

      + + +

      +
      +
      +

      + + +

      +
      +
      +

      + + +

      +

      + +  () + +

      +

      + get_field_id( 'columns' );?> + +

      +
      + + diff --git a/src/wp-content/plugins/thecartpress/widgets/LastVisitedWidget.class.php b/src/wp-content/plugins/thecartpress/widgets/LastVisitedWidget.class.php new file mode 100644 index 0000000..1ae1722 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/widgets/LastVisitedWidget.class.php @@ -0,0 +1,60 @@ +. + */ + +require_once( dirname( __FILE__) . '/CustomListWidget.class.php' ); + +class LastVisitedWidget extends CustomListWidget { + + function LastVisitedWidget() { + parent::CustomListWidget( 'tcplastvisited', __( 'Allow to create a Last Visited List', 'tcp' ), 'TCP Last visited List' ); + } + + function widget( $args, $instance ) { + $shoppingCart = TheCartPress::getShoppingCart(); + $visitedPosts = $shoppingCart->getVisitedPosts(); + $ids = array_keys( $visitedPosts ); + if ( count( $ids ) == 0 ) return; + $loop_args = array( + 'post__in' => $ids, + 'post_type' => 'tcp_product', + 'posts_per_page' => $instance['limit'], + ); + parent::widget( $args, $loop_args, $instance ); + } + + function update( $new_instance, $old_instance ) { + $instance = $old_instance; + $instance['title'] = strip_tags( $new_instance['title'] ); + return parent::update( $new_instance, $instance ); + } + + function form( $instance ) { + $defaults = array( + 'title' => __( 'Last Visited', 'tcp' ), + ); + $instance = wp_parse_args( ( array ) $instance, $defaults );?> +
      +

      + + +

      +
      diff --git a/src/wp-content/plugins/thecartpress/widgets/OrderPanelWidget.class.php b/src/wp-content/plugins/thecartpress/widgets/OrderPanelWidget.class.php new file mode 100644 index 0000000..3e18087 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/widgets/OrderPanelWidget.class.php @@ -0,0 +1,59 @@ +. + */ + +class OrderPanelWidget extends WP_Widget { + + function OrderPanelWidget() { + $widget_settings = array( + 'classname' => 'orderpanel', + 'description' => __( 'Allow to create Order panels', 'tcp' ), + ); + $control_settings = array( + 'width' => 300, + 'id_base' => 'orderpanel-widget' + ); + $this->WP_Widget( 'orderpanel-widget', 'TCP Order Panel', $widget_settings, $control_settings ); + } + + function widget( $args, $instance ) { + extract( $args ); + $title = apply_filters( 'widget_title', $instance['title'] ); + echo $before_widget; + if ( $title ) echo $before_title, $title, $after_title; + OrderPanel::show(); + echo $after_widget; + } + + function update( $new_instance, $old_instance ) { + $instance = $old_instance; + $instance['title'] = strip_tags( $new_instance['title'] ); + return $instance; + } + + function form( $instance ) { + $defaults = array( + 'title' => 'Order Panel', + ); + $instance = wp_parse_args( ( array ) $instance, $defaults );?> +

      + + +

      diff --git a/src/wp-content/plugins/thecartpress/widgets/OrdersSummaryDashboard.class.php b/src/wp-content/plugins/thecartpress/widgets/OrdersSummaryDashboard.class.php new file mode 100644 index 0000000..fdb41d4 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/widgets/OrdersSummaryDashboard.class.php @@ -0,0 +1,56 @@ +. + */ + +require_once( dirname( dirname( __FILE__ ) ) . '/daos/Orders.class.php' ); + +class OrdersSummaryDashboard { + + function show() { + if ( current_user_can( 'manage_options' ) ) { + $customer_id = -1; + } else { + global $current_user; + get_currentuserinfo(); + $customer_id = $current_user->ID; + } + $admin_path = 'admin.php?page=' . plugin_basename( dirname( dirname( __FILE__ ) ) ) . '/admin/';?> +
      + + + + + + + + + + + + + + + + + + + +
      +
      diff --git a/src/wp-content/plugins/thecartpress/widgets/RelatedListWidget.class.php b/src/wp-content/plugins/thecartpress/widgets/RelatedListWidget.class.php new file mode 100644 index 0000000..f5a8bf0 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/widgets/RelatedListWidget.class.php @@ -0,0 +1,136 @@ +. + */ + +require_once( dirname( __FILE__) . '/CustomListWidget.class.php' ); + +class RelatedListWidget extends CustomListWidget { + + function RelatedListWidget() { + parent::CustomListWidget( 'tcprelatedlist', __( 'Allow to create related lists', 'tcp' ), 'TCP Related List' ); + } + + function widget( $args, $instance ) { + $loop_args = array(); + if ( is_single() && ( $instance['rel_type'] == 'POST-POST' || $instance['rel_type'] == 'PROD-POST' || $instance['rel_type'] == 'PROD-PROD' || $instance['rel_type'] == 'POST-PROD' ) ) { + if ( $instance['rel_type'] == 'POST-POST' || $instance['rel_type'] == 'PROD-POST' ) { + $post_type_search = 'tcp_product'; + $post_type = 'post'; + } else { + $post_type_search = 'post'; + $post_type = 'tcp_product'; + } + global $post; + $post_id = tcp_get_default_id( $post->ID, $post_type_search ); + require_once( dirname( dirname( __FILE__ ) ) . '/daos/RelEntities.class.php' ); + $res = RelEntities::select( $post_id, $instance['rel_type'] ); + if ( count( $res ) == 0 ) return; + $ids = array(); + foreach ( $res as $row ) + $ids[] = $row->id_to; + $loop_args['post__in'] = $ids; + $loop_args['post_type'] = $post_type; + } else { + + //TODO falta? + if ( ! is_single() && ( $instance['rel_type'] == 'CAT_PROD-CAT_PROD' || $instance['rel_type'] == 'CAT_POST-CAT_PROD' ) ) + $instance['taxonomy'] = ProductCustomPostType::$PRODUCT_CATEGORY; + else if ( ! is_single() && ( $instance['rel_type'] == 'CAT_PROD-CAT_POST' || $instance['rel_type'] == 'CAT_POST-CAT_POST' ) ) + $instance['taxonomy'] = 'category'; + else + return; + if ( $instance['rel_type'] == 'CAT_PROD-CAT_PROD' || $instance['rel_type'] == 'CAT_PROD-CAT_POST' ) { + $taxonomy_search = ProductCustomPostType::$PRODUCT_CATEGORY; + $cat = get_the_terms( get_the_ID(), ProductCustomPostType::$PRODUCT_CATEGORY ); + } else {//if ( $instance['rel_type'] == 'CAT_POST-CAT_PROD' || $instance['rel_type'] == 'CAT_POST-CAT_POST' ) + $taxonomy_search = 'category'; + $cat = get_the_category(); + } + if ( empty( $cat ) ) return; + $cat = array_slice( $cat, 0, 1 ); + $term_id = $cat[0]->term_id; + if ( $term_id <= 0 ) return; + $term_id = tcp_get_default_id( $term_id, $taxonomy_search ); + require_once( dirname( dirname( __FILE__ ) ) . '/daos/RelEntities.class.php' ); + $res = RelEntities::select( $term_id, $instance['rel_type'] ); + if ( count( $res ) == 0 ) return; + $ids = array(); + foreach ( $res as $row ) + $ids[] = $row->id_to; + if ( count( $ids ) == 0) return; + if ( $instance['taxonomy'] == 'category' ) { + $loop_args['category__in'] = $ids; +// $loop_args['cat__in'] = $ids; + $loop_args['post_type'] = 'post'; + } else { + $loop_args['tax_query'] = array( + array( + 'taxonomy' => ProductCustomPostType::$PRODUCT_CATEGORY, + 'terms' => $ids, + 'field' => 'id', + ), + ); + /*$loop_args['meta_query'] = array( + array( + 'key' => 'tcp_is_visible', + 'value' => true, + ), + );*/ + $loop_args['post_type'] = 'tcp_product'; + } + } + parent::widget( $args, $loop_args, $instance ); + } + + function update( $new_instance, $old_instance ) { + $instance = $old_instance; + $instance['title'] = strip_tags( $new_instance['title'] ); + $instance['rel_type'] = strip_tags( $new_instance['rel_type'] ); + return parent::update( $new_instance, $instance ); + } + + function form( $instance ) { + $defaults = array( + 'title' => __( 'Related List', 'tcp' ), + 'rel_type' => 'CAT_PROD-CAT_PROD', + ); + $instance = wp_parse_args( ( array ) $instance, $defaults ); + ?> +
      +

      + + +

      +

      + + +

      +
      + diff --git a/src/wp-content/plugins/thecartpress/widgets/ShoppingCartSummaryWidget.class.php b/src/wp-content/plugins/thecartpress/widgets/ShoppingCartSummaryWidget.class.php new file mode 100644 index 0000000..da8bbce --- /dev/null +++ b/src/wp-content/plugins/thecartpress/widgets/ShoppingCartSummaryWidget.class.php @@ -0,0 +1,101 @@ +. + */ + +class ShoppingCartSummaryWidget extends WP_Widget { + function ShoppingCartSummaryWidget() { + $widget = array( + 'classname' => 'shoppingcartsummary', + 'description' => __( 'Use this widget to add a Shopping cart summary', 'tcp' ), + ); + $control = array( + 'width' => 300, + 'id_base' => 'shoppingcartsummary-widget', + ); + $this->WP_Widget( 'shoppingcartsummary-widget', 'TCP Shopping Cart Summary', $widget, $control ); + } + + function widget( $args, $instance ) { + $shoppingCart = TheCartPress::getShoppingCart(); + $hide_if_empty = isset( $instance['hide_if_empty'] ) ? $instance['hide_if_empty'] : false; + if ( $hide_if_empty && $shoppingCart->isEmpty() ) return; + + extract( $args ); + $title = apply_filters( 'widget_title', isset( $instance['title'] ) ? $instance['title'] : ' ' ); + echo $before_widget; + if ( $title ) echo $before_title, $title, $after_title; + tcp_get_shopping_cart_summary( $instance ); + echo $after_widget; + } + + function update( $new_instance, $old_instance ) { + $instance = $old_instance; + $instance['title'] = strip_tags( $new_instance['title'] ); + $instance['hide_if_empty'] = isset( $new_instance['hide_if_empty'] ); + $instance['see_stock_notice'] = isset( $new_instance['see_stock_notice'] ); + $instance['see_product_count'] = isset( $new_instance['see_product_count'] ); + $instance['see_weight'] = isset( $new_instance['see_weight'] ); + $instance['see_delete_all'] = isset( $new_instance['see_delete_all'] ); + $instance['see_shopping_cart'] = isset( $new_instance['see_shopping_cart'] ); + $instance['see_checkout'] = isset( $new_instance['see_checkout'] ); + $instance = apply_filters( 'tcp_shopping_cart_summary_widget_update', $instance, $new_instance ); + return $instance; + } + + function form( $instance ) { + $defaults = array( + 'title' => __( 'Shopping cart', 'tcp' ), + 'see_weight' => true, + 'see_delete_all' => true, + ); + $hide_if_empty = isset( $instance['hide_if_empty'] ) ? (bool)$instance['hide_if_empty'] : false; + $see_stock_notice = isset( $instance['see_stock_notice'] ) ? (bool)$instance['see_stock_notice'] : false; + $see_product_count = isset( $instance['see_product_count'] ) ? (bool)$instance['see_product_count'] : false; + $see_weight = isset( $instance['see_weight'] ) ? (bool)$instance['see_weight'] : false; + $see_delete_all = isset( $instance['see_delete_all'] ) ? (bool)$instance['see_delete_all'] : false; + $see_shopping_cart = isset( $instance['see_shopping_cart'] ) ? (bool)$instance['see_shopping_cart'] : false; + $see_checkout = isset( $instance['see_checkout'] ) ? (bool)$instance['see_checkout'] : false; + $instance = wp_parse_args( ( array ) $instance, $defaults );?> +

      + + +

      + /> + +
      + /> + +
      + /> + +
      + /> + +
      + /> + +
      + /> + +
      + /> + + +

      diff --git a/src/wp-content/plugins/thecartpress/widgets/ShoppingCartWidget.class.php b/src/wp-content/plugins/thecartpress/widgets/ShoppingCartWidget.class.php new file mode 100644 index 0000000..43418b4 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/widgets/ShoppingCartWidget.class.php @@ -0,0 +1,185 @@ +. + */ + +class ShoppingCartWidget extends WP_Widget { + function ShoppingCartWidget() { + $widget = array( + 'classname' => 'shoppingcart', + 'description' => __( 'Use this widget to add the shopping cart viewer', 'tcp' ), + ); + $control = array( + 'width' => 300, + 'id_base' => 'shoppingcart-widget', + ); + $this->WP_Widget( 'shoppingcart-widget', 'TCP Shopping Cart', $widget, $control ); + } + + function widget( $args, $instance ) { + $shoppingCart = TheCartPress::getShoppingCart(); + $hide_if_empty = isset( $instance['hide_if_empty'] ) ? $instance['hide_if_empty'] : false; + if ( $hide_if_empty && $shoppingCart->isEmpty() ) return; + extract( $args ); + global $thecartpress; + $unit_weight = isset( $thecartpress->settings['unit_weight'] ) ? $thecartpress->settings['unit_weight'] : 'gr'; + $stock_management = isset( $thecartpress->settings['stock_management'] ) ? $thecartpress->settings['stock_management'] : false; + $title = apply_filters( 'widget_title', $instance['title'] ); + echo $before_widget; + if ( $title ) echo $before_title, $title, $after_title; + echo '
        '; + $see_stock_notice = isset( $instance['see_stock_notice'] ) ? $instance['see_stock_notice'] : false; + $see_modify_item = isset( $instance['see_modify_item'] ) ? $instance['see_modify_item'] : true; + $see_weight = isset( $instance['see_weight'] ) ? $instance['see_weight'] : true; + $see_delete_item = isset( $instance['see_delete_item'] ) ? $instance['see_delete_item'] : true; + $see_delete_all = isset( $instance['see_delete_all'] ) ? $instance['see_delete_all'] : true; + $see_shopping_cart = isset( $instance['see_shopping_cart'] ) ? $instance['see_shopping_cart'] : true; + $see_checkout = isset( $instance['see_checkout'] ) ? $instance['see_checkout'] : true; + foreach( $shoppingCart->getItems() as $item ) :?> +
      • + + + + + + +
          +
        • getProductTitle( $item->getPostId(), $item->getOption1Id(), $item->getOption2Id() );?>
        • +
        • getUnitPrice() );?>
        • + getPostId() ) ) : ?> +
        • + + + + + getCount();?> + + getPostId(), $item->getOption1Id(), $item->getOption2Id() ); + if ( $stock != -1 && $stock < $item->getCount() ) :?> + + +
        • + + getDiscount() > 0 ) : ?> +
        • getDiscount() );?>
        • + +
        • getTotal() );?>
        • + getPostId() ) ) : ?> + getWeight() > 0 ) :?> +
        • : getWeight() );?> 
        • + + + + +
        • + + +
        +
      • + + +
      • + + +
      • + + +
      • + + +
      + __( 'Shopping Cart', 'tcp' ), + 'see_weight' => true, + 'see_modify_item' => true, + 'see_delete_item' => false, + 'see_delete_all' => false, + 'see_stock_notice' => false, + 'see_shopping_cart' => true, + 'see_checkout' => true, + ); + $instance = wp_parse_args( ( array ) $instance, $defaults ); + $hide_if_empty = isset( $instance['hide_if_empty'] ) ? (bool)$instance['hide_if_empty'] : false; + $see_stock_notice = isset( $instance['see_stock_notice'] ) ? (bool)$instance['see_stock_notice'] : false; + $see_weight = isset( $instance['see_weight'] ) ? (bool)$instance['see_weight'] : false; + $see_modify_item = isset( $instance['see_modify_item'] ) ? (bool)$instance['see_modify_item'] : false; + $see_delete_item = isset( $instance['see_delete_item'] ) ? (bool)$instance['see_delete_item'] : false; + $see_delete_all = isset( $instance['see_delete_all'] ) ? (bool)$instance['see_delete_all'] : false; + $see_shopping_cart = isset( $instance['see_shopping_cart'] ) ? (bool)$instance['see_shopping_cart'] : false; + $see_checkout = isset( $instance['see_checkout'] ) ? (bool)$instance['see_checkout'] : false; + ?> +

      + + +

      + /> + +
      + /> + +
      + /> + +
      + /> + +
      + /> + +
      + /> + +
      + /> + +
      + /> + + +

      + ' . $title . ''; + return $title; + } +} +?> diff --git a/src/wp-content/plugins/thecartpress/widgets/TaxonomyCloudsPostTypeWidget.class.php b/src/wp-content/plugins/thecartpress/widgets/TaxonomyCloudsPostTypeWidget.class.php new file mode 100644 index 0000000..9034a10 --- /dev/null +++ b/src/wp-content/plugins/thecartpress/widgets/TaxonomyCloudsPostTypeWidget.class.php @@ -0,0 +1,137 @@ +. + */ + +class TaxonomyCloudsPostTypeWidget extends WP_Widget { + function TaxonomyCloudsPostTypeWidget() { + $widget = array( + 'classname' => 'taxonomycloudsposttype', + 'description' => __( 'Use this widget to add a taxonomy cloud for post types', 'tcp' ), + ); + $control = array( + 'width' => 300, + 'id_base' => 'taxonomycloudsposttype-widget', + ); + $this->WP_Widget( 'taxonomycloudsposttype-widget', 'TCP Taxonomy clouds', $widget, $control ); + } + + function widget( $args, $instance ) { + extract( $args ); + $title = apply_filters( 'widget_title', $instance['title'] ); + echo $before_widget; + if ( $title ) echo $before_title, $title, $after_title; + $args = array( + 'smallest' => $instance['min_size'], + 'largest' => $instance['max_size'], + 'unit' => $instance['size_units'], + 'number' => $instance['number_tags'], + 'format' => $instance['display_format'], + 'separator' => $instance['separator'], + 'orderby' => 'name', + 'order' => 'ASC', + 'link' => 'view', + 'taxonomy' => $instance['taxonomy'], //'post_tag', + 'echo' => false, + ); + if ( !$instance['separator'] ) $args['separator'] = "\n"; + if ( $instance['display_format'] == 'flat' ) + tcp_get_taxonomies_cloud( $args, true, '
      ', '
      ' ); +// wp_tag_cloud( $args, true, '
      ', '
      ' ); + else + tcp_get_taxonomies_cloud( $args ); +// wp_tag_cloud( $args ); + echo $after_widget; + } + + function update( $new_instance, $old_instance ) { + $instance = $old_instance; + $instance['title'] = strip_tags( $new_instance['title'] ); + $instance['min_size'] = (int)$new_instance['min_size']; + $instance['max_size'] = (int)$new_instance['max_size']; + $instance['size_units'] = $new_instance['size_units']; + $instance['number_tags'] = (int)$new_instance['number_tags']; + $instance['display_format'] = $new_instance['display_format']; + $instance['separator'] = $new_instance['separator']; + $instance['post_type'] = $new_instance['post_type']; + $instance['taxonomy'] = $new_instance['taxonomy']; + return $instance; + } + + function form( $instance ) { + $defaults = array( + 'title' => 'Taxonomy clouds', + 'min_size' => 8, + 'max_size' => 22, + 'size_units' => 'pt', + 'number_tags' => 45, + 'display_format'=> 'flat', + 'separator' => "\n", + 'post_type' => 'tcp_product', + 'taxonomy' => 'tcp_product_tag', + ); + $instance = wp_parse_args( ( array ) $instance, $defaults );?> +

      + + +

      + + + +

      + + +

      + + +

      + + +

      + + +

      + + +

      + + +

      + + +

      + diff --git a/src/wp-content/plugins/thecartpress/widgets/TaxonomyTreesPostTypeWidget.class.php b/src/wp-content/plugins/thecartpress/widgets/TaxonomyTreesPostTypeWidget.class.php new file mode 100644 index 0000000..71ea5cc --- /dev/null +++ b/src/wp-content/plugins/thecartpress/widgets/TaxonomyTreesPostTypeWidget.class.php @@ -0,0 +1,192 @@ +. + */ + +class TaxonomyTreesPostTypeWidget extends WP_Widget { + function TaxonomyTreesPostTypeWidget() { + $widget = array( + 'classname' => 'taxonomytreesposttype', + 'description' => __( 'Use this widget to add trees of different taxonomis', 'tcp' ), + ); + $control = array( + 'width' => 400, + 'id_base' => 'taxonomytreesposttype-widget', + ); + $this->WP_Widget( 'taxonomytreesposttype-widget', 'TCP Taxonomy trees', $widget, $control ); + + //add_filter( 'get_terms', array( $this, 'get_terms' ), 9, 3 ); + } + + //function get_terms( $terms, $taxonomies, $args ) { + // if ( in_array( 'tcp_product_category', $taxonomies ) ) + // var_dump( $terms ); + // return $terms; + //} + + function widget( $args, $instance ) { + extract( $args ); + $title = apply_filters( 'widget_title', $instance['title'] ); + echo $before_widget; + if ( $title ) echo $before_title, $title, $after_title; + $args = array( + //'show_option_all' => , + //'orderby' => 'name', + //'order' => 'ASC', + 'show_last_update' => 0, + 'style' => 'list', + 'show_count' => isset( $instance['see_number_products'] ) ? $instance['see_number_products'] : false, + 'hide_empty' => isset( $instance['hide_empty_taxonomies'] ) ? $instance['hide_empty_taxonomies'] : false, + 'use_desc_for_title' => 1, + 'child_of' => 0, + //'feed' => , + //'feed_type' => , + //'feed_image' => , + //'exclude' => , + //'exclude_tree' => , + //'include' => , + 'current_category' => 0, + 'hierarchical' => true, + 'title_li' => '', //$options['txt_title_li'], + 'number' => NULL, + 'echo' => 0, + 'depth' => 0, + 'taxonomy' => isset( $instance['taxonomy'] ) ? $instance['taxonomy'] : 'tcp_product_category', + ); + $excluded_taxonomies = isset( $instance['excluded_taxonomies'] ) ? $instance['excluded_taxonomies'] : false; + if ( is_array( $excluded_taxonomies ) ) $args['exclude'] = implode( ",", $excluded_taxonomies ); + $included_taxonomies = isset( $instance['included_taxonomies'] ) ? $instance['included_taxonomies'] : false; + if ( is_array( $included_taxonomies ) ) $args['include'] = implode( ",", $included_taxonomies ); + $order_included = isset( $instance['order_included'] ) ? $instance['order_included'] : false; + if ( $order_included ) { + $this->orderIncluded = explode( '#', $order_included ); + add_filter( 'get_terms', array( $this, 'orderTaxonomies' ) ); + } + tcp_get_taxonomy_tree( $args, true ); + if ( strlen( $order_included ) > 0 ) + remove_filter( 'get_terms', array( $this, 'orderTaxonomies' ) ); + echo $after_widget; + } + + //for order taxonomies list + function orderTaxonomies( $terms ) { + usort( $terms, array( $this, 'compare' ) ); + return $terms; + } + + //for order taxonomies list + function compare( $a, $b ) { + if ( $a == $b ) return 0; + foreach( $this->orderIncluded as $id ) { + if ( $id == $a->term_id ) + return -1; + elseif ( $id == $b->term_id ) + return 1; + } + return 0; + } + + function update( $new_instance, $old_instance ) { + $instance = $old_instance; + $instance['title'] = strip_tags( $new_instance['title'] ); + $instance['post_type'] = $new_instance['post_type']; + $instance['taxonomy'] = $new_instance['taxonomy']; + $instance['see_number_products'] = $new_instance['see_number_products']; + $instance['hide_empty_taxonomies'] = isset( $new_instance['hide_empty_taxonomies'] ) ? true : false; + $instance['included_taxonomies'] = isset( $new_instance['included_taxonomies'] ) ? true : false; + $instance['order_included'] = $new_instance['order_included']; + $instance['excluded_taxonomies'] = $new_instance['excluded_taxonomies']; + return $instance; + } + + function form( $instance ) { + $defaults = array( + 'title' => 'Taxonomy trees post type', + 'post_type' => 'tcp_product', + 'taxonomy' => 'tcp_product_category', + 'see_number_products' => true, + 'hide_empty_taxonomies' => false, + 'order_included' => '', + ); + $instance = wp_parse_args( (array) $instance, $defaults ); + $see_number_products = isset( $instance['see_number_products'] ) ? (bool)$instance['see_number_products'] : false; + $hide_empty_taxonomies = isset( $instance['hide_empty_taxonomies'] ) ? (bool)$instance['hide_empty_taxonomies'] : false; + $included_taxonomies = isset( $instance['included_taxonomies'] ) ? (array)$instance['included_taxonomies'] : array(); + $excluded_taxonomies = isset( $instance['excluded_taxonomies'] ) ? (array)$instance['excluded_taxonomies'] : array(); + ?> +

      + + +

      + + + +

      + + + +

      + /> + +
      + /> + +

      + + + + + + +

      + + +

      + diff --git a/src/wp-content/plugins/thecartpress/widgets/WishListWidget.class.php b/src/wp-content/plugins/thecartpress/widgets/WishListWidget.class.php new file mode 100644 index 0000000..5d7bfda --- /dev/null +++ b/src/wp-content/plugins/thecartpress/widgets/WishListWidget.class.php @@ -0,0 +1,69 @@ +. + */ + +require_once( dirname( __FILE__) . '/CustomListWidget.class.php' ); + +class WishListWidget extends CustomListWidget { + + function WishListWidget() { + parent::CustomListWidget( 'tcpwishlist', __( 'Allow to create a Wish List', 'tcp' ), 'TCP Wish List' ); + } + + function widget( $args, $instance ) { + $shoppingCart = TheCartPress::getShoppingCart(); + $wishList = $shoppingCart->getWishList(); + $ids = array_keys( $wishList ); + if ( count( $ids ) == 0 ) return; + $loop_args = array( + 'post__in' => $ids, + 'post_type' => 'tcp_product', + 'posts_per_page' => $instance['limit'], + ); + add_action( 'after_custom_list_widget_item', array( $this, 'after_custom_list_widget_item' ) ); + parent::widget( $args, $loop_args, $instance ); + remove_action( 'after_custom_list_widget_item', array( $this, 'after_custom_list_widget_item' ) ); + } + + function after_custom_list_widget_item( $post_id ) {?> +
      + + +
      __( 'Wish List', 'tcp' ), + ); + $instance = wp_parse_args( ( array ) $instance, $defaults );?> +
      +

      + + +

      +
      diff --git a/src/wp-content/plugins/tubepress/sys/ui/themes/default/style.css b/src/wp-content/plugins/tubepress/sys/ui/themes/default/style.css index 5ead082..f9184c4 100644 --- a/src/wp-content/plugins/tubepress/sys/ui/themes/default/style.css +++ b/src/wp-content/plugins/tubepress/sys/ui/themes/default/style.css @@ -37,7 +37,7 @@ .tubepress_thumb img { padding: 0; - display: block; + display: none; margin: 0 auto ! important; -ms-interpolation-mode: bicubic; } diff --git a/src/wp-content/themes/originalhouse/colorbox.css b/src/wp-content/themes/originalhouse/colorbox.css new file mode 100644 index 0000000..e347d6d --- /dev/null +++ b/src/wp-content/themes/originalhouse/colorbox.css @@ -0,0 +1,36 @@ +/* + ColorBox Core Style + The following rules are the styles that are consistant between all ColorBox themes +*/ +#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;} +#cboxOverlay{position:fixed; width:100%; height:100%;} +#cboxMiddleLeft, #cboxBottomLeft{clear:left;} +#cboxContent{position:relative; overflow:visible;} +#cboxLoadedContent{overflow:auto;} +#cboxLoadedContent iframe{display:block; width:100%; height:100%; border:0;} +#cboxTitle{margin:0;} +#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;} +#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;} + +/* + ColorBox example user style + These rules are ordered and tabbed in a way that represents the order/nesting of the generated HTML, + in hope that this will make the relationship easier to understand. Thanks, jack@colorpowered.com +*/ +#cboxOverlay{background:#000;} + +#colorbox{} + #cboxContent{background:#000; margin-top:20px;} + #cboxBottomCenter{height:30px; background:#000;} + #cboxLoadedContent{background:#000; padding:5px;} + #cboxTitle{position:absolute; bottom:-25px; left:5px; color:#ccc;} + #cboxCurrent{position:absolute; bottom:-25px; right:35px; color:#ccc;} + #cboxSlideshow{position:absolute; top:-20px; right:90px; color:#fff;} + #cboxPrevious{position:absolute; top:50%; left:5px; margin-top:-41px; background-image: url(data:image/gif;base64,AAAA); width:49%; height:100%; text-indent:-9999px;} + #cboxPrevious.hover{background-position:bottom left; background:url(images/prevblack.png) top left no-repeat;} + #cboxNext{position:absolute; top:50%; right:5px; margin-top:-41px; background-image: url(data:image/gif;base64,AAAA); width:49%; height:100%; text-indent:-9999px;} + #cboxNext.hover{background-position:bottom right; background:url(images/nextblack.png) top right no-repeat;} + #cboxLoadingOverlay{background:#000;} + #cboxLoadingGraphic{background:url(images/loading.gif) center center no-repeat;} + #cboxClose{position:absolute; bottom:-25px; right:5px; display:block; background:url(images/close.png) top center no-repeat; width:22px; height:22px; text-indent:-9999px;} + #cboxClose.hover{background-position:bottom center;} \ No newline at end of file diff --git a/src/wp-content/themes/originalhouse/custom.css b/src/wp-content/themes/originalhouse/custom.css index 8ab03a2..ab89952 100644 --- a/src/wp-content/themes/originalhouse/custom.css +++ b/src/wp-content/themes/originalhouse/custom.css @@ -1,10 +1,41 @@ -/* -WOO CUSTOM STYLESHEET ---------------------- +@import url(colorbox.css); -Instructions: +.tcp_product_container { + float: left; + width: 100%; + border-top: 30px solid #7F7875; +} -Add your custom styles in this file instead of style.css so it -is easier to update the theme. Simply copy an existing style -from style.css to this file, and modify it to your liking. */ +.tcp_products_thumbs { + float: left; + width: 100%; + height: 590px; +} + +.tcp_product_thumb { + float: left; + overflow: hidden; + display: table-cell; + background: #fff; +} + +.tcp_product_thumb a { + display: block; + height: 196px; + width: 240px; + display: table-cell; + vertical-align: middle; + text-align: center; + cursor: pointer; +} + +.tcp_product_thumb a img { + padding: 0; + vertical-align: middle; + margin: 0 auto ! important; + -ms-interpolation-mode: bicubic; + -webkit-box-shadow:none; + box-shadow:none; + display: none; +} diff --git a/src/wp-content/themes/originalhouse/functions.php b/src/wp-content/themes/originalhouse/functions.php index 75949bf..5d7f88b 100644 --- a/src/wp-content/themes/originalhouse/functions.php +++ b/src/wp-content/themes/originalhouse/functions.php @@ -25,7 +25,7 @@ require_once ($includes_path . 'theme-widgets.php' ); // Theme widgets /* You can add custom functions below */ /*-----------------------------------------------------------------------------------*/ - +require_once ($includes_path . 'tcp-functions.php' ); // TheCartPress functions diff --git a/src/wp-content/themes/originalhouse/functions/admin-functions.php b/src/wp-content/themes/originalhouse/functions/admin-functions.php index ab94d64..16a0ff3 100644 --- a/src/wp-content/themes/originalhouse/functions/admin-functions.php +++ b/src/wp-content/themes/originalhouse/functions/admin-functions.php @@ -81,6 +81,7 @@ Parameters: $size = Custom pre-defined size for WP Thumbnail (string) */ +if ( !function_exists('woo_image') ) { function woo_image($args) { /* ------------------------------------------------------------------------- */ @@ -485,6 +486,7 @@ function woo_image($args) { echo $output; // Done } +} /* Get thumbnail from Video Embed code */ @@ -675,6 +677,7 @@ Parameters: $id = ID from post to pull custom field from */ +if ( !function_exists('woo_embed') ) { function woo_embed($args) { //Defaults @@ -758,6 +761,7 @@ else : endif; +} } /*-----------------------------------------------------------------------------------*/ @@ -2159,7 +2163,15 @@ $google_fonts = array( array( 'name' => "Cantarell", 'variant' => ':r,b,i,bi'), array( 'name' => "Shadows Into Light", 'variant' => ''), array( 'name' => "Lobster Two", 'variant' => ':r,b,i,bi'), array( 'name' => "Nixie One", 'variant' => ''), - array( 'name' => "Redressed", 'variant' => '') + array( 'name' => "Redressed", 'variant' => ''), + array( 'name' => "Bangers", 'variant' => ''), + array( 'name' => "Open Sans Condensed", 'variant' => ':r,i'), + array( 'name' => "Open Sans", 'variant' => ':r,i,b,bi'), + array( 'name' => "Varela", 'variant' => ''), + array( 'name' => "Goblin One", 'variant' => ''), + array( 'name' => "Asset", 'variant' => ''), + array( 'name' => "Gravitas One", 'variant' => ''), + array( 'name' => "Hammersmith One", 'variant' => '') ); diff --git a/src/wp-content/themes/originalhouse/functions/admin-init.php b/src/wp-content/themes/originalhouse/functions/admin-init.php index 1983800..b9966cc 100644 --- a/src/wp-content/themes/originalhouse/functions/admin-init.php +++ b/src/wp-content/themes/originalhouse/functions/admin-init.php @@ -5,7 +5,7 @@ /*-----------------------------------------------------------------------------------*/ function woo_version_init(){ - $woo_framework_version = '4.1.6'; + $woo_framework_version = '4.1.8'; if ( get_option( 'woo_framework_version') <> $woo_framework_version ) update_option( 'woo_framework_version', $woo_framework_version); diff --git a/src/wp-content/themes/originalhouse/functions/functions-changelog.txt b/src/wp-content/themes/originalhouse/functions/functions-changelog.txt index edea98c..5643047 100644 --- a/src/wp-content/themes/originalhouse/functions/functions-changelog.txt +++ b/src/wp-content/themes/originalhouse/functions/functions-changelog.txt @@ -1,5 +1,11 @@ *** WooThemes Framework Changelog ** +2011.07.02 - version 4.1.8 + * admin-functions.php - Made woo_image and woo_embed pluggable + +2011.07.01 - version 4.1.7 + * admin-functions.php - added more google fonts + 2011.06.27 - version 4.1.6 * admin-custom.php - Optimised database queries surrounding the call to add_meta_box() and added filter to meta box settings. * admin-functions.php - Fixed logic error surrounding the "use third party data" setting. Added woo_prepare_category_ids_from_option() function. diff --git a/src/wp-content/themes/originalhouse/images/close.png b/src/wp-content/themes/originalhouse/images/close.png new file mode 100644 index 0000000..e02eb3c Binary files /dev/null and b/src/wp-content/themes/originalhouse/images/close.png differ diff --git a/src/wp-content/themes/originalhouse/images/loading.gif b/src/wp-content/themes/originalhouse/images/loading.gif new file mode 100644 index 0000000..f864d5f Binary files /dev/null and b/src/wp-content/themes/originalhouse/images/loading.gif differ diff --git a/src/wp-content/themes/originalhouse/images/nextblack.png b/src/wp-content/themes/originalhouse/images/nextblack.png new file mode 100644 index 0000000..de20dfd Binary files /dev/null and b/src/wp-content/themes/originalhouse/images/nextblack.png differ diff --git a/src/wp-content/themes/originalhouse/images/prevblack.png b/src/wp-content/themes/originalhouse/images/prevblack.png new file mode 100644 index 0000000..ab76f62 Binary files /dev/null and b/src/wp-content/themes/originalhouse/images/prevblack.png differ diff --git a/src/wp-content/themes/originalhouse/includes/js/general.js b/src/wp-content/themes/originalhouse/includes/js/general.js index 1cccfc7..20a1dfa 100644 --- a/src/wp-content/themes/originalhouse/includes/js/general.js +++ b/src/wp-content/themes/originalhouse/includes/js/general.js @@ -21,45 +21,16 @@ TABLE OF CONTENTS -------------------------------------------------------------------------------------*/ -/*-----------------------------------------------------------------------------------*/ -/* maxWindow() - Full screen mode. */ -/*-----------------------------------------------------------------------------------*/ - -function maxWindow() { - window.moveTo(0, 0); - - if (document.all) { - top.window.resizeTo(screen.availWidth, screen.availHeight); - } - - else if (document.layers || document.getElementById) { - if (top.window.outerHeight < screen.availHeight || top.window.outerWidth < screen.availWidth) { - top.window.outerHeight = screen.availHeight; - top.window.outerWidth = screen.availWidth; - } - } -} - - jQuery(document).ready(function() { -/*-----------------------------------------------------------------------------------*/ -/* Toggle Donations Popup on Donation Meter */ -/*-----------------------------------------------------------------------------------*/ - - if ( jQuery( '.donate-meter .details' ).length ) { - - jQuery( 'a.total-raised' ).hover( - function () { - jQuery( '.donate-meter .details' ).addClass( 'active' ); - }, // Over... - function () { - jQuery( '.donate-meter .details' ).removeClass( 'active' ); - } // ... and Out. - ); - - } + if ( jQuery( '.tcp_product_thumb a img' ).length ) { + jQuery( '.tcp_product_thumb a img' ).fadeIn("slow"); + } + if ( jQuery( '.tubepress_thumb a img' ).length ) { + jQuery( '.tubepress_thumb a img' ).fadeIn("slow"); + } + /*-----------------------------------------------------------------------------------*/ /* Featured Slider Setup (jCarouselLite) */ /*-----------------------------------------------------------------------------------*/ @@ -152,7 +123,7 @@ if( jQuery().superfish ) { var contentHeight = content.height(); - if ( $('#sidebar').length ) { + if ( jQuery('#sidebar').length ) { alert('hola'); var sidebar; sidebar = jQuery("#sidebar"); diff --git a/src/wp-content/themes/originalhouse/includes/tcp-functions.php b/src/wp-content/themes/originalhouse/includes/tcp-functions.php new file mode 100644 index 0000000..0c68455 --- /dev/null +++ b/src/wp-content/themes/originalhouse/includes/tcp-functions.php @@ -0,0 +1,235 @@ +. + */ + +add_image_size( 'mini-thumbnail', 45, 45 ); // mini thumbnails +add_image_size( 'medium-thumbnail', 95, 75 ); // medium thumbnails + +if ( ! function_exists( 'twentytencart_posted_on' ) ) : +/** + * Prints HTML with meta information for the current postdate/time and author. + * + * @since Twenty Ten 1.0 + */ +function twentytencart_posted_on() { + printf( __( 'Posted on %2$s by %3$s', 'twentyten' ), + 'meta-prep meta-prep-author', + sprintf( '', + get_permalink(), + esc_attr( get_the_time() ), + get_the_date() + ), + sprintf( '%3$s', + get_author_posts_url( get_the_author_meta( 'ID' ) ), + sprintf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ), + get_the_author() + ) + ); +} +endif; + + + +if ( ! function_exists( 'twentytencart_posted_in' ) ) : +/** + * Prints HTML with meta information for the current post (category, tags and permalink). + * + * @since Twenty Ten 1.0 + */ +function twentytencart_posted_in() { + // Retrieves tag list of current post, separated by commas. + $tag_list = get_the_term_list(0, 'tcp_product_tag', '', ', '); + $supplier_list = get_the_term_list(0, 'tcp_product_supplier', '', ', '); + if ( $tag_list && $supplier_list ) { + $posted_in = __( 'This entry was posted in %1$s and tagged %2$s and supplied by %3$s. Bookmark the permalink.', 'twentytencart' ); + } elseif ( $tag_list ) { + $posted_in = __( 'This entry was posted in %1$s and tagged %2$s. Bookmark the permalink.', 'twentyten' ); + } elseif ( $supplier_list ) { + $posted_in = __( 'This entry was posted in %1$s and supplied by %3$s. Bookmark the permalink.', 'twentytencart' ); + } elseif ( is_object_in_taxonomy( get_post_type(), 'tcp_product_category' ) ) { + $posted_in = __( 'This entry was posted in %1$s. Bookmark the permalink.', 'twentyten' ); + } else { + $posted_in = __( 'Bookmark the permalink.', 'twentyten' ); + } + + // Prints the string, replacing the placeholders. + printf( + $posted_in, + get_the_term_list(0, 'tcp_product_category', '', ' , '), + $tag_list, + $supplier_list, + get_permalink(), + the_title_attribute( 'echo=0' ) + ); +} +endif; + +add_action( 'admin_menu', 'twentytencart_admin_menu', 99 ); +add_action( 'admin_init', 'twentytencart_admin_init' ); +add_action( 'twentyten_credits', 'twentytencart_credits' ); + +function twentytencart_admin_menu() { + //add_options_page( __( 'TwentytenCart', 'tcp' ), __( 'TwentytenCart settings', 'tcp' ), 'tcp_edit_settings', 'themes', 'twentytencart_show_settings' ); + add_submenu_page( 'themes.php', __( 'TCP Loop settings', 'tcp' ), __( 'TCP Loop settings', 'tcp' ), 'tcp_edit_settings', __FILE__, 'twentytencart_show_settings' ); +} + +function twentytencart_admin_init() { + register_setting( 'twentytencart_options', 'ttc_settings', 'twentytencart_validate' ); + add_settings_section( 'main_section', __( 'Main settings', 'tcp' ) , 'twentytencart_show_main_section', __FILE__ ); + add_settings_field( 'see_title', __( 'See title:', 'tcp' ), 'twentytencart_see_title', __FILE__ , 'main_section' ); + add_settings_field( 'see_image', __( 'See image:', 'tcp' ), 'twentytencart_see_image', __FILE__ , 'main_section' ); + add_settings_field( 'image_size', __( 'Image size:', 'tcp' ), 'twentytencart_image_size', __FILE__ , 'main_section' ); + add_settings_field( 'see_excerpt', __( 'See excerpt:', 'tcp' ), 'twentytencart_see_excerpt', __FILE__ , 'main_section' ); + add_settings_field( 'see_content', __( 'See content:', 'tcp' ), 'twentytencart_see_content', __FILE__ , 'main_section' ); + add_settings_field( 'see_author', __( 'See author:', 'tcp' ), 'twentytencart_see_author', __FILE__ , 'main_section' ); + add_settings_field( 'see_price', __( 'See price:', 'tcp' ), 'twentytencart_see_price', __FILE__ , 'main_section' ); + add_settings_field( 'see_buy_button', __( 'See buy button:', 'tcp' ), 'twentytencart_see_buy_button', __FILE__ , 'main_section' ); + add_settings_field( 'see_meta_data', __( 'See meta data:', 'tcp' ), 'twentytencart_see_meta_data', __FILE__ , 'main_section' ); + add_settings_field( 'see_meta_utilities', __( 'See meta utilities:', 'tcp' ), 'twentytencart_see_meta_utilities', __FILE__ , 'main_section' ); + add_settings_field( 'columns', __( 'Columns:', 'tcp' ), 'twentytencart_columns', __FILE__ , 'main_section' ); + add_settings_field( 'see_first_custom_area', __( 'See first custom area', 'tcp' ), 'twentytencart_see_first_custom_area', __FILE__ , 'main_section' ); + add_settings_field( 'see_second_custom_area', __( 'See second custom area', 'tcp' ), 'twentytencart_see_second_custom_area', __FILE__ , 'main_section' ); + add_settings_field( 'see_third_custom_area', __( 'See third custom area', 'tcp' ), 'twentytencart_see_third_custom_area', __FILE__ , 'main_section' ); +} + +function twentytencart_credits() { +?> +
      +

      +
      + + +

      + +

      +
      +
      + /> + /> + + + /> + /> + /> + /> + /> + /> + /> + + /> + /> + /> diff --git a/src/wp-content/themes/originalhouse/includes/theme-actions.php b/src/wp-content/themes/originalhouse/includes/theme-actions.php index 8b3126f..e5a284d 100644 --- a/src/wp-content/themes/originalhouse/includes/theme-actions.php +++ b/src/wp-content/themes/originalhouse/includes/theme-actions.php @@ -133,7 +133,7 @@ if (!function_exists( 'woo_custom_typography')) { // Enable Google Fonts stylesheet in HEAD if (function_exists( 'woo_google_webfonts')) woo_google_webfonts(); - $output = "\n\n\n"; + $output = "\n"; echo $output; } diff --git a/src/wp-content/themes/originalhouse/includes/topmenu.php b/src/wp-content/themes/originalhouse/includes/topmenu.php index f0b9250..a0d95f3 100644 --- a/src/wp-content/themes/originalhouse/includes/topmenu.php +++ b/src/wp-content/themes/originalhouse/includes/topmenu.php @@ -5,15 +5,15 @@ + + \ No newline at end of file diff --git a/src/wp-content/themes/twentyeleven/404.php b/src/wp-content/themes/twentyeleven/404.php new file mode 100644 index 0000000..03e0651 --- /dev/null +++ b/src/wp-content/themes/twentyeleven/404.php @@ -0,0 +1,48 @@ + + +
      +
      + +
      +
      +

      +
      + +
      +

      + + + + 10 ), array( 'widget_id' => '404' ) ); ?> + +
      +

      +
        + 'count', 'order' => 'DESC', 'show_count' => 1, 'title_li' => '', 'number' => 10 ) ); ?> +
      +
      + + ' . sprintf( __( 'Try looking in the monthly archives. %1$s', 'twentyeleven' ), convert_smilies( ':)' ) ) . '

      '; + the_widget( 'WP_Widget_Archives', array('count' => 0 , 'dropdown' => 1 ), array( 'after_title' => ''.$archive_content ) ); + ?> + + + +
      +
      + +
      +
      + + \ No newline at end of file diff --git a/src/wp-content/themes/twentyeleven/archive.php b/src/wp-content/themes/twentyeleven/archive.php new file mode 100644 index 0000000..22873b6 --- /dev/null +++ b/src/wp-content/themes/twentyeleven/archive.php @@ -0,0 +1,72 @@ + + +
      +
      + + + + + + + + + + + + + + + + + + +
      +
      +

      +
      + +
      +

      + +
      +
      + + + +
      +
      + + + \ No newline at end of file diff --git a/src/wp-content/themes/twentyeleven/author.php b/src/wp-content/themes/twentyeleven/author.php new file mode 100644 index 0000000..f9a2bfd --- /dev/null +++ b/src/wp-content/themes/twentyeleven/author.php @@ -0,0 +1,89 @@ + + +
      +
      + + + + + + + + + + + + +
      +
      + +
      +
      +

      + +
      +
      + + + + + + + + + + + + + +
      +
      +

      +
      + +
      +

      + +
      +
      + + + +
      +
      + + + \ No newline at end of file diff --git a/src/wp-content/themes/twentyeleven/category.php b/src/wp-content/themes/twentyeleven/category.php new file mode 100644 index 0000000..539cbbd --- /dev/null +++ b/src/wp-content/themes/twentyeleven/category.php @@ -0,0 +1,65 @@ + + +
      +
      + + + +
      ' ); + ?> + + + + + + + + + + + + + + + +
      +
      +

      +
      + +
      +

      + +
      +
      + + + + +
      + + + diff --git a/src/wp-content/themes/twentyeleven/colors/dark.css b/src/wp-content/themes/twentyeleven/colors/dark.css new file mode 100644 index 0000000..c2b35e8 --- /dev/null +++ b/src/wp-content/themes/twentyeleven/colors/dark.css @@ -0,0 +1,618 @@ +/* + A dark color scheme for Twenty Eleven +*/ + +/* =Global +----------------------------------------------- */ + +body { + background: #1d1d1d; + color: #bbb; +} +#page { + background: #0f0f0f; +} + +/* Headings */ +hr { + background-color: #333; +} + +/* Text elements */ +blockquote cite { + color: #999; +} +pre { + background: #0b0b0b; +} +code, kbd { + font: 13px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; +} +abbr, acronym, dfn { + border-bottom: 1px dotted #999; +} +ins { + background: #00063f; +} +input[type=text], +.post-password-required input[type=password], +textarea { + border: 1px solid #222; +} +input[type=text]:focus, +textarea:focus { +} +input#s { + background-color: #ddd; +} + +/* Links */ +a { +} + + +/* =Header +----------------------------------------------- */ + +#branding { + border-top: 2px solid #0a0a0a; +} +#site-title a { + color: #eee; +} +#site-title a:hover, +#site-title a:focus, +#site-title a:active { +} +#site-description { + color: #858585; +} +#branding #s { + background-color: #ddd; +} + + +/* =Menu +----------------------------------------------- */ + +#access { + background: #333; /* Show a solid color for older browsers */ + background: -moz-linear-gradient(#383838, #272727); + background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#383838), to(#272727)); /* older webkit syntax */ + background: -webkit-linear-gradient(#383838, #272727); + border-bottom: 1px solid #222; +} + +/* =Content +----------------------------------------------- */ + +.page-title { + color: #ccc; +} +.hentry { + border-color: #222; +} +.entry-title { + color: #ddd; +} +.entry-title, +.entry-title a { + color: #ddd; +} +.entry-title a:hover, +.entry-title a:focus, +.entry-title a:active { +} +.entry-meta { + color: #999; +} +.entry-content h1, +.entry-content h2, +.comment-content h1, +.comment-content h2 { + color: #fff; +} +.entry-content table, +.comment-content table { + border-color: #222; +} +.entry-content th, +.comment-content th { + color: #999; +} +.entry-content td, +.comment-content td { + border-color: #222; +} +.page-link { +} +.page-link a { + background: #242424; + color: #bbb; +} +.page-link a:hover { + background: #999; + color: #000; +} +.entry-meta .edit-link a { + background: #242424; + color: #bbb; +} +.entry-meta .edit-link a:hover, +.entry-meta .edit-link a:focus, +.entry-meta .edit-link a:active { + background: #999; + color: #000; +} + +/* Images */ +.wp-caption { + background: #2c2c2c; +} +.wp-caption .wp-caption-text { + color: #999; +} +.wp-caption .wp-caption-text:before { + color: #999; +} + +/* Image borders */ +img[class*="wp-image-"], +#content .gallery .gallery-icon img { + border-color: #2c2c2c; +} +.wp-caption img { + border-color: #2c2c2c; +} +a:focus img[class*="wp-image-"], +a:hover img[class*="wp-image-"], +a:active img[class*="wp-image-"] { + background: #2c2c2c; + border-color: #444; +} +.wp-caption a:focus img, +.wp-caption a:active img, +.wp-caption a:hover img { + background: #0f0f0f; + border-color: #2c2c2c; +} + +/* Password Protected Posts */ +.post-password-required input[type=password] { + background: #ddd; +} +.post-password-required input[type=password]:focus { + background: #fff; +} + +/* Author Info */ +.singular #author-info { + background: #060606; + border-color: #222; +} +.archive #author-info { + border-color: #222; +} +#author-avatar img { + background: #000; + -webkit-box-shadow: 0 1px 2px #444; + -moz-box-shadow: 0 1px 2px #444; + box-shadow: 0 1px 2px #444; +} +#author-description h2 { + color: #fff; +} + +/* Comments link */ +.entry-header .comments-link a { + background: #282828 url(../images/comment-bubble-dark.png) no-repeat; + border-color: #222; + color: #888; +} + +.rtl .entry-header .comments-link a { + background-image: url(../images/comment-bubble-dark-rtl.png); +} +/* Singular content styles for Posts and Pages */ +.singular .entry-title { + color: #fff; +} + + +/* =Status +----------------------------------------------- */ + +.format-status img.avatar { + -webkit-box-shadow: 0 1px 2px #333; + -moz-box-shadow: 0 1px 2px #333; + box-shadow: 0 1px 2px #333; +} + + +/* =Quote +----------------------------------------------- */ + +.format-quote blockquote { + color: #aaa; +} + + +/* =Image +----------------------------------------------- */ + +.indexed.format-image .wp-caption { + background: #242424; +} +.indexed.format-image .entry-meta .edit-link a { + color: #ddd; +} +.indexed.format-image .entry-meta .edit-link a:hover { + color: #fff; +} + + +/* =error404 +----------------------------------------------- */ +.error404 #main #searchform { + background: #060606; + border-color: #222; +} + + +/* =Showcase +----------------------------------------------- */ + +h1.showcase-heading { + color: #ccc; +} + +/* Intro */ +article.intro { + background: #060606; +} +article.intro .entry-content { + color: #eee; +} +article.intro .edit-link a { + background: #555; + color: #000; +} +article.intro .edit-link a:hover { + background: #888; +} + +/* Featured post */ +section.featured-post .hentry { + color: #999; +} + +/* Small featured post */ +section.featured-post .attachment-small-feature { + border-color: #444; +} +section.featured-post .attachment-small-feature:hover { + border-color: #777; +} +article.feature-image.small .entry-summary { + color: #aaa; +} +article.feature-image.small .entry-summary p a { + background: #ddd; + color: #111; +} +article.feature-image.small .entry-summary p a:hover { + color: #40220c; +} + +/* Large featured post */ +article.feature-image.large .entry-title a { + background: #ddd; + background: rgba(0,0,0,0.8); + color: #fff; +} +section.feature-image.large:hover .entry-title a, +section.feature-image.large .entry-title:hover a { + background: #111; + background: rgba(255,255,255,0.8); + color: #000; +} +section.feature-image.large img { + border-bottom: 1px solid #222; +} + +/* Featured Slider */ +.featured-posts { + border-color: #222; +} +.featured-posts section.featured-post { + background: #000; +} +.featured-post .feature-text:after, +.featured-post .feature-image.small:after { + background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%); /* FF3.6+ */ + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,1))); /* Chrome,Safari4+ */ + background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%); /* Chrome10+,Safari5.1+ */ + background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%); /* Opera11.10+ */ + background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%); /* IE10+ */ + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#000000',GradientType=0 ); /* IE6-9 */ + background: linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%); /* W3C */ +} +.feature-slider a { + background: #c3c3c3; + background: rgba(60,60,60,0.9); + -webkit-box-shadow: inset 1px 1px 5px rgba(0,0,0,0.5), inset 0 0 2px rgba(255,255,255,0.5); + -moz-box-shadow: inset 1px 1px 5px rgba(0,0,0,0.5), inset 0 0 2px rgba(255,255,255,0.5); + box-shadow: inset 1px 1px 5px rgba(0,0,0,0.5), inset 0 0 2px rgba(255,255,255,0.5); +} +.feature-slider a.active { + background: #000; + background: rgba(255,255,255,0.8); + -webkit-box-shadow: inset 1px 1px 5px rgba(0,0,0,0.4), inset 0 0 2px rgba(255,255,255,0.8); + -moz-box-shadow: inset 1px 1px 5px rgba(0,0,0,0.4), inset 0 0 2px rgba(255,255,255,0.8); + box-shadow: inset 1px 1px 5px rgba(0,0,0,0.4), inset 0 0 2px rgba(255,255,255,0.8); +} + +/* Recent Posts */ +section.recent-posts .other-recent-posts { + border-color: #222; +} +section.recent-posts .other-recent-posts .entry-title { + border-color: #222; +} +section.recent-posts .other-recent-posts a[rel="bookmark"] { + color: #ccc; +} +section.recent-posts .other-recent-posts a[rel="bookmark"]:hover { +} +section.recent-posts .other-recent-posts .comments-link a, +section.recent-posts .other-recent-posts .comments-link > span { + border-color: #959595; + color: #bbb; +} +section.recent-posts .other-recent-posts .comments-link > span { + border-color: #444; + color: #777; +} +section.recent-posts .other-recent-posts .comments-link a:hover { +} + + +/* =Attachments +----------------------------------------------- */ + +.image-attachment div.attachment { + background: #060606; + border-color: #222; +} +.image-attachment div.attachment a img { + border-color: #060606; +} +.image-attachment div.attachment a:focus img, +.image-attachment div.attachment a:hover img, +.image-attachment div.attachment a:active img { + border-color: #2c2c2c; + background: #0f0f0f; +} + + +/* =Widgets +----------------------------------------------- */ + +.widget-title { + color: #ccc; +} +.widget ul li { + color: #888; +} + +/* Search Widget */ +.widget_search #searchsubmit { + background: #222; + border-color: #333; + -webkit-box-shadow: inset 0px -1px 1px rgba(0, 0, 0, 0.09); + -moz-box-shadow: inset 0px -1px 1px rgba(0, 0, 0, 0.09); + box-shadow: inset 0px -1px 1px rgba(0, 0, 0, 0.09); + color: #777; +} +.widget_search #searchsubmit:active { + -webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1); + -moz-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1); + box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1); + color: #40220c; +} + +/* Calendar Widget */ +.widget_calendar #wp-calendar { + color: #aaa; +} +.widget_calendar #wp-calendar th { + background: #0b0b0b; + border-color: #333; +} +.widget_calendar #wp-calendar tfoot td { + background: #0b0b0b; + border-color: #333; +} + + +/* =Comments +----------------------------------------------- */ + +#comments-title { + color: #bbb; +} +.nocomments { + color: #555; +} +.commentlist > li.comment { + background: #090909; + border-color: #222; +} +.commentlist .children li.comment { + background: #000; + border-color: #222; +} +.rtl .commentlist .children li.comment { + border-color: #222; +} +.comment-meta { + color: #999; +} +a.comment-reply-link { + background: #242424; + color: #bbb; +} +li.bypostauthor a.comment-reply-link { + background: #111; +} +a.comment-reply-link:hover, +a.comment-reply-link:focus, +a.comment-reply-link:active, +li.bypostauthor a.comment-reply-link:hover, +li.bypostauthor a.comment-reply-link:focus, +li.bypostauthor a.comment-reply-link:active { + background: #999; + color: #000; +} +.commentlist > li:before { + content: url(../images/comment-arrow-dark.png); +} +.rtl .commentlist > li:before { + content: url(../images/comment-arrow-dark-rtl.png); +} + +/* Post author highlighting */ +.commentlist > li.bypostauthor { + background: #222; + border-color: #2c2c2c; +} +.commentlist > li.bypostauthor:before { + content: url(../images/comment-arrow-bypostauthor-dark.png); +} +.rtl .commentlist > li.bypostauthor:before { + content: url(../images/comment-arrow-bypostauthor-dark-rtl.png); +} + +/* Post Author threaded comments */ +.commentlist .children > li.bypostauthor { + background: #222; + border-color: #2c2c2c; +} +.commentlist > li.bypostauthor .comment-meta { + color: #a8a8a8; +} + +/* Comment Form */ +#respond { + background: #222; + border-color: #2c2c2c; +} +#respond input[type="text"], +#respond textarea { + background: #000; + border: 4px solid #111; + -webkit-box-shadow: inset 0 1px 3px rgba(51,51,51,0.95); + -moz-box-shadow: inset 0 1px 3px rgba(51,51,51,0.95); + box-shadow: inset 0 1px 3px rgba(51,51,51,0.95); + color: #bbb; +} +#respond .comment-form-author label, +#respond .comment-form-email label, +#respond .comment-form-url label, +#respond .comment-form-comment label { + background: #111; + -webkit-box-shadow: 1px 2px 2px rgba(51,51,51,0.8); + -moz-box-shadow: 1px 2px 2px rgba(51,51,51,0.8); + box-shadow: 1px 1px 2px rgba(51,51,51,0.8); + color: #aaa; +} +.rtl #respond .comment-form-author label, +.rtl #respond .comment-form-email label, +.rtl #respond .comment-form-url label, +.rtl #respond .comment-form-comment label { + -webkit-box-shadow: -1px 2px 2px rgba(51,51,51,0.8); + -moz-box-shadow: -1px 2px 2px rgba(51,51,51,0.8); + box-shadow: -1px 1px 2px rgba(51,51,51,0.8); +} +#respond .comment-form-author .required, +#respond .comment-form-email .required { + color: #42caff; +} +#respond input#submit { + background: #ddd; + -webkit-box-shadow: 0px 1px 2px rgba(0,0,0,0.3); + -moz-box-shadow: 0px 1px 2px rgba(0,0,0,0.3); + box-shadow: 0px 1px 2px rgba(0,0,0,0.3); + color: #111; + text-shadow: 0 -1px 0 rgba(0,0,0,0.3); +} +#respond input#submit:active { + color: #40220c; +} +#respond #cancel-comment-reply-link { + color: #999; +} +#reply-title { + color: #ccc; +} +#cancel-comment-reply-link { + color: #777; +} +#cancel-comment-reply-link:focus, +#cancel-comment-reply-link:active, +#cancel-comment-reply-link:hover { + color: #00b4cc; +} + + +/* =Footer +----------------------------------------------- */ + +#supplementary { + border-color: #222; +} + +/* Site Generator Line */ +#site-generator { + background: #060606; + border-color: #000; +} + + +/* =Print +----------------------------------------------- */ + +@media print { + body { + color: #333; + background: none !important; + } + #page { + background: none !important; + } + + /* Comments */ + .commentlist > li.comment { + } + + /* Post author highlighting */ + .commentlist > li.bypostauthor { + color: #333; + } + .commentlist > li.bypostauthor .comment-meta { + color: #959595; + } + .commentlist > li:before { + content: none !important; + } + + /* Post Author threaded comments */ + .commentlist .children > li.bypostauthor { + background: #fff; + border-color: #ddd; + } + .commentlist .children > li.bypostauthor > article, + .commentlist .children > li.bypostauthor > article .comment-meta { + color: #959595; + } +} \ No newline at end of file diff --git a/src/wp-content/themes/twentyeleven/comments.php b/src/wp-content/themes/twentyeleven/comments.php new file mode 100644 index 0000000..359b001 --- /dev/null +++ b/src/wp-content/themes/twentyeleven/comments.php @@ -0,0 +1,77 @@ + +
      + +

      +
      + + + + + +

      + ' . get_the_title() . '' ); + ?> +

      + + 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?> + + + +
        + 'twentyeleven_comment' ) ); + ?> +
      + + 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?> + + + + +

      + + + + + diff --git a/src/wp-content/themes/twentyeleven/content-aside.php b/src/wp-content/themes/twentyeleven/content-aside.php new file mode 100644 index 0000000..419f08e --- /dev/null +++ b/src/wp-content/themes/twentyeleven/content-aside.php @@ -0,0 +1,46 @@ + + +
      > +
      +
      +

      +

      +
      + + + + +
      + + +
      + +
      + +
      + →', 'twentyeleven' ) ); ?> + '' ) ); ?> +
      + + +
      + + + | + ' . __( 'Leave a reply', 'twentyeleven' ) . '', __( '1 Reply', 'twentyeleven' ), __( '% Replies', 'twentyeleven' ) ); ?> + + ', '' ); ?> +
      +
      diff --git a/src/wp-content/themes/twentyeleven/content-featured.php b/src/wp-content/themes/twentyeleven/content-featured.php new file mode 100644 index 0000000..ce92641 --- /dev/null +++ b/src/wp-content/themes/twentyeleven/content-featured.php @@ -0,0 +1,47 @@ + +
      > +
      +

      + + +
      + +
      + + '' ) ); ?> +
      + +
      + permalink.', 'twentyeleven' ); + } else { + $utility_text = __( 'This entry was posted in %1$s. Bookmark the permalink.', 'twentyeleven' ); + } + printf( + $utility_text, + /* translators: used between list items, there is a space after the comma */ + get_the_category_list( __( ', ', 'twentyeleven' ) ), + $tag_list, + esc_url( get_permalink() ), + the_title_attribute( 'echo=0' ) + ); + ?> + + ', '' ); ?> +
      +
      diff --git a/src/wp-content/themes/twentyeleven/content-gallery.php b/src/wp-content/themes/twentyeleven/content-gallery.php new file mode 100644 index 0000000..302a51e --- /dev/null +++ b/src/wp-content/themes/twentyeleven/content-gallery.php @@ -0,0 +1,92 @@ + + +
      > +
      +
      +

      +

      +
      + + +
      + + +
      + +
      + +
      + + →', 'twentyeleven' ) ); ?> + + + $post->ID, 'post_type' => 'attachment', 'post_mime_type' => 'image', 'orderby' => 'menu_order', 'order' => 'ASC', 'numberposts' => 999 ) ); + if ( $images ) : + $total_images = count( $images ); + $image = array_shift( $images ); + $image_img_tag = wp_get_attachment_image( $image->ID, 'thumbnail' ); + ?> + + + +

      %2$s photo.', 'This gallery contains %2$s photos.', $total_images, 'twentyeleven' ), + 'href="' . esc_url( get_permalink() ) . '" title="' . sprintf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) . '" rel="bookmark"', + number_format_i18n( $total_images ) + ); ?>

      + + + + '' ) ); ?> +
      + + +
      + + + + Posted in %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list ); + $show_sep = true; ?> + + + + | + + + Tagged %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); + $show_sep = true; ?> + + + + + + | + + ' . __( 'Leave a Reply', 'twentyeleven' ) . '', __( '1 Reply', 'twentyeleven' ), __( '% Replies', 'twentyeleven' ) ); ?> + + + ', '' ); ?> +
      +
      diff --git a/src/wp-content/themes/twentyeleven/content-image.php b/src/wp-content/themes/twentyeleven/content-image.php new file mode 100644 index 0000000..0c55dc7 --- /dev/null +++ b/src/wp-content/themes/twentyeleven/content-image.php @@ -0,0 +1,70 @@ + +
      > +
      +
      +

      +

      +
      + + + + +
      + +
      + →', 'twentyeleven' ) ); ?> + '' ) ); ?> +
      + +
      + + + + ', '' ); ?> +
      +
      diff --git a/src/wp-content/themes/twentyeleven/content-intro.php b/src/wp-content/themes/twentyeleven/content-intro.php new file mode 100644 index 0000000..573112d --- /dev/null +++ b/src/wp-content/themes/twentyeleven/content-intro.php @@ -0,0 +1,21 @@ + + +
      > +
      +

      +
      + +
      + + '' ) ); ?> + ', '' ); ?> +
      +
      diff --git a/src/wp-content/themes/twentyeleven/content-link.php b/src/wp-content/themes/twentyeleven/content-link.php new file mode 100644 index 0000000..dd66f0f --- /dev/null +++ b/src/wp-content/themes/twentyeleven/content-link.php @@ -0,0 +1,46 @@ + + +
      > +
      +
      +

      +

      +
      + + + + +
      + + +
      + +
      + +
      + →', 'twentyeleven' ) ); ?> + '' ) ); ?> +
      + + +
      + + + | + ' . __( 'Leave a reply', 'twentyeleven' ) . '', __( '1 Reply', 'twentyeleven' ), __( '% Replies', 'twentyeleven' ) ); ?> + + ', '' ); ?> +
      +
      diff --git a/src/wp-content/themes/twentyeleven/content-page.php b/src/wp-content/themes/twentyeleven/content-page.php new file mode 100644 index 0000000..c499842 --- /dev/null +++ b/src/wp-content/themes/twentyeleven/content-page.php @@ -0,0 +1,23 @@ + + +
      > +
      +

      +
      + +
      + + '' ) ); ?> +
      +
      + ', '' ); ?> +
      +
      diff --git a/src/wp-content/themes/twentyeleven/content-quote.php b/src/wp-content/themes/twentyeleven/content-quote.php new file mode 100644 index 0000000..38541bb --- /dev/null +++ b/src/wp-content/themes/twentyeleven/content-quote.php @@ -0,0 +1,74 @@ + + +
      > +
      +
      +

      +

      +
      + + + + + + +
      + + +
      + +
      + +
      + →', 'twentyeleven' ) ); ?> + '' ) ); ?> +
      + + +
      + + + + Posted in %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list ); + $show_sep = true; ?> + + + + | + + + Tagged %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); + $show_sep = true; ?> + + + + + + | + + ' . __( 'Leave a reply', 'twentyeleven' ) . '', __( '1 Reply', 'twentyeleven' ), __( '% Replies', 'twentyeleven' ) ); ?> + + + ', '' ); ?> +
      +
      diff --git a/src/wp-content/themes/twentyeleven/content-single.php b/src/wp-content/themes/twentyeleven/content-single.php new file mode 100644 index 0000000..c246b74 --- /dev/null +++ b/src/wp-content/themes/twentyeleven/content-single.php @@ -0,0 +1,71 @@ + + +
      > +
      +

      + + + + +
      + +
      + + '' ) ); ?> +
      + +
      + %5$s. Bookmark the permalink.', 'twentyeleven' ); + } elseif ( '' != $categories_list ) { + $utility_text = __( 'This entry was posted in %1$s by %5$s. Bookmark the permalink.', 'twentyeleven' ); + } else { + $utility_text = __( 'This entry was posted by %5$s. Bookmark the permalink.', 'twentyeleven' ); + } + + printf( + $utility_text, + $categories_list, + $tag_list, + esc_url( get_permalink() ), + the_title_attribute( 'echo=0' ), + get_the_author(), + esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) + ); + ?> + ', '' ); ?> + + + + +
      +
      diff --git a/src/wp-content/themes/twentyeleven/content-status.php b/src/wp-content/themes/twentyeleven/content-status.php new file mode 100644 index 0000000..de2f02d --- /dev/null +++ b/src/wp-content/themes/twentyeleven/content-status.php @@ -0,0 +1,47 @@ + + +
      > +
      +
      +

      +

      +
      + + + + +
      + + +
      + +
      + +
      +
      + + →', 'twentyeleven' ) ); ?> + '' ) ); ?> +
      + + +
      + + + | + ' . __( 'Leave a reply', 'twentyeleven' ) . '', __( '1 Reply', 'twentyeleven' ), __( '% Replies', 'twentyeleven' ) ); ?> + + ', '' ); ?> +
      +
      diff --git a/src/wp-content/themes/twentyeleven/content.php b/src/wp-content/themes/twentyeleven/content.php new file mode 100644 index 0000000..1ead318 --- /dev/null +++ b/src/wp-content/themes/twentyeleven/content.php @@ -0,0 +1,82 @@ + + +
      > +
      + +
      +

      +

      +
      + +

      + + + + + + + + + +
      + + +
      + +
      + +
      + →', 'twentyeleven' ) ); ?> + '' ) ); ?> +
      + + +
      + + + + + Posted in %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list ); + $show_sep = true; ?> + + + + | + + + Tagged %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); + $show_sep = true; ?> + + + + + + + | + + ' . __( 'Leave a reply', 'twentyeleven' ) . '', __( '1 Reply', 'twentyeleven' ), __( '% Replies', 'twentyeleven' ) ); ?> + + + ', '' ); ?> +
      +
      diff --git a/src/wp-content/themes/twentyeleven/editor-style-rtl.css b/src/wp-content/themes/twentyeleven/editor-style-rtl.css new file mode 100644 index 0000000..5783776 --- /dev/null +++ b/src/wp-content/themes/twentyeleven/editor-style-rtl.css @@ -0,0 +1,24 @@ +/* +Theme Name: Twenty Eleven +*/ +/* +Used to style the TinyMCE editor. +*/ +html .mceContentBody { + direction: rtl; + unicode-bidi: embed; + float: right; + max-width: 584px; +} +* { + font-family: Arial, Tahoma, sans-serif; +} +ul, ol { + margin: 0 2.5em 1.625em 0; +} +blockquote { + font-style: normal; +} +table { + text-align: right; +} \ No newline at end of file diff --git a/src/wp-content/themes/twentyeleven/editor-style.css b/src/wp-content/themes/twentyeleven/editor-style.css new file mode 100644 index 0000000..ada4be9 --- /dev/null +++ b/src/wp-content/themes/twentyeleven/editor-style.css @@ -0,0 +1,308 @@ +/* +Theme Name: Twenty Eleven +Description: Used to style the TinyMCE editor. +*/ + +html .mceContentBody { + max-width: 584px; +} +* { + color: #333; + font: 15px "Helvetica Neue", Helvetica, Arial, sans-serif; + font-style: inherit; + font-weight: inherit; + line-height: 1.625; +} +body { + color: #333; + font: 15px "Helvetica Neue", Helvetica, Arial, "Nimbus Sans L", sans-serif; + font-weight: 300; + line-height: 1.625; +} + +/* Headings */ +h1,h2,h3,h4,h5,h6 { + clear: both; +} +h1, +h2 { + color: #000; + font-size: 15px; + font-weight: bold; + margin: 0 0 .8125em; +} +h3 { + font-size: 10px; + letter-spacing: 0.1em; + line-height: 2.6em; + text-transform: uppercase; +} +h4, h5, h6 { + font-size: 14px; + margin: 0; +} +hr { + background-color: #ccc; + border: 0; + height: 1px; + margin-bottom: 1.625em; +} + +/* Text elements */ +p, ul, ol, dl { + font-weight: 300; +} +p { + margin-bottom: 1.625em; +} +ul, ol { + margin: 0 0 1.625em 2.5em; + padding: 0; +} +ul { + list-style: square; +} +ol { + list-style-type: decimal; +} +ol ol { + list-style: upper-alpha; +} +ol ol ol { + list-style: lower-roman; +} +ol ol ol ol { + list-style: lower-alpha; +} +ul ul, ol ol, ul ol, ol ul { + margin-bottom: 0; +} +dl { + margin: 0 1.625em; +} +dt { + font-size: 15px; + font-weight: bold; +} +dd { + margin: 0 0 1.625em; +} +strong { + font-weight: bold; +} +cite, em, i { + font-style: italic; +} +cite { + border: none; +} +big { + font-size: 131.25%; +} +blockquote { + font-family: Georgia, "Bitstream Charter", serif !important; + font-style: italic !important; + font-weight: normal; + margin: 0 3em; +} +blockquote em, blockquote i, blockquote cite { + font-style: normal; +} +blockquote cite { + color: #666; + font: 12px "Helvetica Neue", Helvetica, Arial, sans-serif; + font-weight: 300; + letter-spacing: 0.05em; + text-transform: uppercase; +} +pre { + background: #f4f4f4; + font: 13px "Courier 10 Pitch", Courier, monospace; + line-height: 1.5; + margin-bottom: 1.625em; + padding: 0.75em 1.625em; +} +code, kbd, code var { + font: 13px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; +} +abbr, acronym, dfn { + border-bottom: 1px dotted #666; + cursor: help; +} +address { + display: block; + margin: 0 0 1.625em; +} +del { + color: #333; +} +ins { + background: #fff9c0; + border: none; + color: #333; + text-decoration: none; +} +sup, +sub { + font-size: 10px; + height: 0; + line-height: 1; + position: relative; + vertical-align: baseline; +} +sup { + bottom: 1ex; +} +sub { + top: .5ex; +} +input[type=text], +textarea { + background: #fafafa; + -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1); + -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1); + box-shadow: inset 0 1px 1px rgba(0,0,0,0.1); + border: 1px solid #ddd; + color: #888; +} +input[type=text]:focus, +textarea:focus { + color: #333; +} +textarea { + padding-left: 3px; + width: 98%; +} +input[type=text] { + padding: 3px; +} + +/* Links */ +a, +a em, +a strong { + color: #1b8be0; + text-decoration: none; +} +a:focus, +a:active, +a:hover { + text-decoration: underline; +} + +/* Alignment */ +.alignleft { + display: inline; + float: left; + margin-right: 1.625em; +} +.alignright { + display: inline; + float: right; + margin-left: 1.625em; +} +.aligncenter { + clear: both; + display: block; + margin-left: auto; + margin-right: auto; +} + +/* Tables */ +table { + border: none !important; + border-bottom: 1px solid #ddd !important; + border-collapse: collapse; + border-spacing: 0; + text-align: left; + margin: 0 0 1.625em; + width: 100%; +} +tr th { + border: none !important; + color: #666; + font-size: 10px; + font-weight: 500; + letter-spacing: 0.1em; + line-height: 2.6em; + text-transform: uppercase; +} +td { + border: none !important; + border-top: 1px solid #ddd !important; + padding: 6px 10px 6px 0; +} + +/* Images */ +img[class*="wp-image-"] { + height: auto; + max-width: 100%; +} +img.size-full { + width: auto; /* Prevent stretching of full-size images in IE8 */ +} +img.wp-smiley { + border: none; + margin-bottom: 0; + margin-top: 0; + padding: 0; +} +p img, +.wp-caption { + margin-top: 0.4em; +} +img { + border: 1px solid #ddd; + padding: 6px; +} +img.alignleft, +img.alignright, +img.aligncenter { + margin-bottom: 1.625em; +} +.wp-caption { + background: #eee; + border: none; + margin-bottom: 1.625em; + max-width: 96%; + padding: 9px; +} +.wp-caption img { + display: block; + margin: 5px auto 0 !important; + max-width: 98%; + border-color: #eee; +} +.wp-caption .wp-caption-text, +.wp-caption-dd { + color: #666; + font-family: Georgia, serif !important; + font-size: 12px; + margin: 0 0 0.6em 0 !important; + padding: 0 0 5px 40px; + position: relative; + text-align: left; +} +.wp-caption .wp-caption-text:before { + color: #666; + content: '\2014'; + font-size: 14px; + font-style: normal; + font-weight: bold; + margin-right: 5px; + position: absolute; + left: 10px; + top: 7px; +} +a:focus img[class*="wp-image-"], +a:hover img[class*="wp-image-"], +a:active img[class*="wp-image-"] { + background: #eee; + border-color: #bbb; +} +.wp-caption a:focus img, +.wp-caption a:active img, +.wp-caption a:hover img { + background: #fff; + border-color: #ddd; +} \ No newline at end of file diff --git a/src/wp-content/themes/twentyeleven/footer.php b/src/wp-content/themes/twentyeleven/footer.php new file mode 100644 index 0000000..9fa6225 --- /dev/null +++ b/src/wp-content/themes/twentyeleven/footer.php @@ -0,0 +1,34 @@ + + + + +
      + + + +
      + + +
      +
      + + + + + + \ No newline at end of file diff --git a/src/wp-content/themes/twentyeleven/functions.php b/src/wp-content/themes/twentyeleven/functions.php new file mode 100644 index 0000000..1997eb2 --- /dev/null +++ b/src/wp-content/themes/twentyeleven/functions.php @@ -0,0 +1,593 @@ + + * add_action( 'after_setup_theme', 'my_child_theme_setup' ); + * function my_child_theme_setup() { + * // We are providing our own filter for excerpt_length (or using the unfiltered value) + * remove_filter( 'excerpt_length', 'twentyeleven_excerpt_length' ); + * ... + * } + * + * + * For more information on hooks, actions, and filters, see http://codex.wordpress.org/Plugin_API. + * + * @package WordPress + * @subpackage Twenty_Eleven + * @since Twenty Eleven 1.0 + */ + +/** + * Set the content width based on the theme's design and stylesheet. + */ +if ( ! isset( $content_width ) ) + $content_width = 584; + +/** + * Tell WordPress to run twentyeleven_setup() when the 'after_setup_theme' hook is run. + */ +add_action( 'after_setup_theme', 'twentyeleven_setup' ); + +if ( ! function_exists( 'twentyeleven_setup' ) ): +/** + * Sets up theme defaults and registers support for various WordPress features. + * + * Note that this function is hooked into the after_setup_theme hook, which runs + * before the init hook. The init hook is too late for some features, such as indicating + * support post thumbnails. + * + * To override twentyeleven_setup() in a child theme, add your own twentyeleven_setup to your child theme's + * functions.php file. + * + * @uses load_theme_textdomain() For translation/localization support. + * @uses add_editor_style() To style the visual editor. + * @uses add_theme_support() To add support for post thumbnails, automatic feed links, and Post Formats. + * @uses register_nav_menus() To add support for navigation menus. + * @uses add_custom_background() To add support for a custom background. + * @uses add_custom_image_header() To add support for a custom header. + * @uses register_default_headers() To register the default custom header images provided with the theme. + * @uses set_post_thumbnail_size() To set a custom post thumbnail size. + * + * @since Twenty Eleven 1.0 + */ +function twentyeleven_setup() { + + /* Make Twenty Eleven available for translation. + * Translations can be added to the /languages/ directory. + * If you're building a theme based on Twenty Eleven, use a find and replace + * to change 'twentyeleven' to the name of your theme in all the template files. + */ + load_theme_textdomain( 'twentyeleven', TEMPLATEPATH . '/languages' ); + + $locale = get_locale(); + $locale_file = TEMPLATEPATH . "/languages/$locale.php"; + if ( is_readable( $locale_file ) ) + require_once( $locale_file ); + + // This theme styles the visual editor with editor-style.css to match the theme style. + add_editor_style(); + + // Load up our theme options page and related code. + require( dirname( __FILE__ ) . '/inc/theme-options.php' ); + + // Grab Twenty Eleven's Ephemera widget. + require( dirname( __FILE__ ) . '/inc/widgets.php' ); + + // Add default posts and comments RSS feed links to . + add_theme_support( 'automatic-feed-links' ); + + // This theme uses wp_nav_menu() in one location. + register_nav_menu( 'primary', __( 'Primary Menu', 'twentyeleven' ) ); + + // Add support for a variety of post formats + add_theme_support( 'post-formats', array( 'aside', 'link', 'gallery', 'status', 'quote', 'image' ) ); + + // Add support for custom backgrounds + add_custom_background(); + + // This theme uses Featured Images (also known as post thumbnails) for per-post/per-page Custom Header images + add_theme_support( 'post-thumbnails' ); + + // The next four constants set how Twenty Eleven supports custom headers. + + // The default header text color + define( 'HEADER_TEXTCOLOR', '000' ); + + // By leaving empty, we allow for random image rotation. + define( 'HEADER_IMAGE', '' ); + + // The height and width of your custom header. + // Add a filter to twentyeleven_header_image_width and twentyeleven_header_image_height to change these values. + define( 'HEADER_IMAGE_WIDTH', apply_filters( 'twentyeleven_header_image_width', 1000 ) ); + define( 'HEADER_IMAGE_HEIGHT', apply_filters( 'twentyeleven_header_image_height', 288 ) ); + + // We'll be using post thumbnails for custom header images on posts and pages. + // We want them to be the size of the header image that we just defined + // Larger images will be auto-cropped to fit, smaller ones will be ignored. See header.php. + set_post_thumbnail_size( HEADER_IMAGE_WIDTH, HEADER_IMAGE_HEIGHT, true ); + + // Add Twenty Eleven's custom image sizes + add_image_size( 'large-feature', HEADER_IMAGE_WIDTH, HEADER_IMAGE_HEIGHT, true ); // Used for large feature (header) images + add_image_size( 'small-feature', 500, 300 ); // Used for featured posts if a large-feature doesn't exist + + // Turn on random header image rotation by default. + add_theme_support( 'custom-header', array( 'random-default' => true ) ); + + // Add a way for the custom header to be styled in the admin panel that controls + // custom headers. See twentyeleven_admin_header_style(), below. + add_custom_image_header( 'twentyeleven_header_style', 'twentyeleven_admin_header_style', 'twentyeleven_admin_header_image' ); + + // ... and thus ends the changeable header business. + + // Default custom headers packaged with the theme. %s is a placeholder for the theme template directory URI. + register_default_headers( array( + 'wheel' => array( + 'url' => '%s/images/headers/wheel.jpg', + 'thumbnail_url' => '%s/images/headers/wheel-thumbnail.jpg', + /* translators: header image description */ + 'description' => __( 'Wheel', 'twentyeleven' ) + ), + 'shore' => array( + 'url' => '%s/images/headers/shore.jpg', + 'thumbnail_url' => '%s/images/headers/shore-thumbnail.jpg', + /* translators: header image description */ + 'description' => __( 'Shore', 'twentyeleven' ) + ), + 'trolley' => array( + 'url' => '%s/images/headers/trolley.jpg', + 'thumbnail_url' => '%s/images/headers/trolley-thumbnail.jpg', + /* translators: header image description */ + 'description' => __( 'Trolley', 'twentyeleven' ) + ), + 'pine-cone' => array( + 'url' => '%s/images/headers/pine-cone.jpg', + 'thumbnail_url' => '%s/images/headers/pine-cone-thumbnail.jpg', + /* translators: header image description */ + 'description' => __( 'Pine Cone', 'twentyeleven' ) + ), + 'chessboard' => array( + 'url' => '%s/images/headers/chessboard.jpg', + 'thumbnail_url' => '%s/images/headers/chessboard-thumbnail.jpg', + /* translators: header image description */ + 'description' => __( 'Chessboard', 'twentyeleven' ) + ), + 'lanterns' => array( + 'url' => '%s/images/headers/lanterns.jpg', + 'thumbnail_url' => '%s/images/headers/lanterns-thumbnail.jpg', + /* translators: header image description */ + 'description' => __( 'Lanterns', 'twentyeleven' ) + ), + 'willow' => array( + 'url' => '%s/images/headers/willow.jpg', + 'thumbnail_url' => '%s/images/headers/willow-thumbnail.jpg', + /* translators: header image description */ + 'description' => __( 'Willow', 'twentyeleven' ) + ), + 'hanoi' => array( + 'url' => '%s/images/headers/hanoi.jpg', + 'thumbnail_url' => '%s/images/headers/hanoi-thumbnail.jpg', + /* translators: header image description */ + 'description' => __( 'Hanoi Plant', 'twentyeleven' ) + ) + ) ); +} +endif; // twentyeleven_setup + +if ( ! function_exists( 'twentyeleven_header_style' ) ) : +/** + * Styles the header image and text displayed on the blog + * + * @since Twenty Eleven 1.0 + */ +function twentyeleven_header_style() { + + // If no custom options for text are set, let's bail + // get_header_textcolor() options: HEADER_TEXTCOLOR is default, hide text (returns 'blank') or any hex value + if ( HEADER_TEXTCOLOR == get_header_textcolor() ) + return; + // If we get this far, we have custom styles. Let's do this. + ?> + + Header admin panel. + * + * Referenced via add_custom_image_header() in twentyeleven_setup(). + * + * @since Twenty Eleven 1.0 + */ +function twentyeleven_admin_header_style() { +?> + + Header admin panel. + * + * Referenced via add_custom_image_header() in twentyeleven_setup(). + * + * @since Twenty Eleven 1.0 + */ +function twentyeleven_admin_header_image() { ?> + +' . __( 'Continue reading ', 'twentyeleven' ) . ''; +} + +/** + * Replaces "[...]" (appended to automatically generated excerpts) with an ellipsis and twentyeleven_continue_reading_link(). + * + * To override this in a child theme, remove the filter and add your own + * function tied to the excerpt_more filter hook. + */ +function twentyeleven_auto_excerpt_more( $more ) { + return ' …' . twentyeleven_continue_reading_link(); +} +add_filter( 'excerpt_more', 'twentyeleven_auto_excerpt_more' ); + +/** + * Adds a pretty "Continue Reading" link to custom post excerpts. + * + * To override this link in a child theme, remove the filter and add your own + * function tied to the get_the_excerpt filter hook. + */ +function twentyeleven_custom_excerpt_more( $output ) { + if ( has_excerpt() && ! is_attachment() ) { + $output .= twentyeleven_continue_reading_link(); + } + return $output; +} +add_filter( 'get_the_excerpt', 'twentyeleven_custom_excerpt_more' ); + +/** + * Get our wp_nav_menu() fallback, wp_page_menu(), to show a home link. + */ +function twentyeleven_page_menu_args( $args ) { + $args['show_home'] = true; + return $args; +} +add_filter( 'wp_page_menu_args', 'twentyeleven_page_menu_args' ); + +/** + * Register our sidebars and widgetized areas. Also register the default Epherma widget. + * + * @since Twenty Eleven 1.0 + */ +function twentyeleven_widgets_init() { + + register_widget( 'Twenty_Eleven_Ephemera_Widget' ); + + register_sidebar( array( + 'name' => __( 'Main Sidebar', 'twentyeleven' ), + 'id' => 'sidebar-1', + 'before_widget' => '", + 'before_title' => '

      ', + 'after_title' => '

      ', + ) ); + + register_sidebar( array( + 'name' => __( 'Showcase Sidebar', 'twentyeleven' ), + 'id' => 'sidebar-2', + 'description' => __( 'The sidebar for the optional Showcase Template', 'twentyeleven' ), + 'before_widget' => '", + 'before_title' => '

      ', + 'after_title' => '

      ', + ) ); + + register_sidebar( array( + 'name' => __( 'Footer Area One', 'twentyeleven' ), + 'id' => 'sidebar-3', + 'description' => __( 'An optional widget area for your site footer', 'twentyeleven' ), + 'before_widget' => '", + 'before_title' => '

      ', + 'after_title' => '

      ', + ) ); + + register_sidebar( array( + 'name' => __( 'Footer Area Two', 'twentyeleven' ), + 'id' => 'sidebar-4', + 'description' => __( 'An optional widget area for your site footer', 'twentyeleven' ), + 'before_widget' => '", + 'before_title' => '

      ', + 'after_title' => '

      ', + ) ); + + register_sidebar( array( + 'name' => __( 'Footer Area Three', 'twentyeleven' ), + 'id' => 'sidebar-5', + 'description' => __( 'An optional widget area for your site footer', 'twentyeleven' ), + 'before_widget' => '", + 'before_title' => '

      ', + 'after_title' => '

      ', + ) ); +} +add_action( 'widgets_init', 'twentyeleven_widgets_init' ); + +/** + * Display navigation to next/previous pages when applicable + */ +function twentyeleven_content_nav( $nav_id ) { + global $wp_query; + + if ( $wp_query->max_num_pages > 1 ) : ?> + + ]*?href=[\'"](.+?)[\'"]/is', get_the_content(), $matches ) ) + return false; + + return esc_url_raw( $matches[1] ); +} + +/** + * Count the number of footer sidebars to enable dynamic classes for the footer + */ +function twentyeleven_footer_sidebar_class() { + $count = 0; + + if ( is_active_sidebar( 'sidebar-3' ) ) + $count++; + + if ( is_active_sidebar( 'sidebar-4' ) ) + $count++; + + if ( is_active_sidebar( 'sidebar-5' ) ) + $count++; + + $class = ''; + + switch ( $count ) { + case '1': + $class = 'one'; + break; + case '2': + $class = 'two'; + break; + case '3': + $class = 'three'; + break; + } + + if ( $class ) + echo 'class="' . $class . '"'; +} + +if ( ! function_exists( 'twentyeleven_comment' ) ) : +/** + * Template for comments and pingbacks. + * + * To override this walker in a child theme without modifying the comments template + * simply create your own twentyeleven_comment(), and that function will be used instead. + * + * Used as a callback by wp_list_comments() for displaying the comments. + * + * @since Twenty Eleven 1.0 + */ +function twentyeleven_comment( $comment, $args, $depth ) { + $GLOBALS['comment'] = $comment; + switch ( $comment->comment_type ) : + case 'pingback' : + case 'trackback' : + ?> +
    • +

      ', '' ); ?>

      + +
    • id="li-comment-"> +
      +
      +
      + comment_parent ) + $avatar_size = 39; + + echo get_avatar( $comment, $avatar_size ); + + /* translators: 1: comment author, 2: date and time */ + printf( __( '%1$s on %2$s said:', 'twentyeleven' ), + sprintf( '%s', get_comment_author_link() ), + sprintf( '', + esc_url( get_comment_link( $comment->comment_ID ) ), + get_comment_time( 'c' ), + /* translators: 1: date, 2: time */ + sprintf( __( '%1$s at %2$s', 'twentyeleven' ), get_comment_date(), get_comment_time() ) + ) + ); + ?> + + ', '' ); ?> +
      + + comment_approved == '0' ) : ?> + +
      + + +
      + +
      + +
      + __( 'Reply ', 'twentyeleven' ), 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?> +
      +
      + + Posted on by ', 'twentyeleven' ), + esc_url( get_permalink() ), + esc_attr( get_the_time() ), + esc_attr( get_the_date( 'c' ) ), + esc_html( get_the_date() ), + esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), + sprintf( esc_attr__( 'View all posts by %s', 'twentyeleven' ), get_the_author() ), + esc_html( get_the_author() ) + ); +} +endif; + +/** + * Adds two classes to the array of body classes. + * The first is if the site has only had one author with published posts. + * The second is if a singular post being displayed + * + * @since Twenty Eleven 1.0 + */ +function twentyeleven_body_classes( $classes ) { + + if ( ! is_multi_author() ) { + $classes[] = 'single-author'; + } + + if ( is_singular() && ! is_home() && ! is_page_template( 'showcase.php' ) && ! is_page_template( 'sidebar-page.php' ) ) + $classes[] = 'singular'; + + return $classes; +} +add_filter( 'body_class', 'twentyeleven_body_classes' ); + diff --git a/src/wp-content/themes/twentyeleven/header.php b/src/wp-content/themes/twentyeleven/header.php new file mode 100644 index 0000000..b1be094 --- /dev/null +++ b/src/wp-content/themes/twentyeleven/header.php @@ -0,0 +1,123 @@ + section and everything up till
      + * + * @package WordPress + * @subpackage Twenty_Eleven + * @since Twenty Eleven 1.0 + */ +?> + + + + +> + + + + +<?php + /* + * Print the <title> tag based on what is being viewed. + */ + global $page, $paged; + + wp_title( '|', true, 'right' ); + + // Add the blog name. + bloginfo( 'name' ); + + // Add the blog description for the home/front page. + $site_description = get_bloginfo( 'description', 'display' ); + if ( $site_description && ( is_home() || is_front_page() ) ) + echo " | $site_description"; + + // Add a page number if necessary: + if ( $paged >= 2 || $page >= 2 ) + echo ' | ' . sprintf( __( 'Page %s', 'twentyeleven' ), max( $paged, $page ) ); + + ?> + + + + + + * tag of your theme, or you will break many plugins, which + * generally use this hook to add elements to such + * as styles, scripts, and meta tags. + */ + wp_head(); +?> + + +> +
      + + + +
      \ No newline at end of file diff --git a/src/wp-content/themes/twentyeleven/image.php b/src/wp-content/themes/twentyeleven/image.php new file mode 100644 index 0000000..c6c8544 --- /dev/null +++ b/src/wp-content/themes/twentyeleven/image.php @@ -0,0 +1,101 @@ + + +
      +
      + + + + + +
      > +
      +

      + + + +
      + +
      + +
      +
      + $post->post_parent, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => 'ASC', 'orderby' => 'menu_order ID' ) ) ); + foreach ( $attachments as $k => $attachment ) { + if ( $attachment->ID == $post->ID ) + break; + } + $k++; + // If there is more than 1 attachment in a gallery + if ( count( $attachments ) > 1 ) { + if ( isset( $attachments[ $k ] ) ) + // get the URL of the next image attachment + $next_attachment_url = get_attachment_link( $attachments[ $k ]->ID ); + else + // or get the URL of the first image attachment + $next_attachment_url = get_attachment_link( $attachments[ 0 ]->ID ); + } else { + // or, if there's only 1 image, get the URL of the image + $next_attachment_url = wp_get_attachment_url(); + } +?> + ID, array( $attachment_size, 1024 ) ); // filterable image width with 1024px limit for image height. + ?> + + post_excerpt ) ) : ?> +
      + +
      + +
      + +
      + +
      + + '' ) ); ?> +
      + +
      + +
      + + + +
      +
      + + \ No newline at end of file diff --git a/src/wp-content/themes/twentyeleven/images/comment-arrow-bypostauthor-dark-rtl.png b/src/wp-content/themes/twentyeleven/images/comment-arrow-bypostauthor-dark-rtl.png new file mode 100644 index 0000000..46dac85 Binary files /dev/null and b/src/wp-content/themes/twentyeleven/images/comment-arrow-bypostauthor-dark-rtl.png differ diff --git a/src/wp-content/themes/twentyeleven/images/comment-arrow-bypostauthor-dark.png b/src/wp-content/themes/twentyeleven/images/comment-arrow-bypostauthor-dark.png new file mode 100644 index 0000000..e32e285 Binary files /dev/null and b/src/wp-content/themes/twentyeleven/images/comment-arrow-bypostauthor-dark.png differ diff --git a/src/wp-content/themes/twentyeleven/images/comment-arrow-bypostauthor-rtl.png b/src/wp-content/themes/twentyeleven/images/comment-arrow-bypostauthor-rtl.png new file mode 100644 index 0000000..9ae83f0 Binary files /dev/null and b/src/wp-content/themes/twentyeleven/images/comment-arrow-bypostauthor-rtl.png differ diff --git a/src/wp-content/themes/twentyeleven/images/comment-arrow-bypostauthor.png b/src/wp-content/themes/twentyeleven/images/comment-arrow-bypostauthor.png new file mode 100644 index 0000000..bf9d3d9 Binary files /dev/null and b/src/wp-content/themes/twentyeleven/images/comment-arrow-bypostauthor.png differ diff --git a/src/wp-content/themes/twentyeleven/images/comment-arrow-dark-rtl.png b/src/wp-content/themes/twentyeleven/images/comment-arrow-dark-rtl.png new file mode 100644 index 0000000..3644fdd Binary files /dev/null and b/src/wp-content/themes/twentyeleven/images/comment-arrow-dark-rtl.png differ diff --git a/src/wp-content/themes/twentyeleven/images/comment-arrow-dark.png b/src/wp-content/themes/twentyeleven/images/comment-arrow-dark.png new file mode 100644 index 0000000..f9b624b Binary files /dev/null and b/src/wp-content/themes/twentyeleven/images/comment-arrow-dark.png differ diff --git a/src/wp-content/themes/twentyeleven/images/comment-arrow-rtl.png b/src/wp-content/themes/twentyeleven/images/comment-arrow-rtl.png new file mode 100644 index 0000000..e3fb1fd Binary files /dev/null and b/src/wp-content/themes/twentyeleven/images/comment-arrow-rtl.png differ diff --git a/src/wp-content/themes/twentyeleven/images/comment-arrow.png b/src/wp-content/themes/twentyeleven/images/comment-arrow.png new file mode 100644 index 0000000..60a6d5d Binary files /dev/null and b/src/wp-content/themes/twentyeleven/images/comment-arrow.png differ diff --git a/src/wp-content/themes/twentyeleven/images/comment-bubble-dark-rtl.png b/src/wp-content/themes/twentyeleven/images/comment-bubble-dark-rtl.png new file mode 100644 index 0000000..3a43135 Binary files /dev/null and b/src/wp-content/themes/twentyeleven/images/comment-bubble-dark-rtl.png differ diff --git a/src/wp-content/themes/twentyeleven/images/comment-bubble-dark.png b/src/wp-content/themes/twentyeleven/images/comment-bubble-dark.png new file mode 100644 index 0000000..6bf8797 Binary files /dev/null and b/src/wp-content/themes/twentyeleven/images/comment-bubble-dark.png differ diff --git a/src/wp-content/themes/twentyeleven/images/comment-bubble-rtl.png b/src/wp-content/themes/twentyeleven/images/comment-bubble-rtl.png new file mode 100644 index 0000000..bdfde17 Binary files /dev/null and b/src/wp-content/themes/twentyeleven/images/comment-bubble-rtl.png differ diff --git a/src/wp-content/themes/twentyeleven/images/comment-bubble.png b/src/wp-content/themes/twentyeleven/images/comment-bubble.png new file mode 100644 index 0000000..1901194 Binary files /dev/null and b/src/wp-content/themes/twentyeleven/images/comment-bubble.png differ diff --git a/src/wp-content/themes/twentyeleven/images/headers/chessboard-thumbnail.jpg b/src/wp-content/themes/twentyeleven/images/headers/chessboard-thumbnail.jpg new file mode 100644 index 0000000..e8c84d3 Binary files /dev/null and b/src/wp-content/themes/twentyeleven/images/headers/chessboard-thumbnail.jpg differ diff --git a/src/wp-content/themes/twentyeleven/images/headers/chessboard.jpg b/src/wp-content/themes/twentyeleven/images/headers/chessboard.jpg new file mode 100644 index 0000000..4fd9377 Binary files /dev/null and b/src/wp-content/themes/twentyeleven/images/headers/chessboard.jpg differ diff --git a/src/wp-content/themes/twentyeleven/images/headers/hanoi-thumbnail.jpg b/src/wp-content/themes/twentyeleven/images/headers/hanoi-thumbnail.jpg new file mode 100644 index 0000000..9fc963f Binary files /dev/null and b/src/wp-content/themes/twentyeleven/images/headers/hanoi-thumbnail.jpg differ diff --git a/src/wp-content/themes/twentyeleven/images/headers/hanoi.jpg b/src/wp-content/themes/twentyeleven/images/headers/hanoi.jpg new file mode 100644 index 0000000..37d73f1 Binary files /dev/null and b/src/wp-content/themes/twentyeleven/images/headers/hanoi.jpg differ diff --git a/src/wp-content/themes/twentyeleven/images/headers/lanterns-thumbnail.jpg b/src/wp-content/themes/twentyeleven/images/headers/lanterns-thumbnail.jpg new file mode 100644 index 0000000..1713f37 Binary files /dev/null and b/src/wp-content/themes/twentyeleven/images/headers/lanterns-thumbnail.jpg differ diff --git a/src/wp-content/themes/twentyeleven/images/headers/lanterns.jpg b/src/wp-content/themes/twentyeleven/images/headers/lanterns.jpg new file mode 100644 index 0000000..3a25db4 Binary files /dev/null and b/src/wp-content/themes/twentyeleven/images/headers/lanterns.jpg differ diff --git a/src/wp-content/themes/twentyeleven/images/headers/pine-cone-thumbnail.jpg b/src/wp-content/themes/twentyeleven/images/headers/pine-cone-thumbnail.jpg new file mode 100644 index 0000000..248fe00 Binary files /dev/null and b/src/wp-content/themes/twentyeleven/images/headers/pine-cone-thumbnail.jpg differ diff --git a/src/wp-content/themes/twentyeleven/images/headers/pine-cone.jpg b/src/wp-content/themes/twentyeleven/images/headers/pine-cone.jpg new file mode 100644 index 0000000..b70bf7c Binary files /dev/null and b/src/wp-content/themes/twentyeleven/images/headers/pine-cone.jpg differ diff --git a/src/wp-content/themes/twentyeleven/images/headers/shore-thumbnail.jpg b/src/wp-content/themes/twentyeleven/images/headers/shore-thumbnail.jpg new file mode 100644 index 0000000..5e5e740 Binary files /dev/null and b/src/wp-content/themes/twentyeleven/images/headers/shore-thumbnail.jpg differ diff --git a/src/wp-content/themes/twentyeleven/images/headers/shore.jpg b/src/wp-content/themes/twentyeleven/images/headers/shore.jpg new file mode 100644 index 0000000..2375630 Binary files /dev/null and b/src/wp-content/themes/twentyeleven/images/headers/shore.jpg differ diff --git a/src/wp-content/themes/twentyeleven/images/headers/trolley-thumbnail.jpg b/src/wp-content/themes/twentyeleven/images/headers/trolley-thumbnail.jpg new file mode 100644 index 0000000..d2ee200 Binary files /dev/null and b/src/wp-content/themes/twentyeleven/images/headers/trolley-thumbnail.jpg differ diff --git a/src/wp-content/themes/twentyeleven/images/headers/trolley.jpg b/src/wp-content/themes/twentyeleven/images/headers/trolley.jpg new file mode 100644 index 0000000..61c8956 Binary files /dev/null and b/src/wp-content/themes/twentyeleven/images/headers/trolley.jpg differ diff --git a/src/wp-content/themes/twentyeleven/images/headers/wheel-thumbnail.jpg b/src/wp-content/themes/twentyeleven/images/headers/wheel-thumbnail.jpg new file mode 100644 index 0000000..d7fa971 Binary files /dev/null and b/src/wp-content/themes/twentyeleven/images/headers/wheel-thumbnail.jpg differ diff --git a/src/wp-content/themes/twentyeleven/images/headers/wheel.jpg b/src/wp-content/themes/twentyeleven/images/headers/wheel.jpg new file mode 100644 index 0000000..a6155ff Binary files /dev/null and b/src/wp-content/themes/twentyeleven/images/headers/wheel.jpg differ diff --git a/src/wp-content/themes/twentyeleven/images/headers/willow-thumbnail.jpg b/src/wp-content/themes/twentyeleven/images/headers/willow-thumbnail.jpg new file mode 100644 index 0000000..240fff8 Binary files /dev/null and b/src/wp-content/themes/twentyeleven/images/headers/willow-thumbnail.jpg differ diff --git a/src/wp-content/themes/twentyeleven/images/headers/willow.jpg b/src/wp-content/themes/twentyeleven/images/headers/willow.jpg new file mode 100644 index 0000000..61bd538 Binary files /dev/null and b/src/wp-content/themes/twentyeleven/images/headers/willow.jpg differ diff --git a/src/wp-content/themes/twentyeleven/images/search.png b/src/wp-content/themes/twentyeleven/images/search.png new file mode 100644 index 0000000..1f9d828 Binary files /dev/null and b/src/wp-content/themes/twentyeleven/images/search.png differ diff --git a/src/wp-content/themes/twentyeleven/images/wordpress.png b/src/wp-content/themes/twentyeleven/images/wordpress.png new file mode 100644 index 0000000..4a15056 Binary files /dev/null and b/src/wp-content/themes/twentyeleven/images/wordpress.png differ diff --git a/src/wp-content/themes/twentyeleven/inc/images/content-sidebar.png b/src/wp-content/themes/twentyeleven/inc/images/content-sidebar.png new file mode 100644 index 0000000..f4d4794 Binary files /dev/null and b/src/wp-content/themes/twentyeleven/inc/images/content-sidebar.png differ diff --git a/src/wp-content/themes/twentyeleven/inc/images/content.png b/src/wp-content/themes/twentyeleven/inc/images/content.png new file mode 100644 index 0000000..6cf1da4 Binary files /dev/null and b/src/wp-content/themes/twentyeleven/inc/images/content.png differ diff --git a/src/wp-content/themes/twentyeleven/inc/images/dark.png b/src/wp-content/themes/twentyeleven/inc/images/dark.png new file mode 100644 index 0000000..55eda66 Binary files /dev/null and b/src/wp-content/themes/twentyeleven/inc/images/dark.png differ diff --git a/src/wp-content/themes/twentyeleven/inc/images/light.png b/src/wp-content/themes/twentyeleven/inc/images/light.png new file mode 100644 index 0000000..51b1b7a Binary files /dev/null and b/src/wp-content/themes/twentyeleven/inc/images/light.png differ diff --git a/src/wp-content/themes/twentyeleven/inc/images/sidebar-content.png b/src/wp-content/themes/twentyeleven/inc/images/sidebar-content.png new file mode 100644 index 0000000..de52023 Binary files /dev/null and b/src/wp-content/themes/twentyeleven/inc/images/sidebar-content.png differ diff --git a/src/wp-content/themes/twentyeleven/inc/theme-options.css b/src/wp-content/themes/twentyeleven/inc/theme-options.css new file mode 100644 index 0000000..464ab8c --- /dev/null +++ b/src/wp-content/themes/twentyeleven/inc/theme-options.css @@ -0,0 +1,35 @@ +#wpcontent select option { + padding-right: 5px; +} +.image-radio-option td { + padding-top: 15px; +} +.image-radio-option label { + display: block; + float: left; + margin: 0 30px 20px 2px; + position: relative; +} +.image-radio-option input { + margin: 0 0 10px; +} +.image-radio-option span { + display: block; + width: 136px; +} +.image-radio-option img { + margin: 0 0 0 -2px; +} +#link-color-example { + -moz-border-radius: 4px; + -webkit-border-radius: 4px; + border-radius: 4px; + border: 1px solid #dfdfdf; + margin: 0 7px 0 3px; + padding: 4px 14px; +} + +body.rtl .image-radio-option label { + float: right; + margin: 0 2px 20px 30px; +} diff --git a/src/wp-content/themes/twentyeleven/inc/theme-options.js b/src/wp-content/themes/twentyeleven/inc/theme-options.js new file mode 100644 index 0000000..4cfaec1 --- /dev/null +++ b/src/wp-content/themes/twentyeleven/inc/theme-options.js @@ -0,0 +1,52 @@ +var farbtastic; + +(function($){ + var pickColor = function(a) { + farbtastic.setColor(a); + $('#link-color').val(a); + $('#link-color-example').css('background-color', a); + }; + + $(document).ready( function() { + $('#default-color').wrapInner(''); + + farbtastic = $.farbtastic('#colorPickerDiv', pickColor); + + pickColor( $('#link-color').val() ); + + $('.pickcolor').click( function(e) { + $('#colorPickerDiv').show(); + e.preventDefault(); + }); + + $('#link-color').keyup( function() { + var a = $('#link-color').val(), + b = a; + + a = a.replace(/[^a-fA-F0-9]/, ''); + if ( '#' + a !== b ) + $('#link-color').val(a); + if ( a.length === 3 || a.length === 6 ) + pickColor( '#' + a ); + }); + + $(document).mousedown( function() { + $('#colorPickerDiv').hide(); + }); + + $('#default-color a').click( function(e) { + pickColor( '#' + this.innerHTML.replace(/[^a-fA-F0-9]/, '') ); + e.preventDefault(); + }); + + $('.image-radio-option.color-scheme input:radio').change( function() { + var currentDefault = $('#default-color a'), + newDefault = $(this).next().val(); + + if ( $('#link-color').val() == currentDefault.text() ) + pickColor( newDefault ); + + currentDefault.text( newDefault ); + }); + }); +})(jQuery); \ No newline at end of file diff --git a/src/wp-content/themes/twentyeleven/inc/theme-options.php b/src/wp-content/themes/twentyeleven/inc/theme-options.php new file mode 100644 index 0000000..a2460b9 --- /dev/null +++ b/src/wp-content/themes/twentyeleven/inc/theme-options.php @@ -0,0 +1,408 @@ +' . __( 'Some themes provide customization options that are grouped together on a Theme Options screen. If you change themes, options may change or disappear, as they are theme-specific. Your current theme, Twenty Eleven, provides the following Theme Options:', 'twentyeleven' ) . '

      ' . + '
        ' . + '
      1. ' . __( 'Color Scheme: You can choose a color palette of "Light" (light background with dark text) or "Dark" (dark background with light text) for your site.', 'twentyeleven' ) . '
      2. ' . + '
      3. ' . __( 'Link Color: You can choose the color used for text links on your site. You can enter the HTML color or hex code, or you can choose visually by clicking the "Select a Color" button to pick from a color wheel.', 'twentyeleven' ) . '
      4. ' . + '
      5. ' . __( 'Default Layout: You can choose if you want your site’s default layout to have a sidebar on the left, the right, or not at all.', 'twentyeleven' ) . '
      6. ' . + '
      ' . + '

      ' . __( 'Remember to click "Save Changes" to save any changes you have made to the theme options.', 'twentyeleven' ) . '

      ' . + '

      ' . __( 'For more information:', 'twentyeleven' ) . '

      ' . + '

      ' . __( 'Documentation on Theme Options', 'twentyeleven' ) . '

      ' . + '

      ' . __( 'Support Forums', 'twentyeleven' ) . '

      '; + + add_contextual_help( $theme_page, $help ); +} +add_action( 'admin_menu', 'twentyeleven_theme_options_add_page' ); + +/** + * Returns an array of color schemes registered for Twenty Eleven. + * + * @since Twenty Eleven 1.0 + */ +function twentyeleven_color_schemes() { + $color_scheme_options = array( + 'light' => array( + 'value' => 'light', + 'label' => __( 'Light', 'twentyeleven' ), + 'thumbnail' => get_template_directory_uri() . '/inc/images/light.png', + 'default_link_color' => '#1b8be0', + ), + 'dark' => array( + 'value' => 'dark', + 'label' => __( 'Dark', 'twentyeleven' ), + 'thumbnail' => get_template_directory_uri() . '/inc/images/dark.png', + 'default_link_color' => '#e4741f', + ), + ); + + return apply_filters( 'twentyeleven_color_schemes', $color_scheme_options ); +} + +/** + * Returns an array of layout options registered for Twenty Eleven. + * + * @since Twenty Eleven 1.0 + */ +function twentyeleven_layouts() { + $layout_options = array( + 'content-sidebar' => array( + 'value' => 'content-sidebar', + 'label' => __( 'Content on left', 'twentyeleven' ), + 'thumbnail' => get_template_directory_uri() . '/inc/images/content-sidebar.png', + ), + 'sidebar-content' => array( + 'value' => 'sidebar-content', + 'label' => __( 'Content on right', 'twentyeleven' ), + 'thumbnail' => get_template_directory_uri() . '/inc/images/sidebar-content.png', + ), + 'content' => array( + 'value' => 'content', + 'label' => __( 'One-column, no sidebar', 'twentyeleven' ), + 'thumbnail' => get_template_directory_uri() . '/inc/images/content.png', + ), + ); + + return apply_filters( 'twentyeleven_layouts', $layout_options ); +} + +/** + * Returns the default options for Twenty Eleven. + * + * @since Twenty Eleven 1.0 + */ +function twentyeleven_get_default_theme_options() { + $default_theme_options = array( + 'color_scheme' => 'light', + 'link_color' => twentyeleven_get_default_link_color( 'light' ), + 'theme_layout' => 'content-sidebar', + ); + + if ( is_rtl() ) + $default_theme_options['theme_layout'] = 'sidebar-content'; + + return apply_filters( 'twentyeleven_default_theme_options', $default_theme_options ); +} + +/** + * Returns the default link color for Twenty Eleven, based on color scheme. + * + * @since Twenty Eleven 1.0 + * + * @param $string $color_scheme Color scheme. Defaults to the active color scheme. + * @return $string Color. +*/ +function twentyeleven_get_default_link_color( $color_scheme = null ) { + if ( null === $color_scheme ) { + $options = twentyeleven_get_theme_options(); + $color_scheme = $options['color_scheme']; + } + + $color_schemes = twentyeleven_color_schemes(); + if ( ! isset( $color_schemes[ $color_scheme ] ) ) + return false; + + return $color_schemes[ $color_scheme ]['default_link_color']; +} + +/** + * Returns the options array for Twenty Eleven. + * + * @since Twenty Eleven 1.0 + */ +function twentyeleven_get_theme_options() { + return get_option( 'twentyeleven_theme_options', twentyeleven_get_default_theme_options() ); +} + +/** + * Returns the options array for Twenty Eleven. + * + * @since Twenty Eleven 1.0 + */ +function theme_options_render_page() { + ?> +
      + +

      + + +
      + + + + + + + + + + + + + + + +
      +
      + +
      + +
      + +
      +
      +
      + + + + +
      + ' . twentyeleven_get_default_link_color( $options['color_scheme'] ) . '' ); ?> +
      +
      +
      + +
      + +
      + +
      +
      + + +
      +
      + + + 'widget_twentyeleven_ephemera', 'description' => __( 'Use this widget to list your recent Aside, Status, Quote, and Link posts', 'twentyeleven' ) ); + $this->WP_Widget( 'widget_twentyeleven_ephemera', __( 'Twenty Eleven Ephemera', 'twentyeleven' ), $widget_ops ); + $this->alt_option_name = 'widget_twentyeleven_ephemera'; + + add_action( 'save_post', array(&$this, 'flush_widget_cache' ) ); + add_action( 'deleted_post', array(&$this, 'flush_widget_cache' ) ); + add_action( 'switch_theme', array(&$this, 'flush_widget_cache' ) ); + } + + /** + * Outputs the HTML for this widget. + * + * @param array An array of standard parameters for widgets in this theme + * @param array An array of settings for this widget instance + * @return void Echoes it's output + **/ + function widget( $args, $instance ) { + $cache = wp_cache_get( 'widget_twentyeleven_ephemera', 'widget' ); + + if ( !is_array( $cache ) ) + $cache = array(); + + if ( ! isset( $args['widget_id'] ) ) + $args['widget_id'] = null; + + if ( isset( $cache[$args['widget_id']] ) ) { + echo $cache[$args['widget_id']]; + return; + } + + ob_start(); + extract( $args, EXTR_SKIP ); + + $title = apply_filters( 'widget_title', empty( $instance['title'] ) ? __( 'Ephemera', 'twentyeleven' ) : $instance['title'], $instance, $this->id_base); + + if ( ! isset( $instance['number'] ) ) + $instance['number'] = '10'; + + if ( ! $number = absint( $instance['number'] ) ) + $number = 10; + + $ephemera_args = array( + 'order' => 'DESC', + 'posts_per_page' => $number, + 'no_found_rows' => true, + 'post_status' => 'publish', + 'post__not_in' => get_option( 'sticky_posts' ), + 'tax_query' => array( + array( + 'taxonomy' => 'post_format', + 'terms' => array( 'post-format-aside', 'post-format-link', 'post-format-status', 'post-format-quote' ), + 'field' => 'slug', + 'operator' => 'IN', + ), + ), + ); + $ephemera = new WP_Query( $ephemera_args ); + + if ( $ephemera->have_posts() ) : + + echo $before_widget; + echo $before_title; + echo $title; // Can set this with a widget option, or omit altogether + echo $after_title; + + ?> +
        + have_posts() ) : $ephemera->the_post(); ?> + + + +
      1. + + + comments →', 'twentyeleven' ), __( '1 comment →', 'twentyeleven' ), __( '% comments →', 'twentyeleven' ) ); ?> + +
      2. + + + +
      3. + +   + + comments →', 'twentyeleven' ), __( '1 comment →', 'twentyeleven' ), __( '% comments →', 'twentyeleven' ) ); ?> + +
      4. + + + + +
      + flush_widget_cache(); + + $alloptions = wp_cache_get( 'alloptions', 'options' ); + if ( isset( $alloptions['widget_twentyeleven_ephemera'] ) ) + delete_option( 'widget_twentyeleven_ephemera' ); + + return $instance; + } + + function flush_widget_cache() { + wp_cache_delete( 'widget_twentyeleven_ephemera', 'widget' ); + } + + /** + * Displays the form for this widget on the Widgets page of the WP Admin area. + **/ + function form( $instance ) { + $title = isset( $instance['title']) ? esc_attr( $instance['title'] ) : ''; + $number = isset( $instance['number'] ) ? absint( $instance['number'] ) : 10; +?> +

      +

      + +

      +

      + + +
      +
      + + + + + + + + + + + + + + + + +
      +
      +

      +
      + +
      +

      + +
      +
      + + + +
      +
      + + + \ No newline at end of file diff --git a/src/wp-content/themes/twentyeleven/js/html5.js b/src/wp-content/themes/twentyeleven/js/html5.js new file mode 100644 index 0000000..6dd03a4 --- /dev/null +++ b/src/wp-content/themes/twentyeleven/js/html5.js @@ -0,0 +1,3 @@ +// html5shiv MIT @rem remysharp.com/html5-enabling-script +// iepp v1.6.2 MIT @jon_neal iecss.com/print-protector +/*@cc_on(function(a,b){function r(a){var b=-1;while(++b";return a.childNodes.length!==1}())){a.iepp=a.iepp||{};var c=a.iepp,d=c.html5elements||"abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",e=d.split("|"),f=e.length,g=new RegExp("(^|\\s)("+d+")","gi"),h=new RegExp("<(/*)("+d+")","gi"),i=/^\s*[\{\}]\s*$/,j=new RegExp("(^|[^\\n]*?\\s)("+d+")([^\\n]*)({[\\n\\w\\W]*?})","gi"),k=b.createDocumentFragment(),l=b.documentElement,m=l.firstChild,n=b.createElement("body"),o=b.createElement("style"),p=/print|all/,q;c.getCSS=function(a,b){if(a+""===undefined)return"";var d=-1,e=a.length,f,g=[];while(++d%5$s. Bookmark the permalink." +msgstr "Esta entrada fue publicada por %5$s. Guarda el enlace permanente." + +#: functions.php:544 +msgid "Reply " +msgstr "Responder " + +#: single.php:20 +msgid "Next " +msgstr "Siguiente " + +#: single.php:19 +msgid " Previous" +msgstr " Anterior" + +#: content-image.php:64 +msgid "1 Reply" +msgstr "1 Respuesta" + +#: content-quote.php:24 content.php:30 content-image.php:21 +#: content-aside.php:22 content-status.php:21 content-link.php:22 +msgctxt "comments number" +msgid "%" +msgstr "%" + +#: content-quote.php:24 content.php:30 content-image.php:21 +#: content-aside.php:22 content-status.php:21 content-link.php:22 +msgctxt "comments number" +msgid "1" +msgstr "1" + +#: content-gallery.php:87 +msgid "Leave a Reply" +msgstr "Deja una respuesta" + +#: content-quote.php:24 content.php:30 content-image.php:21 +#: content-image.php:64 content-aside.php:22 content-status.php:21 +#: content-link.php:22 +msgid "Reply" +msgstr "Responder" + +#: content-image.php:64 +msgid "% Replies" +msgstr "% Respuestas" + +#: image.php:18 +msgid "Image navigation" +msgstr "Navegador de imágenes" + +#: functions.php:526 +msgid "%1$s at %2$s" +msgstr "%1$s en %2$s" + +#: functions.php:520 +msgid "%1$s on %2$s said:" +msgstr "%1$s en %2$s dijo:" + +#: index.php:41 category.php:54 tag.php:54 author.php:78 archive.php:61 +msgid "Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post." +msgstr "Disculpa, pero no se han encontrado resultados para el archivo solicitado. Tal vez una nueva búsqueda ayudará a encontrar una entrada relacionada." + +#: content-image.php:34 +msgid " by %6$s" +msgstr " por %6$s" + +#: functions.php:562 +msgid "Posted on by %7$s" +msgstr "Publicado el por %7$s" + +#: inc/theme-options.php:261 +msgid "Default Layout" +msgstr "Diseño por defecto" + +#: inc/theme-options.php:98 +msgid "Documentation on Theme Options" +msgstr "Documentación de Opciones del Tema" + +#: inc/theme-options.php:99 +msgid "Support Forums" +msgstr "Foros de soporte" + +#: inc/theme-options.php:97 +msgid "For more information:" +msgstr "Para más información:" + +#: inc/theme-options.php:96 +msgid "Remember to click \"Save Changes\" to save any changes you have made to the theme options." +msgstr "Recuerde hacer clic en \"Guardar cambios\" para guardar los cambios realizados a las opciones del tema." + +#: header.php:115 +msgid "Skip to primary content" +msgstr "Ir al contenido principal" + +#: header.php:116 +msgid "Skip to secondary content" +msgstr "Ir al contenido secundario" + +#: inc/theme-options.php:148 +msgid "One-column, no sidebar" +msgstr "Una columna, sin barra lateral" + +#: inc/theme-options.php:90 +msgid "Some themes provide customization options that are grouped together on a Theme Options screen. If you change themes, options may change or disappear, as they are theme-specific. Your current theme, Twenty Eleven, provides the following Theme Options:" +msgstr "Algunos temas ofrecen opciones de personalización que se agrupan en una pantalla de Opciones del tema. Si cambias los temas, las opciones pueden cambiar o desaparecer, ya que pertenecen a un tema específico. El tema actual, Twenty Eleven, ofrece las siguientes opciones:" + +#: inc/theme-options.php:92 +msgid "Color Scheme: You can choose a color palette of \"Light\" (light background with dark text) or \"Dark\" (dark background with light text) for your site." +msgstr "Combinación de colores: Puedes elegir una paleta de colores para \"Light\" (fondo blanco y texto oscuro) o \"Dark\" (fondo oscuro y texto claro) para su sitio." + +#: inc/theme-options.php:93 +msgid "Link Color: You can choose the color used for text links on your site. You can enter the HTML color or hex code, or you can choose visually by clicking the \"Select a Color\" button to pick from a color wheel." +msgstr "Color de enlace: Puedes elegir el color que se utiliza para los enlaces en el texto de su sitio. Puedes introducir el código de color HTML en hexadecimal, o puedes elegirlo visualmente haciendo clic en \"Seleccionar un color\" para elegir de la rueda de color." + +#: inc/theme-options.php:94 +msgid "Default Layout: You can choose if you want your site’s default layout to have a sidebar on the left, the right, or not at all." +msgstr "Diseño por defecto: Puedes elegir si deseas que el diseño de tu sitio web por defecto tenga una barra lateral a la izquierda, a la derecha, o que no tenga barra lateral." + +#: content-quote.php:44 content-quote.php:54 content.php:51 content.php:61 +#: content-image.php:47 content-image.php:56 content-single.php:30 +#: content-single.php:33 content-gallery.php:62 content-gallery.php:72 +#: content-featured.php:29 content-featured.php:38 +msgid ", " +msgstr ", " + +#: content-quote.php:48 content.php:55 content-image.php:51 +#: content-gallery.php:66 +msgid "Posted in %2$s" +msgstr "Publicado en %2$s" + +#: content-quote.php:60 content.php:67 content-image.php:59 +#: content-gallery.php:78 +msgid "Tagged %2$s" +msgstr "Etiquetado %2$s" + +#: footer.php:26 +msgid "Semantic Personal Publishing Platform" +msgstr "Plataforma semántica de publicación personal" + +#: footer.php:26 +msgid "Proudly powered by %s" +msgstr "Funciona con %s" + +#: content-status.php:16 +msgid "Status" +msgstr "Estado" + +#: content-quote.php:15 +msgid "Quote" +msgstr "Cita" + +#: content-gallery.php:17 +msgid "Gallery" +msgstr "Galería" + +#: content-link.php:17 +msgid "Link" +msgstr "Enlace" + +#: content-image.php:16 +msgid "Image" +msgstr "Imagen" + +#: content-aside.php:17 +msgid "Aside" +msgstr "Minientrada" + +msgid "The 2011 theme for WordPress is sophisticated, lightweight, and adaptable. Make it yours with a custom menu, header image, and background -- then go further with available theme options for light or dark color scheme, custom link colors, and three layout choices. Twenty Eleven comes equipped with a Showcase page template that transforms your front page into a showcase to show off your best content, widget support galore (sidebar, three footer areas, and a Showcase page widget area), and a custom \"Ephemera\" widget to display your Aside, Link, Quote, or Status posts. Included are styles for print and for the admin editor, support for featured images (as custom header images on posts and pages and as large images on featured \"sticky\" posts), and special styles for six different post formats." +msgstr "El tema de 2011 para WordPress es sofisticado, ligero y adaptable. Hazlo tuyo con un menú personalizado, imagen de cabecera, y el fondo – y puedes modificarlo con las opciones disponibles para el tema como colores claros u oscuros, colores personalizados para enlaces, y tres opciones de diseño. Twenty Eleven viene equipado con una plantilla para hacer de tu primera página en un escaparate y mostrar ty mejor contenido, soporte para muchos widgets (barra lateral, tres zonas de pie de página, y un área para la plantilla escaparate), y un widget, \"Ephemera\", para mostrar Minientradas, Enlaces, Citas o mensajes de estado. Se incluyen estilos para impresión y para el editor, soporte para imágenes destacadas (como imágenes de cabecera personalizada en blogs y páginas e imágenes de gran tamaño para mensajes \"fijos\"), y estilos especiales para seis formatos diferentes entradas." + +#: content.php:16 +msgid "Featured" +msgstr "Destacado" + +msgid "dark, light, white, black, gray, one-column, two-columns, left-sidebar, right-sidebar, fixed-width, flexible-width, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready" +msgstr "dark, light, white, black, gray, one-column, two-columns, left-sidebar, right-sidebar, fixed-width, flexible-width, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready" + +#: archive.php:25 +msgid "Daily Archives: %s" +msgstr "Archivos diarios: %s" + +#: inc/theme-options.php:248 inc/theme-options.php:250 +msgid "Link Color" +msgstr "Color de los enlaces" + +#: archive.php:27 +msgid "Monthly Archives: %s" +msgstr "Archivos Mensuales: %s" + +#: inc/widgets.php:19 +msgid "Use this widget to list your recent Aside, Status, Quote, and Link posts" +msgstr "Utiliza este widget para listar tus Minientradas, Estados, Citas y Enlaces recientes" + +#: inc/theme-options.php:253 +msgid "Select a Color" +msgstr "Selecciona un color" + +#: inc/theme-options.php:256 +msgid "Default color: %s" +msgstr "Color por defecto: %s" + +#: archive.php:29 +msgid "Yearly Archives: %s" +msgstr "Archivo Anual: %s" + +#: functions.php:191 +msgid "Hanoi Plant" +msgstr "Planta Hanoi" + +#: inc/theme-options.php:143 +msgid "Content on right" +msgstr "Contenido a la derecha" + +#: inc/theme-options.php:138 +msgid "Content on left" +msgstr "Contenido a la izquierda" + +#: inc/theme-options.php:120 +msgid "Dark" +msgstr "Oscuro" + +#: inc/theme-options.php:114 +msgid "Light" +msgstr "Claro" + +#: inc/theme-options.php:213 +msgid "%s Theme Options" +msgstr "Opciones del tema %s" + +#: inc/theme-options.php:80 inc/theme-options.php:81 +msgid "Theme Options" +msgstr "Opciones del tema" + +#: inc/theme-options.php:225 inc/theme-options.php:227 +#: inc/theme-options.php:263 +msgid "Color Scheme" +msgstr "Combinación de colores" + +#: functions.php:179 +msgid "Lanterns" +msgstr "Linternas" + +#: functions.php:185 +msgid "Willow" +msgstr "Sauce" + +#: functions.php:173 +msgid "Chessboard" +msgstr "Tablero de ajedrez" + +#: functions.php:167 +msgid "Pine Cone" +msgstr "Pino" + +#: functions.php:149 +msgid "Wheel" +msgstr "Rueda" + +#: showcase.php:143 +msgid "Featuring: %s" +msgstr "Destacando: %s" + +#: functions.php:155 +msgid "Shore" +msgstr "Tierra" + +#: functions.php:161 +msgid "Trolley" +msgstr "Carretilla" + +#: inc/widgets.php:93 inc/widgets.php:109 +msgid "1 comment →" +msgstr "1 comentario →" + +#: content-single.php:60 author.php:49 +msgid "About %s" +msgstr "Acerca de %s" + +#: inc/widgets.php:93 inc/widgets.php:109 +msgid "0 comments →" +msgstr "0 comentarios →" + +#: inc/widgets.php:52 +msgid "Ephemera" +msgstr "Ephemera" + +#: footer.php:26 +msgid "http://wordpress.org/" +msgstr "http://es.wordpress.org/" + +msgid "the WordPress team" +msgstr "el equipo de WordPress" + +#: comments.php:42 comments.php:62 +msgid "Newer Comments →" +msgstr "Comentarios recientes →" + +#: comments.php:41 comments.php:61 +msgid "← Older Comments" +msgstr "← Comentarios antiguos" + +#: comments.php:17 +msgid "This post is password protected. Enter the password to view any comments." +msgstr "Esta entrada está protegida. Introduce la contraseña para ver los comentarios." + +#: comments.php:72 +msgid "Comments are closed." +msgstr "Los comentarios están cerrados." + +#: content-quote.php:14 showcase.php:113 showcase.php:192 content.php:15 +#: content.php:19 content-image.php:15 content-gallery.php:16 +#: content-gallery.php:48 content-aside.php:16 content-status.php:15 +#: inc/widgets.php:91 content-link.php:16 content-featured.php:14 +msgid "Permalink to %s" +msgstr "Enlace permanente a %s" + +#: inc/widgets.php:107 +msgid "Link to %s" +msgstr "Enlace a %s" + +#: inc/widgets.php:159 +msgid "Title:" +msgstr "Título:" + +#: archive.php:31 +msgid "Blog Archives" +msgstr "Archivo del sitio" + +#: 404.php:17 +msgid "This is somewhat embarrassing, isn’t it?" +msgstr "Esto es algo embarazoso, ¿verdad?" + +#: category.php:19 +msgid "Category Archives: %s" +msgstr "Archivo de la categoría: %s" + +#: comments.php:40 comments.php:60 +msgid "Comment navigation" +msgstr "Navegación de comentarios" + +#: comments.php:33 +msgid "One thought on “%2$s”" +msgid_plural "%1$s thoughts on “%2$s”" +msgstr[0] "Un pensamiento en “%2$s”" +msgstr[1] "%1$s pensamientos en “%2$s”" + +#: search.php:46 +msgid "Sorry, but nothing matched your search criteria. Please try again with some different keywords." +msgstr "Lo sentimos, pero nada coincide con tus búsqueda. Por favor, prueba de nuevo con diferentes palabras clave." + +#: inc/widgets.php:20 +msgid "Twenty Eleven Ephemera" +msgstr "Twenty Eleven Ephemera" + +#: tag.php:19 +msgid "Tag Archives: %s" +msgstr "Archivo de la etiqueta: %s" + +#: author.php:28 +msgid "Author Archives: %s" +msgstr "Archivo del Autor: %s" + +#: search.php:18 +msgid "Search Results for: %s" +msgstr "Resultados de la búsqueda para: %s" + +#: index.php:37 category.php:50 tag.php:50 author.php:74 search.php:42 +#: archive.php:57 +msgid "Nothing Found" +msgstr "No se ha encontrado nada" + +#: searchform.php:11 searchform.php:12 searchform.php:13 +msgid "Search" +msgstr "Buscar" + +#: showcase.php:70 +msgid "Featured Post" +msgstr "Entradas destacadas" + +#: showcase.php:153 +msgid "Recent Posts" +msgstr "Entradas recientes" + +#: sidebar.php:19 +msgid "Archives" +msgstr "Archivos" + +#: sidebar.php:26 +msgid "Meta" +msgstr "Meta" + +#: 404.php:28 +msgid "Most Used Categories" +msgstr "Categorías más usadas" + +#: 404.php:36 +msgid "Try looking in the monthly archives. %1$s" +msgstr "Trata de buscar en los archivos mensuales. %1$s" + +#: 404.php:21 +msgid "It seems we can’t find what you’re looking for. Perhaps searching, or one of the links below, can help." +msgstr "Parece que no podemos encontrar lo que estás buscando. Tal vez una búsqueda, o uno de los enlaces que aparecen a continuación, pueden ayudarte." + +#: inc/widgets.php:162 +msgid "Number of posts to show:" +msgstr "Número de entradas a mostrar:" + +msgid "Twenty Eleven" +msgstr "Twenty Eleven" + +msgid "http://wordpress.org/extend/themes/twentyeleven" +msgstr "http://wordpress.org/extend/themes/twentyeleven" + +#: inc/widgets.php:93 inc/widgets.php:109 +msgid "% comments →" +msgstr "% comentarios →" + +#: content-quote.php:35 content.php:41 content-image.php:27 +#: content-gallery.php:32 content-aside.php:33 functions.php:327 +#: content-status.php:34 content-link.php:33 +msgid "Continue reading " +msgstr "Sigue leyendo " + +#: content-quote.php:36 content.php:42 content-image.php:28 +#: content-single.php:24 content-intro.php:18 content-gallery.php:54 +#: content-aside.php:34 image.php:89 content-status.php:35 content-page.php:18 +#: content-link.php:34 content-featured.php:23 +msgid "Pages:" +msgstr "Páginas:" + +#: content-image.php:39 functions.php:568 +msgid "View all posts by %s" +msgstr "Ver todas las entradas de %s" + +#: content-quote.php:69 showcase.php:194 content.php:77 content-gallery.php:87 +#: content-aside.php:42 content-status.php:43 content-link.php:42 +msgid "% Replies" +msgstr "% Respuestas" + +#: content-quote.php:69 showcase.php:194 content.php:77 content-gallery.php:87 +#: content-aside.php:42 content-status.php:43 content-link.php:42 +msgid "1 Reply" +msgstr "1 Respuesta" + +#: content-quote.php:72 content.php:80 content-image.php:68 +#: content-single.php:52 content-intro.php:19 content-gallery.php:90 +#: content-aside.php:44 image.php:40 functions.php:503 functions.php:531 +#: content-status.php:45 content-page.php:21 content-link.php:44 +#: content-featured.php:45 +msgid "Edit" +msgstr "Editar" + +#: content-single.php:37 +msgid "This entry was posted in %1$s by %5$s. Bookmark the permalink." +msgstr "Esta entrada fue publicada en %1$s por %5$s. Guarda el enlace permanente." + +#: content-single.php:35 +msgid "This entry was posted in %1$s and tagged %2$s by %5$s. Bookmark the permalink." +msgstr "Esta entrada fue publicada en %1$s y etiquetada %2$s por %5$s. Guarda enlace permanente." + +#: content-quote.php:69 showcase.php:194 content.php:77 content-aside.php:42 +#: content-status.php:43 content-link.php:42 +msgid "Leave a reply" +msgstr "Deja una respuesta" + +#: content-featured.php:33 +msgid "This entry was posted in %1$s. Bookmark the permalink." +msgstr "Esta entrada fue publicada en %1$s. Guarda el enlace permanente." + +#: content-gallery.php:47 +msgid "This gallery contains %2$s photo." +msgid_plural "This gallery contains %2$s photos." +msgstr[0] "Esta galería contiene %2$s foto " +msgstr[1] "Esta galería contiene %2$s fotos " + +#: image.php:30 +msgid "Published %2$s at %4$s × %5$s in %7$s" +msgstr "Publicado el %2$s en %4$s × %5$s en %7$s" + +#: image.php:20 +msgid "Next →" +msgstr "Siguiente →" + +#: image.php:19 +msgid "← Previous" +msgstr "← Anterior" + +#: header.php:113 +msgid "Main menu" +msgstr "Menú principal" + +#: header.php:45 +msgid "Page %s" +msgstr "Página %s" + +#: functions.php:503 +msgid "Pingback:" +msgstr "Pingback: " + +#: functions.php:535 +msgid "Your comment is awaiting moderation." +msgstr "Tu comentario está pendiente de moderación." + +#: functions.php:434 +msgid "Newer posts " +msgstr "Entradas más nuevas " + +#: functions.php:433 +msgid " Older posts" +msgstr " Entradas más antiguas" + +#: functions.php:432 single.php:18 +msgid "Post navigation" +msgstr "Navegador de artículos" + +#: functions.php:413 +msgid "Footer Area Three" +msgstr "Área 3 del pie" + +#: functions.php:403 +msgid "Footer Area Two" +msgstr "Área 2 del pie" + +#: functions.php:395 functions.php:405 functions.php:415 +msgid "An optional widget area for your site footer" +msgstr "Una zona opcional para widgets en el pie de tu sitio" + +#: functions.php:393 +msgid "Footer Area One" +msgstr "Área 1 del pie" + +#: functions.php:385 +msgid "The sidebar for the optional Showcase Template" +msgstr "La barra lateral para la plantilla de Escaparate opcional" + +#: functions.php:383 +msgid "Showcase Sidebar" +msgstr "Barra lateral de la plantilla Escaparate" + +#: functions.php:374 +msgid "Main Sidebar" +msgstr "Barra lateral principal" + +#: functions.php:101 +msgid "Primary Menu" +msgstr "Menú Principal" + +#: content-single.php:64 +msgid "View all posts by %s " +msgstr "Ver todas las entradas por %s " + +#: content-featured.php:31 +msgid "This entry was posted in %1$s and tagged %2$s. Bookmark the permalink." +msgstr "Esta entrada fue publicada en %1$s y etiquetada %2$s. Guarda el enlace permanente." \ No newline at end of file diff --git a/src/wp-content/themes/twentyeleven/languages/twentyeleven.pot b/src/wp-content/themes/twentyeleven/languages/twentyeleven.pot new file mode 100644 index 0000000..1cdd5e2 --- /dev/null +++ b/src/wp-content/themes/twentyeleven/languages/twentyeleven.pot @@ -0,0 +1,654 @@ +# Copyright (C) 2010 Twenty Eleven +# This file is distributed under the same license as the Twenty Eleven package. +msgid "" +msgstr "" +"Project-Id-Version: Twenty Eleven 1.0\n" +"Report-Msgid-Bugs-To: http://wordpress.org/tag/twentyeleven\n" +"POT-Creation-Date: 2011-06-30 22:47:23+00:00\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"PO-Revision-Date: 2010-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" + +#: content-quote.php:14 showcase.php:113 showcase.php:192 content.php:15 +#: content.php:19 content-image.php:15 content-gallery.php:16 +#: content-gallery.php:48 content-aside.php:16 content-status.php:15 +#: inc/widgets.php:91 content-link.php:16 content-featured.php:14 +msgid "Permalink to %s" +msgstr "" + +#: content-quote.php:15 +msgid "Quote" +msgstr "" + +#: content-quote.php:24 content.php:30 content-image.php:21 +#: content-image.php:64 content-aside.php:22 content-status.php:21 +#: content-link.php:22 +msgid "Reply" +msgstr "" + +#: content-quote.php:24 content.php:30 content-image.php:21 +#: content-aside.php:22 content-status.php:21 content-link.php:22 +msgctxt "comments number" +msgid "1" +msgstr "" + +#: content-quote.php:24 content.php:30 content-image.php:21 +#: content-aside.php:22 content-status.php:21 content-link.php:22 +msgctxt "comments number" +msgid "%" +msgstr "" + +#: content-quote.php:35 content.php:41 content-image.php:27 +#: content-gallery.php:32 content-aside.php:33 functions.php:327 +#: content-status.php:34 content-link.php:33 +msgid "Continue reading " +msgstr "" + +#: content-quote.php:36 content.php:42 content-image.php:28 +#: content-single.php:24 content-intro.php:18 content-gallery.php:54 +#: content-aside.php:34 image.php:89 content-status.php:35 content-page.php:18 +#: content-link.php:34 content-featured.php:23 +msgid "Pages:" +msgstr "" + +#. translators: used between list items, there is a space after the comma +#: content-quote.php:44 content-quote.php:54 content.php:51 content.php:61 +#: content-image.php:47 content-image.php:56 content-single.php:30 +#: content-single.php:33 content-gallery.php:62 content-gallery.php:72 +#: content-featured.php:29 content-featured.php:38 +msgid ", " +msgstr "" + +#: content-quote.php:48 content.php:55 content-image.php:51 +#: content-gallery.php:66 +msgid "Posted in %2$s" +msgstr "" + +#: content-quote.php:60 content.php:67 content-image.php:59 +#: content-gallery.php:78 +msgid "Tagged %2$s" +msgstr "" + +#: content-quote.php:69 showcase.php:194 content.php:77 content-aside.php:42 +#: content-status.php:43 content-link.php:42 +msgid "Leave a reply" +msgstr "" + +#: content-quote.php:69 showcase.php:194 content.php:77 content-gallery.php:87 +#: content-aside.php:42 content-status.php:43 content-link.php:42 +msgid "1 Reply" +msgstr "" + +#: content-quote.php:69 showcase.php:194 content.php:77 content-gallery.php:87 +#: content-aside.php:42 content-status.php:43 content-link.php:42 +msgid "% Replies" +msgstr "" + +#: content-quote.php:72 content.php:80 content-image.php:68 +#: content-single.php:52 content-intro.php:19 content-gallery.php:90 +#: content-aside.php:44 image.php:40 functions.php:503 functions.php:531 +#: content-status.php:45 content-page.php:21 content-link.php:44 +#: content-featured.php:45 +msgid "Edit" +msgstr "" + +#: showcase.php:70 +msgid "Featured Post" +msgstr "" + +#: showcase.php:143 +msgid "Featuring: %s" +msgstr "" + +#: showcase.php:153 +msgid "Recent Posts" +msgstr "" + +#: index.php:37 category.php:50 tag.php:50 author.php:74 search.php:42 +#: archive.php:57 +msgid "Nothing Found" +msgstr "" + +#: index.php:41 category.php:54 tag.php:54 author.php:78 archive.php:61 +msgid "" +"Apologies, but no results were found for the requested archive. Perhaps " +"searching will help find a related post." +msgstr "" + +#: content.php:16 +msgid "Featured" +msgstr "" + +#. #-#-#-#-# twentyeleven.pot (Twenty Eleven 1.0) #-#-#-#-# +#. Author URI of the plugin/theme +#: footer.php:26 +msgid "http://wordpress.org/" +msgstr "" + +#: footer.php:26 +msgid "Semantic Personal Publishing Platform" +msgstr "" + +#: footer.php:26 +msgid "Proudly powered by %s" +msgstr "" + +#: category.php:19 +msgid "Category Archives: %s" +msgstr "" + +#: content-image.php:16 +msgid "Image" +msgstr "" + +#: content-image.php:34 +msgid "" +" by " +" %6$s" +msgstr "" + +#: content-image.php:39 functions.php:568 +msgid "View all posts by %s" +msgstr "" + +#: content-image.php:64 +msgid "1 Reply" +msgstr "" + +#: content-image.php:64 +msgid "% Replies" +msgstr "" + +#: sidebar.php:19 +msgid "Archives" +msgstr "" + +#: sidebar.php:26 +msgid "Meta" +msgstr "" + +#: content-single.php:35 +msgid "" +"This entry was posted in %1$s and tagged %2$s by %5$s. " +"Bookmark the permalink." +msgstr "" + +#: content-single.php:37 +msgid "" +"This entry was posted in %1$s by %5$s. Bookmark the permalink." +msgstr "" + +#: content-single.php:39 +msgid "" +"This entry was posted by %5$s. Bookmark the permalink." +msgstr "" + +#: content-single.php:60 author.php:49 +msgid "About %s" +msgstr "" + +#: content-single.php:64 +msgid "View all posts by %s " +msgstr "" + +#: tag.php:19 +msgid "Tag Archives: %s" +msgstr "" + +#: content-gallery.php:17 +msgid "Gallery" +msgstr "" + +#: content-gallery.php:47 +msgid "This gallery contains %2$s photo." +msgid_plural "This gallery contains %2$s photos." +msgstr[0] "" +msgstr[1] "" + +#: content-gallery.php:87 +msgid "Leave a Reply" +msgstr "" + +#: comments.php:17 +msgid "" +"This post is password protected. Enter the password to view any comments." +msgstr "" + +#: comments.php:33 +msgid "One thought on “%2$s”" +msgid_plural "%1$s thoughts on “%2$s”" +msgstr[0] "" +msgstr[1] "" + +#: comments.php:40 comments.php:60 +msgid "Comment navigation" +msgstr "" + +#: comments.php:41 comments.php:61 +msgid "← Older Comments" +msgstr "" + +#: comments.php:42 comments.php:62 +msgid "Newer Comments →" +msgstr "" + +#: comments.php:72 +msgid "Comments are closed." +msgstr "" + +#: content-aside.php:17 +msgid "Aside" +msgstr "" + +#: 404.php:17 +msgid "This is somewhat embarrassing, isn’t it?" +msgstr "" + +#: 404.php:21 +msgid "" +"It seems we can’t find what you’re looking for. Perhaps " +"searching, or one of the links below, can help." +msgstr "" + +#: 404.php:28 +msgid "Most Used Categories" +msgstr "" + +#. translators: %1$s: smilie +#: 404.php:36 +msgid "Try looking in the monthly archives. %1$s" +msgstr "" + +#: image.php:18 +msgid "Image navigation" +msgstr "" + +#: image.php:19 +msgid "← Previous" +msgstr "" + +#: image.php:20 +msgid "Next →" +msgstr "" + +#: image.php:30 +msgid "" +"Published %2$s " +"at %4$s × %5$s " +"in %7$s" +msgstr "" + +#: functions.php:101 +msgid "Primary Menu" +msgstr "" + +#. translators: header image description +#: functions.php:149 +msgid "Wheel" +msgstr "" + +#. translators: header image description +#: functions.php:155 +msgid "Shore" +msgstr "" + +#. translators: header image description +#: functions.php:161 +msgid "Trolley" +msgstr "" + +#. translators: header image description +#: functions.php:167 +msgid "Pine Cone" +msgstr "" + +#. translators: header image description +#: functions.php:173 +msgid "Chessboard" +msgstr "" + +#. translators: header image description +#: functions.php:179 +msgid "Lanterns" +msgstr "" + +#. translators: header image description +#: functions.php:185 +msgid "Willow" +msgstr "" + +#. translators: header image description +#: functions.php:191 +msgid "Hanoi Plant" +msgstr "" + +#: functions.php:374 +msgid "Main Sidebar" +msgstr "" + +#: functions.php:383 +msgid "Showcase Sidebar" +msgstr "" + +#: functions.php:385 +msgid "The sidebar for the optional Showcase Template" +msgstr "" + +#: functions.php:393 +msgid "Footer Area One" +msgstr "" + +#: functions.php:395 functions.php:405 functions.php:415 +msgid "An optional widget area for your site footer" +msgstr "" + +#: functions.php:403 +msgid "Footer Area Two" +msgstr "" + +#: functions.php:413 +msgid "Footer Area Three" +msgstr "" + +#: functions.php:432 single.php:18 +msgid "Post navigation" +msgstr "" + +#: functions.php:433 +msgid " Older posts" +msgstr "" + +#: functions.php:434 +msgid "Newer posts " +msgstr "" + +#: functions.php:503 +msgid "Pingback:" +msgstr "" + +#. translators: 1: comment author, 2: date and time +#: functions.php:520 +msgid "%1$s on %2$s said:" +msgstr "" + +#. translators: 1: date, 2: time +#: functions.php:526 +msgid "%1$s at %2$s" +msgstr "" + +#: functions.php:535 +msgid "Your comment is awaiting moderation." +msgstr "" + +#: functions.php:544 +msgid "Reply " +msgstr "" + +#: functions.php:562 +msgid "" +"Posted on by %7$s" +msgstr "" + +#: header.php:45 +msgid "Page %s" +msgstr "" + +#: header.php:113 +msgid "Main menu" +msgstr "" + +#: header.php:115 +msgid "Skip to primary content" +msgstr "" + +#: header.php:116 +msgid "Skip to secondary content" +msgstr "" + +#: author.php:28 +msgid "Author Archives: %s" +msgstr "" + +#: content-status.php:16 +msgid "Status" +msgstr "" + +#: inc/theme-options.php:80 inc/theme-options.php:81 +msgid "Theme Options" +msgstr "" + +#: inc/theme-options.php:90 +msgid "" +"Some themes provide customization options that are grouped together on a " +"Theme Options screen. If you change themes, options may change or disappear, " +"as they are theme-specific. Your current theme, Twenty Eleven, provides the " +"following Theme Options:" +msgstr "" + +#: inc/theme-options.php:92 +msgid "" +"Color Scheme: You can choose a color palette of \"Light" +"\" (light background with dark text) or \"Dark\" (dark background with light " +"text) for your site." +msgstr "" + +#: inc/theme-options.php:93 +msgid "" +"Link Color: You can choose the color used for text links on " +"your site. You can enter the HTML color or hex code, or you can choose " +"visually by clicking the \"Select a Color\" button to pick from a color " +"wheel." +msgstr "" + +#: inc/theme-options.php:94 +msgid "" +"Default Layout: You can choose if you want your site’" +"s default layout to have a sidebar on the left, the right, or not at all." +msgstr "" + +#: inc/theme-options.php:96 +msgid "" +"Remember to click \"Save Changes\" to save any changes you have made to the " +"theme options." +msgstr "" + +#: inc/theme-options.php:97 +msgid "For more information:" +msgstr "" + +#: inc/theme-options.php:98 +msgid "" +"Documentation on Theme Options" +msgstr "" + +#: inc/theme-options.php:99 +msgid "" +"Support Forums" +msgstr "" + +#: inc/theme-options.php:114 +msgid "Light" +msgstr "" + +#: inc/theme-options.php:120 +msgid "Dark" +msgstr "" + +#: inc/theme-options.php:138 +msgid "Content on left" +msgstr "" + +#: inc/theme-options.php:143 +msgid "Content on right" +msgstr "" + +#: inc/theme-options.php:148 +msgid "One-column, no sidebar" +msgstr "" + +#: inc/theme-options.php:213 +msgid "%s Theme Options" +msgstr "" + +#: inc/theme-options.php:225 inc/theme-options.php:227 +#: inc/theme-options.php:263 +msgid "Color Scheme" +msgstr "" + +#: inc/theme-options.php:248 inc/theme-options.php:250 +msgid "Link Color" +msgstr "" + +#: inc/theme-options.php:253 +msgid "Select a Color" +msgstr "" + +#: inc/theme-options.php:256 +msgid "Default color: %s" +msgstr "" + +#: inc/theme-options.php:261 +msgid "Default Layout" +msgstr "" + +#: inc/widgets.php:19 +msgid "" +"Use this widget to list your recent Aside, Status, Quote, and Link posts" +msgstr "" + +#: inc/widgets.php:20 +msgid "Twenty Eleven Ephemera" +msgstr "" + +#: inc/widgets.php:52 +msgid "Ephemera" +msgstr "" + +#: inc/widgets.php:93 inc/widgets.php:109 +msgid "0 comments →" +msgstr "" + +#: inc/widgets.php:93 inc/widgets.php:109 +msgid "1 comment →" +msgstr "" + +#: inc/widgets.php:93 inc/widgets.php:109 +msgid "% comments →" +msgstr "" + +#: inc/widgets.php:107 +msgid "Link to %s" +msgstr "" + +#: inc/widgets.php:159 +msgid "Title:" +msgstr "" + +#: inc/widgets.php:162 +msgid "Number of posts to show:" +msgstr "" + +#: search.php:18 +msgid "Search Results for: %s" +msgstr "" + +#: search.php:46 +msgid "" +"Sorry, but nothing matched your search criteria. Please try again with some " +"different keywords." +msgstr "" + +#: archive.php:25 +msgid "Daily Archives: %s" +msgstr "" + +#: archive.php:27 +msgid "Monthly Archives: %s" +msgstr "" + +#: archive.php:29 +msgid "Yearly Archives: %s" +msgstr "" + +#: archive.php:31 +msgid "Blog Archives" +msgstr "" + +#: content-link.php:17 +msgid "Link" +msgstr "" + +#: content-featured.php:31 +msgid "" +"This entry was posted in %1$s and tagged %2$s. Bookmark the permalink." +msgstr "" + +#: content-featured.php:33 +msgid "" +"This entry was posted in %1$s. Bookmark the permalink." +msgstr "" + +#: single.php:19 +msgid " Previous" +msgstr "" + +#: single.php:20 +msgid "Next " +msgstr "" + +#: searchform.php:11 searchform.php:12 searchform.php:13 +msgid "Search" +msgstr "" + +#. Theme Name of the plugin/theme +msgid "Twenty Eleven" +msgstr "" + +#. Theme URI of the plugin/theme +msgid "http://wordpress.org/extend/themes/twentyeleven" +msgstr "" + +#. Description of the plugin/theme +msgid "" +"The 2011 theme for WordPress is sophisticated, lightweight, and adaptable. " +"Make it yours with a custom menu, header image, and background -- then go " +"further with available theme options for light or dark color scheme, custom " +"link colors, and three layout choices. Twenty Eleven comes equipped with a " +"Showcase page template that transforms your front page into a showcase to " +"show off your best content, widget support galore (sidebar, three footer " +"areas, and a Showcase page widget area), and a custom \"Ephemera\" widget to " +"display your Aside, Link, Quote, or Status posts. Included are styles for " +"print and for the admin editor, support for featured images (as custom " +"header images on posts and pages and as large images on featured \"sticky\" " +"posts), and special styles for six different post formats." +msgstr "" + +#. Author of the plugin/theme +msgid "the WordPress team" +msgstr "" + +#. Tags of the plugin/theme +msgid "" +"dark, light, white, black, gray, one-column, two-columns, left-sidebar, " +"right-sidebar, fixed-width, flexible-width, custom-background, custom-" +"colors, custom-header, custom-menu, editor-style, featured-image-header, " +"featured-images, full-width-template, microformats, post-formats, rtl-" +"language-support, sticky-post, theme-options, translation-ready" +msgstr "" diff --git a/src/wp-content/themes/twentyeleven/license.txt b/src/wp-content/themes/twentyeleven/license.txt new file mode 100644 index 0000000..5fbe4a7 --- /dev/null +++ b/src/wp-content/themes/twentyeleven/license.txt @@ -0,0 +1,281 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 51 Franklin St, Fifth Floor, Boston, MA 02110, USA + + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + diff --git a/src/wp-content/themes/twentyeleven/page.php b/src/wp-content/themes/twentyeleven/page.php new file mode 100644 index 0000000..3b96e52 --- /dev/null +++ b/src/wp-content/themes/twentyeleven/page.php @@ -0,0 +1,29 @@ + + +
      +
      + + + + + + + +
      +
      + + \ No newline at end of file diff --git a/src/wp-content/themes/twentyeleven/readme.txt b/src/wp-content/themes/twentyeleven/readme.txt new file mode 100644 index 0000000..e803014 --- /dev/null +++ b/src/wp-content/themes/twentyeleven/readme.txt @@ -0,0 +1,5 @@ += TWENTY ELEVEN = + +* by the WordPress team, http://wordpress.org/ + +== ABOUT TWENTY ELEVEN == \ No newline at end of file diff --git a/src/wp-content/themes/twentyeleven/rtl.css b/src/wp-content/themes/twentyeleven/rtl.css new file mode 100644 index 0000000..7b67e1f --- /dev/null +++ b/src/wp-content/themes/twentyeleven/rtl.css @@ -0,0 +1,582 @@ +/* +Theme Name: Twenty Eleven + +Adding support for language written in a Right To Left (RTL) direction is easy - +it's just a matter of overwriting all the horizontal positioning attributes +of your CSS stylesheet in a separate stylesheet file named rtl.css. + +http://codex.wordpress.org/Right_to_Left_Language_Support + +*/ + +/* =Reset reset +----------------------------------------------- */ + +caption, th, td { + text-align: right; +} + +/* =Structure +----------------------------------------------- */ + +body { + direction:rtl; + unicode-bidi:embed; +} + +/* Showcase */ +.page-template-showcase-php section.recent-posts { + float: left; + margin: 0 31% 0 0; +} +.page-template-showcase-php #main .widget-area { + float: right; + margin: 0 0 0 -22.15%; +} + +/* One column */ + +.one-column article.feature-image.small .entry-summary a { + left: auto; + right: -9%; +} + +/* Simplify the pullquotes and pull styles */ +.one-column.singular .entry-meta .edit-link a { + right: 0px; + left: auto; +} +/* Make sure we have room for our comment avatars */ +.one-column .commentlist > li.comment { + margin-left: 0; + margin-right: 102px; +} +/* Make sure the logo and search form don't collide */ +.one-column #branding #searchform { + right: auto; + left: 40px; +} +/* Talking avatars take up too much room at this size */ +.one-column .commentlist > li.comment { + margin-right: 0; +} +.one-column .commentlist > li.comment .comment-meta, +.one-column .commentlist > li.comment .comment-content { + margin-right: 0; + margin-left: 85px; +} +.one-column .commentlist .avatar { + right: auto; + left: 1.625em; +} +.one-column .commentlist .children .avatar { + left: auto; + right: 2.2em; +} + +/* =Global +----------------------------------------------- */ + +/* Text elements */ +p { + margin-bottom: 1.625em; +} +ul, ol { + margin: 0 2.5em 1.625em 0; +} +.ltr ul, ol { + margin: 0 0 1.625em 2.5em; +} +blockquote { + font-family: Arial, sans-serif; +} +blockquote em, blockquote i, blockquote cite { + font-style: normal; +} + +/* Forms */ +textarea { + padding-left: 0; + padding-right: 3px; +} +input#s { + background-position: 97% 6px; + padding: 4px 28px 4px 10px; +} + +/* Assistive text */ +#access a.assistive-text:active, +#access a.assistive-text:focus { + left: auto; + right: 7.6%; +} + +/* =Header +----------------------------------------------- */ + +#site-title { + margin-right: 0; + margin-left: 270px; +} + +#site-description { + margin: 0 0 3.65625em 270px; +} + +/* =Menu +-------------------------------------------------------------- */ + +#access { + float: right; +} +#access ul { + margin: 0 -0.8125em 0 0; + padding-right: 0; +} +#access li { + float: right; +} +#access ul ul { + float: right; + left: auto; + right: 0; +} +#access ul ul ul { + left: auto; + right: 100%; +} + +/* Search Form */ +#branding #searchform { + right: auto; + left: 7.6%; + text-align: left; +} +#branding #s { + float: left; +} +#branding .only-search + #access div { + padding-right: 0; + padding-left: 205px; +} + + +/* =Content +----------------------------------------------- */ +.entry-title, +.entry-header .entry-meta { + padding-right: 0; + padding-left: 76px; +} +.entry-content td, +.comment-content td { + padding: 6px 0 6px 10px; +} +.page-link span { + margin-right: 0; + margin-left: 6px; +} +.entry-meta .edit-link a { + float: left; +} +/* Images */ + +.wp-caption .wp-caption-text, +.gallery-caption { + font-family: Arial, sans-serif; +} +.wp-caption .wp-caption-text { + padding: 10px 40px 5px 0px; +} +.wp-caption .wp-caption-text:before { + margin-right: 0; + margin-left: 5px; + left: auto; + right: 10px; +} +#content .gallery-columns-4 .gallery-item { + padding-right:0; + padding-left:2%; +} + +/* Author Info */ +.singular #author-info { + margin: 2.2em -35.4% 0 -35.6%; +} +#author-avatar { + float: right; + margin-right: 0; + margin-left: -78px; +} +#author-description { + float: right; + margin-left: 0; + margin-right: 108px; +} +/* Comments link */ +.entry-header .comments-link a { + background-image: url(images/comment-bubble-rtl.png); + right: auto; + left: 0; +} + +/* + Post Formats Headings +*/ +.singular .entry-title, +.singular .entry-header .entry-meta { + padding-left: 0; +} +.singular .entry-header .entry-meta { + left: auto; + right: 0; +} +.singular .entry-meta .edit-link a { + left: auto; + right: 50px; +} + + +/* =Gallery +----------------------------------------------- */ + +.format-gallery .gallery-thumb { + float: right; + margin: .375em 0 0 1.625em; +} + + +/* =Status +----------------------------------------------- */ + +.format-status img.avatar { + float: right; + margin: 4px 0 2px 10px; +} + + +/* =Image +----------------------------------------------- */ + +.indexed.format-image div.entry-meta { + float: right; +} +/* =error404 +---------------------- +------------------------- */ +.error404 #main .widget { + float: right; + margin-right: auto; + margin-left: 3.7%; +} +.error404 #main .widget_archive { + margin-left: 0; +} +.error404 #main .widget_tag_cloud { + margin-left: 0; +} + +/* =Showcase +----------------------------------------------- */ + +article.intro .edit-link a { + right: auto; + left: 20px; +} + +/* Featured post */ +section.featured-post { + float: right; +} + +/* Small featured post */ +section.featured-post .attachment-small-feature { + float: left; + margin: 0 0 1.625em -8.9%; + right: auto; + left: -15px; +} +article.feature-image.small { + float: right; +} +article.feature-image.small .entry-summary p a { + left:auto; + right: -23.8%; + padding: 9px 85px 9px 26px; +} + +/* Large featured post */ +section.feature-image.large .hentry { + left:auto; + right: 9%; + margin: 1.625em 0 0 9%; +} +/* Featured Slider */ +.featured-posts .showcase-heading { + padding-left: 0; + padding-right: 8.9%; +} +.featured-posts section.featured-post { + left: auto; + right: 0; +} +#content .feature-slider { + right: auto; + left: 8.9%; +} +.feature-slider li { + float: right; +} +/* Recent Posts */ +section.recent-posts .other-recent-posts a[rel="bookmark"] { + float: right; +} +section.recent-posts .other-recent-posts .comments-link a, +section.recent-posts .other-recent-posts .comments-link > span { + padding: 0.3125em 1em 0.3125em 0; + left: 0; + text-align: left; +} + +/* =Attachments +----------------------------------------------- */ + +/* =Navigation +-------------------------------------------------------------- */ + +.nav-previous { + float: right; +} +.nav-next { + float: left; + text-align: left; +} + +/* Singular navigation */ +#nav-single { + float: left; + text-align: left; +} +#nav-single .nav-next { + padding-left: 0; + padding-right: .5em; +} + + +/* =Widgets +----------------------------------------------- */ + +.widget ul ul { + margin-left: 0; + margin-right: 1.5em; +} + +/* Twitter */ +.widget_twitter .timesince { + margin-right: 0; + margin-left: -10px; + text-align: left; +} + +/* =Comments +----------------------------------------------- */ + +.commentlist .children li.comment { + border-left: none; + border-right: 1px solid #ddd; + -moz-border-radius: 3px 0 0 3px; + border-radius: 3px 0 0 3px; +} +.commentlist .children li.comment .comment-meta { + margin-left: 0; + margin-right: 50px; +} +.commentlist .avatar { + left: auto; + right: -102px; +} +.commentlist > li:before { + content: url(images/comment-arrow-rtl.png); + left:auto; + right: -21px; +} +.commentlist > li.pingback:before { + content: ''; +} +.commentlist .children .avatar { + left: auto; + right: 2.2em; +} + +/* Post author highlighting */ +.commentlist > li.bypostauthor:before { + content: url(images/comment-arrow-bypostauthor-rtl.png); +} + +/* sidebar-page.php comments */ +/* Make sure we have room for our comment avatars */ +.page-template-sidebar-page-php .commentlist > li.comment, +.page-template-sidebar-page-php.commentlist .pingback { + margin-left: 0; + margin-right: 102px; +} + +/* Comment Form */ +#respond .comment-form-author label, +#respond .comment-form-email label, +#respond .comment-form-url label, +#respond .comment-form-comment label { + left: auto; + right: 4px; +} +#respond .comment-form-author label, +#respond .comment-form-email label, +#respond .comment-form-url label, +#respond .comment-form-comment label { + -webkit-box-shadow: -1px 2px 2px rgba(204,204,204,0.8); + -moz-box-shadow: -1px 2px 2px rgba(204,204,204,0.8); + box-shadow: -1px 2px 2px rgba(204,204,204,0.8); +} +#respond .comment-form-author .required, +#respond .comment-form-email .required { + left: auto; + right: 75%; +} +#respond .form-submit { + float: left; +} +#respond input#submit { + left: auto; + right: 30px; + padding: 5px 22px 5px 42px; +} +#respond #cancel-comment-reply-link { + margin-left: 0; + margin-right: 10px; +} +#cancel-comment-reply-link { + right: auto; + left: 1.625em; +} + +/* =Footer +----------------------------------------------- */ + +/* Two Footer Widget Areas */ +#supplementary.two .widget-area { + float: right; + margin-right: 0; + margin-left: 3.7%; +} +#supplementary.two .widget-area + .widget-area { + margin-left: 0; +} + +/* Three Footer Widget Areas */ +#supplementary.three .widget-area { + float: right; + margin-right: 0; + margin-left: 3.7%; +} +#supplementary.three .widget-area + .widget-area + .widget-area { + margin-left: 0; +} + +/* Site Generator Line */ +#site-generator .sep { + background-position: right center; +} + + +/* =Responsive Structure +----------------------------------------------- */ + +@media (max-width: 800px) { + /* Simplify the showcase template when small feature */ + section.featured-post .attachment-small-feature, + .one-column section.featured-post .attachment-small-feature { + float: right; + } + article.feature-image.small { + float: left; + } + article.feature-image.small .entry-summary p a { + right: 0; + } + .singular .entry-meta .edit-link a { + left: auto; + right: 0px; + } + /* Make sure we have room for our comment avatars */ + .commentlist > li.comment, + .commentlist .pingback { + margin-left: 0; + margin-right: 102px; + } + /* No need to float footer widgets at this size */ + #colophon #supplementary .widget-area { + margin-left: 0; + } + /* No need to float 404 widgets at this size */ + .error404 #main .widget { + margin-left: 0; + } +} +@media (max-width: 650px) { + /* @media (max-width: 650px) Reduce font-sizes for better readability on smaller devices */ + #site-title, + #site-description { + margin-left: 0; + } + /* Talking avatars take up too much room at this size */ + .commentlist > li.comment, + .commentlist > li.pingback { + margin-right: 0 !important; + } + .commentlist .children .avatar { + left: auto; + right: 2.2em; + } + /* Use the available space in the smaller comment form */ + #respond .comment-form-author .required, + #respond .comment-form-email .required { + left: auto; + right: 95%; + } + #content .gallery-columns-3 .gallery-item { + padding-right: 0; + padding-left:2%; + } +} +@media (max-width: 450px) { + #content .gallery-columns-2 .gallery-item { + padding-right:0; + padding-left:4%; + } +} + +/* =Print +----------------------------------------------- */ + +@media print { + #primary { + float: right; + } + /* Comments */ + .commentlist .avatar { + left: auto; + right: 2.2em; + } + .commentlist li.comment .comment-meta { + margin-left: 0; + margin-right: 50px; + } +} + +/* =IE7 +----------------------------------------------- */ + +#ie7 section.recent-posts { + margin-right: 0; + margin-left: 7.6%; +} diff --git a/src/wp-content/themes/twentyeleven/screenshot.jpg b/src/wp-content/themes/twentyeleven/screenshot.jpg new file mode 100644 index 0000000..056a6b1 Binary files /dev/null and b/src/wp-content/themes/twentyeleven/screenshot.jpg differ diff --git a/src/wp-content/themes/twentyeleven/search.php b/src/wp-content/themes/twentyeleven/search.php new file mode 100644 index 0000000..bf45c2f --- /dev/null +++ b/src/wp-content/themes/twentyeleven/search.php @@ -0,0 +1,57 @@ + + +
      +
      + + + + + + + + + + + + + + + + + + +
      +
      +

      +
      + +
      +

      + +
      +
      + + + +
      +
      + + + \ No newline at end of file diff --git a/src/wp-content/themes/twentyeleven/searchform.php b/src/wp-content/themes/twentyeleven/searchform.php new file mode 100644 index 0000000..b83ec1e --- /dev/null +++ b/src/wp-content/themes/twentyeleven/searchform.php @@ -0,0 +1,14 @@ + +
      + + + +
      diff --git a/src/wp-content/themes/twentyeleven/showcase.php b/src/wp-content/themes/twentyeleven/showcase.php new file mode 100644 index 0000000..58e85e2 --- /dev/null +++ b/src/wp-content/themes/twentyeleven/showcase.php @@ -0,0 +1,220 @@ + + +
      +
      + + + + + + $sticky, + 'post_status' => 'publish', + 'posts_per_page' => 10, + 'no_found_rows' => true, + ); + + // The Featured Posts query. + $featured = new WP_Query( $featured_args ); + + // Proceed only if published posts exist + if ( $featured->have_posts() ) : + + /** + * We will need to count featured posts starting from zero + * to create the slider navigation. + */ + $counter_slider = 0; + + ?> + + + + + +
      +

      + + 'DESC', + 'post__not_in' => get_option( 'sticky_posts' ), + 'tax_query' => array( + array( + 'taxonomy' => 'post_format', + 'terms' => array( 'post-format-aside', 'post-format-link', 'post-format-quote', 'post-format-status' ), + 'field' => 'slug', + 'operator' => 'NOT IN', + ), + ), + 'no_found_rows' => true, + ); + + // Our new query for the Recent Posts section. + $recent = new WP_Query( $recent_args ); + + // The first Recent post is displayed normally + if ( $recent->have_posts() ) : $recent->the_post(); + + // Set $more to 0 in order to only get the first part of the post. + global $more; + $more = 0; + + get_template_part( 'content', get_post_format() ); + + echo '
        '; + + endif; + + // For all other recent posts, just display the title and comment status. + while ( $recent->have_posts() ) : $recent->the_post(); ?> + +
      1. + + + ' . __( 'Leave a reply', 'twentyeleven' ) . '', __( '1 Reply', 'twentyeleven' ), __( '% Replies', 'twentyeleven' ) ); ?> + +
      2. + + + if ( $recent->post_count > 0 ) + echo '
      '; + ?> +
      + + + +
      +
      + + \ No newline at end of file diff --git a/src/wp-content/themes/twentyeleven/sidebar-footer.php b/src/wp-content/themes/twentyeleven/sidebar-footer.php new file mode 100644 index 0000000..cbcb49b --- /dev/null +++ b/src/wp-content/themes/twentyeleven/sidebar-footer.php @@ -0,0 +1,42 @@ + + + +
      > + + + + + + + + + + + +
      \ No newline at end of file diff --git a/src/wp-content/themes/twentyeleven/sidebar-page.php b/src/wp-content/themes/twentyeleven/sidebar-page.php new file mode 100644 index 0000000..d47e4ee --- /dev/null +++ b/src/wp-content/themes/twentyeleven/sidebar-page.php @@ -0,0 +1,26 @@ + + +
      +
      + + + + + + + +
      +
      + + + \ No newline at end of file diff --git a/src/wp-content/themes/twentyeleven/sidebar.php b/src/wp-content/themes/twentyeleven/sidebar.php new file mode 100644 index 0000000..0f08571 --- /dev/null +++ b/src/wp-content/themes/twentyeleven/sidebar.php @@ -0,0 +1,36 @@ + + + \ No newline at end of file diff --git a/src/wp-content/themes/twentyeleven/single.php b/src/wp-content/themes/twentyeleven/single.php new file mode 100644 index 0000000..01ab460 --- /dev/null +++ b/src/wp-content/themes/twentyeleven/single.php @@ -0,0 +1,32 @@ + + +
      +
      + + + + + + + + + + + +
      +
      + + \ No newline at end of file diff --git a/src/wp-content/themes/twentyeleven/style.css b/src/wp-content/themes/twentyeleven/style.css new file mode 100644 index 0000000..83f57c0 --- /dev/null +++ b/src/wp-content/themes/twentyeleven/style.css @@ -0,0 +1,2669 @@ +/* +Theme Name: Twenty Eleven +Theme URI: http://wordpress.org/extend/themes/twentyeleven +Author: the WordPress team +Author URI: http://wordpress.org/ +Description: The 2011 theme for WordPress is sophisticated, lightweight, and adaptable. Make it yours with a custom menu, header image, and background -- then go further with available theme options for light or dark color scheme, custom link colors, and three layout choices. Twenty Eleven comes equipped with a Showcase page template that transforms your front page into a showcase to show off your best content, widget support galore (sidebar, three footer areas, and a Showcase page widget area), and a custom "Ephemera" widget to display your Aside, Link, Quote, or Status posts. Included are styles for print and for the admin editor, support for featured images (as custom header images on posts and pages and as large images on featured "sticky" posts), and special styles for six different post formats. +Version: 1.1 +License: GNU General Public License +License URI: license.txt +Tags: dark, light, white, black, gray, one-column, two-columns, left-sidebar, right-sidebar, fixed-width, flexible-width, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready +*/ + +/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html +-------------------------------------------------------------- */ + +html, body, div, span, applet, object, iframe, +h1, h2, h3, h4, h5, h6, p, blockquote, pre, +a, abbr, acronym, address, big, cite, code, +del, dfn, em, font, ins, kbd, q, s, samp, +small, strike, strong, sub, sup, tt, var, +dl, dt, dd, ol, ul, li, +fieldset, form, label, legend, +table, caption, tbody, tfoot, thead, tr, th, td { + border: 0; + font-family: inherit; + font-size: 100%; + font-style: inherit; + font-weight: inherit; + margin: 0; + outline: 0; + padding: 0; + vertical-align: baseline; +} +:focus {/* remember to define focus styles! */ + outline: 0; +} +body { + background: #fff; + line-height: 1; +} +ol, ul { + list-style: none; +} +table {/* tables still need 'cellspacing="0"' in the markup */ + border-collapse: separate; + border-spacing: 0; +} +caption, th, td { + font-weight: normal; + text-align: left; +} +blockquote:before, blockquote:after, +q:before, q:after { + content: ""; +} +blockquote, q { + quotes: "" ""; +} +a img { + border: 0; +} +article, aside, details, figcaption, figure, +footer, header, hgroup, menu, nav, section { + display: block; +} + + +/* =Structure +----------------------------------------------- */ + +body { + padding: 0 2em; +} +#page { + margin: 2em auto; + max-width: 1000px; +} +#branding hgroup { + margin: 0 7.6%; +} +#access div { + margin: 0 7.6%; +} +#primary { + float: left; + margin: 0 -26.4% 0 0; + width: 100%; +} +#content { + margin: 0 34% 0 7.6%; + width: 58.4%; +} +#secondary { + float: right; + margin-right: 7.6%; + width: 18.8%; +} + +/* Singular */ +.singular #primary { + margin: 0; +} +.singular #content, +.left-sidebar.singular #content { + margin: 0 7.6%; + position: relative; + width: auto; +} +.singular .entry-header, +.singular .entry-content, +.singular footer.entry-meta, +.singular #comments-title { + margin: 0 auto; + width: 68.9%; +} + +/* Attachments */ +.singular .image-attachment .entry-content { + margin: 0 auto; + width: auto; +} +.singular .image-attachment .entry-description { + margin: 0 auto; + width: 68.9%; +} + +/* Showcase */ +.page-template-showcase-php #primary, +.left-sidebar.page-template-showcase-php #primary { + margin: 0; +} +.page-template-showcase-php #content, +.left-sidebar.page-template-showcase-php #content { + margin: 0 7.6%; + width: auto; +} +.page-template-showcase-php section.recent-posts { + float: right; + margin: 0 0 0 31%; + width: 69%; +} +.page-template-showcase-php #main .widget-area { + float: left; + margin: 0 -22.15% 0 0; + width: 22.15%; +} + +/* error404 */ +.error404 #primary { + float: none; + margin: 0; +} +.error404 #primary #content { + margin: 0 7.6%; + width: auto; +} + +/* Alignment */ +.alignleft { + display: inline; + float: left; + margin-right: 1.625em; +} +.alignright { + display: inline; + float: right; + margin-left: 1.625em; +} +.aligncenter { + clear: both; + display: block; + margin-left: auto; + margin-right: auto; +} + +/* Right Content */ +.left-sidebar #primary { + float: right; + margin: 0 0 0 -26.4%; + width: 100%; +} +.left-sidebar #content { + margin: 0 7.6% 0 34%; + width: 58.4%; +} +.left-sidebar #secondary { + float: left; + margin-left: 7.6%; + margin-right: 0; + width: 18.8%; +} + +/* One column */ +.one-column #page { + max-width: 690px; +} +.one-column #content { + margin: 0 7.6%; + width: auto; +} +.one-column #nav-below { + border-bottom: 1px solid #ddd; + margin-bottom: 1.625em; +} +.one-column #secondary { + float: none; + margin: 0 7.6%; + width: auto; +} +/* Simplify the showcase template */ +.one-column .page-template-showcase-php section.recent-posts { + float: none; + margin: 0; + width: 100%; +} +.one-column .page-template-showcase-php #main .widget-area { + float: none; + margin: 0; + width: auto; +} +.one-column .page-template-showcase-php .other-recent-posts { + border-bottom: 1px solid #ddd; +} +/* Simplify the showcase template when small feature */ +.one-column section.featured-post .attachment-small-feature { + border: none; + display: block; + height: auto; + max-width: 60%; + position: static; +} +.one-column article.feature-image.small { + margin: 0 0 1.625em; + padding: 0; +} +.one-column article.feature-image.small .entry-title { + font-size: 20px; + line-height: 1.3em; +} +.one-column article.feature-image.small .entry-summary { + height: 150px; + overflow: hidden; + padding: 0; + text-overflow: ellipsis; +} +.one-column article.feature-image.small .entry-summary a { + left: -9%; +} +/* Remove the margin on singular articles */ +.one-column.singular .entry-header, +.one-column.singular .entry-content, +.one-column.singular footer.entry-meta, +.one-column.singular #comments-title { + width: 100%; +} +/* Simplify the pullquotes and pull styles */ +.one-column.singular blockquote.pull { + margin: 0 0 1.625em; +} +.one-column.singular .pull.alignleft { + margin: 0 1.625em 0 0; +} +.one-column.singular .pull.alignright { + margin: 0 0 0 1.625em; +} +.one-column.singular .entry-meta .edit-link a { + position: absolute; + left: 0; + top: 40px; +} +.one-column.singular #author-info { + margin: 2.2em -8.8% 0; + padding: 20px 8.8%; +} +/* Make sure we have room for our comment avatars */ +.one-column .commentlist > li.comment { + margin-left: 102px; + width: auto; +} +/* Make sure the logo and search form don't collide */ +.one-column #branding #searchform { + right: 40px; + top: 4em; +} +/* Talking avatars take up too much room at this size */ +.one-column .commentlist > li.comment { + margin-left: 0; +} +.one-column .commentlist > li.comment .comment-meta, +.one-column .commentlist > li.comment .comment-content { + margin-right: 85px; +} +.one-column .commentlist .avatar { + background: transparent; + display: block; + padding: 0; + top: 1.625em; + left: auto; + right: 1.625em; +} +.one-column .commentlist .children .avatar { + background: none; + padding: 0; + position: absolute; + top: 2.2em; + left: 2.2em; +} +.one-column #respond { + width: auto; +} + + +/* =Global +----------------------------------------------- */ + +body, input, textarea { + color: #373737; + font: 15px "Helvetica Neue", Helvetica, Arial, sans-serif; + font-weight: 300; + line-height: 1.625; +} +body { + background: #e2e2e2; +} +#page { + background: #fff; +} + +/* Headings */ +h1,h2,h3,h4,h5,h6 { + clear: both; +} +hr { + background-color: #ccc; + border: 0; + height: 1px; + margin-bottom: 1.625em; +} + +/* Text elements */ +p { + margin-bottom: 1.625em; +} +ul, ol { + margin: 0 0 1.625em 2.5em; +} +ul { + list-style: square; +} +ol { + list-style-type: decimal; +} +ol ol { + list-style: upper-alpha; +} +ol ol ol { + list-style: lower-roman; +} +ol ol ol ol { + list-style: lower-alpha; +} +ul ul, ol ol, ul ol, ol ul { + margin-bottom: 0; +} +dl { + margin: 0 1.625em; +} +dt { + font-weight: bold; +} +dd { + margin-bottom: 1.625em; +} +strong { + font-weight: bold; +} +cite, em, i { + font-style: italic; +} +blockquote { + font-family: Georgia, "Bitstream Charter", serif; + font-style: italic; + font-weight: normal; + margin: 0 3em; +} +blockquote em, blockquote i, blockquote cite { + font-style: normal; +} +blockquote cite { + color: #666; + font: 12px "Helvetica Neue", Helvetica, Arial, sans-serif; + font-weight: 300; + letter-spacing: 0.05em; + text-transform: uppercase; +} +pre { + background: #f4f4f4; + font: 13px "Courier 10 Pitch", Courier, monospace; + line-height: 1.5; + margin-bottom: 1.625em; + overflow: auto; + padding: 0.75em 1.625em; +} +code, kbd { + font: 13px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; +} +abbr, acronym, dfn { + border-bottom: 1px dotted #666; + cursor: help; +} +address { + display: block; + margin: 0 0 1.625em; +} +ins { + background: #fff9c0; + text-decoration: none; +} +sup, +sub { + font-size: 10px; + height: 0; + line-height: 1; + position: relative; + vertical-align: baseline; +} +sup { + bottom: 1ex; +} +sub { + top: .5ex; +} + +/* Forms */ +input[type=text], +input[type=password], +textarea { + background: #fafafa; + -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1); + -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1); + box-shadow: inset 0 1px 1px rgba(0,0,0,0.1); + border: 1px solid #ddd; + color: #888; +} +input[type=text]:focus, +textarea:focus { + color: #373737; +} +textarea { + padding-left: 3px; + width: 98%; +} +input[type=text] { + padding: 3px; +} +input#s { + background: url(images/search.png) no-repeat 5px 6px; + -moz-border-radius: 2px; + border-radius: 2px; + font-size: 14px; + height: 22px; + line-height: 1.2em; + padding: 4px 10px 4px 28px; +} +input#searchsubmit { + display: none; +} + +/* Links */ +a { + color: #1982d1; + text-decoration: none; +} +a:focus, +a:active, +a:hover { + text-decoration: underline; +} + +/* Assistive text */ +.assistive-text { + position: absolute !important; + clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ + clip: rect(1px, 1px, 1px, 1px); +} +#access a.assistive-text:active, +#access a.assistive-text:focus { + background: #eee; + border-bottom: 1px solid #ddd; + color: #1982d1; + clip: auto !important; + font-size: 12px; + position: absolute; + text-decoration: underline; + top: 0; + left: 7.6%; +} + + +/* =Header +----------------------------------------------- */ + +#branding { + border-top: 2px solid #bbb; + padding-bottom: 10px; + position: relative; + z-index: 2; +} +#site-title { + margin-right: 270px; + padding: 3.65625em 0 0; +} +#site-title a { + color: #111; + font-size: 30px; + font-weight: bold; + line-height: 36px; + text-decoration: none; +} +#site-title a:hover, +#site-title a:focus, +#site-title a:active { + color: #1982d1; +} +#site-description { + color: #7a7a7a; + font-size: 14px; + margin: 0 270px 3.65625em 0; +} +#branding img { + height: auto; + margin-bottom: -7px; + width: 100%; +} + + +/* =Menu +-------------------------------------------------------------- */ + +#access { + background: #222; /* Show a solid color for older browsers */ + background: -moz-linear-gradient(#252525, #0a0a0a); + background: -o-linear-gradient(#252525, #0a0a0a); + background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#252525), to(#0a0a0a)); /* older webkit syntax */ + background: -webkit-linear-gradient(#252525, #0a0a0a); + -webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px; + -moz-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px; + box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px; + clear: both; + display: block; + float: left; + margin: 0 auto 6px; + width: 100%; +} +#access ul { + font-size: 13px; + list-style: none; + margin: 0 0 0 -0.8125em; + padding-left: 0; +} +#access li { + float: left; + position: relative; +} +#access a { + color: #eee; + display: block; + line-height: 3.333em; + padding: 0 1.2125em; + text-decoration: none; +} +#access ul ul { + -moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2); + -webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2); + box-shadow: 0 3px 3px rgba(0,0,0,0.2); + display: none; + float: left; + margin: 0; + position: absolute; + top: 3.333em; + left: 0; + width: 188px; + z-index: 99999; +} +#access ul ul ul { + left: 100%; + top: 0; +} +#access ul ul a { + background: #f9f9f9; + border-bottom: 1px dotted #ddd; + color: #444; + font-size: 13px; + font-weight: normal; + height: auto; + line-height: 1.4em; + padding: 10px 10px; + width: 168px; +} +#access li:hover > a, +#access ul ul :hover > a, +#access a:focus { + background: #efefef; +} +#access li:hover > a, +#access a:focus { + background: #f9f9f9; /* Show a solid color for older browsers */ + background: -moz-linear-gradient(#f9f9f9, #e5e5e5); + background: -o-linear-gradient(#f9f9f9, #e5e5e5); + background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f9f9f9), to(#e5e5e5)); /* Older webkit syntax */ + background: -webkit-linear-gradient(#f9f9f9, #e5e5e5); + color: #373737; +} +#access ul li:hover > ul { + display: block; +} +#access .current_page_item > a, +#access .current_page_ancestor > a { + font-weight: bold; +} + +/* Search Form */ +#branding #searchform { + position: absolute; + top: 3.8em; + right: 7.6%; + text-align: right; +} +#branding #searchform div { + margin: 0; +} +#branding #s { + float: right; + -webkit-transition-duration: 400ms; + -webkit-transition-property: width, background; + -webkit-transition-timing-function: ease; + -moz-transition-duration: 400ms; + -moz-transition-property: width, background; + -moz-transition-timing-function: ease; + -o-transition-duration: 400ms; + -o-transition-property: width, background; + -o-transition-timing-function: ease; + width: 72px; +} +#branding #s:focus { + background-color: #f9f9f9; + width: 196px; +} +#branding #searchsubmit { + display: none; +} +#branding .only-search #searchform { + top: 5px; + z-index: 1; +} +#branding .only-search #s { + background-color: #666; + border-color: #000; + color: #222; +} +#branding .only-search #s, +#branding .only-search #s:focus { + width: 85%; +} +#branding .only-search #s:focus { + background-color: #bbb; +} +#branding .with-image #searchform { + top: auto; + bottom: -27px; +} +#branding .only-search + #access div { + padding-right: 205px; +} + + +/* =Content +----------------------------------------------- */ + +#main { + clear: both; + padding: 1.625em 0 0; +} +.page-title { + color: #666; + font-size: 10px; + font-weight: 500; + letter-spacing: 0.1em; + line-height: 2.6em; + margin: 0 0 2.6em; + text-transform: uppercase; +} +.page-title a { + font-size: 12px; + font-weight: bold; + letter-spacing: 0; + text-transform: none; +} +.hentry, +.no-results { + border-bottom: 1px solid #ddd; + margin: 0 0 1.625em; + padding: 0 0 1.625em; + position: relative; +} +.hentry:last-child, +.no-results { + border-bottom: none; +} +.blog .sticky .entry-header .entry-meta { + clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ + clip: rect(1px, 1px, 1px, 1px); + position: absolute !important; +} +.entry-title, +.entry-header .entry-meta { + padding-right: 76px; +} +.entry-title { + clear: both; + color: #222; + font-size: 26px; + font-weight: bold; + line-height: 1.5em; + padding-bottom: .3em; + padding-top: 15px; +} +.entry-title, +.entry-title a { + color: #222; + text-decoration: none; +} +.entry-title a:hover, +.entry-title a:focus, +.entry-title a:active { + color: #1982d1; +} +.entry-meta { + color: #666; + clear: both; + font-size: 12px; + line-height: 18px; +} +.entry-meta a { + font-weight: bold; +} +.single-author .entry-meta .by-author { + display: none; +} +.entry-content, +.entry-summary { + padding: 1.625em 0 0; +} +.entry-content h1, +.entry-content h2, +.comment-content h1, +.comment-content h2 { + color: #000; + font-weight: bold; + margin: 0 0 .8125em; +} +.entry-content h3, +.comment-content h3 { + font-size: 10px; + letter-spacing: 0.1em; + line-height: 2.6em; + text-transform: uppercase; +} +.entry-content table, +.comment-content table { + border-bottom: 1px solid #ddd; + margin: 0 0 1.625em; + width: 100%; +} +.entry-content th, +.comment-content th { + color: #666; + font-size: 10px; + font-weight: 500; + letter-spacing: 0.1em; + line-height: 2.6em; + text-transform: uppercase; +} +.entry-content td, +.comment-content td { + border-top: 1px solid #ddd; + padding: 6px 10px 6px 0; +} +.entry-content #s { + width: 75%; +} +.comment-content ul, +.comment-content ol { + margin-bottom: 1.625em; +} +.comment-content ul ul, +.comment-content ol ol, +.comment-content ul ol, +.comment-content ol ul { + margin-bottom: 0; +} +dl.gallery-item { + margin: 0; +} +.page-link { + clear: both; + display: block; + margin: 0 0 1.625em; +} +.page-link a { + background: #eee; + color: #373737; + margin: 0; + padding: 2px 3px; + text-decoration: none; +} +.page-link a:hover { + background: #888; + color: #fff; + font-weight: bold; +} +.page-link span { + margin-right: 6px; +} +.entry-meta .edit-link a, +.commentlist .edit-link a { + background: #eee; + -moz-border-radius: 3px; + border-radius: 3px; + color: #666; + float: right; + font-size: 12px; + line-height: 1.5em; + font-weight: 300; + text-decoration: none; + padding: 0 8px; +} +.entry-meta .edit-link a:hover, +.commentlist .edit-link a:hover { + background: #888; + color: #fff; +} +.entry-content .edit-link { + clear: both; + display: block; +} + +/* Images */ +.entry-content img, +.comment-content img, +.widget img { + max-width: 97.5%; /* Fluid images for posts, comments, and widgets */ +} +img[class*="align"], +img[class*="wp-image-"] { + height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */ +} +img.size-full { + max-width: 97.5%; + width: auto; /* Prevent stretching of full-size images with height and width attributes in IE8 */ +} +.entry-content img.wp-smiley { + border: none; + margin-bottom: 0; + margin-top: 0; + padding: 0; +} +img.alignleft, +img.alignright, +img.aligncenter { + margin-bottom: 1.625em; +} +p img, +.wp-caption { + margin-top: 0.4em; +} +.wp-caption { + background: #eee; + margin-bottom: 1.625em; + max-width: 96%; + padding: 9px; +} +.wp-caption img { + display: block; + margin: 0 auto; + max-width: 98%; +} +.wp-caption .wp-caption-text, +.gallery-caption { + color: #666; + font-family: Georgia, serif; + font-size: 12px; +} +.wp-caption .wp-caption-text { + margin-bottom: 0.6em; + padding: 10px 0 5px 40px; + position: relative; +} +.wp-caption .wp-caption-text:before { + color: #666; + content: '\2014'; + font-size: 14px; + font-style: normal; + font-weight: bold; + margin-right: 5px; + position: absolute; + left: 10px; + top: 7px; +} +#content .gallery { + margin: 0 auto 1.625em; +} +#content .gallery a img { + border: none; +} +img#wpstats { + display: block; + margin: 0 auto 1.625em; +} +#content .gallery-columns-4 .gallery-item { + width: 23%; + padding-right: 2%; +} +#content .gallery-columns-4 .gallery-item img { + width: 100%; + height: auto; +} + +/* Image borders */ +img[class*="align"], +img[class*="wp-image-"], +#content .gallery .gallery-icon img {/* Add fancy borders to all WordPress-added images but not things like badges and icons and the like */ + border: 1px solid #ddd; + padding: 6px; +} +.wp-caption img { + border-color: #eee; +} +a:focus img[class*="align"], +a:hover img[class*="align"], +a:active img[class*="align"], +a:focus img[class*="wp-image-"], +a:hover img[class*="wp-image-"], +a:active img[class*="wp-image-"], +#content .gallery .gallery-icon a:focus img, +#content .gallery .gallery-icon a:hover img, +#content .gallery .gallery-icon a:active img {/* Add some useful style to those fancy borders for linked images ... */ + background: #eee; + border-color: #bbb; +} +.wp-caption a:focus img, +.wp-caption a:active img, +.wp-caption a:hover img {/* ... including captioned images! */ + background: #fff; + border-color: #ddd; +} + +/* Password Protected Posts */ +.post-password-required .entry-header .comments-link { + margin: 1.625em 0 0; +} +.post-password-required input[type=password] { + margin: 0.8125em 0; +} +.post-password-required input[type=password]:focus { + background: #f7f7f7; +} + +/* Author Info */ +#author-info { + font-size: 12px; + overflow: hidden; +} +.singular #author-info { + background: #f9f9f9; + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + margin: 2.2em -35.6% 0 -35.4%; + padding: 20px 35.4%; +} +.archive #author-info { + border-bottom: 1px solid #ddd; + margin: 0 0 2.2em; + padding: 0 0 2.2em; +} +#author-avatar { + float: left; + margin-right: -78px; +} +#author-avatar img { + background: #fff; + -moz-border-radius: 3px; + border-radius: 3px; + -webkit-box-shadow: 0 1px 2px #bbb; + -moz-box-shadow: 0 1px 2px #bbb; + box-shadow: 0 1px 2px #bbb; + padding: 3px; +} +#author-description { + float: left; + margin-left: 108px; +} +#author-description h2 { + color: #000; + font-size: 15px; + font-weight: bold; + margin: 5px 0 10px; +} + +/* Comments link */ +.entry-header .comments-link a { + background: #eee url(images/comment-bubble.png) no-repeat; + color: #666; + font-size: 13px; + font-weight: normal; + line-height: 35px; + overflow: hidden; + padding: 0 0 0; + position: absolute; + top: 1.5em; + right: 0; + text-align: center; + text-decoration: none; + width: 43px; + height: 36px; +} +.entry-header .comments-link a:hover, +.entry-header .comments-link a:focus, +.entry-header .comments-link a:active { + background-color: #1982d1; + color: #fff; + color: rgba(255,255,255,0.8); +} +.entry-header .comments-link .leave-reply { + visibility: hidden; +} + +/* +Post Formats Headings +To hide the headings, display: none the ".entry-header .entry-format" selector, +and remove the padding rules below. +*/ +.entry-header .entry-format { + color: #666; + font-size: 10px; + font-weight: 500; + letter-spacing: 0.1em; + line-height: 2.6em; + position: absolute; + text-transform: uppercase; + top: -5px; +} +.entry-header hgroup .entry-title { + padding-top: 15px; +} +article.format-aside .entry-content, +article.format-link .entry-content, +article.format-status .entry-content { + padding: 20px 0 0; +} +.recent-posts .entry-header .entry-format { + display: none; +} +.recent-posts .entry-header hgroup .entry-title { + padding-top: 0; +} + +/* Singular content styles for Posts and Pages */ +.singular .hentry { + border-bottom: none; + padding: 4.875em 0 0; + position: relative; +} +.singular.page .hentry { + padding: 3.5em 0 0; +} +.singular .entry-title { + color: #000; + font-size: 36px; + font-weight: bold; + line-height: 48px; +} +.singular .entry-title, +.singular .entry-header .entry-meta { + padding-right: 0; +} +.singular .entry-header .entry-meta { + position: absolute; + top: 0; + left: 0; +} +blockquote.pull { + font-size: 21px; + font-weight: bold; + line-height: 1.6125em; + margin: 0 0 1.625em; + text-align: center; +} +.singular blockquote.pull { + margin: 0 -22.25% 1.625em; +} +.pull.alignleft { + margin: 0 1.625em 0 0; + text-align: right; + width: 33%; +} +.singular .pull.alignleft { + margin: 0 1.625em 0 -22.25%; +} +.pull.alignright { + margin: 0 0 0 1.625em; + text-align: left; + width: 33%; +} +.singular .pull.alignright { + margin: 0 -22.25% 0 1.625em; +} +.singular blockquote.pull.alignleft, +.singular blockquote.pull.alignright { + width: 33%; +} +.singular .entry-meta .edit-link a { + bottom: auto; + left: 50px; + position: absolute; + right: auto; + top: 80px; +} + + +/* =Aside +----------------------------------------------- */ + +.format-aside .entry-title, +.format-aside .entry-header .comments-link { + display: none; +} +.singular .format-aside .entry-title { + display: block; +} +.format-aside .entry-content { + padding: 0; +} +.singular .format-aside .entry-content { + padding: 1.625em 0 0; +} + + +/* =Link +----------------------------------------------- */ + +.format-link .entry-title, +.format-link .entry-header .comments-link { + display: none; +} +.singular .format-link .entry-title { + display: block; +} +.format-link .entry-content { + padding: 0; +} +.singular .format-link .entry-content { + padding: 1.625em 0 0; +} + + +/* =Gallery +----------------------------------------------- */ + +.format-gallery .gallery-thumb { + float: left; + display: block; + margin: .375em 1.625em 0 0; +} + + +/* =Status +----------------------------------------------- */ + +.format-status .entry-title, +.format-status .entry-header .comments-link { + display: none; +} +.singular .format-status .entry-title { + display: block; +} +.format-status .entry-content { + padding: 0; +} +.singular .format-status .entry-content { + padding: 1.625em 0 0; +} +.format-status img.avatar { + -moz-border-radius: 3px; + border-radius: 3px; + -webkit-box-shadow: 0 1px 2px #ccc; + -moz-box-shadow: 0 1px 2px #ccc; + box-shadow: 0 1px 2px #ccc; + float: left; + margin: 4px 10px 2px 0; + padding: 0; +} + + +/* =Quote +----------------------------------------------- */ + +.format-quote blockquote { + color: #555; + font-size: 17px; + margin: 0; +} + + +/* =Image +----------------------------------------------- */ + +.indexed.format-image .entry-header { + min-height: 61px; /* Prevent the comment icon from colliding with the image when there is no title */ +} +.indexed.format-image .entry-content { + padding-top: 0.5em; +} +.indexed.format-image p, +.indexed.format-image p img { + margin-bottom: 0; +} +.indexed.format-image footer.entry-meta { + background: #ddd; + margin-top: -7px; + padding: 20px 30px; + overflow: hidden; +} +.indexed.format-image div.entry-meta { + display: inline-block; + float: left; + width: 35%; +} +.indexed.format-image div.entry-meta + div.entry-meta { + float: none; + width: 65%; +} +.indexed.format-image .entry-meta span.cat-links, +.indexed.format-image .entry-meta span.tag-links, +.indexed.format-image .entry-meta span.comments-link { + display: block; +} +.indexed.format-image footer.entry-meta a { + color: #444; +} +.indexed.format-image footer.entry-meta a:hover { + color: #fff; +} +#content .indexed.format-image img { + border: none; + max-width: 100%; + padding: 0; +} +.indexed.format-image .wp-caption { + background: #111; + margin-bottom: 0; + max-width: 96%; + padding: 11px; +} +.indexed.format-image .wp-caption .wp-caption-text { + color: #ddd; +} +.indexed.format-image .wp-caption .wp-caption-text:before { + color: #444; +} +.indexed.format-image a:hover img { + opacity: 0.8; +} + + +/* =error404 +----------------------------------------------- */ + +.error404 #main #searchform { + background: #f9f9f9; + border: 1px solid #ddd; + border-width: 1px 0; + margin: 0 -8.9% 1.625em; + overflow: hidden; + padding: 1.625em 8.9%; +} +.error404 #main #s { + width: 95%; +} +.error404 #main .widget { + clear: none; + float: left; + margin-right: 3.7%; + width: 30.85%; +} +.error404 #main .widget_archive { + margin-right: 0; +} +.error404 #main .widget_tag_cloud { + float: none; + margin-right: 0; + width: 100%; +} +.error404 .widgettitle { + font-size: 10px; + letter-spacing: 0.1em; + line-height: 2.6em; + text-transform: uppercase; +} + + +/* =Showcase +----------------------------------------------- */ + +h1.showcase-heading { + color: #666; + font-size: 10px; + font-weight: 500; + letter-spacing: 0.1em; + line-height: 2.6em; + text-transform: uppercase; +} + +/* Intro */ +article.intro { + background: #f9f9f9; + border-bottom: none; + margin: -1.855em -8.9% 1.625em; + padding: 0 8.9%; +} +article.intro .entry-title { + display: none; +} +article.intro .entry-content { + color: #111; + font-size: 16px; + padding: 1.625em 0 0.625em; +} +article.intro .edit-link a { + background: #aaa; + -moz-border-radius: 3px; + border-radius: 3px; + color: #fff; + font-size: 12px; + padding: 0 8px; + position: absolute; + top: 30px; + right: 20px; + text-decoration: none; +} +article.intro .edit-link a:hover, +article.intro .edit-link a:focus, +article.intro .edit-link a:active { + background: #777; +} + +/* Featured post */ +section.featured-post { + float: left; + margin: -1.625em -8.9% 1.625em; + padding: 1.625em 8.9% 0; + position: relative; + width: 100%; +} +section.featured-post .hentry { + border: none; + color: #666; + margin: 0; +} +section.featured-post .entry-meta { + clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ + clip: rect(1px, 1px, 1px, 1px); + position: absolute !important; +} + +/* Small featured post */ +section.featured-post .attachment-small-feature { + float: right; + height: auto; + margin: 0 -8.9% 1.625em 0; + max-width: 59%; + position: relative; + right: -15px; +} +section.featured-post.small { + padding-top: 0; +} +section.featured-post .attachment-small-feature:hover, +section.featured-post .attachment-small-feature:focus, +section.featured-post .attachment-small-feature:active { + opacity: .8; +} +article.feature-image.small { + float: left; + margin: 0 0 1.625em; + width: 45%; +} +article.feature-image.small .entry-title { + line-height: 1.2em; +} +article.feature-image.small .entry-summary { + color: #555; + font-size: 13px; +} +article.feature-image.small .entry-summary p a { + background: #222; + color: #eee; + display: block; + left: -23.8%; + padding: 9px 26px 9px 85px; + position: relative; + text-decoration: none; + top: 20px; + width: 180px; + z-index: 1; +} +article.feature-image.small .entry-summary p a:hover { + background: #1982d1; + color: #eee; + color: rgba(255,255,255,0.8); +} + +/* Large featured post */ +section.feature-image.large { + border: none; + max-height: 288px; + padding: 0; + width: 100%; +} +section.feature-image.large .showcase-heading { + display: none; +} +section.feature-image.large .hentry { + border-bottom: none; + left: 9%; + margin: 1.625em 9% 0 0; + position: absolute; + top: 0; +} +article.feature-image.large .entry-title a { + background: #222; + background: rgba(0,0,0,0.8); + -moz-border-radius: 3px; + border-radius: 3px; + color: #fff; + display: inline-block; + font-weight: 300; + padding: .2em 20px; +} +section.feature-image.large:hover .entry-title a, +section.feature-image.large .entry-title:hover a { + background: #eee; + background: rgba(255,255,255,0.8); + color: #222; +} +article.feature-image.large .entry-summary { + display: none; +} +section.feature-image.large img { + display: block; + height: auto; + max-width: 117.9%; + padding: 0 0 6px; +} + +/* Featured Slider */ +.featured-posts { + border-bottom: 1px solid #ddd; + display: block; + height: 328px; + margin: 1.625em -8.9% 20px; + max-width: 1000px; + padding: 0; + position: relative; + overflow: hidden; +} +.featured-posts .showcase-heading { + padding-left: 8.9%; +} +.featured-posts section.featured-post { + background: #fff; + height: 288px; + left: 0; + margin: 0; + position: absolute; + top: 30px; + width: auto; +} +.featured-posts section.featured-post.large { + max-width: 100%; + overflow: hidden; +} +.featured-posts section.featured-post { + -webkit-transition-duration: 200ms; + -webkit-transition-property: opacity, visibility; + -webkit-transition-timing-function: ease; + -moz-transition-duration: 200ms; + -moz-transition-property: opacity, visibility; + -moz-transition-timing-function: ease; +} +.featured-posts section.featured-post { + opacity: 0; + visibility: hidden; +} +.featured-posts #featured-post-1 { + opacity: 1; + visibility: visible; +} +.featured-post .feature-text:after, +.featured-post .feature-image.small:after { + content: ' '; + background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%); /* FF3.6+ */ + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0)), color-stop(100%,rgba(255,255,255,1))); /* Chrome,Safari4+ */ + background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* Chrome10+,Safari5.1+ */ + background: -o-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* Opera11.10+ */ + background: -ms-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* IE10+ */ + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */ + background: linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* W3C */ + width: 100%; + height: 45px; + position: absolute; + top: 230px; +} +.featured-post .feature-image.small:after { + top: 253px; +} +#content .feature-slider { + top: 5px; + right: 8.9%; + overflow: visible; + position: absolute; +} +.feature-slider ul { + list-style-type: none; + margin: 0; +} +.feature-slider li { + float: left; + margin: 0 6px; +} +.feature-slider a { + background: #3c3c3c; + background: rgba(60,60,60,0.9); + -moz-border-radius: 12px; + border-radius: 12px; + -webkit-box-shadow: inset 1px 1px 5px rgba(0,0,0,0.5), inset 0 0 2px rgba(255,255,255,0.5); + -moz-box-shadow: inset 1px 1px 5px rgba(0,0,0,0.5), inset 0 0 2px rgba(255,255,255,0.5); + box-shadow: inset 1px 1px 5px rgba(0,0,0,0.5), inset 0 0 2px rgba(255,255,255,0.5); + display: block; + width: 14px; + height: 14px; +} +.feature-slider a.active { + background: #1982d1; + -webkit-box-shadow: inset 1px 1px 5px rgba(0,0,0,0.4), inset 0 0 2px rgba(255,255,255,0.8); + -moz-box-shadow: inset 1px 1px 5px rgba(0,0,0,0.4), inset 0 0 2px rgba(255,255,255,0.8); + box-shadow: inset 1px 1px 5px rgba(0,0,0,0.4), inset 0 0 2px rgba(255,255,255,0.8); + cursor: default; + opacity: 0.5; +} + +/* Recent Posts */ +section.recent-posts { + padding: 0 0 1.625em; +} +section.recent-posts .hentry { + border: none; + margin: 0; +} +section.recent-posts .other-recent-posts { + border-bottom: 1px solid #ddd; + list-style: none; + margin: 0; +} +section.recent-posts .other-recent-posts li { + padding: 0.3125em 0; + position: relative; +} +section.recent-posts .other-recent-posts .entry-title { + border-top: 1px solid #ddd; + font-size: 17px; +} +section.recent-posts .other-recent-posts a[rel="bookmark"] { + color: #373737; + float: left; + max-width: 84%; +} +section.recent-posts .other-recent-posts a[rel="bookmark"]:after { + content: '-'; + color: transparent; + font-size: 11px; +} +section.recent-posts .other-recent-posts a[rel="bookmark"]:hover { +} +section.recent-posts .other-recent-posts .comments-link a, +section.recent-posts .other-recent-posts .comments-link > span { + border-bottom: 2px solid #999; + bottom: -2px; + color: #444; + display: block; + font-size: 10px; + font-weight: 500; + line-height: 2.76333em; + padding: 0.3125em 0 0.3125em 1em; + position: absolute; + right: 0; + text-align: right; + text-transform: uppercase; + z-index: 1; +} +section.recent-posts .other-recent-posts .comments-link > span { + border-color: #bbb; + color: #888; +} +section.recent-posts .other-recent-posts .comments-link a:hover { + color: #1982d1; + border-color: #1982d1; +} +section.recent-posts .other-recent-posts li:after { + clear: both; + content: '.'; + display: block; + height: 0; + visibility: hidden; +} + + +/* =Attachments +----------------------------------------------- */ + +.image-attachment div.attachment { + background: #f9f9f9; + border: 1px solid #ddd; + border-width: 1px 0; + margin: 0 -8.9% 1.625em; + overflow: hidden; + padding: 1.625em 1.625em 0; + text-align: center; +} +.image-attachment div.attachment img { + display: block; + height: auto; + margin: 0 auto 1.625em; + max-width: 100%; +} +.image-attachment div.attachment a img { + border-color: #f9f9f9; +} +.image-attachment div.attachment a:focus img, +.image-attachment div.attachment a:hover img, +.image-attachment div.attachment a:active img { + border-color: #ddd; + background: #fff; +} +.image-attachment .entry-caption p { + font-size: 10px; + letter-spacing: 0.1em; + line-height: 2.6em; + margin: 0 0 2.6em; + text-transform: uppercase; +} + + +/* =Navigation +-------------------------------------------------------------- */ + +#content nav { + clear: both; + overflow: hidden; + padding: 0 0 1.625em; +} +#content nav a { + font-size: 12px; + font-weight: bold; + line-height: 2.2em; +} +#nav-above { + padding: 0 0 1.625em; +} +#nav-above { + display: none; +} +.paged #nav-above { + display: block; +} +.nav-previous { + float: left; + width: 50%; +} +.nav-next { + float: right; + text-align: right; + width: 50%; +} +#content nav .meta-nav { + font-weight: normal; +} + +/* Singular navigation */ +#nav-single { + float: right; + position: relative; + top: -0.3em; + text-align: right; + width: 100%; + z-index: 1; +} +#nav-single .nav-previous, +#nav-single .nav-next { + float: none; + width: auto; +} +#nav-single .nav-next { + padding-left: .5em; +} + + +/* =Widgets +----------------------------------------------- */ + +.widget-area { + font-size: 12px; +} +.widget { + clear: both; + margin: 0 0 2.2em; +} +.widget-title { + color: #666; + font-size: 10px; + font-weight: 500; + letter-spacing: 0.1em; + line-height: 2.6em; + text-transform: uppercase; +} +.widget ul { + font-size: 15px; + margin: 0; +} +.widget ul ul { + margin-left: 1.5em; +} +.widget ul li { + color: #777; + font-size: 13px; +} +.widget a { + font-weight: bold; + text-decoration: none; +} +.widget a:hover, +.widget a:focus, +.widget a:active { + text-decoration: underline; +} + +/* Search Widget */ +.widget_search form { + margin: 0 0 1.625em; +} +.widget_search #s { + width: 77%; +} +.widget_search #searchsubmit { + background: #ddd; + border: 1px solid #ccc; + -webkit-box-shadow: inset 0px -1px 1px rgba(0, 0, 0, 0.09); + -moz-box-shadow: inset 0px -1px 1px rgba(0, 0, 0, 0.09); + box-shadow: inset 0px -1px 1px rgba(0, 0, 0, 0.09); + color: #888; + font-size: 13px; + line-height: 25px; + position: relative; + top: -2px; +} +.widget_search #searchsubmit:active { + background: #1982d1; + border-color: #0861a5; + -webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1); + -moz-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1); + box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1); + color: #bfddf3; +} + +/* Ephemera Widget */ +section.ephemera ol, +.widget_twentyeleven_ephemera ol { + list-style: square; + margin: 5px 0 0; +} +.widget_twentyeleven_ephemera .widget-entry-title { + font-size: 15px; + font-weight: bold; + padding: 0; +} +.widget_twentyeleven_ephemera .comments-link a, +.widget_twentyeleven_ephemera .comments-link > span { + color: #666; + display: block; + font-size: 10px; + font-weight: 500; + line-height: 2.76333em; + text-transform: uppercase; +} +section.ephemera .entry-title .comments-link a:hover, +.widget_twentyeleven_ephemera .entry-title .comments-link a:hover { +} +section.ephemera .entry-title a span { + color: #29628d; +} + +/* Twitter */ +.widget_twitter li { + list-style-type: none; + margin-bottom: 14px; +} +.widget_twitter .timesince { + display: block; + font-size: 11px; + margin-right: -10px; + text-align: right; +} + +/* Widget Image */ +.widget_image img { + height: auto; + max-width: 100%; +} + +/* Calendar Widget */ + +.widget_calendar #wp-calendar { + color: #555; + width: 95%; + text-align: center; +} +.widget_calendar #wp-calendar caption, +.widget_calendar #wp-calendar td, +.widget_calendar #wp-calendar th { + text-align: center; +} +.widget_calendar #wp-calendar caption { + font-size: 11px; + font-weight: 500; + padding: 5px 0 3px 0; + text-transform: uppercase; +} +.widget_calendar #wp-calendar th { + background: #f4f4f4; + border-top: 1px solid #ccc; + border-bottom: 1px solid #ccc; + font-weight: bold; +} +.widget_calendar #wp-calendar tfoot td { + background: #f4f4f4; + border-top: 1px solid #ccc; + border-bottom: 1px solid #ccc; +} + + +/* =Comments +----------------------------------------------- */ + +#comments-title { + color: #666; + font-size: 10px; + font-weight: 500; + line-height: 2.6em; + padding: 0 0 2.6em; + text-transform: uppercase; +} +.nopassword, +.nocomments { + color: #aaa; + font-size: 24px; + font-weight: 100; + margin: 26px 0; + text-align: center; +} +.commentlist { + list-style: none; + margin: 0 auto; + width: 68.9%; +} +.content .commentlist, +.page-template-sidebar-page-php .commentlist { + width: 100%; /* reset the width for the one-column and sidebar page layout */ +} +.commentlist > li.comment { + background: #f6f6f6; + border: 1px solid #ddd; + -moz-border-radius: 3px; + border-radius: 3px; + margin: 0 0 1.625em; + padding: 1.625em; + position: relative; +} +.commentlist .pingback { + margin: 0 0 1.625em; + padding: 0 1.625em; +} +.commentlist .children { + list-style: none; + margin: 0; +} +.commentlist .children li.comment { + background: #fff; + border-left: 1px solid #ddd; + -moz-border-radius: 0 3px 3px 0; + border-radius: 0 3px 3px 0; + margin: 1.625em 0 0; + padding: 1.625em; + position: relative; +} +.commentlist .children li.comment .fn { + display: block; +} +.comment-meta .fn { + font-style: normal; +} +.comment-meta { + color: #666; + font-size: 12px; + line-height: 2.2em; +} +.commentlist .children li.comment .comment-meta { + line-height: 1.625em; + margin-left: 50px; +} +.commentlist .children li.comment .comment-content { + margin: 1.625em 0 0; +} +.comment-meta a { + font-weight: bold; +} +.comment-meta a:focus, +.comment-meta a:active, +.comment-meta a:hover { +} +.commentlist .avatar { + -moz-border-radius: 3px; + border-radius: 3px; + -webkit-box-shadow: 0 1px 2px #ccc; + -moz-box-shadow: 0 1px 2px #ccc; + box-shadow: 0 1px 2px #ccc; + left: -102px; + padding: 0; + position: absolute; + top: 0; +} +.commentlist > li:before { + content: url(images/comment-arrow.png); + left: -21px; + position: absolute; +} +.commentlist > li.pingback:before { + content: ''; +} +.commentlist .children .avatar { + background: none; + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; + left: 2.2em; + padding: 0; + top: 2.2em; +} +a.comment-reply-link { + background: #eee; + -moz-border-radius: 3px; + border-radius: 3px; + color: #666; + display: inline-block; + font-size: 12px; + padding: 0 8px; + text-decoration: none; +} +a.comment-reply-link:hover, +a.comment-reply-link:focus, +a.comment-reply-link:active { + background: #888; + color: #fff; +} +a.comment-reply-link > span { + display: inline-block; + position: relative; + top: -1px; +} + +/* Post author highlighting */ +.commentlist > li.bypostauthor { + background: #ddd; + border-color: #d3d3d3; +} +.commentlist > li.bypostauthor .comment-meta { + color: #575757; +} +.commentlist > li.bypostauthor .comment-meta a:focus, +.commentlist > li.bypostauthor .comment-meta a:active, +.commentlist > li.bypostauthor .comment-meta a:hover { +} +.commentlist > li.bypostauthor:before { + content: url(images/comment-arrow-bypostauthor.png); +} + +/* Post Author threaded comments */ +.commentlist .children > li.bypostauthor { + background: #ddd; + border-color: #d3d3d3; +} + +/* sidebar-page.php comments */ +/* Make sure we have room for our comment avatars */ +.page-template-sidebar-page-php .commentlist > li.comment, +.page-template-sidebar-page-php.commentlist .pingback { + margin-left: 102px; + width: auto; +} +/* And a full-width comment form */ +.page-template-sidebar-page-php #respond { + width: auto; +} + +/* Comment Form */ +#respond { + background: #ddd; + border: 1px solid #d3d3d3; + -moz-border-radius: 3px; + border-radius: 3px; + margin: 0 auto 1.625em; + padding: 1.625em; + position: relative; + width: 68.9%; +} +#respond input[type="text"], +#respond textarea { + background: #fff; + border: 4px solid #eee; + -moz-border-radius: 5px; + border-radius: 5px; + -webkit-box-shadow: inset 0 1px 3px rgba(204,204,204,0.95); + -moz-box-shadow: inset 0 1px 3px rgba(204,204,204,0.95); + box-shadow: inset 0 1px 3px rgba(204,204,204,0.95); + position: relative; + padding: 10px; + text-indent: 80px; +} +#respond .comment-form-author, +#respond .comment-form-email, +#respond .comment-form-url, +#respond .comment-form-comment { + position: relative; +} +#respond .comment-form-author label, +#respond .comment-form-email label, +#respond .comment-form-url label, +#respond .comment-form-comment label { + background: #eee; + -webkit-box-shadow: 1px 2px 2px rgba(204,204,204,0.8); + -moz-box-shadow: 1px 2px 2px rgba(204,204,204,0.8); + box-shadow: 1px 2px 2px rgba(204,204,204,0.8); + color: #555; + display: inline-block; + font-size: 13px; + left: 4px; + min-width: 60px; + padding: 4px 10px; + position: relative; + top: 40px; + z-index: 1; +} +#respond input[type="text"]:focus, +#respond textarea:focus { + text-indent: 0; + z-index: 1; +} +#respond textarea { + resize: vertical; + width: 95%; +} +#respond .comment-form-author .required, +#respond .comment-form-email .required { + color: #bd3500; + font-size: 22px; + font-weight: bold; + left: 75%; + position: absolute; + top: 45px; + z-index: 1; +} +#respond .comment-notes, +#respond .logged-in-as { + font-size: 13px; +} +#respond p { + margin: 10px 0; +} +#respond .form-submit { + float: right; + margin: -20px 0 10px; +} +#respond input#submit { + background: #222; + border: none; + -moz-border-radius: 3px; + border-radius: 3px; + -webkit-box-shadow: 0px 1px 2px rgba(0,0,0,0.3); + -moz-box-shadow: 0px 1px 2px rgba(0,0,0,0.3); + box-shadow: 0px 1px 2px rgba(0,0,0,0.3); + color: #eee; + cursor: pointer; + font-size: 15px; + margin: 20px 0; + padding: 5px 42px 5px 22px; + position: relative; + left: 30px; + text-shadow: 0 -1px 0 rgba(0,0,0,0.3); +} +#respond input#submit:active { + background: #1982d1; + color: #bfddf3; +} +#respond #cancel-comment-reply-link { + color: #666; + margin-left: 10px; + text-decoration: none; +} +#respond .logged-in-as a:hover, +#respond #cancel-comment-reply-link:hover { + text-decoration: underline; +} +.commentlist #respond { + margin: 1.625em 0 0; + width: auto; +} +#reply-title { + color: #373737; + font-size: 24px; + font-weight: bold; + line-height: 30px; +} +#cancel-comment-reply-link { + color: #888; + display: block; + font-size: 10px; + font-weight: normal; + line-height: 2.2em; + letter-spacing: 0.05em; + position: absolute; + right: 1.625em; + text-decoration: none; + text-transform: uppercase; + top: 1.1em; +} +#cancel-comment-reply-link:focus, +#cancel-comment-reply-link:active, +#cancel-comment-reply-link:hover { + color: #ff4b33; +} +#respond label { + line-height: 2.2em; +} +#respond input[type=text] { + display: block; + height: 24px; + width: 75%; +} +#respond p { + font-size: 12px; +} +p.comment-form-comment { + margin: 0; +} +.form-allowed-tags { + display: none; +} + + +/* =Footer +----------------------------------------------- */ + +#colophon { + clear: both; +} +#supplementary { + border-top: 1px solid #ddd; + padding: 1.625em 7.6%; + overflow: hidden; +} + +/* Two Footer Widget Areas */ +#supplementary.two .widget-area { + float: left; + margin-right: 3.7%; + width: 48.1%; +} +#supplementary.two .widget-area + .widget-area { + margin-right: 0; +} + +/* Three Footer Widget Areas */ +#supplementary.three .widget-area { + float: left; + margin-right: 3.7%; + width: 30.85%; +} +#supplementary.three .widget-area + .widget-area + .widget-area { + margin-right: 0; +} + +/* Site Generator Line */ +#site-generator { + background: #f9f9f9; + border-top: 1px solid #ddd; + color: #666; + font-size: 12px; + line-height: 2.2em; + padding: 2.2em 0.5em; + text-align: center; +} +#site-generator a { + color: #555; + font-weight: bold; +} +#site-generator .sep { + background: url(images/wordpress.png) center left no-repeat; + color: transparent; + display: inline-block; + height: 16px; + line-height: 16px; + margin: 0 7px; + width: 16px; +} + + +/* =Responsive Structure +----------------------------------------------- */ + +@media (max-width: 800px) { + /* Simplify the basic layout */ + #main #content { + margin: 0 7.6%; + width: auto; + } + #nav-below { + border-bottom: 1px solid #ddd; + margin-bottom: 1.625em; + } + #main #secondary { + float: none; + margin: 0 7.6%; + width: auto; + } + /* Simplify the showcase template */ + .page-template-showcase-php .featured-posts { + min-height: 280px; + } + .featured-posts section.featured-post { + height: auto; + } + .page-template-showcase-php section.recent-posts { + float: none; + margin: 0; + width: 100%; + } + .page-template-showcase-php #main .widget-area { + float: none; + margin: 0; + width: auto; + } + .page-template-showcase-php .other-recent-posts { + border-bottom: 1px solid #ddd; + } + /* Simplify the showcase template when small feature */ + section.featured-post .attachment-small-feature, + .one-column section.featured-post .attachment-small-feature { + border: none; + display: block; + float: left; + height: auto; + margin: 0.625em auto 1.025em; + max-width: 30%; + position: static; + } + article.feature-image.small { + float: right; + margin: 0 0 1.625em; + width: 64%; + } + .one-column article.feature-image.small .entry-summary { + height: auto; + } + article.feature-image.small .entry-summary p a { + left: 0; + padding-left: 20px; + padding-right: 20px; + width: auto; + } + /* Remove the margin on singular articles */ + .singular .entry-header, + .singular .entry-content, + .singular footer.entry-meta, + .singular #comments-title { + width: 100%; + } + /* Simplify the pullquotes and pull styles */ + .singular blockquote.pull { + margin: 0 0 1.625em; + } + .singular .pull.alignleft { + margin: 0 1.625em 0 0; + } + .singular .pull.alignright { + margin: 0 0 0 1.625em; + } + .singular .entry-meta .edit-link a { + left: 0; + position: absolute; + top: 40px; + } + .singular #author-info { + margin: 2.2em -8.8% 0; + padding: 20px 8.8%; + } + /* Make sure we have room for our comment avatars */ + .commentlist { + width: 100%; + } + .commentlist > li.comment, + .commentlist .pingback { + margin-left: 102px; + width: auto; + } + /* And a full-width comment form */ + #respond { + width: auto; + } + /* No need to float footer widgets at this size */ + #colophon #supplementary .widget-area { + float: none; + margin-right: 0; + width: auto; + } + /* No need to float 404 widgets at this size */ + .error404 #main .widget { + float: none; + margin-right: 0; + width: auto; + } + /* Make sure embeds fit their containers */ + embed, + object { + max-width: 100%; + } + +} +@media (max-width: 650px) { + /* @media (max-width: 650px) Reduce font-sizes for better readability on smaller devices */ + body, input, textarea { + font-size: 13px; + } + #site-title a { + font-size: 24px; + } + #site-description { + font-size: 12px; + } + #access ul { + font-size: 12px; + } + article.intro .entry-content { + font-size: 12px; + } + .entry-title { + font-size: 21px; + } + .featured-post .entry-title { + font-size: 14px; + } + .singular .entry-title { + font-size: 28px; + } + .entry-meta { + font-size: 12px; + } + blockquote { + margin: 0; + } + blockquote.pull { + font-size: 17px; + } + /* Reposition the site title and description slightly */ + #site-title { + padding: 5.30625em 0 0; + } + #site-title, + #site-description { + margin-right: 0; + } + /* Make sure the logo and search form don't collide */ + #branding #searchform { + top: 1.625em !important; + } + /* Floated content doesn't work well at this size */ + .alignleft, + .alignright { + float: none; + margin-left: 0; + margin-right: 0; + } + /* Make sure the post-post navigation doesn't collide with anything */ + #nav-single { + display: block; + position: static; + } + .singular .hentry { + padding: 1.625em 0 0; + } + .singular.page .hentry { + padding: 1.625em 0 0; + } + /* Talking avatars take up too much room at this size */ + .commentlist > li.comment, + .commentlist > li.pingback { + margin-left: 0 !important; + } + .commentlist .avatar { + background: transparent; + display: block; + padding: 0; + position: static; + } + .commentlist .children .avatar { + background: none; + left: 2.2em; + padding: 0; + position: absolute; + top: 2.2em; + } + /* Use the available space in the smaller comment form */ + #respond input[type="text"] { + width: 95%; + } + #respond .comment-form-author .required, + #respond .comment-form-email .required { + left: 95%; + } + #content .gallery-columns-3 .gallery-item { + width: 31%; + padding-right: 2%; + } + #content .gallery-columns-3 .gallery-item img { + width: 100%; + height: auto; + } + +} +@media (max-width: 450px) { + #content .gallery-columns-2 .gallery-item { + width: 45%; + padding-right: 4%; + } + #content .gallery-columns-2 .gallery-item img { + width: 100%; + height: auto; + } + +} +@media only screen and (min-device-width: 320px) and (max-device-width: 480px) { + body { + padding: 0; + } + #page { + margin-top: 0; + } + #branding { + border-top: none; + } + +} + + +/* =Print +----------------------------------------------- */ + +@media print { + body { + background: none !important; + font-size: 10pt; + } + footer.entry-meta a[rel=bookmark]:link:after, + footer.entry-meta a[rel=bookmark]:visited:after { + content: " [" attr(href) "] "; /* Show URLs */ + } + #page { + clear: both !important; + display: block !important; + float: none !important; + max-width: 100%; + position: relative !important; + } + #branding { + border-top: none !important; + padding: 0; + } + #branding hgroup { + margin: 0; + } + #site-title a { + font-size: 21pt; + } + #site-description { + font-size: 10pt; + } + #branding #searchform { + display: none; + } + #branding img { + display: none; + } + #access { + display: none; + } + #main { + border-top: none; + box-shadow: none; + } + #primary { + float: left; + margin: 0; + width: 100%; + } + #content { + margin: 0; + width: auto; + } + .singular #content { + margin: 0; + width: 100%; + } + .singular .entry-header .entry-meta { + position: static; + } + .entry-meta .edit-link a { + display: none; + } + #content nav { + display: none; + } + .singular .entry-header, + .singular .entry-content, + .singular footer.entry-meta, + .singular #comments-title { + margin: 0; + width: 100%; + } + .singular .hentry { + padding: 0; + } + .entry-title, + .singular .entry-title { + font-size: 21pt; + } + .entry-meta { + font-size: 10pt; + } + .entry-header .comments-link { + display: none; + } + .page-link { + display: none; + } + .singular #author-info { + background: none; + border-bottom: none; + border-top: none; + margin: 2.2em 0 0; + padding: 0; + } + #respond { + display: none; + } + .widget-area { + display: none; + } + #colophon { + display: none; + } + + /* Comments */ + .commentlist > li.comment { + background: none; + border: 1px solid #ddd; + -moz-border-radius: 3px 3px 3px 3px; + border-radius: 3px 3px 3px 3px; + margin: 0 auto 1.625em; + padding: 1.625em; + position: relative; + width: auto; + } + .commentlist .avatar { + height: 39px; + left: 2.2em; + top: 2.2em; + width: 39px; + } + .commentlist li.comment .comment-meta { + line-height: 1.625em; + margin-left: 50px; + } + .commentlist li.comment .fn { + display: block; + } + .commentlist li.comment .comment-content { + margin: 1.625em 0 0; + } + .commentlist .comment-edit-link { + display: none; + } + .commentlist > li::before, + .commentlist > li.bypostauthor::before { + content: ''; + } + .commentlist .reply { + display: none; + } + + /* Post author highlighting */ + .commentlist > li.bypostauthor { + color: #444; + } + .commentlist > li.bypostauthor .comment-meta { + color: #666; + } + .commentlist > li.bypostauthor:before { + content: none; + } + + /* Post Author threaded comments */ + .commentlist .children > li.bypostauthor { + background: #fff; + border-color: #ddd; + } + .commentlist .children > li.bypostauthor > article, + .commentlist .children > li.bypostauthor > article .comment-meta { + color: #666; + } + +} + + +/* =IE7 +----------------------------------------------- */ + +#ie7 article.intro { + margin-left: -7.6%; + margin-right: -7.6%; + padding-left: -7.6%; + padding-right: -7.6%; + max-width: 1000px; +} +#ie7 section.featured-post { + margin-left: -7.6%; + margin-right: -7.6%; + max-width: 850px; +} +#ie7 section.recent-posts { + margin-right: 7.6%; +} diff --git a/src/wp-content/themes/twentyeleven/tag.php b/src/wp-content/themes/twentyeleven/tag.php new file mode 100644 index 0000000..8180a8c --- /dev/null +++ b/src/wp-content/themes/twentyeleven/tag.php @@ -0,0 +1,65 @@ + + +
      +
      + + + +
      ' ); + ?> + + + + + + + + + + + + + + + +
      +
      +

      +
      + +
      +

      + +
      +
      + + + +
      + + + + diff --git a/src/wp-content/uploads/2011/07/acro1-100x100.jpg b/src/wp-content/uploads/2011/07/acro1-100x100.jpg new file mode 100644 index 0000000..25c0a2b Binary files /dev/null and b/src/wp-content/uploads/2011/07/acro1-100x100.jpg differ diff --git a/src/wp-content/uploads/2011/07/acro1-150x150.jpg b/src/wp-content/uploads/2011/07/acro1-150x150.jpg new file mode 100644 index 0000000..769388b Binary files /dev/null and b/src/wp-content/uploads/2011/07/acro1-150x150.jpg differ diff --git a/src/wp-content/uploads/2011/07/acro1-160x160.jpg b/src/wp-content/uploads/2011/07/acro1-160x160.jpg new file mode 100644 index 0000000..3b203e3 Binary files /dev/null and b/src/wp-content/uploads/2011/07/acro1-160x160.jpg differ diff --git a/src/wp-content/uploads/2011/07/acro1-250x250.jpg b/src/wp-content/uploads/2011/07/acro1-250x250.jpg new file mode 100644 index 0000000..5872995 Binary files /dev/null and b/src/wp-content/uploads/2011/07/acro1-250x250.jpg differ diff --git a/src/wp-content/uploads/2011/07/acro1-300x248.jpg b/src/wp-content/uploads/2011/07/acro1-300x248.jpg new file mode 100644 index 0000000..8f3cf7d Binary files /dev/null and b/src/wp-content/uploads/2011/07/acro1-300x248.jpg differ diff --git a/src/wp-content/uploads/2011/07/acro1.jpg b/src/wp-content/uploads/2011/07/acro1.jpg new file mode 100644 index 0000000..2c71b3e Binary files /dev/null and b/src/wp-content/uploads/2011/07/acro1.jpg differ diff --git a/src/wp-content/uploads/2011/07/acro2-100x100.jpg b/src/wp-content/uploads/2011/07/acro2-100x100.jpg new file mode 100644 index 0000000..a2e077b Binary files /dev/null and b/src/wp-content/uploads/2011/07/acro2-100x100.jpg differ diff --git a/src/wp-content/uploads/2011/07/acro2-150x150.jpg b/src/wp-content/uploads/2011/07/acro2-150x150.jpg new file mode 100644 index 0000000..3dc2f7c Binary files /dev/null and b/src/wp-content/uploads/2011/07/acro2-150x150.jpg differ diff --git a/src/wp-content/uploads/2011/07/acro2-160x160.jpg b/src/wp-content/uploads/2011/07/acro2-160x160.jpg new file mode 100644 index 0000000..4233d8a Binary files /dev/null and b/src/wp-content/uploads/2011/07/acro2-160x160.jpg differ diff --git a/src/wp-content/uploads/2011/07/acro2-250x250.jpg b/src/wp-content/uploads/2011/07/acro2-250x250.jpg new file mode 100644 index 0000000..aea10e0 Binary files /dev/null and b/src/wp-content/uploads/2011/07/acro2-250x250.jpg differ diff --git a/src/wp-content/uploads/2011/07/acro2-300x209.jpg b/src/wp-content/uploads/2011/07/acro2-300x209.jpg new file mode 100644 index 0000000..506ee48 Binary files /dev/null and b/src/wp-content/uploads/2011/07/acro2-300x209.jpg differ diff --git a/src/wp-content/uploads/2011/07/acro2.jpg b/src/wp-content/uploads/2011/07/acro2.jpg new file mode 100644 index 0000000..8f6b612 Binary files /dev/null and b/src/wp-content/uploads/2011/07/acro2.jpg differ diff --git a/src/wp-content/uploads/2011/07/ari1-100x100.jpg b/src/wp-content/uploads/2011/07/ari1-100x100.jpg new file mode 100644 index 0000000..f739085 Binary files /dev/null and b/src/wp-content/uploads/2011/07/ari1-100x100.jpg differ diff --git a/src/wp-content/uploads/2011/07/ari1-150x150.jpg b/src/wp-content/uploads/2011/07/ari1-150x150.jpg new file mode 100644 index 0000000..12916ee Binary files /dev/null and b/src/wp-content/uploads/2011/07/ari1-150x150.jpg differ diff --git a/src/wp-content/uploads/2011/07/ari1-160x160.jpg b/src/wp-content/uploads/2011/07/ari1-160x160.jpg new file mode 100644 index 0000000..66d6958 Binary files /dev/null and b/src/wp-content/uploads/2011/07/ari1-160x160.jpg differ diff --git a/src/wp-content/uploads/2011/07/ari1-250x250.jpg b/src/wp-content/uploads/2011/07/ari1-250x250.jpg new file mode 100644 index 0000000..75c6127 Binary files /dev/null and b/src/wp-content/uploads/2011/07/ari1-250x250.jpg differ diff --git a/src/wp-content/uploads/2011/07/ari1-300x226.jpg b/src/wp-content/uploads/2011/07/ari1-300x226.jpg new file mode 100644 index 0000000..f3fb2c9 Binary files /dev/null and b/src/wp-content/uploads/2011/07/ari1-300x226.jpg differ diff --git a/src/wp-content/uploads/2011/07/ari1-45x33.jpg b/src/wp-content/uploads/2011/07/ari1-45x33.jpg new file mode 100644 index 0000000..137bbfb Binary files /dev/null and b/src/wp-content/uploads/2011/07/ari1-45x33.jpg differ diff --git a/src/wp-content/uploads/2011/07/ari1-95x71.jpg b/src/wp-content/uploads/2011/07/ari1-95x71.jpg new file mode 100644 index 0000000..ed28a32 Binary files /dev/null and b/src/wp-content/uploads/2011/07/ari1-95x71.jpg differ diff --git a/src/wp-content/uploads/2011/07/ari1.jpg b/src/wp-content/uploads/2011/07/ari1.jpg new file mode 100644 index 0000000..6ea68dd Binary files /dev/null and b/src/wp-content/uploads/2011/07/ari1.jpg differ diff --git a/src/wp-content/uploads/aparadores.csv b/src/wp-content/uploads/aparadores.csv new file mode 100644 index 0000000..f231e2d --- /dev/null +++ b/src/wp-content/uploads/aparadores.csv @@ -0,0 +1,66 @@ +SKU ,Product Name,Price,Dimension Height,Dimension Height Unit ,Dimension Width ,Dimension Width Unit ,Dimension Length ,Dimension Length Unit ,Product Description ,Thumbnail Image +ACRO 66ML,ACRO 66ML,697€,85,cm,130,cm,45,cm,,ACRO-66ML.jpg +ACRO-30A,ACRO-30A,649€,90,cm,150,cm,45,cm,,ACRO-30A.jpg +ARI 102247,ARI 102247,649€,82,cm,123,cm,40,cm,,ARI-102247.jpg +ARI 102284,ARI 102284,679€,90,cm,146,cm,35,cm,,ARI-102284.jpg +ARI 102287,ARI 102287,697€,89,cm,140,cm,35,cm,,ARI-102287.jpg +CAC 599-003649,CAC 599-003649,635€,80,cm,165,cm,50,cm,,CAC-599-003649.jpg +CAC 599-004463,CAC 599-004463,729€,80,cm,170,cm,50,cm,TAMBIEN EN BLANCO,CAC-599-004463.jpg +CAC 599-004565,CAC 599-004565,629€,80,cm,180,cm,40,cm,TAMBIEN EN AZUL,CAC-599-004565.jpg +DUG 661,DUG 661,1037€,78,cm,178,cm,49,cm,,DUG-661.jpg +DUG 741,DUG 741,929€,78,cm,190,cm,50,cm,,DUG-741.jpg +DUG 741,DUG 741,929€,78,cm,190,cm,50,cm,NEGRO,DUG-741.jpg +DUG W 743,DUG W 743,837€,78,cm,160,cm,50,cm,,DUG-W-743.jpg +IMO 35-113,IMO 35-113,797€,88,cm,140,cm,45,cm,,IMO-35-113.jpg +IMO 35-126,IMO 35-126,998€,110,cm,150,cm,45,cm,,IMO-35-126.jpg +IMO 35-57,IMO 35-57,897€,110,cm,160,cm,43,cm,,IMO-35-57.jpg +IMO 35-81,IMO 35-81,879€,90,cm,160,cm,45,cm,,IMO-35-81.jpg +IMO 75-12,IMO 75-12,729€,95,cm,145,cm,45,cm,,IMO-75-12.jpg +IMO 75-25,IMO 75-25,519€,95,cm,127,cm,35,cm,,IMO-75-25.jpg +IMO 75-26,IMO 75-26,627€,80,cm,180,cm,45,cm,,IMO-75-26.jpg +IMO 75-39,IMO 75-39,928€,115,cm,165,cm,45,cm,,IMO-75-39.jpg +IMO 75-46,IMO 75-46,497€,85,cm,120,cm,40,cm,,IMO-75-46.jpg +IXI 16265,IXI 16265,637€,90,cm,150,cm,45,cm,,IXI-16265.jpg +IXI 7600400,IXI 7600400,657€,86,cm,160,cm,40,cm,,IXI-7600400.jpg +IXI 7600500,IXI 7600500,747€,116,cm,160,cm,40,cm,,IXI-7600500.jpg +IXI 7600600,IXI 7600600,579€,85,cm,120,cm,40,cm,,IXI-7600600.jpg +KUBIK 1400,KUBIK 1400,697€,80,cm,180,cm,40,cm,,KUBIK-1400.jpg +MIR-10700,MIR-10700,1049€,100,cm,180,cm,42,cm,,MIR-10700.jpg +MOY 145062J,MOY 145062J,719€,85,cm,160,cm,40,cm,,MOY-145062J.jpg +MOY 30950,MOY 30950,759€,80,cm,170,cm,40,cm,,MOY-30950.jpg +MOY-145062,MOY-145062,689€,85,cm,160,cm,40,cm,,MOY-145062.jpg +MOY-145071,MOY-145071,597€,80,cm,150,cm,40,cm,,MOY-145071.jpg +MOY-14601,MOY-14601,769€,115,cm,140,cm,40,cm,,MOY-14601.jpg +MOY-14608,MOY-14608,654€,75,cm,182,cm,45,cm,,MOY-14608.jpg +MOY-30137,MOY-30137,579€,80,cm,135,cm,40,cm,,MOY-30137.jpg +MOY-301528,MOY-301528,667€,85,cm,160,cm,40,cm,,MOY-301528.jpg +MOY-301529,MOY-301529,519€,80,cm,135,cm,40,cm,,MOY-301529.jpg +MOY-30212,MOY-30212,619€,88,cm,160,cm,40,cm,,MOY-30212.jpg +MOY-30298,MOY-30298,519€,80,cm,120,cm,45,cm,,MOY-30298.jpg +MOY-30313,MOY-30313,715€,85,cm,180,cm,45,cm,,MOY-30313.jpg +MOY-30541,MOY-30541,657€,86,cm,160,cm,40,cm,,MOY-30541.jpg +MOY-30550,MOY-30550,825€,116,cm,160,cm,40,cm,,MOY-30550.jpg +MOY-30940,MOY-30940,679€,80,cm,160,cm,45,cm,,MOY-30940.jpg +OM 555,OM 555,842€,95,cm,170,cm,40,cm,,OM-555.jpg +OM 627,OM 627,784€,95,cm,180,cm,45,cm,,OM-627.jpg +OM 666,OM 666,842€,90,cm,180,cm,45,cm,,OM-666.jpg +OM 706,OM 706,898€,90,cm,170,cm,40,cm,,OM-706.jpg +OM 728,OM 728,754€,65,cm,150,cm,45,cm,,OM-728.jpg +OM-1150,OM-1150,986€,90,cm,175,cm,45,cm,,OM-1150.jpg +OM-1151,OM-1151,798€,75,cm,150,cm,45,cm,,OM-1151.jpg +OM-1161,OM-1161,697€,75,cm,120,cm,45,cm,,OM-1161.jpg +OM-1167,OM-1167,578€,70,cm,140,cm,40,cm,,OM-1167.jpg +OM-1172,OM-1172,947€,85,cm,180,cm,45,cm,,OM-1172.jpg +OM-732,OM-732,1119€,85,cm,200,cm,40,cm,,OM-732.jpg +OM-740,OM-740,832€,80,cm,170,cm,45,cm,,OM-740.jpg +SOC-10077,SOC-10077,1129€,90,cm,180,cm,50,cm,,SOC-10077.jpg +SOC-10093,SOC-10093,1029€,85,cm,160,cm,45,cm,tambien en rojo 10185 negro 10184,SOC-10093.jpg +SP-30214,SP-30214,567€,90,cm,130,cm,40,cm,,SP-30214.jpg +SP-31440,SP-31440,589€,87,cm,150,cm,40,cm,,SP-31440.jpg +SP-31577,SP-31577,687€,85,cm,150,cm,40,cm,,SP-31577.jpg +VA-3127,VA-3127,739€,82,cm,205,cm,55,cm,,VA-3127.jpg +VA-8302,VA-8302,629€,80,cm,170,cm,40,cm,,VA-8302.jpg +VA-8316,VA-8316,629€,80,cm,170,cm,40,cm,,VA-8316.jpg +VIC-16224,VIC-16224,457€,80,cm,120,cm,38,cm,,VIC-16224.jpg +VIC-15671,VIC-15671,397€,80,cm,120,cm,38,cm,,VIC-15671.jpg +VIC-16205,VIC-16205,497€,78,cm,130,cm,40,cm,,VIC-16205.jpg diff --git a/src/wp-content/uploads/shadowbox-js/013d5c71fe05b4d742ad31118132ec80.js b/src/wp-content/uploads/shadowbox-js/013d5c71fe05b4d742ad31118132ec80.js new file mode 100644 index 0000000..5435842 --- /dev/null +++ b/src/wp-content/uploads/shadowbox-js/013d5c71fe05b4d742ad31118132ec80.js @@ -0,0 +1,28 @@ +/*! + * Shadowbox.js, version 3.0.3 + * http://shadowbox-js.com/ + * + * Copyright 2007-2010, Michael J. I. Jackson + * 2010-03-10 00:00:00 +0000 + */ +(function(window, undefined) { +var S={version:"3.0.3"};var ua=navigator.userAgent.toLowerCase();if(ua.indexOf("windows")>-1||ua.indexOf("win32")>-1){S.isWindows=true}else{if(ua.indexOf("macintosh")>-1||ua.indexOf("mac os x")>-1){S.isMac=true}else{if(ua.indexOf("linux")>-1){S.isLinux=true}}}S.isIE=ua.indexOf("msie")>-1;S.isIE6=ua.indexOf("msie 6")>-1;S.isIE7=ua.indexOf("msie 7")>-1;S.isGecko=ua.indexOf("gecko")>-1&&ua.indexOf("safari")==-1;S.isWebKit=ua.indexOf("applewebkit/")>-1;var inlineId=/#(.+)$/,galleryName=/^(light|shadow)box\[(.*?)\]/i,inlineParam=/\s*([a-z_]*?)\s*=\s*(.+)\s*/,fileExtension=/[0-9a-z]+$/i,scriptPath=/(.+\/)shadowbox\.js/i;var open=false,initialized=false,lastOptions={},slideDelay=0,slideStart,slideTimer;S.current=-1;S.dimensions=null;S.ease=function(a){return 1+Math.pow(a-1,3)};S.errorInfo={fla:{name:"Flash",url:"http://www.adobe.com/products/flashplayer/"},qt:{name:"QuickTime",url:"http://www.apple.com/quicktime/download/"},wmp:{name:"Windows Media Player",url:"http://www.microsoft.com/windows/windowsmedia/"},f4m:{name:"Flip4Mac",url:"http://www.flip4mac.com/wmv_download.htm"}};S.gallery=[];S.onReady=noop;S.path='http://localhost/originalhouse/wp-content/plugins/shadowbox-js/shadowbox/';S.player=null;S.playerId="sb-player";S.options={animate:true,animateFade:true,autoplayMovies:true,continuous:false,enableKeys:true,flashParams:{bgcolor:"#000000",allowfullscreen:true},flashVars:{},flashVersion:"9.0.115",handleOversize:"resize",handleUnsupported:"link",onChange:noop,onClose:noop,onFinish:noop,onOpen:noop,showMovieControls:true,skipSetup:false,slideshowDelay:0,viewportPadding:20};S.getCurrent=function(){return S.current>-1?S.gallery[S.current]:null};S.hasNext=function(){return S.gallery.length>1&&(S.current!=S.gallery.length-1||S.options.continuous)};S.isOpen=function(){return open};S.isPaused=function(){return slideTimer=="pause"};S.applyOptions=function(a){lastOptions=apply({},S.options);apply(S.options,a)};S.revertOptions=function(){apply(S.options,lastOptions)};S.init=function(c,f){if(initialized){return}initialized=true;if(S.skin.options){apply(S.options,S.skin.options)}if(c){apply(S.options,c)}if(!S.path){var e,b=document.getElementsByTagName("script");for(var d=0,a=b.length;dm){o=m-i}var c=2*k+a;if(f+c>n){f=n-c}var b=(j-o)/j,l=(d-f)/d,g=(b>0||l>0);if(h&&g){if(b>l){f=Math.round((d/j)*o)}else{if(l>b){o=Math.round((j/d)*f)}}}S.dimensions={height:o+e,width:f+a,innerHeight:o,innerWidth:f,top:Math.floor((m-(o+i))/2+k),left:Math.floor((n-(f+c))/2+k),oversized:g};return S.dimensions};S.makeGallery=function(e){var a=[],d=-1;if(typeof e=="string"){e=[e]}if(typeof e.length=="number"){each(e,function(g,h){if(h.content){a[g]=h}else{a[g]={content:h}}});d=0}else{if(e.tagName){var b=S.getCache(e);e=b?b:S.makeObject(e)}if(e.gallery){a=[];var f;for(var c in S.cache){f=S.cache[c];if(f.gallery&&f.gallery==e.gallery){if(d==-1&&f.content==e.content){d=a.length}a.push(f)}}if(d==-1){a.unshift(e);d=0}}else{a=[e];d=0}}each(a,function(g,h){a[g]=apply({},h)});return[a,d]};S.makeObject=function(d,c){var e={content:d.href,title:d.getAttribute("title")||"",link:d};if(c){c=apply({},c);each(["player","title","height","width","gallery"],function(f,g){if(typeof c[g]!="undefined"){e[g]=c[g];delete c[g]}});e.options=c}else{e.options={}}if(!e.player){e.player=S.getPlayer(e.content)}var a=d.getAttribute("rel");if(a){var b=a.match(galleryName);if(b){e.gallery=escape(b[2])}each(a.split(";"),function(f,g){b=g.match(inlineParam);if(b){e[b[1]]=b[2]}})}return e};S.getPlayer=function(c){if(c.indexOf("#")>-1&&c.indexOf(document.location.href)==0){return"inline"}var d=c.indexOf("?");if(d>-1){c=c.substring(0,d)}var b,a=c.match(fileExtension);if(a){b=a[0].toLowerCase()}if(b){if(S.img&&S.img.ext.indexOf(b)>-1){return"img"}if(S.swf&&S.swf.ext.indexOf(b)>-1){return"swf"}if(S.flv&&S.flv.ext.indexOf(b)>-1){return"flv"}if(S.qt&&S.qt.ext.indexOf(b)>-1){if(S.wmp&&S.wmp.ext.indexOf(b)>-1){return"qtwmp"}else{return"qt"}}if(S.wmp&&S.wmp.ext.indexOf(b)>-1){return"wmp"}}return"iframe"};function filterGallery(){var d=S.errorInfo,e=S.plugins,g,h,l,c,k,b,j,a;for(var f=0;f'+sprintf(S.lang.errors[k],b)+"
      "}else{h=true}}else{if(g.player=="inline"){c=inlineId.exec(g.content);if(c){j=get(c[1]);if(j){g.content=j.innerHTML}else{h=true}}else{h=true}}else{if(g.player=="swf"||g.player=="flv"){a=(g.options&&g.options.flashVersion)||S.options.flashVersion;if(S.flash&&!S.flash.hasFlashPlayerVersion(a)){g.width=310;g.height=177}}}}if(h){S.gallery.splice(f,1);if(f0?f-1:f}}--f}}}function listenKeys(a){if(!S.options.enableKeys){return}(a?addEvent:removeEvent)(document,"keydown",handleKey)}function handleKey(c){if(c.metaKey||c.shiftKey||c.altKey||c.ctrlKey){return}var b=keyCode(c),a;switch(b){case 81:case 88:case 27:a=S.close;break;case 37:a=S.previous;break;case 39:a=S.next;break;case 32:a=typeof slideTimer=="number"?S.pause:S.play;break}if(a){preventDefault(c);a()}}function load(i){listenKeys(false);var h=S.getCurrent();var e=(h.player=="inline"?"html":h.player);if(typeof S[e]!="function"){throw"unknown player "+e}if(i){S.player.remove();S.revertOptions();S.applyOptions(h.options||{})}S.player=new S[e](h,S.playerId);if(S.gallery.length>1){var f=S.gallery[S.current+1]||S.gallery[0];if(f.player=="img"){var d=new Image();d.src=f.content}var g=S.gallery[S.current-1]||S.gallery[S.gallery.length-1];if(g.player=="img"){var c=new Image();c.src=g.content}}S.skin.onLoad(i,waitReady)}function waitReady(){if(!open){return}if(typeof S.player.ready!="undefined"){var a=setInterval(function(){if(open){if(S.player.ready){clearInterval(a);a=null;S.skin.onReady(show)}}else{clearInterval(a);a=null}},10)}else{S.skin.onReady(show)}}function show(){if(!open){return}S.player.append(S.skin.body,S.dimensions);S.skin.onShow(finish)}function finish(){if(!open){return}if(S.player.onLoad){S.player.onLoad()}S.options.onFinish(S.getCurrent());if(!S.isPaused()){S.play()}listenKeys(true)};if(!Array.prototype.indexOf){Array.prototype.indexOf=function(b,c){var a=this.length>>>0;c=c||0;if(c<0){c+=a}for(;c-1;S.plugins={fla:names.indexOf("Shockwave Flash")>-1,qt:names.indexOf("QuickTime")>-1,wmp:!f4m&&names.indexOf("Windows Media")>-1,f4m:f4m}}else{var detectPlugin=function(a){var b;try{b=new ActiveXObject(a)}catch(c){}return !!b};S.plugins={fla:detectPlugin("ShockwaveFlash.ShockwaveFlash"),qt:detectPlugin("QuickTime.QuickTime"),wmp:detectPlugin("wmplayer.ocx"),f4m:false}};var relAttr=/^(light|shadow)box/i,expando="shadowboxCacheKey",cacheKey=1;S.cache={};S.select=function(b){var c=[];if(!b){var a;each(document.getElementsByTagName("a"),function(f,g){a=g.getAttribute("rel");if(a&&relAttr.test(a)){c.push(g)}})}else{var e=b.length;if(e){if(typeof b=="string"){if(S.find){c=S.find(b)}}else{if(e==2&&typeof b[0]=="string"&&b[1].nodeType){if(S.find){c=S.find(b[0],b[1])}}else{for(var d=0;d + * Copyright (c) 2007-2008 Geoff Stearns, Michael Williams, and Bobby van der Sluis + * This software is released under the MIT License + * + * Modified for inclusion in Shadowbox.js + */ +S.flash=(function(){var swfobject=function(){var UNDEF="undefined",OBJECT="object",SHOCKWAVE_FLASH="Shockwave Flash",SHOCKWAVE_FLASH_AX="ShockwaveFlash.ShockwaveFlash",FLASH_MIME_TYPE="application/x-shockwave-flash",EXPRESS_INSTALL_ID="SWFObjectExprInst",win=window,doc=document,nav=navigator,domLoadFnArr=[],regObjArr=[],objIdArr=[],listenersArr=[],script,timer=null,storedAltContent=null,storedAltContentId=null,isDomLoaded=false,isExpressInstallActive=false;var ua=function(){var w3cdom=typeof doc.getElementById!=UNDEF&&typeof doc.getElementsByTagName!=UNDEF&&typeof doc.createElement!=UNDEF,playerVersion=[0,0,0],d=null;if(typeof nav.plugins!=UNDEF&&typeof nav.plugins[SHOCKWAVE_FLASH]==OBJECT){d=nav.plugins[SHOCKWAVE_FLASH].description;if(d&&!(typeof nav.mimeTypes!=UNDEF&&nav.mimeTypes[FLASH_MIME_TYPE]&&!nav.mimeTypes[FLASH_MIME_TYPE].enabledPlugin)){d=d.replace(/^.*\s+(\S+\s+\S+$)/,"$1");playerVersion[0]=parseInt(d.replace(/^(.*)\..*$/,"$1"),10);playerVersion[1]=parseInt(d.replace(/^.*\.(.*)\s.*$/,"$1"),10);playerVersion[2]=/r/.test(d)?parseInt(d.replace(/^.*r(.*)$/,"$1"),10):0}}else{if(typeof win.ActiveXObject!=UNDEF){var a=null,fp6Crash=false;try{a=new ActiveXObject(SHOCKWAVE_FLASH_AX+".7")}catch(e){try{a=new ActiveXObject(SHOCKWAVE_FLASH_AX+".6");playerVersion=[6,0,21];a.AllowScriptAccess="always"}catch(e){if(playerVersion[0]==6){fp6Crash=true}}if(!fp6Crash){try{a=new ActiveXObject(SHOCKWAVE_FLASH_AX)}catch(e){}}}if(!fp6Crash&&a){try{d=a.GetVariable("$version");if(d){d=d.split(" ")[1].split(",");playerVersion=[parseInt(d[0],10),parseInt(d[1],10),parseInt(d[2],10)]}}catch(e){}}}}var u=nav.userAgent.toLowerCase(),p=nav.platform.toLowerCase(),webkit=/webkit/.test(u)?parseFloat(u.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,ie=false,windows=p?/win/.test(p):/win/.test(u),mac=p?/mac/.test(p):/mac/.test(u); +/*@cc_on + ie = true; + @if (@_win32) + windows = true; + @elif (@_mac) + mac = true; + @end + @*/ +return{w3cdom:w3cdom,pv:playerVersion,webkit:webkit,ie:ie,win:windows,mac:mac}}();var onDomLoad=function(){if(!ua.w3cdom){return}addDomLoadEvent(main);if(ua.ie&&ua.win){try{doc.write(" $prev_text"; + $page_links[] = ''; endif; for ( $n = 1; $n <= $total; $n++ ) : $n_display = number_format_i18n($n); @@ -2007,7 +2014,7 @@ function paginate_links( $args = '' ) { $page_links[] = "$n_display"; $dots = true; elseif ( $dots && !$show_all ) : - $page_links[] = "..."; + $page_links[] = '...'; $dots = false; endif; endif; @@ -2018,7 +2025,7 @@ function paginate_links( $args = '' ) { if ( $add_args ) $link = add_query_arg( $add_args, $link ); $link .= $add_fragment; - $page_links[] = ""; + $page_links[] = ''; endif; switch ( $type ) : case 'array' : diff --git a/src/wp-includes/http.php b/src/wp-includes/http.php index 63cf97d..a909e00 100644 --- a/src/wp-includes/http.php +++ b/src/wp-includes/http.php @@ -191,4 +191,34 @@ function wp_remote_retrieve_body(&$response) { return $response['body']; } -?> \ No newline at end of file +/** + * Determines if there is an HTTP Transport that can process this request. + * + * @since 3.2.0 + * + * @param array $capabilities Array of capabilities to test or a wp_remote_request() $args array. + * @param string $url Optional. If given, will check if the URL requires SSL and adds that requirement to the capabilities array. + * + * @return bool + */ +function wp_http_supports( $capabilities = array(), $url = null ) { + $objFetchSite = _wp_http_get_object(); + + $capabilities = wp_parse_args( $capabilities ); + + $count = count( $capabilities ); + + // If we have a numeric $capabilities array, spoof a wp_remote_request() associative $args array + if ( $count && count( array_filter( array_keys( $capabilities ), 'is_numeric' ) ) == $count ) { + $capabilities = array_combine( array_values( $capabilities ), array_fill( 0, $count, true ) ); + } + + if ( $url && !isset( $capabilities['ssl'] ) ) { + $scheme = parse_url( $url, PHP_URL_SCHEME ); + if ( 'https' == $scheme || 'ssl' == $scheme ) { + $capabilities['ssl'] = true; + } + } + + return (bool) $objFetchSite->_get_first_available_transport( $capabilities ); +} diff --git a/src/wp-includes/js/autosave.dev.js b/src/wp-includes/js/autosave.dev.js index 91be518..aa41811 100644 --- a/src/wp-includes/js/autosave.dev.js +++ b/src/wp-includes/js/autosave.dev.js @@ -1,4 +1,4 @@ -var autosave, autosaveLast = '', autosavePeriodical, autosaveOldMessage = '', autosaveDelayPreview = false, notSaved = true, blockSave = false, interimLogin = false; +var autosave, autosaveLast = '', autosavePeriodical, autosaveOldMessage = '', autosaveDelayPreview = false, notSaved = true, blockSave = false, fullscreen; jQuery(document).ready( function($) { var dotabkey = true; @@ -34,7 +34,14 @@ jQuery(document).ready( function($) { if ( mce.isDirty() ) return autosaveL10n.saveAlert; } else { - title = $('#post #title').val(), content = $('#post #content').val(); + if ( fullscreen && fullscreen.settings.visible ) { + title = $('#wp-fullscreen-title').val(); + content = $("#wp_mce_fullscreen").val(); + } else { + title = $('#post #title').val(); + content = $('#post #content').val(); + } + if ( ( title || content ) && title + content != autosaveLast ) return autosaveL10n.saveAlert; } @@ -83,7 +90,7 @@ jQuery(document).ready( function($) { }); function autosave_parse_response(response) { - var res = wpAjax.parseAjaxResponse(response, 'autosave'), message = '', postID, sup, url; + var res = wpAjax.parseAjaxResponse(response, 'autosave'), message = '', postID, sup; if ( res && res.responses && res.responses.length ) { message = res.responses[0].data; // The saved message or error. @@ -94,13 +101,12 @@ function autosave_parse_response(response) { autosave = function() {}; res = { errors: true }; } - if ( sup['session_expired'] && (url = sup['session_expired']) ) { - if ( !interimLogin || interimLogin.closed ) { - interimLogin = window.open(url, 'login', 'width=600,height=450,resizable=yes,scrollbars=yes,status=yes'); - interimLogin.focus(); - } - delete sup['session_expired']; + + if ( sup['alert'] ) { + jQuery('#autosave-alert').remove(); + jQuery('#titlediv').after('

      ' + sup['alert'] + '

      '); } + jQuery.each(sup, function(selector, value) { if ( selector.match(/^replace-/) ) { jQuery('#'+selector.replace('replace-', '')).val(value); @@ -116,8 +122,11 @@ function autosave_parse_response(response) { } } } - if ( message ) { jQuery('#autosave').html(message); } // update autosave message - else if ( autosaveOldMessage && res ) { jQuery('#autosave').html( autosaveOldMessage ); } + if ( message ) { // update autosave message + jQuery('.autosave-message').html(message); + } else if ( autosaveOldMessage && res ) { + jQuery('.autosave-message').html( autosaveOldMessage ); + } return res; } @@ -131,7 +140,7 @@ function autosave_saved(response) { // called when autosaving new post function autosave_saved_new(response) { blockSave = false; - var res = autosave_parse_response(response), tempID, postID; + var res = autosave_parse_response(response), postID; if ( res && res.responses.length && !res.errors ) { // An ID is sent only for real auto-saves, not for autosave=0 "keepalive" saves postID = parseInt( res.responses[0].id, 10 ); @@ -152,24 +161,24 @@ function autosave_saved_new(response) { function autosave_update_slug(post_id) { // create slug area only if not already there if ( 'undefined' != makeSlugeditClickable && jQuery.isFunction(makeSlugeditClickable) && !jQuery('#edit-slug-box > *').size() ) { - jQuery.post( - ajaxurl, - { + jQuery.post( ajaxurl, { action: 'sample-permalink', post_id: post_id, - new_title: jQuery('#title').val(), + new_title: fullscreen && fullscreen.settings.visible ? jQuery('#wp-fullscreen-title').val() : jQuery('#title').val(), samplepermalinknonce: jQuery('#samplepermalinknonce').val() }, function(data) { - jQuery('#edit-slug-box').html(data); - makeSlugeditClickable(); + if ( data !== '-1' ) { + jQuery('#edit-slug-box').html(data); + makeSlugeditClickable(); + } } ); } } function autosave_loading() { - jQuery('#autosave').html(autosaveL10n.savingText); + jQuery('.autosave-message').html(autosaveL10n.savingText); } function autosave_enable_buttons() { @@ -181,7 +190,7 @@ function autosave_enable_buttons() { } function autosave_disable_buttons() { - jQuery(':button, :submit', '#submitpost').attr('disabled', 'disabled'); + jQuery(':button, :submit', '#submitpost').prop('disabled', true); // Re-enable 5 sec later. Just gives autosave a head start to avoid collisions. setTimeout(autosave_enable_buttons, 5000); } @@ -197,14 +206,14 @@ function delayed_autosave() { autosave = function() { // (bool) is rich editor enabled and active blockSave = true; - var rich = (typeof tinyMCE != "undefined") && tinyMCE.activeEditor && !tinyMCE.activeEditor.isHidden(), post_data, doAutoSave, ed, origStatus, successCallback; + var rich = (typeof tinyMCE != "undefined") && tinyMCE.activeEditor && !tinyMCE.activeEditor.isHidden(), + post_data, doAutoSave, ed, origStatus, successCallback; autosave_disable_buttons(); post_data = { action: "autosave", post_ID: jQuery("#post_ID").val() || 0, - post_title: jQuery("#title").val() || "", autosavenonce: jQuery('#autosavenonce').val(), post_type: jQuery('#post_type').val() || "", autosave: 1 @@ -229,13 +238,20 @@ autosave = function() { if ( ed.plugins.spellchecker && ed.plugins.spellchecker.active ) { doAutoSave = false; } else { - if ( 'mce_fullscreen' == ed.id ) + if ( 'mce_fullscreen' == ed.id || 'wp_mce_fullscreen' == ed.id ) tinyMCE.get('content').setContent(ed.getContent({format : 'raw'}), {format : 'raw'}); - tinyMCE.get('content').save(); + tinyMCE.triggerSave(); } } - post_data["content"] = jQuery("#content").val(); + if ( fullscreen && fullscreen.settings.visible ) { + post_data["post_title"] = jQuery('#wp-fullscreen-title').val(); + post_data["content"] = jQuery("#wp_mce_fullscreen").val(); + } else { + post_data["post_title"] = jQuery("#title").val() + post_data["content"] = jQuery("#content").val(); + } + if ( jQuery('#post_name').val() ) post_data["post_name"] = jQuery('#post_name').val(); @@ -252,9 +268,9 @@ autosave = function() { } ); post_data["catslist"] = goodcats.join(","); - if ( jQuery("#comment_status").attr("checked") ) + if ( jQuery("#comment_status").prop("checked") ) post_data["comment_status"] = 'open'; - if ( jQuery("#ping_status").attr("checked") ) + if ( jQuery("#ping_status").prop("checked") ) post_data["ping_status"] = 'open'; if ( jQuery("#excerpt").size() ) post_data["excerpt"] = jQuery("#excerpt").val(); @@ -267,7 +283,8 @@ autosave = function() { post_data["auto_draft"] = '1'; if ( doAutoSave ) { - autosaveLast = jQuery("#title").val() + jQuery("#content").val(); + autosaveLast = post_data["post_title"] + post_data["content"]; + jQuery(document).triggerHandler('wpcountwords', [ post_data["content"] ]); } else { post_data['autosave'] = 0; } @@ -283,7 +300,7 @@ autosave = function() { data: post_data, beforeSend: doAutoSave ? autosave_loading : null, type: "POST", - url: autosaveL10n.requestFile, + url: ajaxurl, success: successCallback }); } diff --git a/src/wp-includes/js/autosave.js b/src/wp-includes/js/autosave.js index 14529d9..ee06aaf 100644 --- a/src/wp-includes/js/autosave.js +++ b/src/wp-includes/js/autosave.js @@ -1 +1 @@ -var autosave,autosaveLast="",autosavePeriodical,autosaveOldMessage="",autosaveDelayPreview=false,notSaved=true,blockSave=false,interimLogin=false;jQuery(document).ready(function(b){var a=true;autosaveLast=b("#post #title").val()+b("#post #content").val();autosavePeriodical=b.schedule({time:autosaveL10n.autosaveInterval*1000,func:function(){autosave()},repeat:true,protect:true});b("#post").submit(function(){b.cancel(autosavePeriodical)});b('input[type="submit"], a.submitdelete',"#submitpost").click(function(){blockSave=true;window.onbeforeunload=null;b(":button, :submit","#submitpost").each(function(){var c=b(this);if(c.hasClass("button-primary")){c.addClass("button-primary-disabled")}else{c.addClass("button-disabled")}});if(b(this).attr("id")=="publish"){b("#ajax-loading").css("visibility","visible")}else{b("#draft-ajax-loading").css("visibility","visible")}});window.onbeforeunload=function(){var c=typeof(tinyMCE)!="undefined"?tinyMCE.activeEditor:false,e,d;if(c&&!c.isHidden()){if(c.isDirty()){return autosaveL10n.saveAlert}}else{e=b("#post #title").val(),d=b("#post #content").val();if((e||d)&&e+d!=autosaveLast){return autosaveL10n.saveAlert}}};b("#post-preview").click(function(){if(b("#auto_draft").val()=="1"&¬Saved){autosaveDelayPreview=true;autosave();return false}doPreview();return false});doPreview=function(){b("input#wp-preview").val("dopreview");b("form#post").attr("target","wp-preview").submit().attr("target","");b("input#wp-preview").val("")};if(typeof tinyMCE!="undefined"){b("#title")[b.browser.opera?"keypress":"keydown"](function(c){if(c.which==9&&!c.shiftKey&&!c.controlKey&&!c.altKey){if((b("#auto_draft").val()=="1")&&(b("#title").val().length>0)){autosave()}if(tinyMCE.activeEditor&&!tinyMCE.activeEditor.isHidden()&&a){c.preventDefault();a=false;tinyMCE.activeEditor.focus();return false}}})}if("1"==b("#auto_draft").val()){b("#title").blur(function(){if(!this.value||b("#auto_draft").val()!="1"){return}delayed_autosave()})}});function autosave_parse_response(c){var e=wpAjax.parseAjaxResponse(c,"autosave"),f="",a,b,d;if(e&&e.responses&&e.responses.length){f=e.responses[0].data;if(e.responses[0].supplemental){b=e.responses[0].supplemental;if("disable"==b.disable_autosave){autosave=function(){};e={errors:true}}if(b.session_expired&&(d=b.session_expired)){if(!interimLogin||interimLogin.closed){interimLogin=window.open(d,"login","width=600,height=450,resizable=yes,scrollbars=yes,status=yes");interimLogin.focus()}delete b.session_expired}jQuery.each(b,function(g,h){if(g.match(/^replace-/)){jQuery("#"+g.replace("replace-","")).val(h)}})}if(!e.errors){a=parseInt(e.responses[0].id,10);if(!isNaN(a)&&a>0){autosave_update_slug(a)}}}if(f){jQuery("#autosave").html(f)}else{if(autosaveOldMessage&&e){jQuery("#autosave").html(autosaveOldMessage)}}return e}function autosave_saved(a){blockSave=false;autosave_parse_response(a);autosave_enable_buttons()}function autosave_saved_new(b){blockSave=false;var d=autosave_parse_response(b),c,a;if(d&&d.responses.length&&!d.errors){a=parseInt(d.responses[0].id,10);if(!isNaN(a)&&a>0){notSaved=false;jQuery("#auto_draft").val("0")}autosave_enable_buttons();if(autosaveDelayPreview){autosaveDelayPreview=false;doPreview()}}else{autosave_enable_buttons()}}function autosave_update_slug(a){if("undefined"!=makeSlugeditClickable&&jQuery.isFunction(makeSlugeditClickable)&&!jQuery("#edit-slug-box > *").size()){jQuery.post(ajaxurl,{action:"sample-permalink",post_id:a,new_title:jQuery("#title").val(),samplepermalinknonce:jQuery("#samplepermalinknonce").val()},function(b){jQuery("#edit-slug-box").html(b);makeSlugeditClickable()})}}function autosave_loading(){jQuery("#autosave").html(autosaveL10n.savingText)}function autosave_enable_buttons(){setTimeout(function(){jQuery(":button, :submit","#submitpost").removeAttr("disabled");jQuery(".ajax-loading").css("visibility","hidden")},500)}function autosave_disable_buttons(){jQuery(":button, :submit","#submitpost").attr("disabled","disabled");setTimeout(autosave_enable_buttons,5000)}function delayed_autosave(){setTimeout(function(){if(blockSave){return}autosave()},200)}autosave=function(){blockSave=true;var c=(typeof tinyMCE!="undefined")&&tinyMCE.activeEditor&&!tinyMCE.activeEditor.isHidden(),d,f,b,e,a;autosave_disable_buttons();d={action:"autosave",post_ID:jQuery("#post_ID").val()||0,post_title:jQuery("#title").val()||"",autosavenonce:jQuery("#autosavenonce").val(),post_type:jQuery("#post_type").val()||"",autosave:1};jQuery(".tags-input").each(function(){d[this.name]=this.value});f=true;if(jQuery("#TB_window").css("display")=="block"){f=false}if(c&&f){b=tinyMCE.activeEditor;if(b.plugins.spellchecker&&b.plugins.spellchecker.active){f=false}else{if("mce_fullscreen"==b.id){tinyMCE.get("content").setContent(b.getContent({format:"raw"}),{format:"raw"})}tinyMCE.get("content").save()}}d.content=jQuery("#content").val();if(jQuery("#post_name").val()){d.post_name=jQuery("#post_name").val()}if((d.post_title.length==0&&d.content.length==0)||d.post_title+d.content==autosaveLast){f=false}e=jQuery("#original_post_status").val();goodcats=([]);jQuery("[name='post_category[]']:checked").each(function(g){goodcats.push(this.value)});d.catslist=goodcats.join(",");if(jQuery("#comment_status").attr("checked")){d.comment_status="open"}if(jQuery("#ping_status").attr("checked")){d.ping_status="open"}if(jQuery("#excerpt").size()){d.excerpt=jQuery("#excerpt").val()}if(jQuery("#post_author").size()){d.post_author=jQuery("#post_author").val()}if(jQuery("#parent_id").val()){d.parent_id=jQuery("#parent_id").val()}d.user_ID=jQuery("#user-id").val();if(jQuery("#auto_draft").val()=="1"){d.auto_draft="1"}if(f){autosaveLast=jQuery("#title").val()+jQuery("#content").val()}else{d.autosave=0}if(d.auto_draft=="1"){a=autosave_saved_new}else{a=autosave_saved}autosaveOldMessage=jQuery("#autosave").html();jQuery.ajax({data:d,beforeSend:f?autosave_loading:null,type:"POST",url:autosaveL10n.requestFile,success:a})}; \ No newline at end of file +var autosave,autosaveLast="",autosavePeriodical,autosaveOldMessage="",autosaveDelayPreview=false,notSaved=true,blockSave=false,fullscreen;jQuery(document).ready(function(b){var a=true;autosaveLast=b("#post #title").val()+b("#post #content").val();autosavePeriodical=b.schedule({time:autosaveL10n.autosaveInterval*1000,func:function(){autosave()},repeat:true,protect:true});b("#post").submit(function(){b.cancel(autosavePeriodical)});b('input[type="submit"], a.submitdelete',"#submitpost").click(function(){blockSave=true;window.onbeforeunload=null;b(":button, :submit","#submitpost").each(function(){var c=b(this);if(c.hasClass("button-primary")){c.addClass("button-primary-disabled")}else{c.addClass("button-disabled")}});if(b(this).attr("id")=="publish"){b("#ajax-loading").css("visibility","visible")}else{b("#draft-ajax-loading").css("visibility","visible")}});window.onbeforeunload=function(){var c=typeof(tinyMCE)!="undefined"?tinyMCE.activeEditor:false,e,d;if(c&&!c.isHidden()){if(c.isDirty()){return autosaveL10n.saveAlert}}else{if(fullscreen&&fullscreen.settings.visible){e=b("#wp-fullscreen-title").val();d=b("#wp_mce_fullscreen").val()}else{e=b("#post #title").val();d=b("#post #content").val()}if((e||d)&&e+d!=autosaveLast){return autosaveL10n.saveAlert}}};b("#post-preview").click(function(){if(b("#auto_draft").val()=="1"&¬Saved){autosaveDelayPreview=true;autosave();return false}doPreview();return false});doPreview=function(){b("input#wp-preview").val("dopreview");b("form#post").attr("target","wp-preview").submit().attr("target","");b("input#wp-preview").val("")};if(typeof tinyMCE!="undefined"){b("#title")[b.browser.opera?"keypress":"keydown"](function(c){if(c.which==9&&!c.shiftKey&&!c.controlKey&&!c.altKey){if((b("#auto_draft").val()=="1")&&(b("#title").val().length>0)){autosave()}if(tinyMCE.activeEditor&&!tinyMCE.activeEditor.isHidden()&&a){c.preventDefault();a=false;tinyMCE.activeEditor.focus();return false}}})}if("1"==b("#auto_draft").val()){b("#title").blur(function(){if(!this.value||b("#auto_draft").val()!="1"){return}delayed_autosave()})}});function autosave_parse_response(c){var d=wpAjax.parseAjaxResponse(c,"autosave"),e="",a,b;if(d&&d.responses&&d.responses.length){e=d.responses[0].data;if(d.responses[0].supplemental){b=d.responses[0].supplemental;if("disable"==b.disable_autosave){autosave=function(){};d={errors:true}}if(b.alert){jQuery("#autosave-alert").remove();jQuery("#titlediv").after('

      '+b.alert+"

      ")}jQuery.each(b,function(f,g){if(f.match(/^replace-/)){jQuery("#"+f.replace("replace-","")).val(g)}})}if(!d.errors){a=parseInt(d.responses[0].id,10);if(!isNaN(a)&&a>0){autosave_update_slug(a)}}}if(e){jQuery(".autosave-message").html(e)}else{if(autosaveOldMessage&&d){jQuery(".autosave-message").html(autosaveOldMessage)}}return d}function autosave_saved(a){blockSave=false;autosave_parse_response(a);autosave_enable_buttons()}function autosave_saved_new(b){blockSave=false;var c=autosave_parse_response(b),a;if(c&&c.responses.length&&!c.errors){a=parseInt(c.responses[0].id,10);if(!isNaN(a)&&a>0){notSaved=false;jQuery("#auto_draft").val("0")}autosave_enable_buttons();if(autosaveDelayPreview){autosaveDelayPreview=false;doPreview()}}else{autosave_enable_buttons()}}function autosave_update_slug(a){if("undefined"!=makeSlugeditClickable&&jQuery.isFunction(makeSlugeditClickable)&&!jQuery("#edit-slug-box > *").size()){jQuery.post(ajaxurl,{action:"sample-permalink",post_id:a,new_title:fullscreen&&fullscreen.settings.visible?jQuery("#wp-fullscreen-title").val():jQuery("#title").val(),samplepermalinknonce:jQuery("#samplepermalinknonce").val()},function(b){if(b!=="-1"){jQuery("#edit-slug-box").html(b);makeSlugeditClickable()}})}}function autosave_loading(){jQuery(".autosave-message").html(autosaveL10n.savingText)}function autosave_enable_buttons(){setTimeout(function(){jQuery(":button, :submit","#submitpost").removeAttr("disabled");jQuery(".ajax-loading").css("visibility","hidden")},500)}function autosave_disable_buttons(){jQuery(":button, :submit","#submitpost").prop("disabled",true);setTimeout(autosave_enable_buttons,5000)}function delayed_autosave(){setTimeout(function(){if(blockSave){return}autosave()},200)}autosave=function(){blockSave=true;var c=(typeof tinyMCE!="undefined")&&tinyMCE.activeEditor&&!tinyMCE.activeEditor.isHidden(),d,f,b,e,a;autosave_disable_buttons();d={action:"autosave",post_ID:jQuery("#post_ID").val()||0,autosavenonce:jQuery("#autosavenonce").val(),post_type:jQuery("#post_type").val()||"",autosave:1};jQuery(".tags-input").each(function(){d[this.name]=this.value});f=true;if(jQuery("#TB_window").css("display")=="block"){f=false}if(c&&f){b=tinyMCE.activeEditor;if(b.plugins.spellchecker&&b.plugins.spellchecker.active){f=false}else{if("mce_fullscreen"==b.id||"wp_mce_fullscreen"==b.id){tinyMCE.get("content").setContent(b.getContent({format:"raw"}),{format:"raw"})}tinyMCE.triggerSave()}}if(fullscreen&&fullscreen.settings.visible){d.post_title=jQuery("#wp-fullscreen-title").val();d.content=jQuery("#wp_mce_fullscreen").val()}else{d.post_title=jQuery("#title").val();d.content=jQuery("#content").val()}if(jQuery("#post_name").val()){d.post_name=jQuery("#post_name").val()}if((d.post_title.length==0&&d.content.length==0)||d.post_title+d.content==autosaveLast){f=false}e=jQuery("#original_post_status").val();goodcats=([]);jQuery("[name='post_category[]']:checked").each(function(g){goodcats.push(this.value)});d.catslist=goodcats.join(",");if(jQuery("#comment_status").prop("checked")){d.comment_status="open"}if(jQuery("#ping_status").prop("checked")){d.ping_status="open"}if(jQuery("#excerpt").size()){d.excerpt=jQuery("#excerpt").val()}if(jQuery("#post_author").size()){d.post_author=jQuery("#post_author").val()}if(jQuery("#parent_id").val()){d.parent_id=jQuery("#parent_id").val()}d.user_ID=jQuery("#user-id").val();if(jQuery("#auto_draft").val()=="1"){d.auto_draft="1"}if(f){autosaveLast=d.post_title+d.content;jQuery(document).triggerHandler("wpcountwords",[d.content])}else{d.autosave=0}if(d.auto_draft=="1"){a=autosave_saved_new}else{a=autosave_saved}autosaveOldMessage=jQuery("#autosave").html();jQuery.ajax({data:d,beforeSend:f?autosave_loading:null,type:"POST",url:ajaxurl,success:a})}; \ No newline at end of file diff --git a/src/wp-includes/js/imgareaselect/jquery.imgareaselect.dev.js b/src/wp-includes/js/imgareaselect/jquery.imgareaselect.dev.js index aa3ff78..5fc41c7 100644 --- a/src/wp-includes/js/imgareaselect/jquery.imgareaselect.dev.js +++ b/src/wp-includes/js/imgareaselect/jquery.imgareaselect.dev.js @@ -1,8 +1,8 @@ /* * imgAreaSelect jQuery plugin - * version 0.9.1 + * version 0.9.6 * - * Copyright (c) 2008-2009 Michal Wojciechowski (odyniec.net) + * Copyright (c) 2008-2011 Michal Wojciechowski (odyniec.net) * * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. @@ -39,13 +39,13 @@ $.imgAreaSelect = function (img, options) { left, top, - imgOfs, + imgOfs = { left: 0, top: 0 }, imgWidth, imgHeight, $parent, - parOfs, + parOfs = { left: 0, top: 0 }, zIndex = 0, @@ -59,6 +59,8 @@ $.imgAreaSelect = function (img, options) { resize, + minWidth, minHeight, maxWidth, maxHeight, + aspectRatio, shown, @@ -67,6 +69,8 @@ $.imgAreaSelect = function (img, options) { selection = { x1: 0, y1: 0, x2: 0, y2: 0, width: 0, height: 0 }, + docElem = document.documentElement, + $p, d, i, o, w, h, adjusted; function viewX(x) { @@ -108,14 +112,14 @@ $.imgAreaSelect = function (img, options) { var sx = noScale || scaleX, sy = noScale || scaleY; selection = { - x1: round(x1 / sx), - y1: round(y1 / sy), - x2: round(x2 / sx), - y2: round(y2 / sy) + x1: round(x1 / sx || 0), + y1: round(y1 / sy || 0), + x2: round(x2 / sx || 0), + y2: round(y2 / sy || 0) }; - selection.width = (x2 = viewX(selection.x2)) - (x1 = viewX(selection.x1)); - selection.height = (y2 = viewX(selection.y2)) - (y1 = viewX(selection.y1)); + selection.width = selection.x2 - selection.x1; + selection.height = selection.y2 - selection.y1; } function adjust() { @@ -124,13 +128,22 @@ $.imgAreaSelect = function (img, options) { imgOfs = { left: round($img.offset().left), top: round($img.offset().top) }; - imgWidth = $img.width(); - imgHeight = $img.height(); + imgWidth = $img.innerWidth(); + imgHeight = $img.innerHeight(); - if ($().jquery == '1.3.2' && $.browser.safari && position == 'fixed') { - imgOfs.top += max(document.documentElement.scrollTop, $('body').scrollTop()); + imgOfs.top += ($img.outerHeight() - imgHeight) >> 1; + imgOfs.left += ($img.outerWidth() - imgWidth) >> 1; - imgOfs.left += max(document.documentElement.scrollLeft, $('body').scrollLeft()); + minWidth = options.minWidth || 0; + minHeight = options.minHeight || 0; + maxWidth = min(options.maxWidth || 1<<24, imgWidth); + maxHeight = min(options.maxHeight || 1<<24, imgHeight); + + if ($().jquery == '1.3.2' && position == 'fixed' && + !docElem['getBoundingClientRect']) + { + imgOfs.top += max(document.body.scrollTop, docElem.scrollTop); + imgOfs.left += max(document.body.scrollLeft, docElem.scrollLeft); } parOfs = $.inArray($parent.css('position'), ['absolute', 'relative']) + 1 ? @@ -142,6 +155,9 @@ $.imgAreaSelect = function (img, options) { left = viewX(0); top = viewY(0); + + if (selection.x2 > imgWidth || selection.y2 > imgHeight) + doResize(); } function update(resetKeyPress) { @@ -170,10 +186,10 @@ $.imgAreaSelect = function (img, options) { switch ($handles.length) { case 8: - $($handles[4]).css({ left: w / 2 }); - $($handles[5]).css({ left: w, top: h / 2 }); - $($handles[6]).css({ left: w / 2, top: h }); - $($handles[7]).css({ top: h / 2 }); + $($handles[4]).css({ left: w >> 1 }); + $($handles[5]).css({ left: w, top: h >> 1 }); + $($handles[6]).css({ left: w >> 1, top: h }); + $($handles[7]).css({ top: h >> 1 }); case 4: $handles.slice(1,3).css({ left: w }); $handles.slice(2,4).css({ top: h }); @@ -221,13 +237,13 @@ $.imgAreaSelect = function (img, options) { resize = ''; if (options.resizable) { - if (y <= resizeMargin) + if (y <= options.resizeMargin) resize = 'n'; - else if (y >= selection.height - resizeMargin) + else if (y >= selection.height - options.resizeMargin) resize = 's'; - if (x <= resizeMargin) + if (x <= options.resizeMargin) resize += 'w'; - else if (x >= selection.width - resizeMargin) + else if (x >= selection.width - options.resizeMargin) resize += 'e'; } @@ -239,14 +255,13 @@ $.imgAreaSelect = function (img, options) { function docMouseUp(event) { $('body').css('cursor', ''); - if (options.autoHide || selection.width * selection.height == 0) hide($box.add($outer), function () { $(this).hide(); }); - options.onSelectEnd(img, getSelection()); - $(document).unbind('mousemove', selectingMouseMove); $box.mousemove(areaMouseMove); + + options.onSelectEnd(img, getSelection()); } function areaMouseDown(event) { @@ -284,59 +299,60 @@ $.imgAreaSelect = function (img, options) { return false; } - function aspectRatioXY() { - x2 = max(left, min(left + imgWidth, - x1 + abs(y2 - y1) * aspectRatio * (x2 > x1 || -1))); + function fixAspectRatio(xFirst) { + if (aspectRatio) + if (xFirst) { + x2 = max(left, min(left + imgWidth, + x1 + abs(y2 - y1) * aspectRatio * (x2 > x1 || -1))); - y2 = round(max(top, min(top + imgHeight, - y1 + abs(x2 - x1) / aspectRatio * (y2 > y1 || -1)))); - x2 = round(x2); - } - - function aspectRatioYX() { - y2 = max(top, min(top + imgHeight, - y1 + abs(x2 - x1) / aspectRatio * (y2 > y1 || -1))); - x2 = round(max(left, min(left + imgWidth, - x1 + abs(y2 - y1) * aspectRatio * (x2 > x1 || -1)))); - y2 = round(y2); + y2 = round(max(top, min(top + imgHeight, + y1 + abs(x2 - x1) / aspectRatio * (y2 > y1 || -1)))); + x2 = round(x2); + } + else { + y2 = max(top, min(top + imgHeight, + y1 + abs(x2 - x1) / aspectRatio * (y2 > y1 || -1))); + x2 = round(max(left, min(left + imgWidth, + x1 + abs(y2 - y1) * aspectRatio * (x2 > x1 || -1)))); + y2 = round(y2); + } } function doResize() { - if (abs(x2 - x1) < options.minWidth) { - x2 = x1 - options.minWidth * (x2 < x1 || -1); + x1 = min(x1, left + imgWidth); + y1 = min(y1, top + imgHeight); + + if (abs(x2 - x1) < minWidth) { + x2 = x1 - minWidth * (x2 < x1 || -1); if (x2 < left) - x1 = left + options.minWidth; + x1 = left + minWidth; else if (x2 > left + imgWidth) - x1 = left + imgWidth - options.minWidth; + x1 = left + imgWidth - minWidth; } - if (abs(y2 - y1) < options.minHeight) { - y2 = y1 - options.minHeight * (y2 < y1 || -1); + if (abs(y2 - y1) < minHeight) { + y2 = y1 - minHeight * (y2 < y1 || -1); if (y2 < top) - y1 = top + options.minHeight; + y1 = top + minHeight; else if (y2 > top + imgHeight) - y1 = top + imgHeight - options.minHeight; + y1 = top + imgHeight - minHeight; } x2 = max(left, min(x2, left + imgWidth)); y2 = max(top, min(y2, top + imgHeight)); - if (aspectRatio) - if (abs(x2 - x1) / aspectRatio > abs(y2 - y1)) - aspectRatioYX(); - else - aspectRatioXY(); + fixAspectRatio(abs(x2 - x1) < abs(y2 - y1) * aspectRatio); - if (abs(x2 - x1) > options.maxWidth) { - x2 = x1 - options.maxWidth * (x2 < x1 || -1); - if (aspectRatio) aspectRatioYX(); + if (abs(x2 - x1) > maxWidth) { + x2 = x1 - maxWidth * (x2 < x1 || -1); + fixAspectRatio(); } - if (abs(y2 - y1) > options.maxHeight) { - y2 = y1 - options.maxHeight * (y2 < y1 || -1); - if (aspectRatio) aspectRatioXY(); + if (abs(y2 - y1) > maxHeight) { + y2 = y1 - maxHeight * (y2 < y1 || -1); + fixAspectRatio(true); } selection = { x1: selX(min(x1, x2)), x2: selX(max(x1, x2)), @@ -362,8 +378,8 @@ $.imgAreaSelect = function (img, options) { x2 = (x1 = newX1) + selection.width; y2 = (y1 = newY1) + selection.height; - selection = $.extend(selection, { x1: selX(x1), y1: selY(y1), - x2: selX(x2), y2: selY(y2) }); + $.extend(selection, { x1: selX(x1), y1: selY(y1), x2: selX(x2), + y2: selY(y2) }); update(); @@ -382,6 +398,7 @@ $.imgAreaSelect = function (img, options) { } function startSelection() { + $(document).unbind('mousemove', startSelection); adjust(); x2 = x1; @@ -404,11 +421,11 @@ $.imgAreaSelect = function (img, options) { } function cancelSelection() { - $(document).unbind('mousemove', startSelection); + $(document).unbind('mousemove', startSelection) + .unbind('mouseup', cancelSelection); hide($box.add($outer)); - selection = { x1: selX(x1), y1: selY(y1), x2: selX(x1), y2: selY(y1), - width: 0, height: 0 }; + setSelection(selX(x1), selY(y1), selX(x1), selY(y1)); options.onSelectChange(img, getSelection()); options.onSelectEnd(img, getSelection()); @@ -421,13 +438,12 @@ $.imgAreaSelect = function (img, options) { startX = x1 = evX(event); startY = y1 = evY(event); - $(document).one('mousemove', startSelection) - .one('mouseup', cancelSelection); + $(document).mousemove(startSelection).mouseup(cancelSelection); return false; } - function parentScroll() { + function windowResize() { doUpdate(false); } @@ -437,8 +453,9 @@ $.imgAreaSelect = function (img, options) { setOptions(options = $.extend({ classPrefix: 'imgareaselect', movable: true, - resizable: true, parent: 'body', + resizable: true, + resizeMargin: 10, onInit: function () {}, onSelectStart: function () {}, onSelectChange: function () {}, @@ -458,7 +475,7 @@ $.imgAreaSelect = function (img, options) { } var docKeyPress = function(event) { - var k = options.keys, d, t, key = event.keyCode || event.which; + var k = options.keys, d, t, key = event.keyCode; d = !isNaN(k.alt) && (event.altKey || event.originalEvent.altKey) ? k.alt : !isNaN(k.ctrl) && event.ctrlKey ? k.ctrl : @@ -476,7 +493,7 @@ $.imgAreaSelect = function (img, options) { t = max(x1, x2); x1 = min(x1, x2); x2 = max(t + d, x1); - if (aspectRatio) aspectRatioYX(); + fixAspectRatio(); break; case 38: d = -d; @@ -484,7 +501,7 @@ $.imgAreaSelect = function (img, options) { t = max(y1, y2); y1 = min(y1, y2); y2 = max(t + d, y1); - if (aspectRatio) aspectRatioXY(); + fixAspectRatio(true); break; default: return; @@ -527,7 +544,7 @@ $.imgAreaSelect = function (img, options) { if (newOptions.parent) ($parent = $(newOptions.parent)).append($box.add($outer)); - options = $.extend(options, newOptions); + $.extend(options, newOptions); adjust(); @@ -546,7 +563,7 @@ $.imgAreaSelect = function (img, options) { zIndex: zIndex + 1 || 1 }); - if (!parseInt($handles.css('width'))) + if (!parseInt($handles.css('width')) >= 0) $handles.width(5).height(5); if (o = options.borderWidth) @@ -562,7 +579,7 @@ $.imgAreaSelect = function (img, options) { if (newOptions.x1 != null) { setSelection(newOptions.x1, newOptions.y1, newOptions.x2, - newOptions.y2); + newOptions.y2); newOptions.show = !newOptions.hide; } @@ -586,7 +603,7 @@ $.imgAreaSelect = function (img, options) { if (o = options.borderColor2) $($border[1]).css({ borderStyle: 'dashed', borderColor: o }); - $box.append($area.add($border).add($handles).add($areaOpera)); + $box.append($area.add($border).add($areaOpera).add($handles)); if ($.browser.msie) { if (o = $outer.css('filter').match(/opacity=([0-9]+)/)) @@ -605,25 +622,32 @@ $.imgAreaSelect = function (img, options) { aspectRatio = (d = (options.aspectRatio || '').split(/:/))[0] / d[1]; + $img.add($outer).unbind('mousedown', imgMouseDown); + if (options.disable || options.enable === false) { $box.unbind('mousemove', areaMouseMove).unbind('mousedown', areaMouseDown); - $img.add($outer).unbind('mousedown', imgMouseDown); - $(window).unbind('resize', parentScroll); - $img.add($img.parents()).unbind('scroll', parentScroll); + $(window).unbind('resize', windowResize); } - else if (options.enable || options.disable === false) { - if (options.resizable || options.movable) - $box.mousemove(areaMouseMove).mousedown(areaMouseDown); + else { + if (options.enable || options.disable === false) { + if (options.resizable || options.movable) + $box.mousemove(areaMouseMove).mousedown(areaMouseDown); + + $(window).resize(windowResize); + } if (!options.persistent) $img.add($outer).mousedown(imgMouseDown); - $(window).resize(parentScroll); - $img.add($img.parents()).scroll(parentScroll); } options.enable = options.disable = undefined; } + this.remove = function () { + setOptions({ disable: true }); + $box.add($outer).remove(); + }; + this.getOptions = function () { return options; }; this.setOptions = setOptions; @@ -636,17 +660,16 @@ $.imgAreaSelect = function (img, options) { $p = $img; - while ($p.length && !$p.is('body')) { - if (!isNaN($p.css('z-index')) && $p.css('z-index') > zIndex) - zIndex = $p.css('z-index'); + while ($p.length) { + zIndex = max(zIndex, + !isNaN($p.css('z-index')) ? $p.css('z-index') : zIndex); if ($p.css('position') == 'fixed') position = 'fixed'; - $p = $p.parent(); + $p = $p.parent(':not(body)'); } - if (!isNaN(options.zIndex)) - zIndex = options.zIndex; + zIndex = options.zIndex || zIndex; if ($.browser.msie) $img.attr('unselectable', 'on'); @@ -661,20 +684,28 @@ $.imgAreaSelect = function (img, options) { $box.add($outer).css({ visibility: 'hidden', position: position, overflow: 'hidden', zIndex: zIndex || '0' }); $box.css({ zIndex: zIndex + 2 || 2 }); - $area.add($border).css({ position: 'absolute' }); + $area.add($border).css({ position: 'absolute', fontSize: 0 }); img.complete || img.readyState == 'complete' || !$img.is('img') ? imgLoad() : $img.one('load', imgLoad); + if ($.browser.msie && $.browser.version >= 9) + img.src = img.src; }; $.fn.imgAreaSelect = function (options) { options = options || {}; this.each(function () { - if ($(this).data('imgAreaSelect')) - $(this).data('imgAreaSelect').setOptions(options); - else { + if ($(this).data('imgAreaSelect')) { + if (options.remove) { + $(this).data('imgAreaSelect').remove(); + $(this).removeData('imgAreaSelect'); + } + else + $(this).data('imgAreaSelect').setOptions(options); + } + else if (!options.remove) { if (options.enable === undefined && options.disable === undefined) options.enable = true; diff --git a/src/wp-includes/js/imgareaselect/jquery.imgareaselect.js b/src/wp-includes/js/imgareaselect/jquery.imgareaselect.js index 9f2aee2..a29d667 100644 --- a/src/wp-includes/js/imgareaselect/jquery.imgareaselect.js +++ b/src/wp-includes/js/imgareaselect/jquery.imgareaselect.js @@ -1 +1 @@ -(function(e){var b=Math.abs,a=Math.max,d=Math.min,c=Math.round;function f(){return e("
      ")}e.imgAreaSelect=function(q,S){var aw=e(q),U,ar=f(),af=f(),H=f().add(f()).add(f()).add(f()),Y=f().add(f()).add(f()).add(f()),L=e([]),R,n,p,az,N,j,A,M,B=0,ad="absolute",Q,P,aa,Z,V=10,I,T,K,y,aA,x,ay,v={x1:0,y1:0,x2:0,y2:0,width:0,height:0},l,aq,am,ag,ac,an,u;function G(h){return h+az.left-M.left}function F(h){return h+az.top-M.top}function E(h){return h-az.left+M.left}function z(h){return h-az.top+M.top}function ak(h){return h.pageX-M.left}function ai(h){return h.pageY-M.top}function D(h){var o=h||aa,i=h||Z;return{x1:c(v.x1*o),y1:c(v.y1*i),x2:c(v.x2*o),y2:c(v.y2*i),width:c(v.x2*o)-c(v.x1*o),height:c(v.y2*i)-c(v.y1*i)}}function ae(i,w,h,o,aB){var aD=aB||aa,aC=aB||Z;v={x1:c(i/aD),y1:c(w/aC),x2:c(h/aD),y2:c(o/aC)};v.width=(h=G(v.x2))-(i=G(v.x1));v.height=(o=G(v.y2))-(w=G(v.y1))}function ao(){if(!aw.width()){return}az={left:c(aw.offset().left),top:c(aw.offset().top)};N=aw.width();j=aw.height();if(e().jquery=="1.3.2"&&e.browser.safari&&ad=="fixed"){az.top+=a(document.documentElement.scrollTop,e("body").scrollTop());az.left+=a(document.documentElement.scrollLeft,e("body").scrollLeft())}M=e.inArray(A.css("position"),["absolute","relative"])+1?{left:c(A.offset().left)-A.scrollLeft(),top:c(A.offset().top)-A.scrollTop()}:ad=="fixed"?{left:e(document).scrollLeft(),top:e(document).scrollTop()}:{left:0,top:0};n=G(0);p=F(0)}function X(h){if(!K){return}ar.css({left:G(v.x1),top:F(v.y1)}).add(af).width(ac=v.width).height(an=v.height);af.add(H).add(L).css({left:0,top:0});H.width(a(ac-H.outerWidth()+H.innerWidth(),0)).height(a(an-H.outerHeight()+H.innerHeight(),0));e(Y[0]).css({left:n,top:p,width:v.x1,height:j});e(Y[1]).css({left:n+v.x1,top:p,width:ac,height:v.y1});e(Y[2]).css({left:n+v.x2,top:p,width:N-v.x2,height:j});e(Y[3]).css({left:n+v.x1,top:p+v.y2,width:ac,height:j-v.y2});ac-=L.outerWidth();an-=L.outerHeight();switch(L.length){case 8:e(L[4]).css({left:ac/2});e(L[5]).css({left:ac,top:an/2});e(L[6]).css({left:ac/2,top:an});e(L[7]).css({top:an/2});case 4:L.slice(1,3).css({left:ac});L.slice(2,4).css({top:an})}if(h!==false){if(e.imgAreaSelect.keyPress!=at){e(document).unbind(e.imgAreaSelect.keyPress,e.imgAreaSelect.onKeyPress)}if(S.keys){e(document)[e.imgAreaSelect.keyPress](e.imgAreaSelect.onKeyPress=at)}}if(e.browser.msie&&H.outerWidth()-H.innerWidth()==2){H.css("margin",0);setTimeout(function(){H.css("margin","auto")},0)}}function t(h){ao();X(h);y=G(v.x1);aA=F(v.y1);x=G(v.x2);ay=F(v.y2)}function ah(h,i){S.fadeSpeed?h.fadeOut(S.fadeSpeed,i):h.hide()}function C(i){var h=E(ak(i))-v.x1,o=z(ai(i))-v.y1;if(!u){ao();u=true;ar.one("mouseout",function(){u=false})}I="";if(S.resizable){if(o<=V){I="n"}else{if(o>=v.height-V){I="s"}}if(h<=V){I+="w"}else{if(h>=v.width-V){I+="e"}}}ar.css("cursor",I?I+"-resize":S.movable?"move":"");if(R){R.toggle()}}function aj(h){e("body").css("cursor","");if(S.autoHide||v.width*v.height==0){ah(ar.add(Y),function(){e(this).hide()})}S.onSelectEnd(q,D());e(document).unbind("mousemove",ab);ar.mousemove(C)}function s(h){if(h.which!=1){return false}ao();if(I){e("body").css("cursor",I+"-resize");y=G(v[/w/.test(I)?"x2":"x1"]);aA=F(v[/n/.test(I)?"y2":"y1"]);e(document).mousemove(ab).one("mouseup",aj);ar.unbind("mousemove",C)}else{if(S.movable){Q=n+v.x1-ak(h);P=p+v.y1-ai(h);ar.unbind("mousemove",C);e(document).mousemove(g).one("mouseup",function(){S.onSelectEnd(q,D());e(document).unbind("mousemove",g);ar.mousemove(C)})}else{aw.mousedown(h)}}return false}function r(){x=a(n,d(n+N,y+b(ay-aA)*T*(x>y||-1)));ay=c(a(p,d(p+j,aA+b(x-y)/T*(ay>aA||-1))));x=c(x)}function al(){ay=a(p,d(p+j,aA+b(x-y)/T*(ay>aA||-1)));x=c(a(n,d(n+N,y+b(ay-aA)*T*(x>y||-1))));ay=c(ay)}function av(){if(b(x-y)n+N){y=n+N-S.minWidth}}}if(b(ay-aA)p+j){aA=p+j-S.minHeight}}}x=a(n,d(x,n+N));ay=a(p,d(ay,p+j));if(T){if(b(x-y)/T>b(ay-aA)){al()}else{r()}}if(b(x-y)>S.maxWidth){x=y-S.maxWidth*(xS.maxHeight){ay=aA-S.maxHeight*(ayB){B=l.css("z-index")}if(l.css("position")=="fixed"){ad="fixed"}l=l.parent()}if(!isNaN(S.zIndex)){B=S.zIndex}if(e.browser.msie){aw.attr("unselectable","on")}e.imgAreaSelect.keyPress=e.browser.msie||e.browser.safari?"keydown":"keypress";if(e.browser.opera){R=f().css({width:"100%",height:"100%",position:"absolute",zIndex:B+2||2})}ar.add(Y).css({visibility:"hidden",position:ad,overflow:"hidden",zIndex:B||"0"});ar.css({zIndex:B+2||2});af.add(H).css({position:"absolute"});q.complete||q.readyState=="complete"||!aw.is("img")?au():aw.one("load",au)};e.fn.imgAreaSelect=function(g){g=g||{};this.each(function(){if(e(this).data("imgAreaSelect")){e(this).data("imgAreaSelect").setOptions(g)}else{if(g.enable===undefined&&g.disable===undefined){g.enable=true}e(this).data("imgAreaSelect",new e.imgAreaSelect(this,g))}});if(g.instance){return e(this).data("imgAreaSelect")}return this}})(jQuery); \ No newline at end of file +(function(e){var b=Math.abs,a=Math.max,d=Math.min,c=Math.round;function f(){return e("
      ")}e.imgAreaSelect=function(Q,ad){var M=e(Q),u,B=f(),E=f(),ap=f().add(f()).add(f()).add(f()),v=f().add(f()).add(f()).add(f()),ax=e([]),aj,T,ao,ay={left:0,top:0},S,aA,p,V={left:0,top:0},g=0,ak="absolute",an,am,ab,aa,az=10,t,q,al,k,x,aE,ah,D,n,C,l,aC={x1:0,y1:0,x2:0,y2:0,width:0,height:0},F=document.documentElement,Z,R,O,N,K,P,I;function Y(h){return h+ay.left-V.left}function X(h){return h+ay.top-V.top}function au(h){return h-ay.left+V.left}function at(h){return h-ay.top+V.top}function A(h){return h.pageX-V.left}function z(h){return h.pageY-V.top}function ar(h){var o=h||ab,i=h||aa;return{x1:c(aC.x1*o),y1:c(aC.y1*i),x2:c(aC.x2*o),y2:c(aC.y2*i),width:c(aC.x2*o)-c(aC.x1*o),height:c(aC.y2*i)-c(aC.y1*i)}}function aq(i,w,h,o,aF){var aH=aF||ab,aG=aF||aa;aC={x1:c(i/aH||0),y1:c(w/aG||0),x2:c(h/aH||0),y2:c(o/aG||0)};aC.width=aC.x2-aC.x1;aC.height=aC.y2-aC.y1}function m(){if(!M.width()){return}ay={left:c(M.offset().left),top:c(M.offset().top)};S=M.innerWidth();aA=M.innerHeight();ay.top+=(M.outerHeight()-aA)>>1;ay.left+=(M.outerWidth()-S)>>1;q=ad.minWidth||0;al=ad.minHeight||0;k=d(ad.maxWidth||1<<24,S);x=d(ad.maxHeight||1<<24,aA);if(e().jquery=="1.3.2"&&ak=="fixed"&&!F.getBoundingClientRect){ay.top+=a(document.body.scrollTop,F.scrollTop);ay.left+=a(document.body.scrollLeft,F.scrollLeft)}V=e.inArray(p.css("position"),["absolute","relative"])+1?{left:c(p.offset().left)-p.scrollLeft(),top:c(p.offset().top)-p.scrollTop()}:ak=="fixed"?{left:e(document).scrollLeft(),top:e(document).scrollTop()}:{left:0,top:0};T=Y(0);ao=X(0);if(aC.x2>S||aC.y2>aA){aB()}}function J(h){if(!ah){return}B.css({left:Y(aC.x1),top:X(aC.y1)}).add(E).width(K=aC.width).height(P=aC.height);E.add(ap).add(ax).css({left:0,top:0});ap.width(a(K-ap.outerWidth()+ap.innerWidth(),0)).height(a(P-ap.outerHeight()+ap.innerHeight(),0));e(v[0]).css({left:T,top:ao,width:aC.x1,height:aA});e(v[1]).css({left:T+aC.x1,top:ao,width:K,height:aC.y1});e(v[2]).css({left:T+aC.x2,top:ao,width:S-aC.x2,height:aA});e(v[3]).css({left:T+aC.x1,top:ao+aC.y2,width:K,height:aA-aC.y2});K-=ax.outerWidth();P-=ax.outerHeight();switch(ax.length){case 8:e(ax[4]).css({left:K>>1});e(ax[5]).css({left:K,top:P>>1});e(ax[6]).css({left:K>>1,top:P});e(ax[7]).css({top:P>>1});case 4:ax.slice(1,3).css({left:K});ax.slice(2,4).css({top:P})}if(h!==false){if(e.imgAreaSelect.keyPress!=av){e(document).unbind(e.imgAreaSelect.keyPress,e.imgAreaSelect.onKeyPress)}if(ad.keys){e(document)[e.imgAreaSelect.keyPress](e.imgAreaSelect.onKeyPress=av)}}if(e.browser.msie&&ap.outerWidth()-ap.innerWidth()==2){ap.css("margin",0);setTimeout(function(){ap.css("margin","auto")},0)}}function y(h){m();J(h);D=Y(aC.x1);n=X(aC.y1);C=Y(aC.x2);l=X(aC.y2)}function ag(h,i){ad.fadeSpeed?h.fadeOut(ad.fadeSpeed,i):h.hide()}function H(i){var h=au(A(i))-aC.x1,o=at(z(i))-aC.y1;if(!I){m();I=true;B.one("mouseout",function(){I=false})}t="";if(ad.resizable){if(o<=ad.resizeMargin){t="n"}else{if(o>=aC.height-ad.resizeMargin){t="s"}}if(h<=ad.resizeMargin){t+="w"}else{if(h>=aC.width-ad.resizeMargin){t+="e"}}}B.css("cursor",t?t+"-resize":ad.movable?"move":"");if(aj){aj.toggle()}}function j(h){e("body").css("cursor","");if(ad.autoHide||aC.width*aC.height==0){ag(B.add(v),function(){e(this).hide()})}e(document).unbind("mousemove",ae);B.mousemove(H);ad.onSelectEnd(Q,ar())}function aw(h){if(h.which!=1){return false}m();if(t){e("body").css("cursor",t+"-resize");D=Y(aC[/w/.test(t)?"x2":"x1"]);n=X(aC[/n/.test(t)?"y2":"y1"]);e(document).mousemove(ae).one("mouseup",j);B.unbind("mousemove",H)}else{if(ad.movable){an=T+aC.x1-A(h);am=ao+aC.y1-z(h);B.unbind("mousemove",H);e(document).mousemove(ac).one("mouseup",function(){ad.onSelectEnd(Q,ar());e(document).unbind("mousemove",ac);B.mousemove(H)})}else{M.mousedown(h)}}return false}function L(h){if(aE){if(h){C=a(T,d(T+S,D+b(l-n)*aE*(C>D||-1)));l=c(a(ao,d(ao+aA,n+b(C-D)/aE*(l>n||-1))));C=c(C)}else{l=a(ao,d(ao+aA,n+b(C-D)/aE*(l>n||-1)));C=c(a(T,d(T+S,D+b(l-n)*aE*(C>D||-1))));l=c(l)}}}function aB(){D=d(D,T+S);n=d(n,ao+aA);if(b(C-D)T+S){D=T+S-q}}}if(b(l-n)ao+aA){n=ao+aA-al}}}C=a(T,d(C,T+S));l=a(ao,d(l,ao+aA));L(b(C-D)k){C=D-k*(Cx){l=n-x*(l=0){ax.width(5).height(5)}if(N=ad.borderWidth){ax.css({borderWidth:N,borderStyle:"solid"})}G(ax,{borderColor1:"border-color",borderColor2:"background-color",borderOpacity:"opacity"})}ab=ad.imageWidth/S||1;aa=ad.imageHeight/aA||1;if(h.x1!=null){aq(h.x1,h.y1,h.x2,h.y2);h.show=!h.hide}if(h.keys){ad.keys=e.extend({shift:1,ctrl:"resize"},h.keys)}v.addClass(ad.classPrefix+"-outer");E.addClass(ad.classPrefix+"-selection");for(O=0;O++<4;){e(ap[O-1]).addClass(ad.classPrefix+"-border"+O)}G(E,{selectionColor:"background-color",selectionOpacity:"opacity"});G(ap,{borderOpacity:"opacity",borderWidth:"border-width"});G(v,{outerColor:"background-color",outerOpacity:"opacity"});if(N=ad.borderColor1){e(ap[0]).css({borderStyle:"solid",borderColor:N})}if(N=ad.borderColor2){e(ap[1]).css({borderStyle:"dashed",borderColor:N})}B.append(E.add(ap).add(aj).add(ax));if(e.browser.msie){if(N=v.css("filter").match(/opacity=([0-9]+)/)){v.css("opacity",N[1]/100)}if(N=ap.css("filter").match(/opacity=([0-9]+)/)){ap.css("opacity",N[1]/100)}}if(h.hide){ag(B.add(v))}else{if(h.show&&u){ah=true;B.add(v).fadeIn(ad.fadeSpeed||0);y()}}aE=(R=(ad.aspectRatio||"").split(/:/))[0]/R[1];M.add(v).unbind("mousedown",aD);if(ad.disable||ad.enable===false){B.unbind("mousemove",H).unbind("mousedown",aw);e(window).unbind("resize",ai)}else{if(ad.enable||ad.disable===false){if(ad.resizable||ad.movable){B.mousemove(H).mousedown(aw)}e(window).resize(ai)}if(!ad.persistent){M.add(v).mousedown(aD)}}ad.enable=ad.disable=undefined}this.remove=function(){af({disable:true});B.add(v).remove()};this.getOptions=function(){return ad};this.setOptions=af;this.getSelection=ar;this.setSelection=aq;this.update=y;Z=M;while(Z.length){g=a(g,!isNaN(Z.css("z-index"))?Z.css("z-index"):g);if(Z.css("position")=="fixed"){ak="fixed"}Z=Z.parent(":not(body)")}g=ad.zIndex||g;if(e.browser.msie){M.attr("unselectable","on")}e.imgAreaSelect.keyPress=e.browser.msie||e.browser.safari?"keydown":"keypress";if(e.browser.opera){aj=f().css({width:"100%",height:"100%",position:"absolute",zIndex:g+2||2})}B.add(v).css({visibility:"hidden",position:ak,overflow:"hidden",zIndex:g||"0"});B.css({zIndex:g+2||2});E.add(ap).css({position:"absolute",fontSize:0});Q.complete||Q.readyState=="complete"||!M.is("img")?s():M.one("load",s);if(e.browser.msie&&e.browser.version>=9){Q.src=Q.src}};e.fn.imgAreaSelect=function(g){g=g||{};this.each(function(){if(e(this).data("imgAreaSelect")){if(g.remove){e(this).data("imgAreaSelect").remove();e(this).removeData("imgAreaSelect")}else{e(this).data("imgAreaSelect").setOptions(g)}}else{if(!g.remove){if(g.enable===undefined&&g.disable===undefined){g.enable=true}e(this).data("imgAreaSelect",new e.imgAreaSelect(this,g))}}});if(g.instance){return e(this).data("imgAreaSelect")}return this}})(jQuery); \ No newline at end of file diff --git a/src/wp-includes/js/jquery/jquery.form.dev.js b/src/wp-includes/js/jquery/jquery.form.dev.js index 2ee5c96..0065807 100644 --- a/src/wp-includes/js/jquery/jquery.form.dev.js +++ b/src/wp-includes/js/jquery/jquery.form.dev.js @@ -1,382 +1,470 @@ -/* +/*! * jQuery Form Plugin - * version: 2.02 (12/16/2007) - * @requires jQuery v1.1 or later + * version: 2.73 (03-MAY-2011) + * @requires jQuery v1.3.2 or later * - * Examples at: http://malsup.com/jquery/form/ + * Examples and documentation at: http://malsup.com/jquery/form/ * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html - * - * Revision: $Id$ */ - (function($) { +;(function($) { + +/* + Usage Note: + ----------- + Do not use both ajaxSubmit and ajaxForm on the same form. These + functions are intended to be exclusive. Use ajaxSubmit if you want + to bind your own submit handler to the form. For example, + + $(document).ready(function() { + $('#myForm').bind('submit', function(e) { + e.preventDefault(); // <-- important + $(this).ajaxSubmit({ + target: '#output' + }); + }); + }); + + Use ajaxForm when you want the plugin to manage all the event binding + for you. For example, + + $(document).ready(function() { + $('#myForm').ajaxForm({ + target: '#output' + }); + }); + + When using ajaxForm, the ajaxSubmit function will be invoked for you + at the appropriate time. +*/ + /** - * ajaxSubmit() provides a mechanism for submitting an HTML form using AJAX. - * - * ajaxSubmit accepts a single argument which can be either a success callback function - * or an options Object. If a function is provided it will be invoked upon successful - * completion of the submit and will be passed the response from the server. - * If an options Object is provided, the following attributes are supported: - * - * target: Identifies the element(s) in the page to be updated with the server response. - * This value may be specified as a jQuery selection string, a jQuery object, - * or a DOM element. - * default value: null - * - * url: URL to which the form data will be submitted. - * default value: value of form's 'action' attribute - * - * type: The method in which the form data should be submitted, 'GET' or 'POST'. - * default value: value of form's 'method' attribute (or 'GET' if none found) - * - * data: Additional data to add to the request, specified as key/value pairs (see $.ajax). - * - * beforeSubmit: Callback method to be invoked before the form is submitted. - * default value: null - * - * success: Callback method to be invoked after the form has been successfully submitted - * and the response has been returned from the server - * default value: null - * - * dataType: Expected dataType of the response. One of: null, 'xml', 'script', or 'json' - * default value: null - * - * semantic: Boolean flag indicating whether data must be submitted in semantic order (slower). - * default value: false - * - * resetForm: Boolean flag indicating whether the form should be reset if the submit is successful - * - * clearForm: Boolean flag indicating whether the form should be cleared if the submit is successful - * - * - * The 'beforeSubmit' callback can be provided as a hook for running pre-submit logic or for - * validating the form data. If the 'beforeSubmit' callback returns false then the form will - * not be submitted. The 'beforeSubmit' callback is invoked with three arguments: the form data - * in array format, the jQuery object, and the options object passed into ajaxSubmit. - * The form data array takes the following form: - * - * [ { name: 'username', value: 'jresig' }, { name: 'password', value: 'secret' } ] - * - * If a 'success' callback method is provided it is invoked after the response has been returned - * from the server. It is passed the responseText or responseXML value (depending on dataType). - * See jQuery.ajax for further details. - * - * - * The dataType option provides a means for specifying how the server response should be handled. - * This maps directly to the jQuery.httpData method. The following values are supported: - * - * 'xml': if dataType == 'xml' the server response is treated as XML and the 'success' - * callback method, if specified, will be passed the responseXML value - * 'json': if dataType == 'json' the server response will be evaluted and passed to - * the 'success' callback, if specified - * 'script': if dataType == 'script' the server response is evaluated in the global context - * - * - * Note that it does not make sense to use both the 'target' and 'dataType' options. If both - * are provided the target will be ignored. - * - * The semantic argument can be used to force form serialization in semantic order. - * This is normally true anyway, unless the form contains input elements of type='image'. - * If your form must be submitted with name/value pairs in semantic order and your form - * contains an input of type='image" then pass true for this arg, otherwise pass false - * (or nothing) to avoid the overhead for this logic. - * - * - * When used on its own, ajaxSubmit() is typically bound to a form's submit event like this: - * - * $("#form-id").submit(function() { - * $(this).ajaxSubmit(options); - * return false; // cancel conventional submit - * }); - * - * When using ajaxForm(), however, this is done for you. - * - * @example - * $('#myForm').ajaxSubmit(function(data) { - * alert('Form submit succeeded! Server returned: ' + data); - * }); - * @desc Submit form and alert server response - * - * - * @example - * var options = { - * target: '#myTargetDiv' - * }; - * $('#myForm').ajaxSubmit(options); - * @desc Submit form and update page element with server response - * - * - * @example - * var options = { - * success: function(responseText) { - * alert(responseText); - * } - * }; - * $('#myForm').ajaxSubmit(options); - * @desc Submit form and alert the server response - * - * - * @example - * var options = { - * beforeSubmit: function(formArray, jqForm) { - * if (formArray.length == 0) { - * alert('Please enter data.'); - * return false; - * } - * } - * }; - * $('#myForm').ajaxSubmit(options); - * @desc Pre-submit validation which aborts the submit operation if form data is empty - * - * - * @example - * var options = { - * url: myJsonUrl.php, - * dataType: 'json', - * success: function(data) { - * // 'data' is an object representing the the evaluated json data - * } - * }; - * $('#myForm').ajaxSubmit(options); - * @desc json data returned and evaluated - * - * - * @example - * var options = { - * url: myXmlUrl.php, - * dataType: 'xml', - * success: function(responseXML) { - * // responseXML is XML document object - * var data = $('myElement', responseXML).text(); - * } - * }; - * $('#myForm').ajaxSubmit(options); - * @desc XML data returned from server - * - * - * @example - * var options = { - * resetForm: true - * }; - * $('#myForm').ajaxSubmit(options); - * @desc submit form and reset it if successful - * - * @example - * $('#myForm).submit(function() { - * $(this).ajaxSubmit(); - * return false; - * }); - * @desc Bind form's submit event to use ajaxSubmit - * - * - * @name ajaxSubmit - * @type jQuery - * @param options object literal containing options which control the form submission process - * @cat Plugins/Form - * @return jQuery + * ajaxSubmit() provides a mechanism for immediately submitting + * an HTML form using AJAX. */ $.fn.ajaxSubmit = function(options) { - if (typeof options == 'function') - options = { success: options }; - - options = $.extend({ - url: this.attr('action') || window.location.toString(), - type: this.attr('method') || 'GET' - }, options || {}); - - // hook for manipulating the form data before it is extracted; - // convenient for use with rich editors like tinyMCE or FCKEditor - var veto = {}; - $.event.trigger('form.pre.serialize', [this, options, veto]); - if (veto.veto) return this; - - var a = this.formToArray(options.semantic); - if (options.data) { - for (var n in options.data) - a.push( { name: n, value: options.data[n] } ); + // fast fail if nothing selected (http://dev.jquery.com/ticket/2752) + if (!this.length) { + log('ajaxSubmit: skipping submit process - no element selected'); + return this; } - // give pre-submit callback an opportunity to abort the submit - if (options.beforeSubmit && options.beforeSubmit(a, this, options) === false) return this; + if (typeof options == 'function') { + options = { success: options }; + } - // fire vetoable 'validate' event - $.event.trigger('form.submit.validate', [a, this, options, veto]); - if (veto.veto) return this; + var action = this.attr('action'); + var url = (typeof action === 'string') ? $.trim(action) : ''; + if (url) { + // clean url (don't include hash vaue) + url = (url.match(/^([^#]+)/)||[])[1]; + } + url = url || window.location.href || ''; - var q = $.param(a);//.replace(/%20/g,'+'); + options = $.extend(true, { + url: url, + success: $.ajaxSettings.success, + type: this[0].getAttribute('method') || 'GET', // IE7 massage (see issue 57) + iframeSrc: /^https/i.test(window.location.href || '') ? 'javascript:false' : 'about:blank' + }, options); - if (options.type.toUpperCase() == 'GET') { - options.url += (options.url.indexOf('?') >= 0 ? '&' : '?') + q; - options.data = null; // data is null for 'get' - } - else - options.data = q; // data is the query string for 'post' + // hook for manipulating the form data before it is extracted; + // convenient for use with rich editors like tinyMCE or FCKEditor + var veto = {}; + this.trigger('form-pre-serialize', [this, options, veto]); + if (veto.veto) { + log('ajaxSubmit: submit vetoed via form-pre-serialize trigger'); + return this; + } - var $form = this, callbacks = []; - if (options.resetForm) callbacks.push(function() { $form.resetForm(); }); - if (options.clearForm) callbacks.push(function() { $form.clearForm(); }); + // provide opportunity to alter form data before it is serialized + if (options.beforeSerialize && options.beforeSerialize(this, options) === false) { + log('ajaxSubmit: submit aborted via beforeSerialize callback'); + return this; + } - // perform a load on the target only if dataType is not provided - if (!options.dataType && options.target) { - var oldSuccess = options.success || function(){}; - callbacks.push(function(data) { - if (this.evalScripts) - $(options.target).attr("innerHTML", data).evalScripts().each(oldSuccess, arguments); - else // jQuery v1.1.4 - $(options.target).html(data).each(oldSuccess, arguments); - }); - } - else if (options.success) - callbacks.push(options.success); + var n,v,a = this.formToArray(options.semantic); + if (options.data) { + options.extraData = options.data; + for (n in options.data) { + if(options.data[n] instanceof Array) { + for (var k in options.data[n]) { + a.push( { name: n, value: options.data[n][k] } ); + } + } + else { + v = options.data[n]; + v = $.isFunction(v) ? v() : v; // if value is fn, invoke it + a.push( { name: n, value: v } ); + } + } + } - options.success = function(data, status) { - for (var i=0, max=callbacks.length; i < max; i++) - callbacks[i](data, status, $form); - }; + // give pre-submit callback an opportunity to abort the submit + if (options.beforeSubmit && options.beforeSubmit(a, this, options) === false) { + log('ajaxSubmit: submit aborted via beforeSubmit callback'); + return this; + } - // are there files to upload? - var files = $('input:file', this).fieldValue(); - var found = false; - for (var j=0; j < files.length; j++) - if (files[j]) - found = true; + // fire vetoable 'validate' event + this.trigger('form-submit-validate', [a, this, options, veto]); + if (veto.veto) { + log('ajaxSubmit: submit vetoed via form-submit-validate trigger'); + return this; + } - // options.iframe allows user to force iframe mode - if (options.iframe || found) { - // hack to fix Safari hang (thanks to Tim Molendijk for this) - // see: http://groups.google.com/group/jquery-dev/browse_thread/thread/36395b7ab510dd5d - if ($.browser.safari && options.closeKeepAlive) - $.get(options.closeKeepAlive, fileUpload); - else - fileUpload(); - } - else - $.ajax(options); + var q = $.param(a); - // fire 'notify' event - $.event.trigger('form.submit.notify', [this, options]); - return this; + if (options.type.toUpperCase() == 'GET') { + options.url += (options.url.indexOf('?') >= 0 ? '&' : '?') + q; + options.data = null; // data is null for 'get' + } + else { + options.data = q; // data is the query string for 'post' + } + + var $form = this, callbacks = []; + if (options.resetForm) { + callbacks.push(function() { $form.resetForm(); }); + } + if (options.clearForm) { + callbacks.push(function() { $form.clearForm(); }); + } + + // perform a load on the target only if dataType is not provided + if (!options.dataType && options.target) { + var oldSuccess = options.success || function(){}; + callbacks.push(function(data) { + var fn = options.replaceTarget ? 'replaceWith' : 'html'; + $(options.target)[fn](data).each(oldSuccess, arguments); + }); + } + else if (options.success) { + callbacks.push(options.success); + } + + options.success = function(data, status, xhr) { // jQuery 1.4+ passes xhr as 3rd arg + var context = options.context || options; // jQuery 1.4+ supports scope context + for (var i=0, max=callbacks.length; i < max; i++) { + callbacks[i].apply(context, [data, status, xhr || $form, $form]); + } + }; + + // are there files to upload? + var fileInputs = $('input:file', this).length > 0; + var mp = 'multipart/form-data'; + var multipart = ($form.attr('enctype') == mp || $form.attr('encoding') == mp); + + // options.iframe allows user to force iframe mode + // 06-NOV-09: now defaulting to iframe mode if file input is detected + if (options.iframe !== false && (fileInputs || options.iframe || multipart)) { + // hack to fix Safari hang (thanks to Tim Molendijk for this) + // see: http://groups.google.com/group/jquery-dev/browse_thread/thread/36395b7ab510dd5d + if (options.closeKeepAlive) { + $.get(options.closeKeepAlive, fileUpload); + } + else { + fileUpload(); + } + } + else { + $.ajax(options); + } + + // fire 'notify' event + this.trigger('form-submit-notify', [this, options]); + return this; - // private function for handling file uploads (hat tip to YAHOO!) - function fileUpload() { - var form = $form[0]; - var opts = $.extend({}, $.ajaxSettings, options); + // private function for handling file uploads (hat tip to YAHOO!) + function fileUpload() { + var form = $form[0]; - var id = 'jqFormIO' + $.fn.ajaxSubmit.counter++; - var $io = $(''; document.getElementById('iframecontainer').innerHTML = html; document.getElementById('help_tab').style.display = 'block'; + document.getElementById('help_tab').setAttribute("aria-hidden", "false"); } } diff --git a/src/wp-includes/js/tinymce/themes/advanced/js/anchor.js b/src/wp-includes/js/tinymce/themes/advanced/js/anchor.js index d7a854e..7b55635 100644 --- a/src/wp-includes/js/tinymce/themes/advanced/js/anchor.js +++ b/src/wp-includes/js/tinymce/themes/advanced/js/anchor.js @@ -19,6 +19,11 @@ var AnchorDialog = { update : function() { var ed = this.editor, elm, name = document.forms[0].anchorName.value; + if (!name || !/^[a-z][a-z0-9\-\_:\.]*$/i.test(name)) { + tinyMCEPopup.alert('advanced_dlg.anchor_invalid'); + return; + } + tinyMCEPopup.restoreSelection(); if (this.action != 'update') diff --git a/src/wp-includes/js/tinymce/themes/advanced/js/charmap.js b/src/wp-includes/js/tinymce/themes/advanced/js/charmap.js index 53a2683..78bc080 100644 --- a/src/wp-includes/js/tinymce/themes/advanced/js/charmap.js +++ b/src/wp-includes/js/tinymce/themes/advanced/js/charmap.js @@ -173,7 +173,7 @@ var charmap = [ ['ý', 'ý', true, 'y - acute'], ['þ', 'þ', true, 'thorn'], ['ÿ', 'ÿ', true, 'y - diaeresis'], - ['Α', 'Α', true, 'Alpha'], + ['Α', 'Α', true, 'Alpha'], ['Β', 'Β', true, 'Beta'], ['Γ', 'Γ', true, 'Gamma'], ['Δ', 'Δ', true, 'Delta'], @@ -258,8 +258,8 @@ var charmap = [ ['⌋', '⌋', false,'right floor'], ['⟨', '〈', false,'left-pointing angle bracket'], ['⟩', '〉', false,'right-pointing angle bracket'], - ['◊', '◊', true,'lozenge'], - ['♠', '♠', false,'black spade suit'], + ['◊', '◊', true, 'lozenge'], + ['♠', '♠', true, 'black spade suit'], ['♣', '♣', true, 'black club suit'], ['♥', '♥', true, 'black heart suit'], ['♦', '♦', true, 'black diamond suit'], @@ -275,19 +275,38 @@ var charmap = [ tinyMCEPopup.onInit.add(function() { tinyMCEPopup.dom.setHTML('charmapView', renderCharMapHTML()); + addKeyboardNavigation(); }); +function addKeyboardNavigation(){ + var tableElm, cells, settings; + + cells = tinyMCEPopup.dom.select(".charmaplink", "charmapgroup"); + + settings ={ + root: "charmapgroup", + items: cells + }; + + tinyMCEPopup.editor.windowManager.createInstance('tinymce.ui.KeyboardNavigation', settings, tinyMCEPopup.dom); +} + function renderCharMapHTML() { var charsPerRow = 20, tdWidth=20, tdHeight=20, i; - var html = ''; + var html = '
      '+ + '
      '; var cols=-1; for (i=0; i' - + '' + + '' + charmap[i][1] + ''; if ((cols+1) % charsPerRow == 0) @@ -301,7 +320,8 @@ function renderCharMapHTML() { html += ''; } - html += '
       
      '; + html += '
      '; + html = html.replace(/<\/tr>/g, ''); return html; } diff --git a/src/wp-includes/js/tinymce/themes/advanced/js/color_picker.js b/src/wp-includes/js/tinymce/themes/advanced/js/color_picker.js index c1a65db..cdf8c4c 100644 --- a/src/wp-includes/js/tinymce/themes/advanced/js/color_picker.js +++ b/src/wp-includes/js/tinymce/themes/advanced/js/color_picker.js @@ -1,6 +1,6 @@ tinyMCEPopup.requireLangPack(); -var detail = 50, strhex = "0123456789abcdef", i, isMouseDown = false, isMouseOver = false; +var detail = 50, strhex = "0123456789ABCDEF", i, isMouseDown = false, isMouseOver = false; var colors = [ "#000000","#000033","#000066","#000099","#0000cc","#0000ff","#330000","#330033", @@ -33,37 +33,41 @@ var colors = [ ]; var named = { - '#F0F8FF':'AliceBlue','#FAEBD7':'AntiqueWhite','#00FFFF':'Aqua','#7FFFD4':'Aquamarine','#F0FFFF':'Azure','#F5F5DC':'Beige', - '#FFE4C4':'Bisque','#000000':'Black','#FFEBCD':'BlanchedAlmond','#0000FF':'Blue','#8A2BE2':'BlueViolet','#A52A2A':'Brown', - '#DEB887':'BurlyWood','#5F9EA0':'CadetBlue','#7FFF00':'Chartreuse','#D2691E':'Chocolate','#FF7F50':'Coral','#6495ED':'CornflowerBlue', - '#FFF8DC':'Cornsilk','#DC143C':'Crimson','#00FFFF':'Cyan','#00008B':'DarkBlue','#008B8B':'DarkCyan','#B8860B':'DarkGoldenRod', - '#A9A9A9':'DarkGray','#A9A9A9':'DarkGrey','#006400':'DarkGreen','#BDB76B':'DarkKhaki','#8B008B':'DarkMagenta','#556B2F':'DarkOliveGreen', - '#FF8C00':'Darkorange','#9932CC':'DarkOrchid','#8B0000':'DarkRed','#E9967A':'DarkSalmon','#8FBC8F':'DarkSeaGreen','#483D8B':'DarkSlateBlue', - '#2F4F4F':'DarkSlateGray','#2F4F4F':'DarkSlateGrey','#00CED1':'DarkTurquoise','#9400D3':'DarkViolet','#FF1493':'DeepPink','#00BFFF':'DeepSkyBlue', - '#696969':'DimGray','#696969':'DimGrey','#1E90FF':'DodgerBlue','#B22222':'FireBrick','#FFFAF0':'FloralWhite','#228B22':'ForestGreen', - '#FF00FF':'Fuchsia','#DCDCDC':'Gainsboro','#F8F8FF':'GhostWhite','#FFD700':'Gold','#DAA520':'GoldenRod','#808080':'Gray','#808080':'Grey', - '#008000':'Green','#ADFF2F':'GreenYellow','#F0FFF0':'HoneyDew','#FF69B4':'HotPink','#CD5C5C':'IndianRed','#4B0082':'Indigo','#FFFFF0':'Ivory', - '#F0E68C':'Khaki','#E6E6FA':'Lavender','#FFF0F5':'LavenderBlush','#7CFC00':'LawnGreen','#FFFACD':'LemonChiffon','#ADD8E6':'LightBlue', - '#F08080':'LightCoral','#E0FFFF':'LightCyan','#FAFAD2':'LightGoldenRodYellow','#D3D3D3':'LightGray','#D3D3D3':'LightGrey','#90EE90':'LightGreen', - '#FFB6C1':'LightPink','#FFA07A':'LightSalmon','#20B2AA':'LightSeaGreen','#87CEFA':'LightSkyBlue','#778899':'LightSlateGray','#778899':'LightSlateGrey', - '#B0C4DE':'LightSteelBlue','#FFFFE0':'LightYellow','#00FF00':'Lime','#32CD32':'LimeGreen','#FAF0E6':'Linen','#FF00FF':'Magenta','#800000':'Maroon', - '#66CDAA':'MediumAquaMarine','#0000CD':'MediumBlue','#BA55D3':'MediumOrchid','#9370D8':'MediumPurple','#3CB371':'MediumSeaGreen','#7B68EE':'MediumSlateBlue', - '#00FA9A':'MediumSpringGreen','#48D1CC':'MediumTurquoise','#C71585':'MediumVioletRed','#191970':'MidnightBlue','#F5FFFA':'MintCream','#FFE4E1':'MistyRose','#FFE4B5':'Moccasin', - '#FFDEAD':'NavajoWhite','#000080':'Navy','#FDF5E6':'OldLace','#808000':'Olive','#6B8E23':'OliveDrab','#FFA500':'Orange','#FF4500':'OrangeRed','#DA70D6':'Orchid', - '#EEE8AA':'PaleGoldenRod','#98FB98':'PaleGreen','#AFEEEE':'PaleTurquoise','#D87093':'PaleVioletRed','#FFEFD5':'PapayaWhip','#FFDAB9':'PeachPuff', - '#CD853F':'Peru','#FFC0CB':'Pink','#DDA0DD':'Plum','#B0E0E6':'PowderBlue','#800080':'Purple','#FF0000':'Red','#BC8F8F':'RosyBrown','#4169E1':'RoyalBlue', - '#8B4513':'SaddleBrown','#FA8072':'Salmon','#F4A460':'SandyBrown','#2E8B57':'SeaGreen','#FFF5EE':'SeaShell','#A0522D':'Sienna','#C0C0C0':'Silver', - '#87CEEB':'SkyBlue','#6A5ACD':'SlateBlue','#708090':'SlateGray','#708090':'SlateGrey','#FFFAFA':'Snow','#00FF7F':'SpringGreen', - '#4682B4':'SteelBlue','#D2B48C':'Tan','#008080':'Teal','#D8BFD8':'Thistle','#FF6347':'Tomato','#40E0D0':'Turquoise','#EE82EE':'Violet', - '#F5DEB3':'Wheat','#FFFFFF':'White','#F5F5F5':'WhiteSmoke','#FFFF00':'Yellow','#9ACD32':'YellowGreen' + '#F0F8FF':'Alice Blue','#FAEBD7':'Antique White','#00FFFF':'Aqua','#7FFFD4':'Aquamarine','#F0FFFF':'Azure','#F5F5DC':'Beige', + '#FFE4C4':'Bisque','#000000':'Black','#FFEBCD':'Blanched Almond','#0000FF':'Blue','#8A2BE2':'Blue Violet','#A52A2A':'Brown', + '#DEB887':'Burly Wood','#5F9EA0':'Cadet Blue','#7FFF00':'Chartreuse','#D2691E':'Chocolate','#FF7F50':'Coral','#6495ED':'Cornflower Blue', + '#FFF8DC':'Cornsilk','#DC143C':'Crimson','#00FFFF':'Cyan','#00008B':'Dark Blue','#008B8B':'Dark Cyan','#B8860B':'Dark Golden Rod', + '#A9A9A9':'Dark Gray','#A9A9A9':'Dark Grey','#006400':'Dark Green','#BDB76B':'Dark Khaki','#8B008B':'Dark Magenta','#556B2F':'Dark Olive Green', + '#FF8C00':'Darkorange','#9932CC':'Dark Orchid','#8B0000':'Dark Red','#E9967A':'Dark Salmon','#8FBC8F':'Dark Sea Green','#483D8B':'Dark Slate Blue', + '#2F4F4F':'Dark Slate Gray','#2F4F4F':'Dark Slate Grey','#00CED1':'Dark Turquoise','#9400D3':'Dark Violet','#FF1493':'Deep Pink','#00BFFF':'Deep Sky Blue', + '#696969':'Dim Gray','#696969':'Dim Grey','#1E90FF':'Dodger Blue','#B22222':'Fire Brick','#FFFAF0':'Floral White','#228B22':'Forest Green', + '#FF00FF':'Fuchsia','#DCDCDC':'Gainsboro','#F8F8FF':'Ghost White','#FFD700':'Gold','#DAA520':'Golden Rod','#808080':'Gray','#808080':'Grey', + '#008000':'Green','#ADFF2F':'Green Yellow','#F0FFF0':'Honey Dew','#FF69B4':'Hot Pink','#CD5C5C':'Indian Red','#4B0082':'Indigo','#FFFFF0':'Ivory', + '#F0E68C':'Khaki','#E6E6FA':'Lavender','#FFF0F5':'Lavender Blush','#7CFC00':'Lawn Green','#FFFACD':'Lemon Chiffon','#ADD8E6':'Light Blue', + '#F08080':'Light Coral','#E0FFFF':'Light Cyan','#FAFAD2':'Light Golden Rod Yellow','#D3D3D3':'Light Gray','#D3D3D3':'Light Grey','#90EE90':'Light Green', + '#FFB6C1':'Light Pink','#FFA07A':'Light Salmon','#20B2AA':'Light Sea Green','#87CEFA':'Light Sky Blue','#778899':'Light Slate Gray','#778899':'Light Slate Grey', + '#B0C4DE':'Light Steel Blue','#FFFFE0':'Light Yellow','#00FF00':'Lime','#32CD32':'Lime Green','#FAF0E6':'Linen','#FF00FF':'Magenta','#800000':'Maroon', + '#66CDAA':'Medium Aqua Marine','#0000CD':'Medium Blue','#BA55D3':'Medium Orchid','#9370D8':'Medium Purple','#3CB371':'Medium Sea Green','#7B68EE':'Medium Slate Blue', + '#00FA9A':'Medium Spring Green','#48D1CC':'Medium Turquoise','#C71585':'Medium Violet Red','#191970':'Midnight Blue','#F5FFFA':'Mint Cream','#FFE4E1':'Misty Rose','#FFE4B5':'Moccasin', + '#FFDEAD':'Navajo White','#000080':'Navy','#FDF5E6':'Old Lace','#808000':'Olive','#6B8E23':'Olive Drab','#FFA500':'Orange','#FF4500':'Orange Red','#DA70D6':'Orchid', + '#EEE8AA':'Pale Golden Rod','#98FB98':'Pale Green','#AFEEEE':'Pale Turquoise','#D87093':'Pale Violet Red','#FFEFD5':'Papaya Whip','#FFDAB9':'Peach Puff', + '#CD853F':'Peru','#FFC0CB':'Pink','#DDA0DD':'Plum','#B0E0E6':'Powder Blue','#800080':'Purple','#FF0000':'Red','#BC8F8F':'Rosy Brown','#4169E1':'Royal Blue', + '#8B4513':'Saddle Brown','#FA8072':'Salmon','#F4A460':'Sandy Brown','#2E8B57':'Sea Green','#FFF5EE':'Sea Shell','#A0522D':'Sienna','#C0C0C0':'Silver', + '#87CEEB':'Sky Blue','#6A5ACD':'Slate Blue','#708090':'Slate Gray','#708090':'Slate Grey','#FFFAFA':'Snow','#00FF7F':'Spring Green', + '#4682B4':'Steel Blue','#D2B48C':'Tan','#008080':'Teal','#D8BFD8':'Thistle','#FF6347':'Tomato','#40E0D0':'Turquoise','#EE82EE':'Violet', + '#F5DEB3':'Wheat','#FFFFFF':'White','#F5F5F5':'White Smoke','#FFFF00':'Yellow','#9ACD32':'Yellow Green' }; +var namedLookup = {}; + function init() { - var inputColor = convertRGBToHex(tinyMCEPopup.getWindowArg('input_color')); + var inputColor = convertRGBToHex(tinyMCEPopup.getWindowArg('input_color')), key, value; tinyMCEPopup.resizeToInnerSize(); generatePicker(); + generateWebColors(); + generateNamedColors(); if (inputColor) { changeFinalColor(inputColor); @@ -73,6 +77,45 @@ function init() { if (col) updateLight(col.r, col.g, col.b); } + + for (key in named) { + value = named[key]; + namedLookup[value.replace(/\s+/, '').toLowerCase()] = key.replace(/#/, '').toLowerCase(); + } +} + +function toHexColor(color) { + var matches, red, green, blue, toInt = parseInt; + + function hex(value) { + value = parseInt(value).toString(16); + + return value.length > 1 ? value : '0' + value; // Padd with leading zero + }; + + color = color.replace(/[\s#]+/g, '').toLowerCase(); + color = namedLookup[color] || color; + matches = /^rgb\((\d{1,3}),(\d{1,3}),(\d{1,3})\)|([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})|([a-f0-9])([a-f0-9])([a-f0-9])$/.exec(color); + + if (matches) { + if (matches[1]) { + red = toInt(matches[1]); + green = toInt(matches[2]); + blue = toInt(matches[3]); + } else if (matches[4]) { + red = toInt(matches[4], 16); + green = toInt(matches[5], 16); + blue = toInt(matches[6], 16); + } else if (matches[7]) { + red = toInt(matches[7] + matches[7], 16); + green = toInt(matches[8] + matches[8], 16); + blue = toInt(matches[9] + matches[9], 16); + } + + return '#' + hex(red) + hex(green) + hex(blue); + } + + return ''; } function insertAction() { @@ -81,7 +124,7 @@ function insertAction() { tinyMCEPopup.restoreSelection(); if (f) - f(color); + f(toHexColor(color)); tinyMCEPopup.close(); } @@ -91,7 +134,7 @@ function showColor(color, name) { document.getElementById("colorname").innerHTML = name; document.getElementById("preview").style.backgroundColor = color; - document.getElementById("color").value = color.toLowerCase(); + document.getElementById("color").value = color.toUpperCase(); } function convertRGBToHex(col) { @@ -153,23 +196,40 @@ function generateWebColors() { if (el.className == 'generated') return; - h += '' + // TODO: VoiceOver doesn't seem to support legend as a label referenced by labelledby. + h += '
      ' + ''; for (i=0; i' - + '' - + ''; + + ''; + if (tinyMCEPopup.editor.forcedHighContrastMode) { + h += ''; + } + h += ''; + h += ''; if ((i+1) % 18 == 0) h += ''; } - h += '
      '; + h += '
      '; el.innerHTML = h; el.className = 'generated'; + + paintCanvas(el); + enableKeyboardNavigation(el.firstChild); } +function paintCanvas(el) { + tinyMCEPopup.getWin().tinymce.each(tinyMCEPopup.dom.select('canvas.mceColorSwatch', el), function(canvas) { + var context; + if (canvas.getContext && (context = canvas.getContext("2d"))) { + context.fillStyle = canvas.getAttribute('data-color'); + context.fillRect(0, 0, 10, 10); + } + }); +} function generateNamedColors() { var el = document.getElementById('namedcolors'), h = '', n, v, i = 0; @@ -178,11 +238,27 @@ function generateNamedColors() { for (n in named) { v = named[n]; - h += '' + h += ''; + if (tinyMCEPopup.editor.forcedHighContrastMode) { + h += ''; + } + h += ''; + h += ''; + i++; } el.innerHTML = h; el.className = 'generated'; + + paintCanvas(el); + enableKeyboardNavigation(el); +} + +function enableKeyboardNavigation(el) { + tinyMCEPopup.editor.windowManager.createInstance('tinymce.ui.KeyboardNavigation', { + root: el, + items: tinyMCEPopup.dom.select('a', el) + }, tinyMCEPopup.dom); } function dechex(n) { diff --git a/src/wp-includes/js/tinymce/themes/advanced/js/image.js b/src/wp-includes/js/tinymce/themes/advanced/js/image.js index cb28803..54af100 100644 --- a/src/wp-includes/js/tinymce/themes/advanced/js/image.js +++ b/src/wp-includes/js/tinymce/themes/advanced/js/image.js @@ -29,7 +29,6 @@ var ImageDialog = { f.width.value = ed.dom.getAttrib(e, 'width'); f.height.value = ed.dom.getAttrib(e, 'height'); f.insert.value = ed.getLang('update'); - f.class_name.value = ed.dom.getAttrib(e, 'class'); this.styleVal = ed.dom.getAttrib(e, 'style'); selectByValue(f, 'image_list', f.src.value); selectByValue(f, 'align', this.getAttrib(e, 'align')); @@ -78,7 +77,7 @@ var ImageDialog = { args.style = this.styleVal; tinymce.extend(args, { - src : f.src.value, + src : f.src.value.replace(/ /g, '%20'), alt : f.alt.value, width : f.width.value, height : f.height.value, @@ -89,6 +88,8 @@ var ImageDialog = { if (el && el.nodeName == 'IMG') { ed.dom.setAttribs(el, args); + tinyMCEPopup.editor.execCommand('mceRepaint'); + tinyMCEPopup.editor.focus(); } else { ed.execCommand('mceInsertContent', false, '', {skip_undo : 1}); ed.dom.setAttribs('__mce_tmp', args); diff --git a/src/wp-includes/js/tinymce/themes/advanced/js/link.js b/src/wp-includes/js/tinymce/themes/advanced/js/link.js index 73b9f59..e67d868 100644 --- a/src/wp-includes/js/tinymce/themes/advanced/js/link.js +++ b/src/wp-includes/js/tinymce/themes/advanced/js/link.js @@ -31,7 +31,7 @@ var LinkDialog = { }, update : function() { - var f = document.forms[0], ed = tinyMCEPopup.editor, e, b; + var f = document.forms[0], ed = tinyMCEPopup.editor, e, b, href = f.href.value.replace(/ /g, '%20'); tinyMCEPopup.restoreSelection(); e = ed.dom.getParent(ed.selection.getNode(), 'A'); @@ -39,7 +39,6 @@ var LinkDialog = { // Remove element if there is no href if (!f.href.value) { if (e) { - tinyMCEPopup.execCommand("mceBeginUndoLevel"); b = ed.selection.getBookmark(); ed.dom.remove(e, 1); ed.selection.moveToBookmark(b); @@ -49,19 +48,17 @@ var LinkDialog = { } } - tinyMCEPopup.execCommand("mceBeginUndoLevel"); - // Create new anchor elements if (e == null) { ed.getDoc().execCommand("unlink", false, null); - tinyMCEPopup.execCommand("CreateLink", false, "#mce_temp_url#", {skip_undo : 1}); + tinyMCEPopup.execCommand("mceInsertLink", false, "#mce_temp_url#", {skip_undo : 1}); tinymce.each(ed.dom.select("a"), function(n) { if (ed.dom.getAttrib(n, 'href') == '#mce_temp_url#') { e = n; ed.dom.setAttribs(e, { - href : f.href.value, + href : href, title : f.linktitle.value, target : f.target_list ? getSelectValue(f, "target_list") : null, 'class' : f.class_list ? getSelectValue(f, "class_list") : null @@ -70,7 +67,7 @@ var LinkDialog = { }); } else { ed.dom.setAttribs(e, { - href : f.href.value, + href : href, title : f.linktitle.value, target : f.target_list ? getSelectValue(f, "target_list") : null, 'class' : f.class_list ? getSelectValue(f, "class_list") : null diff --git a/src/wp-includes/js/tinymce/themes/advanced/js/source_editor.js b/src/wp-includes/js/tinymce/themes/advanced/js/source_editor.js index 4f61d1c..9cf6b1a 100644 --- a/src/wp-includes/js/tinymce/themes/advanced/js/source_editor.js +++ b/src/wp-includes/js/tinymce/themes/advanced/js/source_editor.js @@ -50,7 +50,7 @@ function resizeInputs() { el = document.getElementById('htmlSource'); if (el) { - el.style.width = (vp.w - 20) + 'px'; + el.style.width = (vp.w - 20) + 'px'; el.style.height = (vp.h - 65) + 'px'; } } diff --git a/src/wp-includes/js/tinymce/themes/advanced/link.htm b/src/wp-includes/js/tinymce/themes/advanced/link.htm index e0eb4ba..7c34b6d 100644 --- a/src/wp-includes/js/tinymce/themes/advanced/link.htm +++ b/src/wp-includes/js/tinymce/themes/advanced/link.htm @@ -2,11 +2,11 @@ {#advanced_dlg.link_title} - - - - - + + + + +
      @@ -18,34 +18,33 @@
      - - - - - - - - - - - - - - - - - - - - - - -
      - - - - -
       
      + + + + + + + + + + + + + + + + + + + + + +
      + + + + +
       
      diff --git a/src/wp-includes/js/tinymce/themes/advanced/shortcuts.htm b/src/wp-includes/js/tinymce/themes/advanced/shortcuts.htm new file mode 100644 index 0000000..16a1502 --- /dev/null +++ b/src/wp-includes/js/tinymce/themes/advanced/shortcuts.htm @@ -0,0 +1,47 @@ + + + + {#advanced_dlg.accessibility_help} + + + + +

      {#advanced_dlg.accessibility_usage_title}

      +

      Toolbars

      +

      Press ALT-F10 to move focus to the toolbars. Navigate through the buttons using the arrow keys. + Press enter to activate a button and return focus to the editor. + Press escape to return focus to the editor without performing any actions.

      + +

      Status Bar

      +

      To access the editor status bar, press ALT-F11. Use the left and right arrow keys to navigate between elements in the path. + Press enter or space to select an element. Press escape to return focus to the editor without changing the selection.

      + +

      Context Menu

      +

      Press shift-F10 to activate the context menu. Use the up and down arrow keys to move between menu items. To open sub-menus press the right arrow key. + To close submenus press the left arrow key. Press escape to close the context menu.

      + +

      Keyboard Shortcuts

      + + + + + + + + + + + + + + + + + + + + + +
      KeystrokeFunction
      Control-BBold
      Control-IItalic
      Control-ZUndo
      Control-YRedo
      + + diff --git a/src/wp-includes/js/tinymce/themes/advanced/skins/default/content.css b/src/wp-includes/js/tinymce/themes/advanced/skins/default/content.css index dd8fb95..842d52d 100644 --- a/src/wp-includes/js/tinymce/themes/advanced/skins/default/content.css +++ b/src/wp-includes/js/tinymce/themes/advanced/skins/default/content.css @@ -1,6 +1,7 @@ body, td, pre {color:#000; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px; margin:8px;} body {background:#FFF;} body.mceForceColors {background:#FFF; color:#000;} +body.mceBrowserDefaults {background:transparent; color:inherit; font-size:inherit; font-family:inherit;} h1 {font-size: 2em} h2 {font-size: 1.5em} h3 {font-size: 1.17em} @@ -34,3 +35,13 @@ scrollbar-track-color:#F5F5F5; img:-moz-broken {-moz-force-broken-image-icon:1; width:24px; height:24px} font[face=mceinline] {font-family:inherit !important} + +.mceItemMedia {border:1px dotted #cc0000; background-position:center; background-repeat:no-repeat; background-color:#ffffcc} +.mceItemShockWave {background-image:url(../../img/shockwave.gif)} +.mceItemFlash {background-image:url(../../img/flash.gif)} +.mceItemQuickTime {background-image:url(../../img/quicktime.gif)} +.mceItemWindowsMedia {background-image:url(../../img/windowsmedia.gif)} +.mceItemRealMedia {background-image:url(../../img/realmedia.gif)} +.mceItemVideo {background-image:url(../../img/video.gif)} +.mceItemIframe {background-image:url(../../img/iframe.gif)} +.mcePageBreak {display:block;border:0;width:100%;height:12px;border-top:1px dotted #ccc;margin-top:15px;background:#fff url(../../img/pagebreak.gif) no-repeat center top;} diff --git a/src/wp-includes/js/tinymce/themes/advanced/skins/default/ui.css b/src/wp-includes/js/tinymce/themes/advanced/skins/default/ui.css index 7f6cf5f..e14d36f 100644 --- a/src/wp-includes/js/tinymce/themes/advanced/skins/default/ui.css +++ b/src/wp-includes/js/tinymce/themes/advanced/skins/default/ui.css @@ -4,8 +4,8 @@ .defaultSkin table td {vertical-align:middle} /* Containers */ -.defaultSkin table {direction:ltr; background:#F0F0EE} -.defaultSkin iframe {display:block; background:#FFF} +.defaultSkin table {direction:ltr;background:transparent} +.defaultSkin iframe {display:block;} .defaultSkin .mceToolbar {height:26px} .defaultSkin .mceLeft {text-align:left} .defaultSkin .mceRight {text-align:right} @@ -20,9 +20,9 @@ .defaultSkin table.mceLayout tr.mceFirst td {border-top:1px solid #CCC} .defaultSkin table.mceLayout tr.mceLast td {border-bottom:1px solid #CCC} .defaultSkin table.mceToolbar, .defaultSkin tr.mceFirst .mceToolbar tr td, .defaultSkin tr.mceLast .mceToolbar tr td {border:0; margin:0; padding:0;} -.defaultSkin td.mceToolbar {padding-top:1px; vertical-align:top} +.defaultSkin td.mceToolbar {background:#F0F0EE; padding-top:1px; vertical-align:top} .defaultSkin .mceIframeContainer {border-top:1px solid #CCC; border-bottom:1px solid #CCC} -.defaultSkin .mceStatusbar {font-family:'MS Sans Serif',sans-serif,Verdana,Arial; font-size:9pt; line-height:16px; overflow:visible; color:#000; display:block; height:20px} +.defaultSkin .mceStatusbar {background:#F0F0EE; font-family:'MS Sans Serif',sans-serif,Verdana,Arial; font-size:9pt; line-height:16px; overflow:visible; color:#000; display:block; height:20px} .defaultSkin .mceStatusbar div {float:left; margin:2px} .defaultSkin .mceStatusbar a.mceResize {display:block; float:right; background:url(../../img/icons.gif) -800px 0; width:20px; height:20px; cursor:se-resize; outline:0} .defaultSkin .mceStatusbar a:hover {text-decoration:underline} diff --git a/src/wp-includes/js/tinymce/themes/advanced/skins/highcontrast/content.css b/src/wp-includes/js/tinymce/themes/advanced/skins/highcontrast/content.css new file mode 100644 index 0000000..75cfaf1 --- /dev/null +++ b/src/wp-includes/js/tinymce/themes/advanced/skins/highcontrast/content.css @@ -0,0 +1,23 @@ +body, td, pre { margin:8px;} +body.mceForceColors {background:#FFF; color:#000;} +h1 {font-size: 2em} +h2 {font-size: 1.5em} +h3 {font-size: 1.17em} +h4 {font-size: 1em} +h5 {font-size: .83em} +h6 {font-size: .75em} +.mceItemTable, .mceItemTable td, .mceItemTable th, .mceItemTable caption, .mceItemVisualAid {border: 1px dashed #BBB;} +a.mceItemAnchor {display:inline-block; width:11px !important; height:11px !important; background:url(../default/img/items.gif) no-repeat 0 0;} +span.mceItemNbsp {background: #DDD} +td.mceSelected, th.mceSelected {background-color:#3399ff !important} +img {border:0;} +table {cursor:default} +table td, table th {cursor:text} +ins {border-bottom:1px solid green; text-decoration: none; color:green} +del {color:red; text-decoration:line-through} +cite {border-bottom:1px dashed blue} +acronym {border-bottom:1px dotted #CCC; cursor:help} +abbr {border-bottom:1px dashed #CCC; cursor:help} + +img:-moz-broken {-moz-force-broken-image-icon:1; width:24px; height:24px} +font[face=mceinline] {font-family:inherit !important} diff --git a/src/wp-includes/js/tinymce/themes/advanced/skins/highcontrast/dialog.css b/src/wp-includes/js/tinymce/themes/advanced/skins/highcontrast/dialog.css new file mode 100644 index 0000000..dafcd28 --- /dev/null +++ b/src/wp-includes/js/tinymce/themes/advanced/skins/highcontrast/dialog.css @@ -0,0 +1,105 @@ +/* Generic */ +body { +font-family:Verdana, Arial, Helvetica, sans-serif; font-size:11px; +background:#F0F0EE; +color: black; +padding:0; +margin:8px 8px 0 8px; +} + +html {background:#F0F0EE; color:#000;} +td {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;} +textarea {resize:none;outline:none;} +a:link, a:visited {color:black;background-color:transparent;} +a:hover {color:#2B6FB6;background-color:transparent;} +.nowrap {white-space: nowrap} + +/* Forms */ +fieldset {margin:0; padding:4px; border:1px solid #919B9C; font-family:Verdana, Arial; font-size:10px;} +legend {color:#2B6FB6; font-weight:bold;} +label.msg {display:none;} +label.invalid {color:#EE0000; display:inline;background-color:transparent;} +input.invalid {border:1px solid #EE0000;background-color:transparent;} +input {background:#FFF; border:1px solid #CCC;color:black;} +input, select, textarea {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;} +input, select, textarea {border:1px solid #808080;} +input.radio {border:1px none #000000; background:transparent; vertical-align:middle;} +input.checkbox {border:1px none #000000; background:transparent; vertical-align:middle;} +.input_noborder {border:0;} + +/* Buttons */ +#insert, #cancel, input.button, .updateButton { +font-weight:bold; +width:94px; height:23px; +cursor:pointer; +padding-bottom:2px; +float:left; +} + +#cancel {float:right} + +/* Browse */ +a.pickcolor, a.browse {text-decoration:none} +a.browse span {display:block; width:20px; height:18px; background:url(../../img/icons.gif) -860px 0; border:1px solid #FFF; margin-left:1px;} +.mceOldBoxModel a.browse span {width:22px; height:20px;} +a.browse:hover span {border:1px solid #0A246A; background-color:#B2BBD0;} +a.browse span.disabled {border:1px solid white; opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30)} +a.browse:hover span.disabled {border:1px solid white; background-color:transparent;} +a.pickcolor span {display:block; width:20px; height:16px; background:url(../../img/icons.gif) -840px 0; margin-left:2px;} +.mceOldBoxModel a.pickcolor span {width:21px; height:17px;} +a.pickcolor:hover span {background-color:#B2BBD0;} +a.pickcolor:hover span.disabled {} + +/* Charmap */ +table.charmap {border:1px solid #AAA; text-align:center} +td.charmap, #charmap a {width:18px; height:18px; color:#000; border:1px solid #AAA; text-align:center; font-size:12px; vertical-align:middle; line-height: 18px;} +#charmap a {display:block; color:#000; text-decoration:none; border:0} +#charmap a:hover {background:#CCC;color:#2B6FB6} +#charmap #codeN {font-size:10px; font-family:Arial,Helvetica,sans-serif; text-align:center} +#charmap #codeV {font-size:40px; height:80px; border:1px solid #AAA; text-align:center} + +/* Source */ +.wordWrapCode {vertical-align:middle; border:1px none #000000; background:transparent;} +.mceActionPanel {margin-top:5px;} + +/* Tabs classes */ +.tabs {width:100%; height:18px; line-height:normal;} +.tabs ul {margin:0; padding:0; list-style:none;} +.tabs li {float:left; border: 1px solid black; border-bottom:0; margin:0 2px 0 0; padding:0 0 0 10px; line-height:17px; height:18px; display:block; cursor:pointer;} +.tabs li.current {font-weight: bold; margin-right:2px;} +.tabs span {float:left; display:block; padding:0px 10px 0 0;} +.tabs a {text-decoration:none; font-family:Verdana, Arial; font-size:10px;} +.tabs a:link, .tabs a:visited, .tabs a:hover {color:black;} + +/* Panels */ +.panel_wrapper div.panel {display:none;} +.panel_wrapper div.current {display:block; width:100%; height:300px; overflow:visible;} +.panel_wrapper {border:1px solid #919B9C; padding:10px; padding-top:5px; clear:both; background:white;} + +/* Columns */ +.column {float:left;} +.properties {width:100%;} +.properties .column1 {} +.properties .column2 {text-align:left;} + +/* Titles */ +h1, h2, h3, h4 {color:#2B6FB6; margin:0; padding:0; padding-top:5px;} +h3 {font-size:14px;} +.title {font-size:12px; font-weight:bold; color:#2B6FB6;} + +/* Dialog specific */ +#link .panel_wrapper, #link div.current {height:125px;} +#image .panel_wrapper, #image div.current {height:200px;} +#plugintable thead {font-weight:bold; background:#DDD;} +#plugintable, #about #plugintable td {border:1px solid #919B9C;} +#plugintable {width:96%; margin-top:10px;} +#pluginscontainer {height:290px; overflow:auto;} +#colorpicker #preview {float:right; width:50px; height:14px;line-height:1px; border:1px solid black; margin-left:5px;} +#colorpicker #colors {float:left; border:1px solid gray; cursor:crosshair;} +#colorpicker #light {border:1px solid gray; margin-left:5px; float:left;width:15px; height:150px; cursor:crosshair;} +#colorpicker #light div {overflow:hidden;} +#colorpicker #previewblock {float:right; padding-left:10px; height:20px;} +#colorpicker .panel_wrapper div.current {height:175px;} +#colorpicker #namedcolors {width:150px;} +#colorpicker #namedcolors a {display:block; float:left; width:10px; height:10px; margin:1px 1px 0 0; overflow:hidden;} +#colorpicker #colornamecontainer {margin-top:5px;} diff --git a/src/wp-includes/js/tinymce/themes/advanced/skins/highcontrast/ui.css b/src/wp-includes/js/tinymce/themes/advanced/skins/highcontrast/ui.css new file mode 100644 index 0000000..a550c8f --- /dev/null +++ b/src/wp-includes/js/tinymce/themes/advanced/skins/highcontrast/ui.css @@ -0,0 +1,101 @@ +/* Reset */ +.highcontrastSkin table, .highcontrastSkin tbody, .highcontrastSkin a, .highcontrastSkin img, .highcontrastSkin tr, .highcontrastSkin div, .highcontrastSkin td, .highcontrastSkin iframe, .highcontrastSkin span, .highcontrastSkin *, .highcontrastSkin .mceText {border:0; margin:0; padding:0; vertical-align:baseline; border-collapse:separate;} +.highcontrastSkin a:hover, .highcontrastSkin a:link, .highcontrastSkin a:visited, .highcontrastSkin a:active {text-decoration:none; font-weight:normal; cursor:default;} +.highcontrastSkin table td {vertical-align:middle} + +.highcontrastSkin .mceIconOnly {display: block !important;} + +/* External */ +.highcontrastSkin .mceExternalToolbar {position:absolute; border:1px solid; border-bottom:0; display:none; background-color: white;} +.highcontrastSkin .mceExternalToolbar td.mceToolbar {padding-right:13px;} +.highcontrastSkin .mceExternalClose {position:absolute; top:3px; right:3px; width:7px; height:7px;} + +/* Layout */ +.highcontrastSkin table.mceLayout {border: 1px solid;} +.highcontrastSkin .mceIframeContainer {border-top:1px solid; border-bottom:1px solid} +.highcontrastSkin .mceStatusbar a:hover {text-decoration:underline} +.highcontrastSkin .mceStatusbar {display:block; line-height:1.5em; overflow:visible;} +.highcontrastSkin .mceStatusbar div {float:left} +.highcontrastSkin .mceStatusbar a.mceResize {display:block; float:right; width:20px; height:20px; cursor:se-resize; outline:0} + +.highcontrastSkin .mceToolbar td { display: inline-block; float: left;} +.highcontrastSkin .mceToolbar tr { display: block;} +.highcontrastSkin .mceToolbar table { display: block; } + +/* Button */ + +.highcontrastSkin .mceButton { display:block; margin: 2px; padding: 5px 10px;border: 1px solid; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; -ms-border-radius: 3px; height: 2em;} +.highcontrastSkin .mceButton .mceVoiceLabel { height: 100%; vertical-align: center; line-height: 2em} +.highcontrastSkin .mceButtonDisabled .mceVoiceLabel { opacity:0.6; -ms-filter:'alpha(opacity=60)'; filter:alpha(opacity=60);} +.highcontrastSkin .mceButtonActive, .highcontrastSkin .mceButton:focus, .highcontrastSkin .mceButton:active { border: 5px solid; padding: 1px 6px;-webkit-focus-ring-color:none;outline:none;} + +/* Separator */ +.highcontrastSkin .mceSeparator {display:block; width:16px; height:26px;} + +/* ListBox */ +.highcontrastSkin .mceListBox { display: block; margin:2px;-webkit-focus-ring-color:none;outline:none;} +.highcontrastSkin .mceListBox .mceText {padding: 5px 6px; line-height: 2em; width: 15ex; overflow: hidden;} +.highcontrastSkin .mceListBoxDisabled .mceText { opacity:0.6; -ms-filter:'alpha(opacity=60)'; filter:alpha(opacity=60);} +.highcontrastSkin .mceListBox a.mceText { padding: 5px 10px; display: block; height: 2em; line-height: 2em; border: 1px solid; border-right: 0; border-radius: 3px 0px 0px 3px; -moz-border-radius: 3px 0px 0px 3px; -webkit-border-radius: 3px 0px 0px 3px; -ms-border-radius: 3px 0px 0px 3px;} +.highcontrastSkin .mceListBox a.mceOpen { padding: 5px 4px; display: block; height: 2em; line-height: 2em; border: 1px solid; border-left: 0; border-radius: 0px 3px 3px 0px; -moz-border-radius: 0px 3px 3px 0px; -webkit-border-radius: 0px 3px 3px 0px; -ms-border-radius: 0px 3px 3px 0px;} +.highcontrastSkin .mceListBox:focus a.mceText, .highcontrastSkin .mceListBox:active a.mceText { border-width: 5px; padding: 1px 10px 1px 6px;} +.highcontrastSkin .mceListBox:focus a.mceOpen, .highcontrastSkin .mceListBox:active a.mceOpen { border-width: 5px; padding: 1px 0px 1px 4px;} + +.highcontrastSkin .mceListBoxMenu {overflow-y:auto} + +/* SplitButton */ +.highcontrastSkin .mceSplitButtonDisabled .mceAction {opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30)} + +.highcontrastSkin .mceSplitButton { border-collapse: collapse; margin: 2px; height: 2em; line-height: 2em;-webkit-focus-ring-color:none;outline:none;} +.highcontrastSkin .mceSplitButton td { display: table-cell; float: none; margin: 0; padding: 0; height: 2em;} +.highcontrastSkin .mceSplitButton tr { display: table-row; } +.highcontrastSkin table.mceSplitButton { display: table; } +.highcontrastSkin .mceSplitButton a.mceAction { padding: 5px 10px; display: block; height: 2em; line-height: 2em; overflow: hidden; border: 1px solid; border-right: 0; border-radius: 3px 0px 0px 3px; -moz-border-radius: 3px 0px 0px 3px; -webkit-border-radius: 3px 0px 0px 3px; -ms-border-radius: 3px 0px 0px 3px;} +.highcontrastSkin .mceSplitButton a.mceOpen { padding: 5px 4px; display: block; height: 2em; line-height: 2em; border: 1px solid; border-radius: 0px 3px 3px 0px; -moz-border-radius: 0px 3px 3px 0px; -webkit-border-radius: 0px 3px 3px 0px; -ms-border-radius: 0px 3px 3px 0px;} +.highcontrastSkin .mceSplitButton .mceVoiceLabel { height: 2em; vertical-align: center; line-height: 2em; } +.highcontrastSkin .mceSplitButton:focus a.mceAction, .highcontrastSkin .mceSplitButton:active a.mceAction { border-width: 5px; border-right-width: 1px; padding: 1px 10px 1px 6px;-webkit-focus-ring-color:none;outline:none;} +.highcontrastSkin .mceSplitButton:focus a.mceOpen, .highcontrastSkin .mceSplitButton:active a.mceOpen { border-width: 5px; border-left-width: 1px; padding: 1px 0px 1px 4px;-webkit-focus-ring-color:none;outline:none;} + +/* Menu */ +.highcontrastSkin .mceNoIcons span.mceIcon {width:0;} +.highcontrastSkin .mceMenu {position:absolute; left:0; top:0; z-index:1000; border:1px solid; } +.highcontrastSkin .mceMenu table {background:white; color: black} +.highcontrastSkin .mceNoIcons a .mceText {padding-left:10px} +.highcontrastSkin .mceMenu a, .highcontrastSkin .mceMenu span, .highcontrastSkin .mceMenu {display:block;background:white; color: black} +.highcontrastSkin .mceMenu td {height:2em} +.highcontrastSkin .mceMenu a {position:relative;padding:3px 0 4px 0; display: block;} +.highcontrastSkin .mceMenu .mceText {position:relative; display:block; cursor:default; margin:0; padding:0 25px 0 25px;} +.highcontrastSkin .mceMenu pre.mceText {font-family:Monospace} +.highcontrastSkin .mceMenu .mceIcon {position:absolute; top:0; left:0; width:26px;} +.highcontrastSkin td.mceMenuItemSeparator {border-top:1px solid; height:1px} +.highcontrastSkin .mceMenuItemTitle a {border:0; border-bottom:1px solid} +.highcontrastSkin .mceMenuItemTitle span.mceText {font-weight:bold; padding-left:4px} +.highcontrastSkin .mceNoIcons .mceMenuItemSelected span.mceText:before {content: "\2713\A0";} +.highcontrastSkin .mceMenu span.mceMenuLine {display:none} +.highcontrastSkin .mceMenuItemSub a .mceText:after {content: "\A0\25B8"} + +/* ColorSplitButton */ +.highcontrastSkin div.mceColorSplitMenu table {background:#FFF; border:1px solid; color: #000} +.highcontrastSkin .mceColorSplitMenu td {padding:2px} +.highcontrastSkin .mceColorSplitMenu a {display:block; width:16px; height:16px; overflow:hidden; color:#000; margin: 0; padding: 0;} +.highcontrastSkin .mceColorSplitMenu td.mceMoreColors {padding:1px 3px 1px 1px} +.highcontrastSkin .mceColorSplitMenu a.mceMoreColors {width:100%; height:auto; text-align:center; font-family:Tahoma,Verdana,Arial,Helvetica; font-size:11px; line-height:20px; border:1px solid #FFF} +.highcontrastSkin .mceColorSplitMenu a.mceMoreColors:hover {border:1px solid; background-color:#B6BDD2} +.highcontrastSkin a.mceMoreColors:hover {border:1px solid #0A246A; color: #000;} +.highcontrastSkin .mceColorPreview {display:none;} +.highcontrastSkin .mce_forecolor span.mceAction, .highcontrastSkin .mce_backcolor span.mceAction {height:17px;overflow:hidden} + +/* Progress,Resize */ +.highcontrastSkin .mceBlocker {position:absolute; left:0; top:0; z-index:1000; opacity:0.5; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=50); background:#FFF} +.highcontrastSkin .mceProgress {position:absolute; left:0; top:0; z-index:1001; background:url(../default/img/progress.gif) no-repeat; width:32px; height:32px; margin:-16px 0 0 -16px} + +/* Formats */ +.highcontrastSkin .mce_p span.mceText {} +.highcontrastSkin .mce_address span.mceText {font-style:italic} +.highcontrastSkin .mce_pre span.mceText {font-family:monospace} +.highcontrastSkin .mce_h1 span.mceText {font-weight:bolder; font-size: 2em} +.highcontrastSkin .mce_h2 span.mceText {font-weight:bolder; font-size: 1.5em} +.highcontrastSkin .mce_h3 span.mceText {font-weight:bolder; font-size: 1.17em} +.highcontrastSkin .mce_h4 span.mceText {font-weight:bolder; font-size: 1em} +.highcontrastSkin .mce_h5 span.mceText {font-weight:bolder; font-size: .83em} +.highcontrastSkin .mce_h6 span.mceText {font-weight:bolder; font-size: .75em} diff --git a/src/wp-includes/js/tinymce/themes/advanced/skins/o2k7/content.css b/src/wp-includes/js/tinymce/themes/advanced/skins/o2k7/content.css index 500fa0d..8569401 100644 --- a/src/wp-includes/js/tinymce/themes/advanced/skins/o2k7/content.css +++ b/src/wp-includes/js/tinymce/themes/advanced/skins/o2k7/content.css @@ -34,3 +34,13 @@ scrollbar-track-color:#F5F5F5; img:-moz-broken {-moz-force-broken-image-icon:1; width:24px; height:24px} font[face=mceinline] {font-family:inherit !important} + +.mceItemMedia {border:1px dotted #cc0000; background-position:center; background-repeat:no-repeat; background-color:#ffffcc} +.mceItemShockWave {background-image:url(../../img/shockwave.gif)} +.mceItemFlash {background-image:url(../../img/flash.gif)} +.mceItemQuickTime {background-image:url(../../img/quicktime.gif)} +.mceItemWindowsMedia {background-image:url(../../img/windowsmedia.gif)} +.mceItemRealMedia {background-image:url(../../img/realmedia.gif)} +.mceItemVideo {background-image:url(../../img/video.gif)} +.mceItemIframe {background-image:url(../../img/iframe.gif)} +.mcePageBreak {display:block;border:0;width:100%;height:12px;border-top:1px dotted #ccc;margin-top:15px;background:#fff url(../../img/pagebreak.gif) no-repeat center top;} diff --git a/src/wp-includes/js/tinymce/themes/advanced/skins/o2k7/dialog.css b/src/wp-includes/js/tinymce/themes/advanced/skins/o2k7/dialog.css index 3b0760a..c97d38e 100644 --- a/src/wp-includes/js/tinymce/themes/advanced/skins/o2k7/dialog.css +++ b/src/wp-includes/js/tinymce/themes/advanced/skins/o2k7/dialog.css @@ -114,3 +114,4 @@ h3 {font-size:14px;} #colorpicker #namedcolors {width:150px;} #colorpicker #namedcolors a {display:block; float:left; width:10px; height:10px; margin:1px 1px 0 0; overflow:hidden;} #colorpicker #colornamecontainer {margin-top:5px;} +#colorpicker #picker_panel fieldset {margin:auto;width:325px;} diff --git a/src/wp-includes/js/tinymce/themes/advanced/skins/o2k7/ui.css b/src/wp-includes/js/tinymce/themes/advanced/skins/o2k7/ui.css index 52f5760..91edeca 100644 --- a/src/wp-includes/js/tinymce/themes/advanced/skins/o2k7/ui.css +++ b/src/wp-includes/js/tinymce/themes/advanced/skins/o2k7/ui.css @@ -4,8 +4,8 @@ .o2k7Skin table td {vertical-align:middle} /* Containers */ -.o2k7Skin table {background:#E5EFFD} -.o2k7Skin iframe {display:block; background:#FFF} +.o2k7Skin table {background:transparent} +.o2k7Skin iframe {display:block;} .o2k7Skin .mceToolbar {height:26px} /* External */ @@ -19,7 +19,8 @@ .o2k7Skin table.mceLayout tr.mceLast td {border-bottom:1px solid #ABC6DD} .o2k7Skin table.mceToolbar, .o2k7Skin tr.mceFirst .mceToolbar tr td, .o2k7Skin tr.mceLast .mceToolbar tr td {border:0; margin:0; padding:0} .o2k7Skin .mceIframeContainer {border-top:1px solid #ABC6DD; border-bottom:1px solid #ABC6DD} -.o2k7Skin .mceStatusbar {display:block; font-family:'MS Sans Serif',sans-serif,Verdana,Arial; font-size:9pt; line-height:16px; overflow:visible; color:#000; height:20px} +.o2k7Skin td.mceToolbar{background:#E5EFFD} +.o2k7Skin .mceStatusbar {background:#E5EFFD; display:block; font-family:'MS Sans Serif',sans-serif,Verdana,Arial; font-size:9pt; line-height:16px; overflow:visible; color:#000; height:20px} .o2k7Skin .mceStatusbar div {float:left; padding:2px} .o2k7Skin .mceStatusbar a.mceResize {display:block; float:right; background:url(../../img/icons.gif) -800px 0; width:20px; height:20px; cursor:se-resize; outline:0} .o2k7Skin .mceStatusbar a:hover {text-decoration:underline} @@ -62,7 +63,7 @@ .o2k7Skin select.mceListBox {font-family:Tahoma,Verdana,Arial,Helvetica; font-size:12px; border:1px solid #b3c7e1; background:#FFF;} /* SplitButton */ -.o2k7Skin .mceSplitButton, .o2k7Skin .mceSplitButton a, .o2k7Skin .mceSplitButton span {display:block; height:22px} +.o2k7Skin .mceSplitButton, .o2k7Skin .mceSplitButton a, .o2k7Skin .mceSplitButton span {display:block; height:22px; direction:ltr} .o2k7Skin .mceSplitButton {background:url(img/button_bg.png)} .o2k7Skin .mceSplitButton a.mceAction {width:22px} .o2k7Skin .mceSplitButton span.mceAction {width:22px; background-image:url(../../img/icons.gif)} diff --git a/src/wp-includes/js/tinymce/themes/advanced/skins/o2k7/ui_black.css b/src/wp-includes/js/tinymce/themes/advanced/skins/o2k7/ui_black.css index 81dbfe4..85812cd 100644 --- a/src/wp-includes/js/tinymce/themes/advanced/skins/o2k7/ui_black.css +++ b/src/wp-includes/js/tinymce/themes/advanced/skins/o2k7/ui_black.css @@ -1,6 +1,6 @@ /* Black */ .o2k7SkinBlack .mceToolbar .mceToolbarStart span, .o2k7SkinBlack .mceToolbar .mceToolbarEnd span, .o2k7SkinBlack .mceButton, .o2k7SkinBlack .mceSplitButton, .o2k7SkinBlack .mceSeparator, .o2k7SkinBlack .mceSplitButton a.mceOpen, .o2k7SkinBlack .mceListBox a.mceOpen {background-image:url(img/button_bg_black.png)} -.o2k7SkinBlack table, .o2k7SkinBlack .mceMenuItemTitle a, .o2k7SkinBlack .mceMenuItemTitle span.mceText, .o2k7SkinBlack .mceStatusbar div, .o2k7SkinBlack .mceStatusbar span, .o2k7SkinBlack .mceStatusbar a {background:#535353; color:#FFF} +.o2k7SkinBlack td.mceToolbar, .o2k7SkinBlack td.mceStatusbar, .o2k7SkinBlack .mceMenuItemTitle a, .o2k7SkinBlack .mceMenuItemTitle span.mceText, .o2k7SkinBlack .mceStatusbar div, .o2k7SkinBlack .mceStatusbar span, .o2k7SkinBlack .mceStatusbar a {background:#535353; color:#FFF} .o2k7SkinBlack table.mceListBoxEnabled .mceText, o2k7SkinBlack .mceListBox .mceText {background:#FFF; border:1px solid #CBCFD4; border-bottom-color:#989FA9; border-right:0} .o2k7SkinBlack table.mceListBoxEnabled:hover .mceText, .o2k7SkinBlack .mceListBoxHover .mceText, .o2k7SkinBlack .mceListBoxSelected .mceText {background:#FFF; border:1px solid #FFBD69; border-right:0} .o2k7SkinBlack .mceExternalToolbar, .o2k7SkinBlack .mceListBox .mceText, .o2k7SkinBlack div.mceMenu, .o2k7SkinBlack table.mceLayout, .o2k7SkinBlack .mceMenuItemTitle a, .o2k7SkinBlack table.mceLayout tr.mceFirst td, .o2k7SkinBlack table.mceLayout, .o2k7SkinBlack .mceMenuItemTitle a, .o2k7SkinBlack table.mceLayout tr.mceLast td, .o2k7SkinBlack .mceIframeContainer {border-color: #535353;} diff --git a/src/wp-includes/js/tinymce/themes/advanced/skins/o2k7/ui_silver.css b/src/wp-includes/js/tinymce/themes/advanced/skins/o2k7/ui_silver.css index e8ae844..d64c361 100644 --- a/src/wp-includes/js/tinymce/themes/advanced/skins/o2k7/ui_silver.css +++ b/src/wp-includes/js/tinymce/themes/advanced/skins/o2k7/ui_silver.css @@ -1,5 +1,5 @@ /* Silver */ .o2k7SkinSilver .mceToolbar .mceToolbarStart span, .o2k7SkinSilver .mceButton, .o2k7SkinSilver .mceSplitButton, .o2k7SkinSilver .mceSeparator, .o2k7SkinSilver .mceSplitButton a.mceOpen, .o2k7SkinSilver .mceListBox a.mceOpen {background-image:url(img/button_bg_silver.png)} -.o2k7SkinSilver table, .o2k7SkinSilver .mceMenuItemTitle a {background:#eee} +.o2k7SkinSilver td.mceToolbar, .o2k7SkinSilver td.mceStatusbar, .o2k7SkinSilver .mceMenuItemTitle a {background:#eee} .o2k7SkinSilver .mceListBox .mceText {background:#FFF} .o2k7SkinSilver .mceExternalToolbar, .o2k7SkinSilver .mceListBox .mceText, .o2k7SkinSilver div.mceMenu, .o2k7SkinSilver table.mceLayout, .o2k7SkinSilver .mceMenuItemTitle a, .o2k7SkinSilver table.mceLayout tr.mceFirst td, .o2k7SkinSilver table.mceLayout, .o2k7SkinSilver .mceMenuItemTitle a, .o2k7SkinSilver table.mceLayout tr.mceLast td, .o2k7SkinSilver .mceIframeContainer {border-color: #bbb} diff --git a/src/wp-includes/js/tinymce/themes/advanced/skins/wp_theme/content.css b/src/wp-includes/js/tinymce/themes/advanced/skins/wp_theme/content.css index 40dfd3e..0b7ec9f 100644 --- a/src/wp-includes/js/tinymce/themes/advanced/skins/wp_theme/content.css +++ b/src/wp-includes/js/tinymce/themes/advanced/skins/wp_theme/content.css @@ -1,6 +1,11 @@ -/* default styles */ -body {background:#FFF;} +body { + font: 13px/19px Georgia, "Times New Roman", "Bitstream Charter", Times, serif; + margin: 0.6em; + color: #000; +} body.mceForceColors {background:#FFF; color:#000;} +body.mceBrowserDefaults {background:transparent; color:inherit; font-size:inherit; font-family:inherit;} +td {color:#000; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px; margin:8px;} h1 {font-size: 2em} h2 {font-size: 1.5em} h3 {font-size: 1.17em} @@ -8,8 +13,9 @@ h4 {font-size: 1em} h5 {font-size: .83em} h6 {font-size: .75em} .mceItemTable, .mceItemTable td, .mceItemTable th, .mceItemTable caption, .mceItemVisualAid {border: 1px dashed #BBB;} -a.mceItemAnchor {width:12px; line-height:6px; overflow:hidden; padding-left:12px; background:url(../default/img/items.gif) no-repeat bottom left;} -img.mceItemAnchor {width:12px; height:12px; background:url(../default/img/items.gif) no-repeat;} +a.mceItemAnchor {display:inline-block; width:11px !important; height:11px !important; background:url(img/items.gif) no-repeat 0 0;} +span.mceItemNbsp {background: #DDD} +td.mceSelected, th.mceSelected {background-color:#3399ff !important} img {border:0;} table {cursor:default} table td, table th {cursor:text} @@ -17,12 +23,22 @@ ins {border-bottom:1px solid green; text-decoration: none; color:green} del {color:red; text-decoration:line-through} cite {border-bottom:1px dashed blue} acronym {border-bottom:1px dotted #CCC; cursor:help} -abbr, html\:abbr {border-bottom:1px dashed #CCC; cursor:help} +abbr {border-bottom:1px dashed #CCC; cursor:help} + +img:-moz-broken {-moz-force-broken-image-icon:1; width:24px; height:24px} +font[face=mceinline] {font-family:inherit !important} + +.mceItemMedia {border:1px dotted #cc0000; background-position:center; background-repeat:no-repeat; background-color:#ffffcc} +.mceItemShockWave {background-image:url(../../img/shockwave.gif)} +.mceItemFlash {background-image:url(../../img/flash.gif)} +.mceItemQuickTime {background-image:url(../../img/quicktime.gif)} +.mceItemWindowsMedia {background-image:url(../../img/windowsmedia.gif)} +.mceItemRealMedia {background-image:url(../../img/realmedia.gif)} +.mceItemVideo {background-image:url(../../img/video.gif)} +.mceItemIframe {background-image:url(../../img/iframe.gif)} +.mcePageBreak {display:block;border:0;width:100%;height:12px;border-top:1px dotted #ccc;margin-top:15px;background:#fff url(../../img/pagebreak.gif) no-repeat center top;} /* WordPress styles */ -html { - background-color: #fff; -} .aligncenter, dl.aligncenter { @@ -51,6 +67,10 @@ dl.aligncenter { border-radius: 3px; } +.mceIEcenter { + text-align: center; +} + .wp-caption img { margin: 0; padding: 0; @@ -64,14 +84,8 @@ dl.aligncenter { margin: 0; } -body.mceContentBody { - font: 13px/19px Georgia, "Times New Roman", "Bitstream Charter", Times, serif; - padding: 0.6em; - margin: 0; -} - pre { - font: 12px/18px Consolas, Monaco, "Courier New", Courier, monospace; + font: 12px/18px Consolas, Monaco, monospace; } td { @@ -80,6 +94,3 @@ td { margin: 8px; } -.mceIEcenter { - text-align: center; -} diff --git a/src/wp-includes/js/tinymce/themes/advanced/skins/wp_theme/ui.css b/src/wp-includes/js/tinymce/themes/advanced/skins/wp_theme/ui.css index f4b1fe4..584980f 100644 --- a/src/wp-includes/js/tinymce/themes/advanced/skins/wp_theme/ui.css +++ b/src/wp-includes/js/tinymce/themes/advanced/skins/wp_theme/ui.css @@ -21,9 +21,10 @@ border:0; margin:0; padding:0; white-space:nowrap; text-decoration:none; font-we .wp_themeSkin .mceIframeContainer {} .wp_themeSkin .mceStatusbar { display: block; - font-family: 'MS Sans Serif',sans-serif,Verdana,Arial; - font-size: 9pt; + font-family: Arial, "Bitstream Vera Sans", Helvetica, Verdana, sans-serif; + font-size: 12px; line-height: 16px; + padding-left: 5px; overflow: visible; height: 20px; border-top-width: 1px; @@ -47,55 +48,69 @@ border:0; margin:0; padding:0; white-space:nowrap; text-decoration:none; font-we /* Button */ .wp_themeSkin .mceButton { - display:block; - width: 20px; - height: 20px; - cursor: default; - padding: 1px 2px; - margin: 1px; - background-image: url(img/butt2.png); - background-position: left top; - background-repeat: repeat-x; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - -khtml-border-radius: 3px; - border-radius: 3px; + display:block; + width: 20px; + height: 20px; + cursor: default; + padding: 1px 2px; + margin: 1px; + -moz-border-radius: 2px; + -webkit-border-radius: 2px; + -khtml-border-radius: 2px; + border-radius: 2px; + -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15), inset 0 0 2px 1px #fff; + -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15), inset 0 0 2px 1px #fff; + box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15), inset 0 0 2px 1px #fff; } -.wp_themeSkin a.mceButton span, .wp_themeSkin a.mceButton img {} -.wp_themeSkin .mceOldBoxModel a.mceButton span, .wp_themeSkin .mceOldBoxModel a.mceButton img {margin:0 0 0 1px} + .wp_themeSkin a.mceButtonEnabled:hover { - background-position:0 -10px; + background-image: inherit 0 -10px; } -.wp_themeSkin a.mceButtonActive, .wp_themeSkin a.mceButtonSelected { - background-image: inherit; + +.wp_themeSkin .mceOldBoxModel a.mceButton span, .wp_themeSkin .mceOldBoxModel a.mceButton img {margin:0 0 0 1px} + +.wp_themeSkin a.mceButton:active, +.wp_themeSkin a.mceButtonActive, +.wp_themeSkin a.mceButtonActive:hover, +.wp_themeSkin a.mceButtonSelected { + -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), inset 0 0 2px 1px #fff; + -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15), inset 0 0 2px 1px #fff; + box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15), inset 0 0 2px 1px #fff; } -.wp_themeSkin .mceButtonDisabled .mceIcon {opacity:0.3; filter:alpha(opacity=30);} -.wp_themeSkin .mceButtonDisabled {} +.wp_themeSkin .mceButtonDisabled .mceIcon {opacity:0.4; filter:alpha(opacity=40);} /* Separator */ -.wp_themeSkin .mceSeparator { - height: 24px; +.wp_themeSkin .mceSeparator { + height: 24px; width: 1px; display: block; background: transparent; - overflow: hidden; - margin: 0 2px; + overflow: hidden; + margin: 0 2px; } /* ListBox */ .wp_themeSkin .mceListBox, .wp_themeSkin .mceListBox a {display:block} .wp_themeSkin .mceListBox .mceText { padding: 1px 2px 1px 5px; - text-align:left; - text-decoration: none !important; - width:70px; - background-image: url(img/butt2.png); - background-position: left top; - background-repeat: repeat-x; - font-family: Tahoma,Verdana,Arial,Helvetica; - font-size: 11px; - height: 20px; - line-height: 20px; + text-align:left; + text-decoration: none; + width:70px; + -moz-border-bottom-left-radius: 2px; + -webkit-border-bottom-left-radius: 2px; + -khtml-border-bottom-left-radius: 2px; + border-bottom-left-radius: 2px; + -moz-border-top-left-radius: 2px; + -webkit-border-top-left-radius: 2px; + -khtml-border-top-left-radius: 2px; + border-top-left-radius: 2px; + -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15), inset 0 0 2px 1px #fff; + -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15), inset 0 0 2px 1px #fff; + box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15), inset 0 0 2px 1px #fff; + font-family: Arial, "Bitstream Vera Sans", Helvetica, Verdana, sans-serif; + font-size: 12px; + height: 20px; + line-height: 20px; overflow: hidden; } .wp_themeSkin .mceListBox { @@ -104,13 +119,20 @@ border:0; margin:0; padding:0; white-space:nowrap; text-decoration:none; font-we } .wp_themeSkin .mceListBox .mceOpen { width: 14px; - height: 20px; + height: 20px; border-collapse: separate; - background-image: url(img/butt2.png); - background-position: left top; - background-repeat: repeat-x; padding: 1px; - border-left: 0 none !important; + -moz-border-bottom-left-radius: 0; + -webkit-border-bottom-left-radius: 0; + -khtml-border-bottom-left-radius: 0; + border-bottom-left-radius: 0; + -moz-border-top-left-radius: 0; + -webkit-border-top-left-radius: 0; + -khtml-border-top-left-radius: 0; + border-top-left-radius: 0; + -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15), inset 0 0 2px 1px #fff; + -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15), inset 0 0 2px 1px #fff; + box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15), inset 0 0 2px 1px #fff; } .wp_themeSkin .mceListBox .mceOpen span { display: block; @@ -120,32 +142,51 @@ border:0; margin:0; padding:0; white-space:nowrap; text-decoration:none; font-we background-position: 2px 1px; background-repeat: no-repeat; } -.wp_themeSkin table.mceListBoxEnabled:hover .mceText, -.wp_themeSkin .mceListBoxHover .mceText, +.wp_themeSkin table.mceListBoxEnabled:hover .mceText, +.wp_themeSkin .mceListBoxHover .mceText, .wp_themeSkin .mceListBoxSelected .mceText, -.wp_themeSkin table.mceListBoxEnabled:hover .mceOpen, -.wp_themeSkin .mceListBoxHover .mceOpen, +.wp_themeSkin table.mceListBoxEnabled:hover .mceOpen, +.wp_themeSkin .mceListBoxHover .mceOpen, .wp_themeSkin .mceListBoxSelected .mceOpen { background-image: none; } .wp_themeSkin .mceListBoxDisabled .mceText {color:gray} .wp_themeSkin .mceListBoxMenu {overflow:auto; overflow-x:hidden} .wp_themeSkin .mceOldBoxModel .mceListBox .mceText {height:22px} -.wp_themeSkin select.mceListBox {font-family:Tahoma,Verdana,Arial,Helvetica; font-size:12px;} +.wp_themeSkin select.mceListBox { + font-family: Arial, "Bitstream Vera Sans", Helvetica, Verdana, sans-serif; + font-size:12px; +} /* SplitButton */ .wp_themeSkin .mceSplitButton a, .wp_themeSkin .mceSplitButton span {display:block; height:20px} -.wp_themeSkin .mceSplitButton { +.wp_themeSkin .mceSplitButton { display:block; margin: 1px; direction: ltr; } .wp_themeSkin table.mceSplitButton td { padding: 2px; - background-image: url(img/butt2.png); - background-position: left top; - background-repeat: repeat-x; + -moz-border-bottom-left-radius: 0; + -webkit-border-bottom-left-radius: 0; + -khtml-border-bottom-left-radius: 0; + border-bottom-left-radius: 0; + -moz-border-top-left-radius: 0; + -webkit-border-top-left-radius: 0; + -khtml-border-top-left-radius: 0; + border-top-left-radius: 0; } + +.wp_themeSkin table.mceSplitButton td a { + -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15), inset 0 0 2px 1px #fff; + -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15), inset 0 0 2px 1px #fff; + box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15), inset 0 0 2px 1px #fff; +} + +.wp_themeSkin table.mceSplitButton:hover td { + background-image: inherit 0 -10px; +} + .wp_themeSkin .mceSplitButton a.mceAction { height:20px; width:20px; @@ -155,7 +196,7 @@ border:0; margin:0; padding:0; white-space:nowrap; text-decoration:none; font-we background-image: url(../../img/icons.gif); background-repeat: no-repeat; background-color: transparent; - width:20px; + width:20px; } .wp_themeSkin .mceSplitButton a.mceOpen { width:10px; @@ -191,6 +232,43 @@ border:0; margin:0; padding:0; white-space:nowrap; text-decoration:none; font-we border-top-right-radius: 3px; } +.wp_themeSkin span.mce_undo, +.wp_themeSkin span.mce_redo, +.wp_themeSkin span.mce_bullist, +.wp_themeSkin span.mce_numlist, +.wp_themeSkin span.mce_blockquote, +.wp_themeSkin span.mce_charmap, +.wp_themeSkin span.mce_bold, +.wp_themeSkin span.mce_italic, +.wp_themeSkin span.mce_underline, +.wp_themeSkin span.mce_justifyleft, +.wp_themeSkin span.mce_justifyright, +.wp_themeSkin span.mce_justifycenter, +.wp_themeSkin span.mce_justifyfull, +.wp_themeSkin span.mce_indent, +.wp_themeSkin span.mce_outdent, +.wp_themeSkin span.mce_link, +.wp_themeSkin span.mce_unlink, +.wp_themeSkin span.mce_help, +.wp_themeSkin span.mce_removeformat, +.wp_themeSkin span.mce_fullscreen, +.wp_themeSkin span.mce_media, +.wp_themeSkin span.mce_pastetext, +.wp_themeSkin span.mce_pasteword, +.wp_themeSkin span.mce_wp_help, +.wp_themeSkin span.mce_wp_adv, +.wp_themeSkin span.mce_wp_more, +.wp_themeSkin span.mce_strikethrough, +.wp_themeSkin span.mce_spellchecker, +.wp_themeSkin span.mce_forecolor, +.wp_themeSkin .mce_forecolorpicker, +.wp_themeSkin .mceSplitButton .mce_spellchecker span.mce_spellchecker, +.wp_themeSkin .mceSplitButton .mce_forecolor span.mce_forecolor, +.wp_themeSkin .mceSplitButton span.mce_numlist, +.wp_themeSkin .mceSplitButton span.mce_bullist { + background-image: url(../../img/wpicons.png); +} + /* ColorSplitButton */ .wp_themeSkin div.mceColorSplitMenu table {} .wp_themeSkin .mceColorSplitMenu td {padding:2px} @@ -199,7 +277,7 @@ border:0; margin:0; padding:0; white-space:nowrap; text-decoration:none; font-we .wp_themeSkin .mceColorSplitMenu a.mceMoreColors {width:100%; height:auto; text-align:center; font-family:Tahoma,Verdana,Arial,Helvetica; font-size:11px; line-height:20px;} .wp_themeSkin .mceColorSplitMenu a.mceMoreColors:hover {} .wp_themeSkin a.mceMoreColors:hover {} -.wp_themeSkin .mceColorPreview {margin: -4px 0 0 2px; width:16px; height:4px; overflow:hidden} +.wp_themeSkin .mceColorPreview {margin: -5px 0 0 2px; width:16px; height:4px; overflow:hidden} /* Menu */ .wp_themeSkin .mceMenu {position:absolute; left:0; top:0; z-index:1000;} @@ -214,17 +292,19 @@ border:0; margin:0; padding:0; white-space:nowrap; text-decoration:none; font-we text-decoration: none !important; } .wp_themeSkin .mceMenu .mceText { - position:relative; - display:block; - font-family:Tahoma,Verdana,Arial,Helvetica; - cursor:default; - margin:0; + position:relative; + display:block; + font-family:Tahoma,Verdana,Arial,Helvetica; + cursor:default; + margin:0; padding:0 25px; } -.wp_themeSkin .mceMenu span.mceText, .wp_themeSkin .mceMenu .mcePreview {font-size:11px} +.wp_themeSkin .mceMenu span.mceText, .wp_themeSkin .mceMenu .mcePreview { + font-size: 12px; +} .wp_themeSkin .mceMenu pre.mceText {font-family:Monospace} .wp_themeSkin .mceMenu .mceIcon {position:absolute; top:0; left:0; width:22px;} -.wp_themeSkin .mceMenu .mceMenuItemEnabled a:hover, +.wp_themeSkin .mceMenu .mceMenuItemEnabled a:hover, .wp_themeSkin .mceMenu .mceMenuItemActive {} .wp_themeSkin td.mceMenuItemSeparator {height:1px} .wp_themeSkin .mceMenuItemTitle a { @@ -248,62 +328,163 @@ border:0; margin:0; padding:0; white-space:nowrap; text-decoration:none; font-we .wp_themeSkin .mcePlaceHolder {border:1px dotted gray} /* Formats */ -.wp_themeSkin .mce_formatPreview a {font-size:10px} .wp_themeSkin .mce_p span.mceText {} .wp_themeSkin .mce_address span.mceText {font-style:italic} .wp_themeSkin .mce_pre span.mceText {font-family:monospace} -.wp_themeSkin .mce_h1 span.mceText {font-weight:bolder; font-size: 2em} -.wp_themeSkin .mce_h2 span.mceText {font-weight:bolder; font-size: 1.5em} -.wp_themeSkin .mce_h3 span.mceText {font-weight:bolder; font-size: 1.17em} -.wp_themeSkin .mce_h4 span.mceText {font-weight:bolder; font-size: 1em} -.wp_themeSkin .mce_h5 span.mceText {font-weight:bolder; font-size: .83em} -.wp_themeSkin .mce_h6 span.mceText {font-weight:bolder; font-size: .75em} +.wp_themeSkin .mce_h1 span.mceText {font-weight:bolder; font-size: 17px} +.wp_themeSkin .mce_h2 span.mceText {font-weight:bolder; font-size: 16px} +.wp_themeSkin .mce_h3 span.mceText {font-weight:bolder; font-size: 15px} +.wp_themeSkin .mce_h4 span.mceText {font-weight:bolder; font-size: 14px} +.wp_themeSkin .mce_h5 span.mceText {font-weight:bolder; font-size: 13px} +.wp_themeSkin .mce_h6 span.mceText {font-weight:bolder; font-size: 12px} /* Theme */ -.wp_themeSkin span.mce_bold {background-position:0 0} -.wp_themeSkin span.mce_italic {background-position:-60px 0} -.wp_themeSkin span.mce_underline {background-position:-140px 0} -.wp_themeSkin span.mce_strikethrough {background-position:-120px 0} -.wp_themeSkin span.mce_undo {background-position:-160px 0} -.wp_themeSkin span.mce_redo {background-position:-100px 0} -.wp_themeSkin span.mce_cleanup {background-position:-40px 0} -.wp_themeSkin span.mce_bullist {background-position:-20px 0} -.wp_themeSkin span.mce_numlist {background-position:-80px 0} -.wp_themeSkin span.mce_justifyleft {background-position:-460px 0} -.wp_themeSkin span.mce_justifyright {background-position:-480px 0} -.wp_themeSkin span.mce_justifycenter {background-position:-420px 0} -.wp_themeSkin span.mce_justifyfull {background-position:-440px 0} +.wp_themeSkin span.mce_undo {background-position: -500px -20px} +.wp_themeSkin .mceButtonEnabled:hover span.mce_undo, +.wp_themeSkin .mceButtonActive span.mce_undo {background-position:-500px 0} + +.wp_themeSkin span.mce_redo {background-position:-480px -20px} +.wp_themeSkin .mceButtonEnabled:hover span.mce_redo, +.wp_themeSkin .mceButtonActive span.mce_redo {background-position:-480px 0} + +.wp_themeSkin span.mce_bullist {background-position:-40px -20px} +.wp_themeSkin .mceButtonEnabled:hover span.mce_bullist, +.wp_themeSkin .mceButtonActive span.mce_bullist, +.wp_themeSkin .mceSplitButton:hover span.mce_bullist {background-position:-40px 0} + +.wp_themeSkin span.mce_numlist {background-position:-61px -20px} +.wp_themeSkin .mceButtonEnabled:hover span.mce_numlist, +.wp_themeSkin .mceButtonActive span.mce_numlist, +.wp_themeSkin .mceSplitButton:hover span.mce_numlist {background-position:-61px 0} + +.wp_themeSkin span.mce_blockquote {background-position:-80px -20px} +.wp_themeSkin .mceButtonEnabled:hover span.mce_blockquote, +.wp_themeSkin .mceButtonActive span.mce_blockquote {background-position:-80px 0} + +.wp_themeSkin span.mce_charmap {background-position:-420px -20px} +.wp_themeSkin .mceButtonEnabled:hover span.mce_charmap, +.wp_themeSkin .mceButtonActive span.mce_charmap {background-position:-420px 0} + +.wp_themeSkin span.mce_bold {background-position:-1px -20px} +.wp_themeSkin .mceButtonEnabled:hover span.mce_bold, +.wp_themeSkin .mceButtonActive span.mce_bold {background-position:-1px 0} + +.wp_themeSkin span.mce_italic {background-position:-21px -20px} +.wp_themeSkin .mceButtonEnabled:hover span.mce_italic, +.wp_themeSkin .mceButtonActive span.mce_italic {background-position:-21px 0} + +.wp_themeSkin span.mce_underline {background-position:-280px -19px} +.wp_themeSkin .mceButtonEnabled:hover span.mce_underline, +.wp_themeSkin .mceButtonActive span.mce_underline {background-position:-280px 1px} + +.wp_themeSkin span.mce_justifyleft {background-position:-100px -19px} +.wp_themeSkin .mceButtonEnabled:hover span.mce_justifyleft, +.wp_themeSkin .mceButtonActive span.mce_justifyleft {background-position:-100px 1px} + +.wp_themeSkin span.mce_justifyright {background-position:-141px -19px} +.wp_themeSkin .mceButtonEnabled:hover span.mce_justifyright, +.wp_themeSkin .mceButtonActive span.mce_justifyright {background-position:-141px 1px} + +.wp_themeSkin span.mce_justifycenter {background-position:-120px -19px} +.wp_themeSkin .mceButtonEnabled:hover span.mce_justifycenter, +.wp_themeSkin .mceButtonActive span.mce_justifycenter {background-position:-120px 1px} + +.wp_themeSkin span.mce_justifyfull {background-position:-300px -19px} +.wp_themeSkin .mceButtonEnabled:hover span.mce_justifyfull, +.wp_themeSkin .mceButtonActive span.mce_justifyfull {background-position:-300px 1px} + +.wp_themeSkin span.mce_indent {background-position:-461px -19px} +.wp_themeSkin .mceButtonEnabled:hover span.mce_indent, +.wp_themeSkin .mceButtonActive span.mce_indent {background-position:-461px 1px} + +.wp_themeSkin span.mce_outdent {background-position:-440px -19px} +.wp_themeSkin .mceButtonEnabled:hover span.mce_outdent, +.wp_themeSkin .mceButtonActive span.mce_outdent {background-position:-440px 1px} + +.wp_themeSkin span.mce_link {background-position:-161px -20px} +.wp_themeSkin .mceButtonEnabled:hover span.mce_link, +.wp_themeSkin .mceButtonActive span.mce_link {background-position:-161px 0} + +.wp_themeSkin span.mce_unlink {background-position:-180px -20px} +.wp_themeSkin .mceButtonEnabled:hover span.mce_unlink, +.wp_themeSkin .mceButtonActive span.mce_unlink {background-position:-180px 0} + +.wp_themeSkin span.mce_help {background-position:-521px -20px} +.wp_themeSkin .mceButtonEnabled:hover span.mce_help, +.wp_themeSkin .mceButtonActive span.mce_help {background-position:-521px 0} + +.wp_themeSkin span.mce_removeformat {background-position:-381px -20px} +.wp_themeSkin .mceButtonEnabled:hover span.mce_removeformat, +.wp_themeSkin .mceButtonActive span.mce_removeformat {background-position:-381px 0} + +.wp_themeSkin span.mce_strikethrough {background-position:-540px -18px;} +.wp_themeSkin .mceButtonEnabled:hover span.mce_strikethrough, +.wp_themeSkin .mceButtonActive span.mce_strikethrough {background-position:-540px 0} + +.wp_themeSkin .mceSplitButton .mce_forecolor span.mce_forecolor {background-position:-321px -22px} +.wp_themeSkin .mceSplitButtonEnabled:hover span.mce_forecolor, +.wp_themeSkin .mceSplitButtonActive span.mce_forecolor {background-position:-321px -2px} + +.wp_themeSkin .mce_forecolorpicker {background-position:-320px -20px} + +/* Plugins in WP */ +.wp_themeSkin span.mce_fullscreen {background-position:-240px -20px} +.wp_themeSkin .mceButtonEnabled:hover span.mce_fullscreen, +.wp_themeSkin .mceButtonActive span.mce_fullscreen {background-position:-240px 0} + +.wp_themeSkin span.mce_media {background-position:-401px -20px} +.wp_themeSkin .mceButtonEnabled:hover span.mce_media, +.wp_themeSkin .mceButtonActive span.mce_media {background-position:-401px 0} + +.wp_themeSkin span.mce_pastetext {background-position:-340px -20px} +.wp_themeSkin .mceButtonEnabled:hover span.mce_pastetext, +.wp_themeSkin .mceButtonActive span.mce_pastetext {background-position:-340px 0} + +.wp_themeSkin span.mce_pasteword {background-position:-360px -20px} +.wp_themeSkin .mceButtonEnabled:hover span.mce_pasteword, +.wp_themeSkin .mceButtonActive span.mce_pasteword {background-position:-360px 0} + +.wp_themeSkin span.mce_spellchecker {background-position:-220px -19px} +.wp_themeSkin .mceButtonEnabled:hover span.mce_spellchecker, +.wp_themeSkin .mceSplitButtonEnabled:hover span.mce_spellchecker, +.wp_themeSkin .mceButtonActive span.mce_spellchecker, +.wp_themeSkin .mceSplitButtonActive span.mce_spellchecker {background-position:-220px 1px} + +.wp_themeSkin span.mce_wp_help {background-position:-521px -20px} +.wp_themeSkin .mceButtonEnabled:hover span.mce_wp_help, +.wp_themeSkin .mceButtonActive span.mce_wp_help {background-position:-521px 0} + +.wp_themeSkin span.mce_wp_adv {background-position:-260px -20px} +.wp_themeSkin .mceButtonEnabled:hover span.mce_wp_adv, +.wp_themeSkin .mceButtonActive span.mce_wp_adv {background-position:-260px 0} + +.wp_themeSkin span.mce_wp_more {background-position:-201px -20px} +.wp_themeSkin .mceButtonEnabled:hover span.mce_wp_more, +.wp_themeSkin .mceButtonActive span.mce_wp_more {background-position:-201px 0} + +/* Default icons */ +.wp_themeSkin span.mce_cleanup {background-position:-380px -20px} .wp_themeSkin span.mce_anchor {background-position:-200px 0} -.wp_themeSkin span.mce_indent {background-position:-400px 0} -.wp_themeSkin span.mce_outdent {background-position:-540px 0} -.wp_themeSkin span.mce_link {background-position:-500px 0} -.wp_themeSkin span.mce_unlink {background-position:-640px 0} .wp_themeSkin span.mce_sub {background-position:-600px 0} .wp_themeSkin span.mce_sup {background-position:-620px 0} -.wp_themeSkin span.mce_removeformat {background-position:-580px 0} .wp_themeSkin span.mce_newdocument {background-position:-520px 0} .wp_themeSkin span.mce_image {background-position:-380px 0} -.wp_themeSkin span.mce_help {background-position:-340px 0} .wp_themeSkin span.mce_code {background-position:-260px 0} .wp_themeSkin span.mce_hr {background-position:-360px 0} .wp_themeSkin span.mce_visualaid {background-position:-660px 0} -.wp_themeSkin span.mce_charmap {background-position:-240px 0} .wp_themeSkin span.mce_paste {background-position:-560px 0} .wp_themeSkin span.mce_copy {background-position:-700px 0} .wp_themeSkin span.mce_cut {background-position:-680px 0} -.wp_themeSkin span.mce_blockquote {background-position:-220px 0} -.wp_themeSkin .mce_forecolor span.mceAction {background-position:-720px 0} .wp_themeSkin .mce_backcolor span.mceAction {background-position:-760px 0} -.wp_themeSkin .mce_forecolorpicker {background-position:-720px 0} .wp_themeSkin .mce_backcolorpicker {background-position:-760px 0} + /* Plugins */ .wp_themeSkin span.mce_advhr {background-position:-0px -20px} .wp_themeSkin span.mce_ltr {background-position:-20px -20px} .wp_themeSkin span.mce_rtl {background-position:-40px -20px} .wp_themeSkin span.mce_emotions {background-position:-60px -20px} .wp_themeSkin span.mce_fullpage {background-position:-80px -20px} -.wp_themeSkin span.mce_fullscreen {background-position:-100px -20px} .wp_themeSkin span.mce_iespell {background-position:-120px -20px} .wp_themeSkin span.mce_insertdate {background-position:-140px -20px} .wp_themeSkin span.mce_inserttime {background-position:-160px -20px} @@ -314,10 +495,7 @@ border:0; margin:0; padding:0; white-space:nowrap; text-decoration:none; font-we .wp_themeSkin span.mce_insertlayer {background-position:-260px -20px} .wp_themeSkin span.mce_movebackward {background-position:-280px -20px} .wp_themeSkin span.mce_moveforward {background-position:-300px -20px} -.wp_themeSkin span.mce_media {background-position:-320px -20px} .wp_themeSkin span.mce_nonbreaking {background-position:-340px -20px} -.wp_themeSkin span.mce_pastetext {background-position:-360px -20px} -.wp_themeSkin span.mce_pasteword {background-position:-380px -20px} .wp_themeSkin span.mce_selectall {background-position:-400px -20px} .wp_themeSkin span.mce_preview {background-position:-420px -20px} .wp_themeSkin span.mce_print {background-position:-440px -20px} @@ -348,35 +526,35 @@ border:0; margin:0; padding:0; white-space:nowrap; text-decoration:none; font-we .wp_themeSkin span.mce_del {background-position:-940px -20px} .wp_themeSkin span.mce_ins {background-position:-960px -20px} .wp_themeSkin span.mce_pagebreak {background-position:0 -40px} -.wp_themeSkin span.mce_spellchecker {background-position:-540px -20px} + /* border */ -.wp_themeSkin .mceExternalToolbar, -.wp_themeSkin .mceButton, -.wp_themeSkin a.mceButtonEnabled:hover, -.wp_themeSkin a.mceButtonActive, -.wp_themeSkin a.mceButtonSelected, -.wp_themeSkin .mceListBox .mceText, -.wp_themeSkin .mceListBox .mceOpen, -.wp_themeSkin table.mceListBoxEnabled:hover .mceText, -.wp_themeSkin .mceListBoxHover .mceText, -.wp_themeSkin .mceListBoxSelected .mceText, -.wp_themeSkin table.mceListBoxEnabled:hover .mceOpen, -.wp_themeSkin .mceListBoxHover .mceOpen, -.wp_themeSkin .mceListBoxSelected .mceOpen, -.wp_themeSkin select.mceListBox, -.wp_themeSkin .mceSplitButton a.mceAction, +.wp_themeSkin .mceExternalToolbar, +.wp_themeSkin .mceButton, +.wp_themeSkin a.mceButtonEnabled:hover, +.wp_themeSkin a.mceButtonActive, +.wp_themeSkin a.mceButtonSelected, +.wp_themeSkin .mceListBox .mceText, +.wp_themeSkin .mceListBox .mceOpen, +.wp_themeSkin table.mceListBoxEnabled:hover .mceText, +.wp_themeSkin .mceListBoxHover .mceText, +.wp_themeSkin .mceListBoxSelected .mceText, +.wp_themeSkin table.mceListBoxEnabled:hover .mceOpen, +.wp_themeSkin .mceListBoxHover .mceOpen, +.wp_themeSkin .mceListBoxSelected .mceOpen, +.wp_themeSkin select.mceListBox, +.wp_themeSkin .mceSplitButton a.mceAction, .wp_themeSkin .mceSplitButton a.mceOpen, -.wp_themeSkin .mceSplitButton a.mceOpen:hover, -.wp_themeSkin .mceSplitButtonSelected a.mceOpen, -.wp_themeSkin table.mceSplitButtonEnabled:hover a.mceAction, -.wp_themeSkin .mceSplitButton a.mceAction:hover, -.wp_themeSkin div.mceColorSplitMenu table, -.wp_themeSkin .mceColorSplitMenu a, -.wp_themeSkin .mceColorSplitMenu a.mceMoreColors, -.wp_themeSkin .mceColorSplitMenu a.mceMoreColors:hover, -.wp_themeSkin a.mceMoreColors:hover, +.wp_themeSkin .mceSplitButton a.mceOpen:hover, +.wp_themeSkin .mceSplitButtonSelected a.mceOpen, +.wp_themeSkin table.mceSplitButtonEnabled:hover a.mceAction, +.wp_themeSkin .mceSplitButton a.mceAction:hover, +.wp_themeSkin div.mceColorSplitMenu table, +.wp_themeSkin .mceColorSplitMenu a, +.wp_themeSkin .mceColorSplitMenu a.mceMoreColors, +.wp_themeSkin .mceColorSplitMenu a.mceMoreColors:hover, +.wp_themeSkin a.mceMoreColors:hover, .wp_themeSkin .mceMenu { - border-style: solid; + border-style: solid; border-width: 1px; } diff --git a/src/wp-includes/js/tinymce/themes/advanced/source_editor.htm b/src/wp-includes/js/tinymce/themes/advanced/source_editor.htm index b0db4ba..d4e8ccd 100644 --- a/src/wp-includes/js/tinymce/themes/advanced/source_editor.htm +++ b/src/wp-includes/js/tinymce/themes/advanced/source_editor.htm @@ -1,12 +1,12 @@ {#advanced_dlg.code_title} - - + + -
      {#advanced_dlg.code_title}
      +
      diff --git a/src/wp-includes/js/tinymce/tiny_mce.js b/src/wp-includes/js/tinymce/tiny_mce.js index 22c4401..d3871e2 100644 --- a/src/wp-includes/js/tinymce/tiny_mce.js +++ b/src/wp-includes/js/tinymce/tiny_mce.js @@ -1 +1 @@ -(function(d){var a=/^\s*|\s*$/g,e,c="B".replace(/A(.)|B/,"$1")==="$1";var b={majorVersion:"3",minorVersion:"3.9.3",releaseDate:"2010-12-20",_init:function(){var s=this,q=document,o=navigator,g=o.userAgent,m,f,l,k,j,r;s.isOpera=d.opera&&opera.buildNumber;s.isWebKit=/WebKit/.test(g);s.isIE=!s.isWebKit&&!s.isOpera&&(/MSIE/gi).test(g)&&(/Explorer/gi).test(o.appName);s.isIE6=s.isIE&&/MSIE [56]/.test(g);s.isGecko=!s.isWebKit&&/Gecko/.test(g);s.isMac=g.indexOf("Mac")!=-1;s.isAir=/adobeair/i.test(g);s.isIDevice=/(iPad|iPhone)/.test(g);if(d.tinyMCEPreInit){s.suffix=tinyMCEPreInit.suffix;s.baseURL=tinyMCEPreInit.base;s.query=tinyMCEPreInit.query;return}s.suffix="";f=q.getElementsByTagName("base");for(m=0;m=c.length){for(e=0,b=g.length;e=c.length||g[e]!=c[e]){f=e+1;break}}}if(g.length=g.length||g[e]!=c[e]){f=e+1;break}}}if(f==1){return h}for(e=0,b=g.length-(f-1);e=0;c--){if(f[c].length==0||f[c]=="."){continue}if(f[c]==".."){b++;continue}if(b>0){b--;continue}h.push(f[c])}c=e.length-b;if(c<=0){g=h.reverse().join("/")}else{g=e.slice(0,c).join("/")+"/"+h.reverse().join("/")}if(g.indexOf("/")!==0){g="/"+g}if(d&&g.lastIndexOf("/")!==g.length-1){g+=d}return g},getURI:function(d){var c,b=this;if(!b.source||d){c="";if(!d){if(b.protocol){c+=b.protocol+"://"}if(b.userInfo){c+=b.userInfo+"@"}if(b.host){c+=b.host}if(b.port){c+=":"+b.port}}if(b.path){c+=b.path}if(b.query){c+="?"+b.query}if(b.anchor){c+="#"+b.anchor}b.source=c}return b.source}})})();(function(){var a=tinymce.each;tinymce.create("static tinymce.util.Cookie",{getHash:function(d){var b=this.get(d),c;if(b){a(b.split("&"),function(e){e=e.split("=");c=c||{};c[unescape(e[0])]=unescape(e[1])})}return c},setHash:function(j,b,g,f,i,c){var h="";a(b,function(e,d){h+=(!h?"":"&")+escape(d)+"="+escape(e)});this.set(j,h,g,f,i,c)},get:function(i){var h=document.cookie,g,f=i+"=",d;if(!h){return}d=h.indexOf("; "+f);if(d==-1){d=h.indexOf(f);if(d!=0){return null}}else{d+=2}g=h.indexOf(";",d);if(g==-1){g=h.length}return unescape(h.substring(d+f.length,g))},set:function(i,b,g,f,h,c){document.cookie=i+"="+escape(b)+((g)?"; expires="+g.toGMTString():"")+((f)?"; path="+escape(f):"")+((h)?"; domain="+h:"")+((c)?"; secure":"")},remove:function(e,b){var c=new Date();c.setTime(c.getTime()-1000);this.set(e,"",c,b,c)}})})();tinymce.create("static tinymce.util.JSON",{serialize:function(e){var c,a,d=tinymce.util.JSON.serialize,b;if(e==null){return"null"}b=typeof e;if(b=="string"){a="\bb\tt\nn\ff\rr\"\"''\\\\";return'"'+e.replace(/([\u0080-\uFFFF\x00-\x1f\"])/g,function(g,f){c=a.indexOf(f);if(c+1){return"\\"+a.charAt(c+1)}g=f.charCodeAt().toString(16);return"\\u"+"0000".substring(g.length)+g})+'"'}if(b=="object"){if(e.hasOwnProperty&&e instanceof Array){for(c=0,a="[";c0?",":"")+d(e[c])}return a+"]"}a="{";for(c in e){a+=typeof e[c]!="function"?(a.length>1?',"':'"')+c+'":'+d(e[c]):""}return a+"}"}return""+e},parse:function(s){try{return eval("("+s+")")}catch(ex){}}});tinymce.create("static tinymce.util.XHR",{send:function(g){var a,e,b=window,h=0;g.scope=g.scope||this;g.success_scope=g.success_scope||g.scope;g.error_scope=g.error_scope||g.scope;g.async=g.async===false?false:true;g.data=g.data||"";function d(i){a=0;try{a=new ActiveXObject(i)}catch(c){}return a}a=b.XMLHttpRequest?new XMLHttpRequest():d("Microsoft.XMLHTTP")||d("Msxml2.XMLHTTP");if(a){if(a.overrideMimeType){a.overrideMimeType(g.content_type)}a.open(g.type||(g.data?"POST":"GET"),g.url,g.async);if(g.content_type){a.setRequestHeader("Content-Type",g.content_type)}a.setRequestHeader("X-Requested-With","XMLHttpRequest");a.send(g.data);function f(){if(!g.async||a.readyState==4||h++>10000){if(g.success&&h<10000&&a.status==200){g.success.call(g.success_scope,""+a.responseText,a,g)}else{if(g.error){g.error.call(g.error_scope,h>10000?"TIMED_OUT":"GENERAL",a,g)}}a=null}else{b.setTimeout(f,10)}}if(!g.async){return f()}e=b.setTimeout(f,10)}}});(function(){var c=tinymce.extend,b=tinymce.util.JSON,a=tinymce.util.XHR;tinymce.create("tinymce.util.JSONRequest",{JSONRequest:function(d){this.settings=c({},d);this.count=0},send:function(f){var e=f.error,d=f.success;f=c(this.settings,f);f.success=function(h,g){h=b.parse(h);if(typeof(h)=="undefined"){h={error:"JSON Parse error."}}if(h.error){e.call(f.error_scope||f.scope,h.error,g)}else{d.call(f.success_scope||f.scope,h.result)}};f.error=function(h,g){e.call(f.error_scope||f.scope,h,g)};f.data=b.serialize({id:f.id||"c"+(this.count++),method:f.method,params:f.params});f.content_type="application/json";a.send(f)},"static":{sendRPC:function(d){return new tinymce.util.JSONRequest().send(d)}}})}());(function(m){var k=m.each,j=m.is,i=m.isWebKit,d=m.isIE,a=/^(H[1-6R]|P|DIV|ADDRESS|PRE|FORM|T(ABLE|BODY|HEAD|FOOT|H|R|D)|LI|OL|UL|CAPTION|BLOCKQUOTE|CENTER|DL|DT|DD|DIR|FIELDSET|NOSCRIPT|MENU|ISINDEX|SAMP)$/,e=g("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),f=g("src,href,style,coords,shape"),c={"&":"&",'"':""","<":"<",">":">"},n=/[<>&\"]/g,b=/^([a-z0-9],?)+$/i,h=/<(\w+)((?:\s+\w+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)(\s*\/?)>/g,l=/(\w+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g;function g(q){var p={},o;q=q.split(",");for(o=q.length;o>=0;o--){p[q[o]]=1}return p}m.create("tinymce.dom.DOMUtils",{doc:null,root:null,files:null,pixelStyles:/^(top|left|bottom|right|width|height|borderWidth)$/,props:{"for":"htmlFor","class":"className",className:"className",checked:"checked",disabled:"disabled",maxlength:"maxLength",readonly:"readOnly",selected:"selected",value:"value",id:"id",name:"name",type:"type"},DOMUtils:function(u,q){var p=this,o;p.doc=u;p.win=window;p.files={};p.cssFlicker=false;p.counter=0;p.stdMode=u.documentMode>=8;p.boxModel=!m.isIE||u.compatMode=="CSS1Compat"||p.stdMode;p.settings=q=m.extend({keep_values:false,hex_colors:1,process_html:1},q);if(m.isIE6){try{u.execCommand("BackgroundImageCache",false,true)}catch(r){p.cssFlicker=true}}if(q.valid_styles){p._styles={};k(q.valid_styles,function(t,s){p._styles[s]=m.explode(t)})}m.addUnload(p.destroy,p)},getRoot:function(){var o=this,p=o.settings;return(p&&o.get(p.root_element))||o.doc.body},getViewPort:function(p){var q,o;p=!p?this.win:p;q=p.document;o=this.boxModel?q.documentElement:q.body;return{x:p.pageXOffset||o.scrollLeft,y:p.pageYOffset||o.scrollTop,w:p.innerWidth||o.clientWidth,h:p.innerHeight||o.clientHeight}},getRect:function(s){var r,o=this,q;s=o.get(s);r=o.getPos(s);q=o.getSize(s);return{x:r.x,y:r.y,w:q.w,h:q.h}},getSize:function(r){var p=this,o,q;r=p.get(r);o=p.getStyle(r,"width");q=p.getStyle(r,"height");if(o.indexOf("px")===-1){o=0}if(q.indexOf("px")===-1){q=0}return{w:parseInt(o)||r.offsetWidth||r.clientWidth,h:parseInt(q)||r.offsetHeight||r.clientHeight}},getParent:function(q,p,o){return this.getParents(q,p,o,false)},getParents:function(z,v,s,y){var q=this,p,u=q.settings,x=[];z=q.get(z);y=y===undefined;if(u.strict_root){s=s||q.getRoot()}if(j(v,"string")){p=v;if(v==="*"){v=function(o){return o.nodeType==1}}else{v=function(o){return q.is(o,p)}}}while(z){if(z==s||!z.nodeType||z.nodeType===9){break}if(!v||v(z)){if(y){x.push(z)}else{return z}}z=z.parentNode}return y?x:null},get:function(o){var p;if(o&&this.doc&&typeof(o)=="string"){p=o;o=this.doc.getElementById(o);if(o&&o.id!==p){return this.doc.getElementsByName(p)[1]}}return o},getNext:function(p,o){return this._findSib(p,o,"nextSibling")},getPrev:function(p,o){return this._findSib(p,o,"previousSibling")},select:function(q,p){var o=this;return m.dom.Sizzle(q,o.get(p)||o.get(o.settings.root_element)||o.doc,[])},is:function(q,o){var p;if(q.length===undefined){if(o==="*"){return q.nodeType==1}if(b.test(o)){o=o.toLowerCase().split(/,/);q=q.nodeName.toLowerCase();for(p=o.length-1;p>=0;p--){if(o[p]==q){return true}}return false}}return m.dom.Sizzle.matches(o,q.nodeType?[q]:q).length>0},add:function(s,v,o,r,u){var q=this;return this.run(s,function(y){var x,t;x=j(v,"string")?q.doc.createElement(v):v;q.setAttribs(x,o);if(r){if(r.nodeType){x.appendChild(r)}else{q.setHTML(x,r)}}return !u?y.appendChild(x):x})},create:function(q,o,p){return this.add(this.doc.createElement(q),q,o,p,1)},createHTML:function(v,p,s){var u="",r=this,q;u+="<"+v;for(q in p){if(p.hasOwnProperty(q)){u+=" "+q+'="'+r.encode(p[q])+'"'}}if(typeof(s)!="undefined"){return u+">"+s+""}return u+" />"},remove:function(o,p){return this.run(o,function(r){var q,s;q=r.parentNode;if(!q){return null}if(p){while(s=r.firstChild){if(!m.isIE||s.nodeType!==3||s.nodeValue){q.insertBefore(s,r)}else{r.removeChild(s)}}}return q.removeChild(r)})},setStyle:function(r,o,p){var q=this;return q.run(r,function(v){var u,t;u=v.style;o=o.replace(/-(\D)/g,function(x,s){return s.toUpperCase()});if(q.pixelStyles.test(o)&&(m.is(p,"number")||/^[\-0-9\.]+$/.test(p))){p+="px"}switch(o){case"opacity":if(d){u.filter=p===""?"":"alpha(opacity="+(p*100)+")";if(!r.currentStyle||!r.currentStyle.hasLayout){u.display="inline-block"}}u[o]=u["-moz-opacity"]=u["-khtml-opacity"]=p||"";break;case"float":d?u.styleFloat=p:u.cssFloat=p;break;default:u[o]=p||""}if(q.settings.update_styles){q.setAttrib(v,"_mce_style")}})},getStyle:function(r,o,q){r=this.get(r);if(!r){return false}if(this.doc.defaultView&&q){o=o.replace(/[A-Z]/g,function(s){return"-"+s});try{return this.doc.defaultView.getComputedStyle(r,null).getPropertyValue(o)}catch(p){return null}}o=o.replace(/-(\D)/g,function(t,s){return s.toUpperCase()});if(o=="float"){o=d?"styleFloat":"cssFloat"}if(r.currentStyle&&q){return r.currentStyle[o]}return r.style[o]},setStyles:function(u,v){var q=this,r=q.settings,p;p=r.update_styles;r.update_styles=0;k(v,function(o,s){q.setStyle(u,s,o)});r.update_styles=p;if(r.update_styles){q.setAttrib(u,r.cssText)}},setAttrib:function(q,r,o){var p=this;if(!q||!r){return}if(p.settings.strict){r=r.toLowerCase()}return this.run(q,function(u){var t=p.settings;switch(r){case"style":if(!j(o,"string")){k(o,function(s,x){p.setStyle(u,x,s)});return}if(t.keep_values){if(o&&!p._isRes(o)){u.setAttribute("_mce_style",o,2)}else{u.removeAttribute("_mce_style",2)}}u.style.cssText=o;break;case"class":u.className=o||"";break;case"src":case"href":if(t.keep_values){if(t.url_converter){o=t.url_converter.call(t.url_converter_scope||p,o,r,u)}p.setAttrib(u,"_mce_"+r,o,2)}break;case"shape":u.setAttribute("_mce_style",o);break}if(j(o)&&o!==null&&o.length!==0){u.setAttribute(r,""+o,2)}else{u.removeAttribute(r,2)}})},setAttribs:function(q,r){var p=this;return this.run(q,function(o){k(r,function(s,t){p.setAttrib(o,t,s)})})},getAttrib:function(r,s,q){var o,p=this;r=p.get(r);if(!r||r.nodeType!==1){return false}if(!j(q)){q=""}if(/^(src|href|style|coords|shape)$/.test(s)){o=r.getAttribute("_mce_"+s);if(o){return o}}if(d&&p.props[s]){o=r[p.props[s]];o=o&&o.nodeValue?o.nodeValue:o}if(!o){o=r.getAttribute(s,2)}if(/^(checked|compact|declare|defer|disabled|ismap|multiple|nohref|noshade|nowrap|readonly|selected)$/.test(s)){if(r[p.props[s]]===true&&o===""){return s}return o?s:""}if(r.nodeName==="FORM"&&r.getAttributeNode(s)){return r.getAttributeNode(s).nodeValue}if(s==="style"){o=o||r.style.cssText;if(o){o=p.serializeStyle(p.parseStyle(o),r.nodeName);if(p.settings.keep_values&&!p._isRes(o)){r.setAttribute("_mce_style",o)}}}if(i&&s==="class"&&o){o=o.replace(/(apple|webkit)\-[a-z\-]+/gi,"")}if(d){switch(s){case"rowspan":case"colspan":if(o===1){o=""}break;case"size":if(o==="+0"||o===20||o===0){o=""}break;case"width":case"height":case"vspace":case"checked":case"disabled":case"readonly":if(o===0){o=""}break;case"hspace":if(o===-1){o=""}break;case"maxlength":case"tabindex":if(o===32768||o===2147483647||o==="32768"){o=""}break;case"multiple":case"compact":case"noshade":case"nowrap":if(o===65535){return s}return q;case"shape":o=o.toLowerCase();break;default:if(s.indexOf("on")===0&&o){o=m._replace(/^function\s+\w+\(\)\s+\{\s+(.*)\s+\}$/,"$1",""+o)}}}return(o!==undefined&&o!==null&&o!=="")?""+o:q},getPos:function(A,s){var p=this,o=0,z=0,u,v=p.doc,q;A=p.get(A);s=s||v.body;if(A){if(d&&!p.stdMode){A=A.getBoundingClientRect();u=p.boxModel?v.documentElement:v.body;o=p.getStyle(p.select("html")[0],"borderWidth");o=(o=="medium"||p.boxModel&&!p.isIE6)&&2||o;return{x:A.left+u.scrollLeft-o,y:A.top+u.scrollTop-o}}q=A;while(q&&q!=s&&q.nodeType){o+=q.offsetLeft||0;z+=q.offsetTop||0;q=q.offsetParent}q=A.parentNode;while(q&&q!=s&&q.nodeType){o-=q.scrollLeft||0;z-=q.scrollTop||0;q=q.parentNode}}return{x:o,y:z}},parseStyle:function(r){var u=this,v=u.settings,x={};if(!r){return x}function p(D,A,C){var z,B,o,y;z=x[D+"-top"+A];if(!z){return}B=x[D+"-right"+A];if(z!=B){return}o=x[D+"-bottom"+A];if(B!=o){return}y=x[D+"-left"+A];if(o!=y){return}x[C]=y;delete x[D+"-top"+A];delete x[D+"-right"+A];delete x[D+"-bottom"+A];delete x[D+"-left"+A]}function q(y,s,o,A){var z;z=x[s];if(!z){return}z=x[o];if(!z){return}z=x[A];if(!z){return}x[y]=x[s]+" "+x[o]+" "+x[A];delete x[s];delete x[o];delete x[A]}r=r.replace(/&(#?[a-z0-9]+);/g,"&$1_MCE_SEMI_");k(r.split(";"),function(s){var o,t=[];if(s){s=s.replace(/_MCE_SEMI_/g,";");s=s.replace(/url\([^\)]+\)/g,function(y){t.push(y);return"url("+t.length+")"});s=s.split(":");o=m.trim(s[1]);o=o.replace(/url\(([^\)]+)\)/g,function(z,y){return t[parseInt(y)-1]});o=o.replace(/rgb\([^\)]+\)/g,function(y){return u.toHex(y)});if(v.url_converter){o=o.replace(/url\([\'\"]?([^\)\'\"]+)[\'\"]?\)/g,function(y,z){return"url("+v.url_converter.call(v.url_converter_scope||u,u.decode(z),"style",null)+")"})}x[m.trim(s[0]).toLowerCase()]=o}});p("border","","border");p("border","-width","border-width");p("border","-color","border-color");p("border","-style","border-style");p("padding","","padding");p("margin","","margin");q("border","border-width","border-style","border-color");if(d){if(x.border=="medium none"){x.border=""}}return x},serializeStyle:function(v,p){var q=this,r="";function u(s,o){if(o&&s){if(o.indexOf("-")===0){return}switch(o){case"font-weight":if(s==700){s="bold"}break;case"color":case"background-color":s=s.toLowerCase();break}r+=(r?" ":"")+o+": "+s+";"}}if(p&&q._styles){k(q._styles["*"],function(o){u(v[o],o)});k(q._styles[p.toLowerCase()],function(o){u(v[o],o)})}else{k(v,u)}return r},loadCSS:function(o){var q=this,r=q.doc,p;if(!o){o=""}p=q.select("head")[0];k(o.split(","),function(s){var t;if(q.files[s]){return}q.files[s]=true;t=q.create("link",{rel:"stylesheet",href:m._addVer(s)});if(d&&r.documentMode&&r.recalc){t.onload=function(){r.recalc();t.onload=null}}p.appendChild(t)})},addClass:function(o,p){return this.run(o,function(q){var r;if(!p){return 0}if(this.hasClass(q,p)){return q.className}r=this.removeClass(q,p);return q.className=(r!=""?(r+" "):"")+p})},removeClass:function(q,r){var o=this,p;return o.run(q,function(t){var s;if(o.hasClass(t,r)){if(!p){p=new RegExp("(^|\\s+)"+r+"(\\s+|$)","g")}s=t.className.replace(p," ");s=m.trim(s!=" "?s:"");t.className=s;if(!s){t.removeAttribute("class");t.removeAttribute("className")}return s}return t.className})},hasClass:function(p,o){p=this.get(p);if(!p||!o){return false}return(" "+p.className+" ").indexOf(" "+o+" ")!==-1},show:function(o){return this.setStyle(o,"display","block")},hide:function(o){return this.setStyle(o,"display","none")},isHidden:function(o){o=this.get(o);return !o||o.style.display=="none"||this.getStyle(o,"display")=="none"},uniqueId:function(o){return(!o?"mce_":o)+(this.counter++)},setHTML:function(q,p){var o=this;return this.run(q,function(v){var r,t,s,z,u,r;p=o.processHTML(p);if(d){function y(){while(v.firstChild){v.firstChild.removeNode()}try{v.innerHTML="
      "+p;v.removeChild(v.firstChild)}catch(x){r=o.create("div");r.innerHTML="
      "+p;k(r.childNodes,function(B,A){if(A){v.appendChild(B)}})}}if(o.settings.fix_ie_paragraphs){p=p.replace(/

      <\/p>|]+)><\/p>|/gi,' 

      ')}y();if(o.settings.fix_ie_paragraphs){s=v.getElementsByTagName("p");for(t=s.length-1,r=0;t>=0;t--){z=s[t];if(!z.hasChildNodes()){if(!z._mce_keep){r=1;break}z.removeAttribute("_mce_keep")}}}if(r){p=p.replace(/

      ]+)>|

      /ig,'

      ');p=p.replace(/<\/p>/gi,"
      ");y();if(o.settings.fix_ie_paragraphs){s=v.getElementsByTagName("DIV");for(t=s.length-1;t>=0;t--){z=s[t];if(z._mce_tmp){u=o.doc.createElement("p");z.cloneNode(false).outerHTML.replace(/([a-z0-9\-_]+)=/gi,function(A,x){var B;if(x!=="_mce_tmp"){B=z.getAttribute(x);if(!B&&x==="class"){B=z.className}u.setAttribute(x,B)}});for(r=0;r]+)\/>|/gi,"",r);if(q.keep_values){if(/)/g,"\n");t=t.replace(/^[\r\n]*|[\r\n]*$/g,"");t=t.replace(/^\s*(\/\/\s*|\]\]>|-->|\]\]-->)\s*$/g,"");return t}r=r.replace(/]+|)>([\s\S]*?)<\/script>/gi,function(s,x,t){if(!x){x=' type="text/javascript"'}x=x.replace(/src=\"([^\"]+)\"?/i,function(y,z){if(q.url_converter){z=p.encode(q.url_converter.call(q.url_converter_scope||p,p.decode(z),"src","script"))}return'_mce_src="'+z+'"'});if(m.trim(t)){v.push(o(t));t=""}return""+t+""});r=r.replace(/]+|)>([\s\S]*?)<\/style>/gi,function(s,x,t){if(t){v.push(o(t));t=""}return""+t+""});r=r.replace(/]+|)>([\s\S]*?)<\/noscript>/g,function(s,x,t){return""})}r=m._replace(//g,"",r);function u(s){return s.replace(h,function(y,z,x,t){return"<"+z+x.replace(l,function(B,A,E,D,C){var F;A=A.toLowerCase();E=E||D||C||"";if(e[A]){if(E==="false"||E==="0"){return}return A+'="'+A+'"'}if(f[A]&&x.indexOf("_mce_"+A)==-1){F=p.decode(E);if(q.url_converter&&(A=="src"||A=="href")){F=q.url_converter.call(q.url_converter_scope||p,F,A,z)}if(A=="style"){F=p.serializeStyle(p.parseStyle(F),A)}return A+'="'+E+'" _mce_'+A+'="'+p.encode(F)+'"'}return B})+t+">"})}r=u(r);r=r.replace(/MCE_SCRIPT:([0-9]+)/g,function(t,s){return v[s]})}return r},getOuterHTML:function(o){var p;o=this.get(o);if(!o){return null}if(o.outerHTML!==undefined){return o.outerHTML}p=(o.ownerDocument||this.doc).createElement("body");p.appendChild(o.cloneNode(true));return p.innerHTML},setOuterHTML:function(r,p,s){var o=this;function q(u,t,x){var y,v;v=x.createElement("body");v.innerHTML=t;y=v.lastChild;while(y){o.insertAfter(y.cloneNode(true),u);y=y.previousSibling}o.remove(u)}return this.run(r,function(u){u=o.get(u);if(u.nodeType==1){s=s||u.ownerDocument||o.doc;if(d){try{if(d&&u.nodeType==1){u.outerHTML=p}else{q(u,p,s)}}catch(t){q(u,p,s)}}else{q(u,p,s)}}})},decode:function(p){var q,r,o;if(/&[\w#]+;/.test(p)){q=this.doc.createElement("div");q.innerHTML=p;r=q.firstChild;o="";if(r){do{o+=r.nodeValue}while(r=r.nextSibling)}return o||p}return p},encode:function(o){return(""+o).replace(n,function(p){return c[p]})},insertAfter:function(o,p){p=this.get(p);return this.run(o,function(r){var q,s;q=p.parentNode;s=p.nextSibling;if(s){q.insertBefore(r,s)}else{q.appendChild(r)}return r})},isBlock:function(o){if(o.nodeType&&o.nodeType!==1){return false}o=o.nodeName||o;return a.test(o)},replace:function(s,r,p){var q=this;if(j(r,"array")){s=s.cloneNode(true)}return q.run(r,function(t){if(p){k(m.grep(t.childNodes),function(o){s.appendChild(o)})}return t.parentNode.replaceChild(s,t)})},rename:function(r,o){var q=this,p;if(r.nodeName!=o.toUpperCase()){p=q.create(o);k(q.getAttribs(r),function(s){q.setAttrib(p,s.nodeName,q.getAttrib(r,s.nodeName))});q.replace(p,r,1)}return p||r},findCommonAncestor:function(q,o){var r=q,p;while(r){p=o;while(p&&r!=p){p=p.parentNode}if(r==p){break}r=r.parentNode}if(!r&&q.ownerDocument){return q.ownerDocument.documentElement}return r},toHex:function(o){var q=/^\s*rgb\s*?\(\s*?([0-9]+)\s*?,\s*?([0-9]+)\s*?,\s*?([0-9]+)\s*?\)\s*$/i.exec(o);function p(r){r=parseInt(r).toString(16);return r.length>1?r:"0"+r}if(q){o="#"+p(q[1])+p(q[2])+p(q[3]);return o}return o},getClasses:function(){var s=this,o=[],r,u={},v=s.settings.class_filter,q;if(s.classes){return s.classes}function x(t){k(t.imports,function(y){x(y)});k(t.cssRules||t.rules,function(y){switch(y.type||1){case 1:if(y.selectorText){k(y.selectorText.split(","),function(z){z=z.replace(/^\s*|\s*$|^\s\./g,"");if(/\.mce/.test(z)||!/\.[\w\-]+$/.test(z)){return}q=z;z=m._replace(/.*\.([a-z0-9_\-]+).*/i,"$1",z);if(v&&!(z=v(z,q))){return}if(!u[z]){o.push({"class":z});u[z]=1}})}break;case 3:x(y.styleSheet);break}})}try{k(s.doc.styleSheets,x)}catch(p){}if(o.length>0){s.classes=o}return o},run:function(u,r,q){var p=this,v;if(p.doc&&typeof(u)==="string"){u=p.get(u)}if(!u){return false}q=q||this;if(!u.nodeType&&(u.length||u.length===0)){v=[];k(u,function(s,o){if(s){if(typeof(s)=="string"){s=p.doc.getElementById(s)}v.push(r.call(q,s,o))}});return v}return r.call(q,u)},getAttribs:function(q){var p;q=this.get(q);if(!q){return[]}if(d){p=[];if(q.nodeName=="OBJECT"){return q.attributes}if(q.nodeName==="OPTION"&&this.getAttrib(q,"selected")){p.push({specified:1,nodeName:"selected"})}q.cloneNode(false).outerHTML.replace(/<\/?[\w:\-]+ ?|=[\"][^\"]+\"|=\'[^\']+\'|=[\w\-]+|>/gi,"").replace(/[\w:\-]+/gi,function(o){p.push({specified:1,nodeName:o})});return p}return q.attributes},destroy:function(p){var o=this;if(o.events){o.events.destroy()}o.win=o.doc=o.root=o.events=null;if(!p){m.removeUnload(o.destroy)}},createRng:function(){var o=this.doc;return o.createRange?o.createRange():new m.dom.Range(this)},nodeIndex:function(s,t){var o=0,q,r,p;if(s){for(q=s.nodeType,s=s.previousSibling,r=s;s;s=s.previousSibling){p=s.nodeType;if(t&&p==3){if(p==q||!s.nodeValue.length){continue}}o++;q=p}}return o},split:function(u,s,y){var z=this,o=z.createRng(),v,q,x;function p(A){var t,r=A.childNodes;if(A.nodeType==1&&A.getAttribute("_mce_type")=="bookmark"){return}for(t=r.length-1;t>=0;t--){p(r[t])}if(A.nodeType!=9){if(A.nodeType==3&&A.nodeValue.length>0){if(!z.isBlock(A.parentNode)||m.trim(A.nodeValue).length>0){return}}if(A.nodeType==1){r=A.childNodes;if(r.length==1&&r[0]&&r[0].nodeType==1&&r[0].getAttribute("_mce_type")=="bookmark"){A.parentNode.insertBefore(r[0],A)}if(r.length||/^(br|hr|input|img)$/i.test(A.nodeName)){return}}z.remove(A)}return A}if(u&&s){o.setStart(u.parentNode,z.nodeIndex(u));o.setEnd(s.parentNode,z.nodeIndex(s));v=o.extractContents();o=z.createRng();o.setStart(s.parentNode,z.nodeIndex(s)+1);o.setEnd(u.parentNode,z.nodeIndex(u)+1);q=o.extractContents();x=u.parentNode;x.insertBefore(p(v),u);if(y){x.replaceChild(y,s)}else{x.insertBefore(s,u)}x.insertBefore(p(q),u);z.remove(u);return y||s}},bind:function(s,o,r,q){var p=this;if(!p.events){p.events=new m.dom.EventUtils()}return p.events.add(s,o,r,q||this)},unbind:function(r,o,q){var p=this;if(!p.events){p.events=new m.dom.EventUtils()}return p.events.remove(r,o,q)},_findSib:function(r,o,p){var q=this,s=o;if(r){if(j(s,"string")){s=function(t){return q.is(t,o)}}for(r=r[p];r;r=r[p]){if(s(r)){return r}}}return null},_isRes:function(o){return/^(top|left|bottom|right|width|height)/i.test(o)||/;\s*(top|left|bottom|right|width|height)/i.test(o)}});m.DOM=new m.dom.DOMUtils(document,{process_html:0})})(tinymce);(function(a){function b(c){var N=this,e=c.doc,S=0,E=1,j=2,D=true,R=false,U="startOffset",h="startContainer",P="endContainer",z="endOffset",k=tinymce.extend,n=c.nodeIndex;k(N,{startContainer:e,startOffset:0,endContainer:e,endOffset:0,collapsed:D,commonAncestorContainer:e,START_TO_START:0,START_TO_END:1,END_TO_END:2,END_TO_START:3,setStart:q,setEnd:s,setStartBefore:g,setStartAfter:I,setEndBefore:J,setEndAfter:u,collapse:A,selectNode:x,selectNodeContents:F,compareBoundaryPoints:v,deleteContents:p,extractContents:H,cloneContents:d,insertNode:C,surroundContents:M,cloneRange:K});function q(V,t){B(D,V,t)}function s(V,t){B(R,V,t)}function g(t){q(t.parentNode,n(t))}function I(t){q(t.parentNode,n(t)+1)}function J(t){s(t.parentNode,n(t))}function u(t){s(t.parentNode,n(t)+1)}function A(t){if(t){N[P]=N[h];N[z]=N[U]}else{N[h]=N[P];N[U]=N[z]}N.collapsed=D}function x(t){g(t);u(t)}function F(t){q(t,0);s(t,t.nodeType===1?t.childNodes.length:t.nodeValue.length)}function v(W,X){var Z=N[h],Y=N[U],V=N[P],t=N[z];if(W===0){return G(Z,Y,Z,Y)}if(W===1){return G(Z,Y,V,t)}if(W===2){return G(V,t,V,t)}if(W===3){return G(V,t,Z,Y)}}function p(){m(j)}function H(){return m(S)}function d(){return m(E)}function C(Y){var V=this[h],t=this[U],X,W;if((V.nodeType===3||V.nodeType===4)&&V.nodeValue){if(!t){V.parentNode.insertBefore(Y,V)}else{if(t>=V.nodeValue.length){c.insertAfter(Y,V)}else{X=V.splitText(t);V.parentNode.insertBefore(Y,X)}}}else{if(V.childNodes.length>0){W=V.childNodes[t]}if(W){V.insertBefore(Y,W)}else{V.appendChild(Y)}}}function M(V){var t=N.extractContents();N.insertNode(V);V.appendChild(t);N.selectNode(V)}function K(){return k(new b(c),{startContainer:N[h],startOffset:N[U],endContainer:N[P],endOffset:N[z],collapsed:N.collapsed,commonAncestorContainer:N.commonAncestorContainer})}function O(t,V){var W;if(t.nodeType==3){return t}if(V<0){return t}W=t.firstChild;while(W&&V>0){--V;W=W.nextSibling}if(W){return W}return t}function l(){return(N[h]==N[P]&&N[U]==N[z])}function G(X,Z,V,Y){var aa,W,t,ab,ad,ac;if(X==V){if(Z==Y){return 0}if(Z0){N.collapse(V)}}else{N.collapse(V)}N.collapsed=l();N.commonAncestorContainer=c.findCommonAncestor(N[h],N[P])}function m(ab){var aa,X=0,ad=0,V,Z,W,Y,t,ac;if(N[h]==N[P]){return f(ab)}for(aa=N[P],V=aa.parentNode;V;aa=V,V=V.parentNode){if(V==N[h]){return r(aa,ab)}++X}for(aa=N[h],V=aa.parentNode;V;aa=V,V=V.parentNode){if(V==N[P]){return T(aa,ab)}++ad}Z=ad-X;W=N[h];while(Z>0){W=W.parentNode;Z--}Y=N[P];while(Z<0){Y=Y.parentNode;Z++}for(t=W.parentNode,ac=Y.parentNode;t!=ac;t=t.parentNode,ac=ac.parentNode){W=t;Y=ac}return o(W,Y,ab)}function f(Z){var ab,Y,X,aa,t,W,V;if(Z!=j){ab=e.createDocumentFragment()}if(N[U]==N[z]){return ab}if(N[h].nodeType==3){Y=N[h].nodeValue;X=Y.substring(N[U],N[z]);if(Z!=E){N[h].deleteData(N[U],N[z]-N[U]);N.collapse(D)}if(Z==j){return}ab.appendChild(e.createTextNode(X));return ab}aa=O(N[h],N[U]);t=N[z]-N[U];while(t>0){W=aa.nextSibling;V=y(aa,Z);if(ab){ab.appendChild(V)}--t;aa=W}if(Z!=E){N.collapse(D)}return ab}function r(ab,Y){var aa,Z,V,t,X,W;if(Y!=j){aa=e.createDocumentFragment()}Z=i(ab,Y);if(aa){aa.appendChild(Z)}V=n(ab);t=V-N[U];if(t<=0){if(Y!=E){N.setEndBefore(ab);N.collapse(R)}return aa}Z=ab.previousSibling;while(t>0){X=Z.previousSibling;W=y(Z,Y);if(aa){aa.insertBefore(W,aa.firstChild)}--t;Z=X}if(Y!=E){N.setEndBefore(ab);N.collapse(R)}return aa}function T(Z,Y){var ab,V,aa,t,X,W;if(Y!=j){ab=e.createDocumentFragment()}aa=Q(Z,Y);if(ab){ab.appendChild(aa)}V=n(Z);++V;t=N[z]-V;aa=Z.nextSibling;while(t>0){X=aa.nextSibling;W=y(aa,Y);if(ab){ab.appendChild(W)}--t;aa=X}if(Y!=E){N.setStartAfter(Z);N.collapse(D)}return ab}function o(Z,t,ac){var W,ae,Y,aa,ab,V,ad,X;if(ac!=j){ae=e.createDocumentFragment()}W=Q(Z,ac);if(ae){ae.appendChild(W)}Y=Z.parentNode;aa=n(Z);ab=n(t);++aa;V=ab-aa;ad=Z.nextSibling;while(V>0){X=ad.nextSibling;W=y(ad,ac);if(ae){ae.appendChild(W)}ad=X;--V}W=i(t,ac);if(ae){ae.appendChild(W)}if(ac!=E){N.setStartAfter(Z);N.collapse(D)}return ae}function i(aa,ab){var W=O(N[P],N[z]-1),ac,Z,Y,t,V,X=W!=N[P];if(W==aa){return L(W,X,R,ab)}ac=W.parentNode;Z=L(ac,R,R,ab);while(ac){while(W){Y=W.previousSibling;t=L(W,X,R,ab);if(ab!=j){Z.insertBefore(t,Z.firstChild)}X=D;W=Y}if(ac==aa){return Z}W=ac.previousSibling;ac=ac.parentNode;V=L(ac,R,R,ab);if(ab!=j){V.appendChild(Z)}Z=V}}function Q(aa,ab){var X=O(N[h],N[U]),Y=X!=N[h],ac,Z,W,t,V;if(X==aa){return L(X,Y,D,ab)}ac=X.parentNode;Z=L(ac,R,D,ab);while(ac){while(X){W=X.nextSibling;t=L(X,Y,D,ab);if(ab!=j){Z.appendChild(t)}Y=D;X=W}if(ac==aa){return Z}X=ac.nextSibling;ac=ac.parentNode;V=L(ac,R,D,ab);if(ab!=j){V.appendChild(Z)}Z=V}}function L(t,Y,ab,ac){var X,W,Z,V,aa;if(Y){return y(t,ac)}if(t.nodeType==3){X=t.nodeValue;if(ab){V=N[U];W=X.substring(V);Z=X.substring(0,V)}else{V=N[z];W=X.substring(0,V);Z=X.substring(V)}if(ac!=E){t.nodeValue=Z}if(ac==j){return}aa=t.cloneNode(R);aa.nodeValue=W;return aa}if(ac==j){return}return t.cloneNode(R)}function y(V,t){if(t!=j){return t==E?V.cloneNode(D):V}V.parentNode.removeChild(V)}}a.Range=b})(tinymce.dom);(function(){function a(g){var i=this,j="\uFEFF",e,h,d=g.dom,c=true,f=false;function b(){var n=g.getRng(),k=d.createRng(),m,o;m=n.item?n.item(0):n.parentElement();if(m.ownerDocument!=d.doc){return k}if(n.item||!m.hasChildNodes()){k.setStart(m.parentNode,d.nodeIndex(m));k.setEnd(k.startContainer,k.startOffset+1);return k}o=g.isCollapsed();function l(s){var u,q,t,p,A=0,x,y,z,r,v;r=n.duplicate();r.collapse(s);u=d.create("a");z=r.parentElement();if(!z.hasChildNodes()){k[s?"setStart":"setEnd"](z,0);return}z.appendChild(u);r.moveToElementText(u);v=n.compareEndPoints(s?"StartToStart":"EndToEnd",r);if(v>0){k[s?"setStartAfter":"setEndAfter"](z);d.remove(u);return}p=tinymce.grep(z.childNodes);x=p.length-1;while(A<=x){y=Math.floor((A+x)/2);z.insertBefore(u,p[y]);r.moveToElementText(u);v=n.compareEndPoints(s?"StartToStart":"EndToEnd",r);if(v>0){A=y+1}else{if(v<0){x=y-1}else{found=true;break}}}q=v>0||y==0?u.nextSibling:u.previousSibling;if(q.nodeType==1){d.remove(u);t=d.nodeIndex(q);q=q.parentNode;if(!s||y>0){t++}}else{if(v>0||y==0){r.setEndPoint(s?"StartToStart":"EndToEnd",n);t=r.text.length}else{r.setEndPoint(s?"StartToStart":"EndToEnd",n);t=q.nodeValue.length-r.text.length}d.remove(u)}k[s?"setStart":"setEnd"](q,t)}l(true);if(!o){l()}return k}this.addRange=function(k){var p,n,m,r,u,s,t=g.dom.doc,o=t.body;function l(B){var x,A,v,z,y;v=d.create("a");x=B?m:u;A=B?r:s;z=p.duplicate();if(x==t){x=o;A=0}if(x.nodeType==3){x.parentNode.insertBefore(v,x);z.moveToElementText(v);z.moveStart("character",A);d.remove(v);p.setEndPoint(B?"StartToStart":"EndToEnd",z)}else{y=x.childNodes;if(y.length){if(A>=y.length){d.insertAfter(v,y[y.length-1])}else{x.insertBefore(v,y[A])}z.moveToElementText(v)}else{v=t.createTextNode(j);x.appendChild(v);z.moveToElementText(v.parentNode);z.collapse(c)}p.setEndPoint(B?"StartToStart":"EndToEnd",z);d.remove(v)}}this.destroy();m=k.startContainer;r=k.startOffset;u=k.endContainer;s=k.endOffset;p=o.createTextRange();if(m==u&&m.nodeType==1&&r==s-1){if(r==s-1){try{n=o.createControlRange();n.addElement(m.childNodes[r]);n.select();n.scrollIntoView();return}catch(q){}}}l(true);l();p.select();p.scrollIntoView()};this.getRangeAt=function(){if(!e||!tinymce.dom.RangeUtils.compareRanges(h,g.getRng())){e=b();h=g.getRng()}try{e.startContainer.nextSibling}catch(k){e=b();h=null}return e};this.destroy=function(){h=e=null}}tinymce.dom.TridentSelection=a})();(function(){var p=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,j=0,d=Object.prototype.toString,o=false,i=true;[0,0].sort(function(){i=false;return 0});var b=function(v,e,z,A){z=z||[];e=e||document;var C=e;if(e.nodeType!==1&&e.nodeType!==9){return[]}if(!v||typeof v!=="string"){return z}var x=[],s,E,H,r,u=true,t=b.isXML(e),B=v,D,G,F,y;do{p.exec("");s=p.exec(B);if(s){B=s[3];x.push(s[1]);if(s[2]){r=s[3];break}}}while(s);if(x.length>1&&k.exec(v)){if(x.length===2&&f.relative[x[0]]){E=h(x[0]+x[1],e)}else{E=f.relative[x[0]]?[e]:b(x.shift(),e);while(x.length){v=x.shift();if(f.relative[v]){v+=x.shift()}E=h(v,E)}}}else{if(!A&&x.length>1&&e.nodeType===9&&!t&&f.match.ID.test(x[0])&&!f.match.ID.test(x[x.length-1])){D=b.find(x.shift(),e,t);e=D.expr?b.filter(D.expr,D.set)[0]:D.set[0]}if(e){D=A?{expr:x.pop(),set:a(A)}:b.find(x.pop(),x.length===1&&(x[0]==="~"||x[0]==="+")&&e.parentNode?e.parentNode:e,t);E=D.expr?b.filter(D.expr,D.set):D.set;if(x.length>0){H=a(E)}else{u=false}while(x.length){G=x.pop();F=G;if(!f.relative[G]){G=""}else{F=x.pop()}if(F==null){F=e}f.relative[G](H,F,t)}}else{H=x=[]}}if(!H){H=E}if(!H){b.error(G||v)}if(d.call(H)==="[object Array]"){if(!u){z.push.apply(z,H)}else{if(e&&e.nodeType===1){for(y=0;H[y]!=null;y++){if(H[y]&&(H[y]===true||H[y].nodeType===1&&b.contains(e,H[y]))){z.push(E[y])}}}else{for(y=0;H[y]!=null;y++){if(H[y]&&H[y].nodeType===1){z.push(E[y])}}}}}else{a(H,z)}if(r){b(r,C,z,A);b.uniqueSort(z)}return z};b.uniqueSort=function(r){if(c){o=i;r.sort(c);if(o){for(var e=1;e":function(x,r){var u=typeof r==="string",v,s=0,e=x.length;if(u&&!/\W/.test(r)){r=r.toLowerCase();for(;s=0)){if(!s){e.push(v)}}else{if(s){r[u]=false}}}}return false},ID:function(e){return e[1].replace(/\\/g,"")},TAG:function(r,e){return r[1].toLowerCase()},CHILD:function(e){if(e[1]==="nth"){var r=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(e[2]==="even"&&"2n"||e[2]==="odd"&&"2n+1"||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=(r[1]+(r[2]||1))-0;e[3]=r[3]-0}e[0]=j++;return e},ATTR:function(u,r,s,e,v,x){var t=u[1].replace(/\\/g,"");if(!x&&f.attrMap[t]){u[1]=f.attrMap[t]}if(u[2]==="~="){u[4]=" "+u[4]+" "}return u},PSEUDO:function(u,r,s,e,v){if(u[1]==="not"){if((p.exec(u[3])||"").length>1||/^\w/.test(u[3])){u[3]=b(u[3],null,null,r)}else{var t=b.filter(u[3],r,s,true^v);if(!s){e.push.apply(e,t)}return false}}else{if(f.match.POS.test(u[0])||f.match.CHILD.test(u[0])){return true}}return u},POS:function(e){e.unshift(true);return e}},filters:{enabled:function(e){return e.disabled===false&&e.type!=="hidden"},disabled:function(e){return e.disabled===true},checked:function(e){return e.checked===true},selected:function(e){e.parentNode.selectedIndex;return e.selected===true},parent:function(e){return !!e.firstChild},empty:function(e){return !e.firstChild},has:function(s,r,e){return !!b(e[3],s).length},header:function(e){return(/h\d/i).test(e.nodeName)},text:function(e){return"text"===e.type},radio:function(e){return"radio"===e.type},checkbox:function(e){return"checkbox"===e.type},file:function(e){return"file"===e.type},password:function(e){return"password"===e.type},submit:function(e){return"submit"===e.type},image:function(e){return"image"===e.type},reset:function(e){return"reset"===e.type},button:function(e){return"button"===e.type||e.nodeName.toLowerCase()==="button"},input:function(e){return(/input|select|textarea|button/i).test(e.nodeName)}},setFilters:{first:function(r,e){return e===0},last:function(s,r,e,t){return r===t.length-1},even:function(r,e){return e%2===0},odd:function(r,e){return e%2===1},lt:function(s,r,e){return re[3]-0},nth:function(s,r,e){return e[3]-0===r},eq:function(s,r,e){return e[3]-0===r}},filter:{PSEUDO:function(s,y,x,z){var e=y[1],r=f.filters[e];if(r){return r(s,x,y,z)}else{if(e==="contains"){return(s.textContent||s.innerText||b.getText([s])||"").indexOf(y[3])>=0}else{if(e==="not"){var t=y[3];for(var v=0,u=t.length;v=0)}}},ID:function(r,e){return r.nodeType===1&&r.getAttribute("id")===e},TAG:function(r,e){return(e==="*"&&r.nodeType===1)||r.nodeName.toLowerCase()===e},CLASS:function(r,e){return(" "+(r.className||r.getAttribute("class"))+" ").indexOf(e)>-1},ATTR:function(v,t){var s=t[1],e=f.attrHandle[s]?f.attrHandle[s](v):v[s]!=null?v[s]:v.getAttribute(s),x=e+"",u=t[2],r=t[4];return e==null?u==="!=":u==="="?x===r:u==="*="?x.indexOf(r)>=0:u==="~="?(" "+x+" ").indexOf(r)>=0:!r?x&&e!==false:u==="!="?x!==r:u==="^="?x.indexOf(r)===0:u==="$="?x.substr(x.length-r.length)===r:u==="|="?x===r||x.substr(0,r.length+1)===r+"-":false},POS:function(u,r,s,v){var e=r[2],t=f.setFilters[e];if(t){return t(u,s,r,v)}}}};var k=f.match.POS,g=function(r,e){return"\\"+(e-0+1)};for(var m in f.match){f.match[m]=new RegExp(f.match[m].source+(/(?![^\[]*\])(?![^\(]*\))/.source));f.leftMatch[m]=new RegExp(/(^(?:.|\r|\n)*?)/.source+f.match[m].source.replace(/\\(\d+)/g,g))}var a=function(r,e){r=Array.prototype.slice.call(r,0);if(e){e.push.apply(e,r);return e}return r};try{Array.prototype.slice.call(document.documentElement.childNodes,0)[0].nodeType}catch(l){a=function(u,t){var r=t||[],s=0;if(d.call(u)==="[object Array]"){Array.prototype.push.apply(r,u)}else{if(typeof u.length==="number"){for(var e=u.length;s";var e=document.documentElement;e.insertBefore(r,e.firstChild);if(document.getElementById(s)){f.find.ID=function(u,v,x){if(typeof v.getElementById!=="undefined"&&!x){var t=v.getElementById(u[1]);return t?t.id===u[1]||typeof t.getAttributeNode!=="undefined"&&t.getAttributeNode("id").nodeValue===u[1]?[t]:undefined:[]}};f.filter.ID=function(v,t){var u=typeof v.getAttributeNode!=="undefined"&&v.getAttributeNode("id");return v.nodeType===1&&u&&u.nodeValue===t}}e.removeChild(r);e=r=null})();(function(){var e=document.createElement("div");e.appendChild(document.createComment(""));if(e.getElementsByTagName("*").length>0){f.find.TAG=function(r,v){var u=v.getElementsByTagName(r[1]);if(r[1]==="*"){var t=[];for(var s=0;u[s];s++){if(u[s].nodeType===1){t.push(u[s])}}u=t}return u}}e.innerHTML="";if(e.firstChild&&typeof e.firstChild.getAttribute!=="undefined"&&e.firstChild.getAttribute("href")!=="#"){f.attrHandle.href=function(r){return r.getAttribute("href",2)}}e=null})();if(document.querySelectorAll){(function(){var e=b,s=document.createElement("div");s.innerHTML="

      ";if(s.querySelectorAll&&s.querySelectorAll(".TEST").length===0){return}b=function(x,v,t,u){v=v||document;if(!u&&v.nodeType===9&&!b.isXML(v)){try{return a(v.querySelectorAll(x),t)}catch(y){}}return e(x,v,t,u)};for(var r in e){b[r]=e[r]}s=null})()}(function(){var e=document.createElement("div");e.innerHTML="
      ";if(!e.getElementsByClassName||e.getElementsByClassName("e").length===0){return}e.lastChild.className="e";if(e.getElementsByClassName("e").length===1){return}f.order.splice(1,0,"CLASS");f.find.CLASS=function(r,s,t){if(typeof s.getElementsByClassName!=="undefined"&&!t){return s.getElementsByClassName(r[1])}};e=null})();function n(r,x,v,A,y,z){for(var t=0,s=A.length;t0){u=e;break}}}e=e[r]}A[t]=u}}}b.contains=document.compareDocumentPosition?function(r,e){return !!(r.compareDocumentPosition(e)&16)}:function(r,e){return r!==e&&(r.contains?r.contains(e):true)};b.isXML=function(e){var r=(e?e.ownerDocument||e:0).documentElement;return r?r.nodeName!=="HTML":false};var h=function(e,y){var t=[],u="",v,s=y.nodeType?[y]:y;while((v=f.match.PSEUDO.exec(e))){u+=v[0];e=e.replace(f.match.PSEUDO,"")}e=f.relative[e]?e+"*":e;for(var x=0,r=s.length;x=0;h--){k=g[h];if(k.obj===l){j._remove(k.obj,k.name,k.cfunc);k.obj=k.cfunc=null;g.splice(h,1)}}}},cancel:function(g){if(!g){return false}this.stop(g);return this.prevent(g)},stop:function(g){if(g.stopPropagation){g.stopPropagation()}else{g.cancelBubble=true}return false},prevent:function(g){if(g.preventDefault){g.preventDefault()}else{g.returnValue=false}return false},destroy:function(){var g=this;f(g.events,function(j,h){g._remove(j.obj,j.name,j.cfunc);j.obj=j.cfunc=null});g.events=[];g=null},_add:function(h,i,g){if(h.attachEvent){h.attachEvent("on"+i,g)}else{if(h.addEventListener){h.addEventListener(i,g,false)}else{h["on"+i]=g}}},_remove:function(i,j,h){if(i){try{if(i.detachEvent){i.detachEvent("on"+j,h)}else{if(i.removeEventListener){i.removeEventListener(j,h,false)}else{i["on"+j]=null}}}catch(g){}}},_pageInit:function(h){var g=this;if(g.domLoaded){return}g.domLoaded=true;f(g.inits,function(i){i()});g.inits=[]},_wait:function(i){var g=this,h=i.document;if(i.tinyMCE_GZ&&tinyMCE_GZ.loaded){g.domLoaded=1;return}if(h.attachEvent){h.attachEvent("onreadystatechange",function(){if(h.readyState==="complete"){h.detachEvent("onreadystatechange",arguments.callee);g._pageInit(i)}});if(h.documentElement.doScroll&&i==i.top){(function(){if(g.domLoaded){return}try{h.documentElement.doScroll("left")}catch(j){setTimeout(arguments.callee,0);return}g._pageInit(i)})()}}else{if(h.addEventListener){g._add(i,"DOMContentLoaded",function(){g._pageInit(i)})}}g._add(i,"load",function(){g._pageInit(i)})},_stoppers:{preventDefault:function(){this.returnValue=false},stopPropagation:function(){this.cancelBubble=true}}});a=d.dom.Event=new d.dom.EventUtils();a._wait(window);d.addUnload(function(){a.destroy()})})(tinymce);(function(a){a.dom.Element=function(f,d){var b=this,e,c;b.settings=d=d||{};b.id=f;b.dom=e=d.dom||a.DOM;if(!a.isIE){c=e.get(b.id)}a.each(("getPos,getRect,getParent,add,setStyle,getStyle,setStyles,setAttrib,setAttribs,getAttrib,addClass,removeClass,hasClass,getOuterHTML,setOuterHTML,remove,show,hide,isHidden,setHTML,get").split(/,/),function(g){b[g]=function(){var h=[f],j;for(j=0;j_';if(k.startContainer==l&&k.endContainer==l){l.body.innerHTML=j}else{k.deleteContents();if(l.body.childNodes.length==0){l.body.innerHTML=j}else{if(k.createContextualFragment){k.insertNode(k.createContextualFragment(j))}else{var m=l.createDocumentFragment(),f=l.createElement("div");m.appendChild(f);f.outerHTML=j;k.insertNode(m)}}}n=g.dom.get("__caret");k=l.createRange();k.setStartBefore(n);k.setEndBefore(n);g.setRng(k);g.dom.remove("__caret")}else{if(k.item){l.execCommand("Delete",false,null);k=g.getRng()}k.pasteHTML(j)}g.onSetContent.dispatch(g,i)},getStart:function(){var g=this.getRng(),h,f,j,i;if(g.duplicate||g.item){if(g.item){return g.item(0)}j=g.duplicate();j.collapse(1);h=j.parentElement();f=i=g.parentElement();while(i=i.parentNode){if(i==h){h=f;break}}if(h&&h.nodeName=="BODY"){return h.firstChild||h}return h}else{h=g.startContainer;if(h.nodeType==1&&h.hasChildNodes()){h=h.childNodes[Math.min(h.childNodes.length-1,g.startOffset)]}if(h&&h.nodeType==3){return h.parentNode}return h}},getEnd:function(){var g=this,h=g.getRng(),i,f;if(h.duplicate||h.item){if(h.item){return h.item(0)}h=h.duplicate();h.collapse(0);i=h.parentElement();if(i&&i.nodeName=="BODY"){return i.lastChild||i}return i}else{i=h.endContainer;f=h.endOffset;if(i.nodeType==1&&i.hasChildNodes()){i=i.childNodes[f>0?f-1:f]}if(i&&i.nodeType==3){return i.parentNode}return i}},getBookmark:function(q,r){var u=this,m=u.dom,g,j,i,n,h,o,p,l="\uFEFF",s;function f(v,x){var t=0;d(m.select(v),function(z,y){if(z==x){t=y}});return t}if(q==2){function k(){var v=u.getRng(true),t=m.getRoot(),x={};function y(B,G){var A=B[G?"startContainer":"endContainer"],F=B[G?"startOffset":"endOffset"],z=[],C,E,D=0;if(A.nodeType==3){if(r){for(C=A.previousSibling;C&&C.nodeType==3;C=C.previousSibling){F+=C.nodeValue.length}}z.push(F)}else{E=A.childNodes;if(F>=E.length&&E.length){D=1;F=Math.max(0,E.length-1)}z.push(u.dom.nodeIndex(E[F],r)+D)}for(;A&&A!=t;A=A.parentNode){z.push(u.dom.nodeIndex(A,r))}return z}x.start=y(v,true);if(!u.isCollapsed()){x.end=y(v)}return x}return k()}if(q){return{rng:u.getRng()}}g=u.getRng();i=m.uniqueId();n=tinyMCE.activeEditor.selection.isCollapsed();s="overflow:hidden;line-height:0px";if(g.duplicate||g.item){if(!g.item){j=g.duplicate();g.collapse();g.pasteHTML(''+l+"");if(!n){j.collapse(false);j.pasteHTML(''+l+"")}}else{o=g.item(0);h=o.nodeName;return{name:h,index:f(h,o)}}}else{o=u.getNode();h=o.nodeName;if(h=="IMG"){return{name:h,index:f(h,o)}}j=g.cloneRange();if(!n){j.collapse(false);j.insertNode(m.create("span",{_mce_type:"bookmark",id:i+"_end",style:s},l))}g.collapse(true);g.insertNode(m.create("span",{_mce_type:"bookmark",id:i+"_start",style:s},l))}u.moveToBookmark({id:i,keep:1});return{id:i}},moveToBookmark:function(n){var r=this,l=r.dom,i,h,f,q,j,s,o,p;if(r.tridentSel){r.tridentSel.destroy()}if(n){if(n.start){f=l.createRng();q=l.getRoot();function g(z){var t=n[z?"start":"end"],v,x,y,u;if(t){for(x=q,v=t.length-1;v>=1;v--){u=x.childNodes;if(u.length){x=u[t[v]]}}if(z){f.setStart(x,t[0])}else{f.setEnd(x,t[0])}}}g(true);g();r.setRng(f)}else{if(n.id){function k(A){var u=l.get(n.id+"_"+A),z,t,x,y,v=n.keep;if(u){z=u.parentNode;if(A=="start"){if(!v){t=l.nodeIndex(u)}else{z=u.firstChild;t=1}j=s=z;o=p=t}else{if(!v){t=l.nodeIndex(u)}else{z=u.firstChild;t=1}s=z;p=t}if(!v){y=u.previousSibling;x=u.nextSibling;d(c.grep(u.childNodes),function(B){if(B.nodeType==3){B.nodeValue=B.nodeValue.replace(/\uFEFF/g,"")}});while(u=l.get(n.id+"_"+A)){l.remove(u,1)}if(y&&x&&y.nodeType==x.nodeType&&y.nodeType==3&&!c.isOpera){t=y.nodeValue.length;y.appendData(x.nodeValue);l.remove(x);if(A=="start"){j=s=y;o=p=t}else{s=y;p=t}}}}}function m(t){if(!a&&l.isBlock(t)&&!t.innerHTML){t.innerHTML='
      '}return t}k("start");k("end");if(j){f=l.createRng();f.setStart(m(j),o);f.setEnd(m(s),p);r.setRng(f)}}else{if(n.name){r.select(l.select(n.name)[n.index])}else{if(n.rng){r.setRng(n.rng)}}}}}},select:function(k,j){var i=this,l=i.dom,g=l.createRng(),f;f=l.nodeIndex(k);g.setStart(k.parentNode,f);g.setEnd(k.parentNode,f+1);if(j){function h(m,o){var n=new c.dom.TreeWalker(m,m);do{if(m.nodeType==3&&c.trim(m.nodeValue).length!=0){if(o){g.setStart(m,0)}else{g.setEnd(m,m.nodeValue.length)}return}if(m.nodeName=="BR"){if(o){g.setStartBefore(m)}else{g.setEndBefore(m)}return}}while(m=(o?n.next():n.prev()))}h(k,1);h(k)}i.setRng(g);return k},isCollapsed:function(){var f=this,h=f.getRng(),g=f.getSel();if(!h||h.item){return false}if(h.compareEndPoints){return h.compareEndPoints("StartToEnd",h)===0}return !g||h.collapsed},collapse:function(f){var g=this,h=g.getRng(),i;if(h.item){i=h.item(0);h=this.win.document.body.createTextRange();h.moveToElementText(i)}h.collapse(!!f);g.setRng(h)},getSel:function(){var g=this,f=this.win;return f.getSelection?f.getSelection():f.document.selection},getRng:function(l){var g=this,h,i,k,j=g.win.document;if(l&&g.tridentSel){return g.tridentSel.getRangeAt(0)}try{if(h=g.getSel()){i=h.rangeCount>0?h.getRangeAt(0):(h.createRange?h.createRange():j.createRange())}}catch(f){}if(c.isIE&&i.setStart&&j.selection.createRange().item){k=j.selection.createRange().item(0);i=j.createRange();i.setStartBefore(k);i.setEndAfter(k)}if(!i){i=j.createRange?j.createRange():j.body.createTextRange()}if(g.selectedRange&&g.explicitRange){if(i.compareBoundaryPoints(i.START_TO_START,g.selectedRange)===0&&i.compareBoundaryPoints(i.END_TO_END,g.selectedRange)===0){i=g.explicitRange}else{g.selectedRange=null;g.explicitRange=null}}return i},setRng:function(i){var h,g=this;if(!g.tridentSel){h=g.getSel();if(h){g.explicitRange=i;h.removeAllRanges();h.addRange(i);g.selectedRange=h.getRangeAt(0)}}else{if(i.cloneRange){g.tridentSel.addRange(i);return}try{i.select()}catch(f){}}},setNode:function(g){var f=this;f.setContent(f.dom.getOuterHTML(g));return g},getNode:function(){var g=this,f=g.getRng(),h=g.getSel(),i;if(f.setStart){if(!f){return g.dom.getRoot()}i=f.commonAncestorContainer;if(!f.collapsed){if(f.startContainer==f.endContainer){if(f.startOffset-f.endOffset<2){if(f.startContainer.hasChildNodes()){i=f.startContainer.childNodes[f.startOffset]}}}if(c.isWebKit&&h.anchorNode&&h.anchorNode.nodeType==1){return h.anchorNode.childNodes[h.anchorOffset]}}if(i&&i.nodeType==3){return i.parentNode}return i}return f.item?f.item(0):f.parentElement()},getSelectedBlocks:function(g,f){var i=this,j=i.dom,m,h,l,k=[];m=j.getParent(g||i.getStart(),j.isBlock);h=j.getParent(f||i.getEnd(),j.isBlock);if(m){k.push(m)}if(m&&h&&m!=h){l=m;while((l=l.nextSibling)&&l!=h){if(j.isBlock(l)){k.push(l)}}}if(h&&m!=h){k.push(h)}return k},destroy:function(g){var f=this;f.win=null;if(f.tridentSel){f.tridentSel.destroy()}if(!g){c.removeUnload(f.destroy)}},_fixIESelection:function(){var m=this.dom,l=m.doc,g=l.body,i,j;l.documentElement.unselectable=true;function k(n,q){var o=g.createTextRange();try{o.moveToPoint(n,q)}catch(p){o=null}return o}function h(o){var n;if(o.button){n=k(o.x,o.y);if(n){if(n.compareEndPoints("StartToStart",j)>0){n.setEndPoint("StartToStart",j)}else{n.setEndPoint("EndToEnd",j)}n.select()}}else{f()}}function f(){m.unbind(l,"mouseup",f);m.unbind(l,"mousemove",h);i=0}m.bind(l,"mousedown",function(n){if(n.target.nodeName==="HTML"){if(i){f()}i=1;j=k(n.x,n.y);if(j){m.bind(l,"mouseup",f);m.bind(l,"mousemove",h);m.win.focus();j.select()}}})}})})(tinymce);(function(a){a.create("tinymce.dom.XMLWriter",{node:null,XMLWriter:function(c){function b(){var e=document.implementation;if(!e||!e.createDocument){try{return new ActiveXObject("MSXML2.DOMDocument")}catch(d){}try{return new ActiveXObject("Microsoft.XmlDom")}catch(d){}}else{return e.createDocument("","",null)}}this.doc=b();this.valid=a.isOpera||a.isWebKit;this.reset()},reset:function(){var b=this,c=b.doc;if(c.firstChild){c.removeChild(c.firstChild)}b.node=c.appendChild(c.createElement("html"))},writeStartElement:function(c){var b=this;b.node=b.node.appendChild(b.doc.createElement(c))},writeAttribute:function(c,b){if(this.valid){b=b.replace(/>/g,"%MCGT%")}this.node.setAttribute(c,b)},writeEndElement:function(){this.node=this.node.parentNode},writeFullEndElement:function(){var b=this,c=b.node;c.appendChild(b.doc.createTextNode(""));b.node=c.parentNode},writeText:function(b){if(this.valid){b=b.replace(/>/g,"%MCGT%")}this.node.appendChild(this.doc.createTextNode(b))},writeCDATA:function(b){this.node.appendChild(this.doc.createCDATASection(b))},writeComment:function(b){if(a.isIE){b=b.replace(/^\-|\-$/g," ")}this.node.appendChild(this.doc.createComment(b.replace(/\-\-/g," ")))},getContent:function(){var b;b=this.doc.xml||new XMLSerializer().serializeToString(this.doc);b=b.replace(/<\?[^?]+\?>|]*>|<\/html>||]+>/g,"");b=b.replace(/ ?\/>/g," />");if(this.valid){b=b.replace(/\%MCGT%/g,">")}return b}})})(tinymce);(function(c){var d=/[&\"<>]/g,b=/[<>&]/g,a={"&":"&",'"':""","<":"<",">":">"};c.create("tinymce.dom.StringWriter",{str:null,tags:null,count:0,settings:null,indent:null,StringWriter:function(e){this.settings=c.extend({indent_char:" ",indentation:0},e);this.reset()},reset:function(){this.indent="";this.str="";this.tags=[];this.count=0},writeStartElement:function(e){this._writeAttributesEnd();this.writeRaw("<"+e);this.tags.push(e);this.inAttr=true;this.count++;this.elementCount=this.count;this.attrs={}},writeAttribute:function(g,e){var f=this;if(!f.attrs[g]){f.writeRaw(" "+f.encode(g,true)+'="'+f.encode(e,true)+'"');f.attrs[g]=e}},writeEndElement:function(){var e;if(this.tags.length>0){e=this.tags.pop();if(this._writeAttributesEnd(1)){this.writeRaw("")}if(this.settings.indentation>0){this.writeRaw("\n")}}},writeFullEndElement:function(){if(this.tags.length>0){this._writeAttributesEnd();this.writeRaw("");if(this.settings.indentation>0){this.writeRaw("\n")}}},writeText:function(e){this._writeAttributesEnd();this.writeRaw(this.encode(e));this.count++},writeCDATA:function(e){this._writeAttributesEnd();this.writeRaw("");this.count++},writeComment:function(e){this._writeAttributesEnd();this.writeRaw("");this.count++},writeRaw:function(e){this.str+=e},encode:function(f,e){return f.replace(e?d:b,function(g){return a[g]})},getContent:function(){return this.str},_writeAttributesEnd:function(e){if(!this.inAttr){return}this.inAttr=false;if(e&&this.elementCount==this.count){this.writeRaw(" />");return false}this.writeRaw(">");return true}})})(tinymce);(function(e){var g=e.extend,f=e.each,b=e.util.Dispatcher,d=e.isIE,a=e.isGecko;function c(h){return h.replace(/([?+*])/g,".$1")}e.create("tinymce.dom.Serializer",{Serializer:function(j){var i=this;i.key=0;i.onPreProcess=new b(i);i.onPostProcess=new b(i);try{i.writer=new e.dom.XMLWriter()}catch(h){i.writer=new e.dom.StringWriter()}if(e.isIE&&document.documentMode>8){i.writer=new e.dom.StringWriter()}i.settings=j=g({dom:e.DOM,valid_nodes:0,node_filter:0,attr_filter:0,invalid_attrs:/^(_mce_|_moz_|sizset|sizcache)/,closed:/^(br|hr|input|meta|img|link|param|area)$/,entity_encoding:"named",entities:"160,nbsp,161,iexcl,162,cent,163,pound,164,curren,165,yen,166,brvbar,167,sect,168,uml,169,copy,170,ordf,171,laquo,172,not,173,shy,174,reg,175,macr,176,deg,177,plusmn,178,sup2,179,sup3,180,acute,181,micro,182,para,183,middot,184,cedil,185,sup1,186,ordm,187,raquo,188,frac14,189,frac12,190,frac34,191,iquest,192,Agrave,193,Aacute,194,Acirc,195,Atilde,196,Auml,197,Aring,198,AElig,199,Ccedil,200,Egrave,201,Eacute,202,Ecirc,203,Euml,204,Igrave,205,Iacute,206,Icirc,207,Iuml,208,ETH,209,Ntilde,210,Ograve,211,Oacute,212,Ocirc,213,Otilde,214,Ouml,215,times,216,Oslash,217,Ugrave,218,Uacute,219,Ucirc,220,Uuml,221,Yacute,222,THORN,223,szlig,224,agrave,225,aacute,226,acirc,227,atilde,228,auml,229,aring,230,aelig,231,ccedil,232,egrave,233,eacute,234,ecirc,235,euml,236,igrave,237,iacute,238,icirc,239,iuml,240,eth,241,ntilde,242,ograve,243,oacute,244,ocirc,245,otilde,246,ouml,247,divide,248,oslash,249,ugrave,250,uacute,251,ucirc,252,uuml,253,yacute,254,thorn,255,yuml,402,fnof,913,Alpha,914,Beta,915,Gamma,916,Delta,917,Epsilon,918,Zeta,919,Eta,920,Theta,921,Iota,922,Kappa,923,Lambda,924,Mu,925,Nu,926,Xi,927,Omicron,928,Pi,929,Rho,931,Sigma,932,Tau,933,Upsilon,934,Phi,935,Chi,936,Psi,937,Omega,945,alpha,946,beta,947,gamma,948,delta,949,epsilon,950,zeta,951,eta,952,theta,953,iota,954,kappa,955,lambda,956,mu,957,nu,958,xi,959,omicron,960,pi,961,rho,962,sigmaf,963,sigma,964,tau,965,upsilon,966,phi,967,chi,968,psi,969,omega,977,thetasym,978,upsih,982,piv,8226,bull,8230,hellip,8242,prime,8243,Prime,8254,oline,8260,frasl,8472,weierp,8465,image,8476,real,8482,trade,8501,alefsym,8592,larr,8593,uarr,8594,rarr,8595,darr,8596,harr,8629,crarr,8656,lArr,8657,uArr,8658,rArr,8659,dArr,8660,hArr,8704,forall,8706,part,8707,exist,8709,empty,8711,nabla,8712,isin,8713,notin,8715,ni,8719,prod,8721,sum,8722,minus,8727,lowast,8730,radic,8733,prop,8734,infin,8736,ang,8743,and,8744,or,8745,cap,8746,cup,8747,int,8756,there4,8764,sim,8773,cong,8776,asymp,8800,ne,8801,equiv,8804,le,8805,ge,8834,sub,8835,sup,8836,nsub,8838,sube,8839,supe,8853,oplus,8855,otimes,8869,perp,8901,sdot,8968,lceil,8969,rceil,8970,lfloor,8971,rfloor,9001,lang,9002,rang,9674,loz,9824,spades,9827,clubs,9829,hearts,9830,diams,338,OElig,339,oelig,352,Scaron,353,scaron,376,Yuml,710,circ,732,tilde,8194,ensp,8195,emsp,8201,thinsp,8204,zwnj,8205,zwj,8206,lrm,8207,rlm,8211,ndash,8212,mdash,8216,lsquo,8217,rsquo,8218,sbquo,8220,ldquo,8221,rdquo,8222,bdquo,8224,dagger,8225,Dagger,8240,permil,8249,lsaquo,8250,rsaquo,8364,euro",valid_elements:"*[*]",extended_valid_elements:0,invalid_elements:0,fix_table_elements:1,fix_list_elements:true,fix_content_duplication:true,convert_fonts_to_spans:false,font_size_classes:0,apply_source_formatting:0,indent_mode:"simple",indent_char:"\t",indent_levels:1,remove_linebreaks:1,remove_redundant_brs:1,element_format:"xhtml"},j);i.dom=j.dom;i.schema=j.schema;if(j.entity_encoding=="named"&&!j.entities){j.entity_encoding="raw"}if(j.remove_redundant_brs){i.onPostProcess.add(function(k,l){l.content=l.content.replace(/(
      \s*)+<\/(p|h[1-6]|div|li)>/gi,function(n,m,o){if(/^
      \s*<\//.test(n)){return""}return n})})}if(j.element_format=="html"){i.onPostProcess.add(function(k,l){l.content=l.content.replace(/<([^>]+) \/>/g,"<$1>")})}if(j.fix_list_elements){i.onPreProcess.add(function(v,s){var l,z,y=["ol","ul"],u,t,q,k=/^(OL|UL)$/,A;function m(r,x){var o=x.split(","),p;while((r=r.previousSibling)!=null){for(p=0;p1){f(q[1].split("|"),function(u){var p={},t;k=k||[];u=u.replace(/::/g,"~");u=/^([!\-])?([\w*.?~_\-]+|)([=:<])?(.+)?$/.exec(u);u[2]=u[2].replace(/~/g,":");if(u[1]=="!"){r=r||[];r.push(u[2])}if(u[1]=="-"){for(t=0;t]*>)(.*?)(<\/script>)/g},{pattern:/(]*>)(.*?)(<\/noscript>)/g},{pattern:/(]*>)(.*?)(<\/style>)/g},{pattern:/(]*>)(.*?)(<\/pre>)/g,encode:1},{pattern:/()/g}]});j=l.content;if(k.entity_encoding!=="raw"){j=i._encode(j)}if(!n.set){j=e._replace(/

      \s+<\/p>|]+)>\s+<\/p>/g,k.entity_encoding=="numeric"?" 

      ":" 

      ",j);if(k.remove_linebreaks){j=j.replace(/\r?\n|\r/g," ");j=e._replace(/(<[^>]+>)\s+/g,"$1 ",j);j=e._replace(/\s+(<\/[^>]+>)/g," $1",j);j=e._replace(/<(p|h[1-6]|blockquote|hr|div|table|tbody|tr|td|body|head|html|title|meta|style|pre|script|link|object) ([^>]+)>\s+/g,"<$1 $2>",j);j=e._replace(/<(p|h[1-6]|blockquote|hr|div|table|tbody|tr|td|body|head|html|title|meta|style|pre|script|link|object)>\s+/g,"<$1>",j);j=e._replace(/\s+<\/(p|h[1-6]|blockquote|hr|div|table|tbody|tr|td|body|head|html|title|meta|style|pre|script|link|object)>/g,"",j)}if(k.apply_source_formatting&&k.indent_mode=="simple"){j=e._replace(/<(\/?)(ul|hr|table|meta|link|tbody|tr|object|body|head|html|map)(|[^>]+)>\s*/g,"\n<$1$2$3>\n",j);j=e._replace(/\s*<(p|h[1-6]|blockquote|div|title|style|pre|script|td|li|area)(|[^>]+)>/g,"\n<$1$2>",j);j=e._replace(/<\/(p|h[1-6]|blockquote|div|title|style|pre|script|td|li)>\s*/g,"\n",j);j=j.replace(/\n\n/g,"\n")}}j=i._unprotect(j,l);j=e._replace(//g,"",j);if(k.entity_encoding=="raw"){j=e._replace(/

       <\/p>|]+)> <\/p>/g,"\u00a0

      ",j)}j=j.replace(/]+|)>([\s\S]*?)<\/noscript>/g,function(h,p,o){return""+i.dom.decode(o.replace(//g,""))+""})}n.content=j},_serializeNode:function(E,J){var A=this,B=A.settings,y=A.writer,q,j,u,G,F,I,C,h,z,k,r,D,p,m,H,o,x;if(!B.node_filter||B.node_filter(E)){switch(E.nodeType){case 1:if(E.hasAttribute?E.hasAttribute("_mce_bogus"):E.getAttribute("_mce_bogus")){return}p=H=false;q=E.hasChildNodes();k=E.getAttribute("_mce_name")||E.nodeName.toLowerCase();o=E.getAttribute("_mce_type");if(o){if(!A._info.cleanup){p=true;return}else{H=1}}if(d){x=E.scopeName;if(x&&x!=="HTML"&&x!=="html"){k=x+":"+k}}if(k.indexOf("mce:")===0){k=k.substring(4)}if(!H){if(!A.validElementsRE||!A.validElementsRE.test(k)||(A.invalidElementsRE&&A.invalidElementsRE.test(k))||J){p=true;break}}if(d){if(B.fix_content_duplication){if(E._mce_serialized==A.key){return}E._mce_serialized=A.key}if(k.charAt(0)=="/"){k=k.substring(1)}}else{if(a){if(E.nodeName==="BR"&&E.getAttribute("type")=="_moz"){return}}}if(B.validate_children){if(A.elementName&&!A.schema.isValid(A.elementName,k)){p=true;break}A.elementName=k}r=A.findRule(k);if(!r){p=true;break}k=r.name||k;m=B.closed.test(k);if((!q&&r.noEmpty)||(d&&!k)){p=true;break}if(r.requiredAttribs){I=r.requiredAttribs;for(G=I.length-1;G>=0;G--){if(this.dom.getAttrib(E,I[G])!==""){break}}if(G==-1){p=true;break}}y.writeStartElement(k);if(r.attribs){for(G=0,C=r.attribs,F=C.length;G-1;G--){h=C[G];if(h.specified){I=h.nodeName.toLowerCase();if(B.invalid_attrs.test(I)||!r.validAttribsRE.test(I)){continue}D=A.findAttribRule(r,I);z=A._getAttrib(E,D,I);if(z!==null){y.writeAttribute(I,z)}}}}if(o&&H){y.writeAttribute("_mce_type",o)}if(k==="script"&&e.trim(E.innerHTML)){y.writeText("// ");y.writeCDATA(E.innerHTML.replace(/|<\[CDATA\[|\]\]>/g,""));q=false;break}if(r.padd){if(q&&(u=E.firstChild)&&u.nodeType===1&&E.childNodes.length===1){if(u.hasAttribute?u.hasAttribute("_mce_bogus"):u.getAttribute("_mce_bogus")){y.writeText("\u00a0")}}else{if(!q){y.writeText("\u00a0")}}}break;case 3:if(B.validate_children&&A.elementName&&!A.schema.isValid(A.elementName,"#text")){return}return y.writeText(E.nodeValue);case 4:return y.writeCDATA(E.nodeValue);case 8:return y.writeComment(E.nodeValue)}}else{if(E.nodeType==1){q=E.hasChildNodes()}}if(q&&!m){u=E.firstChild;while(u){A._serializeNode(u);A.elementName=k;u=u.nextSibling}}if(!p){if(!m){y.writeFullEndElement()}else{y.writeEndElement()}}},_protect:function(j){var i=this;j.items=j.items||[];function h(l){return l.replace(/[\r\n\\]/g,function(m){if(m==="\n"){return"\\n"}else{if(m==="\\"){return"\\\\"}}return"\\r"})}function k(l){return l.replace(/\\[\\rn]/g,function(m){if(m==="\\n"){return"\n"}else{if(m==="\\\\"){return"\\"}}return"\r"})}f(j.patterns,function(l){j.content=k(h(j.content).replace(l.pattern,function(n,o,m,p){m=k(m);if(l.encode){m=i._encode(m)}j.items.push(m);return o+""+p}))});return j},_unprotect:function(i,j){i=i.replace(/\"))}if(a&&j.ListBox){if(a.Button||a.SplitButton){e+=b.createHTML("td",{"class":"mceToolbarEnd"},b.createHTML("span",null,""))}}if(b.stdMode){e+=''+j.renderHTML()+""}else{e+=""+j.renderHTML()+""}if(f&&j.ListBox){if(f.Button||f.SplitButton){e+=b.createHTML("td",{"class":"mceToolbarStart"},b.createHTML("span",null,""))}}}g="mceToolbarEnd";if(j.Button){g+=" mceToolbarEndButton"}else{if(j.SplitButton){g+=" mceToolbarEndSplitButton"}else{if(j.ListBox){g+=" mceToolbarEndListBox"}}}e+=b.createHTML("td",{"class":g},b.createHTML("span",null,""));return b.createHTML("table",{id:l.id,"class":"mceToolbar"+(m["class"]?" "+m["class"]:""),cellpadding:"0",cellspacing:"0",align:l.settings.align||""},""+e+"")}});(function(b){var a=b.util.Dispatcher,c=b.each;b.create("tinymce.AddOnManager",{AddOnManager:function(){var d=this;d.items=[];d.urls={};d.lookup={};d.onAdd=new a(d)},get:function(d){return this.lookup[d]},requireLangPack:function(e){var d=b.settings;if(d&&d.language){b.ScriptLoader.add(this.urls[e]+"/langs/"+d.language+".js")}},add:function(e,d){this.items.push(d);this.lookup[e]=d;this.onAdd.dispatch(this,e,d);return d},load:function(h,e,d,g){var f=this;if(f.urls[h]){return}if(e.indexOf("/")!=0&&e.indexOf("://")==-1){e=b.baseURL+"/"+e}f.urls[h]=e.substring(0,e.lastIndexOf("/"));if(!f.lookup[h]){b.ScriptLoader.add(e,d,g)}}});b.PluginManager=new b.AddOnManager();b.ThemeManager=new b.AddOnManager()}(tinymce));(function(j){var g=j.each,d=j.extend,k=j.DOM,i=j.dom.Event,f=j.ThemeManager,b=j.PluginManager,e=j.explode,h=j.util.Dispatcher,a,c=0;j.documentBaseURL=window.location.href.replace(/[\?#].*$/,"").replace(/[\/\\][^\/]+$/,"");if(!/[\/\\]$/.test(j.documentBaseURL)){j.documentBaseURL+="/"}j.baseURL=new j.util.URI(j.documentBaseURL).toAbsolute(j.baseURL);j.baseURI=new j.util.URI(j.baseURL);j.onBeforeUnload=new h(j);i.add(window,"beforeunload",function(l){j.onBeforeUnload.dispatch(j,l)});j.onAddEditor=new h(j);j.onRemoveEditor=new h(j);j.EditorManager=d(j,{editors:[],i18n:{},activeEditor:null,init:function(q){var n=this,p,l=j.ScriptLoader,u,o=[],m;function r(x,y,t){var v=x[y];if(!v){return}if(j.is(v,"string")){t=v.replace(/\.\w+$/,"");t=t?j.resolve(t):0;v=j.resolve(v)}return v.apply(t||this,Array.prototype.slice.call(arguments,2))}q=d({theme:"simple",language:"en"},q);n.settings=q;i.add(document,"init",function(){var s,v;r(q,"onpageload");switch(q.mode){case"exact":s=q.elements||"";if(s.length>0){g(e(s),function(x){if(k.get(x)){m=new j.Editor(x,q);o.push(m);m.render(1)}else{g(document.forms,function(y){g(y.elements,function(z){if(z.name===x){x="mce_editor_"+c++;k.setAttrib(z,"id",x);m=new j.Editor(x,q);o.push(m);m.render(1)}})})}})}break;case"textareas":case"specific_textareas":function t(y,x){return x.constructor===RegExp?x.test(y.className):k.hasClass(y,x)}g(k.select("textarea"),function(x){if(q.editor_deselector&&t(x,q.editor_deselector)){return}if(!q.editor_selector||t(x,q.editor_selector)){u=k.get(x.name);if(!x.id&&!u){x.id=x.name}if(!x.id||n.get(x.id)){x.id=k.uniqueId()}m=new j.Editor(x.id,q);o.push(m);m.render(1)}});break}if(q.oninit){s=v=0;g(o,function(x){v++;if(!x.initialized){x.onInit.add(function(){s++;if(s==v){r(q,"oninit")}})}else{s++}if(s==v){r(q,"oninit")}})}})},get:function(l){if(l===a){return this.editors}return this.editors[l]},getInstanceById:function(l){return this.get(l)},add:function(m){var l=this,n=l.editors;n[m.id]=m;n.push(m);l._setActive(m);l.onAddEditor.dispatch(l,m);return m},remove:function(n){var m=this,l,o=m.editors;if(!o[n.id]){return null}delete o[n.id];for(l=0;l':"",visual_table_class:"mceItemTable",visual:1,font_size_style_values:"xx-small,x-small,small,medium,large,x-large,xx-large",apply_source_formatting:1,directionality:"ltr",forced_root_block:"p",valid_elements:"@[id|class|style|title|dir';if(F.document_base_url!=m.documentBaseURL){E.iframeHTML+=''}E.iframeHTML+='';if(m.relaxedDomain){E.iframeHTML+=' +