Changeset 3110065
- Timestamp:
- 06/30/2024 06:14:38 PM (5 weeks ago)
- Location:
- nhrrob-options-table-manager
- Files:
-
- 10 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
nhrrob-options-table-manager/tags/1.0.2/assets/css/admin.out.css
r3107726 r3110065 602 602 } 603 603 604 .w-full {605 width: 100%;606 }607 608 604 .min-w-full { 609 605 min-width: 100%; 610 }611 612 .table-auto {613 table-layout: auto;614 606 } 615 607 … … 629 621 } 630 622 623 624 625 626 631 627 .whitespace-nowrap { 632 628 white-space: nowrap; 633 629 } 634 630 635 .b order{636 border-width: 1px;631 .b { 632 ; 637 633 } 638 634 … … 652 648 } 653 649 650 651 652 653 654 654 655 .py-2 { 655 656 padding-top: 0.5rem; … … 657 658 } 658 659 660 661 662 663 664 665 666 667 668 669 659 670 .py-8 { 660 671 padding-top: 2rem; … … 662 673 } 663 674 664 .px-6 {665 padding-left: 1.5rem;666 padding-right: 1.5rem;667 }668 669 .py-3 {670 padding-top: 0.75rem;671 padding-bottom: 0.75rem;672 }673 674 .py-4 {675 padding-top: 1rem;676 padding-bottom: 1rem;677 }678 679 675 .text-left { 680 676 text-align: left; … … 686 682 } 687 683 684 685 686 687 688 688 689 .text-xs { 689 690 font-size: 0.75rem; 690 691 line-height: 1rem; 691 }692 693 .text-sm {694 font-size: 0.875rem;695 line-height: 1.25rem;696 692 } 697 693 -
nhrrob-options-table-manager/tags/1.0.2/includes/Admin.php
r3107726 r3110065 6 6 * The admin class 7 7 */ 8 class Admin {8 class Admin { 9 9 10 10 /** … … 12 12 */ 13 13 function __construct() { 14 15 14 16 $this->dispatch_actions(); 15 17 new Admin\Menu( ); … … 22 24 */ 23 25 public function dispatch_actions( ) { 24 // 26 add_filter('plugin_action_links', array($this, 'plugin_actions_links'), 10, 2); 27 } 28 29 /** 30 * Add settings page link on plugins page 31 * 32 * @param array $links 33 * @param string $file 34 * 35 * @return array 36 * @since 1.0.1 37 */ 38 public function plugin_actions_links($links, $file) { 39 $nhrotm_plugin = plugin_basename(NHROTM_FILE); 40 41 if ($file == $nhrotm_plugin && current_user_can('manage_options')) { 42 $links[] = sprintf('<a href="%s">%s</a>', admin_url("admin.php?page={$this->page_slug}"), __('Option Table', 'nhrrob-options-table-manager')); 43 } 44 45 return $links; 25 46 } 26 47 } -
nhrrob-options-table-manager/tags/1.0.2/includes/views/admin/settings/index.php
r3107726 r3110065 40 40 ?> 41 41 <tr> 42 <td class="px-6 py-4 whitespace-nowrap nowraptext-sm text-gray-500"><label for="<?php echo esc_attr( $name ); ?>"><?php echo esc_html($option_name); ?></label></td>43 <td class="px-6 py-4 whitespace-nowrap nowraptext-sm text-gray-500">42 <td class="px-6 py-4 text-sm text-gray-500"><label for="<?php echo esc_attr( $name ); ?>"><?php echo esc_html($option_name); ?></label></td> 43 <td class="px-6 py-4 text-sm text-gray-500"> 44 44 <?php if (str_contains($value, "\n")) : ?> 45 45 <p class="<?php echo esc_attr( $class ); ?>" id="<?php echo esc_attr( $name ); ?>"><?php echo esc_textarea($value); ?></p> … … 48 48 <?php endif; ?> 49 49 </td> 50 <td class="px-6 py-4 whitespace-nowrap nowraptext-sm text-gray-500"> Yes <?php //echo esc_html($option->autoload); ?> </td>50 <td class="px-6 py-4 text-sm text-gray-500"> Yes <?php //echo esc_html($option->autoload); ?> </td> 51 51 </tr> 52 52 <?php endforeach; ?> -
nhrrob-options-table-manager/tags/1.0.2/nhrrob-options-table-manager.php
r3107726 r3110065 5 5 * Description: Clean DataTable view of wp-options table to make decisions and boost your site performance! 6 6 * Author: Nazmul Hasan Robin 7 * Version: 1.0. 17 * Version: 1.0. 8 8 * Requires at least: 6.0 9 9 * Requires PHP: 7.4 … … 27 27 * @var string 28 28 */ 29 const nhrotm_version = '1.0. 1';29 const nhrotm_version = '1.0.'; 30 30 31 31 /** -
nhrrob-options-table-manager/tags/1.0.2/readme.txt
r3107731 r3110065 5 5 Tested up to: 6.5 6 6 Requires PHP: 7.4 7 Stable tag: 1.0. 17 Stable tag: 1.0. 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 61 61 == Changelog == 62 62 63 64 65 66 67 63 68 = 1.0.1 - 26/06/2024 = 64 69 - Prefix updated -
nhrrob-options-table-manager/trunk/assets/css/admin.out.css
r3107726 r3110065 602 602 } 603 603 604 .w-full {605 width: 100%;606 }607 608 604 .min-w-full { 609 605 min-width: 100%; 610 }611 612 .table-auto {613 table-layout: auto;614 606 } 615 607 … … 629 621 } 630 622 623 624 625 626 631 627 .whitespace-nowrap { 632 628 white-space: nowrap; 633 629 } 634 630 635 .b order{636 border-width: 1px;631 .b { 632 ; 637 633 } 638 634 … … 652 648 } 653 649 650 651 652 653 654 654 655 .py-2 { 655 656 padding-top: 0.5rem; … … 657 658 } 658 659 660 661 662 663 664 665 666 667 668 669 659 670 .py-8 { 660 671 padding-top: 2rem; … … 662 673 } 663 674 664 .px-6 {665 padding-left: 1.5rem;666 padding-right: 1.5rem;667 }668 669 .py-3 {670 padding-top: 0.75rem;671 padding-bottom: 0.75rem;672 }673 674 .py-4 {675 padding-top: 1rem;676 padding-bottom: 1rem;677 }678 679 675 .text-left { 680 676 text-align: left; … … 686 682 } 687 683 684 685 686 687 688 688 689 .text-xs { 689 690 font-size: 0.75rem; 690 691 line-height: 1rem; 691 }692 693 .text-sm {694 font-size: 0.875rem;695 line-height: 1.25rem;696 692 } 697 693 -
nhrrob-options-table-manager/trunk/includes/Admin.php
r3107726 r3110065 6 6 * The admin class 7 7 */ 8 class Admin {8 class Admin { 9 9 10 10 /** … … 12 12 */ 13 13 function __construct() { 14 15 14 16 $this->dispatch_actions(); 15 17 new Admin\Menu( ); … … 22 24 */ 23 25 public function dispatch_actions( ) { 24 // 26 add_filter('plugin_action_links', array($this, 'plugin_actions_links'), 10, 2); 27 } 28 29 /** 30 * Add settings page link on plugins page 31 * 32 * @param array $links 33 * @param string $file 34 * 35 * @return array 36 * @since 1.0.1 37 */ 38 public function plugin_actions_links($links, $file) { 39 $nhrotm_plugin = plugin_basename(NHROTM_FILE); 40 41 if ($file == $nhrotm_plugin && current_user_can('manage_options')) { 42 $links[] = sprintf('<a href="%s">%s</a>', admin_url("admin.php?page={$this->page_slug}"), __('Option Table', 'nhrrob-options-table-manager')); 43 } 44 45 return $links; 25 46 } 26 47 } -
nhrrob-options-table-manager/trunk/includes/views/admin/settings/index.php
r3107726 r3110065 40 40 ?> 41 41 <tr> 42 <td class="px-6 py-4 whitespace-nowrap nowraptext-sm text-gray-500"><label for="<?php echo esc_attr( $name ); ?>"><?php echo esc_html($option_name); ?></label></td>43 <td class="px-6 py-4 whitespace-nowrap nowraptext-sm text-gray-500">42 <td class="px-6 py-4 text-sm text-gray-500"><label for="<?php echo esc_attr( $name ); ?>"><?php echo esc_html($option_name); ?></label></td> 43 <td class="px-6 py-4 text-sm text-gray-500"> 44 44 <?php if (str_contains($value, "\n")) : ?> 45 45 <p class="<?php echo esc_attr( $class ); ?>" id="<?php echo esc_attr( $name ); ?>"><?php echo esc_textarea($value); ?></p> … … 48 48 <?php endif; ?> 49 49 </td> 50 <td class="px-6 py-4 whitespace-nowrap nowraptext-sm text-gray-500"> Yes <?php //echo esc_html($option->autoload); ?> </td>50 <td class="px-6 py-4 text-sm text-gray-500"> Yes <?php //echo esc_html($option->autoload); ?> </td> 51 51 </tr> 52 52 <?php endforeach; ?> -
nhrrob-options-table-manager/trunk/nhrrob-options-table-manager.php
r3107726 r3110065 5 5 * Description: Clean DataTable view of wp-options table to make decisions and boost your site performance! 6 6 * Author: Nazmul Hasan Robin 7 * Version: 1.0. 17 * Version: 1.0. 8 8 * Requires at least: 6.0 9 9 * Requires PHP: 7.4 … … 27 27 * @var string 28 28 */ 29 const nhrotm_version = '1.0. 1';29 const nhrotm_version = '1.0.'; 30 30 31 31 /** -
nhrrob-options-table-manager/trunk/readme.txt
r3107731 r3110065 5 5 Tested up to: 6.5 6 6 Requires PHP: 7.4 7 Stable tag: 1.0. 17 Stable tag: 1.0. 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 61 61 == Changelog == 62 62 63 64 65 66 67 63 68 = 1.0.1 - 26/06/2024 = 64 69 - Prefix updated
Note: See TracChangeset
for help on using the changeset viewer.