- Timestamp:
- 08/09/2010 01:40:36 PM (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WordPress/plugin/transposh/widgets/dropdown/tpw_image_dropdown.php
r435 r500 11 11 */ 12 12 13 /* Copyright © 2009-2010 Transposh Team (website : http://transposh.org) 13 /* 14 * Transposh v%VERSION% 15 * http://transposh.org/ 14 16 * 15 * This program is free software; you can redistribute it and/or modify 16 * it under the terms of the GNU General Public License as published by 17 * the Free Software Foundation; either version 2 of the License, or 18 * (at your option) any later version. 17 * Copyright %YEAR%, Team Transposh 18 * Licensed under the GPL Version 2 or higher. 19 * http://transposh.org/license 19 20 * 20 * This program is distributed in the hope that it will be useful, 21 * but WITHOUT ANY WARRANTY; without even the implied warranty of 22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 23 * GNU General Public License for more details. 24 * 25 * You should have received a copy of the GNU General Public License 26 * along with this program; if not, write to the Free Software 27 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 21 * Date: %DATE% 28 22 */ 29 23 … … 54 48 55 49 foreach ($args as $langrecord) { 56 $is_selected = $langrecord['active'] ? " selected=\"selected\"" : "";57 echo '<li><a href="#"><img class="flag" src="' . "$plugpath/img/flags/{$langrecord['flag']}" . '.png" alt="' . $langrecord['langorig'] . '"/> ' . $langrecord['langorig'] . '<span class="value">' . $langrecord['isocode'] . '</span></a></li>';50 $is_selected = $langrecord['active'] ? " selected=\"selected\"" : ""; 51 echo '<li><a href="#"><img class="flag" src="' . "$plugpath/img/flags/{$langrecord['flag']}" . '.png" alt="' . $langrecord['langorig'] . '"/> ' . $langrecord['langorig'] . '<span class="value">' . $langrecord['isocode'] . '</span></a></li>'; 58 52 } 59 53
Note: See TracChangeset
for help on using the changeset viewer.
