Version Description
Download this release
Release Info
Developer | jmash |
Plugin | pageMash > Page Management |
Version | 1.1.3 |
Comparing to | |
See all releases |
Code changes from version 1.1.2 to 1.1.3
- README.txt +4 -1
- pagemash.php +5 -9
README.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: JoelStarnes
|
|
3 |
Tags: order pages, ajax, re-order, drag-and-drop, admin, manage, page, pages, sidebar, header, hide,
|
4 |
Requires at least: 2.1
|
5 |
Tested up to: 2.5
|
6 |
-
Stable tag: 1.1.
|
7 |
|
8 |
Organise page order and manage page structure with this simple drag-and-drop Ajax interface.
|
9 |
|
@@ -51,6 +51,9 @@ Any good up-to-date browser should work fine. I test in Firefox, IE7, Safari and
|
|
51 |
|
52 |
==Change Log==
|
53 |
|
|
|
|
|
|
|
54 |
* 1.1.2
|
55 |
* Added Expand all | Collapse all buttons
|
56 |
|
3 |
Tags: order pages, ajax, re-order, drag-and-drop, admin, manage, page, pages, sidebar, header, hide,
|
4 |
Requires at least: 2.1
|
5 |
Tested up to: 2.5
|
6 |
+
Stable tag: 1.1.3
|
7 |
|
8 |
Organise page order and manage page structure with this simple drag-and-drop Ajax interface.
|
9 |
|
51 |
|
52 |
==Change Log==
|
53 |
|
54 |
+
* 1.1.3
|
55 |
+
* Fixed hide bug that appeared on some systems
|
56 |
+
|
57 |
* 1.1.2
|
58 |
* Added Expand all | Collapse all buttons
|
59 |
|
pagemash.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: pageMash
|
|
4 |
Plugin URI: http://joelstarnes.co.uk/pagemash/
|
5 |
Description: pageMash > pageManagement [WP_Admin > Manage > pageMash]
|
6 |
Author: Joel Starnes
|
7 |
-
Version: 1.1.
|
8 |
Author URI: http://joelstarnes.co.uk/
|
9 |
|
10 |
CHANGELOG:
|
@@ -20,6 +20,7 @@ Release: Date: Description:
|
|
20 |
1.1.0 24 Apr 2008 Added quick rename, externalised scripts, changed display of edit|hide|rename links, deregisters prototype
|
21 |
1.1.1 29 Apr 2008 Fix a bug with console.log for safari, removed php code from js&css scripts to fix error
|
22 |
1.1.2 24 May 2008 Added Expand all | Collapse all buttons
|
|
|
23 |
|
24 |
*/
|
25 |
#########CONFIG OPTIONS############################################
|
@@ -78,13 +79,8 @@ function pageMash_getPages($post_parent){
|
|
78 |
|
79 |
if ($pageposts == true){ //if $pageposts == true then it does have sub-page(s), so list them.
|
80 |
echo (0 === $post_parent) ? '<ul id="pageMash_pages">' : '<ul>'; //add this ID only to root 'ul' element
|
81 |
-
foreach ($pageposts as $page): //list pages, [the 'li' ID must be pm_'page ID']
|
82 |
-
if(get_option('exclude_pages')){ //
|
83 |
-
if(in_array($page->ID, $excludePagesList))
|
84 |
-
$liClass="remove"; //if page is in exclude list, add class remove
|
85 |
-
}
|
86 |
-
?>
|
87 |
-
<li id="pm_<?php echo $page->ID;?>"<?php if($liClass) echo ' class="'.$liClass.'"'; ?>>
|
88 |
<span class="title"><?php echo $page->post_title;?></span>
|
89 |
<span class="pageMash_box">
|
90 |
<span class="pageMash_more">»</span>
|
@@ -116,7 +112,7 @@ function pageMash_main(){
|
|
116 |
<div id="debug_list"></div>
|
117 |
<div id="pageMash" class="wrap">
|
118 |
<div id="pageMash_checkVersion" style="float:right; font-size:.7em; margin-top:5px;">
|
119 |
-
version [1.1.
|
120 |
</div>
|
121 |
<h2 style="margin-bottom:0; clear:none;">pageMash - pageManagement</h2>
|
122 |
<p style="margin-top:4px;">
|
4 |
Plugin URI: http://joelstarnes.co.uk/pagemash/
|
5 |
Description: pageMash > pageManagement [WP_Admin > Manage > pageMash]
|
6 |
Author: Joel Starnes
|
7 |
+
Version: 1.1.3
|
8 |
Author URI: http://joelstarnes.co.uk/
|
9 |
|
10 |
CHANGELOG:
|
20 |
1.1.0 24 Apr 2008 Added quick rename, externalised scripts, changed display of edit|hide|rename links, deregisters prototype
|
21 |
1.1.1 29 Apr 2008 Fix a bug with console.log for safari, removed php code from js&css scripts to fix error
|
22 |
1.1.2 24 May 2008 Added Expand all | Collapse all buttons
|
23 |
+
1.1.3 04 Jun 2008 Fixed hide bug that appeared on some systems
|
24 |
|
25 |
*/
|
26 |
#########CONFIG OPTIONS############################################
|
79 |
|
80 |
if ($pageposts == true){ //if $pageposts == true then it does have sub-page(s), so list them.
|
81 |
echo (0 === $post_parent) ? '<ul id="pageMash_pages">' : '<ul>'; //add this ID only to root 'ul' element
|
82 |
+
foreach ($pageposts as $page): //list pages, [the 'li' ID must be pm_'page ID'] ?>
|
83 |
+
<li id="pm_<?php echo $page->ID; ?>"<?php if(get_option('exclude_pages')){ if(in_array($page->ID, $excludePagesList)) echo ' class="remove"'; }//if page is in exclude list, add class remove ?>>
|
|
|
|
|
|
|
|
|
|
|
84 |
<span class="title"><?php echo $page->post_title;?></span>
|
85 |
<span class="pageMash_box">
|
86 |
<span class="pageMash_more">»</span>
|
112 |
<div id="debug_list"></div>
|
113 |
<div id="pageMash" class="wrap">
|
114 |
<div id="pageMash_checkVersion" style="float:right; font-size:.7em; margin-top:5px;">
|
115 |
+
version [1.1.3]
|
116 |
</div>
|
117 |
<h2 style="margin-bottom:0; clear:none;">pageMash - pageManagement</h2>
|
118 |
<p style="margin-top:4px;">
|