Changeset 917473
- Timestamp:
- 05/19/2014 09:32:12 PM (12 years ago)
- Location:
- image-formatr/trunk/src
- Files:
-
- 3 edited
-
class.admin.php (modified) (1 diff)
-
class.base.php (modified) (1 diff)
-
class.formatr.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
image-formatr/trunk/src/class.admin.php
r917471 r917473 444 444 445 445 // Add settings link on plugin page 446 function set_link($links) { 447 $settings_link = '<a href="options-general.php?page=class.admin.php">Settings</a>'; 448 array_push($links, $settings_link); 449 return $links; 446 function set_link($links) { 447 $settings_link = '<a href="options-general.php?page=class.admin.php">Settings</a>'; 448 array_push($links, $settings_link); 449 return $links; 450 450 } 451 451 -
image-formatr/trunk/src/class.base.php
r917471 r917473 114 114 <script type="text/javascript" charset="utf-8"> 115 115 jQuery(document).ready(function(){ 116 jQuery(" [data-pretty-photo]").prettyPhoto({116 jQuery("a[rel^='prettyPhoto']").prettyPhoto({ 117 117 $social_tools 118 118 theme: '{$this->get_option('pptheme')}', -
image-formatr/trunk/src/class.formatr.php
r917471 r917473 239 239 * 240 240 * [alt] => IMG_4308 241 * [asis] => 241 * [asis] => 242 242 * [class] => attachment-thumbnail 243 * [flickr] => 243 * [flickr] => 244 244 * [group] => main 245 245 * [height] => 150 246 * [hint] => 247 * [id] => 248 * [link] => 249 * [nocap] => 250 * [nofx] => 251 * [page] => 246 * [hint] => 247 * [id] => 248 * [link] => 249 * [nocap] => 250 * [nofx] => 251 * [page] => 252 252 * [src] => /wp-content/uploads/2014/05/IMG_4308-150x150.jpg 253 * [thumb] => 254 * [title] => 255 * [usemya] => 256 * [usemysize] => 253 * [thumb] => 254 * [title] => 255 * [usemya] => 256 * [usemysize] => 257 257 * [width] => 150 258 258 * [anchor] => <a href='/wp-content/uploads/2014/05/IMG_4308.jpg'> 259 * [none] => 259 * [none] => 260 260 * 261 261 * @param array $param The image attributes/parameters as an associative array … … 349 349 if ($this->get_option('dofx')) 350 350 $effect = <<< EFFECT 351 data-pretty-photo="prettyPhoto[{$param['group']}]"351 rel="prettyPhoto[{$param['group']}]" 352 352 EFFECT; 353 353 if ($param['nofx'])
Note: See TracChangeset
for help on using the changeset viewer.