equal
deleted
inserted
replaced
25 (verify_permission(supermaster_view)) ? $perm_sm_view = "1" : $perm_sm_view = "0" ; |
25 (verify_permission(supermaster_view)) ? $perm_sm_view = "1" : $perm_sm_view = "0" ; |
26 (verify_permission(supermaster_edit)) ? $perm_sm_edit = "1" : $perm_sm_edit = "0" ; |
26 (verify_permission(supermaster_edit)) ? $perm_sm_edit = "1" : $perm_sm_edit = "0" ; |
27 |
27 |
28 $supermasters = get_supermasters(); |
28 $supermasters = get_supermasters(); |
29 |
29 |
30 echo " <h2>" . _('List all supermasters') . "</h2>\n"; |
30 echo " <h2>" . _('List supermasters') . "</h2>\n"; |
31 echo " <table>\n"; |
31 echo " <table>\n"; |
32 echo " <tr>\n"; |
32 echo " <tr>\n"; |
33 echo " <th> </th>\n"; |
33 echo " <th> </th>\n"; |
34 echo " <th>" . _('IP address of supermaster') . "</th>\n"; |
34 echo " <th>" . _('IP address of supermaster') . "</th>\n"; |
35 echo " <th>" . _('Hostname in NS record') . "</th>\n"; |
35 echo " <th>" . _('Hostname in NS record') . "</th>\n"; |
37 echo " </tr>\n"; |
37 echo " </tr>\n"; |
38 if ($num_supermasters == "0") { |
38 if ($num_supermasters == "0") { |
39 echo " <tr>\n"; |
39 echo " <tr>\n"; |
40 echo " <td class=\"n\"> </td>\n"; |
40 echo " <td class=\"n\"> </td>\n"; |
41 echo " <td class=\"n\" colspan=\"3\">\n"; |
41 echo " <td class=\"n\" colspan=\"3\">\n"; |
42 echo " " . _('No supermasters in this listing, sorry.') . "\n"; |
42 echo " " . _('There are no zones to show in this listing.') . "\n"; |
43 echo " </td>\n"; |
43 echo " </td>\n"; |
44 echo " </tr>\n"; |
44 echo " </tr>\n"; |
45 } else { |
45 } else { |
46 foreach ($supermasters as $c) { |
46 foreach ($supermasters as $c) { |
47 echo " <tr>\n"; |
47 echo " <tr>\n"; |