Plugin Directory

Changeset 1756917


Ignore:
Timestamp:
11/01/2017 06:59:19 PM (8 years ago)
Author:
radovank
Message:

tagging version 1.4

Location:
template-dictionary
Files:
5 edited
5 copied

Legend:

Unmodified
Added
Removed
  • template-dictionary/tags/1.4/admin/admin.php

    r1755536 r1756917  
    273273        );
    274274        add_submenu_page(
    275             null,
    276             __( 'Add value', 'template-dictionary' ),
    277             __( 'Add value', 'template-dictionary' ),
    278             'manage_options',
    279             'template_dictionary_edit_value',
    280             array( $this, 'page_edit_value' )
    281         );
    282         add_submenu_page(
    283275            'template_dictionary',
    284276            __( 'Export/Import', 'template-dictionary' ),
     
    288280            array( $this, 'page_export_import' )
    289281        );
     282        add_submenu_page(
     283            'template_dictionary',
     284            __( 'Add value', 'template-dictionary' ),
     285            __( 'Add value', 'template-dictionary' ),
     286            'manage_options',
     287            'template_dictionary_edit_value',
     288            array( $this, 'page_edit_value' )
     289        );
    290290
    291291        add_action( 'load-' . $page_dictionary_list, array( $this, 'screen_options_dictionary_list' ) );
     
    339339
    340340        if( $this->transient_langs_to_delete ){
    341             foreach ( $this->transient_langs_to_delete as $lang ) { error_log($lang);
     341            foreach ( $this->transient_langs_to_delete as $lang ) {
    342342                delete_transient( TmplDict()->transient_name( $lang ) );
    343343            }
     
    391391     * Handle POST and GET on edit_setting page.
    392392     */
    393     private function handle_edit_setting(){
     393    private function handle_add_edit_setting(){
    394394        $id = 0;
    395395        $code = '';
  • template-dictionary/tags/1.4/admin/css/admin.css

    r1713594 r1756917  
    1515.media-wrapper .file-name { margin-bottom: 5px; }
    1616.file-name { display: block; }
     17
     18#adminmenu .toplevel_page_template_dictionary ul li:last-child { display: none; }
  • template-dictionary/tags/1.4/readme.txt

    r1755515 r1756917  
    44Requires at least: 4.4
    55Tested up to: 4.8.1
    6 Stable tag: 1.3
     6Stable tag: 1.4
    77License: GPL2
    88License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    6262== Changelog ==
    6363
     64= 1.4 =
     65* Fix: Page for editing settings was not showing.
     66* Show admin submenu opened on Edit Values page.
     67
    6468= 1.3 =
    6569* Fix: screen option per_page on settings list
  • template-dictionary/tags/1.4/template-dictionary.php

    r1755504 r1756917  
    33 * Plugin Name: Template Dictionary
    44 * Description: A plugin for developers which provides template variables dictionary editable in backend.
    5  * Version:     1.3
     5 * Version:     1.4
    66 * Author:      Radovan Kneblík
    77 * License:     GPL2
     
    2424     * @var string
    2525     */
    26     private $version = '1.3';
     26    private $version = '1.4';
    2727
    2828    /**
  • template-dictionary/trunk/admin/admin.php

    r1755536 r1756917  
    273273        );
    274274        add_submenu_page(
    275             null,
    276             __( 'Add value', 'template-dictionary' ),
    277             __( 'Add value', 'template-dictionary' ),
    278             'manage_options',
    279             'template_dictionary_edit_value',
    280             array( $this, 'page_edit_value' )
    281         );
    282         add_submenu_page(
    283275            'template_dictionary',
    284276            __( 'Export/Import', 'template-dictionary' ),
     
    288280            array( $this, 'page_export_import' )
    289281        );
     282        add_submenu_page(
     283            'template_dictionary',
     284            __( 'Add value', 'template-dictionary' ),
     285            __( 'Add value', 'template-dictionary' ),
     286            'manage_options',
     287            'template_dictionary_edit_value',
     288            array( $this, 'page_edit_value' )
     289        );
    290290
    291291        add_action( 'load-' . $page_dictionary_list, array( $this, 'screen_options_dictionary_list' ) );
     
    339339
    340340        if( $this->transient_langs_to_delete ){
    341             foreach ( $this->transient_langs_to_delete as $lang ) { error_log($lang);
     341            foreach ( $this->transient_langs_to_delete as $lang ) {
    342342                delete_transient( TmplDict()->transient_name( $lang ) );
    343343            }
     
    391391     * Handle POST and GET on edit_setting page.
    392392     */
    393     private function handle_edit_setting(){
     393    private function handle_add_edit_setting(){
    394394        $id = 0;
    395395        $code = '';
  • template-dictionary/trunk/admin/css/admin.css

    r1713594 r1756917  
    1515.media-wrapper .file-name { margin-bottom: 5px; }
    1616.file-name { display: block; }
     17
     18#adminmenu .toplevel_page_template_dictionary ul li:last-child { display: none; }
  • template-dictionary/trunk/readme.txt

    r1755515 r1756917  
    44Requires at least: 4.4
    55Tested up to: 4.8.1
    6 Stable tag: 1.3
     6Stable tag: 1.4
    77License: GPL2
    88License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    6262== Changelog ==
    6363
     64= 1.4 =
     65* Fix: Page for editing settings was not showing.
     66* Show admin submenu opened on Edit Values page.
     67
    6468= 1.3 =
    6569* Fix: screen option per_page on settings list
  • template-dictionary/trunk/template-dictionary.php

    r1755504 r1756917  
    33 * Plugin Name: Template Dictionary
    44 * Description: A plugin for developers which provides template variables dictionary editable in backend.
    5  * Version:     1.3
     5 * Version:     1.4
    66 * Author:      Radovan Kneblík
    77 * License:     GPL2
     
    2424     * @var string
    2525     */
    26     private $version = '1.3';
     26    private $version = '1.4';
    2727
    2828    /**
Note: See TracChangeset for help on using the changeset viewer.