fixed some HTML errors
This commit is contained in:
		
							parent
							
								
									be38510cdb
								
							
						
					
					
						commit
						4df44c8b18
					
				|  | @ -229,22 +229,22 @@ function draw_navigation_bar ($count) { | ||||||
|   echo ("<tr>\n"); |   echo ("<tr>\n"); | ||||||
|   echo ("<td><input type=\"submit\" name=\"refresh\" value=\"" . _("Refresh") . "\">  "); |   echo ("<td><input type=\"submit\" name=\"refresh\" value=\"" . _("Refresh") . "\">  "); | ||||||
|   if ($page != 1) |   if ($page != 1) | ||||||
|     echo ("<a align=\"right\" class=\"userlist\" href=\"listgroups.php?page=" . ($page - 1) . "&list=" . $list . "\"><=</a>\n"); |     echo ("<a class=\"userlist\" href=\"listgroups.php?page=" . ($page - 1) . "&list=" . $list . "\"><=</a>\n"); | ||||||
|   else |   else | ||||||
|     echo ("<="); |     echo ("<="); | ||||||
|   echo (" "); |   echo (" "); | ||||||
| 
 | 
 | ||||||
|   if ($page < ($count / $max_pageentrys)) |   if ($page < ($count / $max_pageentrys)) | ||||||
|     echo ("<a align=\"right\" class=\"userlist\" href=\"listgroups.php?page=" . ($page + 1) . "&list=" . $list . "\">=></a>\n"); |     echo ("<a class=\"userlist\" href=\"listgroups.php?page=" . ($page + 1) . "&list=" . $list . "\">=></a>\n"); | ||||||
|   else |   else | ||||||
|     echo ("=></td>"); |     echo ("=></td>"); | ||||||
| 
 | 
 | ||||||
|   echo ("<td style=\"color:red\" align=\"right\">"); |   echo ("<td style=\"color:red\" align=\"right\">"); | ||||||
|   for ($i = 0; $i < ($count / $max_pageentrys); $i++) { |   for ($i = 0; $i < ($count / $max_pageentrys); $i++) { | ||||||
|     if ($i == $page - 1) |     if ($i == $page - 1) | ||||||
|       echo (" " . ($i + 1)); |       echo (" " . ($i + 1)); | ||||||
|     else |     else | ||||||
|       echo (" <a align=\"right\" class=\"userlist\" href=\"listgroups.php?page=" . ($i + 1) . |       echo (" <a class=\"userlist\" href=\"listgroups.php?page=" . ($i + 1) . | ||||||
| 	    "&list=" . $list . "\">" . ($i + 1) . "</a>\n"); | 	    "&list=" . $list . "\">" . ($i + 1) . "</a>\n"); | ||||||
|   } |   } | ||||||
|   echo ("</td></tr></table>\n"); |   echo ("</td></tr></table>\n"); | ||||||
|  |  | ||||||
|  | @ -212,22 +212,22 @@ function draw_navigation_bar ($count) { | ||||||
|   echo ("<tr>\n"); |   echo ("<tr>\n"); | ||||||
|   echo ("<td><input type=\"submit\" name=\"refresh\" value=\"" . _("Refresh") . "\">  "); |   echo ("<td><input type=\"submit\" name=\"refresh\" value=\"" . _("Refresh") . "\">  "); | ||||||
|   if ($page != 1) |   if ($page != 1) | ||||||
|     echo ("<a align=\"right\" class=\"userlist\" href=\"listhosts.php?page=" . ($page - 1) . "&list=" . $list . "\"><=</a>\n"); |     echo ("<a class=\"userlist\" href=\"listhosts.php?page=" . ($page - 1) . "&list=" . $list . "\"><=</a>\n"); | ||||||
|   else |   else | ||||||
|     echo ("<="); |     echo ("<="); | ||||||
|   echo (" "); |   echo (" "); | ||||||
| 
 | 
 | ||||||
|   if ($page < ($count / $max_pageentrys)) |   if ($page < ($count / $max_pageentrys)) | ||||||
|     echo ("<a align=\"right\" class=\"userlist\" href=\"listhosts.php?page=" . ($page + 1) . "&list=" . $list . "\">=></a>\n"); |     echo ("<a class=\"userlist\" href=\"listhosts.php?page=" . ($page + 1) . "&list=" . $list . "\">=></a>\n"); | ||||||
|   else |   else | ||||||
|     echo ("=></td>"); |     echo ("=></td>"); | ||||||
| 
 | 
 | ||||||
|   echo ("<td style=\"color:red\" align=\"right\">"); |   echo ("<td style=\"color:red\" align=\"right\">"); | ||||||
|   for ($i = 0; $i < ($count / $max_pageentrys); $i++) { |   for ($i = 0; $i < ($count / $max_pageentrys); $i++) { | ||||||
|     if ($i == $page - 1) |     if ($i == $page - 1) | ||||||
|       echo (" " . ($i + 1)); |       echo (" " . ($i + 1)); | ||||||
|     else |     else | ||||||
|       echo (" <a align=\"right\" class=\"userlist\" href=\"listhosts.php?page=" . ($i + 1) . |       echo (" <a class=\"userlist\" href=\"listhosts.php?page=" . ($i + 1) . | ||||||
| 	    "&list=" . $list . "\">" . ($i + 1) . "</a>\n"); | 	    "&list=" . $list . "\">" . ($i + 1) . "</a>\n"); | ||||||
|   } |   } | ||||||
|   echo ("</td></tr></table>\n"); |   echo ("</td></tr></table>\n"); | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue