diff options
author | rub <rub@piwigo.org> | 2007-02-25 11:42:25 +0000 |
---|---|---|
committer | rub <rub@piwigo.org> | 2007-02-25 11:42:25 +0000 |
commit | ab922de7422076b1e3fdd49dc2e51b524e5fe6e2 (patch) | |
tree | 7821bd7a5b51b0e12f92ae3577b18cc1a92ed8ce /include | |
parent | 027db797b2853e682c36793d35a2987c9e1cbc0a (diff) |
Improvement for PWG installation:
o Installation is now with new colors
o On selected language, page are reload in order to display page with selected language
git-svn-id: http://piwigo.org/svn/trunk@1855 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include')
-rw-r--r-- | include/functions_html.inc.php | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/include/functions_html.inc.php b/include/functions_html.inc.php index 74934cbf0..60f26a45a 100644 --- a/include/functions_html.inc.php +++ b/include/functions_html.inc.php @@ -4,7 +4,7 @@ // | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net | // | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net | // +-----------------------------------------------------------------------+ -// | branch : BSF (Best So Far) +// | file : $Id$ // | last update : $Date$ // | last modifier : $Author$ // | revision : $Revision$ @@ -230,24 +230,6 @@ function create_navigation_bar( return $navbar; } -// -// Pick a language, any language ... -// -function language_select($default, $select_name = "language") -{ - $available_lang = get_languages(); - - $lang_select = '<select name="' . $select_name . '">'; - foreach ($available_lang as $code => $displayname) - { - $selected = ( strtolower($default) == strtolower($code) ) ? ' selected="selected"' : ''; - $lang_select .= '<option value="' . $code . '"' . $selected . '>' . ucwords($displayname) . '</option>'; - } - $lang_select .= '</select>'; - - return $lang_select; -} - /** * returns the list of categories as a HTML string * |