Changeset 946185
- Timestamp:
- 07/10/2014 11:49:26 AM (12 years ago)
- Location:
- modal-links
- Files:
-
- 79 added
- 6 edited
-
tags/1.7.6 (added)
-
tags/1.7.6/css (added)
-
tags/1.7.6/css/smoothness (added)
-
tags/1.7.6/css/smoothness/images (added)
-
tags/1.7.6/css/smoothness/images/animated-overlay.gif (added)
-
tags/1.7.6/css/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png (added)
-
tags/1.7.6/css/smoothness/images/ui-bg_flat_75_ffffff_40x100.png (added)
-
tags/1.7.6/css/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png (added)
-
tags/1.7.6/css/smoothness/images/ui-bg_glass_65_ffffff_1x400.png (added)
-
tags/1.7.6/css/smoothness/images/ui-bg_glass_75_dadada_1x400.png (added)
-
tags/1.7.6/css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png (added)
-
tags/1.7.6/css/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png (added)
-
tags/1.7.6/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png (added)
-
tags/1.7.6/css/smoothness/images/ui-icons_222222_256x240.png (added)
-
tags/1.7.6/css/smoothness/images/ui-icons_2e83ff_256x240.png (added)
-
tags/1.7.6/css/smoothness/images/ui-icons_454545_256x240.png (added)
-
tags/1.7.6/css/smoothness/images/ui-icons_888888_256x240.png (added)
-
tags/1.7.6/css/smoothness/images/ui-icons_cd0a0a_256x240.png (added)
-
tags/1.7.6/css/smoothness/jquery-ui-1.10.4.custom.css (added)
-
tags/1.7.6/css/smoothness/jquery-ui-1.10.4.custom.min.css (added)
-
tags/1.7.6/images (added)
-
tags/1.7.6/images/loading (added)
-
tags/1.7.6/images/loading/ajaxLoader_blue128.gif (added)
-
tags/1.7.6/images/loading/ajaxLoader_blue256.gif (added)
-
tags/1.7.6/images/loading/ajaxLoader_blue32.gif (added)
-
tags/1.7.6/images/loading/ajaxLoader_blue350.gif (added)
-
tags/1.7.6/images/loading/ajaxLoader_blue48.gif (added)
-
tags/1.7.6/images/loading/ajaxLoader_blue512.gif (added)
-
tags/1.7.6/images/loading/ajaxLoader_blue64.gif (added)
-
tags/1.7.6/images/loading/ajaxLoader_gray128.gif (added)
-
tags/1.7.6/images/loading/ajaxLoader_gray256.gif (added)
-
tags/1.7.6/images/loading/ajaxLoader_gray32.gif (added)
-
tags/1.7.6/images/loading/ajaxLoader_gray350.gif (added)
-
tags/1.7.6/images/loading/ajaxLoader_gray48.gif (added)
-
tags/1.7.6/images/loading/ajaxLoader_gray512.gif (added)
-
tags/1.7.6/images/loading/ajaxLoader_gray64.gif (added)
-
tags/1.7.6/images/loading/ajaxLoader_green128.gif (added)
-
tags/1.7.6/images/loading/ajaxLoader_green256.gif (added)
-
tags/1.7.6/images/loading/ajaxLoader_green32.gif (added)
-
tags/1.7.6/images/loading/ajaxLoader_green350.gif (added)
-
tags/1.7.6/images/loading/ajaxLoader_green48.gif (added)
-
tags/1.7.6/images/loading/ajaxLoader_green512.gif (added)
-
tags/1.7.6/images/loading/ajaxLoader_green64.gif (added)
-
tags/1.7.6/images/loading/ajaxLoader_orange128.gif (added)
-
tags/1.7.6/images/loading/ajaxLoader_orange256.gif (added)
-
tags/1.7.6/images/loading/ajaxLoader_orange32.gif (added)
-
tags/1.7.6/images/loading/ajaxLoader_orange350.gif (added)
-
tags/1.7.6/images/loading/ajaxLoader_orange48.gif (added)
-
tags/1.7.6/images/loading/ajaxLoader_orange512.gif (added)
-
tags/1.7.6/images/loading/ajaxLoader_orange64.gif (added)
-
tags/1.7.6/images/loading/ajaxLoader_red128.gif (added)
-
tags/1.7.6/images/loading/ajaxLoader_red256.gif (added)
-
tags/1.7.6/images/loading/ajaxLoader_red32.gif (added)
-
tags/1.7.6/images/loading/ajaxLoader_red350.gif (added)
-
tags/1.7.6/images/loading/ajaxLoader_red48.gif (added)
-
tags/1.7.6/images/loading/ajaxLoader_red512.gif (added)
-
tags/1.7.6/images/loading/ajaxLoader_red64.gif (added)
-
tags/1.7.6/include (added)
-
tags/1.7.6/include/modal-links-admin.php (added)
-
tags/1.7.6/include/modal-links-callbacks.php (added)
-
tags/1.7.6/include/modal-links-calls.php (added)
-
tags/1.7.6/include/modal-links-functions.php (added)
-
tags/1.7.6/include/modal-links-js.php (added)
-
tags/1.7.6/include/modal-links-scripts.php (added)
-
tags/1.7.6/include/modal-links-settings.php (added)
-
tags/1.7.6/include/modal-links-shortcode.php (added)
-
tags/1.7.6/js (added)
-
tags/1.7.6/js/modal-links-calls.js (added)
-
tags/1.7.6/js/modal-links-jquery-scoped.js (added)
-
tags/1.7.6/js/modal-links-meta-widget.js (added)
-
tags/1.7.6/js/modal-links-read-more.js (added)
-
tags/1.7.6/js/modal-links-tooltips.js (added)
-
tags/1.7.6/languages (added)
-
tags/1.7.6/languages/default.mo (added)
-
tags/1.7.6/languages/default.po (added)
-
tags/1.7.6/languages/modal_links-el_gr.mo (added)
-
tags/1.7.6/languages/modal_links-el_gr.po (added)
-
tags/1.7.6/modal-links.php (added)
-
tags/1.7.6/readme.txt (added)
-
trunk/include/modal-links-callbacks.php (modified) (1 diff)
-
trunk/include/modal-links-js.php (modified) (1 diff)
-
trunk/include/modal-links-settings.php (modified) (27 diffs)
-
trunk/js/modal-links-calls.js (modified) (1 diff)
-
trunk/modal-links.php (modified) (1 diff)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
modal-links/trunk/include/modal-links-callbacks.php
r934626 r946185 71 71 $shortcode_tags = $_SESSION['globalShortcodeTags']; 72 72 $GLOBALS['post'] = $_SESSION['globalPosts']; 73 unset($_SESSION['globalShortcodeTags']);74 unset($_SESSION['globalPosts']);73 //unset($_SESSION['globalShortcodeTags']); 74 //unset($_SESSION['globalPosts']); 75 75 //var_dump($shortcode_tags); 76 76 /*if (isset($_POST['globalShortcodeTags']) === true) { -
modal-links/trunk/include/modal-links-js.php
r934626 r946185 235 235 var modalAuthor = data.modalAuthor; 236 236 var modalContent = data.modalContent; 237 var modalTitleExtended = ''; 237 238 238 239 if (data.modalButtons && (data.modalButtons === 'false')) { -
modal-links/trunk/include/modal-links-settings.php
r933988 r946185 70 70 public function __construct() 71 71 { 72 if (is_admin() === true) { 73 add_action('admin_init', array($this, 'settings')); 74 } 72 add_action('admin_init', array($this, 'settings')); 73 75 74 $this->_modalWidth = get_option('modalLinksModalWidth'); 76 75 $this->_modalWidthType = get_option('modalLinksModalWidthType'); … … 107 106 public function settings() 108 107 { 109 // Section. 110 add_settings_section( 111 'settingsSection', 112 __('Modal Window', 'modal_links'), 113 array($this, 'settingsSectionCallback'), 114 'modal_links' 115 ); 116 117 // Section. 118 add_settings_section( 119 'extraSettingsSection', 120 __('Extra Settings', 'modal_links'), 121 array($this, 'extraSettingsSectionCallback'), 122 'modal_links' 123 ); 108 $sections = array( 109 array( 110 __('Modal Window', 'modal_links'), 111 'settingsSection', 112 ), 113 array( 114 __('Extra Settings', 'modal_links'), 115 'extraSettingsSection', 116 ), 117 ); 118 119 foreach ($sections as $section) { 120 add_settings_section( 121 $section[1], 122 $section[0], 123 array($this, $section[1].'Callback'), 124 'modal_links' 125 ); 126 } 124 127 125 128 $options = array( … … 128 131 'modalWidth', 129 132 'settingsSection', 133 'modalLinksModalWidth', 134 '', 130 135 ), 131 136 array( … … 133 138 'modalWidthType', 134 139 'settingsSection', 140 'modalLinksModalWidthType', 141 '', 135 142 ), 136 143 array( … … 138 145 'modalResponsiveWidth', 139 146 'settingsSection', 147 'modalLinksModalResponsiveWidth', 148 '', 140 149 ), 141 150 array( … … 143 152 'modalHeight', 144 153 'settingsSection', 154 'modalLinksModalHeight', 155 '', 145 156 ), 146 157 array( … … 148 159 'modalHeightType', 149 160 'settingsSection', 161 'modalLinksModalHeightType', 162 '', 150 163 ), 151 164 array( … … 153 166 'modalMaxHeight', 154 167 'settingsSection', 168 'modalLinksModalMaxHeight', 169 '', 155 170 ), 156 171 array( … … 158 173 'modalMaxHeightType', 159 174 'settingsSection', 175 'modalLinksModalMaxHeightType', 176 '', 160 177 ), 161 178 array( … … 163 180 'modalResponsiveHeight', 164 181 'settingsSection', 182 'modalLinksModalResponsiveHeight', 183 '', 165 184 ), 166 185 array( … … 168 187 'modalDraggable', 169 188 'settingsSection', 189 'modalLinksModalDraggable', 190 '', 170 191 ), 171 192 array( … … 173 194 'modalResizable', 174 195 'settingsSection', 196 'modalLinksModalResizable', 197 '', 175 198 ), 176 199 array( … … 178 201 'modalTitle', 179 202 'settingsSection', 203 'modalLinksModalTitle', 204 '', 180 205 ), 181 206 array( … … 183 208 'modalDate', 184 209 'settingsSection', 210 'modalLinksModalDate', 211 '', 185 212 ), 186 213 array( … … 188 215 'modalAuthor', 189 216 'settingsSection', 217 'modalLinksModalAuthor', 218 '', 190 219 ), 191 220 array( … … 193 222 'modalShow', 194 223 'settingsSection', 224 'modalLinksModalShow', 225 '', 195 226 ), 196 227 array( … … 198 229 'modalHide', 199 230 'settingsSection', 231 'modalLinksModalHide', 232 '', 200 233 ), 201 234 array( … … 203 236 'modalType', 204 237 'settingsSection', 238 'modalLinksModalType', 239 '', 205 240 ), 206 241 array( … … 208 243 'modalCloseIcon', 209 244 'settingsSection', 245 'modalLinksModalCloseIcon', 246 '', 210 247 ), 211 248 array( … … 213 250 'modalCloseEsc', 214 251 'settingsSection', 252 'modalLinksModalCloseEsc', 253 '', 215 254 ), 216 255 array( … … 218 257 'modalLoadingGif', 219 258 'settingsSection', 259 'modalLinksModalLoadingGif', 260 '', 220 261 ), 221 262 array( … … 223 264 'modalClass', 224 265 'settingsSection', 266 'modalLinksModalClass', 267 '', 225 268 ), 226 269 array( … … 228 271 'modalPosition', 229 272 'settingsSection', 273 'modalLinksModalPosition', 274 '', 230 275 ), 231 276 array( … … 233 278 'modalResponsivePosition', 234 279 'settingsSection', 280 'modalLinksModalResponsivePosition', 281 '', 235 282 ), 236 283 array( … … 238 285 'metaWidget', 239 286 'extraSettingsSection', 287 'modalLinksMetaWidget', 288 '', 240 289 ), 241 290 array( … … 243 292 'readMore', 244 293 'extraSettingsSection', 294 'modalLinksReadMore', 295 '', 245 296 ), 246 297 ); … … 258 309 array('label_for' => $option[1]) 259 310 ); 260 } 261 262 register_setting('modal_links', 'modalLinksModalWidth', 'intval'); 263 register_setting('modal_links', 'modalLinksModalWidthType'); 264 register_setting('modal_links', 'modalLinksModalResponsiveWidth'); 265 register_setting('modal_links', 'modalLinksModalHeight', 'intval'); 266 register_setting('modal_links', 'modalLinksModalHeightType'); 267 register_setting('modal_links', 'modalLinksModalMaxHeight', 'intval'); 268 register_setting('modal_links', 'modalLinksModalMaxHeightType'); 269 register_setting('modal_links', 'modalLinksModalResponsiveHeight'); 270 register_setting('modal_links', 'modalLinksModalDraggable'); 271 register_setting('modal_links', 'modalLinksModalResizable'); 272 register_setting('modal_links', 'modalLinksModalTitle'); 273 register_setting('modal_links', 'modalLinksModalDate'); 274 register_setting('modal_links', 'modalLinksModalAuthor'); 275 register_setting('modal_links', 'modalLinksModalShow'); 276 register_setting('modal_links', 'modalLinksModalHide'); 277 register_setting('modal_links', 'modalLinksModalType'); 278 register_setting('modal_links', 'modalLinksModalCloseIcon'); 279 register_setting('modal_links', 'modalLinksModalCloseEsc'); 280 register_setting('modal_links', 'modalLinksModalLoadingGif'); 281 register_setting('modal_links', 'modalLinksModalClass'); 282 register_setting('modal_links', 'modalLinksModalPosition'); 283 register_setting('modal_links', 'modalLinksModalResponsivePosition'); 284 register_setting('modal_links', 'modalLinksMetaWidget'); 285 register_setting('modal_links', 'modalLinksReadMore'); 311 register_setting('modal_links', $option[3], $option[4]); 312 } 286 313 287 314 }//end settings() -
modal-links/trunk/js/modal-links-calls.js
r933988 r946185 13 13 } 14 14 15 function modalLinksGetPostCall(adminAjaxUrl, data, callback)15 var modalLinksGetPostCall = function(adminAjaxUrl, data, callback) 16 16 { 17 17 var response; -
modal-links/trunk/modal-links.php
r945483 r946185 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. 57 * Version: 1.7.6 8 8 * Author: George Lazarou 9 9 * Author URI: http://georgelazarou.info -
modal-links/trunk/readme.txt
r945483 r946185 6 6 Requires at least: 3.0.1 7 7 Tested up to: 3.9 8 Stable tag: 1.7. 58 Stable tag: 1.7.6 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.6 = 265 Bug fixed. 266 264 267 = 1.7.5 = 265 268 Tooltips in js file. Bug fixed. … … 351 354 == Upgrade Notice == 352 355 356 = 1.7.6 = 357 Bug fixed. 358 353 359 = 1.7.5 = 354 360 Tooltips in js file. Bug fixed.
Note: See TracChangeset
for help on using the changeset viewer.