layout improvements
This commit is contained in:
		
							parent
							
								
									12cc7a5a9b
								
							
						
					
					
						commit
						6f9bdca2ee
					
				|  | @ -62,7 +62,7 @@ echo ("<title>LDAP Account Manager</title>\n"); | ||||||
| echo ("<link rel=\"stylesheet\" type=\"text/css\" href=\"../style/layout.css\">"); | echo ("<link rel=\"stylesheet\" type=\"text/css\" href=\"../style/layout.css\">"); | ||||||
| echo ("</head>\n"); | echo ("</head>\n"); | ||||||
| echo ("<frameset rows=\"130,*\">\n"); | echo ("<frameset rows=\"130,*\">\n"); | ||||||
| echo ("<frame src=\"./main_header.php\" name=\"head\" frameborder=\"0\" scrolling=\"no\">\n"); | echo ("<frame src=\"./main_header.php\" name=\"head\" frameborder=\"0\" scrolling=\"yes\">\n"); | ||||||
| // display page to add suffixes, if needed
 | // display page to add suffixes, if needed
 | ||||||
| if (sizeof($new_suffs) > 0) echo ("<frame src=\"initsuff.php?suffs='" . implode(";", $new_suffs) . | if (sizeof($new_suffs) > 0) echo ("<frame src=\"initsuff.php?suffs='" . implode(";", $new_suffs) . | ||||||
| 	"'\" name=\"mainpart\" frameborder=\"0\" scrolling=\"yes\">\n"); | 	"'\" name=\"mainpart\" frameborder=\"0\" scrolling=\"yes\">\n"); | ||||||
|  |  | ||||||
|  | @ -67,14 +67,16 @@ $types = $_SESSION['config']->get_ActiveTypes(); | ||||||
| 	</tr> | 	</tr> | ||||||
| 	<tr> | 	<tr> | ||||||
| 		<?php | 		<?php | ||||||
| 		echo "<td colspan=3 align=\"center\">"; | 		echo "<td colspan=3 align=\"center\" style=\"white-space:nowrap;\">"; | ||||||
|  | 			$linkList = array(); | ||||||
| 			if ($_SESSION['config']->get_Suffix('tree') != "") { | 			if ($_SESSION['config']->get_Suffix('tree') != "") { | ||||||
| 				echo '<img src="../graphics/process.png"> <a href="./tree/tree_view.php" target="mainpart"><big>' . _("Tree view") . '</big></a>        ' . "\n"; | 				$linkList[] = '<img src="../graphics/process.png"> <a href="./tree/tree_view.php" target="mainpart"><big>' . _("Tree view") . '</big></a>' . "\n"; | ||||||
| 			} | 			} | ||||||
| 			for ($i = 0; $i < sizeof($types); $i++) { | 			for ($i = 0; $i < sizeof($types); $i++) { | ||||||
| 					echo '<img src="../graphics/' . $types[$i] . '.png"> '; | 					$linkList[] = '<img src="../graphics/' . $types[$i] . '.png"> ' . | ||||||
| 					echo '<a href="./lists/list.php?type=' . $types[$i] . '" target="mainpart"><big>' . getTypeAlias($types[$i]) . '</big></a>        '; | 						'<a href="./lists/list.php?type=' . $types[$i] . '" target="mainpart"><big>' . getTypeAlias($types[$i]) . '</big></a>'; | ||||||
| 			} | 			} | ||||||
|  | 			echo implode('        ', $linkList); | ||||||
| 		echo "</td>"; | 		echo "</td>"; | ||||||
| 		?>
 | 		?>
 | ||||||
| 	</tr> | 	</tr> | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue