Changeset 1756917
- Timestamp:
- 11/01/2017 06:59:19 PM (8 years ago)
- Location:
- template-dictionary
- Files:
-
- 5 edited
- 5 copied
-
tags/1.4 (copied) (copied from template-dictionary/trunk)
-
tags/1.4/admin/admin.php (copied) (copied from template-dictionary/trunk/admin/admin.php) (4 diffs)
-
tags/1.4/admin/css/admin.css (modified) (1 diff)
-
tags/1.4/admin/views (copied) (copied from template-dictionary/trunk/admin/views)
-
tags/1.4/readme.txt (copied) (copied from template-dictionary/trunk/readme.txt) (2 diffs)
-
tags/1.4/template-dictionary.php (copied) (copied from template-dictionary/trunk/template-dictionary.php) (2 diffs)
-
trunk/admin/admin.php (modified) (4 diffs)
-
trunk/admin/css/admin.css (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/template-dictionary.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
template-dictionary/tags/1.4/admin/admin.php
r1755536 r1756917 273 273 ); 274 274 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(283 275 'template_dictionary', 284 276 __( 'Export/Import', 'template-dictionary' ), … … 288 280 array( $this, 'page_export_import' ) 289 281 ); 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 ); 290 290 291 291 add_action( 'load-' . $page_dictionary_list, array( $this, 'screen_options_dictionary_list' ) ); … … 339 339 340 340 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 ) { 342 342 delete_transient( TmplDict()->transient_name( $lang ) ); 343 343 } … … 391 391 * Handle POST and GET on edit_setting page. 392 392 */ 393 private function handle_ edit_setting(){393 private function handle_add_edit_setting(){ 394 394 $id = 0; 395 395 $code = ''; -
template-dictionary/tags/1.4/admin/css/admin.css
r1713594 r1756917 15 15 .media-wrapper .file-name { margin-bottom: 5px; } 16 16 .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 4 4 Requires at least: 4.4 5 5 Tested up to: 4.8.1 6 Stable tag: 1. 36 Stable tag: 1.4 7 7 License: GPL2 8 8 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 62 62 == Changelog == 63 63 64 = 1.4 = 65 * Fix: Page for editing settings was not showing. 66 * Show admin submenu opened on Edit Values page. 67 64 68 = 1.3 = 65 69 * Fix: screen option per_page on settings list -
template-dictionary/tags/1.4/template-dictionary.php
r1755504 r1756917 3 3 * Plugin Name: Template Dictionary 4 4 * Description: A plugin for developers which provides template variables dictionary editable in backend. 5 * Version: 1. 35 * Version: 1.4 6 6 * Author: Radovan Kneblík 7 7 * License: GPL2 … … 24 24 * @var string 25 25 */ 26 private $version = '1. 3';26 private $version = '1.4'; 27 27 28 28 /** -
template-dictionary/trunk/admin/admin.php
r1755536 r1756917 273 273 ); 274 274 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(283 275 'template_dictionary', 284 276 __( 'Export/Import', 'template-dictionary' ), … … 288 280 array( $this, 'page_export_import' ) 289 281 ); 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 ); 290 290 291 291 add_action( 'load-' . $page_dictionary_list, array( $this, 'screen_options_dictionary_list' ) ); … … 339 339 340 340 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 ) { 342 342 delete_transient( TmplDict()->transient_name( $lang ) ); 343 343 } … … 391 391 * Handle POST and GET on edit_setting page. 392 392 */ 393 private function handle_ edit_setting(){393 private function handle_add_edit_setting(){ 394 394 $id = 0; 395 395 $code = ''; -
template-dictionary/trunk/admin/css/admin.css
r1713594 r1756917 15 15 .media-wrapper .file-name { margin-bottom: 5px; } 16 16 .file-name { display: block; } 17 18 #adminmenu .toplevel_page_template_dictionary ul li:last-child { display: none; } -
template-dictionary/trunk/readme.txt
r1755515 r1756917 4 4 Requires at least: 4.4 5 5 Tested up to: 4.8.1 6 Stable tag: 1. 36 Stable tag: 1.4 7 7 License: GPL2 8 8 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 62 62 == Changelog == 63 63 64 = 1.4 = 65 * Fix: Page for editing settings was not showing. 66 * Show admin submenu opened on Edit Values page. 67 64 68 = 1.3 = 65 69 * Fix: screen option per_page on settings list -
template-dictionary/trunk/template-dictionary.php
r1755504 r1756917 3 3 * Plugin Name: Template Dictionary 4 4 * Description: A plugin for developers which provides template variables dictionary editable in backend. 5 * Version: 1. 35 * Version: 1.4 6 6 * Author: Radovan Kneblík 7 7 * License: GPL2 … … 24 24 * @var string 25 25 */ 26 private $version = '1. 3';26 private $version = '1.4'; 27 27 28 28 /**
Note: See TracChangeset
for help on using the changeset viewer.