WordPress.org

Plugin Directory

Changeset 645039


Ignore:
Timestamp:
12/27/12 15:30:01 (16 months ago)
Author:
eskapism
Message:

version 1.2.1

Location:
cms-tree-page-view/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • cms-tree-page-view/trunk/functions.php

    r644827 r645039  
    307307} 
    308308 
     309function cms_tpv_load_textdomain() { 
     310    // echo "load textdomain"; 
     311    if (is_admin()) { 
     312        load_plugin_textdomain('cms-tree-page-view', WP_CONTENT_DIR . "/plugins/languages", "/cms-tree-page-view/languages"); 
     313    } 
     314} 
    309315 
    310316function cms_tpv_admin_init() { 
     
    313319    //wp_enqueue_script( "jquery-hotkeys" ); 
    314320 
    315     load_plugin_textdomain('cms-tree-page-view', WP_CONTENT_DIR . "/plugins/languages", "/cms-tree-page-view/languages"); 
    316  
    317321    // add row to plugin page 
     322 
    318323    add_filter( 'plugin_row_meta', 'cms_tpv_set_plugin_row_meta', 10, 2 ); 
    319324 
     
    467472 */ 
    468473function cms_tpv_wp_dashboard_setup() { 
     474     
     475    // echo "setup dashboard"; 
     476 
    469477    // add dashboard to capability edit_pages only 
    470478    if (current_user_can("edit_pages")) { 
     
    473481            $post_type_object = get_post_type_object($one_dashboard_post_type); 
    474482            $new_func_name = create_function('', "cms_tpv_dashboard('$one_dashboard_post_type');"); 
    475             $widget_name = sprintf(_x('%1$s Tree', "name of dashboard", "cms-tree-page-view"), $post_type_object->labels->name); 
     483            $widget_name = sprintf( _x('%1$s Tree', "name of dashboard", "cms-tree-page-view"), $post_type_object->labels->name); 
    476484            wp_add_dashboard_widget( "cms_tpv_dashboard_widget_{$one_dashboard_post_type}", $widget_name, $new_func_name ); 
    477485        } 
    478486    } 
     487 
    479488} 
    480489 
     
    509518     
    510519} 
    511  
    512520 
    513521/** 
  • cms-tree-page-view/trunk/index.php

    r643512 r645039  
    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 
     6Version: 1.2.1 
    77Author: Pär Thernström 
    88Author URI: http://eskapism.se/ 
     
    2828#require("functions.php"); 
    2929 
    30 define( "CMS_TPV_VERSION", "1.2"); 
     30define( "CMS_TPV_VERSION", "1.2.1"); 
    3131define( "CMS_TPV_NAME", "CMS Tree Page View"); 
    3232 
     
    5050// define( "CMS_TPV_PLUGIN_FOLDERNAME_AND_FILENAME", basename(dirname(__FILE__)) . "/" . basename(__FILE__) ); 
    5151 
     52add_action( 'init', 'cms_tpv_load_textdomain' ); 
     53 
    5254// on admin init: add styles and scripts 
    5355add_action( 'admin_init', 'cms_tpv_admin_init' ); 
     
    5658 
    5759// Hook onto dashboard and admin menu 
    58 add_action( 'wp_dashboard_setup', "cms_tpv_wp_dashboard_setup" ); 
    5960add_action( 'admin_menu', "cms_tpv_admin_menu" ); 
    6061add_action( 'admin_head', "cms_tpv_admin_head" ); 
     62add_action( 'wp_dashboard_setup', "cms_tpv_wp_dashboard_setup" ); 
    6163 
    6264// Ajax hooks 
  • cms-tree-page-view/trunk/languages/cms-tree-page-view-sv_SE.po

    r644798 r645039  
    66"Report-Msgid-Bugs-To: http://wordpress.org/tag/cms-tree-page-view\n" 
    77"POT-Creation-Date: 2012-12-26 20:37:31+00:00\n" 
    8 "PO-Revision-Date: 2012-12-26 21:57+0100\n" 
     8"PO-Revision-Date: 2012-12-27 16:26+0100\n" 
    99"Last-Translator: Pär Thernström <par.thernstrom@gmail.com>\n" 
    1010"Language-Team: LANGUAGE <LL@li.org>\n" 
     
    127127 
    128128#: functions.php:474 
    129 #, fuzzy 
    130129msgctxt "name of dashboard" 
    131130msgid "%1$s Tree" 
    132 msgstr "%1$s Trädvy" 
     131msgstr "Trädvy för %1$s" 
    133132 
    134133#: functions.php:502 
     
    140139msgctxt "title on page with tree" 
    141140msgid "%1$s Tree View" 
    142 msgstr "%1$s Trädvy" 
     141msgstr "Trädvy för %1$s" 
    143142 
    144143#: functions.php:523 
     
    188187#: functions.php:849 
    189188msgid "Collapse" 
    190 msgstr "Fäll in" 
     189msgstr "Fäll ihop" 
    191190 
    192191#: functions.php:857 
     
    281280msgctxt "headline of page with tree" 
    282281msgid "%1$s Tree View" 
    283 msgstr "%1$s Trädvy" 
     282msgstr "Trädvy för %1$s" 
    284283 
    285284#: functions.php:1200 
  • cms-tree-page-view/trunk/readme.txt

    r644827 r645039  
    55Requires at least: 3.4 
    66Tested up to: 3.5 
    7 Stable tag: 1.2 
     7Stable tag: 1.2.1 
    88 
    99Adds a tree view of all pages & custom posts. Get a great overview + options to drag & drop to reorder and option to add multiple pages at once. 
     
    105105== Changelog == 
    106106 
    107 = 1.x = 
     107= 1.2.1 = 
    108108- Fixed wrong count if WPML where activated and future or private posts existed for a language 
    109109- Show info message if no posts found after fetching posts with AJAX 
    110110- Updated Swedish translation 
     111- Updated Russian translation - hopefully it works this time! 
    111112- Updated POT file 
     113- Minor language fixes, like actually loading plugin textdomain before using any texts... 
    112114 
    113115= 1.2 = 
Note: See TracChangeset for help on using the changeset viewer.