edit.php
changeset 136 c795dd75a77e
parent 127 e2c54e888f7e
child 140 e68c3d6094d1
equal deleted inserted replaced
135:3673b1c9246c 136:c795dd75a77e
    76 
    76 
    77 if ( $perm_view == "none" || $perm_view == "own" && $user_is_zone_owner == "0" ) {
    77 if ( $perm_view == "none" || $perm_view == "own" && $user_is_zone_owner == "0" ) {
    78 	error(ERR_PERM_VIEW_ZONE);
    78 	error(ERR_PERM_VIEW_ZONE);
    79 } else {
    79 } else {
    80 	echo "   <div class=\"showmax\">\n";
    80 	echo "   <div class=\"showmax\">\n";
    81 	show_pages($record_count,ROWAMOUNT,$zone_id);
    81 	show_pages($record_count,$iface_rowamount,$zone_id);
    82 	echo "   </div>\n";
    82 	echo "   </div>\n";
    83 
    83 
    84 	$records = get_records_from_domain_id($zone_id,ROWSTART,ROWAMOUNT);
    84 	$records = get_records_from_domain_id($zone_id,ROWSTART,$iface_rowamount);
    85 	if ( $records == "-1" ) { 
    85 	if ( $records == "-1" ) { 
    86 		echo " <p>" .  _("This zone does not have any records. Weird.") . "</p>\n";
    86 		echo " <p>" .  _("This zone does not have any records. Weird.") . "</p>\n";
    87 	} else {
    87 	} else {
    88 		echo "   <form method=\"post\">\n";
    88 		echo "   <form method=\"post\">\n";
    89 		echo "   <table>\n";
    89 		echo "   <table>\n";