Changeset 945483
- Timestamp:
- 07/09/2014 09:41:26 AM (12 years ago)
- Location:
- modal-links
- Files:
-
- 80 added
- 3 edited
-
tags/1.7.5 (added)
-
tags/1.7.5/css (added)
-
tags/1.7.5/css/smoothness (added)
-
tags/1.7.5/css/smoothness/images (added)
-
tags/1.7.5/css/smoothness/images/animated-overlay.gif (added)
-
tags/1.7.5/css/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png (added)
-
tags/1.7.5/css/smoothness/images/ui-bg_flat_75_ffffff_40x100.png (added)
-
tags/1.7.5/css/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png (added)
-
tags/1.7.5/css/smoothness/images/ui-bg_glass_65_ffffff_1x400.png (added)
-
tags/1.7.5/css/smoothness/images/ui-bg_glass_75_dadada_1x400.png (added)
-
tags/1.7.5/css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png (added)
-
tags/1.7.5/css/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png (added)
-
tags/1.7.5/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png (added)
-
tags/1.7.5/css/smoothness/images/ui-icons_222222_256x240.png (added)
-
tags/1.7.5/css/smoothness/images/ui-icons_2e83ff_256x240.png (added)
-
tags/1.7.5/css/smoothness/images/ui-icons_454545_256x240.png (added)
-
tags/1.7.5/css/smoothness/images/ui-icons_888888_256x240.png (added)
-
tags/1.7.5/css/smoothness/images/ui-icons_cd0a0a_256x240.png (added)
-
tags/1.7.5/css/smoothness/jquery-ui-1.10.4.custom.css (added)
-
tags/1.7.5/css/smoothness/jquery-ui-1.10.4.custom.min.css (added)
-
tags/1.7.5/images (added)
-
tags/1.7.5/images/loading (added)
-
tags/1.7.5/images/loading/ajaxLoader_blue128.gif (added)
-
tags/1.7.5/images/loading/ajaxLoader_blue256.gif (added)
-
tags/1.7.5/images/loading/ajaxLoader_blue32.gif (added)
-
tags/1.7.5/images/loading/ajaxLoader_blue350.gif (added)
-
tags/1.7.5/images/loading/ajaxLoader_blue48.gif (added)
-
tags/1.7.5/images/loading/ajaxLoader_blue512.gif (added)
-
tags/1.7.5/images/loading/ajaxLoader_blue64.gif (added)
-
tags/1.7.5/images/loading/ajaxLoader_gray128.gif (added)
-
tags/1.7.5/images/loading/ajaxLoader_gray256.gif (added)
-
tags/1.7.5/images/loading/ajaxLoader_gray32.gif (added)
-
tags/1.7.5/images/loading/ajaxLoader_gray350.gif (added)
-
tags/1.7.5/images/loading/ajaxLoader_gray48.gif (added)
-
tags/1.7.5/images/loading/ajaxLoader_gray512.gif (added)
-
tags/1.7.5/images/loading/ajaxLoader_gray64.gif (added)
-
tags/1.7.5/images/loading/ajaxLoader_green128.gif (added)
-
tags/1.7.5/images/loading/ajaxLoader_green256.gif (added)
-
tags/1.7.5/images/loading/ajaxLoader_green32.gif (added)
-
tags/1.7.5/images/loading/ajaxLoader_green350.gif (added)
-
tags/1.7.5/images/loading/ajaxLoader_green48.gif (added)
-
tags/1.7.5/images/loading/ajaxLoader_green512.gif (added)
-
tags/1.7.5/images/loading/ajaxLoader_green64.gif (added)
-
tags/1.7.5/images/loading/ajaxLoader_orange128.gif (added)
-
tags/1.7.5/images/loading/ajaxLoader_orange256.gif (added)
-
tags/1.7.5/images/loading/ajaxLoader_orange32.gif (added)
-
tags/1.7.5/images/loading/ajaxLoader_orange350.gif (added)
-
tags/1.7.5/images/loading/ajaxLoader_orange48.gif (added)
-
tags/1.7.5/images/loading/ajaxLoader_orange512.gif (added)
-
tags/1.7.5/images/loading/ajaxLoader_orange64.gif (added)
-
tags/1.7.5/images/loading/ajaxLoader_red128.gif (added)
-
tags/1.7.5/images/loading/ajaxLoader_red256.gif (added)
-
tags/1.7.5/images/loading/ajaxLoader_red32.gif (added)
-
tags/1.7.5/images/loading/ajaxLoader_red350.gif (added)
-
tags/1.7.5/images/loading/ajaxLoader_red48.gif (added)
-
tags/1.7.5/images/loading/ajaxLoader_red512.gif (added)
-
tags/1.7.5/images/loading/ajaxLoader_red64.gif (added)
-
tags/1.7.5/include (added)
-
tags/1.7.5/include/modal-links-admin.php (added)
-
tags/1.7.5/include/modal-links-callbacks.php (added)
-
tags/1.7.5/include/modal-links-calls.php (added)
-
tags/1.7.5/include/modal-links-functions.php (added)
-
tags/1.7.5/include/modal-links-js.php (added)
-
tags/1.7.5/include/modal-links-scripts.php (added)
-
tags/1.7.5/include/modal-links-settings.php (added)
-
tags/1.7.5/include/modal-links-shortcode.php (added)
-
tags/1.7.5/js (added)
-
tags/1.7.5/js/modal-links-calls.js (added)
-
tags/1.7.5/js/modal-links-jquery-scoped.js (added)
-
tags/1.7.5/js/modal-links-meta-widget.js (added)
-
tags/1.7.5/js/modal-links-read-more.js (added)
-
tags/1.7.5/js/modal-links-tooltips.js (added)
-
tags/1.7.5/languages (added)
-
tags/1.7.5/languages/default.mo (added)
-
tags/1.7.5/languages/default.po (added)
-
tags/1.7.5/languages/modal_links-el_gr.mo (added)
-
tags/1.7.5/languages/modal_links-el_gr.po (added)
-
tags/1.7.5/modal-links.php (added)
-
tags/1.7.5/readme.txt (added)
-
trunk/include/modal-links-scripts.php (modified) (2 diffs)
-
trunk/js/modal-links-tooltips.js (added)
-
trunk/modal-links.php (modified) (5 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
modal-links/trunk/include/modal-links-scripts.php
r934626 r945483 35 35 class ModalLinksScripts 36 36 { 37 38 37 39 /** 38 40 * Constructor … … 164 166 } 165 167 168 if(array_key_exists('page', $_GET) === true) { 169 if ($_GET['page'] === 'modal_links') { 170 wp_enqueue_script( 171 'modal-links-tooltips', 172 plugins_url('modal-links/js/modal-links-tooltips.js'), 173 array('jquery') 174 ); 175 } 176 } 177 166 178 167 179 do_action('modalLinksLoadAdminScripts'); -
modal-links/trunk/modal-links.php
r934626 r945483 5 5 * Plugin URI: https://wordpress.org/plugins/modal-links 6 6 * Description: This is NOT just another modal plugin. Its much more. With this plugin you add modal functionalities to your wordpress. 7 * Version: 1.7. 47 * Version: 1.7.5 8 8 * Author: George Lazarou 9 9 * Author URI: http://georgelazarou.info … … 84 84 class ModalLinks 85 85 { 86 87 86 88 /** 87 89 * Constructor … … 95 97 if (is_admin() === true) { 96 98 add_filter('plugin_action_links', array($this, 'settingsLink'), 10, 2); 97 add_action('admin_footer', array($this, 'loadTooltipJs'));98 99 } 99 100 add_action('init', array($this, 'register_session')); … … 120 121 }//end loadTextdomain() 121 122 122 function register_session(){ 123 124 /** 125 * 126 * 127 * @return nothing 128 */ 129 public function register_session(){ 123 130 if( !session_id() ) 124 131 session_start(); 125 132 } 126 127 133 128 134 … … 424 430 425 431 426 /**427 * Loads jquery ui tooltip428 *429 * @return nothing430 */431 public function loadTooltipJs()432 {433 if(is_admin() === true && array_key_exists('page', $_GET) === true) {434 if ($_GET['page'] === 'modal_links') {435 echo <<<JAVASCRIPT436 437 <script type="text/javascript">438 jQuery(function(){439 440 jQuery('form[name="modalLinksForm"] input, form[name="modalLinksForm"] select')441 .tooltip({442 position: {443 my: "left center",444 at: "right center",445 }446 });447 448 });449 </script>450 451 JAVASCRIPT;452 }453 }454 455 }//end loadTooltipJs()456 457 458 432 }//end class 459 433 }//end if -
modal-links/trunk/readme.txt
r934626 r945483 6 6 Requires at least: 3.0.1 7 7 Tested up to: 3.9 8 Stable tag: 1.7. 48 Stable tag: 1.7.5 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 262 262 == Changelog == 263 263 264 = 1.7.5 = 265 Tooltips in js file. Bug fixed. 266 264 267 = 1.7.4 = 265 268 Bug fixed. … … 348 351 == Upgrade Notice == 349 352 353 = 1.7.5 = 354 Tooltips in js file. Bug fixed. 355 350 356 = 1.7.4 = 351 357 Bug fixed.
Note: See TracChangeset
for help on using the changeset viewer.