summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c4f27e5)
raw | patch | inline | side by side (parent: c4f27e5)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 24 May 2005 06:38:52 +0000 (06:38 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 24 May 2005 06:38:52 +0000 (06:38 +0000) |
html/main.php | patch | blob | history | |
include/class_pluglist.inc | patch | blob | history |
diff --git a/html/main.php b/html/main.php
index 7005a1646ab0ebe185ac0cbbc944bada12f706ce..cdce202383b86132ef30f0cf83969dc3a710cdf4 100644 (file)
--- a/html/main.php
+++ b/html/main.php
/* Load plugin */
if (is_file("$plugin_dir/main.inc")){
require_once ("$plugin_dir/main.inc");
+ print $plugin_dir;
} else {
print_red(sprintf(_("Can't find any plugin definitions for plugin '%s'!"), $plug));
echo $_SESSION['errors'];
index f6963d10f17954876b5d245f13eeda5cf9b6d862..33189acceb174802df37b4abc12551e6d6194ca1 100644 (file)
$index= $this->get_index($info['PATH']);
if ($this->check_access($info['ACL'])){
+
+ /* Hm this looks doubled */
+ $image= get_template_path('images/'.$info['ICON']);
+ if ($col > 5){
+ $entries= $entries."</tr><tr>";
+ $col = 1;
+ }
+ $entries= $entries."<td class=\"iconmenu\" style=\"width:20%;\" onClick='location.href=\"main.php?plug=$index&reset=1\"'".
+ "><a class=\"iconmenu\" href=\"main.php?plug=$index&reset=1\">".
+ "<img $isize border=0 align=middle src=\"$image".
+ "\" alt=\"*\"> ".
+ _($plHeadline)."</a></td>\n";
+ $col++ ;
+
- /* next row? */
+ /*
+ / * next row? * /
$image= get_template_path('images/'.$info['ICON']);
if ($col % 5){
$entries= $entries."<td class=\"iconmenu\" style=\"width:20%;\" onClick='location.href=\"main.php?plug=$index&reset=1\"'".
_($plHeadline)."</a></td>\n</tr>\n<tr>\n";
$col= 1;
}
+ */
}
}