delete_record.php
changeset 2 9a485c41cfcf
parent 1 58094faf794d
child 13 2ff220cfde13
--- a/delete_record.php	Tue Apr 10 22:40:43 2007 +0000
+++ b/delete_record.php	Sat Apr 14 11:37:27 2007 +0000
@@ -28,15 +28,15 @@
                 clean_page("edit.php?id=".$_GET["domain"]);
         }
         include_once("inc/header.inc.php");
-        ?><H2>Delete record "<?
+        ?><H2><? echo _('Delete record'); ?> "<?
         $data = get_record_from_id($_GET["id"]);
         print $data["name"]." IN ".$data["type"]." ".$data["content"];
         ?>"</H2><?
         if (($data["type"] == "NS" && $data["name"] == get_domain_name_from_id($_GET["domain"])) || $data["type"] == "SOA") {
-                print "<FONT CLASS=\"warning\">You are trying to delete a record that is needed for this zone to work.</FONT><BR>";
+                print "<FONT CLASS=\"warning\">" . ('You are trying to delete a record that is needed for this zone to work.') . "</FONT><BR>";
         }
-        ?><BR><FONT CLASS="warning">Are you sure?</FONT><BR><BR>
-        <INPUT TYPE="button" CLASS="button" OnClick="location.href='<?= $_SERVER["REQUEST_URI"] ?>&confirm=1'" VALUE="Yes"> <INPUT TYPE="button" CLASS="button" OnClick="location.href='<?= $_SERVER["REQUEST_URI"] ?>&confirm=0'" VALUE="No">
+        ?><BR><FONT CLASS="warning"><? echo _('Are you sure?'); ?></FONT><BR><BR>
+        <INPUT TYPE="button" CLASS="button" OnClick="location.href='<?= $_SERVER["REQUEST_URI"] ?>&confirm=1'" VALUE="<? echo _('Yes'); ?>"> <INPUT TYPE="button" CLASS="button" OnClick="location.href='<?= $_SERVER["REQUEST_URI"] ?>&confirm=0'" VALUE="<? echo _('No'); ?>">
         <?
 } else {
         include_once("inc/header.inc.php");