aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-06-05 17:32:56 -0700
committerFriendika <info@friendika.com>2011-06-05 17:32:56 -0700
commit4284c6f9ee471d253354b8ba9508281b98976f52 (patch)
treea2e75b5977f3f753b58f65d036117b038c538a98 /boot.php
parent7b02e178a4dd56e7658af5f01a50a778d3212573 (diff)
downloadvolse-hubzilla-4284c6f9ee471d253354b8ba9508281b98976f52.tar.gz
volse-hubzilla-4284c6f9ee471d253354b8ba9508281b98976f52.tar.bz2
volse-hubzilla-4284c6f9ee471d253354b8ba9508281b98976f52.zip
use icon for language selector instead of hotkey
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index 3ca083901..a67b96a08 100644
--- a/boot.php
+++ b/boot.php
@@ -4,7 +4,7 @@ set_time_limit(0);
ini_set('pcre.backtrack_limit', 250000);
-define ( 'FRIENDIKA_VERSION', '2.2.1001' );
+define ( 'FRIENDIKA_VERSION', '2.2.1002' );
define ( 'DFRN_PROTOCOL_VERSION', '2.21' );
define ( 'DB_UPDATE_VERSION', 1060 );
@@ -2766,6 +2766,7 @@ function unamp($s) {
if(! function_exists('lang_selector')) {
function lang_selector() {
global $lang;
+ $o .= '<div id="lang-select-icon" class="icon language" title="' . t('Select an alternate language') . '" onclick="openClose(\'language-selector\');" ></div>';
$o .= '<div id="language-selector" style="display: none;" >';
$o .= '<form action="" method="post" ><select name="system_language" onchange="this.form.submit();" >';
$langs = glob('view/*/strings.php');