Changeset 919567
- Timestamp:
- 05/22/2014 06:45:30 PM (12 years ago)
- Location:
- image-formatr/trunk
- Files:
-
- 2 edited
-
image-formatr.php (modified) (1 diff)
-
src/class.admin.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
image-formatr/trunk/image-formatr.php
r918090 r919567 4 4 * Plugin URI: http://warriorself.com/blog/about/image-formatr/ 5 5 * Description: Formats all content images on a page / post giving them captions and popups. 6 * Version: 1.2.3 6 * Version: 1.2.3.1 7 7 * Author: Steven Almeroth 8 8 * Author URI: http://warriorself.com/sma/ -
image-formatr/trunk/src/class.admin.php
r918825 r919567 54 54 // Main settings 55 55 56 'dofx' => array( 57 'title' => 'Popup effects', 58 'desc' => 'Do you want images to popup?', 59 'html' => 'If you check this option all processed images will be wrapped in an anchor tag with the special "rel" attribute that will cause the image to popup when clicked for better viewing.', 60 'code' => '<a rel="prettyPhoto"><img/></a>', 61 ), 62 'killanc' => array( 63 'title' => 'Ignore anchors', 64 'desc' => 'Ignore any image anchors in the content we process.', 65 'code' => '<a href="ignore-me.html"><img></a> · <a href="dont-ignore-me.html"><img usemya="true"></a>', 66 'html' => array('NOTE: This option will be overridden with an image`s <code>usemya</code> attribute.'), 67 ), 56 68 'capatt' => array( 57 69 'title' => 'Caption attribute', … … 63 75 'desc' => 'The new image title (used for the mouse-over hint in most browsers).', 64 76 'code' => '<img title="'. $this->get_option('newtitle') .'">', 65 'html' => '<p>NOTE: this will be overridden by the <em>Strip title</em> option.</p>', 66 ), 67 'group' => array( 68 'title' => 'Slideshow group', 69 'desc' => 'You can organize images into groups by giving them a <code>group</code> attribute.', 70 'code' => '<img group="'. $this->get_option('group') .'">', 71 'html' => '<p>NOTE: this setting is the default group for all images <b>without</b> the <em>group</em> attribute.</p>', 77 'html' => 'NOTE: this will be overridden by the <em>Strip title</em> option.', 72 78 ), 73 79 'yankit' => array( … … 77 83 'html' => array('NOTE: this will override the <em>Title replacement</em> option.'), 78 84 ), 79 'killanc' => array(80 'title' => 'Ignore anchors',81 'desc' => 'Ignore any image anchors in the content we process.',82 'code' => '<a href="dont-ignore-me.html"><img usemya="true"></a>',83 'html' => '<p>NOTE: This option will be overridden with an image`s <code>usemya</code> attribute.</p>',84 ),85 'dofx' => array(86 'title' => 'Popup effects',87 'desc' => 'Wrap the image in a popup zoom anchor.',88 'code' => '<a rel="prettyPhoto"><img/></a>',89 ),90 85 'force' => array( 91 86 'title' => 'Force root', 92 87 'desc' => 'Force relative parent location of images to the root.', 93 'html' => " <p>Interpret <code><img src="../images/1.jpg"/></code> as <code><img src="/images/1.jpg"/></code> which helped when I changed my permalinks.</p>",88 'html' => "Interpret <code><img src="../images/1.jpg"/></code> as <code><img src="/images/1.jpg"/></code> which helped when I changed my permalinks.", 94 89 ), 95 90 … … 146 141 'desc' => 'Enter a space-separated list of classes to exclude images from processing, i.e. images with these classes will not be touched, just displayed "as-is".', 147 142 'code' => 'wp-smiley exclude-me-class excludemetoo', 148 'html' => ' <p>Note: <tt>wp-smiley</tt> is the class used by Wordpress <em>emoticons</em>.</p>',143 'html' => 'Note: <tt>wp-smiley</tt> is the class used by Wordpress <em>emoticons</em>.', 149 144 ), 150 145 'capclass' => array( … … 211 206 'title' => 'Include the social networking buttons?', 212 207 'desc' => 'Should the popup have links to Twitter Tweets and Facebook Likes?', 208 ), 209 'group' => array( 210 'title' => 'Slideshow group', 211 'desc' => 'You can organize images into groups by giving them a <code>group</code> attribute.', 212 'code' => '<img group="'. $this->get_option('group') .'">', 213 'html' => 'NOTE: this setting is the default group for all images <b>without</b> the <em>group</em> attribute.', 213 214 ), 214 215
Note: See TracChangeset
for help on using the changeset viewer.