Version Description
- 10.11.2009 =
- Bugfix : Capabilites could not be saved
- Bugfix : Ajax pagination option not saved
- Bugfix : echo nggSlideshowWidget() for compat reason
Download this release
Release Info
Developer | alexrabe |
Plugin | NextGEN Gallery – WordPress Gallery Plugin |
Version | 1.4.1 |
Comparing to | |
See all releases |
Code changes from version 1.4.0 to 1.4.1
- admin/roles.php +1 -1
- admin/settings.php +1 -1
- changelog.txt +7 -2
- nggallery.php +2 -2
- readme.txt +10 -1
- widgets/widgets.php +1 -1
admin/roles.php
CHANGED
@@ -91,7 +91,7 @@ function ngg_get_sorted_roles() {
|
|
91 |
} else {
|
92 |
$role_order = array("subscriber", "contributor", "author", "editor", "administrator");
|
93 |
foreach($role_order as $role_key) {
|
94 |
-
$sorted[$
|
95 |
}
|
96 |
}
|
97 |
return $sorted;
|
91 |
} else {
|
92 |
$role_order = array("subscriber", "contributor", "author", "editor", "administrator");
|
93 |
foreach($role_order as $role_key) {
|
94 |
+
$sorted[$role_key] = get_role($role_key);
|
95 |
}
|
96 |
}
|
97 |
return $sorted;
|
admin/settings.php
CHANGED
@@ -321,7 +321,7 @@ if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die('You
|
|
321 |
</tr>
|
322 |
<tr class="expert" >
|
323 |
<th valign="top"><?php _e('Enable AJAX pagination','nggallery'); ?>:</th>
|
324 |
-
<td><input name="
|
325 |
<?php _e('Browse images without reload the page. Note : Work only in combination with Shutter effect','nggallery'); ?>
|
326 |
</td>
|
327 |
</tr>
|
321 |
</tr>
|
322 |
<tr class="expert" >
|
323 |
<th valign="top"><?php _e('Enable AJAX pagination','nggallery'); ?>:</th>
|
324 |
+
<td><input name="galAjaxNav" type="checkbox" value="1" <?php checked('1', $ngg->options['galAjaxNav']); ?> />
|
325 |
<?php _e('Browse images without reload the page. Note : Work only in combination with Shutter effect','nggallery'); ?>
|
326 |
</td>
|
327 |
</tr>
|
changelog.txt
CHANGED
@@ -1,7 +1,12 @@
|
|
1 |
NextGEN Gallery
|
2 |
by Alex Rabe & NextGEN DEV Team
|
3 |
|
4 |
-
=
|
|
|
|
|
|
|
|
|
|
|
5 |
* NEW : Automatic rotate images during upload or via manage gallery page (THX to Simone Fumagalli)
|
6 |
* NEW : Include Bulkupdate for gallery overview, require PHP 5.2
|
7 |
* NEW : XMLRPC support with 4 new methods : see xmlrpc.php for more information
|
@@ -14,7 +19,7 @@ by Alex Rabe & NextGEN DEV Team
|
|
14 |
* Added : New link parameter for the singlepic shortcode : [singlepic id=x w=x h=x link="http://google.com"]
|
15 |
* Added : New template gallery-carousel
|
16 |
* Added : New id parameter for recent and random shortcodes : [random max="7" template="filename" id="2"] takes only pictures from the gallery with id=2
|
17 |
-
* Added : New mode
|
18 |
* Added : Enable/Disable Ajax navigation via settings
|
19 |
* Added : New filter hook 'ngg_render_template' to render templates with a other plugin
|
20 |
* Changed : Added option to link an album with a page id
|
1 |
NextGEN Gallery
|
2 |
by Alex Rabe & NextGEN DEV Team
|
3 |
|
4 |
+
= V1.4.1 - 10.11.2009 =
|
5 |
+
* Bugfix : Capabilites could not be saved
|
6 |
+
* Bugfix : Ajax pagination option not saved
|
7 |
+
* Bugfix : echo nggSlideshowWidget() for compat reason
|
8 |
+
|
9 |
+
= V1.4.0 - 08.11.2009 =
|
10 |
* NEW : Automatic rotate images during upload or via manage gallery page (THX to Simone Fumagalli)
|
11 |
* NEW : Include Bulkupdate for gallery overview, require PHP 5.2
|
12 |
* NEW : XMLRPC support with 4 new methods : see xmlrpc.php for more information
|
19 |
* Added : New link parameter for the singlepic shortcode : [singlepic id=x w=x h=x link="http://google.com"]
|
20 |
* Added : New template gallery-carousel
|
21 |
* Added : New id parameter for recent and random shortcodes : [random max="7" template="filename" id="2"] takes only pictures from the gallery with id=2
|
22 |
+
* Added : New mode paramenter for recent shortcode : [recent max="7" template="filename" id="3" mode="date" /] where mode can be one of (id, date, sort). Recent pictures are delivered by addition to database (id), exif date (date) or user sort order (sort).
|
23 |
* Added : Enable/Disable Ajax navigation via settings
|
24 |
* Added : New filter hook 'ngg_render_template' to render templates with a other plugin
|
25 |
* Changed : Added option to link an album with a page id
|
nggallery.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: NextGEN Gallery
|
|
4 |
Plugin URI: http://alexrabe.de/?page_id=80
|
5 |
Description: A NextGENeration Photo gallery for the Web 2.0.
|
6 |
Author: Alex Rabe
|
7 |
-
Version: 1.4.
|
8 |
|
9 |
Author URI: http://alexrabe.de/
|
10 |
|
@@ -44,7 +44,7 @@ if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die('You
|
|
44 |
if (!class_exists('nggLoader')) {
|
45 |
class nggLoader {
|
46 |
|
47 |
-
var $version = '1.4.
|
48 |
var $dbversion = '1.4.0';
|
49 |
var $minium_WP = '2.8';
|
50 |
var $minium_WPMU = '2.8';
|
4 |
Plugin URI: http://alexrabe.de/?page_id=80
|
5 |
Description: A NextGENeration Photo gallery for the Web 2.0.
|
6 |
Author: Alex Rabe
|
7 |
+
Version: 1.4.1
|
8 |
|
9 |
Author URI: http://alexrabe.de/
|
10 |
|
44 |
if (!class_exists('nggLoader')) {
|
45 |
class nggLoader {
|
46 |
|
47 |
+
var $version = '1.4.1';
|
48 |
var $dbversion = '1.4.0';
|
49 |
var $minium_WP = '2.8';
|
50 |
var $minium_WPMU = '2.8';
|
readme.txt
CHANGED
@@ -130,13 +130,22 @@ To show tag albums : **[nggtags album=mytag,wordpress,... ]**
|
|
130 |
|
131 |
Example : http://nextgen-gallery.com/albumtags/
|
132 |
|
|
|
|
|
|
|
|
|
133 |
**A further FAQ you can found here :** http://alexrabe.de/wordpress-plugins/nextgen-gallery/faq/
|
134 |
|
135 |
**And at least request your question here :** http://alexrabe.de/forums/
|
136 |
|
137 |
== Changelog ==
|
138 |
|
139 |
-
=
|
|
|
|
|
|
|
|
|
|
|
140 |
* NEW : Automatic rotate images during upload or via manage gallery page (THX to Simone Fumagalli)
|
141 |
* NEW : Include Bulkupdate for gallery overview, require PHP 5.2
|
142 |
* NEW : XMLRPC support with 4 new methods : see xmlrpc.php for more information
|
130 |
|
131 |
Example : http://nextgen-gallery.com/albumtags/
|
132 |
|
133 |
+
To show random mages : **[random max=x ]**
|
134 |
+
|
135 |
+
To show the most recent added mages : **[recent max=x ]**
|
136 |
+
|
137 |
**A further FAQ you can found here :** http://alexrabe.de/wordpress-plugins/nextgen-gallery/faq/
|
138 |
|
139 |
**And at least request your question here :** http://alexrabe.de/forums/
|
140 |
|
141 |
== Changelog ==
|
142 |
|
143 |
+
= V1.4.1 - 10.11.2009 =
|
144 |
+
* Bugfix : Capabilites could not be saved
|
145 |
+
* Bugfix : Ajax pagination option not saved
|
146 |
+
* Bugfix : echo nggSlideshowWidget() for compat reason
|
147 |
+
|
148 |
+
= V1.4.0 - 08.11.2009 =
|
149 |
* NEW : Automatic rotate images during upload or via manage gallery page (THX to Simone Fumagalli)
|
150 |
* NEW : Include Bulkupdate for gallery overview, require PHP 5.2
|
151 |
* NEW : XMLRPC support with 4 new methods : see xmlrpc.php for more information
|
widgets/widgets.php
CHANGED
@@ -434,7 +434,7 @@ $nggWidget = new nggWidget;
|
|
434 |
*/
|
435 |
function nggSlideshowWidget($galleryID, $width = '', $height = '') {
|
436 |
|
437 |
-
nggSlideshowWidget::render_slideshow($galleryID, $width, $height);
|
438 |
|
439 |
}
|
440 |
|
434 |
*/
|
435 |
function nggSlideshowWidget($galleryID, $width = '', $height = '') {
|
436 |
|
437 |
+
echo nggSlideshowWidget::render_slideshow($galleryID, $width, $height);
|
438 |
|
439 |
}
|
440 |
|