Changeset 3101347
- Timestamp:
- 06/11/2024 05:42:20 PM (22 months ago)
- Location:
- wordpress-tooltips/trunk
- Files:
-
- 4 edited
-
admin/glossaryglobalsettings.php (modified) (3 diffs)
-
asset/admin/css/admin.css (modified) (5 diffs)
-
readme.txt (modified) (2 diffs)
-
tooltips.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wordpress-tooltips/trunk/admin/glossaryglobalsettings.php
r3046234 r3101347 140 140 //end !!!8.5.3 141 141 142 //9.7.9 143 if (isset($_POST['selecttooltipforrightcolumnglossarytable'])) 144 { 145 $selecttooltipforrightcolumnglossarytable = sanitize_text_field($_POST['selecttooltipforrightcolumnglossarytable']); 146 update_option("tooltipforrightcolumnglossarytable",$selecttooltipforrightcolumnglossarytable); 147 } 148 149 142 150 $tooltipsMessageProString = __( 'Changes saved', 'wordpress-tooltips' ); 143 151 tooltipsMessage($tooltipsMessageProString); … … 528 536 } 529 537 ?> 530 <select id="selecttooltipforleftcolumnglossarytable" name="selecttooltipforleftcolumnglossarytable" style="width:200px;">538 <select id="selecttooltipforleftcolumnglossarytable" name="selecttooltipforleftcolumnglossarytable" style="width:98%;"> 531 539 <option id="optiontooltipforleftcolumnglossarytable" value="NO" <?php if ($tooltipforleftcolumnglossarytable == 'NO') echo "selected"; ?>> <?php echo __( 'Disable Tooltip Effect on Left Term Column of Glossary Table', 'wordpress-tooltips' ); ?> </option> 532 540 <option id="optiontooltipforleftcolumnglossarytable" value="YES" <?php if ($tooltipforleftcolumnglossarytable == 'YES') echo "selected"; ?>> <?php echo __( 'Enable Tooltip Effect on Left Term Column of Glossary Table', 'wordpress-tooltips' ); ?> </option> … … 536 544 </tr> 537 545 <?php //!!! end 8.5.3 ?> 546 <?php //!!! start 9.7.9 ?> 547 <tr> 548 <td style='width:25%'> 549 <?php 550 echo __( 'Enable Tooltip Effect on Right Glossary Content of Glossary Table: ', 'wordpress-tooltips' ).'<span class="spanquestiontooltipforrightcolumnglossarytable">?</span>'; 551 $admin_tip = __('Required field, enable / disable tooltips effect on right content column of glossary table', "wordpress-tooltips"); 552 ?> 553 <script type="text/javascript"> 554 jQuery(document).ready(function () { 555 jQuery("span.spanquestiontooltipforrightcolumnglossarytable").hover(function () { 556 jQuery(this).append('<div class="divquestiontooltipforrightcolumnglossarytable"><p><?php echo $admin_tip; ?></p></div>'); 557 }, function () { 558 jQuery("div.divquestiontooltipforrightcolumnglossarytable").remove(); 559 }); 560 }); 561 </script> 562 </td> 563 564 <td style='width:25%'> 565 <?php 566 $tooltipforrightcolumnglossarytable = get_option("tooltipforrightcolumnglossarytable"); 567 if (empty($tooltipforrightcolumnglossarytable)) 568 { 569 $tooltipforrightcolumnglossarytable = 'NO'; 570 } 571 ?> 572 <select id="selecttooltipforrightcolumnglossarytable" name="selecttooltipforrightcolumnglossarytable" style="width:98%;"> 573 <option id="optiontooltipforrightcolumnglossarytable" value="NO" <?php if ($tooltipforrightcolumnglossarytable == 'NO') echo "selected"; ?>> <?php echo __( 'Disable Tooltip Effect on Right Glossary Content Column of Glossary Table', 'wordpress-tooltips' ); ?> </option> 574 <option id="optiontooltipforrightcolumnglossarytable" value="YES" <?php if ($tooltipforrightcolumnglossarytable == 'YES') echo "selected"; ?>> <?php echo __( 'Enable Tooltip Effect on Right Glossary Content Column of Glossary Table', 'wordpress-tooltips' ); ?> </option> 575 </select> 576 577 </td> 578 579 <td style='width:25%'> 580 </td> 581 <td style='width:25%'> 582 </td> 583 </tr> 584 <?php // !!! end 9.7.9 ?> 538 585 </table> 539 586 <br /> -
wordpress-tooltips/trunk/asset/admin/css/admin.css
r2959582 r3101347 17 17 , span.questiondisableTooltipandEnableGlossary, span.spanquestiontooltipforleftcolumnglossarytable 18 18 , span.questioncontactform7, span.questiontooltipformaxbutton, span.questionlinktooltiptermtotooltippage 19 , span.questionaccesstooltipwithtabkey 19 , span.questionaccesstooltipwithtabkey, span.spanquestiontooltipforrightcolumnglossarytable 20 20 { 21 21 cursor: pointer; … … 43 43 , span.spanquestiontooltipforleftcolumnglossarytable:hover, span.questioncontactform7:hover 44 44 , span.questiontooltipformaxbutton:hover, span.questionlinktooltiptermtotooltippage:hover 45 , span.questionaccesstooltipwithtabkey:hover 45 , span.questionaccesstooltipwithtabkey:hover, span.spanquestiontooltipforrightcolumnglossarytable:hover 46 46 { 47 47 background-color: #21759b; … … 53 53 , div.divdisableTooltipandEnableGlossary, div.divquestiontooltipforleftcolumnglossarytable, div.tooltip6 54 54 , div.divtooltipformaxbutton, div.divlinktooltiptermtotooltippage, div.divaccesstooltipwithtabkey 55 , div.divquestiontooltipforrightcolumnglossarytable 55 56 { 56 57 text-align: left; … … 71 72 , .divdisableTooltipandEnableGlossary:before, .divquestiontooltipforleftcolumnglossarytable:before, .tooltip6:before 72 73 , .divtooltipformaxbutton:before, .divlinktooltiptermtotooltippage:before, .divaccesstooltipwithtabkey:before 74 , .divquestiontooltipforrightcolumnglossarytable:before 73 75 { 74 76 border-color: transparent #21759b transparent transparent; … … 91 93 , .divdisableTooltipandEnableGlossary p, .divquestiontooltipforleftcolumnglossarytable p, .tooltip6 p 92 94 , .divtooltipformaxbutton p, .divlinktooltiptermtotooltippage p, .divaccesstooltipwithtabkey p 95 , .divquestiontooltipcontentfontstyle p, .divquestiontooltipforrightcolumnglossarytable p 93 96 { 94 97 margin: 10px; -
wordpress-tooltips/trunk/readme.txt
r3080824 r3101347 5 5 Tags:tooltip,glossary,dictionary,woocommerce,knowledge base 6 6 Requires at least: 3.8 7 Tested up to: 6. 4.57 Tested up to: 6.5.4 8 8 Stable tag:trunk 9 9 License: GPLv3 or later … … 309 309 310 310 == Changelog == 311 = Version 9.7.9 = 312 >[How to Activate the Tooltip Effect for the Glossary’s Right Term Content Column, Supported by WordPress Tooltips Plugin 9.7.9](https://tooltips.org/how-to-activate-the-tooltip-effect-for-the-glossarys-right-term-content-column-supported-by-wordpress-tooltips-plugin-9-7-9/) 313 311 314 = Version 9.7.1 = 312 315 >[Enhanced Functionality to Enable/Disable Specific User Roles Display in User Member Directory](https://tooltips.org/enhanced-functionality-to-enable-disable-specific-user-roles-display-in-user-member-directory-with-support-from-wordpress-tooltips-pro-plus-30-9-8-wordpress-tooltips-pro-20-1-4-wordpress-tooltips-fr/) -
wordpress-tooltips/trunk/tooltips.php
r3080824 r3101347 4 4 Plugin URI: https://tooltips.org/features-of-wordpress-tooltips-plugin/ 5 5 Description: Wordpress Tooltips,You can add text,image,link,video,radio in tooltips, add tooltips in gallery. More amazing features? Do you want to customize a beautiful style for your tooltips? One Minute, Check <a href='https://tooltips.org/features-of-wordpress-tooltips-plugin/' target='_blank'> Features of WordPress Tooltips Pro</a>. 6 Version: 9.7. 16 Version: 9.7.9 7 7 Author: Tomas | <a href='https://tooltips.org/wordpress-tooltip-plugin/wordpress-tooltip-plugin-document/' target='_blank'>Docs</a> | <a href='https://tooltips.org/faq/' target='_blank'>FAQ</a> | <a href='https://tooltips.org/contact-us' target='_blank'>Premium Support</a> 8 8 Author URI: https://tooltips.org/wordpress-tooltip-plugin/wordpress-tooltips-demo/ … … 2763 2763 { 2764 2764 $tooltipforleftcolumnglossarytable = get_option("tooltipforleftcolumnglossarytable"); 2765 2765 //9.7.9 2766 $tooltipforrightcolumnglossarytable = get_option("tooltipforrightcolumnglossarytable"); 2767 2768 2766 2769 if ((empty($tooltipforleftcolumnglossarytable)) || ($tooltipforleftcolumnglossarytable == 'NO')) 2767 2770 { … … 2781 2784 } 2782 2785 } 2786 2787 //9.7.9 2788 if ((empty($tooltipforrightcolumnglossarytable)) || ($tooltipforrightcolumnglossarytable == 'NO')) 2789 { 2790 { 2791 echo '<script type="text/javascript">'; 2792 // $disabletooltipforclassandidsSingle = trim($disabletooltipforclassandidsSingle); 2793 ?> 2794 jQuery(document).ready(function () { 2795 jQuery('.tooltips_table_items .tooltips_table_content .tooltipsall').each 2796 (function() 2797 { 2798 disabletooltipforclassandidSinglei = jQuery(this).html(); 2799 jQuery(this).replaceWith(disabletooltipforclassandidSinglei); 2800 }) 2801 }) 2802 <?php 2803 echo '</script>'; 2804 } 2805 } 2806 //end 9.7.9 2783 2807 2784 2808 }
Note: See TracChangeset
for help on using the changeset viewer.