edit.php
changeset 111 0a2342a64b83
parent 110 455405c757e1
child 119 f74e4f88b680
equal deleted inserted replaced
110:455405c757e1 111:0a2342a64b83
   150 	echo "     </tr>\n";
   150 	echo "     </tr>\n";
   151 
   151 
   152 	$owners = get_users_from_domain_id($zone_id);
   152 	$owners = get_users_from_domain_id($zone_id);
   153 
   153 
   154 	if ($owners == "-1") {
   154 	if ($owners == "-1") {
   155 		echo "      <tr><td>" . _('No owner set or this zone.') . "</td></tr>";
   155 		echo "      <tr><td>" . _('No owner set for this zone.') . "</td></tr>";
   156 	} else {
   156 	} else {
   157 		if ($meta_edit) {
   157 		if ($meta_edit) {
   158 			foreach ($owners as $owner) {
   158 			foreach ($owners as $owner) {
   159 				echo "      <form method=\"post\" action=\"edit.php?id=" . $zone_id . "\">\n";
   159 				echo "      <form method=\"post\" action=\"edit.php?id=" . $zone_id . "\">\n";
   160 				echo "       <tr>\n";
   160 				echo "       <tr>\n";
   194 		echo "        </td>\n";
   194 		echo "        </td>\n";
   195 		echo "       </tr>\n";
   195 		echo "       </tr>\n";
   196 		echo "      </form>\n";
   196 		echo "      </form>\n";
   197 	}
   197 	}
   198 	echo "      <tr>\n";
   198 	echo "      <tr>\n";
   199 	echo "       <th colspan=\"2\">" . _('Type of zone') . "</th>\n";
   199 	echo "       <th colspan=\"2\">" . _('Type') . "</th>\n";
   200 	echo "      </tr>\n";
   200 	echo "      </tr>\n";
   201 
   201 
   202 	if ($meta_edit) {
   202 	if ($meta_edit) {
   203 		echo "      <form action=\"" . $_SERVER['PHP_SELF'] . "?id=" . $zone_id . "\" method=\"post\">\n";
   203 		echo "      <form action=\"" . $_SERVER['PHP_SELF'] . "?id=" . $zone_id . "\" method=\"post\">\n";
   204 		echo "       <input type=\"hidden\" name=\"domain\" value=\"" . $zone_id . "\">\n";
   204 		echo "       <input type=\"hidden\" name=\"domain\" value=\"" . $zone_id . "\">\n";