Minor updates on readme.txt, Settings screen and a screenshot
* readme.txt * Added "Output JS/CSS files to footer" to "Auto ThickBox Plus does not work" in FAQ * Rewrote "How to insert line feeds in title/caption" in FAQ * Settings screen * Swapped "Header/Footer" option with "Modified/Built-in ThickBox" option * Replaced "Mobile Support" with "Mobile Support (beta)" * Updated screenshot-2.jpg with more margin
This commit is contained in:
1 parent
f07a809b58
commit
424b5e6301
3 files changed
+25
-20
No files matched your search
+13
-13
@@ -72,7 +72,7 @@ class auto_thickbox_options {
|
||||
<label><input type="radio" name="auto-thickbox-plus[thickbox_style]" value="single"<?php $this->util->checked($this->options['thickbox_style'], 'single'); ?> />
|
||||
<?php $this->util->_e('Single Image'); ?></label>
|
||||
(<a href="<?php echo $this->util->plugins_url('screenshot-1.jpg'); ?>" class="thickbox-image" title="<?php $this->util->_e('Single Image'); ?>"><?php $this->util->_e('Preview'); ?></a>)
|
||||
<label><input type="radio" name="auto-thickbox-plus[thickbox_style]" value="gallery"<?php $this->util->checked($this->options['thickbox_style'], 'gallery'); ?> />
|
||||
<label class="boundary"><input type="radio" name="auto-thickbox-plus[thickbox_style]" value="gallery"<?php $this->util->checked($this->options['thickbox_style'], 'gallery'); ?> />
|
||||
<?php $this->util->_e('Gallery Images'); ?></label>
|
||||
(<a href="<?php echo $this->util->plugins_url('screenshot-2.jpg'); ?>" class="thickbox-image" title="<?php $this->util->_e('Gallery Images'); ?>" rel="gallery"><?php $this->util->_e('Preview'); ?></a>)
|
||||
</td>
|
||||
@@ -101,7 +101,7 @@ class auto_thickbox_options {
|
||||
<label><input type="checkbox" name="auto-thickbox-plus[thickbox_img]"<?php $this->util->checked($this->options['thickbox_img'], 'on'); ?> />
|
||||
<?php $this->util->_e('Image links to images'); ?> (<code><a href="image"><img src="thumbnail" /></a></code>)</label><br />
|
||||
<label><input type="checkbox" name="auto-thickbox-plus[thickbox_text]"<?php $this->util->checked($this->options['thickbox_text'], 'on'); ?> />
|
||||
<?php $this->util->_e('Text links to images'); ?> (<code><a href="image">text</a></code>)</label><br />
|
||||
<?php $this->util->_e('Text links to images'); ?> (<code><a href="image">Text</a></code>)</label><br />
|
||||
<label><input type="checkbox" name="auto-thickbox-plus[thickbox_target]"<?php $this->util->checked($this->options['thickbox_target'], 'on'); ?> />
|
||||
<?php $this->util->_e('Links with target attribute'); ?> (<code><a target="_blank"></code>)</label>
|
||||
</td>
|
||||
@@ -124,15 +124,6 @@ class auto_thickbox_options {
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><?php $this->util->_e('ThickBox Resources'); ?></th>
|
||||
<td>
|
||||
<label class="item"><input type="radio" name="auto-thickbox-plus[script_place]" value="header"<?php $this->util->checked($this->options['script_place'], 'header'); $this->util->disabled($builtin_thickbox); ?> />
|
||||
<?php $this->util->_e('Header'); ?></label>
|
||||
<label class="item"><input type="radio" name="auto-thickbox-plus[script_place]" value="footer"<?php $this->util->checked($this->options['script_place'], 'footer'); $this->util->disabled($builtin_thickbox); ?> />
|
||||
<?php $this->util->_e('Footer'); ?></label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"></th>
|
||||
<td>
|
||||
<select name="auto-thickbox-plus[thickbox_type]" onchange="disablePlaceOption(this)">
|
||||
<option value="modified"<?php selected(!$builtin_thickbox); ?>><?php $this->util->_e('Modified ThickBox'); ?></option>
|
||||
@@ -141,7 +132,16 @@ class auto_thickbox_options {
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><?php $this->util->_e('Mobile Support'); ?></th>
|
||||
<th scope="row"></th>
|
||||
<td>
|
||||
<label class="item"><input type="radio" name="auto-thickbox-plus[script_place]" value="header"<?php $this->util->checked($this->options['script_place'], 'header'); $this->util->disabled($builtin_thickbox); ?> />
|
||||
<?php $this->util->_e('Header'); ?></label>
|
||||
<label class="item"><input type="radio" name="auto-thickbox-plus[script_place]" value="footer"<?php $this->util->checked($this->options['script_place'], 'footer'); $this->util->disabled($builtin_thickbox); ?> />
|
||||
<?php $this->util->_e('Footer'); ?></label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><?php $this->util->_e('Mobile Support'); ?> (<?php $this->util->_e('beta'); ?>)</th>
|
||||
<td>
|
||||
<label class="item"><input type="radio" name="auto-thickbox-plus[mobile_support]" value="no_margin"<?php $this->util->checked($this->options['mobile_support'], 'no_margin'); ?> />
|
||||
<?php $this->util->_e('No Window Margin'); ?></label>
|
||||
@@ -941,7 +941,7 @@ class auto_thickbox_options {
|
||||
register_setting( $this->option_group, 'auto-thickbox-plus', array(&$this, 'options_callback') );
|
||||
}
|
||||
|
||||
var $checkboxes_on = array('wp_gallery', 'thickbox_img', 'thickbox_text', 'auto_resize_img', 'auto_resize_html',
|
||||
var $checkboxes_on = array('wp_gallery', 'thickbox_img', 'thickbox_text', 'auto_resize_img',
|
||||
'key_close_esc', 'key_close_enter',
|
||||
'key_prev_angle', 'key_prev_left',
|
||||
'key_next_angle', 'key_next_right',
|
||||
|
||||
+12
-7
@@ -15,7 +15,7 @@ Auto ThickBox Plus is WordPress plugin that applies [ThickBox script](http://thi
|
||||
<a href="image"><img src="thumbnail" /></a>
|
||||
<a href="image">Image Content</a>
|
||||
<a href="#TB_inline?inlineId=id">Inline Content</a>
|
||||
<a href="url?TB_iframe">iFrame Content</a>
|
||||
<a href="url?TB_iframe">iFramed Content</a>
|
||||
<a href="url" class="thickbox">AJAX Content</a>
|
||||
|
||||
= Auto ThickBox Plus Features =
|
||||
@@ -163,6 +163,7 @@ Then, perform the troubleshooting below.
|
||||
* Deactivate current theme because some themes output invalid header/footer, or load built-in ThickBox directly
|
||||
* Deactivate plugins that load built-in ThickBox directly, such as [Events Calendar](http://wordpress.org/extend/plugins/events-calendar/)
|
||||
* Deactivate plugins that optimizes JS/CSS files, such as [W3 Total Cache](http://wordpress.org/extend/plugins/w3-total-cache/), [WP Minify](http://wordpress.org/extend/plugins/wp-minify/), [CloudFlare](http://wordpress.org/extend/plugins/cloudflare/), [Head Cleaner](http://wordpress.org/extend/plugins/head-cleaner/) and [Head JS](http://headjs.com/)
|
||||
* Output JS/CSS files to footer, by selecting [General - ThickBox Resources - Footer] option in Settings screen
|
||||
* Use built-in ThickBox in WordPress instead, by selecting [General - ThickBox Resources - Built-in ThickBox] option in Settings screen
|
||||
|
||||
If the problem still persists, please send me your site URL via [support forum](http://wordpress.org/support/plugin/auto-thickbox-plus) or [contact form](http://attosoft.info/en/contact/).
|
||||
@@ -206,7 +207,7 @@ Modified ThickBox in the plugin is also available in other plugins that use buil
|
||||
1. Access Dashboard screen in WordPress
|
||||
1. Click [Settings] - [Auto ThickBox Plus] in sidebar
|
||||
|
||||
= About [Display Style] setting =
|
||||
= About [General - Display Style] setting =
|
||||
|
||||
When [Gallery Images] option is selected, the plugin displays all images on the page as one gallery. You can switch current image by clicking "Prev/Next" links without closing ThickBox window.
|
||||
|
||||
@@ -219,7 +220,7 @@ When [Single Image] option is selected, the plugin displays each images on the p
|
||||
<img src="image2_s.png" alt="image2" />
|
||||
</a>
|
||||
|
||||
= About [Auto ThickBox] setting =
|
||||
= About [General - Auto ThickBox] setting =
|
||||
|
||||
When [Text links to images] option is checked, the plugin applies ThickBox to text links to images automatically.
|
||||
|
||||
@@ -251,7 +252,11 @@ When "View" setting is as follows, only an image will be displayed without margi
|
||||
|
||||
= How to insert line feeds in title/caption =
|
||||
|
||||
Modified ThickBox supports multiline (line breaks) in title/caption. LF (`
;`/`
;`), CR (`
;`/`
;`) and CRLF (`
;
;`/`
;
;`) codes in caption/title are replaced with `<br />`.
|
||||
Modified ThickBox supports multiline (line breaks) in title/caption. The following codes in caption/title are replaced with `<br />`.
|
||||
|
||||
* LE: `
;` (dec), `
;` (hex)
|
||||
* CR: `
;` (dec), `
;` (hex)
|
||||
* CRLF: `
;
;` (dec), `
;
;` (hex)
|
||||
|
||||
<a href="image.png" title="line1
;line2
;line3">Text</a>
|
||||
|
||||
@@ -280,13 +285,13 @@ You can localize the plugin with [Poedit](http://www.poedit.net/) and "languages
|
||||
* NEW: "General - Mobile Support (beta)" setting that has "No Window Margin"/"No ThickBox" option and "Width"/"Height" option
|
||||
* NEW: "View - Margin - Window (Image/HTML)" option
|
||||
* CHANGED: Removed CSS hacks for IE6. Replaced CSS Expression with JavaScript.
|
||||
* CHANGED: ThickBox window is displayed in the center of browser when resizing or drag-moving itself
|
||||
* CHANGED: ThickBox window is displayed in the center of browser when resizing browser after resizing or drag-moving itself
|
||||
* CHANGED: Modified Settings screen
|
||||
* Added "Preview" links with ThickBox to "General - Display Style" setting
|
||||
* Defaults to "JavaScript" option instead of "WordPress Filters" option in "General - Auto ThickBox" setting, because ThickBox cannot be applied to codes output by current theme or plugins without using WordPress filters
|
||||
* Added "Image links to images" option to "General - Auto ThickBox" setting. It is useful when showing only image links with other than ThickBox.
|
||||
* Changed "Use WordPress built-in thickbox.js/css" checkbox to "Modified ThickBox / Built-in ThickBox" drop-down list in "General - ThickBox Resources"
|
||||
* CHANGED: Replaced the word "Content" with "HTML"
|
||||
* Changed "Use WordPress built-in thickbox.js/css" checkbox to "Modified/Built-in ThickBox" drop-down list in "General - ThickBox Resources"
|
||||
* Replaced the word "Content" with "HTML"
|
||||
* FIXED: Invalid positioning on some mobile browsers such as older iOS (iPhone/iPad/iPod touch) and older Android, caused by not supporting `position:fixed` style.
|
||||
* FIXED: Title/caption bar misaligns by "Resize", "Expand/Shrink" and "Scale" when using "Effect - Title/Caption" option
|
||||
* FIXED: ThickBox window is not displayed in the center of browser due to hovering title when using "Effect - Title" option
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 85 KiB After Width: | Height: | Size: 85 KiB |
Reference in new issue
Block a user