Version Description
- Fixed broken css for backends under SSL
Download this release
Release Info
| Developer | GreenTreeLabs |
| Plugin | |
| Version | 1.1.8 |
| Comparing to | |
| See all releases | |
Code changes from version 1.1.7 to 1.1.8
- Modula.php +14 -14
- README.txt +6 -0
Modula.php
CHANGED
|
@@ -4,7 +4,7 @@ Plugin Name: Gallery - A WordPress Modula Gallery
|
|
| 4 |
Plugin URI: http://modula.greentreelabs.net
|
| 5 |
Description: The Most Creative Grid Wordpress Gallery.
|
| 6 |
Author: GreenTreeLabs
|
| 7 |
-
Version: 1.1.
|
| 8 |
Author URI: http://modula.greentreelabs.net
|
| 9 |
*/
|
| 10 |
|
|
@@ -20,7 +20,7 @@ if (!class_exists("ModulaLite"))
|
|
| 20 |
{
|
| 21 |
private $loadedData;
|
| 22 |
|
| 23 |
-
private $version = "1.1.
|
| 24 |
|
| 25 |
private $defaultValues = array(
|
| 26 |
'width' => 100,
|
|
@@ -435,18 +435,18 @@ if (!class_exists("ModulaLite"))
|
|
| 435 |
{
|
| 436 |
wp_enqueue_script('jquery');
|
| 437 |
|
| 438 |
-
wp_register_script('modula',
|
| 439 |
wp_enqueue_script('modula');
|
| 440 |
|
| 441 |
|
| 442 |
-
wp_register_style('modula_stylesheet',
|
| 443 |
wp_enqueue_style('modula_stylesheet');
|
| 444 |
|
| 445 |
-
wp_register_style('effects_stylesheet',
|
| 446 |
wp_enqueue_style('effects_stylesheet');
|
| 447 |
|
| 448 |
-
wp_register_script('lightbox2_script',
|
| 449 |
-
wp_register_style('lightbox2_stylesheet',
|
| 450 |
}
|
| 451 |
|
| 452 |
//Admin Section - register scripts and styles
|
|
@@ -465,22 +465,22 @@ if (!class_exists("ModulaLite"))
|
|
| 465 |
wp_enqueue_script('media-upload');
|
| 466 |
wp_enqueue_script('thickbox');
|
| 467 |
|
| 468 |
-
wp_register_style('materialize',
|
| 469 |
wp_enqueue_style('materialize');
|
| 470 |
|
| 471 |
-
wp_register_style('styles',
|
| 472 |
wp_enqueue_style('styles');
|
| 473 |
|
| 474 |
-
wp_register_style('effects',
|
| 475 |
wp_enqueue_style('effects');
|
| 476 |
|
| 477 |
-
wp_register_script('modula',
|
| 478 |
wp_enqueue_script('modula');
|
| 479 |
|
| 480 |
-
wp_register_script('materialize',
|
| 481 |
wp_enqueue_script('materialize');
|
| 482 |
|
| 483 |
-
wp_register_style('materialdesign-icons',
|
| 484 |
wp_enqueue_style('materialdesign-icons');
|
| 485 |
|
| 486 |
wp_enqueue_style('thickbox');
|
|
@@ -500,7 +500,7 @@ if (!class_exists("ModulaLite"))
|
|
| 500 |
//Create Admin Menu
|
| 501 |
public function add_gallery_admin_menu()
|
| 502 |
{
|
| 503 |
-
$overview = add_menu_page('Modula', 'Modula', 'edit_posts', 'ModulaLite-admin', array($this, 'add_overview'),
|
| 504 |
|
| 505 |
|
| 506 |
if(! get_option( "Modula_skip_fix" ) && get_option( "Modula_db_version" ) && count($this->ModulaDB->getGalleries()) > 0) {
|
| 4 |
Plugin URI: http://modula.greentreelabs.net
|
| 5 |
Description: The Most Creative Grid Wordpress Gallery.
|
| 6 |
Author: GreenTreeLabs
|
| 7 |
+
Version: 1.1.8
|
| 8 |
Author URI: http://modula.greentreelabs.net
|
| 9 |
*/
|
| 10 |
|
| 20 |
{
|
| 21 |
private $loadedData;
|
| 22 |
|
| 23 |
+
private $version = "1.1.8";
|
| 24 |
|
| 25 |
private $defaultValues = array(
|
| 26 |
'width' => 100,
|
| 435 |
{
|
| 436 |
wp_enqueue_script('jquery');
|
| 437 |
|
| 438 |
+
wp_register_script('modula', plugins_url().'/modula-best-grid-gallery/scripts/jquery.modula.js', array('jquery'));
|
| 439 |
wp_enqueue_script('modula');
|
| 440 |
|
| 441 |
|
| 442 |
+
wp_register_style('modula_stylesheet', plugins_url() . '/modula-best-grid-gallery/scripts/modula.css');
|
| 443 |
wp_enqueue_style('modula_stylesheet');
|
| 444 |
|
| 445 |
+
wp_register_style('effects_stylesheet', plugins_url() . '/modula-best-grid-gallery/scripts/effects.css', null, $this->version);
|
| 446 |
wp_enqueue_style('effects_stylesheet');
|
| 447 |
|
| 448 |
+
wp_register_script('lightbox2_script', plugins_url() . '/modula-best-grid-gallery/lightbox/lightbox2/js/script.js', array('jquery'));
|
| 449 |
+
wp_register_style('lightbox2_stylesheet', plugins_url() . '/modula-best-grid-gallery/lightbox/lightbox2/css/style.css');
|
| 450 |
}
|
| 451 |
|
| 452 |
//Admin Section - register scripts and styles
|
| 465 |
wp_enqueue_script('media-upload');
|
| 466 |
wp_enqueue_script('thickbox');
|
| 467 |
|
| 468 |
+
wp_register_style('materialize', plugins_url().'/modula-best-grid-gallery/admin/css/materialize.css');
|
| 469 |
wp_enqueue_style('materialize');
|
| 470 |
|
| 471 |
+
wp_register_style('styles', plugins_url().'/modula-best-grid-gallery/admin/css/style.css');
|
| 472 |
wp_enqueue_style('styles');
|
| 473 |
|
| 474 |
+
wp_register_style('effects', plugins_url().'/modula-best-grid-gallery/scripts/effects.css');
|
| 475 |
wp_enqueue_style('effects');
|
| 476 |
|
| 477 |
+
wp_register_script('modula', plugins_url().'/modula-best-grid-gallery/admin/scripts/modula-admin.js', array('jquery','media-upload','thickbox'));
|
| 478 |
wp_enqueue_script('modula');
|
| 479 |
|
| 480 |
+
wp_register_script('materialize', plugins_url().'/modula-best-grid-gallery/admin/scripts/materialize.min.js', array('jquery'));
|
| 481 |
wp_enqueue_script('materialize');
|
| 482 |
|
| 483 |
+
wp_register_style('materialdesign-icons', plugins_url().'/modula-best-grid-gallery/admin/css/materialdesignicons.css');
|
| 484 |
wp_enqueue_style('materialdesign-icons');
|
| 485 |
|
| 486 |
wp_enqueue_style('thickbox');
|
| 500 |
//Create Admin Menu
|
| 501 |
public function add_gallery_admin_menu()
|
| 502 |
{
|
| 503 |
+
$overview = add_menu_page('Modula', 'Modula', 'edit_posts', 'ModulaLite-admin', array($this, 'add_overview'), plugins_url().'/modula-best-grid-gallery/admin/icon.png');
|
| 504 |
|
| 505 |
|
| 506 |
if(! get_option( "Modula_skip_fix" ) && get_option( "Modula_db_version" ) && count($this->ModulaDB->getGalleries()) > 0) {
|
README.txt
CHANGED
|
@@ -110,6 +110,9 @@ Free support is included only with a PRO license: http://modula.greentreelabs.ne
|
|
| 110 |
|
| 111 |
== Changelog ==
|
| 112 |
|
|
|
|
|
|
|
|
|
|
| 113 |
= 1.1.7 =
|
| 114 |
* Tool to fix broken images after version 1.1.0
|
| 115 |
|
|
@@ -177,5 +180,8 @@ Free support is included only with a PRO license: http://modula.greentreelabs.ne
|
|
| 177 |
|
| 178 |
== Upgrade Notice ==
|
| 179 |
|
|
|
|
|
|
|
|
|
|
| 180 |
= 1.1.7 =
|
| 181 |
* This update contains a tool to fix broken images.
|
| 110 |
|
| 111 |
== Changelog ==
|
| 112 |
|
| 113 |
+
= 1.1.8 =
|
| 114 |
+
* Fixed broken css for backends under SSL
|
| 115 |
+
|
| 116 |
= 1.1.7 =
|
| 117 |
* Tool to fix broken images after version 1.1.0
|
| 118 |
|
| 180 |
|
| 181 |
== Upgrade Notice ==
|
| 182 |
|
| 183 |
+
= 1.1.8 =
|
| 184 |
+
* This update will fix broken CSS of admin panel under SSL
|
| 185 |
+
|
| 186 |
= 1.1.7 =
|
| 187 |
* This update contains a tool to fix broken images.
|
