From 62212b9179c9ba16cbf279200284ce2c9618c8f5 Mon Sep 17 00:00:00 2001 From: jmash Date: Sun, 29 Jun 2008 16:12:13 +0000 Subject: [PATCH] v1.1.4 tagged properly git-svn-id: https://plugins.svn.wordpress.org/pagemash/trunk@52377 b8457f37-d9ea-0310-8a92-e5e31aec5664 --- pagemash.js | 2 +- pagemash.php | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/pagemash.js b/pagemash.js index f3d22ff..cd73478 100644 --- a/pagemash.js +++ b/pagemash.js @@ -52,7 +52,7 @@ var SaveList = function() { new Ajax('../wp-content/plugins/pagemash/saveList.php', { method: 'post', postBody: 'm='+Json.toString(theDump), - // update: "debug_list", + update: "debug_list", onComplete: function() { $('update_status').setText('Database Updated'); new Fx.Style($('update_status'), 'opacity', {duration: 500}).start(0,1).chain(function() { diff --git a/pagemash.php b/pagemash.php index 1fc71cc..b8214b9 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.1.3 +Version: 1.1.4 Author URI: http://joelstarnes.co.uk/ CHANGELOG: @@ -21,6 +21,7 @@ Release: Date: Description: 1.1.1 29 Apr 2008 Fix a bug with console.log for safari, removed php code from js&css scripts to fix error 1.1.2 24 May 2008 Added Expand all | Collapse all buttons 1.1.3 04 Jun 2008 Fixed hide bug that appeared on some systems +1.1.4 05 Jun 2008 Add config option to show debug info. */ #########CONFIG OPTIONS############################################ @@ -36,6 +37,9 @@ $renamePagesFeature = true; /*[deafult=true]*/ $CollapsePagesOnLoad = false; /*[deafult=true]*/ /* Collapse all parent pages on load */ +$ShowDegubInfo = false; /*[deafult=false]*/ +/* Show server response debug info */ + ################################################################### /* INSPIRATIONS/CREDITS: @@ -106,10 +110,10 @@ function pageMash_getPages($post_parent){ } function pageMash_main(){ - global $excludePagesFeature, $excludePagesList; + global $excludePagesFeature, $excludePagesList, $ShowDegubInfo; if(!is_array(get_option('exclude_pages'))) $excludePagesList=array(); else $excludePagesList = get_option('exclude_pages'); //if it's empty set as an empty array ?> -
+
version [1.1.3]