summaryrefslogtreecommitdiff
path: root/pages/account/41.php
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2013-06-15 13:40:57 +0200
committerMichael Tänzer <neo@nhng.de>2013-06-15 13:40:57 +0200
commiteac1f92e5f27e7c65dfb624744666091ccab328f (patch)
tree30bbe367f6b828f62eed30a5ba8ec49e37df0549 /pages/account/41.php
parenta3dbfe74d3521763418f44943a7ccfd974bc33bd (diff)
parentd2ad5c5c27f4daeabd3f53268cdeab2b706e6e97 (diff)
downloadcacert-devel-eac1f92e5f27e7c65dfb624744666091ccab328f.tar.gz
cacert-devel-eac1f92e5f27e7c65dfb624744666091ccab328f.tar.xz
cacert-devel-eac1f92e5f27e7c65dfb624744666091ccab328f.zip
Merge branch 'release' into bug-782
Conflicts: includes/account.php pages/account/12.php Signed-off-by: Michael Tänzer <neo@nhng.de>
Diffstat (limited to 'pages/account/41.php')
-rw-r--r--pages/account/41.php8
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>