aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/language_switch/language_switch.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/language_switch/language_switch.inc.php')
-rw-r--r--plugins/language_switch/language_switch.inc.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/language_switch/language_switch.inc.php b/plugins/language_switch/language_switch.inc.php
index cf815036e..500e07d91 100644
--- a/plugins/language_switch/language_switch.inc.php
+++ b/plugins/language_switch/language_switch.inc.php
@@ -70,10 +70,9 @@ class language_controler {
'url' => str_replace(array('=&','?&'),array('&','?'),
add_url_params( $url_starting, array('lang'=> $code) )),
'alt' => ucwords( $displayname ),
- 'img' => get_root_url().'plugins/language_switch/icons/' . $code . '.jpg',
+ 'img' => get_root_url().'language/' . $code . '/' . $code . '.jpg',
);
- if ( $code !== $user['language'] and
- file_exists(dirname(__FILE__) . '/icons/' . $code . '.jpg') )
+ if ( $code !== $user['language'] )
$lsw['flags'][$code] = $qlc ;
else $lsw['Active'] = $qlc;
}