diff --git a/pages/account/53.php b/pages/account/53.php
index b533ddc..ba11281 100644
--- a/pages/account/53.php
+++ b/pages/account/53.php
@@ -31,7 +31,7 @@
{
$reg = mysql_fetch_assoc(mysql_query("select * from `regions` where `id`='$regid'"));
$display = "
\n- \n".
- "$reg[name] - Add\n".
+ "".sanitizeHTML($reg[name])." - "._("Add")."\n".
$display;
$ccid = $_REQUEST['ccid'] = intval($reg['ccid']);
}
@@ -40,7 +40,7 @@
{
$cnt = mysql_fetch_assoc(mysql_query("select * from `countries` where `id`='$ccid'"));
$display = "
\n- \n".
- "$cnt[name] - Add\n".
+ "".sanitizeHTML($cnt[name])." - "._("Add")."\n".
$display;
}
@@ -62,9 +62,9 @@
$res = mysql_query($query);
while($row = mysql_fetch_assoc($res))
{
- echo "
- ( edit |";
+ echo "
- ( "._("edit")." |";
echo " delete )";
+ echo " onclick=\"return confirm('"._("Are you sure you want to delete this region and all connected locations?")."');\">"._("delete")." )";
echo " ".sanitizeHTML($row['name'])."
\n";
}
@@ -80,11 +80,11 @@
$res = mysql_query($query);
while($row = mysql_fetch_assoc($res))
{
- echo "- ( move |";
- echo " aliases |";
- echo " edit |";
+ echo "
- ( "._("move")." |";
+ echo " "._("aliases")." |";
+ echo " "._("edit")." |";
echo " delete ) ".sanitizeHTML($row['name'])." (".sanitizeHTML($row['lat']).",".sanitizeHTML($row['long']).")
\n";
+ echo " onclick=\"return confirm('Are you sure you want to delete this location?');\">"._("delete")." ) ".sanitizeHTML($row['name'])." (".sanitizeHTML($row['lat']).",".sanitizeHTML($row['long']).")
\n";
}
echo "
\n\n\n\n\n
\n";
@@ -96,16 +96,16 @@
if($prev < 0)
$prev = 0;
- $st = "[ << Start ] ";
- $prev = "[ < Previous $limit ] ";
+ $st = "[ << "._("Start")." ] ";
+ $prev = "[ < "._("Previous")." $limit ] ";
}
if($start < $rc - $limit)
{
$next = $start + $limit;
$last = $rc - $limit;
- $next = "[ Next $limit > ] ";
- $end = "[ End >> ]";
+ $next = "[ "._("Next")." $limit > ] ";
+ $end = "[ "._("End")." >> ]";
}
echo "$st
$end
\n";
echo "$prev
$next
\n";