diff --git a/README.txt b/README.txt index b265988..31c41e5 100644 --- a/README.txt +++ b/README.txt @@ -3,7 +3,7 @@ Contributors: JoelStarnes Tags: order pages, ajax, re-order, drag-and-drop, admin, manage, page, pages, sidebar, header, hide, Requires at least: 2.0 Tested up to: 2.4-bleeding -Stable tag: 1.0.3 +Stable tag: 1.0.4 Organise page order and manage page structure with this simple drag-and-drop Ajax interface. @@ -66,6 +66,8 @@ No. You no longer need to add the pageMash parameter as you did with the previou 1.0.3 > Fixed datatype bug causing array problems +1.0.4 > Removed shorthand PHP and updated CSS and JS headers to admin_print_scripts hook. + == Localization == diff --git a/pagemash.php b/pagemash.php index ed0dc09..a682aa0 100644 --- a/pagemash.php +++ b/pagemash.php @@ -4,7 +4,7 @@ Plugin Name: pageMash Plugin URI: http://joelstarnes.co.uk/pagemash/ Description: pageMash > pageManagement [WP_Admin > Manage > pageMash] Author: Joel Starnes -Version: 1.0.3 +Version: 1.0.4 Author URI: http://joelstarnes.co.uk/ CHANGELOG: @@ -17,6 +17,7 @@ Release: Date: Description: 1.0.1 beta 14 Mar 2008 Fixed IE > drag selects text 1.0.2 16 Mar 2008 Major code rewrite for exclude pages, funct hooks onto wp_list_pages 1.0.3 18 Mar 2008 Fixed datatype bug causing array problems +1.0.4 11 Apr 2008 removed shorthand PHP and updated CSS and JS headers to admin_print_scripts hook. FIXME: @fixme with instantUpdateFeature hide will not send the update @@ -79,11 +80,11 @@ function pageMash_getPages($post_parent){ echo '>'; foreach ($pageposts as $page): //list pages, [the 'li' ID must be the page ID] ?> -
@@ -142,7 +143,6 @@ function pageMash_main(){ } function pageMash_head(){ -if(strrpos('>'.$_GET["page"], 'pagemash')): // only include header stuff on pagemash admin page //stylesheet & javascript to go in page header global $instantUpdateFeature, $excludePagesFeature; ?> @@ -153,17 +153,17 @@ if(strrpos('>'.$_GET["page"], 'pagemash')): // only include header stuff on page } ul#pageMash_pages li.collapsed ul { display:none; } ul#pageMash_pages li.children { - background-image: url('=get_settings("siteurl")?>/wp-content/plugins/pagemash/collapse.png'); + background-image: url('/wp-content/plugins/pagemash/collapse.png'); } ul#pageMash_pages li.collapsed.children { - background-image: url('=get_settings("siteurl")?>/wp-content/plugins/pagemash/expand.png'); + background-image: url('/wp-content/plugins/pagemash/expand.png'); } ul#pageMash_pages li { display:block; margin:2px 0 0 0; border-bottom:1px solid #aaa; border-right:1px solid #aaa; border-top:1px solid #ccc; border-left:1px solid #ccc; padding:4px 6px 4px 24px; - background:#F1F1F1 url('=get_settings("siteurl")?>/wp-content/plugins/pagemash/page.png') no-repeat 4px 4px; + background:#F1F1F1 url('/wp-content/plugins/pagemash/page.png') no-repeat 4px 4px; list-style-type:none; } ul#pageMash_pages li span.title { font-weight: bold; } @@ -214,8 +214,8 @@ if(strrpos('>'.$_GET["page"], 'pagemash')): // only include header stuff on page #pageMash_code .orange{color:#EC9E00;} - - + + \ No newline at end of file