Make delete message clearer
authorJamie Cameron <jcameron@webmin.com>
Fri, 17 Jul 2009 17:24:42 +0000 (17:24 +0000)
committerJamie Cameron <jcameron@webmin.com>
Fri, 17 Jul 2009 17:24:42 +0000 (17:24 +0000)
dhcpd/lang/en
dhcpd/list_leases.cgi

index bf82a48..2681d82 100644 (file)
@@ -152,7 +152,7 @@ listl_start=Start Date
 listl_end=End Date
 listl_return=network and host list
 listl_all=List all active and expired leases
-listl_delete=Click on a lease IP address from the list above to delete it.
+listl_delete2=Click on a lease IP address from the list below to delete it.
 listl_unknown=Unknown
 listl_allocs=$1 IP addresses available, $2 allocated ($3 %)
 listl_mode=Display mode :
index e3b342a..566939d 100755 (executable)
@@ -159,6 +159,7 @@ else {
                        }
 
                # Table header, with sorting
+               print "<b>$text{'listl_delete2'}</b><br>\n";
                print &ui_columns_start([
                        &sort_link("ipaddr"),
                        &sort_link("ether"),
@@ -203,7 +204,6 @@ else {
                        print &ui_columns_row(\@cols);
                        }
                print &ui_columns_end();
-               print "$text{'listl_delete'}<p>\n";
                }
        else {
                print "<b>",&text($in{'all'} ? 'listl_lfnotcont' :