r1659 + importPTRData(): fix status messages
authorDenis Ovsienko <infrastation@yandex.ru>
Mon, 11 Feb 2008 13:35:02 +0000 (13:35 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Mon, 11 Feb 2008 13:35:02 +0000 (13:35 +0000)
inc/ophandlers.php

index ec9667b720333dfa7089fc9fd2bcdc872f715c2c..5b27dd035d3dc8e153ab610b9faa0c24f90932f8 100644 (file)
@@ -1207,9 +1207,9 @@ function importPTRData ()
                        $nbad++;
        }
        if (!$nbad)
-               return "${root}?page=${pageno}&tab=${tabno}&id=${id}&message=" . urlencode ($ngood . " IP addresse(s) were successfully updated");
+               return "${root}?page=${pageno}&tab=${tabno}&id=${id}&message=" . urlencode ($ngood . " IP address(es) were successfully updated");
        else
-               return "${root}?page=${pageno}&tab=${tabno}&id=${id}&error=" . urlencode ("Encountered ${nbad} errors, updated ${ngood} IP addresses");
+               return "${root}?page=${pageno}&tab=${tabno}&id=${id}&error=" . urlencode ("Encountered ${nbad} errors, updated ${ngood} IP address(es)");
 }
 
 ?>