use new meta HTML classes
This commit is contained in:
parent
1a0175249f
commit
ad239cc7bd
|
@ -56,10 +56,11 @@ foreach ($toSort as $key => $value) {
|
||||||
$tools[] = new $key();
|
$tools[] = new $key();
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "<p> </p>\n";
|
echo "<div class=\"userlist-bright smallPaddingContent\">\n";
|
||||||
|
|
||||||
// print tools table
|
// print tools table
|
||||||
echo "<table class=\"userlist\" rules=\"none\">\n";
|
$container = new htmlTable();
|
||||||
|
$container->addElement(new htmlSubTitle(_('Tools')), true);
|
||||||
|
|
||||||
for ($i = 0; $i < sizeof($tools); $i++) {
|
for ($i = 0; $i < sizeof($tools); $i++) {
|
||||||
// check access level
|
// check access level
|
||||||
|
@ -69,25 +70,17 @@ for ($i = 0; $i < sizeof($tools); $i++) {
|
||||||
if ($tools[$i]->getRequiresPasswordChangeRights() && !checkIfPasswordChangeIsAllowed()) {
|
if ($tools[$i]->getRequiresPasswordChangeRights() && !checkIfPasswordChangeIsAllowed()) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
// print tool
|
// add tool
|
||||||
echo "<tr class=\"userlist-bright\">\n";
|
$container->addElement(new htmlLink($tools[$i]->getName(), $tools[$i]->getLink(), '../graphics/' . $tools[$i]->getImageLink()));
|
||||||
echo "<td> </td>\n";
|
$container->addElement(new htmlSpacer('10px', null));
|
||||||
echo "<td><br>";
|
$container->addElement(new htmlOutputText($tools[$i]->getDescription()), true);
|
||||||
echo "<a href=\"" . $tools[$i]->getLink() . "\">";
|
$container->addElement(new htmlSpacer(null, '20px'), true);
|
||||||
echo "<img src=\"../graphics/" . $tools[$i]->getImageLink() . "\" alt=\"" . $tools[$i]->getName() . "\">";
|
|
||||||
echo " <b>" . $tools[$i]->getName() . "</b>";
|
|
||||||
echo "</a>\n";
|
|
||||||
echo "<br><br></td>\n";
|
|
||||||
echo "<td> </td>\n";
|
|
||||||
echo "<td>";
|
|
||||||
echo $tools[$i]->getDescription();
|
|
||||||
echo "</td>\n";
|
|
||||||
echo "<td> </td>\n";
|
|
||||||
echo "</tr>\n";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "</table>\n";
|
$tabindex = 1;
|
||||||
|
parseHtml(null, $container, array(), true, $tabindex, 'user');
|
||||||
|
|
||||||
|
echo "</div>";
|
||||||
|
|
||||||
include 'main_footer.php';
|
include 'main_footer.php';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue