attosoft
1f02b9683b
Fixed a conflict with [ http://wordpress.org/extend/themes/ifeature iFeature] theme.
...
* workaround for "img { height: auto; }" style
* workaround for "body { position: relative; }" style
2012-06-17 13:33:25 +00:00
attosoft
3e930e1c0c
Show "Settings reset." instead of "Settings saved." when pressing "Reset" button in options page. (using [ http://codex.wordpress.org/Function_Reference/add_settings_error add_settings_error()] function)
2012-06-06 05:06:45 +00:00
attosoft
ba80e5f0ae
Updated French translation, props JB Prévots
2012-06-04 13:16:06 +00:00
attosoft
1697c15ead
Forgot to commit at [550760]. page in postboxes.add_postbox_toggles() should be same value as $post_type in add_meta_box().
2012-05-30 15:43:16 +00:00
attosoft
27299fbfc2
Enable "Screen Options" menu to show/hide metaboxes in options page
...
Note: To enable "Screen Options" menu, some function parameters should be as follows.
* If `$menu_slug` in [http://codex.wordpress.org/Function_Reference/add_options_page add_options_page()] is 'my-unique-identifier',
* `$post_type` in [http://codex.wordpress.org/Function_Reference/add_meta_box add_meta_box()] should be '**settings_page_**my-unique-identifier'
* `$page` in [http://codex.wordpress.org/Function_Reference/do_meta_boxes do_meta_boxes()] should be same value as `$post_type` above
2012-05-30 07:18:43 +00:00
attosoft
ef5b176cec
Maintain translations
...
* Update French translation, props JB Prévots
* Add untranslated texts to all PO files
2012-05-29 04:13:55 +00:00
attosoft
3f3d457f46
Change "Gallery - Caption" item to "Image - Caption" item in "Text - Caption" option
...
* Support also Caption of an image that is not in WordPress Gallery
* Fix: Remove whitespace from both ends of Gallery Caption (regression by [545261] in v1.5)
2012-05-29 00:32:22 +00:00
attosoft
b92e74b97c
Correct broken relative links in readme.txt (see [549861])
2012-05-28 16:00:13 +00:00
attosoft
90e19c3fda
Update resources before release
...
* Update readme.txt (Support Me, FAQ, etc.)
* Update and maintain translations
* s/Default Display Style/Display Style/g
* s/Contact Me/Contact/g
* Remove attosoft.info URLs from translation files other than Japanese
* Update URLs for Support Forum, Donate
2012-05-28 15:51:16 +00:00
attosoft
4407634a08
Add About metabox to options page, and add Localization section to readme.txt
2012-05-28 15:21:35 +00:00
attosoft
8077076063
Fix: Remove a workaround code for scroll bar issue in Google Chrome. Scroll bar had blinked in older Google Chrome when opening with Zoom/Fade effect. But the workaround code is no longer necessary in newer Google Chrome. On the contrary, by the workaround code, scroll bar is hidden in newer Google Chrome when opening external URL as iframe content with Zoom/Fade effect. (See [513383] and [ http://wordpress.org/support/topic/plugin-auto-thickbox-plus-no-scroll-bar-in-chrome forum topic])
2012-05-26 01:24:09 +00:00
attosoft
46c2928b1d
Use isset() for clearing PHP Notice (Undefined index: HTTP_REFERER)
2012-05-25 15:03:46 +00:00
attosoft
9e12eef401
Refactoring PHP and JavaScript codes
2012-05-25 14:56:25 +00:00
attosoft
8b0d7200ee
Fix: Title bar does not have enough height in empty title (regression by [545287] in v1.5)
2012-05-25 14:53:13 +00:00
attosoft
be99fece52
Replace "TB_iframe=true" with "TB_iframe". ThickBox does not check a value of "TB_iframe" query in fact. So ThickBox opens as iframe even when "TB_iframe=false".
2012-05-25 14:42:22 +00:00
attosoft
c8f60368a3
Add class="thickbox" to links automatically when URL contains "TB_iframe=true" or "#TB_inline" (i.e. class="thickbox" can be omitted in iframe/ajax content)
2012-05-25 14:30:21 +00:00
attosoft
6f06cba2d9
Improve Media Uploader called from Images options.
...
* Uploaded images are shown in "Gallery" tab
* Insert a post with custom post type, uploaded images will be attached to it
* Replace 'Insert into Post' with 'Insert Image'
2012-05-25 08:58:05 +00:00
attosoft
026f83b687
Fix: tb_show() function has lost the compatibility with original ThickBox. Revert elem argument to caption in tb_show() function. (See [542694], [543162])
2012-05-24 14:24:27 +00:00
attosoft
8b2af41ca8
Fix: Speed text filed has lost focus (caret) when clicking itself in Firefox
2012-05-24 05:57:22 +00:00
attosoft
e9b395aca5
Add French (fr_FR) translations, props Jean-Bastien Prévots
2012-05-24 05:54:15 +00:00
attosoft
968aeba10e
Add "Border - WordPress Gallery" option
2012-05-24 05:17:34 +00:00
attosoft
eb0cb432fd
Separate border property options into border-width, border-style and border-color property options
2012-05-24 04:45:01 +00:00
attosoft
fbbe193e77
Update translation files for localization
2012-05-23 14:11:17 +00:00
attosoft
edff5afdcf
Add "Default Display Style - Set a different gallery-id for each WordPress Gallery" option. You can use "Gallery Images" style in WordPress Gallery even when using "Single Image" style.
2012-05-20 13:32:39 +00:00
attosoft
5d5380d4e6
Add "General - No ThickBox" option. You can specify class attribute names that do not apply ThickBox. e.g. nothickbox, no_thickbox
2012-05-20 13:23:30 +00:00
attosoft
28652e6232
Add "General - Auto ThickBox - Links with target attribute" option. class="thickbox" is not added to links with target attribute by default.
2012-05-20 13:05:06 +00:00
attosoft
bc62f4c4ba
Refine Options page
...
* "Default Display Style" option - Update control label
* "ThickBox on Text Links" option - Change from radio button to checkbox
* Page title, CSS, etc.
2012-05-20 12:56:54 +00:00
attosoft
efa4582324
Escape LF/CR/CRLF codes with ZERO WIDTH NO-BREAK SPACE (U+FEFF) in readme.txt
2012-05-18 06:15:48 +00:00
attosoft
0dc053a9ca
Update resources before release
2012-05-18 05:52:50 +00:00
attosoft
2ed7e788d0
Add Effect - !Title/Caption - Hide initially option
2012-05-18 03:51:53 +00:00
attosoft
4e9bb70e3a
Add Effect - !Title/Caption - !Zoom/Slide/Fade/None options. !Title and caption are showed/hidden by hovering the mouse over ThickBox window.
2012-05-18 00:53:13 +00:00
attosoft
461587795b
FIX: checkboxes cannot be unchecked when using Color Picker due to regression in v1.1 ([516677])
2012-05-17 12:40:39 +00:00
attosoft
ffd2d127cb
Workaround code for the height of multiline title (TODO: to be modified in the future version)
2012-05-17 08:57:10 +00:00
attosoft
ba0cfb540a
Update thickbox.min.js
2012-05-17 07:19:11 +00:00
attosoft
a87b414d29
Set svn:mime-type property to application/octet-stream in minified file
2012-05-17 07:17:34 +00:00
attosoft
5915b2f7db
Multiline (line breaks) are supported in caption (title). LF ( /
), CR ( /
) and CRLF ( /
) codes in caption (title) are replaced with <br />.
2012-05-17 07:02:34 +00:00
attosoft
ab7449c6c7
FIX: Modify the code about modal parameter in iframe/ajax content
...
* Correct the condition `!params['modal']` to `params['modal'] != 'true'`
* Use close keys in options instead of fixed key (ESC)
2012-05-17 06:14:12 +00:00
attosoft
aaede8a50b
ThickBox accepts width/height/modal parameters in showing not only iframe/ajax content but also image content
2012-05-17 05:46:01 +00:00
attosoft
fe305f2c08
!ReUpdate Dutch translations, props Michel Bats
2012-05-13 08:00:13 +00:00
attosoft
942544ff38
Add General - ThickBox Resources - !Header/Footer option. You can place ThickBox script in header/footer. If you use [ http://headjs.com/ Head JS], select "Footer" at the option.
2012-05-12 04:15:59 +00:00
attosoft
ef98ade170
trivial improvements
...
* Replace `if (tb_options)` with `jQuery(function() {})` in `<script>` output
* Change `caption` argument to `elem` in tb_show function
* Not bind `mousewheel`event handler in Gallery Images
2012-05-12 00:41:45 +00:00
attosoft
f2d0c6aa7e
Fix: anchor-utils filter does not detect an empty anchor tag (e.g. <a name="test"><a>), props Olivier Burgard. If an empty anchor tag is in front of image link, "thickbox" class cannot be added to the link then the image cannot be overlaid by click.
2012-05-11 05:03:06 +00:00
attosoft
e9c173628f
Support a gallery that contains images with same URL. ThickBox had regarded images with same URL as one image. Now ThickBox checks images with instance (element object) instead of its URL (href attribute).
2012-05-11 04:35:46 +00:00
attosoft
dc6ea9dec5
Trivial improvements on Mouse Click action. When Mouse Click action is !Prev/Next, Close link is displayed on left/right sides in a gallery that contains only one image.
2012-05-11 04:14:33 +00:00
attosoft
042c10198b
Update Dutch translations, props Michel Bats
2012-05-11 03:56:37 +00:00
attosoft
fd41e6a599
When Mouse Click action is Next or Prev/Next, not show First/Last links in a gallery that contains only one image. In Firefox, a image in the gallery cannot be opened because goFirst/goLast function is undefined.
2012-05-11 03:52:54 +00:00
attosoft
f1278d5aec
Update resources (readme.txt, PHP header)
2012-03-29 16:56:07 +00:00
attosoft
ee29c1c13c
Move <script src='thickbox.js'> tag from footer to header. Now ThickBox works in themes without calling wp_footer() function.
2012-03-29 13:59:13 +00:00
attosoft
7e6e62572a
Fix: Close/Loading image paths are incorrect when using built-in ThickBox in WordPress 3.1.4 or earlier. Declared tb_pathToImage and tb_closeImage in footer.
2012-03-29 13:06:43 +00:00
attosoft
9fdfc83976
Fix: Click event handlers are triggered by drag-moving images in WordPress 2.9.2 (jQuery 1.3.2) or earlier
...
* Event handlers are stored within array in jQuery 1.4.2 or later, and stored as object property in earlier
* event.stopImmediatePropagation() is defined in jQuery 1.3 or later
2012-03-29 04:08:06 +00:00