v1.1.4 tagged properly

git-svn-id: https://plugins.svn.wordpress.org/pagemash/trunk@52377 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
jmash 2008-06-29 16:12:13 +00:00
parent f0c2dc6195
commit 62212b9179
2 changed files with 8 additions and 4 deletions

View File

@ -52,7 +52,7 @@ var SaveList = function() {
new Ajax('../wp-content/plugins/pagemash/saveList.php', { new Ajax('../wp-content/plugins/pagemash/saveList.php', {
method: 'post', method: 'post',
postBody: 'm='+Json.toString(theDump), postBody: 'm='+Json.toString(theDump),
// update: "debug_list", update: "debug_list",
onComplete: function() { onComplete: function() {
$('update_status').setText('Database Updated'); $('update_status').setText('Database Updated');
new Fx.Style($('update_status'), 'opacity', {duration: 500}).start(0,1).chain(function() { new Fx.Style($('update_status'), 'opacity', {duration: 500}).start(0,1).chain(function() {

View File

@ -4,7 +4,7 @@ Plugin Name: pageMash
Plugin URI: http://joelstarnes.co.uk/pagemash/ Plugin URI: http://joelstarnes.co.uk/pagemash/
Description: pageMash > pageManagement [WP_Admin > Manage > pageMash] Description: pageMash > pageManagement [WP_Admin > Manage > pageMash]
Author: Joel Starnes Author: Joel Starnes
Version: 1.1.3 Version: 1.1.4
Author URI: http://joelstarnes.co.uk/ Author URI: http://joelstarnes.co.uk/
CHANGELOG: 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.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.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.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############################################ #########CONFIG OPTIONS############################################
@ -36,6 +37,9 @@ $renamePagesFeature = true; /*[deafult=true]*/
$CollapsePagesOnLoad = false; /*[deafult=true]*/ $CollapsePagesOnLoad = false; /*[deafult=true]*/
/* Collapse all parent pages on load */ /* Collapse all parent pages on load */
$ShowDegubInfo = false; /*[deafult=false]*/
/* Show server response debug info */
################################################################### ###################################################################
/* /*
INSPIRATIONS/CREDITS: INSPIRATIONS/CREDITS:
@ -106,10 +110,10 @@ function pageMash_getPages($post_parent){
} }
function pageMash_main(){ 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 if(!is_array(get_option('exclude_pages'))) $excludePagesList=array(); else $excludePagesList = get_option('exclude_pages'); //if it's empty set as an empty array
?> ?>
<div id="debug_list"></div> <div id="debug_list"<?php if(false==$ShowDegubInfo) echo' style="display:none;"'; ?>></div>
<div id="pageMash" class="wrap"> <div id="pageMash" class="wrap">
<div id="pageMash_checkVersion" style="float:right; font-size:.7em; margin-top:5px;"> <div id="pageMash_checkVersion" style="float:right; font-size:.7em; margin-top:5px;">
version [1.1.3] version [1.1.3]