summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1475ea4)
raw | patch | inline | side by side (parent: 1475ea4)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 2 Nov 2007 07:01:31 +0000 (07:01 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 2 Nov 2007 07:01:31 +0000 (07:01 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7704 594d385d-05f5-0310-b6e9-bd551577e9d8
ihtml/themes/default/GOsa_MultiSelectHeader.ihtml | [new file with mode: 0644] | patch | blob |
ihtml/themes/default/GOsa_MultiSelectHeaderSubEntry.ihtml | [new file with mode: 0644] | patch | blob |
include/class_MultiSelectWindow.inc | patch | blob | history | |
include/php_layers_menu/templates/GOsa_MultiSelectHeader.ihtml | [deleted file] | patch | blob | history |
include/php_layers_menu/templates/GOsa_MultiSelectHeaderSubEntry.ihtml | [deleted file] | patch | blob | history |
diff --git a/ihtml/themes/default/GOsa_MultiSelectHeader.ihtml b/ihtml/themes/default/GOsa_MultiSelectHeader.ihtml
--- /dev/null
@@ -0,0 +1,35 @@
+<!-- BEGIN template -->
+<!-- beginning of horizontal menu bar -->
+
+
+<TABLE border="0" cellspacing="0" cellpadding="0">
+ <TR>
+ <TD>
+ <DIV class="khorbar">
+ <TABLE border="0" cellspacing="0" cellpadding="0">
+ <TR>
+ <!-- BEGIN horizontal_menu_cell -->
+ <TD>
+ <!-- BEGIN cell_link -->
+ <DIV id="{menu_layer_label}" class="khorbaritem" onmouseover="clearLMTO();" onmouseout="setLMTO();">
+ <A href="{href}"{onmouseover}{title}{target}>
+ <IMG align="top" src="{imgwww}{transparent}" width="1" height="16" border="0" alt="" />
+ <!-- BEGIN cell_icon -->
+ <IMG align="top" src="{iconsrc}" width="{iconwidth}" height="{iconheight}" border="0" alt="{iconalt}" />
+ <!-- END cell_icon -->
+ {text}
+ <!-- BEGIN cell_arrow -->
+ <IMG src="{imgwww}{downsrc}" width="{downwidth}" height="{downheight}" border="0" alt=">>" />
+ <!-- END cell_arrow --> </A>
+ </DIV>
+ <!-- END cell_link -->
+ </TD>
+ <!-- END horizontal_menu_cell -->
+ </TR>
+ </TABLE>
+ </DIV>
+ </TD>
+ </TR>
+</TABLE>
+<!-- end of horizontal menu bar -->
+<!-- END template -->
diff --git a/ihtml/themes/default/GOsa_MultiSelectHeaderSubEntry.ihtml b/ihtml/themes/default/GOsa_MultiSelectHeaderSubEntry.ihtml
--- /dev/null
@@ -0,0 +1,63 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-15"></meta>
+<title>The PHP Layers Menu - Templates</title>
+<link rel="StyleSheet" href="../layersmenu-gtk2.css" type="text/css"></link>
+<style type="text/css">
+<!--
+.submenu {
+ position: relative;
+ visibility: visible;
+}
+//-->
+</style>
+</head>
+<body>
+
+<pre>
+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.
+--
+</pre>
+
+<!-- BEGIN template -->
+
+<div id="{layer_label}" class="submenu" onmouseover="clearLMTO();" onmouseout="setLMTO();">
+<table border="0" cellspacing="0" cellpadding="0">
+<tr>
+<td nowrap="nowrap">
+<div class="subframe">
+<!-- BEGIN sub_menu_cell -->
+<div id="{refid}" class="item">
+<div style='cursor: pointer;' onClick="send_menu_action('{href}');"{onmouseover}{title}{target}><img
+align="top" src="{imgwww}{transparent}" width="1" height="16" border="0"
+alt="" /><!-- BEGIN cell_icon --><img
+align="top" src="{iconsrc}" width="{iconwidth}" height="{iconheight}" border="0"
+alt="{iconalt}" /> <!-- END cell_icon -->{text}<!-- BEGIN cell_arrow --> <img
+class="fwdarr" src="{imgwww}{arrowsrc}" width="{arrowwidth}" height="{arrowheight}"
+border="0" alt=">>" /><!-- END cell_arrow --> </div>
+</div>
+<!-- END sub_menu_cell -->
+<!-- BEGIN separator -->
+<div class="separator"> </div>
+<!-- END separator -->
+</div>
+</td>
+</tr>
+</table>
+</div>
+
+<!-- END template -->
+
+</body>
+</html>
index 0de22ac58d106324017282afa0ff8bbf0a13ae9c..e267b3ded553e827844ae0881a29c9f0afcef086 100644 (file)
$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
+++ /dev/null
@@ -1,35 +0,0 @@
-<!-- BEGIN template -->
-<!-- beginning of horizontal menu bar -->
-
-
-<TABLE border="0" cellspacing="0" cellpadding="0">
- <TR>
- <TD>
- <DIV class="khorbar">
- <TABLE border="0" cellspacing="0" cellpadding="0">
- <TR>
- <!-- BEGIN horizontal_menu_cell -->
- <TD>
- <!-- BEGIN cell_link -->
- <DIV id="{menu_layer_label}" class="khorbaritem" onmouseover="clearLMTO();" onmouseout="setLMTO();">
- <A href="{href}"{onmouseover}{title}{target}>
- <IMG align="top" src="{imgwww}{transparent}" width="1" height="16" border="0" alt="" />
- <!-- BEGIN cell_icon -->
- <IMG align="top" src="{iconsrc}" width="{iconwidth}" height="{iconheight}" border="0" alt="{iconalt}" />
- <!-- END cell_icon -->
- {text}
- <!-- BEGIN cell_arrow -->
- <IMG src="{imgwww}{downsrc}" width="{downwidth}" height="{downheight}" border="0" alt=">>" />
- <!-- END cell_arrow --> </A>
- </DIV>
- <!-- END cell_link -->
- </TD>
- <!-- END horizontal_menu_cell -->
- </TR>
- </TABLE>
- </DIV>
- </TD>
- </TR>
-</TABLE>
-<!-- end of horizontal menu bar -->
-<!-- END template -->
diff --git a/include/php_layers_menu/templates/GOsa_MultiSelectHeaderSubEntry.ihtml b/include/php_layers_menu/templates/GOsa_MultiSelectHeaderSubEntry.ihtml
+++ /dev/null
@@ -1,63 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html>
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-15"></meta>
-<title>The PHP Layers Menu - Templates</title>
-<link rel="StyleSheet" href="../layersmenu-gtk2.css" type="text/css"></link>
-<style type="text/css">
-<!--
-.submenu {
- position: relative;
- visibility: visible;
-}
-//-->
-</style>
-</head>
-<body>
-
-<pre>
-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.
---
-</pre>
-
-<!-- BEGIN template -->
-
-<div id="{layer_label}" class="submenu" onmouseover="clearLMTO();" onmouseout="setLMTO();">
-<table border="0" cellspacing="0" cellpadding="0">
-<tr>
-<td nowrap="nowrap">
-<div class="subframe">
-<!-- BEGIN sub_menu_cell -->
-<div id="{refid}" class="item">
-<div style='cursor: pointer;' onClick="send_menu_action('{href}');"{onmouseover}{title}{target}><img
-align="top" src="{imgwww}{transparent}" width="1" height="16" border="0"
-alt="" /><!-- BEGIN cell_icon --><img
-align="top" src="{iconsrc}" width="{iconwidth}" height="{iconheight}" border="0"
-alt="{iconalt}" /> <!-- END cell_icon -->{text}<!-- BEGIN cell_arrow --> <img
-class="fwdarr" src="{imgwww}{arrowsrc}" width="{arrowwidth}" height="{arrowheight}"
-border="0" alt=">>" /><!-- END cell_arrow --> </div>
-</div>
-<!-- END sub_menu_cell -->
-<!-- BEGIN separator -->
-<div class="separator"> </div>
-<!-- END separator -->
-</div>
-</td>
-</tr>
-</table>
-</div>
-
-<!-- END template -->
-
-</body>
-</html>