summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f50e5e0)
raw | patch | inline | side by side (parent: f50e5e0)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 3 Sep 2007 07:41:51 +0000 (07:41 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 3 Sep 2007 07:41:51 +0000 (07:41 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7195 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_divlist.inc | patch | blob | history | |
plugins/admin/systems/class_servRepository.inc | patch | blob | history |
index 17176b217b9ce96ffbe8d5f2b743a2a0ecc61291..e39b00f06b0a8f3bdfa238d8bbf1e7ec5ffe2f7f 100644 (file)
var $force_height = false;
var $list_footer = "";
+ var $fix_list_for_plugins = FALSE;
// Added php 4 constructor
function divlist($pageid){
}
+ function SetPluginMode($val = TRUE)
+ {
+ $this->fix_list_for_plugins = $val;
+ }
+
function SetFooter($str)
{
$this->list_footer = $str;
if($this->i_entriesPerPage == 0) {
// We need to construct a "body"-table that is width-of-scrollbar thinner than the "head"-table.
- if(!$this->force_height) {
+ if(!$this->force_height || $this->fix_list_for_plugins) {
$s_return .= "\n<tr><td colspan='".$this->cols."' class='scrollbody'><div style='width:".$this->s_width.";height:".($this->s_height-20)."px;' id='d_scrollbody' class='scrollbody'>";
$s_return .= "<table summary='' style='height:100%;width:581px;' cellspacing='0' id='t_scrollbody'>";
} else {
diff --git a/plugins/admin/systems/class_servRepository.inc b/plugins/admin/systems/class_servRepository.inc
index e188062e563843a9d752793256552d1c8bf6122f..7ea32fe9dab41349aab4aa322a20ff90f93d55fc 100644 (file)
$divlist = new divList("repositories");
$divlist->SetEntriesPerPage(0);
$divlist->setHeight(400);
+ $divlist->SetPluginMode();
$divlist->setHeader(array(array("string"=>_("Release"),"attach"=>"style='width:80px;'"),
array("string"=>_("Sections")),