diff -r 58094faf794d -r 9a485c41cfcf index.php
--- a/index.php Tue Apr 10 22:40:43 2007 +0000
+++ b/index.php Sat Apr 14 11:37:27 2007 +0000
@@ -108,33 +108,33 @@
if (level(10))
{
- ?>User Admin Synchronize Database
+ ?> echo _('User Admin'); ?> echo _('Synchronize Database'); ?>
}
?>
- Search records
+ echo _('Search records'); ?>
-Welcome, = $_SESSION["name"] ?>.
+ echo _('Welcome'); ?>, = $_SESSION["name"] ?>.
-Your userlevel is: = $_SESSION["level"] ?> (= leveldescription($_SESSION["level"]) ?>)
+ echo _('Your userlevel is'); ?>: = $_SESSION["level"] ?> (= leveldescription($_SESSION["level"]) ?>)
if ($error != "")
{
- ?>Error: = $error ?>
+ ?> echo _('Error'); ?>: = $error ?>
}
?>
-Current domains in DNS (click to view or edit):
+ echo _('Current domains in DNS (click to view or edit)'); ?>:
$doms = get_domains(0);
$num_domains = count($doms);
-echo "
Number of domains: ".$num_domains."
";
+echo "
echo _('Number of domains'); ?>: ".$num_domains."
";
if ($num_domains > ROWAMOUNT) {
show_letters(LETTERSTART,$doms);
@@ -148,7 +148,7 @@
- | Name | Records | Owner |
+ | echo _('Name'); ?> | echo _('Records'); ?> | echo _('Owner'); ?> |
if ($num_domains < ROWAMOUNT) {
@@ -160,7 +160,7 @@
// If the user doesnt have any domains print a message saying so
if ($doms < 0)
{
- ?> | No domains in this listing, sorry. |
+ ?> | echo _('No domains in this listing, sorry.'); ?> |
}
// If he has domains, dump them (duh)
@@ -172,7 +172,7 @@
if (level(5))
{
?>
- ">
+ ">
}
else
{
@@ -187,7 +187,7 @@
?>
-You only administer some records of domains marked with an (*)
+ echo _('You only administer some records of domains marked with an (*).'); ?>
if (level(5))
@@ -198,12 +198,12 @@
?>
@@ -238,12 +238,12 @@