diff --git a/lam/templates/tools.php b/lam/templates/tools.php
index 0e1c6c05..f61b74b5 100644
--- a/lam/templates/tools.php
+++ b/lam/templates/tools.php
@@ -56,10 +56,11 @@ foreach ($toSort as $key => $value) {
$tools[] = new $key();
}
-echo "
\n";
+echo "\n";
// print tools table
-echo "
\n";
+$container = new htmlTable();
+$container->addElement(new htmlSubTitle(_('Tools')), true);
for ($i = 0; $i < sizeof($tools); $i++) {
// check access level
@@ -69,25 +70,17 @@ for ($i = 0; $i < sizeof($tools); $i++) {
if ($tools[$i]->getRequiresPasswordChangeRights() && !checkIfPasswordChangeIsAllowed()) {
continue;
}
- // print tool
- echo "\n";
- echo " | \n";
- echo " ";
- echo "getLink() . "\">";
- echo "getImageLink() . "\" alt=\"" . $tools[$i]->getName() . "\">";
- echo " " . $tools[$i]->getName() . "";
- echo "\n";
- echo "
| \n";
- echo " | \n";
- echo "";
- echo $tools[$i]->getDescription();
- echo " | \n";
- echo " | \n";
- echo "
\n";
+ // add tool
+ $container->addElement(new htmlLink($tools[$i]->getName(), $tools[$i]->getLink(), '../graphics/' . $tools[$i]->getImageLink()));
+ $container->addElement(new htmlSpacer('10px', null));
+ $container->addElement(new htmlOutputText($tools[$i]->getDescription()), true);
+ $container->addElement(new htmlSpacer(null, '20px'), true);
}
-echo "
\n";
+$tabindex = 1;
+parseHtml(null, $container, array(), true, $tabindex, 'user');
+echo "
";
include 'main_footer.php';