From c5a2a9d63b607fa880e8ae6e8a6cc0d0a44a9706 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 24 May 2005 06:38:52 +0000 Subject: [PATCH] First page W3c Conform (first step done) git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@354 594d385d-05f5-0310-b6e9-bd551577e9d8 --- html/main.php | 1 + include/class_pluglist.inc | 18 +++++++++++++++++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/html/main.php b/html/main.php index 7005a1646..cdce20238 100644 --- a/html/main.php +++ b/html/main.php @@ -257,6 +257,7 @@ if (isset ($_SESSION['post_cnt'])){ /* 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']; diff --git a/include/class_pluglist.inc b/include/class_pluglist.inc index f6963d10f..33189acce 100644 --- a/include/class_pluglist.inc +++ b/include/class_pluglist.inc @@ -196,8 +196,23 @@ class pluglist { $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.""; + $col = 1; + } + $entries= $entries."". + "\"*\" ". + _($plHeadline)."\n"; + $col++ ; + - /* next row? */ + /* + / * next row? * / $image= get_template_path('images/'.$info['ICON']); if ($col % 5){ $entries= $entries."\n\n\n"; $col= 1; } + */ } } -- 2.30.2