WordPress.org

Plugin Directory

Changeset 709847


Ignore:
Timestamp:
05/08/13 12:26:52 (12 months ago)
Author:
eskapism
Message:

version 1.2.12

Location:
cms-tree-page-view
Files:
3 edited
20 copied

Legend:

Unmodified
Added
Removed
  • cms-tree-page-view/tags/1.2.12/index.php

    r698644 r709847  
    44Plugin URI: http://eskapism.se/code-playground/cms-tree-page-view/ 
    55Description: Adds a CMS-like tree view of all your pages, like the view often found in a page-focused CMS. Use the tree view to edit, view, add pages and search pages (very useful if you have many pages). And with drag and drop you can rearrange the order of your pages. Page management won't get any easier than this! 
    6 Version: 1.2.11 
     6Version: 1.2.12 
    77Author: Pär Thernström 
    88Author URI: http://eskapism.se/ 
     
    2828#require("functions.php"); 
    2929 
    30 define( "CMS_TPV_VERSION", "1.2.11"); 
     30define( "CMS_TPV_VERSION", "1.2.12"); 
    3131define( "CMS_TPV_NAME", "CMS Tree Page View"); 
    3232 
    33 require(dirname(__FILE__)."/functions.php"); 
     33require(dirname(__FILE__) . "/functions.php"); 
    3434 
    3535// Find the plugin directory URL 
  • cms-tree-page-view/tags/1.2.12/readme.txt

    r698644 r709847  
    55Requires at least: 3.5.1 
    66Tested up to: 3.5.1 
    7 Stable tag: 1.2.11 
     7Stable tag: 1.2.12 
    88 
    99Adds a tree view of all pages & custom posts. Get a great overview + options to drag & drop to reorder & option to add multiple pages. 
     
    112112== Changelog == 
    113113 
     114= 1.2.12 = 
     115- Fixed search not working 
     116- Fix height of clear search icon 
     117 
    114118= 1.2.11 = 
    115119- Updated german translation 
  • cms-tree-page-view/tags/1.2.12/scripts/cms_tree_page_view.js

    r659176 r709847  
    264264        var isHierarchical = $(elm).closest(".cms_tpv_wrapper").find("[name=cms_tpv_meta_post_type_hierarchical]").val(); 
    265265        if (isHierarchical === "0") { 
     266             
    266267            // no move to children if not hierarchical 
    267268            treeOptionsTmp.types = { 
     
    272273                } 
    273274            }; 
     275 
    274276        } 
    275277         
     278        // set search url to include post type 
     279        treeOptionsTmp.search.ajax.url = ajaxurl + CMS_TPV_AJAXURL + CMS_TPV_VIEW + "&post_type=" + cms_tpv_get_post_type(this); 
     280 
    276281        $elm.bind("search.jstree", function (event, data) { 
    277282            if (data.rslt.nodes.length === 0) { 
     
    694699                // check if we have an existing translation for the string, otherwise use the post status directly 
    695700                var post_status_to_show = ""; 
    696                 if (post_status_to_show = cmstpv_l10n["Status_"+post_status + "_ucase"]) { 
     701                if (post_status_to_show = cmstpv_l10n["Status_" + post_status + "_ucase"]) { 
    697702                    // it's ok 
    698703                } else { 
  • cms-tree-page-view/trunk/index.php

    r698644 r709847  
    44Plugin URI: http://eskapism.se/code-playground/cms-tree-page-view/ 
    55Description: Adds a CMS-like tree view of all your pages, like the view often found in a page-focused CMS. Use the tree view to edit, view, add pages and search pages (very useful if you have many pages). And with drag and drop you can rearrange the order of your pages. Page management won't get any easier than this! 
    6 Version: 1.2.11 
     6Version: 1.2.12 
    77Author: Pär Thernström 
    88Author URI: http://eskapism.se/ 
     
    2828#require("functions.php"); 
    2929 
    30 define( "CMS_TPV_VERSION", "1.2.11"); 
     30define( "CMS_TPV_VERSION", "1.2.12"); 
    3131define( "CMS_TPV_NAME", "CMS Tree Page View"); 
    3232 
    33 require(dirname(__FILE__)."/functions.php"); 
     33require(dirname(__FILE__) . "/functions.php"); 
    3434 
    3535// Find the plugin directory URL 
  • cms-tree-page-view/trunk/readme.txt

    r698644 r709847  
    55Requires at least: 3.5.1 
    66Tested up to: 3.5.1 
    7 Stable tag: 1.2.11 
     7Stable tag: 1.2.12 
    88 
    99Adds a tree view of all pages & custom posts. Get a great overview + options to drag & drop to reorder & option to add multiple pages. 
     
    112112== Changelog == 
    113113 
     114= 1.2.12 = 
     115- Fixed search not working 
     116- Fix height of clear search icon 
     117 
    114118= 1.2.11 = 
    115119- Updated german translation 
  • cms-tree-page-view/trunk/scripts/cms_tree_page_view.js

    r659176 r709847  
    264264        var isHierarchical = $(elm).closest(".cms_tpv_wrapper").find("[name=cms_tpv_meta_post_type_hierarchical]").val(); 
    265265        if (isHierarchical === "0") { 
     266             
    266267            // no move to children if not hierarchical 
    267268            treeOptionsTmp.types = { 
     
    272273                } 
    273274            }; 
     275 
    274276        } 
    275277         
     278        // set search url to include post type 
     279        treeOptionsTmp.search.ajax.url = ajaxurl + CMS_TPV_AJAXURL + CMS_TPV_VIEW + "&post_type=" + cms_tpv_get_post_type(this); 
     280 
    276281        $elm.bind("search.jstree", function (event, data) { 
    277282            if (data.rslt.nodes.length === 0) { 
     
    694699                // check if we have an existing translation for the string, otherwise use the post status directly 
    695700                var post_status_to_show = ""; 
    696                 if (post_status_to_show = cmstpv_l10n["Status_"+post_status + "_ucase"]) { 
     701                if (post_status_to_show = cmstpv_l10n["Status_" + post_status + "_ucase"]) { 
    697702                    // it's ok 
    698703                } else { 
Note: See TracChangeset for help on using the changeset viewer.