From: hickert Date: Fri, 2 Nov 2007 07:01:31 +0000 (+0000) Subject: Updated template usage in layers menu X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6f7520bd9577b0473fa9e425306e17e156ca78c7;p=gosa.git Updated template usage in layers menu git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7704 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/ihtml/themes/default/GOsa_MultiSelectHeader.ihtml b/ihtml/themes/default/GOsa_MultiSelectHeader.ihtml new file mode 100644 index 000000000..9f71d5c1a --- /dev/null +++ b/ihtml/themes/default/GOsa_MultiSelectHeader.ihtml @@ -0,0 +1,35 @@ + + + + + + + + +
+
+ + + + + + +
+ + + +
+
+
+ + diff --git a/ihtml/themes/default/GOsa_MultiSelectHeaderSubEntry.ihtml b/ihtml/themes/default/GOsa_MultiSelectHeaderSubEntry.ihtml new file mode 100644 index 000000000..979ef2afa --- /dev/null +++ b/ihtml/themes/default/GOsa_MultiSelectHeaderSubEntry.ihtml @@ -0,0 +1,63 @@ + + + + +The PHP Layers Menu - Templates + + + + + +
+This is a sub menu template.
+This comment does not appear on the resulting page.
+
+The table tags just inside the first div are needed
+to avoid problems with layers that cross the boundaries of the browsing window
+and to make things work with Opera 6.
+If you are sure that *all* your layers stay inside the browsing window
+and you do not have to support Opera 6
+(or if you will provide a "compatibility" menu version to Opera 6),
+you can safely remove it.
+--
+
+ + + + + + + + + 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'); diff --git a/include/php_layers_menu/templates/GOsa_MultiSelectHeader.ihtml b/include/php_layers_menu/templates/GOsa_MultiSelectHeader.ihtml deleted file mode 100644 index 9f71d5c1a..000000000 --- a/include/php_layers_menu/templates/GOsa_MultiSelectHeader.ihtml +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - -
-
- - - - - - -
- - - -
-
-
- - diff --git a/include/php_layers_menu/templates/GOsa_MultiSelectHeaderSubEntry.ihtml b/include/php_layers_menu/templates/GOsa_MultiSelectHeaderSubEntry.ihtml deleted file mode 100644 index 979ef2afa..000000000 --- a/include/php_layers_menu/templates/GOsa_MultiSelectHeaderSubEntry.ihtml +++ /dev/null @@ -1,63 +0,0 @@ - - - - -The PHP Layers Menu - Templates - - - - - -
-This is a sub menu template.
-This comment does not appear on the resulting page.
-
-The table tags just inside the first div are needed
-to avoid problems with layers that cross the boundaries of the browsing window
-and to make things work with Opera 6.
-If you are sure that *all* your layers stay inside the browsing window
-and you do not have to support Opera 6
-(or if you will provide a "compatibility" menu version to Opera 6),
-you can safely remove it.
---
-
- - - - - - - - -