This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".
The branch, master has been updated
via ce34b986cd5978db6192e484566eea3ef973005b (commit)
from 11efe13846207158fde37e41de475b762a36f962 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit ce34b986cd5978db6192e484566eea3ef973005b
Author: Marc-Etienne Vargenau <[email protected]>
Date: Tue Jun 24 16:37:08 2014 +0200
wiki: sort menus
diff --git a/src/plugins/wiki/www/themes/default/templates/userprefs.tmpl
b/src/plugins/wiki/www/themes/default/templates/userprefs.tmpl
index 008c896..475e48e 100644
--- a/src/plugins/wiki/www/themes/default/templates/userprefs.tmpl
+++ b/src/plugins/wiki/www/themes/default/templates/userprefs.tmpl
@@ -65,6 +65,7 @@ $SelectThemesDesc = ''; $SelectLanguagesDesc = '';
if ($isForm) {
$SelectOptions = HTML();
if (!empty($available_themes) and is_array($available_themes)) {
+ sort(&$available_themes);
if (!$pref->get('theme') or $pref->get('theme') == THEME) {
$SelectOptions->pushContent(selectedOption("",_("<system
theme>")));
} else {
@@ -87,6 +88,7 @@ if ($isForm) {
$SelectOptions = HTML();
if (!empty($available_languages) and is_array($available_languages)) {
+ sort(&$available_languages);
if (!$pref->get('lang') or $pref->get('lang') == DEFAULT_LANGUAGE) {
$SelectOptions->pushContent(selectedOption("",_("<system
language>")));
} else {
-----------------------------------------------------------------------
Summary of changes:
src/plugins/wiki/www/themes/default/templates/userprefs.tmpl | 2 ++
1 file changed, 2 insertions(+)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits