Changeset 517


Ignore:
Timestamp:
08/25/2010 12:25:08 PM (18 months ago)
Author:
ofer
Message:

This widget had a bug in it with displaying the css flags

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/WordPress/plugin/transposh/widgets/flagslist/tpw_list_with_flags_css.php

    r500 r517  
    66  Description: Widget with flags links (using css sprites) followed by language name 
    77  Author: Team Transposh 
    8   Version: 1.0 
     8  Version: 1.0.1 
    99  Author URI: http://transposh.org/ 
    1010  License: GPL (http://www.gnu.org/licenses/gpl.txt) 
     
    4848    foreach ($args as $langrecord) { 
    4949        echo "<a href=\"{$langrecord['url']}\"" . ($langrecord['active'] ? ' class="tr_active"' : '' ) . '>' . 
    50         transposh_utils::display_flag('', $langrecord['flag'], $langrecord['langorig'], false) . '</a>'; 
     50        transposh_utils::display_flag('', $langrecord['flag'], $langrecord['langorig'], true) . '</a>'; 
    5151        echo "<a href=\"{$langrecord['url']}\"" . ($langrecord['active'] ? ' class="tr_active"' : '' ) . '>' . "{$langrecord['langorig']}</a><br/>"; 
    5252    } 
Note: See TracChangeset for help on using the changeset viewer.