Version Description
- ADD: Navigate between images in overlay
- IMPROVE: Ability to hide wp_head/wp_footer notifications in admin
- IMPROVE: HTML validation
- IMPROVE: WordPress 4.1 compatibility
- FIX: Remove unnecessary flush()
Download this release
Release Info
Developer | contrid |
Plugin | Slideshow Gallery |
Version | 1.5.2 |
Comparing to | |
See all releases |
Code changes from version 1.5.1 to 1.5.2
- css/admin.css +3 -3
- helpers/html.php +12 -0
- js/gallery.js +8 -4
- readme.txt +11 -2
- slideshow-gallery-plugin.php +7 -9
- slideshow-gallery.php +33 -6
- views/admin/metaboxes/settings-styles.php +8 -0
- views/default/css.php +1 -1
- views/default/gallery.php +35 -18
css/admin.css
CHANGED
@@ -19,8 +19,8 @@
|
|
19 |
font-style: normal;
|
20 |
}
|
21 |
|
22 |
-
.slideshow-icon-
|
23 |
-
|
24 |
}
|
25 |
|
26 |
.slideshow-icon-delete:before {
|
@@ -28,7 +28,7 @@
|
|
28 |
content: "\f158";
|
29 |
font-size: 20px;
|
30 |
vertical-align: middle;
|
31 |
-
float: right
|
32 |
}
|
33 |
|
34 |
.slideshow .ui-slider {
|
19 |
font-style: normal;
|
20 |
}
|
21 |
|
22 |
+
.slideshow-icon-delete {
|
23 |
+
text-decoration: none !important;
|
24 |
}
|
25 |
|
26 |
.slideshow-icon-delete:before {
|
28 |
content: "\f158";
|
29 |
font-size: 20px;
|
30 |
vertical-align: middle;
|
31 |
+
/*float: right;*/
|
32 |
}
|
33 |
|
34 |
.slideshow .ui-slider {
|
helpers/html.php
CHANGED
@@ -23,6 +23,18 @@ class GalleryHtmlHelper extends GalleryPlugin {
|
|
23 |
}
|
24 |
}
|
25 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
public static function uploads_path() {
|
27 |
if ($upload_dir = wp_upload_dir()) {
|
28 |
return str_replace("\\", "/", $upload_dir['basedir']);
|
23 |
}
|
24 |
}
|
25 |
|
26 |
+
function is_image($filename = null) {
|
27 |
+
if (!empty($filename)) {
|
28 |
+
if ($filetype = wp_check_filetype($filename)) {
|
29 |
+
if (!empty($filetype['ext']) && ($filetype['ext'] == "bmp" || $filetype['ext'] == "png" || $filetype['ext'] == "jpg" || $filetype['ext'] == "jpeg")) {
|
30 |
+
return true;
|
31 |
+
}
|
32 |
+
}
|
33 |
+
}
|
34 |
+
|
35 |
+
return false;
|
36 |
+
}
|
37 |
+
|
38 |
public static function uploads_path() {
|
39 |
if ($upload_dir = wp_upload_dir()) {
|
40 |
return str_replace("\\", "/", $upload_dir['basedir']);
|
js/gallery.js
CHANGED
@@ -16,7 +16,7 @@ TINY.slideshow=function(n){
|
|
16 |
|
17 |
TINY.slideshow.prototype={
|
18 |
init:function(s,z,b,f,q){
|
19 |
-
s=tid(s);
|
20 |
var m= tag('li',s), i=0, w=0;
|
21 |
this.l=m.length;
|
22 |
this.q=tid(q);
|
@@ -215,14 +215,18 @@ TINY.slideshow.prototype={
|
|
215 |
var baseURL = this.a[s].l;
|
216 |
var urlString = /\.jpg$|\.jpeg$|\.png$|\.gif$|\.bmp$/;
|
217 |
var urlType = baseURL.toLowerCase().match(urlString);
|
|
|
218 |
|
219 |
if (this.imagesthickbox == "true" && (urlType == '.jpg' || urlType == '.jpeg' || urlType == '.png' || urlType == '.gif' || urlType == '.bmp')) {
|
220 |
-
this.q.onclick = new Function('jQuery.colorbox({href:"' + this.a[s].l + '",maxWidth:"90%",maxHeight:"90%",title:"' + this.a[s].t + '"})');
|
|
|
|
|
|
|
221 |
} else {
|
222 |
-
this.q.
|
|
|
223 |
}
|
224 |
|
225 |
-
this.q.onmouseover = new Function('this.className="' + this.linkclass + '"');
|
226 |
this.q.onmouseout = new Function('this.className=""');
|
227 |
this.q.style.cursor = 'pointer';
|
228 |
}else{
|
16 |
|
17 |
TINY.slideshow.prototype={
|
18 |
init:function(s,z,b,f,q){
|
19 |
+
this.s=s=tid(s);
|
20 |
var m= tag('li',s), i=0, w=0;
|
21 |
this.l=m.length;
|
22 |
this.q=tid(q);
|
215 |
var baseURL = this.a[s].l;
|
216 |
var urlString = /\.jpg$|\.jpeg$|\.png$|\.gif$|\.bmp$/;
|
217 |
var urlType = baseURL.toLowerCase().match(urlString);
|
218 |
+
var unique= jQuery(this.s).attr('id');
|
219 |
|
220 |
if (this.imagesthickbox == "true" && (urlType == '.jpg' || urlType == '.jpeg' || urlType == '.png' || urlType == '.gif' || urlType == '.bmp')) {
|
221 |
+
//this.q.onclick = new Function('jQuery.colorbox({href:"' + this.a[s].l + '",maxWidth:"90%",maxHeight:"90%",title:"' + this.a[s].t + '"})');
|
222 |
+
this.q.onmouseover = new Function('this.className="' + this.linkclass + '"; this.href = "' + this.a[s].l + '";');
|
223 |
+
var uniqueimglinkid = jQuery('a[href="' + this.a[s].l + '"]').attr('id');
|
224 |
+
this.q.onclick = new Function('jQuery(".colorbox").colorbox({rel:"' + unique + 'overlay", maxWidth:"90%", maxHeight:"90%"}); jQuery("#' + uniqueimglinkid + '").click(); return false;');
|
225 |
} else {
|
226 |
+
this.q.onmouseover = new Function('this.className="' + this.linkclass + '";');
|
227 |
+
this.q.onclick = new Function('window.open("' + this.a[s].l + '","' + this.a[s].tg + '"); return false;');
|
228 |
}
|
229 |
|
|
|
230 |
this.q.onmouseout = new Function('this.className=""');
|
231 |
this.q.style.cursor = 'pointer';
|
232 |
}else{
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: contrid
|
|
3 |
Donate link: http://tribulant.com/
|
4 |
Tags: wordpress plugins, wordpress slideshow gallery, slides, slideshow, image gallery, images, gallery, featured content, content gallery, javascript, javascript slideshow, slideshow gallery
|
5 |
Requires at least: 3.1
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 1.5.
|
8 |
|
9 |
Feature content in a JavaScript powered slideshow gallery showcase on your WordPress website
|
10 |
|
@@ -129,6 +129,8 @@ Thank you to these wonderful people who contributed to translating the Slideshow
|
|
129 |
* Afrikaans (af_ZA) by <a href="http://tribulant.com">Antonie Potgieter | Tribulant Software</a>
|
130 |
* Slovak (sk_SK) by Branco Radenovich
|
131 |
|
|
|
|
|
132 |
== Installation ==
|
133 |
|
134 |
Installing the WordPress slideshow gallery plugin is very easy. Simply follow the steps below.
|
@@ -173,6 +175,13 @@ There is an "Images Tester" utility under Slideshow > Configuration on the right
|
|
173 |
|
174 |
== Changelog ==
|
175 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
176 |
= 1.5.1 =
|
177 |
* ADD: Setting to output Javascript per slideshow or globally in footer
|
178 |
* ADD: Detection of wp_head/wp_footer functions in theme which are required
|
3 |
Donate link: http://tribulant.com/
|
4 |
Tags: wordpress plugins, wordpress slideshow gallery, slides, slideshow, image gallery, images, gallery, featured content, content gallery, javascript, javascript slideshow, slideshow gallery
|
5 |
Requires at least: 3.1
|
6 |
+
Tested up to: 4.1
|
7 |
+
Stable tag: 1.5.2
|
8 |
|
9 |
Feature content in a JavaScript powered slideshow gallery showcase on your WordPress website
|
10 |
|
129 |
* Afrikaans (af_ZA) by <a href="http://tribulant.com">Antonie Potgieter | Tribulant Software</a>
|
130 |
* Slovak (sk_SK) by Branco Radenovich
|
131 |
|
132 |
+
<a href="http://tribulant.com/support/">Contact us</a> to submit your language file and be mentioned here!
|
133 |
+
|
134 |
== Installation ==
|
135 |
|
136 |
Installing the WordPress slideshow gallery plugin is very easy. Simply follow the steps below.
|
175 |
|
176 |
== Changelog ==
|
177 |
|
178 |
+
= 1.5.2 =
|
179 |
+
* ADD: Navigate between images in overlay
|
180 |
+
* IMPROVE: Ability to hide wp_head/wp_footer notifications in admin
|
181 |
+
* IMPROVE: HTML validation
|
182 |
+
* IMPROVE: WordPress 4.1 compatibility
|
183 |
+
* FIX: Remove unnecessary flush()
|
184 |
+
|
185 |
= 1.5.1 =
|
186 |
* ADD: Setting to output Javascript per slideshow or globally in footer
|
187 |
* ADD: Detection of wp_head/wp_footer functions in theme which are required
|
slideshow-gallery-plugin.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
class GalleryPlugin {
|
4 |
|
5 |
-
var $version = '1.5.
|
6 |
var $plugin_name;
|
7 |
var $plugin_base;
|
8 |
var $pre = 'Gallery';
|
@@ -150,13 +150,13 @@ class GalleryPlugin {
|
|
150 |
$version = "1.4.8";
|
151 |
}
|
152 |
|
153 |
-
if (version_compare($cur_version, "1.5.
|
154 |
$this -> initialize_options();
|
155 |
|
156 |
$query = "ALTER TABLE `" . $this -> Slide -> table . "` CHANGE `type` `type` ENUM('media','file','url') NOT NULL DEFAULT 'media'";
|
157 |
$wpdb -> query($query);
|
158 |
|
159 |
-
$version = "1.5.
|
160 |
}
|
161 |
|
162 |
//the current version is older.
|
@@ -183,6 +183,7 @@ class GalleryPlugin {
|
|
183 |
'resizeimages' => "Y",
|
184 |
);
|
185 |
|
|
|
186 |
$this -> add_option('resizeimagescrop', "Y");
|
187 |
$this -> update_option('imagespath', $this -> Html -> uploads_url() . '/' . $this -> plugin_name . '/');
|
188 |
$this -> add_option('styles', $styles);
|
@@ -216,8 +217,8 @@ class GalleryPlugin {
|
|
216 |
wp_schedule_single_event(strtotime("+14 days"), 'slideshow_ratereviewhook', array(14));
|
217 |
wp_schedule_single_event(strtotime("+30 days"), 'slideshow_ratereviewhook', array(30));
|
218 |
wp_schedule_single_event(strtotime("+60 days"), 'slideshow_ratereviewhook', array(60));
|
219 |
-
wp_schedule_single_event(strtotime("+
|
220 |
-
wp_schedule_single_event(strtotime("+
|
221 |
$this -> update_option('ratereview_scheduled', true);
|
222 |
}
|
223 |
|
@@ -319,8 +320,6 @@ class GalleryPlugin {
|
|
319 |
</script>
|
320 |
|
321 |
<?php
|
322 |
-
|
323 |
-
flush();
|
324 |
}
|
325 |
|
326 |
function paginate($model = null, $fields = '*', $sub = null, $conditions = null, $searchterm = null, $per_page = 10, $order = array('modified', "DESC")) {
|
@@ -489,7 +488,7 @@ class GalleryPlugin {
|
|
489 |
|
490 |
foreach ($styles as $skey => $sval) {
|
491 |
$css_url .= $skey . '=' . urlencode($sval);
|
492 |
-
if ($s < count($styles)) { $css_url .= '&'; }
|
493 |
$s++;
|
494 |
}
|
495 |
}
|
@@ -867,7 +866,6 @@ class GalleryPlugin {
|
|
867 |
$data = ob_get_clean();
|
868 |
return $data;
|
869 |
} else {
|
870 |
-
flush();
|
871 |
return true;
|
872 |
}
|
873 |
}
|
2 |
|
3 |
class GalleryPlugin {
|
4 |
|
5 |
+
var $version = '1.5.2';
|
6 |
var $plugin_name;
|
7 |
var $plugin_base;
|
8 |
var $pre = 'Gallery';
|
150 |
$version = "1.4.8";
|
151 |
}
|
152 |
|
153 |
+
if (version_compare($cur_version, "1.5.2") < 0) {
|
154 |
$this -> initialize_options();
|
155 |
|
156 |
$query = "ALTER TABLE `" . $this -> Slide -> table . "` CHANGE `type` `type` ENUM('media','file','url') NOT NULL DEFAULT 'media'";
|
157 |
$wpdb -> query($query);
|
158 |
|
159 |
+
$version = "1.5.2";
|
160 |
}
|
161 |
|
162 |
//the current version is older.
|
183 |
'resizeimages' => "Y",
|
184 |
);
|
185 |
|
186 |
+
$this -> add_option('existing', 1);
|
187 |
$this -> add_option('resizeimagescrop', "Y");
|
188 |
$this -> update_option('imagespath', $this -> Html -> uploads_url() . '/' . $this -> plugin_name . '/');
|
189 |
$this -> add_option('styles', $styles);
|
217 |
wp_schedule_single_event(strtotime("+14 days"), 'slideshow_ratereviewhook', array(14));
|
218 |
wp_schedule_single_event(strtotime("+30 days"), 'slideshow_ratereviewhook', array(30));
|
219 |
wp_schedule_single_event(strtotime("+60 days"), 'slideshow_ratereviewhook', array(60));
|
220 |
+
wp_schedule_single_event(strtotime("+180 days"), 'slideshow_ratereviewhook', array(180));
|
221 |
+
wp_schedule_single_event(strtotime("+360 days"), 'slideshow_ratereviewhook', array(360));
|
222 |
$this -> update_option('ratereview_scheduled', true);
|
223 |
}
|
224 |
|
320 |
</script>
|
321 |
|
322 |
<?php
|
|
|
|
|
323 |
}
|
324 |
|
325 |
function paginate($model = null, $fields = '*', $sub = null, $conditions = null, $searchterm = null, $per_page = 10, $order = array('modified', "DESC")) {
|
488 |
|
489 |
foreach ($styles as $skey => $sval) {
|
490 |
$css_url .= $skey . '=' . urlencode($sval);
|
491 |
+
if ($s < count($styles)) { $css_url .= '&'; }
|
492 |
$s++;
|
493 |
}
|
494 |
}
|
866 |
$data = ob_get_clean();
|
867 |
return $data;
|
868 |
} else {
|
|
|
869 |
return true;
|
870 |
}
|
871 |
}
|
slideshow-gallery.php
CHANGED
@@ -6,7 +6,7 @@ Plugin URI: http://tribulant.com/plugins/view/13/wordpress-slideshow-gallery
|
|
6 |
Author: Tribulant Software
|
7 |
Author URI: http://tribulant.com
|
8 |
Description: Feature content in a JavaScript powered slideshow gallery showcase on your WordPress website. The slideshow is flexible and all aspects can easily be configured. Embedding or hardcoding the slideshow gallery is a breeze. To embed into a post/page, simply insert <code>[tribulant_slideshow]</code> into its content with an optional <code>post_id</code> parameter. To hardcode into any PHP file of your WordPress theme, simply use <code><?php if (function_exists('slideshow')) { slideshow($output = true, $post_id = false, $gallery_id = false, $params = array()); } ?></code>.
|
9 |
-
Version: 1.5.
|
10 |
License: GNU General Public License v2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
Tags: slideshow gallery, slideshow, gallery, slider, jquery, bfithumb, galleries, photos, images
|
@@ -94,8 +94,9 @@ if (!class_exists('Gallery')) {
|
|
94 |
}
|
95 |
|
96 |
function wp_head() {
|
97 |
-
global $slideshow_javascript;
|
98 |
$slideshow_javascript = array();
|
|
|
99 |
|
100 |
if (!empty($_GET['test-head'])) {
|
101 |
echo '<!-- wp_head -->';
|
@@ -103,7 +104,7 @@ if (!class_exists('Gallery')) {
|
|
103 |
}
|
104 |
|
105 |
function wp_footer() {
|
106 |
-
global $slideshow_javascript;
|
107 |
$jsoutput = $this -> get_option('jsoutput');
|
108 |
|
109 |
if (!empty($slideshow_javascript)) {
|
@@ -118,6 +119,18 @@ if (!class_exists('Gallery')) {
|
|
118 |
}
|
119 |
}
|
120 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
121 |
if (!empty($_GET['test-footer'])) {
|
122 |
echo '<!-- wp_footer -->';
|
123 |
}
|
@@ -146,8 +159,8 @@ if (!class_exists('Gallery')) {
|
|
146 |
|
147 |
function admin_head_gallery_settings() {
|
148 |
add_meta_box('submitdiv', __('Save Settings', $this -> plugin_name), array($this -> Metabox, "settings_submit"), $this -> menus['slideshow-settings'], 'side', 'core');
|
149 |
-
add_meta_box('aboutdiv', __('About This Plugin', $this -> plugin_name) . $this -> Html -> help(__('More about this plugin and the creators of it', $this -> plugin_name)), array($this -> Metabox, "settings_about"), $this -> menus['slideshow-settings'], 'side', 'core');
|
150 |
add_meta_box('pluginsdiv', __('Recommended Plugin', $this -> plugin_name), array($this -> Metabox, "settings_plugins"), $this -> menus['slideshow-settings'], 'side', 'core');
|
|
|
151 |
add_meta_box('generaldiv', __('General Settings', $this -> plugin_name) . $this -> Html -> help(__('General configuration settings for the inner workings and some default behaviours', $this -> plugin_name)), array($this -> Metabox, "settings_general"), $this -> menus['slideshow-settings'], 'normal', 'core');
|
152 |
add_meta_box('linksimagesdiv', __('Links & Images Overlay', $this -> plugin_name) . $this -> Html -> help(__('Configure the way that slides with links are opened', $this -> plugin_name)), array($this -> Metabox, "settings_linksimages"), $this -> menus['slideshow-settings'], 'normal', 'core');
|
153 |
add_meta_box('stylesdiv', __('Appearance & Styles', $this -> plugin_name) . $this -> Html -> help(__('Change the way the slideshows look so that it suits your needs', $this -> plugin_name)), array($this -> Metabox, "settings_styles"), $this -> menus['slideshow-settings'], 'normal', 'core');
|
@@ -185,13 +198,21 @@ if (!class_exists('Gallery')) {
|
|
185 |
if ($response = wp_remote_request($url)) {
|
186 |
if (!is_wp_error($response)) {
|
187 |
$html = $response['body'];
|
|
|
|
|
188 |
|
189 |
if (!strstr($html, '<!-- wp_head -->')) {
|
190 |
-
|
|
|
|
|
|
|
191 |
}
|
192 |
|
193 |
if (!strstr($html, '<!-- wp_footer -->')) {
|
194 |
-
|
|
|
|
|
|
|
195 |
}
|
196 |
} else {
|
197 |
$error_string = $response -> get_error_message();
|
@@ -761,6 +782,12 @@ if (!class_exists('Gallery')) {
|
|
761 |
$this -> delete_option('showmessage_ratereview');
|
762 |
$this -> redirect($this -> referer);
|
763 |
break;
|
|
|
|
|
|
|
|
|
|
|
|
|
764 |
}
|
765 |
}
|
766 |
break;
|
6 |
Author: Tribulant Software
|
7 |
Author URI: http://tribulant.com
|
8 |
Description: Feature content in a JavaScript powered slideshow gallery showcase on your WordPress website. The slideshow is flexible and all aspects can easily be configured. Embedding or hardcoding the slideshow gallery is a breeze. To embed into a post/page, simply insert <code>[tribulant_slideshow]</code> into its content with an optional <code>post_id</code> parameter. To hardcode into any PHP file of your WordPress theme, simply use <code><?php if (function_exists('slideshow')) { slideshow($output = true, $post_id = false, $gallery_id = false, $params = array()); } ?></code>.
|
9 |
+
Version: 1.5.2
|
10 |
License: GNU General Public License v2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
Tags: slideshow gallery, slideshow, gallery, slider, jquery, bfithumb, galleries, photos, images
|
94 |
}
|
95 |
|
96 |
function wp_head() {
|
97 |
+
global $slideshow_javascript, $slideshow_css;
|
98 |
$slideshow_javascript = array();
|
99 |
+
$slideshow_css = array();
|
100 |
|
101 |
if (!empty($_GET['test-head'])) {
|
102 |
echo '<!-- wp_head -->';
|
104 |
}
|
105 |
|
106 |
function wp_footer() {
|
107 |
+
global $slideshow_javascript, $slideshow_css;
|
108 |
$jsoutput = $this -> get_option('jsoutput');
|
109 |
|
110 |
if (!empty($slideshow_javascript)) {
|
119 |
}
|
120 |
}
|
121 |
|
122 |
+
if (!empty($slideshow_css)) {
|
123 |
+
if (!empty($jsoutput) && $jsoutput == "footerglobal") {
|
124 |
+
?><!-- Slideshow Gallery CSS BEG --><?php
|
125 |
+
|
126 |
+
foreach ($slideshow_css as $css) {
|
127 |
+
echo stripslashes($css);
|
128 |
+
}
|
129 |
+
|
130 |
+
?><!-- Slideshow Gallery CSS END --><?php
|
131 |
+
}
|
132 |
+
}
|
133 |
+
|
134 |
if (!empty($_GET['test-footer'])) {
|
135 |
echo '<!-- wp_footer -->';
|
136 |
}
|
159 |
|
160 |
function admin_head_gallery_settings() {
|
161 |
add_meta_box('submitdiv', __('Save Settings', $this -> plugin_name), array($this -> Metabox, "settings_submit"), $this -> menus['slideshow-settings'], 'side', 'core');
|
|
|
162 |
add_meta_box('pluginsdiv', __('Recommended Plugin', $this -> plugin_name), array($this -> Metabox, "settings_plugins"), $this -> menus['slideshow-settings'], 'side', 'core');
|
163 |
+
add_meta_box('aboutdiv', __('About This Plugin', $this -> plugin_name) . $this -> Html -> help(__('More about this plugin and the creators of it', $this -> plugin_name)), array($this -> Metabox, "settings_about"), $this -> menus['slideshow-settings'], 'side', 'core');
|
164 |
add_meta_box('generaldiv', __('General Settings', $this -> plugin_name) . $this -> Html -> help(__('General configuration settings for the inner workings and some default behaviours', $this -> plugin_name)), array($this -> Metabox, "settings_general"), $this -> menus['slideshow-settings'], 'normal', 'core');
|
165 |
add_meta_box('linksimagesdiv', __('Links & Images Overlay', $this -> plugin_name) . $this -> Html -> help(__('Configure the way that slides with links are opened', $this -> plugin_name)), array($this -> Metabox, "settings_linksimages"), $this -> menus['slideshow-settings'], 'normal', 'core');
|
166 |
add_meta_box('stylesdiv', __('Appearance & Styles', $this -> plugin_name) . $this -> Html -> help(__('Change the way the slideshows look so that it suits your needs', $this -> plugin_name)), array($this -> Metabox, "settings_styles"), $this -> menus['slideshow-settings'], 'normal', 'core');
|
198 |
if ($response = wp_remote_request($url)) {
|
199 |
if (!is_wp_error($response)) {
|
200 |
$html = $response['body'];
|
201 |
+
$showmessage_wphead = $this -> get_option('showmessage_wphead');
|
202 |
+
$showmessage_wpfoot = $this -> get_option('showmessage_wpfoot');
|
203 |
|
204 |
if (!strstr($html, '<!-- wp_head -->')) {
|
205 |
+
if (empty($showmessage_wphead) || (!empty($showmessage_wphead) && $showmessage_wphead != "hidden")) {
|
206 |
+
$this -> update_option('showmessage_wphead', 1);
|
207 |
+
$this -> render_err(sprintf(__('Slideshow Gallery: It seems like your theme is missing the wp_head() function. See %s. %s', $this -> plugin_name), '<a href="http://codex.wordpress.org/Function_Reference/wp_head" target="_blank">' . __('documentation', $this -> plugin_name) . '</a>', '<a href="' . admin_url('admin.php?page=' . $this -> sections -> settings . '&slideshow_method=hidemessage&message=wphead') . '" class="slideshow-icon-delete"></a>'));
|
208 |
+
}
|
209 |
}
|
210 |
|
211 |
if (!strstr($html, '<!-- wp_footer -->')) {
|
212 |
+
if (empty($showmessage_wpfoot) || (!empty($showmessage_wpfoot) && $showmessage_wpfoot != "hidden")) {
|
213 |
+
$this -> update_option('showmessage_wpfoot', 1);
|
214 |
+
$this -> render_err(sprintf(__('Slideshow Gallery: It seems like your theme is missing the wp_footer() function. See %s . %s', $this -> plugin_name), '<a href="http://codex.wordpress.org/Function_Reference/wp_footer" target="_blank">' . __('documentation', $this -> plugin_name) . '</a>', '<a href="' . admin_url('admin.php?page=' . $this -> sections -> settings . '&slideshow_method=hidemessage&message=wpfoot') . '" class="slideshow-icon-delete"></a>'));
|
215 |
+
}
|
216 |
}
|
217 |
} else {
|
218 |
$error_string = $response -> get_error_message();
|
782 |
$this -> delete_option('showmessage_ratereview');
|
783 |
$this -> redirect($this -> referer);
|
784 |
break;
|
785 |
+
case 'wphead' :
|
786 |
+
case 'wpfoot' :
|
787 |
+
$this -> update_option('showmessage_wphead', 'hidden');
|
788 |
+
$this -> update_option('showmessage_wpfoot', 'hidden');
|
789 |
+
$this -> redirect($this -> referer);
|
790 |
+
break;
|
791 |
}
|
792 |
}
|
793 |
break;
|
views/admin/metaboxes/settings-styles.php
CHANGED
@@ -41,6 +41,14 @@ $resizeimagescrop = $this -> get_option('resizeimagescrop');
|
|
41 |
</tbody>
|
42 |
</table>
|
43 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
<div id="layout_responsive_div" style="display:<?php echo (!empty($styles['layout']) && $styles['layout'] == "responsive") ? 'block' : 'none'; ?>;">
|
45 |
<table class="form-table">
|
46 |
<tbody>
|
41 |
</tbody>
|
42 |
</table>
|
43 |
|
44 |
+
<div id="autoheight_div" style="display:<?php echo (!empty($autoheight)) ? 'block' : ''; ?>;">
|
45 |
+
<table class="form-table">
|
46 |
+
<tbody>
|
47 |
+
|
48 |
+
</tbody>
|
49 |
+
</table>
|
50 |
+
</div>
|
51 |
+
|
52 |
<div id="layout_responsive_div" style="display:<?php echo (!empty($styles['layout']) && $styles['layout'] == "responsive") ? 'block' : 'none'; ?>;">
|
53 |
<table class="form-table">
|
54 |
<tbody>
|
views/default/css.php
CHANGED
@@ -20,7 +20,7 @@ $unique = $styles['unique'];
|
|
20 |
#<?php echo $styles['wrapperid']; ?> #information<?php echo $unique; ?> { text-align:left; font-family:Verdana, Arial, Helvetica, sans-serif !important; position:absolute; bottom:0; width:<?php echo ($styles['width'] != "auto") ? ((int) $styles['width']) . 'px' : '100%'; ?>; height:0; background:<?php echo $styles['infobackground']; ?>; color:<?php echo $styles['infocolor']; ?>; overflow:hidden; z-index:300; opacity:.7; filter:alpha(opacity=70); }
|
21 |
#<?php echo $styles['wrapperid']; ?> #information<?php echo $unique; ?> h3 { color:<?php echo $styles['infocolor']; ?>; padding:4px 8px 3px; margin:0 !important; font-size:16px; font-weight:bold; }
|
22 |
#<?php echo $styles['wrapperid']; ?> #information<?php echo $unique; ?> p { color:<?php echo $styles['infocolor']; ?>; padding:0 8px 8px; margin:0 !important; font-size: 14px; font-weight:normal; }
|
23 |
-
#<?php echo $styles['wrapperid']; ?> #image<?php echo $unique; ?> { width:<?php echo ($styles['width'] != "auto") ? ((int) $styles['width']) . 'px' : 'auto'; ?>;
|
24 |
#<?php echo $styles['wrapperid']; ?> #image<?php echo $unique; ?> img { border:none; border-radius:0; box-shadow:none; position:absolute; height:auto; max-width:100%; margin:0 auto; display:block; }
|
25 |
#<?php echo $styles['wrapperid']; ?> .imgnav { position:absolute; width:25%; height:100%; cursor:pointer; z-index:250; }
|
26 |
#<?php echo $styles['wrapperid']; ?> #imgprev<?php echo $unique; ?> { -moz-user-select: none; -khtml-user-select: none; -webkit-user-select: none; -o-user-select: none; left:0; background:url('images/left.gif') left center no-repeat; text-indent:-9999px; }
|
20 |
#<?php echo $styles['wrapperid']; ?> #information<?php echo $unique; ?> { text-align:left; font-family:Verdana, Arial, Helvetica, sans-serif !important; position:absolute; bottom:0; width:<?php echo ($styles['width'] != "auto") ? ((int) $styles['width']) . 'px' : '100%'; ?>; height:0; background:<?php echo $styles['infobackground']; ?>; color:<?php echo $styles['infocolor']; ?>; overflow:hidden; z-index:300; opacity:.7; filter:alpha(opacity=70); }
|
21 |
#<?php echo $styles['wrapperid']; ?> #information<?php echo $unique; ?> h3 { color:<?php echo $styles['infocolor']; ?>; padding:4px 8px 3px; margin:0 !important; font-size:16px; font-weight:bold; }
|
22 |
#<?php echo $styles['wrapperid']; ?> #information<?php echo $unique; ?> p { color:<?php echo $styles['infocolor']; ?>; padding:0 8px 8px; margin:0 !important; font-size: 14px; font-weight:normal; }
|
23 |
+
#<?php echo $styles['wrapperid']; ?> #image<?php echo $unique; ?> { width:<?php echo ($styles['width'] != "auto") ? ((int) $styles['width']) . 'px' : 'auto'; ?>; }
|
24 |
#<?php echo $styles['wrapperid']; ?> #image<?php echo $unique; ?> img { border:none; border-radius:0; box-shadow:none; position:absolute; height:auto; max-width:100%; margin:0 auto; display:block; }
|
25 |
#<?php echo $styles['wrapperid']; ?> .imgnav { position:absolute; width:25%; height:100%; cursor:pointer; z-index:250; }
|
26 |
#<?php echo $styles['wrapperid']; ?> #imgprev<?php echo $unique; ?> { -moz-user-select: none; -khtml-user-select: none; -webkit-user-select: none; -o-user-select: none; left:0; background:url('images/left.gif') left center no-repeat; text-indent:-9999px; }
|
views/default/gallery.php
CHANGED
@@ -26,12 +26,12 @@ $thumbopacity = $this -> get_option('thumbopacity');
|
|
26 |
<?php $thumbnail_link = wp_get_attachment_image_src($slide -> ID, 'thumbnail', false); ?>
|
27 |
<?php if ($options['showthumbs'] == "true") : ?>
|
28 |
<?php if (!empty($slide -> guid)) : ?>
|
29 |
-
<a href="<?php echo $slide -> guid; ?>" target="_self" title="<?php echo esc_attr(__($slide -> post_title)); ?>"><img src="<?php echo $this -> Html -> bfithumb_image_src($full_image_url, $this -> get_option('thumbwidth'), $this -> get_option('thumbheight'), 100); ?>" alt="<?php echo $this -> Html -> sanitize(__($slide -> post_title)); ?>" /></a>
|
30 |
<?php else : ?>
|
31 |
-
<a
|
32 |
<?php endif; ?>
|
33 |
<?php else : ?>
|
34 |
-
<a href="<?php echo $slide -> guid; ?>" title="<?php echo __($slide -> post_title); ?>"></a>
|
35 |
<?php endif; ?>
|
36 |
</li>
|
37 |
<?php wp_reset_postdata(); ?>
|
@@ -56,7 +56,7 @@ $thumbopacity = $this -> get_option('thumbopacity');
|
|
56 |
<?php if (!empty($slide -> guid)) : ?>
|
57 |
<a href="<?php echo $slide -> guid; ?>" target="_self" title="<?php echo esc_attr(__($slide -> post_title)); ?>"><img src="<?php echo $this -> Html -> bfithumb_image_src($full_image_url, $this -> get_option('thumbwidth'), $this -> get_option('thumbheight'), 100); ?>" alt="<?php echo $this -> Html -> sanitize(__($slide -> post_title)); ?>" /></a>
|
58 |
<?php else : ?>
|
59 |
-
<a
|
60 |
<?php endif; ?>
|
61 |
<?php else : ?>
|
62 |
<a href="<?php echo $slide -> guid; ?>" target="_self" title="<?php echo __($slide -> post_title); ?>"></a>
|
@@ -88,7 +88,7 @@ $thumbopacity = $this -> get_option('thumbopacity');
|
|
88 |
<?php endforeach; ?>
|
89 |
<?php else : ?>
|
90 |
<!-- From all slides or gallery slides -->
|
91 |
-
<?php foreach ($slides as $slide) : ?>
|
92 |
<li>
|
93 |
<h3 style="opacity:<?php echo (!empty($slide -> iopacity)) ? ($slide -> iopacity) : 70; ?>;"><?php echo (!empty($slide -> showinfo) && ($slide -> showinfo == "both" || $slide -> showinfo == "title")) ? __($slide -> title) : ''; ?></h3>
|
94 |
<?php if ($options['layout'] != "responsive" && $options['resizeimages'] == "true" && $options['width'] != "auto") : ?>
|
@@ -101,7 +101,7 @@ $thumbopacity = $this -> get_option('thumbopacity');
|
|
101 |
<?php if ($slide -> uselink == "Y" && !empty($slide -> link)) : ?>
|
102 |
<a href="<?php echo $slide -> link; ?>" title="<?php echo esc_attr(__($slide -> title)); ?>" target="_<?php echo $slide -> linktarget; ?>"><img src="<?php echo $this -> Html -> bfithumb_image_src($slide -> image_path, $this -> get_option('thumbwidth'), $this -> get_option('thumbheight'), 100); ?>" alt="<?php echo $this -> Html -> sanitize(__($slide -> title)); ?>" /></a>
|
103 |
<?php elseif ($options['imagesoverlay'] == "true") : ?>
|
104 |
-
<a href="<?php echo $slide -> image_path; ?>" target="_<?php echo $slide -> linktarget; ?>" title="<?php echo __($slide -> title); ?>"><img src="<?php echo $this -> Html -> bfithumb_image_src($slide -> image_path, $this -> get_option('thumbwidth'), $this -> get_option('thumbheight'), 100); ?>" alt="<?php echo $this -> Html -> sanitize(__($slide -> title)); ?>" /></a>
|
105 |
<?php else : ?>
|
106 |
<a><img src="<?php echo $this -> Html -> bfithumb_image_src($slide -> image_path, $this -> get_option('thumbwidth'), $this -> get_option('thumbheight'), 100); ?>" alt="<?php echo $this -> Html -> sanitize(__($slide -> title)); ?>" /></a>
|
107 |
<?php endif; ?>
|
@@ -109,7 +109,7 @@ $thumbopacity = $this -> get_option('thumbopacity');
|
|
109 |
<?php if ($slide -> uselink == "Y" && !empty($slide -> link)) : ?>
|
110 |
<a href="<?php echo $slide -> link; ?>" target="_<?php echo $slide -> linktarget; ?>" title="<?php echo __($slide -> title); ?>"></a>
|
111 |
<?php elseif ($options['imagesoverlay'] == "true") : ?>
|
112 |
-
<a href="<?php echo $slide -> image_path; ?>" target="_<?php echo $slide -> linktarget; ?>" title="<?php echo __($slide -> title); ?>"></a>
|
113 |
<?php else : ?>
|
114 |
<a></a>
|
115 |
<?php endif; ?>
|
@@ -137,7 +137,7 @@ $thumbopacity = $this -> get_option('thumbopacity');
|
|
137 |
<?php $navb = "imgprev"; ?>
|
138 |
<div id="imgprev<?php echo $unique; ?>" class="slideshow-imgprev imgnav" title="<?php _e('Previous Image', $this -> plugin_name); ?>"><?php _e('Previous Image', $this -> plugin_name); ?></div>
|
139 |
<?php endif; ?>
|
140 |
-
<
|
141 |
<?php if ($options['shownav'] == "true" && count($slides) > 1) : ?>
|
142 |
<?php $navf = "imgnext"; ?>
|
143 |
<div id="imgnext<?php echo $unique; ?>" class="slideshow-imgnext imgnav" title="<?php _e('Next Image', $this -> plugin_name); ?>"><?php _e('Next Image', $this -> plugin_name); ?></div>
|
@@ -145,8 +145,8 @@ $thumbopacity = $this -> get_option('thumbopacity');
|
|
145 |
<div id="image<?php echo $unique; ?>" class="slideshow-image"></div>
|
146 |
<?php if ($options['showinfo'] == "true") : ?>
|
147 |
<div class="slideshow-information" id="information<?php echo $unique; ?>">
|
148 |
-
<h3 class="slideshow-info-heading"
|
149 |
-
<p class="slideshow-info-content"
|
150 |
</div>
|
151 |
<?php endif; ?>
|
152 |
</div>
|
@@ -227,11 +227,19 @@ $thumbopacity = $this -> get_option('thumbopacity');
|
|
227 |
$cssattr['sliderwidth'] = (($cssattr['thumbwidth'] + $options['thumbsspacing'] + 6) * count($slides));
|
228 |
$cssattr['infohideonmobile'] = $this -> get_option('infohideonmobile');
|
229 |
|
|
|
|
|
|
|
|
|
|
|
|
|
230 |
?>
|
231 |
|
232 |
-
|
233 |
@import url('<?php echo $this -> get_css_url($cssattr, $options['layout']); ?>');
|
234 |
-
</style
|
|
|
|
|
235 |
|
236 |
<!--[if IE 6]>
|
237 |
<style type="text/css">
|
@@ -240,17 +248,26 @@ $thumbopacity = $this -> get_option('thumbopacity');
|
|
240 |
</style>
|
241 |
<![endif]-->
|
242 |
|
243 |
-
<?php
|
244 |
-
|
245 |
-
$
|
246 |
-
|
247 |
-
|
|
|
248 |
|
249 |
$jsoutput = $this -> get_option('jsoutput');
|
250 |
if (empty($jsoutput) || $jsoutput == "perslideshow") {
|
251 |
echo '<!-- Slideshow Gallery Javascript BEG -->';
|
252 |
-
|
|
|
|
|
253 |
echo '<!-- Slideshow Gallery Javascript END -->';
|
|
|
|
|
|
|
|
|
|
|
|
|
254 |
}
|
255 |
|
256 |
?>
|
26 |
<?php $thumbnail_link = wp_get_attachment_image_src($slide -> ID, 'thumbnail', false); ?>
|
27 |
<?php if ($options['showthumbs'] == "true") : ?>
|
28 |
<?php if (!empty($slide -> guid)) : ?>
|
29 |
+
<a href="<?php echo $slide -> guid; ?>" id="<?php echo $unique; ?>imglink<?php echo $slide -> ID; ?>" <?php if ($this -> Html -> is_image($slide -> guid)) : ?>class="colorbox" rel="slideshow<?php echo $unique; ?>overlay"<?php endif; ?> target="_self" title="<?php echo esc_attr(__($slide -> post_title)); ?>"><img src="<?php echo $this -> Html -> bfithumb_image_src($full_image_url, $this -> get_option('thumbwidth'), $this -> get_option('thumbheight'), 100); ?>" alt="<?php echo $this -> Html -> sanitize(__($slide -> post_title)); ?>" /></a>
|
30 |
<?php else : ?>
|
31 |
+
<a id="<?php echo $unique; ?>imglink<?php echo $slide -> ID; ?>" <?php if ($this -> Html -> is_image($full_image_url)) : ?>class="colorbox" rel="slideshow<?php echo $unique; ?>overlay"<?php endif; ?>><img src="<?php echo $this -> Html -> bfithumb_image_src($full_image_url, $this -> get_option('thumbwidth'), $this -> get_option('thumbheight'), 100); ?>" alt="<?php echo $this -> Html -> sanitize(__($slide -> post_title)); ?>" /></a>
|
32 |
<?php endif; ?>
|
33 |
<?php else : ?>
|
34 |
+
<a id="<?php echo $unique; ?>imglink<?php echo $slide -> ID; ?>" <?php if ($this -> Html -> is_image($slide -> guid)) : ?>class="colorbox" rel="slideshow<?php echo $unique; ?>overlay"<?php endif; ?> href="<?php echo $slide -> guid; ?>" title="<?php echo __($slide -> post_title); ?>"></a>
|
35 |
<?php endif; ?>
|
36 |
</li>
|
37 |
<?php wp_reset_postdata(); ?>
|
56 |
<?php if (!empty($slide -> guid)) : ?>
|
57 |
<a href="<?php echo $slide -> guid; ?>" target="_self" title="<?php echo esc_attr(__($slide -> post_title)); ?>"><img src="<?php echo $this -> Html -> bfithumb_image_src($full_image_url, $this -> get_option('thumbwidth'), $this -> get_option('thumbheight'), 100); ?>" alt="<?php echo $this -> Html -> sanitize(__($slide -> post_title)); ?>" /></a>
|
58 |
<?php else : ?>
|
59 |
+
<a id="<?php echo $unique; ?>imglink<?php echo $slide -> ID; ?>" <?php if ($this -> Html -> is_image($full_image_url)) : ?>class="colorbox" rel="slideshow<?php echo $unique; ?>overlay"<?php endif; ?>><img src="<?php echo $this -> Html -> bfithumb_image_src($full_image_url, $this -> get_option('thumbwidth'), $this -> get_option('thumbheight'), 100); ?>" alt="<?php echo $this -> Html -> sanitize(__($slide -> post_title)); ?>" /></a>
|
60 |
<?php endif; ?>
|
61 |
<?php else : ?>
|
62 |
<a href="<?php echo $slide -> guid; ?>" target="_self" title="<?php echo __($slide -> post_title); ?>"></a>
|
88 |
<?php endforeach; ?>
|
89 |
<?php else : ?>
|
90 |
<!-- From all slides or gallery slides -->
|
91 |
+
<?php foreach ($slides as $slide) : ?>
|
92 |
<li>
|
93 |
<h3 style="opacity:<?php echo (!empty($slide -> iopacity)) ? ($slide -> iopacity) : 70; ?>;"><?php echo (!empty($slide -> showinfo) && ($slide -> showinfo == "both" || $slide -> showinfo == "title")) ? __($slide -> title) : ''; ?></h3>
|
94 |
<?php if ($options['layout'] != "responsive" && $options['resizeimages'] == "true" && $options['width'] != "auto") : ?>
|
101 |
<?php if ($slide -> uselink == "Y" && !empty($slide -> link)) : ?>
|
102 |
<a href="<?php echo $slide -> link; ?>" title="<?php echo esc_attr(__($slide -> title)); ?>" target="_<?php echo $slide -> linktarget; ?>"><img src="<?php echo $this -> Html -> bfithumb_image_src($slide -> image_path, $this -> get_option('thumbwidth'), $this -> get_option('thumbheight'), 100); ?>" alt="<?php echo $this -> Html -> sanitize(__($slide -> title)); ?>" /></a>
|
103 |
<?php elseif ($options['imagesoverlay'] == "true") : ?>
|
104 |
+
<a href="<?php echo $slide -> image_path; ?>" id="<?php echo $unique; ?>imglink<?php echo $slide -> id; ?>" <?php if ($this -> Html -> is_image($slide -> image_path)) : ?>class="colorbox" rel="slideshow<?php echo $unique; ?>overlay"<?php endif; ?> target="_<?php echo $slide -> linktarget; ?>" title="<?php echo __($slide -> title); ?>"><img src="<?php echo $this -> Html -> bfithumb_image_src($slide -> image_path, $this -> get_option('thumbwidth'), $this -> get_option('thumbheight'), 100); ?>" alt="<?php echo $this -> Html -> sanitize(__($slide -> title)); ?>" /></a>
|
105 |
<?php else : ?>
|
106 |
<a><img src="<?php echo $this -> Html -> bfithumb_image_src($slide -> image_path, $this -> get_option('thumbwidth'), $this -> get_option('thumbheight'), 100); ?>" alt="<?php echo $this -> Html -> sanitize(__($slide -> title)); ?>" /></a>
|
107 |
<?php endif; ?>
|
109 |
<?php if ($slide -> uselink == "Y" && !empty($slide -> link)) : ?>
|
110 |
<a href="<?php echo $slide -> link; ?>" target="_<?php echo $slide -> linktarget; ?>" title="<?php echo __($slide -> title); ?>"></a>
|
111 |
<?php elseif ($options['imagesoverlay'] == "true") : ?>
|
112 |
+
<a href="<?php echo $slide -> image_path; ?>" id="<?php echo $unique; ?>imglink<?php echo $slide -> id; ?>" <?php if ($this -> Html -> is_image($slide -> image_path)) : ?>class="colorbox" rel="slideshow<?php echo $unique; ?>overlay"<?php endif; ?> class="colorbox" rel="slideshow<?php echo $unique; ?>overlay" target="_<?php echo $slide -> linktarget; ?>" title="<?php echo __($slide -> title); ?>"></a>
|
113 |
<?php else : ?>
|
114 |
<a></a>
|
115 |
<?php endif; ?>
|
137 |
<?php $navb = "imgprev"; ?>
|
138 |
<div id="imgprev<?php echo $unique; ?>" class="slideshow-imgprev imgnav" title="<?php _e('Previous Image', $this -> plugin_name); ?>"><?php _e('Previous Image', $this -> plugin_name); ?></div>
|
139 |
<?php endif; ?>
|
140 |
+
<a id="imglink<?php echo $unique; ?>" class="slideshow-imglink imglink"><!-- link --></a>
|
141 |
<?php if ($options['shownav'] == "true" && count($slides) > 1) : ?>
|
142 |
<?php $navf = "imgnext"; ?>
|
143 |
<div id="imgnext<?php echo $unique; ?>" class="slideshow-imgnext imgnav" title="<?php _e('Next Image', $this -> plugin_name); ?>"><?php _e('Next Image', $this -> plugin_name); ?></div>
|
145 |
<div id="image<?php echo $unique; ?>" class="slideshow-image"></div>
|
146 |
<?php if ($options['showinfo'] == "true") : ?>
|
147 |
<div class="slideshow-information" id="information<?php echo $unique; ?>">
|
148 |
+
<h3 class="slideshow-info-heading">info heading</h3>
|
149 |
+
<p class="slideshow-info-content">info content</p>
|
150 |
</div>
|
151 |
<?php endif; ?>
|
152 |
</div>
|
227 |
$cssattr['sliderwidth'] = (($cssattr['thumbwidth'] + $options['thumbsspacing'] + 6) * count($slides));
|
228 |
$cssattr['infohideonmobile'] = $this -> get_option('infohideonmobile');
|
229 |
|
230 |
+
$javascript = ob_get_clean();
|
231 |
+
global $slideshow_javascript;
|
232 |
+
$slideshow_javascript[] = $javascript;
|
233 |
+
|
234 |
+
ob_start();
|
235 |
+
|
236 |
?>
|
237 |
|
238 |
+
<?php /*<style type="text/css">
|
239 |
@import url('<?php echo $this -> get_css_url($cssattr, $options['layout']); ?>');
|
240 |
+
</style>*/ ?>
|
241 |
+
|
242 |
+
<link rel="stylesheet" property="stylesheet" href="<?php echo $this -> get_css_url($cssattr, $options['layout']); ?>" type="text/css" media="all" />
|
243 |
|
244 |
<!--[if IE 6]>
|
245 |
<style type="text/css">
|
248 |
</style>
|
249 |
<![endif]-->
|
250 |
|
251 |
+
<?php
|
252 |
+
|
253 |
+
$css = ob_get_clean();
|
254 |
+
|
255 |
+
global $slideshow_css;
|
256 |
+
$slideshow_css[] = $css;
|
257 |
|
258 |
$jsoutput = $this -> get_option('jsoutput');
|
259 |
if (empty($jsoutput) || $jsoutput == "perslideshow") {
|
260 |
echo '<!-- Slideshow Gallery Javascript BEG -->';
|
261 |
+
foreach ($slideshow_javascript as $javascript) {
|
262 |
+
echo stripslashes($javascript);
|
263 |
+
}
|
264 |
echo '<!-- Slideshow Gallery Javascript END -->';
|
265 |
+
|
266 |
+
echo '<!-- Slideshow Gallery CSS BEG -->';
|
267 |
+
foreach ($slideshow_css as $css) {
|
268 |
+
echo stripslashes($css);
|
269 |
+
}
|
270 |
+
echo '<!-- Slideshow Gallery CSS END -->';
|
271 |
}
|
272 |
|
273 |
?>
|