From 6f7520bd9577b0473fa9e425306e17e156ca78c7 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 2 Nov 2007 07:01:31 +0000 Subject: [PATCH] Updated template usage in layers menu git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7704 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../themes/default}/GOsa_MultiSelectHeader.ihtml | 0 .../themes/default}/GOsa_MultiSelectHeaderSubEntry.ihtml | 0 include/class_MultiSelectWindow.inc | 6 +++--- 3 files changed, 3 insertions(+), 3 deletions(-) rename {include/php_layers_menu/templates => ihtml/themes/default}/GOsa_MultiSelectHeader.ihtml (100%) rename {include/php_layers_menu/templates => ihtml/themes/default}/GOsa_MultiSelectHeaderSubEntry.ihtml (100%) diff --git a/include/php_layers_menu/templates/GOsa_MultiSelectHeader.ihtml b/ihtml/themes/default/GOsa_MultiSelectHeader.ihtml similarity index 100% rename from include/php_layers_menu/templates/GOsa_MultiSelectHeader.ihtml rename to ihtml/themes/default/GOsa_MultiSelectHeader.ihtml diff --git a/include/php_layers_menu/templates/GOsa_MultiSelectHeaderSubEntry.ihtml b/ihtml/themes/default/GOsa_MultiSelectHeaderSubEntry.ihtml similarity index 100% rename from include/php_layers_menu/templates/GOsa_MultiSelectHeaderSubEntry.ihtml rename to ihtml/themes/default/GOsa_MultiSelectHeaderSubEntry.ihtml diff --git a/include/class_MultiSelectWindow.inc b/include/class_MultiSelectWindow.inc index 0de22ac58..e267b3ded 100644 --- a/include/class_MultiSelectWindow.inc +++ b/include/class_MultiSelectWindow.inc @@ -86,9 +86,9 @@ class MultiSelectWindow{ $mid = new LayersMenu(6, 7, 2, 1); $mid->setImgwww("./images/"); $mid->setIcondir("./images/"); - $mid->setDirroot("/storage/hickert/gosa/include/php_layers_menu/"); - $mid->setHorizontalMenuTpl('GOsa_MultiSelectHeader.ihtml'); - $mid->setSubMenuTpl('GOsa_MultiSelectHeaderSubEntry.ihtml'); + $mid->setDirroot("../include/php_layers_menu/"); + $mid->setHorizontalMenuTpl("../ihtml/".get_template_path("",FALSE).'GOsa_MultiSelectHeader.ihtml'); + $mid->setSubMenuTpl("../ihtml/".get_template_path("",FALSE).'GOsa_MultiSelectHeaderSubEntry.ihtml'); $mid->setMenuStructureString($this->string_ListDropDown); $mid->parseStructureForMenu('menu'); $mid->newHorizontalMenu('menu'); -- 2.30.2