include images in links
This commit is contained in:
parent
0ddf896454
commit
a7c6e83730
|
@ -53,25 +53,26 @@ $types = $_SESSION['config']->get_ActiveTypes();
|
|||
<table border=0 width="100%">
|
||||
<tr>
|
||||
<td width="200">
|
||||
<img alt="donations" src="../graphics/smile.png"> <a href="http://lam.sourceforge.net/sponsors/donations.htm" target="_blank"><?php echo _("Donate") ?></a>
|
||||
<a href="http://lam.sourceforge.net/sponsors/donations.htm" target="_blank"><img alt="donations" src="../graphics/smile.png"> <?php echo _("Donate") ?></a>
|
||||
<br><br>
|
||||
<img alt="tools" src="../graphics/tools.png"> <a href="tools.php" target="mainpart"><BIG><B><?php echo _("Tools") ?></B></BIG></a>
|
||||
<a href="tools.php" target="mainpart"><img alt="tools" src="../graphics/tools.png"> <BIG><B><?php echo _("Tools") ?></B></BIG></a>
|
||||
</td>
|
||||
<td align="center">
|
||||
<a href="http://lam.sourceforge.net" target="new_window"><img src="../graphics/banner.jpg" border=1 alt="LDAP Account Manager"></a>
|
||||
</td>
|
||||
<td width="200" align="right" height=20><img alt="logout" src="../graphics/go.png"> <a href="./logout.php" target="_top"><big><b><?php echo _("Logout") ?></b></big></a></td>
|
||||
<td width="200" align="right" height=20><a href="./logout.php" target="_top"><img alt="logout" src="../graphics/go.png"> <big><b><?php echo _("Logout") ?></b></big></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
<p align="center">
|
||||
<?php
|
||||
$linkList = array();
|
||||
if ($_SESSION['config']->get_Suffix('tree') != "") {
|
||||
$linkList[] = '<img alt="tree view" src="../graphics/process.png"> <a href="./tree/tree_view.php" target="mainpart"><big>' . _("Tree view") . '</big></a>' . "\n";
|
||||
$linkList[] = '<a href="./tree/tree_view.php" target="mainpart"><img alt="tree view" src="../graphics/process.png"> <big>' . _("Tree view") . '</big></a>' . "\n";
|
||||
}
|
||||
for ($i = 0; $i < sizeof($types); $i++) {
|
||||
$linkList[] = '<img alt="' . $types[$i] . '" src="../graphics/' . $types[$i] . '.png"> ' .
|
||||
'<a href="./lists/list.php?type=' . $types[$i] . '" target="mainpart"><big>' . getTypeAlias($types[$i]) . '</big></a>';
|
||||
$linkList[] = '<a href="./lists/list.php?type=' . $types[$i] . '" target="mainpart">' .
|
||||
'<img alt="' . $types[$i] . '" src="../graphics/' . $types[$i] . '.png"> ' .
|
||||
'<big>' . getTypeAlias($types[$i]) . '</big></a>';
|
||||
}
|
||||
echo implode(' ', $linkList);
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue