Ignore:
Timestamp:
02/06/13 16:47:00 (7 years ago)
Author:
flop25
Message:

bug:2827
adding a sprite for flags. So the flag in language packages is no longuer required, but language_switch.css need to be edited for a language added to Piwigo.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/language_switch/language_switch.inc.php

    r19703 r20587  
    110110  foreach ($available_lang as $code => $displayname) 
    111111  { 
    112      
    113112    $qlc = array ( 
    114113      'url' => add_url_params($base_url, array('lang'=> $code)), 
    115114      'alt' => ucwords($displayname), 
    116115      'title' => substr($displayname, 0, -4), // remove [FR] or [RU] 
    117       'img' => get_root_url().'language/'.$code.'/'.$code.'.jpg', 
     116      'code' => $code, 
    118117      ); 
    119118     
Note: See TracChangeset for help on using the changeset viewer.