Version Description
- Added copy shortcode by click in gallery listing
- Added gallery sorting configrmation message
Download this release
Release Info
Developer | robosoft |
Plugin | Gallery – Photo Gallery and Images Gallery |
Version | 2.7.6 |
Comparing to | |
See all releases |
Code changes from version 2.7.5 to 2.7.6
- cmb2/fields/border/cmb-field-border.php +1 -1
- cmb2/fields/colums/cmb-field-colums.php +1 -1
- cmb2/fields/font/cmb-field-font.php +1 -1
- cmb2/fields/loading/cmb-field-loading.php +1 -1
- cmb2/fields/multisize/rbs-multiSize.php +1 -1
- cmb2/fields/padding/rbs-padding.php +1 -1
- cmb2/fields/rbsgallery/cmb-field-rbsgallery.php +1 -1
- cmb2/fields/rbsradiobutton/rbs-radiobutton.php +1 -1
- cmb2/fields/rbsselect/cmb-field-rbsselect.php +1 -1
- cmb2/fields/rbstext/cmb-field-rbstext.php +1 -1
- cmb2/fields/rbstextarea/cmb-field-rbstextarea.php +1 -1
- cmb2/fields/shadow/cmb-field-shadow.php +1 -1
- cmb2/fields/size/cmb-field-size.php +1 -1
- cmb2/fields/slider/cmb-field-slider.php +1 -1
- cmb2/fields/switch/cmb-field-switch.php +1 -1
- cmb2/fields/toolbox/cmb-field-toolbox.php +1 -1
- css/admin/about.css +1 -1
- css/admin/edit.css +1 -1
- css/admin/info.css +1 -1
- css/admin/list.css +1 -1
- css/admin/listing.css +16 -0
- css/admin/topblock.css +1 -1
- css/gallery.css +2 -2
- includes/cache.php +1 -1
- includes/extensions/backup/backup.class.php +1 -1
- includes/extensions/backup/backup.form.php +1 -1
- includes/extensions/backup/backup.init.php +1 -1
- includes/extensions/category/category.class.php +1 -1
- includes/extensions/category/category.init.php +1 -1
- includes/extensions/categoryPage/category.class.php +1 -1
- includes/extensions/categoryPage/category.init.php +1 -1
- includes/extensions/categoryPage/js/script.js +11 -0
- includes/extensions/debug/css/debug.css +1 -1
- includes/extensions/debug/js/script.js +1 -1
- includes/extensions/rbs_create_post_ajax.php +1 -1
- includes/extensions/stats/js/script.js +1 -1
- includes/extensions/stats/stats.class.php +1 -1
- includes/extensions/stats/stats.form.php +1 -1
- includes/extensions/stats/stats.init.php +1 -1
- includes/frontend/extensions/core/roboGalleryCore.php +1 -1
- includes/frontend/extensions/loader/RoboGalleryLoader.php +1 -1
- includes/frontend/rbs_gallery_class.php +1 -1
- includes/frontend/rbs_gallery_class_utils.php +1 -1
- includes/frontend/rbs_gallery_frontend.php +1 -1
- includes/frontend/rbs_gallery_helper.php +1 -1
- includes/frontend/rbs_gallery_source.php +1 -1
- includes/frontend/roboGalleryAbstractExtension.php +1 -1
- includes/options/rbs_gallery_options_button.php +1 -1
- includes/options/rbs_gallery_options_copy.php +1 -1
- includes/options/rbs_gallery_options_guides.php +1 -1
- includes/options/rbs_gallery_options_hover.php +1 -1
- includes/options/rbs_gallery_options_images.php +1 -1
- includes/options/rbs_gallery_options_info.php +1 -1
- includes/options/rbs_gallery_options_infowide.php +1 -1
- includes/options/rbs_gallery_options_lightbox.php +1 -1
- includes/options/rbs_gallery_options_loading.php +1 -1
- includes/options/rbs_gallery_options_polaroid.php +1 -1
- includes/options/rbs_gallery_options_shortcode.php +1 -1
- includes/options/rbs_gallery_options_size.php +1 -1
- includes/options/rbs_gallery_options_text.php +1 -1
- includes/options/rbs_gallery_options_tools.php +1 -1
- includes/options/rbs_gallery_options_view.php +1 -1
- includes/rbs_class_activator.php +1 -1
- includes/rbs_class_update.php +1 -1
- includes/rbs_gallery_about.php +1 -1
- includes/rbs_gallery_ajax.php +1 -1
- includes/rbs_gallery_button.php +1 -1
- includes/rbs_gallery_config.php +1 -1
- includes/rbs_gallery_edit.php +1 -1
- includes/rbs_gallery_init.php +1 -1
- includes/rbs_gallery_list.php +6 -3
- includes/rbs_gallery_media.php +1 -1
- includes/rbs_gallery_menu.php +1 -1
- includes/rbs_gallery_settings.php +1 -1
- includes/rbs_gallery_topblock.php +1 -1
- includes/rbs_gallery_widget.php +1 -1
- includes/rbs_gallery_widget_last.php +1 -1
- js/admin/edit.js +1 -1
- js/admin/editor-button.js +1 -1
- js/admin/extensions/backup/backup.js +1 -1
- js/admin/extensions/backup/rbs_backup_button.js +1 -1
- js/admin/extensions/create_post.js +1 -1
- js/admin/info.js +1 -1
- js/admin/listing.js +32 -0
- js/admin/menu.js +3 -1
- js/admin/topblock.js +1 -1
- js/admin/update.js +1 -1
- js/robo_gallery.js +1 -1
- js/robo_gallery_alt.js +1 -1
- readme.txt +9 -1
- robogallery.php +2 -2
cmb2/fields/border/cmb-field-border.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2017
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2017
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
cmb2/fields/colums/cmb-field-colums.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
cmb2/fields/font/cmb-field-font.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
cmb2/fields/loading/cmb-field-loading.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
cmb2/fields/multisize/rbs-multiSize.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
cmb2/fields/padding/rbs-padding.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
cmb2/fields/rbsgallery/cmb-field-rbsgallery.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
cmb2/fields/rbsradiobutton/rbs-radiobutton.php
CHANGED
@@ -9,7 +9,7 @@
|
|
9 |
* Created: 2015
|
10 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
11 |
*
|
12 |
-
* Copyright (c) 2014-
|
13 |
* Available only in https://robosoft.co/robogallery/
|
14 |
*/
|
15 |
|
9 |
* Created: 2015
|
10 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
11 |
*
|
12 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
13 |
* Available only in https://robosoft.co/robogallery/
|
14 |
*/
|
15 |
|
cmb2/fields/rbsselect/cmb-field-rbsselect.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
cmb2/fields/rbstext/cmb-field-rbstext.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
cmb2/fields/rbstextarea/cmb-field-rbstextarea.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
cmb2/fields/shadow/cmb-field-shadow.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
cmb2/fields/size/cmb-field-size.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
cmb2/fields/slider/cmb-field-slider.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
cmb2/fields/switch/cmb-field-switch.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
cmb2/fields/toolbox/cmb-field-toolbox.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
css/admin/about.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
/*
|
2 |
display:-webkit-flex;;
|
3 |
}
|
|
|
4 |
display:-webkit-flex;;
|
5 |
}
|
|
|
1 |
display:-webkit-flex;;
|
2 |
}
|
3 |
+
/*
|
4 |
display:-webkit-flex;;
|
5 |
}
|
css/admin/edit.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
/*
|
2 |
z-index: 1000;
|
3 |
opacity: 0.4;
|
4 |
pointer-events: none;
|
5 |
z-index: 1000;
|
6 |
opacity: 0.1;
|
7 |
pointer-events: none;
|
8 |
padding-top: 7px;
|
9 |
text-align: right;
|
10 |
cursor: pointer;
|
|
|
11 |
z-index: 1000;
|
12 |
opacity: 0.4;
|
13 |
pointer-events: none;
|
14 |
z-index: 1000;
|
15 |
opacity: 0.1;
|
16 |
pointer-events: none;
|
17 |
padding-top: 7px;
|
18 |
text-align: right;
|
19 |
cursor: pointer;
|
|
|
1 |
z-index: 1000;
|
2 |
opacity: 0.4;
|
3 |
pointer-events: none;
|
4 |
z-index: 1000;
|
5 |
opacity: 0.1;
|
6 |
pointer-events: none;
|
7 |
padding-top: 7px;
|
8 |
text-align: right;
|
9 |
cursor: pointer;
|
10 |
+
/*
|
11 |
z-index: 1000;
|
12 |
opacity: 0.4;
|
13 |
pointer-events: none;
|
14 |
z-index: 1000;
|
15 |
opacity: 0.1;
|
16 |
pointer-events: none;
|
17 |
padding-top: 7px;
|
18 |
text-align: right;
|
19 |
cursor: pointer;
|
css/admin/info.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
/*
|
1 |
+
/*
|
css/admin/list.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
/*
|
1 |
+
/*
|
css/admin/listing.css
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
* Robo Gallery
|
3 |
+
* Version: 1.0
|
4 |
+
* By Robosoft
|
5 |
+
*
|
6 |
+
* Contact: https://robosoft.co/robogallery/
|
7 |
+
* Created: 2015
|
8 |
+
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
9 |
+
*
|
10 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
11 |
+
* Available only in https://robosoft.co/robogallery/
|
12 |
+
*/
|
13 |
+
<!-- -->
|
14 |
+
.robo-gallery-shortcode-message{
|
15 |
+
border:
|
16 |
+
}
|
css/admin/topblock.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
/*
|
1 |
+
/*
|
css/gallery.css
CHANGED
@@ -383,7 +383,7 @@ mfp-container,
|
|
383 |
/*
|
384 |
* Robo Gallery
|
385 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
386 |
-
* Copyright (c) 2014-
|
387 |
* Available only in https://robosoft.co/robogallery/
|
388 |
*/
|
389 |
|
@@ -711,7 +711,7 @@ mfp-container,
|
|
711 |
color: white;
|
712 |
background-color: rgba(185, 35, 215,0.8);
|
713 |
}
|
714 |
-
/*
|
715 |
|
716 |
/*! @license
|
717 |
* Copyright 2012-2014 Alex Wolfe and Rob Levin
|
383 |
/*
|
384 |
* Robo Gallery
|
385 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
386 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
387 |
* Available only in https://robosoft.co/robogallery/
|
388 |
*/
|
389 |
|
711 |
color: white;
|
712 |
background-color: rgba(185, 35, 215,0.8);
|
713 |
}
|
714 |
+
/*
|
715 |
|
716 |
/*! @license
|
717 |
* Copyright 2012-2014 Alex Wolfe and Rob Levin
|
includes/cache.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
* Robo Gallery By Robosoft
|
4 |
* Contact: https://robosoft.co/robogallery/
|
5 |
-
* Copyright (c) 2014-
|
6 |
*/
|
7 |
|
8 |
if ( ! defined( 'ABSPATH' ) ) exit;
|
2 |
/*
|
3 |
* Robo Gallery By Robosoft
|
4 |
* Contact: https://robosoft.co/robogallery/
|
5 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
6 |
*/
|
7 |
|
8 |
if ( ! defined( 'ABSPATH' ) ) exit;
|
includes/extensions/backup/backup.class.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
includes/extensions/backup/backup.form.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
includes/extensions/backup/backup.init.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
includes/extensions/category/category.class.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
includes/extensions/category/category.init.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
includes/extensions/categoryPage/category.class.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
includes/extensions/categoryPage/category.init.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
includes/extensions/categoryPage/js/script.js
CHANGED
@@ -1,5 +1,14 @@
|
|
1 |
;(function ($, undefined){
|
2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
|
4 |
function DialogEdit(options) {
|
5 |
var self = this;
|
@@ -20,6 +29,7 @@
|
|
20 |
callback: function(l,e){
|
21 |
// l is the main container
|
22 |
// e is the element that was moved
|
|
|
23 |
self.statusUpdate(hierarchyPostAttributes.status.modified);
|
24 |
}
|
25 |
});
|
@@ -64,6 +74,7 @@
|
|
64 |
self.$nestableList.show();
|
65 |
window['catDialogClick'] = 0;;
|
66 |
self.statusUpdate(hierarchyPostAttributes.status.saved);
|
|
|
67 |
},
|
68 |
error: function (jqXHR) {
|
69 |
self.statusUpdate( hierarchyPostAttributes.status.error);
|
1 |
;(function ($, undefined){
|
2 |
|
3 |
+
function askConfirm() {
|
4 |
+
if (needToConfirm) {
|
5 |
+
return "Your unsaved data will be lost.";
|
6 |
+
}
|
7 |
+
}
|
8 |
+
|
9 |
+
needToConfirm = false;
|
10 |
+
window.onbeforeunload = askConfirm;
|
11 |
+
|
12 |
|
13 |
function DialogEdit(options) {
|
14 |
var self = this;
|
29 |
callback: function(l,e){
|
30 |
// l is the main container
|
31 |
// e is the element that was moved
|
32 |
+
needToConfirm = true;
|
33 |
self.statusUpdate(hierarchyPostAttributes.status.modified);
|
34 |
}
|
35 |
});
|
74 |
self.$nestableList.show();
|
75 |
window['catDialogClick'] = 0;;
|
76 |
self.statusUpdate(hierarchyPostAttributes.status.saved);
|
77 |
+
needToConfirm = false;
|
78 |
},
|
79 |
error: function (jqXHR) {
|
80 |
self.statusUpdate( hierarchyPostAttributes.status.error);
|
includes/extensions/debug/css/debug.css
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* Created: 2015
|
8 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
9 |
*
|
10 |
-
* Copyright (c) 2014-
|
11 |
* Available only in https://robosoft.co/robogallery/
|
12 |
*/
|
13 |
|
7 |
* Created: 2015
|
8 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
9 |
*
|
10 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
11 |
* Available only in https://robosoft.co/robogallery/
|
12 |
*/
|
13 |
|
includes/extensions/debug/js/script.js
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* Created: 2015
|
8 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
9 |
*
|
10 |
-
* Copyright (c) 2014-
|
11 |
* Available only in https://robosoft.co/robogallery/
|
12 |
*/
|
13 |
console.log('=========== Robo Gallery =============');
|
7 |
* Created: 2015
|
8 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
9 |
*
|
10 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
11 |
* Available only in https://robosoft.co/robogallery/
|
12 |
*/
|
13 |
console.log('=========== Robo Gallery =============');
|
includes/extensions/rbs_create_post_ajax.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
includes/extensions/stats/js/script.js
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* Created: 2015
|
8 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
9 |
*
|
10 |
-
* Copyright (c) 2014-
|
11 |
* Available only in https://robosoft.co/robogallery/
|
12 |
*/
|
13 |
|
7 |
* Created: 2015
|
8 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
9 |
*
|
10 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
11 |
* Available only in https://robosoft.co/robogallery/
|
12 |
*/
|
13 |
|
includes/extensions/stats/stats.class.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
includes/extensions/stats/stats.form.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
includes/extensions/stats/stats.init.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
includes/frontend/extensions/core/roboGalleryCore.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2017
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2017
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
includes/frontend/extensions/loader/RoboGalleryLoader.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2017
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2017
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
includes/frontend/rbs_gallery_class.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2017
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2017
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
includes/frontend/rbs_gallery_class_utils.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
includes/frontend/rbs_gallery_frontend.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
includes/frontend/rbs_gallery_helper.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
includes/frontend/rbs_gallery_source.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
includes/frontend/roboGalleryAbstractExtension.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2017
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2017
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
includes/options/rbs_gallery_options_button.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
includes/options/rbs_gallery_options_copy.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
includes/options/rbs_gallery_options_guides.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
if ( ! defined( 'ABSPATH' ) ) exit;
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
if ( ! defined( 'ABSPATH' ) ) exit;
|
includes/options/rbs_gallery_options_hover.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
includes/options/rbs_gallery_options_images.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
includes/options/rbs_gallery_options_info.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
includes/options/rbs_gallery_options_infowide.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
includes/options/rbs_gallery_options_lightbox.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
includes/options/rbs_gallery_options_loading.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
includes/options/rbs_gallery_options_polaroid.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
includes/options/rbs_gallery_options_shortcode.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
includes/options/rbs_gallery_options_size.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
includes/options/rbs_gallery_options_text.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
includes/options/rbs_gallery_options_tools.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
includes/options/rbs_gallery_options_view.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
includes/rbs_class_activator.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
includes/rbs_class_update.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
includes/rbs_gallery_about.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
includes/rbs_gallery_ajax.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2017
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2017
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
includes/rbs_gallery_button.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
includes/rbs_gallery_config.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* Contact: https://robosoft.co/robogallery/
|
8 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
9 |
*
|
10 |
-
* Copyright (c) 2014-
|
11 |
* Available only in https://robosoft.co/robogallery/
|
12 |
*/
|
13 |
if ( ! defined( 'ABSPATH' ) ) exit;
|
7 |
* Contact: https://robosoft.co/robogallery/
|
8 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
9 |
*
|
10 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
11 |
* Available only in https://robosoft.co/robogallery/
|
12 |
*/
|
13 |
if ( ! defined( 'ABSPATH' ) ) exit;
|
includes/rbs_gallery_edit.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
includes/rbs_gallery_init.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
includes/rbs_gallery_list.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
@@ -37,13 +37,15 @@ if(isset($_GET['showproinfo']) && $_GET['showproinfo']){
|
|
37 |
}
|
38 |
}
|
39 |
|
|
|
40 |
if(!function_exists('rbs_custom_columns')){
|
41 |
function rbs_custom_columns( $column, $post_id ) {
|
42 |
switch ( $column ) {
|
43 |
case 'rbs_gallery' :
|
44 |
global $post;
|
45 |
//$slug = '' ; $slug = $post->post_name;
|
46 |
-
$shortcode = '
|
|
|
47 |
echo $shortcode;
|
48 |
break;
|
49 |
|
@@ -76,7 +78,8 @@ if(!function_exists('add_rbs_table_columns')){
|
|
76 |
|
77 |
if(!function_exists('rbs_gallery_robogalleryList')){
|
78 |
function rbs_gallery_robogalleryList (){
|
79 |
-
|
|
|
80 |
}
|
81 |
add_action( 'in_admin_header', 'rbs_gallery_robogalleryList' );
|
82 |
}
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
37 |
}
|
38 |
}
|
39 |
|
40 |
+
|
41 |
if(!function_exists('rbs_custom_columns')){
|
42 |
function rbs_custom_columns( $column, $post_id ) {
|
43 |
switch ( $column ) {
|
44 |
case 'rbs_gallery' :
|
45 |
global $post;
|
46 |
//$slug = '' ; $slug = $post->post_name;
|
47 |
+
$shortcode = '
|
48 |
+
<input readonly="readonly" size="23" value="[robo-gallery id='.$post_id.']" class="robo-gallery-shortcode" type="text" />';
|
49 |
echo $shortcode;
|
50 |
break;
|
51 |
|
78 |
|
79 |
if(!function_exists('rbs_gallery_robogalleryList')){
|
80 |
function rbs_gallery_robogalleryList (){
|
81 |
+
wp_enqueue_script('robo-gallery-lising-js', ROBO_GALLERY_URL.'js/admin/listing.js', array( 'jquery' ), ROBO_GALLERY_VERSION, true );
|
82 |
+
wp_enqueue_style ('robo-gallery-lising-css', ROBO_GALLERY_URL.'css/admin/list.css', array( ), ROBO_GALLERY_VERSION );
|
83 |
}
|
84 |
add_action( 'in_admin_header', 'rbs_gallery_robogalleryList' );
|
85 |
}
|
includes/rbs_gallery_media.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
includes/rbs_gallery_menu.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
includes/rbs_gallery_settings.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
if ( ! defined( 'ABSPATH' ) ) exit;
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
if ( ! defined( 'ABSPATH' ) ) exit;
|
includes/rbs_gallery_topblock.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
includes/rbs_gallery_widget.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
includes/rbs_gallery_widget_last.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
-
* Copyright (c) 2014-
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
8 |
* Created: 2015
|
9 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
10 |
*
|
11 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
12 |
* Available only in https://robosoft.co/robogallery/
|
13 |
*/
|
14 |
|
js/admin/edit.js
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* Created: 2015
|
8 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
9 |
*
|
10 |
-
* Copyright (c) 2014-
|
11 |
* Available only in https://robosoft.co/robogallery/
|
12 |
*/
|
13 |
|
7 |
* Created: 2015
|
8 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
9 |
*
|
10 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
11 |
* Available only in https://robosoft.co/robogallery/
|
12 |
*/
|
13 |
|
js/admin/editor-button.js
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* Created: 2015
|
8 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
9 |
*
|
10 |
-
* Copyright (c) 2014-
|
11 |
* Available only in https://robosoft.co/robogallery/
|
12 |
*/
|
13 |
|
7 |
* Created: 2015
|
8 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
9 |
*
|
10 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
11 |
* Available only in https://robosoft.co/robogallery/
|
12 |
*/
|
13 |
|
js/admin/extensions/backup/backup.js
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* Created: 2015
|
8 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
9 |
*
|
10 |
-
* Copyright (c) 2014-
|
11 |
* Available only in https://robosoft.co/robogallery/
|
12 |
*/
|
13 |
|
7 |
* Created: 2015
|
8 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
9 |
*
|
10 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
11 |
* Available only in https://robosoft.co/robogallery/
|
12 |
*/
|
13 |
|
js/admin/extensions/backup/rbs_backup_button.js
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* Created: 2015
|
8 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
9 |
*
|
10 |
-
* Copyright (c) 2014-
|
11 |
* Available only in https://robosoft.co/robogallery/
|
12 |
*/
|
13 |
|
7 |
* Created: 2015
|
8 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
9 |
*
|
10 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
11 |
* Available only in https://robosoft.co/robogallery/
|
12 |
*/
|
13 |
|
js/admin/extensions/create_post.js
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* Created: 2015
|
8 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
9 |
*
|
10 |
-
* Copyright (c) 2014-
|
11 |
* Available only in https://robosoft.co/robogallery/
|
12 |
*/
|
13 |
|
7 |
* Created: 2015
|
8 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
9 |
*
|
10 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
11 |
* Available only in https://robosoft.co/robogallery/
|
12 |
*/
|
13 |
|
js/admin/info.js
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* Created: 2015
|
8 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
9 |
*
|
10 |
-
* Copyright (c) 2014-
|
11 |
* Available only in https://robosoft.co/robogallery/
|
12 |
*/
|
13 |
|
7 |
* Created: 2015
|
8 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
9 |
*
|
10 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
11 |
* Available only in https://robosoft.co/robogallery/
|
12 |
*/
|
13 |
|
js/admin/listing.js
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
* Robo Gallery
|
3 |
+
* Version: 2.0
|
4 |
+
* By Robosoft
|
5 |
+
*
|
6 |
+
* Contact: https://robosoft.co/robogallery/
|
7 |
+
* Created: 2015
|
8 |
+
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
9 |
+
*
|
10 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
11 |
+
* Available only in https://robosoft.co/robogallery/
|
12 |
+
*/
|
13 |
+
(function($){
|
14 |
+
|
15 |
+
/* shortcode copy to clipboard */
|
16 |
+
$('.robo-gallery-shortcode').click( function() {
|
17 |
+
try {
|
18 |
+
this.select();
|
19 |
+
document.execCommand('copy');
|
20 |
+
$('.robo-gallery-shortcode-message').remove();
|
21 |
+
$(this).after('<p class="robo-gallery-shortcode-message">ShortCode copied to clipboard!</p>');
|
22 |
+
if(window['roboGalleryTimerShortCode']!=undefined) clearTimeout(window['roboGalleryTimerShortCode']);
|
23 |
+
window['roboGalleryTimerShortCode'] = setTimeout( function(){
|
24 |
+
$('.robo-gallery-shortcode-message').remove();
|
25 |
+
}, 3000);
|
26 |
+
} catch (err) {
|
27 |
+
console.log('ID 69877: Can\'t copy ShortCode ');
|
28 |
+
}
|
29 |
+
});
|
30 |
+
|
31 |
+
|
32 |
+
})(jQuery);
|
js/admin/menu.js
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* Created: 2015
|
8 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
9 |
*
|
10 |
-
* Copyright (c) 2014-
|
11 |
* Available only in https://robosoft.co/robogallery/
|
12 |
*/
|
13 |
|
@@ -25,6 +25,8 @@ jQuery(function(){
|
|
25 |
window.open("http://robosoft.co/go.php?product=gallery&task=guides", "_blank");
|
26 |
});
|
27 |
|
|
|
|
|
28 |
/*var roboGalleryShowNewDialog = function(){
|
29 |
alert("Hi");
|
30 |
};
|
7 |
* Created: 2015
|
8 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
9 |
*
|
10 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
11 |
* Available only in https://robosoft.co/robogallery/
|
12 |
*/
|
13 |
|
25 |
window.open("http://robosoft.co/go.php?product=gallery&task=guides", "_blank");
|
26 |
});
|
27 |
|
28 |
+
|
29 |
+
|
30 |
/*var roboGalleryShowNewDialog = function(){
|
31 |
alert("Hi");
|
32 |
};
|
js/admin/topblock.js
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* Created: 2015
|
8 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
9 |
*
|
10 |
-
* Copyright (c) 2014-
|
11 |
* Available only in https://robosoft.co/robogallery/
|
12 |
*/
|
13 |
|
7 |
* Created: 2015
|
8 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
9 |
*
|
10 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
11 |
* Available only in https://robosoft.co/robogallery/
|
12 |
*/
|
13 |
|
js/admin/update.js
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* Created: 2016
|
8 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
9 |
*
|
10 |
-
* Copyright (c) 2014-
|
11 |
* Available only in https://robosoft.co/robogallery/
|
12 |
*/
|
13 |
|
7 |
* Created: 2016
|
8 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
9 |
*
|
10 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
11 |
* Available only in https://robosoft.co/robogallery/
|
12 |
*/
|
13 |
|
js/robo_gallery.js
CHANGED
@@ -66,7 +66,7 @@ jQuery.easing.jswing=jQuery.easing.swing,jQuery.extend(jQuery.easing,{def:"easeO
|
|
66 |
!function(e,t,a){t.fn.collagePlus=function(i){return this.each(function(o,s){var n=t(this);if(n.data("collagePlus"))return n.data("collagePlus");var r=new function(i,o){function s(e,i){function o(e){var i=t(e.img),o=i.parents(".image-with-dimensions");o[0]!=a&&(e.isLoaded?i.fadeIn(400,function(){o.removeClass("image-with-dimensions")}):(o.removeClass("image-with-dimensions"),i.hide(),o.addClass("broken-image-here")))}e.find(I).find(S+":not([data-imageconverted])").each(function(){var o=t(this),s=o.find("div[data-thumbnail]").eq(0),n=o.find("div[data-popup]").eq(0),r=s.data("thumbnail");if(s[0]==a&&(s=n,r=n.data("popup")),0!=i||0!=e.data("settings").waitForAllThumbsNoMatterWhat||s.data("width")==a&&s.data("height")==a){o.attr("data-imageconverted","yes");var d=s.attr("title");d==a&&(d=r);var l=t('<img style="margin:auto;" alt="'+d+'" title="'+d+'" src="'+r+'" />');1==i&&(l.attr("data-dont-wait-for-me","yes"),s.addClass("image-with-dimensions"),e.data("settings").waitUntilThumbLoads&&l.hide()),s.addClass("rbs-img-thumbnail-container").prepend(l)}}),1==i&&e.find(".image-with-dimensions").imagesLoadedMB().always(function(e){for(index in e.images)o(e.images[index])}).progress(function(e,t){o(t)})}function n(e){e.find(I).each(function(){var i=t(this),o=i.find(S),s=o.find("div[data-thumbnail]").eq(0),n=o.find("div[data-popup]").eq(0);s[0]==a&&(s=n);var r=i.css("display");"none"==r&&i.css("margin-top",99999999999999).show();var d=2*e.data("settings").borderSize;o.width(s.width()-d),o.height(s.height()-d),"none"==r&&i.css("margin-top",0).hide()})}function r(e){e.find(I).find(S).each(function(){var i=t(this),o=i.find("div[data-thumbnail]").eq(0),s=i.find("div[data-popup]").eq(0);o[0]==a&&(o=s);var n=parseFloat(o.data("width")),r=parseFloat(o.data("height")),d=i.parents(I).width()-e.data("settings").horizontalSpaceBetweenBoxes,l=r*d/n;o.css("width",d),o.data("width")==a&&o.data("height")==a||o.css("height",Math.floor(l))})}function d(e,i,o){var s,n=e.find(I);s="auto"==i?Math.floor((e.width()-1)/o):i,e.find(".rbs-imges-grid-sizer").css("width",s),n.each(function(e){var i=t(this),n=i.data("columns");n!=a&&parseInt(o)>=parseInt(n)?i.css("width",s*parseInt(n)):i.css("width",s)})}function l(t){var a=!1;for(var i in t.data("settings").resolutions){var o=t.data("settings").resolutions[i];if(o.maxWidth>=function(){var t=e,a="inner";return"innerWidth"in e||(a="client",t=document.documentElement||document.body),{width:t[a+"Width"],height:t[a+"Height"]}}().width){d(t,o.columnWidth,o.columns),a=!0;break}}0==a&&d(t,t.data("settings").columnWidth,t.data("settings").columns)}function c(e,t){B.addClass("filtering-isotope"),m(e,t),function(){var e=B.find(I+", ."+L),t=h();e.filter(t).removeClass("hidden-rbs-imges-by-filter").addClass("visible-rbs-imges-by-filter"),e.not(t).addClass("hidden-rbs-imges-by-filter").removeClass("visible-rbs-imges-by-filter")}(),f()}function f(){p().not(".rbs-img-loaded").length>0?v():g(),function(){var e=p().length;if(e<x.minBoxesPerFilter&&u().length>0)b(x.minBoxesPerFilter-e)}()}function m(e,t){z[t]=e,B.eveMB({filter:function(e){for(var t in e)(o=e[t])==a&&(e[t]="*");var i="";for(var t in e){var o=e[t];""==i?i=t:i.split(",").length<o.split(",").length&&(i=t)}var s=e[i];for(var t in e)if(t!=i)for(var n=e[t].split(","),r=0;r<n.length;r++){for(var d=s.split(","),l=[],c=0;c<d.length;c++)"*"==d[c]&&"*"==n[r]?n[r]="":("*"==n[r]&&(n[r]=""),"*"==d[c]&&(d[c]="")),l.push(d[c]+n[r]);s=l.join(",")}return s}(z)})}function p(){var e=B.find(I),t=h();return"*"!=t&&(e=e.filter(t)),e}function h(){var e=B.data("eveMB").options.filter;return""!=e&&e!=a||(e="*"),e}function u(e){var t=B.find("."+L),i=h();return"*"!=i&&e==a&&(t=t.filter(i)),t}function v(){W.html(x.LoadingWord),W.removeClass("rbs-imges-load-more"),W.addClass("rbs-imges-loading")}function g(){W.removeClass("rbs-imges-load-more"),W.removeClass("rbs-imges-loading"),W.removeClass("rbs-imges-no-more-entries"),u().length>0?(W.html(x.loadMoreWord),W.addClass("rbs-imges-load-more")):(W.html(x.noMoreEntriesWord),W.addClass("rbs-imges-no-more-entries"))}function b(e,a){if(1!=W.hasClass("rbs-imges-no-more-entries")){E++,v();var i=[];u(a).each(function(a){var o=t(this);a+1<=e&&(o.removeClass(L).addClass(T),o.hide(),i.push(this))}),B.eveMB("insert",t(i),function(){0==--E&&g(),B.eveMB("layout")})}}function y(e){if(e!=a){var i=B.find("."+T+", ."+L);""==e?i.addClass("search-match"):(i.removeClass("search-match"),B.find(x.searchTarget).each(function(){var a=t(this),i=a.parents("."+T+", ."+L);-1!==a.text().toLowerCase().indexOf(e.toLowerCase())&&i.addClass("search-match")})),setTimeout(function(){c(".search-match","search")},100)}}function w(e){var t=e.data("sort-ascending");return t==a&&(t=!0),e.data("sort-toggle")&&1==e.data("sort-toggle")&&e.data("sort-ascending",!t),t}function k(){if("#!"!=location.hash.substr(0,2))return null;var e=location.href.split("#!")[1];return{hash:e,src:e}}function C(){var e=t.magnificPopup.instance;if(e){var a=k();if(!a&&e.isOpen)e.close();else if(a)if(e.isOpen&&e.currItem&&e.currItem.el.parents(".rbs-imges-container").attr("id")==a.id){if(e.currItem.el.attr("data-mfp-src")!=a.src){var i=null;t.each(e.items,function(e,o){if((o.parsed?o.el:t(o)).attr("data-mfp-src")==a.src)return i=e,!1}),null!==i&&e.goTo(i)}}else B.filter('[id="'+a.id+'"]').find('.rbs-lightbox[data-mfp-src="'+a.src+'"]').trigger("click")}}var x=t.extend({},t.fn.collagePlus.defaults,o),B=t(i).addClass("rbs-imges-container"),I=".rbs-img",S=".rbs-img-image",T="rbs-img",L="rbs-img-hidden",M=Modernizr.csstransitions?"transition":"animate",z={},E=0;"default"==x.overlayEasing&&(x.overlayEasing="transition"==M?"_default":"swing");var W=t('<div class="rbs-imges-load-more button"></div>').insertAfter(B);W.wrap('<div class="rbs_gallery_button rbs_gallery_button_bottom"></div>'),W.addClass(x.loadMoreClass),x.resolutions.sort(function(e,t){return e.maxWidth-t.maxWidth}),B.data("settings",x),B.css({"margin-left":-x.horizontalSpaceBetweenBoxes}),B.find(I).removeClass(T).addClass(L);var _=t(x.sortContainer).find(x.sort).filter(".selected"),P=_.attr("data-sort-by"),q=w(_);B.append('<div class="rbs-imges-grid-sizer"></div>'),B.eveMB({itemSelector:I,masonry:{columnWidth:".rbs-imges-grid-sizer"},getSortData:x.getSortData,sortBy:P,sortAscending:q}),t.extend(EveMB.prototype,{resize:function(){var e=t(this.element);l(e),r(e),n(e),function(e){e.find(I).each(function(){var i=t(this).find(S),o=e.data("settings").overlayEffect;i.data("overlay-effect")!=a&&(o=i.data("overlay-effect")),"direction"==o.substr(0,9)&&i.find(".thumbnail-overlay").hide()}),e.eveMB("layout")}(e),this.isResizeBound&&this.needsResizeLayout()&&this.layout()}}),t.extend(EveMB.prototype,{_setContainerMeasure:function(e,i){if(e!==a){var o=this.size;o.isBorderBox&&(e+=i?o.paddingLeft+o.paddingRight+o.borderLeftWidth+o.borderRightWidth:o.paddingBottom+o.paddingTop+o.borderTopWidth+o.borderBottomWidth),e=Math.max(e,0),this.element.style[i?"width":"height"]=e+"px";var s=t(this.element);t.waypoints("refresh"),s.addClass("lazy-load-ready"),s.removeClass("filtering-isotope")}}}),t.extend(EveMB.prototype,{insert:function(e,i){var o=this.addItems(e);if(o.length){var d,c,f=t(this.element),m=f.find("."+L)[0],p=o.length;for(d=0;d<p;d++)c=o[d],m!=a?this.element.insertBefore(c.element,m):this.element.appendChild(c.element);var h=function(e){var a=t(e.img),i=a.parents("div[data-thumbnail], div[data-popup]");0==e.isLoaded&&(a.hide(),i.addClass("broken-image-here"))},u=this;!function(e){var a=t('<div class="rbs-img-container"></div').css({"margin-left":e.data("settings").horizontalSpaceBetweenBoxes,"margin-bottom":e.data("settings").verticalSpaceBetweenBoxes});e.find(I+":not([data-wrapper-added])").attr("data-wrapper-added","yes").wrapInner(a)}(f),l(f),r(f),function(e){e.find(I+", ."+L).find(S+":not([data-popupTrigger])").each(function(){var e=t(this),i=e.find("div[data-popup]").eq(0);e.attr("data-popupTrigger","yes");var o="mfp-image";"iframe"==i.data("type")?o="mfp-iframe":"inline"==i.data("type")?o="mfp-inline":"ajax"==i.data("type")?o="mfp-ajax":"link"==i.data("type")?o="mfp-link":"blanklink"==i.data("type")&&(o="mfp-blanklink");var s=e.find(".rbs-lightbox").addBack(".rbs-lightbox");s.attr("data-mfp-src",i.data("popup")).addClass(o),i.attr("title")!=a&&s.attr("mfp-title",i.attr("title")),i.attr("data-alt")!=a&&s.attr("mfp-alt",i.attr("data-alt"))})}(f),s(f,!1),f.find("img:not([data-dont-wait-for-me])").imagesLoadedMB().always(function(){0==x.waitForAllThumbsNoMatterWhat&&s(f,!0),f.find(I).addClass("rbs-img-loaded"),function(){var e=this._filter(o);for(this._noTransition(function(){this.hide(e)}),d=0;d<p;d++)o[d].isLayoutInstant=!0;for(this.arrange(),d=0;d<p;d++)delete o[d].isLayoutInstant;this.reveal(e)}.call(u),n(f),function(e){if(0!=e.data("settings").thumbnailOverlay){var i=e.find(I+":not([data-set-overlay-for-hover-effect])").attr("data-set-overlay-for-hover-effect","yes");i.find(".thumbnail-overlay").wrapInner("<div class='aligment'><div class='aligment'></div></div>"),i.each(function(){var i=t(this),o=i.find(S),s=e.data("settings").overlayEffect;if(o.data("overlay-effect")!=a&&(s=o.data("overlay-effect")),"push-up"==s||"push-down"==s||"push-up-100%"==s||"push-down-100%"==s){var n=o.find(".rbs-img-thumbnail-container"),r=o.find(".thumbnail-overlay").css("position","relative");"push-up-100%"!=s&&"push-down-100%"!=s||r.outerHeight(n.outerHeight(!1));var d=r.outerHeight(!1),l=t('<div class="wrapper-for-some-effects"></div');"push-up"==s||"push-up-100%"==s?r.appendTo(o):"push-down"!=s&&"push-down-100%"!=s||(r.prependTo(o),l.css("margin-top",-d)),o.wrapInner(l)}else if("reveal-top"==s||"reveal-top-100%"==s)i.addClass("position-reveal-effect"),c=i.find(".thumbnail-overlay").css("top",0),"reveal-top-100%"==s&&c.css("height","100%");else if("reveal-bottom"==s||"reveal-bottom-100%"==s){i.addClass("position-reveal-effect").addClass("position-bottom-reveal-effect");var c=i.find(".thumbnail-overlay").css("bottom",0);"reveal-bottom-100%"==s&&c.css("height","100%")}else if("direction"==s.substr(0,9))i.find(".thumbnail-overlay").css("height","100%");else if("fade"==s){var f=i.find(".thumbnail-overlay").hide();f.css({height:"100%",top:"0",left:"0"}),f.find(".fa").css({scale:1.4})}})}}(f),"function"==typeof i&&i();for(index in u.images){var e=u.images[index];h(e)}}).progress(function(e,t){h(t)})}}}),b(x.boxesToLoadStart,!0),W.on("click",function(){b(x.boxesToLoad)}),x.lazyLoad&&B.waypoint(function(e){B.hasClass("lazy-load-ready")&&"down"==e&&0==B.hasClass("filtering-isotope")&&(B.removeClass("lazy-load-ready"),b(x.boxesToLoad))},{context:e,continuous:!0,enabled:!0,horizontal:!1,offset:"bottom-in-view",triggerOnce:!1});var O=t(x.filterContainer);O.find(x.filter).on("click",function(e){var i=t(this),o=i.parents(x.filterContainer);o.find(x.filter).removeClass(x.filterContainerSelectClass),i.addClass(x.filterContainerSelectClass);var s=i.attr("data-filter"),n="filter";o.data("id")!=a&&(n=o.data("id")),c(s,n),e.preventDefault(),W.is(".rbs-imges-no-more-entries")||W.click()}),O.each(function(){var e=t(this),i=e.find(x.filter).filter(".selected");if(i[0]!=a){var o=i.attr("data-filter"),s="filter";e.data("id")!=a&&(s=e.data("id")),m(o,s)}}),f(),y(t(x.search).val()),t(x.search).on("keyup",function(){y(t(this).val())}),t(x.sortContainer).find(x.sort).on("click",function(e){var a=t(this);a.parents(x.sortContainer).find(x.sort).removeClass("selected"),a.addClass("selected");var i=a.attr("data-sort-by");B.eveMB({sortBy:i,sortAscending:w(a)}),e.preventDefault()}),B.on("mouseenter.hoverdir, mouseleave.hoverdir",S,function(e){if(0!=x.thumbnailOverlay){var i=t(this),o=x.overlayEffect;i.data("overlay-effect")!=a&&(o=i.data("overlay-effect"));var s=e.type,n=i.find(".rbs-img-thumbnail-container"),r=i.find(".thumbnail-overlay"),d=r.outerHeight(!1);if("push-up"==o||"push-up-100%"==o)l=i.find("div.wrapper-for-some-effects"),"mouseenter"===s?l.stop().show()[M]({"margin-top":-d},x.overlaySpeed,x.overlayEasing):l.stop()[M]({"margin-top":0},x.overlaySpeed,x.overlayEasing);else if("push-down"==o||"push-down-100%"==o){var l=i.find("div.wrapper-for-some-effects");"mouseenter"===s?l.stop().show()[M]({"margin-top":0},x.overlaySpeed,x.overlayEasing):l.stop()[M]({"margin-top":-d},x.overlaySpeed,x.overlayEasing)}else if("reveal-top"==o||"reveal-top-100%"==o)"mouseenter"===s?n.stop().show()[M]({"margin-top":d},x.overlaySpeed,x.overlayEasing):n.stop()[M]({"margin-top":0},x.overlaySpeed,x.overlayEasing);else if("reveal-bottom"==o||"reveal-bottom-100%"==o)"mouseenter"===s?n.stop().show()[M]({"margin-top":-d},x.overlaySpeed,x.overlayEasing):n.stop()[M]({"margin-top":0},x.overlaySpeed,x.overlayEasing);else if("direction"==o.substr(0,9)){var c=R(i,{x:e.pageX,y:e.pageY});"direction-top"==o?c=0:"direction-bottom"==o?c=2:"direction-right"==o?c=1:"direction-left"==o&&(c=3);var f=U(c,i);"mouseenter"==s?(r.css({left:f.from,top:f.to}),r.stop().show().fadeTo(0,1,function(){t(this).stop()[M]({left:0,top:0},x.overlaySpeed,x.overlayEasing)})):"direction-aware-fade"==o?r.fadeOut(700):r.stop()[M]({left:f.from,top:f.to},x.overlaySpeed,x.overlayEasing)}else if("fade"==o){"mouseenter"==s?(r.stop().fadeOut(0),r.fadeIn(x.overlaySpeed)):(r.stop().fadeIn(0),r.fadeOut(x.overlaySpeed));var m=r.find(".fa");"mouseenter"==s?(m.css({scale:1.4}),m[M]({scale:1},200)):(m.css({scale:1}),m[M]({scale:1.4},200))}}});var R=function(e,t){var a=e.width(),i=e.height(),o=(t.x-e.offset().left-a/2)*(a>i?i/a:1),s=(t.y-e.offset().top-i/2)*(i>a?a/i:1);return Math.round((Math.atan2(s,o)*(180/Math.PI)+180)/90+3)%4},U=function(e,t){var a,i;switch(e){case 0:x.reverse,a=0,i=-t.height();break;case 1:x.reverse?(a=-t.width(),i=0):(a=t.width(),i=0);break;case 2:x.reverse?(a=0,i=-t.height()):(a=0,i=t.height());break;case 3:x.reverse?(a=t.width(),i=0):(a=-t.width(),i=0)}return{from:a,to:i}},j=".rbs-lightbox[data-mfp-src]";if(x.considerFilteringInPopup&&(j=I+":not(.hidden-rbs-imges-by-filter) .rbs-lightbox[data-mfp-src], ."+L+":not(.hidden-rbs-imges-by-filter) .rbs-lightbox[data-mfp-src]"),x.showOnlyLoadedBoxesInPopup&&(j=I+":visible .rbs-lightbox[data-mfp-src]"),x.magnificPopup){var F={delegate:j,type:"image",removalDelay:200,closeOnContentClick:!1,alignTop:x.alignTop,preload:x.preload,mainClass:"my-mfp-slide-bottom",gallery:{enabled:x.gallery},closeMarkup:'<button title="%title%" class="mfp-close"></button>',titleSrc:"title",iframe:{patterns:{youtube:{index:"youtube.com/",id:"v=",src:"https://www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"https://player.vimeo.com/video/%id%?autoplay=1"}},markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" frameborder="0" allowfullscreen></iframe><div class="mfp-bottom-bar" style="margin-top:4px;"><div class="mfp-title"></div><div class="mfp-counter"></div></div></div>'},callbacks:{change:function(){var i=t(this.currItem.el);return i.is(".mfp-link")?(e.location.href=t(this.currItem).attr("src"),!1):i.is(".mfp-blanklink")?(e.open(t(this.currItem).attr("src")),setTimeout(function(){t.magnificPopup.instance.close()},5),!1):(setTimeout(function(){var e="";if(x.descBox){t(".mfp-desc-block").remove();var o=i.attr("data-descbox");void 0!==o&&t(".mfp-img").after("<div class='mfp-desc-block "+x.descBoxClass+"'>"+o+"</div>")}i.attr("mfp-title")==a||x.hideTitle?t(".mfp-title").html(""):t(".mfp-title").html(i.attr("mfp-title"));var s=i.attr("data-mfp-src");e="",x.hideSourceImage&&(e=e+' <a class="image-source-link" href="'+s+'" target="_blank"></a>');var n=location.href,r=(location.href.replace(location.hash,""),i.attr("mfp-title")),d=i.attr("mfp-alt"),l=n;""==d&&(d=r),t(".mfp-img").attr("alt",d),t(".mfp-img").attr("title",r);var c="";x.facebook&&(c+="<div class='rbs-imges-facebook fa fa-facebook-square' data-src="+s+" data-url='"+l+"'><div class='robo_gallery_hide_block'>"+r+"</div></div>"),x.twitter&&(c+="<div class='rbs-imges-twitter fa fa-twitter-square' data-src="+s+" data-url='"+l+"'><div class='robo_gallery_hide_block'>"+r+"</div></div>"),x.googleplus&&(c+="<div class='rbs-imges-googleplus fa fa-google-plus-square' data-src="+s+" data-url='"+l+"'></div>"),x.pinterest&&(c+="<div class='rbs-imges-pinterest fa fa-pinterest-square' data-src='"+s+"' data-url='"+l+"' ><div class='robo_gallery_hide_block'>"+r+"</div></div>"),x.vk&&(c+="<div class='rbs-imges-vk fa fa-vk' data-src='"+s+"' data-url='"+l+"' ><div class='robo_gallery_hide_block'>"+r+"</div></div>"),c=c?"<div class='rbs-imges-social-container'>"+c+"</div>":"";var f=t(".mfp-title").html();t(".mfp-title").html(f+c+e)},5),void(x.deepLinking&&(location.hash="#!"+i.attr("data-mfp-src"))))},beforeOpen:function(){1==x.touch&&jQuery("body").swipe("enable"),this.container.data("scrollTop",parseInt(t(e).scrollTop()))},open:function(){t("html, body").scrollTop(this.container.data("scrollTop"))},close:function(){1==x.touch&&jQuery("body").swipe("disable"),x.deepLinking&&(e.location.hash="#!")}}};t.extend(F,x.lightboxOptions),B.magnificPopup(F)}if(x.deepLinking){var D=k();D&&B.find('.rbs-lightbox[data-mfp-src="'+D.src+'"]').trigger("click"),e.addEventListener?e.addEventListener("hashchange",C,!1):e.attachEvent&&e.attachEvent("onhashchange",C)}var A=function(t){e.open(t,"ftgw","location=1,status=1,scrollbars=1,width=600,height=400").moveTo(screen.width/2-300,screen.height/2-200)};return t("body").on("click","div.rbs-imges-facebook",function(){var e=t(this),a=encodeURIComponent(e.find("div").html()),i=encodeURIComponent(e.data("url")),o=encodeURIComponent(e.data("src"));A(i="https://www.facebook.com/sharer/sharer.php?u="+i+"&picture="+o+"&title="+a)}),t("body").on("click","div.rbs-imges-twitter",function(){var e=t(this),a=encodeURIComponent(e.data("url")),i=encodeURIComponent(e.find("div").html());A(a="https://twitter.com/intent/tweet?url="+a+"&text="+i)}),t("body").on("click","div.rbs-imges-googleplus",function(){var e=t(this),a=encodeURIComponent(e.data("url"));A(a="https://plus.google.com/share?url="+a)}),t("body").on("click","div.rbs-imges-pinterest",function(){var e=t(this),a=encodeURIComponent(e.data("url")),i=encodeURIComponent(e.data("src")),o=encodeURIComponent(e.find("div").html());A(a="http://pinterest.com/pin/create/button/?url="+a+"&media="+i+"&description="+o)}),t("body").on("click","div.rbs-imges-vk",function(){var e=t(this),a=encodeURIComponent(e.data("url")),i=encodeURIComponent(e.data("src")),o=encodeURIComponent(e.find("div").html());A(a="http://vk.com/share.php?url="+a+"&image="+i+"&title="+o)}),this}(this,i);n.data("collagePlus",r),t(".thumbnail-overlay a",this).click(function(a){a.preventDefault();var i=t(this).attr("href");return"_blank"==t(this).attr("target")?e.open(i,"_blank"):location.href=i,!1})})},t.fn.collagePlus.defaults={boxesToLoadStart:8,boxesToLoad:4,minBoxesPerFilter:0,lazyLoad:!0,horizontalSpaceBetweenBoxes:15,verticalSpaceBetweenBoxes:15,columnWidth:"auto",columns:3,borderSize:0,resolutions:[{maxWidth:960,columnWidth:"auto",columns:3},{maxWidth:650,columnWidth:"auto",columns:2},{maxWidth:450,columnWidth:"auto",columns:1}],filterContainer:"#filter",filterContainerSelectClass:"active",filter:"a",search:"",searchTarget:".rbs-img-title",sortContainer:"",sort:"a",getSortData:{title:".rbs-img-title",text:".rbs-img-text"},waitUntilThumbLoads:!0,waitForAllThumbsNoMatterWhat:!1,thumbnailOverlay:!0,overlayEffect:"fade",overlaySpeed:200,overlayEasing:"default",showOnlyLoadedBoxesInPopup:!1,considerFilteringInPopup:!0,deepLinking:!1,gallery:!0,LoadingWord:"Loading...",loadMoreWord:"Load More",loadMoreClass:"",noMoreEntriesWord:"No More Entries",alignTop:!1,preload:[0,2],magnificPopup:!0,facebook:!1,twitter:!1,googleplus:!1,pinterest:!1,vk:!1,hideTitle:!1,hideCounter:!1,lightboxOptions:{},hideSourceImage:!1,touch:!1,descBox:!1,descBoxClass:"",descBoxSource:""},function(){t(".rbs-imges-drop-down").each(function(){!function(a){function i(){r.hide()}function o(){r.show()}function s(){var e=r.find(".selected"),t=e.length?e.parents("li"):r.children().first();d.html(t.clone().find("a").append('<span class="fa fa-sort-desc"></span>').end().html())}function n(e){e.preventDefault(),e.stopPropagation(),t(this).parents("li").siblings("li").find("a").removeClass("selected").end().end().find("a").addClass("selected"),s()}var r=a.find(".rbs-imges-drop-down-menu"),d=a.find(".rbs-imges-drop-down-header");s(),function(){var t=!1;return function(e){(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0,4)))&&(t=!0)}(navigator.userAgent||navigator.vendor||e.opera),t}()?(t("body").on("click",function(){r.is(":visible")&&i()}),d.bind("click",function(e){e.stopPropagation(),r.is(":visible")?i():o()}),r.find("> li > *").bind("click",n)):(d.bind("mouseout",i).bind("mouseover",o),r.find("> li > *").bind("mouseout",i).bind("mouseover",o).bind("click",n)),d.on("click","a",function(e){e.preventDefault()})}(t(this))})}()}(window,jQuery);
|
67 |
/*
|
68 |
* RoboGallery Script Version: 1.0
|
69 |
-
* Copyright (c) 2014-
|
70 |
* Available only in https://robosoft.co/robogallery/
|
71 |
*/
|
72 |
function robo_gallery_js_check_mobile(){var e=!1;return function(o){(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(o)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(o.substr(0,4)))&&(e=!0)}(navigator.userAgent||navigator.vendor||window.opera),e}jQuery,jQuery(".robo_gallery").on("click",".rbs-lightbox.mfp-link",function(e){e.preventDefault(),window.location.href=jQuery(this).data("mfp-src")}),jQuery(".robo_gallery").each(function(){var e=window[jQuery(this).data("options")],o=jQuery.extend({},e);o.noHoverOnMobile&&robo_gallery_js_check_mobile()&&(o.thumbnailOverlay=!1),jQuery(this).on("beforeInitGallery",function(e){e.preventDefault(),console.log("beforeInitGallery")});jQuery(o.mainContainer).css("display","block");jQuery(o.loadingContainer).css("display","none");var i=jQuery(this).collagePlus(o);1==o.touch&&(jQuery("body").swipe({swipeLeft:function(e,o,i,a,r){jQuery(".mfp-arrow-left").magnificPopup("prev")},swipeRight:function(){jQuery(".mfp-arrow-right").magnificPopup("next")},threshold:50}),jQuery("body").swipe("disable")),void 0!=roboGalleryDelay&&roboGalleryDelay>0&&setTimeout(function(){i.eveMB("resize")},roboGalleryDelay)});
|
66 |
!function(e,t,a){t.fn.collagePlus=function(i){return this.each(function(o,s){var n=t(this);if(n.data("collagePlus"))return n.data("collagePlus");var r=new function(i,o){function s(e,i){function o(e){var i=t(e.img),o=i.parents(".image-with-dimensions");o[0]!=a&&(e.isLoaded?i.fadeIn(400,function(){o.removeClass("image-with-dimensions")}):(o.removeClass("image-with-dimensions"),i.hide(),o.addClass("broken-image-here")))}e.find(I).find(S+":not([data-imageconverted])").each(function(){var o=t(this),s=o.find("div[data-thumbnail]").eq(0),n=o.find("div[data-popup]").eq(0),r=s.data("thumbnail");if(s[0]==a&&(s=n,r=n.data("popup")),0!=i||0!=e.data("settings").waitForAllThumbsNoMatterWhat||s.data("width")==a&&s.data("height")==a){o.attr("data-imageconverted","yes");var d=s.attr("title");d==a&&(d=r);var l=t('<img style="margin:auto;" alt="'+d+'" title="'+d+'" src="'+r+'" />');1==i&&(l.attr("data-dont-wait-for-me","yes"),s.addClass("image-with-dimensions"),e.data("settings").waitUntilThumbLoads&&l.hide()),s.addClass("rbs-img-thumbnail-container").prepend(l)}}),1==i&&e.find(".image-with-dimensions").imagesLoadedMB().always(function(e){for(index in e.images)o(e.images[index])}).progress(function(e,t){o(t)})}function n(e){e.find(I).each(function(){var i=t(this),o=i.find(S),s=o.find("div[data-thumbnail]").eq(0),n=o.find("div[data-popup]").eq(0);s[0]==a&&(s=n);var r=i.css("display");"none"==r&&i.css("margin-top",99999999999999).show();var d=2*e.data("settings").borderSize;o.width(s.width()-d),o.height(s.height()-d),"none"==r&&i.css("margin-top",0).hide()})}function r(e){e.find(I).find(S).each(function(){var i=t(this),o=i.find("div[data-thumbnail]").eq(0),s=i.find("div[data-popup]").eq(0);o[0]==a&&(o=s);var n=parseFloat(o.data("width")),r=parseFloat(o.data("height")),d=i.parents(I).width()-e.data("settings").horizontalSpaceBetweenBoxes,l=r*d/n;o.css("width",d),o.data("width")==a&&o.data("height")==a||o.css("height",Math.floor(l))})}function d(e,i,o){var s,n=e.find(I);s="auto"==i?Math.floor((e.width()-1)/o):i,e.find(".rbs-imges-grid-sizer").css("width",s),n.each(function(e){var i=t(this),n=i.data("columns");n!=a&&parseInt(o)>=parseInt(n)?i.css("width",s*parseInt(n)):i.css("width",s)})}function l(t){var a=!1;for(var i in t.data("settings").resolutions){var o=t.data("settings").resolutions[i];if(o.maxWidth>=function(){var t=e,a="inner";return"innerWidth"in e||(a="client",t=document.documentElement||document.body),{width:t[a+"Width"],height:t[a+"Height"]}}().width){d(t,o.columnWidth,o.columns),a=!0;break}}0==a&&d(t,t.data("settings").columnWidth,t.data("settings").columns)}function c(e,t){B.addClass("filtering-isotope"),m(e,t),function(){var e=B.find(I+", ."+L),t=h();e.filter(t).removeClass("hidden-rbs-imges-by-filter").addClass("visible-rbs-imges-by-filter"),e.not(t).addClass("hidden-rbs-imges-by-filter").removeClass("visible-rbs-imges-by-filter")}(),f()}function f(){p().not(".rbs-img-loaded").length>0?v():g(),function(){var e=p().length;if(e<x.minBoxesPerFilter&&u().length>0)b(x.minBoxesPerFilter-e)}()}function m(e,t){z[t]=e,B.eveMB({filter:function(e){for(var t in e)(o=e[t])==a&&(e[t]="*");var i="";for(var t in e){var o=e[t];""==i?i=t:i.split(",").length<o.split(",").length&&(i=t)}var s=e[i];for(var t in e)if(t!=i)for(var n=e[t].split(","),r=0;r<n.length;r++){for(var d=s.split(","),l=[],c=0;c<d.length;c++)"*"==d[c]&&"*"==n[r]?n[r]="":("*"==n[r]&&(n[r]=""),"*"==d[c]&&(d[c]="")),l.push(d[c]+n[r]);s=l.join(",")}return s}(z)})}function p(){var e=B.find(I),t=h();return"*"!=t&&(e=e.filter(t)),e}function h(){var e=B.data("eveMB").options.filter;return""!=e&&e!=a||(e="*"),e}function u(e){var t=B.find("."+L),i=h();return"*"!=i&&e==a&&(t=t.filter(i)),t}function v(){W.html(x.LoadingWord),W.removeClass("rbs-imges-load-more"),W.addClass("rbs-imges-loading")}function g(){W.removeClass("rbs-imges-load-more"),W.removeClass("rbs-imges-loading"),W.removeClass("rbs-imges-no-more-entries"),u().length>0?(W.html(x.loadMoreWord),W.addClass("rbs-imges-load-more")):(W.html(x.noMoreEntriesWord),W.addClass("rbs-imges-no-more-entries"))}function b(e,a){if(1!=W.hasClass("rbs-imges-no-more-entries")){E++,v();var i=[];u(a).each(function(a){var o=t(this);a+1<=e&&(o.removeClass(L).addClass(T),o.hide(),i.push(this))}),B.eveMB("insert",t(i),function(){0==--E&&g(),B.eveMB("layout")})}}function y(e){if(e!=a){var i=B.find("."+T+", ."+L);""==e?i.addClass("search-match"):(i.removeClass("search-match"),B.find(x.searchTarget).each(function(){var a=t(this),i=a.parents("."+T+", ."+L);-1!==a.text().toLowerCase().indexOf(e.toLowerCase())&&i.addClass("search-match")})),setTimeout(function(){c(".search-match","search")},100)}}function w(e){var t=e.data("sort-ascending");return t==a&&(t=!0),e.data("sort-toggle")&&1==e.data("sort-toggle")&&e.data("sort-ascending",!t),t}function k(){if("#!"!=location.hash.substr(0,2))return null;var e=location.href.split("#!")[1];return{hash:e,src:e}}function C(){var e=t.magnificPopup.instance;if(e){var a=k();if(!a&&e.isOpen)e.close();else if(a)if(e.isOpen&&e.currItem&&e.currItem.el.parents(".rbs-imges-container").attr("id")==a.id){if(e.currItem.el.attr("data-mfp-src")!=a.src){var i=null;t.each(e.items,function(e,o){if((o.parsed?o.el:t(o)).attr("data-mfp-src")==a.src)return i=e,!1}),null!==i&&e.goTo(i)}}else B.filter('[id="'+a.id+'"]').find('.rbs-lightbox[data-mfp-src="'+a.src+'"]').trigger("click")}}var x=t.extend({},t.fn.collagePlus.defaults,o),B=t(i).addClass("rbs-imges-container"),I=".rbs-img",S=".rbs-img-image",T="rbs-img",L="rbs-img-hidden",M=Modernizr.csstransitions?"transition":"animate",z={},E=0;"default"==x.overlayEasing&&(x.overlayEasing="transition"==M?"_default":"swing");var W=t('<div class="rbs-imges-load-more button"></div>').insertAfter(B);W.wrap('<div class="rbs_gallery_button rbs_gallery_button_bottom"></div>'),W.addClass(x.loadMoreClass),x.resolutions.sort(function(e,t){return e.maxWidth-t.maxWidth}),B.data("settings",x),B.css({"margin-left":-x.horizontalSpaceBetweenBoxes}),B.find(I).removeClass(T).addClass(L);var _=t(x.sortContainer).find(x.sort).filter(".selected"),P=_.attr("data-sort-by"),q=w(_);B.append('<div class="rbs-imges-grid-sizer"></div>'),B.eveMB({itemSelector:I,masonry:{columnWidth:".rbs-imges-grid-sizer"},getSortData:x.getSortData,sortBy:P,sortAscending:q}),t.extend(EveMB.prototype,{resize:function(){var e=t(this.element);l(e),r(e),n(e),function(e){e.find(I).each(function(){var i=t(this).find(S),o=e.data("settings").overlayEffect;i.data("overlay-effect")!=a&&(o=i.data("overlay-effect")),"direction"==o.substr(0,9)&&i.find(".thumbnail-overlay").hide()}),e.eveMB("layout")}(e),this.isResizeBound&&this.needsResizeLayout()&&this.layout()}}),t.extend(EveMB.prototype,{_setContainerMeasure:function(e,i){if(e!==a){var o=this.size;o.isBorderBox&&(e+=i?o.paddingLeft+o.paddingRight+o.borderLeftWidth+o.borderRightWidth:o.paddingBottom+o.paddingTop+o.borderTopWidth+o.borderBottomWidth),e=Math.max(e,0),this.element.style[i?"width":"height"]=e+"px";var s=t(this.element);t.waypoints("refresh"),s.addClass("lazy-load-ready"),s.removeClass("filtering-isotope")}}}),t.extend(EveMB.prototype,{insert:function(e,i){var o=this.addItems(e);if(o.length){var d,c,f=t(this.element),m=f.find("."+L)[0],p=o.length;for(d=0;d<p;d++)c=o[d],m!=a?this.element.insertBefore(c.element,m):this.element.appendChild(c.element);var h=function(e){var a=t(e.img),i=a.parents("div[data-thumbnail], div[data-popup]");0==e.isLoaded&&(a.hide(),i.addClass("broken-image-here"))},u=this;!function(e){var a=t('<div class="rbs-img-container"></div').css({"margin-left":e.data("settings").horizontalSpaceBetweenBoxes,"margin-bottom":e.data("settings").verticalSpaceBetweenBoxes});e.find(I+":not([data-wrapper-added])").attr("data-wrapper-added","yes").wrapInner(a)}(f),l(f),r(f),function(e){e.find(I+", ."+L).find(S+":not([data-popupTrigger])").each(function(){var e=t(this),i=e.find("div[data-popup]").eq(0);e.attr("data-popupTrigger","yes");var o="mfp-image";"iframe"==i.data("type")?o="mfp-iframe":"inline"==i.data("type")?o="mfp-inline":"ajax"==i.data("type")?o="mfp-ajax":"link"==i.data("type")?o="mfp-link":"blanklink"==i.data("type")&&(o="mfp-blanklink");var s=e.find(".rbs-lightbox").addBack(".rbs-lightbox");s.attr("data-mfp-src",i.data("popup")).addClass(o),i.attr("title")!=a&&s.attr("mfp-title",i.attr("title")),i.attr("data-alt")!=a&&s.attr("mfp-alt",i.attr("data-alt"))})}(f),s(f,!1),f.find("img:not([data-dont-wait-for-me])").imagesLoadedMB().always(function(){0==x.waitForAllThumbsNoMatterWhat&&s(f,!0),f.find(I).addClass("rbs-img-loaded"),function(){var e=this._filter(o);for(this._noTransition(function(){this.hide(e)}),d=0;d<p;d++)o[d].isLayoutInstant=!0;for(this.arrange(),d=0;d<p;d++)delete o[d].isLayoutInstant;this.reveal(e)}.call(u),n(f),function(e){if(0!=e.data("settings").thumbnailOverlay){var i=e.find(I+":not([data-set-overlay-for-hover-effect])").attr("data-set-overlay-for-hover-effect","yes");i.find(".thumbnail-overlay").wrapInner("<div class='aligment'><div class='aligment'></div></div>"),i.each(function(){var i=t(this),o=i.find(S),s=e.data("settings").overlayEffect;if(o.data("overlay-effect")!=a&&(s=o.data("overlay-effect")),"push-up"==s||"push-down"==s||"push-up-100%"==s||"push-down-100%"==s){var n=o.find(".rbs-img-thumbnail-container"),r=o.find(".thumbnail-overlay").css("position","relative");"push-up-100%"!=s&&"push-down-100%"!=s||r.outerHeight(n.outerHeight(!1));var d=r.outerHeight(!1),l=t('<div class="wrapper-for-some-effects"></div');"push-up"==s||"push-up-100%"==s?r.appendTo(o):"push-down"!=s&&"push-down-100%"!=s||(r.prependTo(o),l.css("margin-top",-d)),o.wrapInner(l)}else if("reveal-top"==s||"reveal-top-100%"==s)i.addClass("position-reveal-effect"),c=i.find(".thumbnail-overlay").css("top",0),"reveal-top-100%"==s&&c.css("height","100%");else if("reveal-bottom"==s||"reveal-bottom-100%"==s){i.addClass("position-reveal-effect").addClass("position-bottom-reveal-effect");var c=i.find(".thumbnail-overlay").css("bottom",0);"reveal-bottom-100%"==s&&c.css("height","100%")}else if("direction"==s.substr(0,9))i.find(".thumbnail-overlay").css("height","100%");else if("fade"==s){var f=i.find(".thumbnail-overlay").hide();f.css({height:"100%",top:"0",left:"0"}),f.find(".fa").css({scale:1.4})}})}}(f),"function"==typeof i&&i();for(index in u.images){var e=u.images[index];h(e)}}).progress(function(e,t){h(t)})}}}),b(x.boxesToLoadStart,!0),W.on("click",function(){b(x.boxesToLoad)}),x.lazyLoad&&B.waypoint(function(e){B.hasClass("lazy-load-ready")&&"down"==e&&0==B.hasClass("filtering-isotope")&&(B.removeClass("lazy-load-ready"),b(x.boxesToLoad))},{context:e,continuous:!0,enabled:!0,horizontal:!1,offset:"bottom-in-view",triggerOnce:!1});var O=t(x.filterContainer);O.find(x.filter).on("click",function(e){var i=t(this),o=i.parents(x.filterContainer);o.find(x.filter).removeClass(x.filterContainerSelectClass),i.addClass(x.filterContainerSelectClass);var s=i.attr("data-filter"),n="filter";o.data("id")!=a&&(n=o.data("id")),c(s,n),e.preventDefault(),W.is(".rbs-imges-no-more-entries")||W.click()}),O.each(function(){var e=t(this),i=e.find(x.filter).filter(".selected");if(i[0]!=a){var o=i.attr("data-filter"),s="filter";e.data("id")!=a&&(s=e.data("id")),m(o,s)}}),f(),y(t(x.search).val()),t(x.search).on("keyup",function(){y(t(this).val())}),t(x.sortContainer).find(x.sort).on("click",function(e){var a=t(this);a.parents(x.sortContainer).find(x.sort).removeClass("selected"),a.addClass("selected");var i=a.attr("data-sort-by");B.eveMB({sortBy:i,sortAscending:w(a)}),e.preventDefault()}),B.on("mouseenter.hoverdir, mouseleave.hoverdir",S,function(e){if(0!=x.thumbnailOverlay){var i=t(this),o=x.overlayEffect;i.data("overlay-effect")!=a&&(o=i.data("overlay-effect"));var s=e.type,n=i.find(".rbs-img-thumbnail-container"),r=i.find(".thumbnail-overlay"),d=r.outerHeight(!1);if("push-up"==o||"push-up-100%"==o)l=i.find("div.wrapper-for-some-effects"),"mouseenter"===s?l.stop().show()[M]({"margin-top":-d},x.overlaySpeed,x.overlayEasing):l.stop()[M]({"margin-top":0},x.overlaySpeed,x.overlayEasing);else if("push-down"==o||"push-down-100%"==o){var l=i.find("div.wrapper-for-some-effects");"mouseenter"===s?l.stop().show()[M]({"margin-top":0},x.overlaySpeed,x.overlayEasing):l.stop()[M]({"margin-top":-d},x.overlaySpeed,x.overlayEasing)}else if("reveal-top"==o||"reveal-top-100%"==o)"mouseenter"===s?n.stop().show()[M]({"margin-top":d},x.overlaySpeed,x.overlayEasing):n.stop()[M]({"margin-top":0},x.overlaySpeed,x.overlayEasing);else if("reveal-bottom"==o||"reveal-bottom-100%"==o)"mouseenter"===s?n.stop().show()[M]({"margin-top":-d},x.overlaySpeed,x.overlayEasing):n.stop()[M]({"margin-top":0},x.overlaySpeed,x.overlayEasing);else if("direction"==o.substr(0,9)){var c=R(i,{x:e.pageX,y:e.pageY});"direction-top"==o?c=0:"direction-bottom"==o?c=2:"direction-right"==o?c=1:"direction-left"==o&&(c=3);var f=U(c,i);"mouseenter"==s?(r.css({left:f.from,top:f.to}),r.stop().show().fadeTo(0,1,function(){t(this).stop()[M]({left:0,top:0},x.overlaySpeed,x.overlayEasing)})):"direction-aware-fade"==o?r.fadeOut(700):r.stop()[M]({left:f.from,top:f.to},x.overlaySpeed,x.overlayEasing)}else if("fade"==o){"mouseenter"==s?(r.stop().fadeOut(0),r.fadeIn(x.overlaySpeed)):(r.stop().fadeIn(0),r.fadeOut(x.overlaySpeed));var m=r.find(".fa");"mouseenter"==s?(m.css({scale:1.4}),m[M]({scale:1},200)):(m.css({scale:1}),m[M]({scale:1.4},200))}}});var R=function(e,t){var a=e.width(),i=e.height(),o=(t.x-e.offset().left-a/2)*(a>i?i/a:1),s=(t.y-e.offset().top-i/2)*(i>a?a/i:1);return Math.round((Math.atan2(s,o)*(180/Math.PI)+180)/90+3)%4},U=function(e,t){var a,i;switch(e){case 0:x.reverse,a=0,i=-t.height();break;case 1:x.reverse?(a=-t.width(),i=0):(a=t.width(),i=0);break;case 2:x.reverse?(a=0,i=-t.height()):(a=0,i=t.height());break;case 3:x.reverse?(a=t.width(),i=0):(a=-t.width(),i=0)}return{from:a,to:i}},j=".rbs-lightbox[data-mfp-src]";if(x.considerFilteringInPopup&&(j=I+":not(.hidden-rbs-imges-by-filter) .rbs-lightbox[data-mfp-src], ."+L+":not(.hidden-rbs-imges-by-filter) .rbs-lightbox[data-mfp-src]"),x.showOnlyLoadedBoxesInPopup&&(j=I+":visible .rbs-lightbox[data-mfp-src]"),x.magnificPopup){var F={delegate:j,type:"image",removalDelay:200,closeOnContentClick:!1,alignTop:x.alignTop,preload:x.preload,mainClass:"my-mfp-slide-bottom",gallery:{enabled:x.gallery},closeMarkup:'<button title="%title%" class="mfp-close"></button>',titleSrc:"title",iframe:{patterns:{youtube:{index:"youtube.com/",id:"v=",src:"https://www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"https://player.vimeo.com/video/%id%?autoplay=1"}},markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" frameborder="0" allowfullscreen></iframe><div class="mfp-bottom-bar" style="margin-top:4px;"><div class="mfp-title"></div><div class="mfp-counter"></div></div></div>'},callbacks:{change:function(){var i=t(this.currItem.el);return i.is(".mfp-link")?(e.location.href=t(this.currItem).attr("src"),!1):i.is(".mfp-blanklink")?(e.open(t(this.currItem).attr("src")),setTimeout(function(){t.magnificPopup.instance.close()},5),!1):(setTimeout(function(){var e="";if(x.descBox){t(".mfp-desc-block").remove();var o=i.attr("data-descbox");void 0!==o&&t(".mfp-img").after("<div class='mfp-desc-block "+x.descBoxClass+"'>"+o+"</div>")}i.attr("mfp-title")==a||x.hideTitle?t(".mfp-title").html(""):t(".mfp-title").html(i.attr("mfp-title"));var s=i.attr("data-mfp-src");e="",x.hideSourceImage&&(e=e+' <a class="image-source-link" href="'+s+'" target="_blank"></a>');var n=location.href,r=(location.href.replace(location.hash,""),i.attr("mfp-title")),d=i.attr("mfp-alt"),l=n;""==d&&(d=r),t(".mfp-img").attr("alt",d),t(".mfp-img").attr("title",r);var c="";x.facebook&&(c+="<div class='rbs-imges-facebook fa fa-facebook-square' data-src="+s+" data-url='"+l+"'><div class='robo_gallery_hide_block'>"+r+"</div></div>"),x.twitter&&(c+="<div class='rbs-imges-twitter fa fa-twitter-square' data-src="+s+" data-url='"+l+"'><div class='robo_gallery_hide_block'>"+r+"</div></div>"),x.googleplus&&(c+="<div class='rbs-imges-googleplus fa fa-google-plus-square' data-src="+s+" data-url='"+l+"'></div>"),x.pinterest&&(c+="<div class='rbs-imges-pinterest fa fa-pinterest-square' data-src='"+s+"' data-url='"+l+"' ><div class='robo_gallery_hide_block'>"+r+"</div></div>"),x.vk&&(c+="<div class='rbs-imges-vk fa fa-vk' data-src='"+s+"' data-url='"+l+"' ><div class='robo_gallery_hide_block'>"+r+"</div></div>"),c=c?"<div class='rbs-imges-social-container'>"+c+"</div>":"";var f=t(".mfp-title").html();t(".mfp-title").html(f+c+e)},5),void(x.deepLinking&&(location.hash="#!"+i.attr("data-mfp-src"))))},beforeOpen:function(){1==x.touch&&jQuery("body").swipe("enable"),this.container.data("scrollTop",parseInt(t(e).scrollTop()))},open:function(){t("html, body").scrollTop(this.container.data("scrollTop"))},close:function(){1==x.touch&&jQuery("body").swipe("disable"),x.deepLinking&&(e.location.hash="#!")}}};t.extend(F,x.lightboxOptions),B.magnificPopup(F)}if(x.deepLinking){var D=k();D&&B.find('.rbs-lightbox[data-mfp-src="'+D.src+'"]').trigger("click"),e.addEventListener?e.addEventListener("hashchange",C,!1):e.attachEvent&&e.attachEvent("onhashchange",C)}var A=function(t){e.open(t,"ftgw","location=1,status=1,scrollbars=1,width=600,height=400").moveTo(screen.width/2-300,screen.height/2-200)};return t("body").on("click","div.rbs-imges-facebook",function(){var e=t(this),a=encodeURIComponent(e.find("div").html()),i=encodeURIComponent(e.data("url")),o=encodeURIComponent(e.data("src"));A(i="https://www.facebook.com/sharer/sharer.php?u="+i+"&picture="+o+"&title="+a)}),t("body").on("click","div.rbs-imges-twitter",function(){var e=t(this),a=encodeURIComponent(e.data("url")),i=encodeURIComponent(e.find("div").html());A(a="https://twitter.com/intent/tweet?url="+a+"&text="+i)}),t("body").on("click","div.rbs-imges-googleplus",function(){var e=t(this),a=encodeURIComponent(e.data("url"));A(a="https://plus.google.com/share?url="+a)}),t("body").on("click","div.rbs-imges-pinterest",function(){var e=t(this),a=encodeURIComponent(e.data("url")),i=encodeURIComponent(e.data("src")),o=encodeURIComponent(e.find("div").html());A(a="http://pinterest.com/pin/create/button/?url="+a+"&media="+i+"&description="+o)}),t("body").on("click","div.rbs-imges-vk",function(){var e=t(this),a=encodeURIComponent(e.data("url")),i=encodeURIComponent(e.data("src")),o=encodeURIComponent(e.find("div").html());A(a="http://vk.com/share.php?url="+a+"&image="+i+"&title="+o)}),this}(this,i);n.data("collagePlus",r),t(".thumbnail-overlay a",this).click(function(a){a.preventDefault();var i=t(this).attr("href");return"_blank"==t(this).attr("target")?e.open(i,"_blank"):location.href=i,!1})})},t.fn.collagePlus.defaults={boxesToLoadStart:8,boxesToLoad:4,minBoxesPerFilter:0,lazyLoad:!0,horizontalSpaceBetweenBoxes:15,verticalSpaceBetweenBoxes:15,columnWidth:"auto",columns:3,borderSize:0,resolutions:[{maxWidth:960,columnWidth:"auto",columns:3},{maxWidth:650,columnWidth:"auto",columns:2},{maxWidth:450,columnWidth:"auto",columns:1}],filterContainer:"#filter",filterContainerSelectClass:"active",filter:"a",search:"",searchTarget:".rbs-img-title",sortContainer:"",sort:"a",getSortData:{title:".rbs-img-title",text:".rbs-img-text"},waitUntilThumbLoads:!0,waitForAllThumbsNoMatterWhat:!1,thumbnailOverlay:!0,overlayEffect:"fade",overlaySpeed:200,overlayEasing:"default",showOnlyLoadedBoxesInPopup:!1,considerFilteringInPopup:!0,deepLinking:!1,gallery:!0,LoadingWord:"Loading...",loadMoreWord:"Load More",loadMoreClass:"",noMoreEntriesWord:"No More Entries",alignTop:!1,preload:[0,2],magnificPopup:!0,facebook:!1,twitter:!1,googleplus:!1,pinterest:!1,vk:!1,hideTitle:!1,hideCounter:!1,lightboxOptions:{},hideSourceImage:!1,touch:!1,descBox:!1,descBoxClass:"",descBoxSource:""},function(){t(".rbs-imges-drop-down").each(function(){!function(a){function i(){r.hide()}function o(){r.show()}function s(){var e=r.find(".selected"),t=e.length?e.parents("li"):r.children().first();d.html(t.clone().find("a").append('<span class="fa fa-sort-desc"></span>').end().html())}function n(e){e.preventDefault(),e.stopPropagation(),t(this).parents("li").siblings("li").find("a").removeClass("selected").end().end().find("a").addClass("selected"),s()}var r=a.find(".rbs-imges-drop-down-menu"),d=a.find(".rbs-imges-drop-down-header");s(),function(){var t=!1;return function(e){(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0,4)))&&(t=!0)}(navigator.userAgent||navigator.vendor||e.opera),t}()?(t("body").on("click",function(){r.is(":visible")&&i()}),d.bind("click",function(e){e.stopPropagation(),r.is(":visible")?i():o()}),r.find("> li > *").bind("click",n)):(d.bind("mouseout",i).bind("mouseover",o),r.find("> li > *").bind("mouseout",i).bind("mouseover",o).bind("click",n)),d.on("click","a",function(e){e.preventDefault()})}(t(this))})}()}(window,jQuery);
|
67 |
/*
|
68 |
* RoboGallery Script Version: 1.0
|
69 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
70 |
* Available only in https://robosoft.co/robogallery/
|
71 |
*/
|
72 |
function robo_gallery_js_check_mobile(){var e=!1;return function(o){(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(o)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(o.substr(0,4)))&&(e=!0)}(navigator.userAgent||navigator.vendor||window.opera),e}jQuery,jQuery(".robo_gallery").on("click",".rbs-lightbox.mfp-link",function(e){e.preventDefault(),window.location.href=jQuery(this).data("mfp-src")}),jQuery(".robo_gallery").each(function(){var e=window[jQuery(this).data("options")],o=jQuery.extend({},e);o.noHoverOnMobile&&robo_gallery_js_check_mobile()&&(o.thumbnailOverlay=!1),jQuery(this).on("beforeInitGallery",function(e){e.preventDefault(),console.log("beforeInitGallery")});jQuery(o.mainContainer).css("display","block");jQuery(o.loadingContainer).css("display","none");var i=jQuery(this).collagePlus(o);1==o.touch&&(jQuery("body").swipe({swipeLeft:function(e,o,i,a,r){jQuery(".mfp-arrow-left").magnificPopup("prev")},swipeRight:function(){jQuery(".mfp-arrow-right").magnificPopup("next")},threshold:50}),jQuery("body").swipe("disable")),void 0!=roboGalleryDelay&&roboGalleryDelay>0&&setTimeout(function(){i.eveMB("resize")},roboGalleryDelay)});
|
js/robo_gallery_alt.js
CHANGED
@@ -107,7 +107,7 @@ https://github.com/imakewebthings/rbjquer-waypoints/blob/master/licenses.txt
|
|
107 |
/*
|
108 |
* RoboGallery Version: 1.0
|
109 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
110 |
-
* Copyright (c) 2014-
|
111 |
* Available only in https://robosoft.co/robogallery/
|
112 |
*/
|
113 |
function robo_gallery_js_check_mobile(){var o=!1;return function(e){(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0,4)))&&(o=!0)}(navigator.userAgent||navigator.vendor||window.opera),o}!function(o){o(".robo_gallery").on("click",".rbs-lightbox.mfp-link",function(e){e.preventDefault(),window.location.href=o(this).data("mfp-src")}),o(".robo_gallery:not(.robo_gallery_run)").each(function(){o(this).addClass("robo_gallery_run");var e=window[o(this).data("options")],i=o.extend({},e);i.noHoverOnMobile&&robo_gallery_js_check_mobile()&&(i.thumbnailOverlay=!1),jQuery(this).on("beforeInitGallery",function(o){o.preventDefault(),console.log("beforeInitGallery")});jQuery(i.mainContainer).css("display","block");jQuery(i.loadingContainer).css("display","none");var a=o(this).collagePlus(i);1==i.touch&&(o("body").swipe({swipeLeft:function(e,i,a,t,n){o(".mfp-arrow-left").magnificPopup("prev")},swipeRight:function(){o(".mfp-arrow-right").magnificPopup("next")},threshold:50}),o("body").swipe("disable")),void 0!=roboGalleryDelay&&roboGalleryDelay>0&&setTimeout(function(){a.eveMB("resize")},roboGalleryDelay)})}(rbjQuer);
|
107 |
/*
|
108 |
* RoboGallery Version: 1.0
|
109 |
* Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
|
110 |
+
* Copyright (c) 2014-2018, Robosoft. All rights reserved.
|
111 |
* Available only in https://robosoft.co/robogallery/
|
112 |
*/
|
113 |
function robo_gallery_js_check_mobile(){var o=!1;return function(e){(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0,4)))&&(o=!0)}(navigator.userAgent||navigator.vendor||window.opera),o}!function(o){o(".robo_gallery").on("click",".rbs-lightbox.mfp-link",function(e){e.preventDefault(),window.location.href=o(this).data("mfp-src")}),o(".robo_gallery:not(.robo_gallery_run)").each(function(){o(this).addClass("robo_gallery_run");var e=window[o(this).data("options")],i=o.extend({},e);i.noHoverOnMobile&&robo_gallery_js_check_mobile()&&(i.thumbnailOverlay=!1),jQuery(this).on("beforeInitGallery",function(o){o.preventDefault(),console.log("beforeInitGallery")});jQuery(i.mainContainer).css("display","block");jQuery(i.loadingContainer).css("display","none");var a=o(this).collagePlus(i);1==i.touch&&(o("body").swipe({swipeLeft:function(e,i,a,t,n){o(".mfp-arrow-left").magnificPopup("prev")},swipeRight:function(){o(".mfp-arrow-right").magnificPopup("next")},threshold:50}),o("body").swipe("disable")),void 0!=roboGalleryDelay&&roboGalleryDelay>0&&setTimeout(function(){a.eveMB("resize")},roboGalleryDelay)})}(rbjQuer);
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://robosoft.co/robogallery
|
|
4 |
Tags: gallery, photo gallery, images gallery, gallery images, wordpress gallery plugin, responsive gallery, categories gallery, Polaroid gallery, gallery lightbox, portfolio gallery, video gallery, Gallery Plugin, Robo Gallery
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 4.9
|
7 |
-
Stable tag: 2.7.
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -259,6 +259,10 @@ If any problem occurs, please contact us.
|
|
259 |
|
260 |
== Changelog ==
|
261 |
|
|
|
|
|
|
|
|
|
262 |
= 2.7.5 =
|
263 |
* fix of the notices
|
264 |
|
@@ -436,6 +440,10 @@ If any problem occurs, please contact us.
|
|
436 |
|
437 |
== Upgrade Notice ==
|
438 |
|
|
|
|
|
|
|
|
|
439 |
= 2.7.5 =
|
440 |
fix of the notices
|
441 |
|
4 |
Tags: gallery, photo gallery, images gallery, gallery images, wordpress gallery plugin, responsive gallery, categories gallery, Polaroid gallery, gallery lightbox, portfolio gallery, video gallery, Gallery Plugin, Robo Gallery
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 4.9
|
7 |
+
Stable tag: 2.7.6
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
259 |
|
260 |
== Changelog ==
|
261 |
|
262 |
+
= 2.7.6 =
|
263 |
+
* Added copy shortcode by click in gallery listing
|
264 |
+
* Added gallery sorting configrmation message
|
265 |
+
|
266 |
= 2.7.5 =
|
267 |
* fix of the notices
|
268 |
|
440 |
|
441 |
== Upgrade Notice ==
|
442 |
|
443 |
+
= 2.7.6 =
|
444 |
+
Added copy shortcode by click in gallery listing
|
445 |
+
Added gallery sorting configrmation message
|
446 |
+
|
447 |
= 2.7.5 =
|
448 |
fix of the notices
|
449 |
|
robogallery.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Robo Gallery
|
4 |
Plugin URI: https://robosoft.co/wordpress-gallery-plugin
|
5 |
Description: Gallery modes photo gallery, images gallery, video gallery, Polaroid gallery, gallery lighbox, portfolio gallery, responsive gallery
|
6 |
-
Version: 2.7.
|
7 |
Author: RoboSoft
|
8 |
Author URI: https://robosoft.co/wordpress-gallery-plugin
|
9 |
License: GPLv3 or later
|
@@ -15,7 +15,7 @@ if(!defined('WPINC'))die;
|
|
15 |
if(!defined("ABSPATH"))exit;
|
16 |
|
17 |
define("ROBO_GALLERY", 1);
|
18 |
-
define("ROBO_GALLERY_VERSION", '2.7.
|
19 |
|
20 |
if( !defined("ROBO_GALLERY_PATH") ) define("ROBO_GALLERY_PATH", plugin_dir_path( __FILE__ ));
|
21 |
|
3 |
Plugin Name: Robo Gallery
|
4 |
Plugin URI: https://robosoft.co/wordpress-gallery-plugin
|
5 |
Description: Gallery modes photo gallery, images gallery, video gallery, Polaroid gallery, gallery lighbox, portfolio gallery, responsive gallery
|
6 |
+
Version: 2.7.6
|
7 |
Author: RoboSoft
|
8 |
Author URI: https://robosoft.co/wordpress-gallery-plugin
|
9 |
License: GPLv3 or later
|
15 |
if(!defined("ABSPATH"))exit;
|
16 |
|
17 |
define("ROBO_GALLERY", 1);
|
18 |
+
define("ROBO_GALLERY_VERSION", '2.7.6');
|
19 |
|
20 |
if( !defined("ROBO_GALLERY_PATH") ) define("ROBO_GALLERY_PATH", plugin_dir_path( __FILE__ ));
|
21 |
|