diff options
author | Benny Baumann <BenBE@geshi.org> | 2013-05-13 19:58:16 +0200 |
---|---|---|
committer | Benny Baumann <BenBE@geshi.org> | 2013-05-13 19:58:16 +0200 |
commit | c7e62bb54f7ee4214d5f50cf92192b53dfb993d0 (patch) | |
tree | c36a5141df0526833dbbd8c2f6a76eeb645d5fcd /pages/account/41.php | |
parent | cce4cb6f46d73b304cc83b3a4202359a521f4c6e (diff) | |
parent | 3c4d3fa9a9bf74090fc5ef86847e0a1b58f5c96f (diff) | |
download | cacert-devel-c7e62bb54f7ee4214d5f50cf92192b53dfb993d0.tar.gz cacert-devel-c7e62bb54f7ee4214d5f50cf92192b53dfb993d0.tar.xz cacert-devel-c7e62bb54f7ee4214d5f50cf92192b53dfb993d0.zip |
Merge branch 'bug-1124' into release
Diffstat (limited to 'pages/account/41.php')
-rw-r--r-- | pages/account/41.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pages/account/41.php b/pages/account/41.php index 4ea9b10..d61d8db 100644 --- a/pages/account/41.php +++ b/pages/account/41.php @@ -73,8 +73,12 @@ require_once($_SESSION['_config']['filepath'].'/includes/lib/l10n.php'); $res = mysql_query($query); while($row = mysql_fetch_assoc($res)) { - echo "<option value='".sanitizeHTML($row['locale'])."'"; - echo ">".$row['country']." - ".$row['lang']."</option>\n"; + printf("<option value=\"%s\">[%s] %s (%s)</option>\n", + sanitizeHTML($row['locale']), + sanitizeHTML($row['locale']), + $row['lang'], + $row['country'] + ); } ?> </select> |