Changeset 5845 for trunk/plugins
- Timestamp:
- Apr 13, 2010, 11:44:49 PM (14 years ago)
- Location:
- trunk/plugins/language_switch
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/language_switch/language_switch.inc.php
r5208 r5845 71 71 add_url_params( $url_starting, array('lang'=> $code) )), 72 72 'alt' => ucwords( $displayname ), 73 'img' => get_root_url().' plugins/language_switch/icons/' . $code . '.jpg',73 'img' => get_root_url().'language/' . $code . '/' . $code . '.jpg', 74 74 ); 75 if ( $code !== $user['language'] and 76 file_exists(dirname(__FILE__) . '/icons/' . $code . '.jpg') ) 75 if ( $code !== $user['language'] ) 77 76 $lsw['flags'][$code] = $qlc ; 78 77 else $lsw['Active'] = $qlc; -
trunk/plugins/language_switch/main.inc.php
r5196 r5845 24 24 /* 25 25 Plugin Name: Language Switch 26 Version: auto26 Version: Auto 27 27 Description: Switch to another language from flags on your gallery home page. 28 28 Plugin URI: http://piwigo.org/ext/extension_view.php?eid=123
Note: See TracChangeset
for help on using the changeset viewer.