PluginProbe
Photonic Gallery & Lightbox for Flickr, SmugMug & Others / 2.41
Photonic Gallery & Lightbox for Flickr, SmugMug & Others v2.41
3.36 3.35 3.34 3.33 2.19 2.20 2.21 2.22 2.23 2.24 2.25 2.26 2.27 2.28 2.29 2.30 2.31 2.32 2.33 2.34 2.40 2.41 2.42 2.43 2.44 All 141 releases
photonic / Options / Option_Tab.php

Option_Tab.php in Photonic Gallery & Lightbox for Flickr, SmugMug & Others 2.41, at Options/Option_Tab.php

33 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 namespace Photonic_Plugin\Options;
3
4 abstract class Option_Tab {
5 var $options;
6
7 /**
8 * @return array
9 */
10 public function get_options() {
11 return $this->options;
12 }
13
14 function title_styles() {
15 $ret = [
16 "regular" => "<img src='".trailingslashit(PHOTONIC_URL).'include/images/title-regular.png'."' />Normal title display using the HTML \"title\" attribute",
17 "below" => "<img src='".trailingslashit(PHOTONIC_URL).'include/images/title-below.png'."' />Below the thumbnail (Doesn't work for Random Justified Gallery and Mosaic Layout)",
18 "tooltip" => "<img src='".trailingslashit(PHOTONIC_URL).'include/images/title-jq-tooltip.png'."' />Using a JavaScript tooltip",
19 "hover-slideup-show" => "<img src='".trailingslashit(PHOTONIC_URL).'include/images/title-slideup.png'."' />Slide up from bottom upon hover",
20 "slideup-stick" => "<img src='".trailingslashit(PHOTONIC_URL).'include/images/title-slideup.png'."' />Cover the lower portion always",
21 'none' => 'No title'
22 ];
23 return $ret;
24 }
25
26 function selection_range($min, $max) {
27 $ret = [];
28 for ($i = $min; $i <= $max; $i++) {
29 $ret[$i] = $i;
30 }
31 return $ret;
32 }
33 }