Code

Layersmenu is old and must not be included if we don't need it
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 30 Oct 2009 10:55:48 +0000 (10:55 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 30 Oct 2009 10:55:48 +0000 (10:55 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14715 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/ihtml/themes/default/headers.tpl

index 20b5ce07a81d30956196cd7ffe24b6659a648eec..d6647d341f5a885afb661e36463f4da349c383bb 100644 (file)
@@ -25,9 +25,6 @@
 {/if}
   <script language="javascript" src="include/focus.js" type="text/javascript"></script>
   <script language="javascript" src="include/warning.js" type="text/javascript"></script>
-  <script language="javascript" src="include/layersmenu-browser_detection.js" type="text/javascript"></script>
-  <script language="javascript" src="include/layersmenu-library.js" type="text/javascript"></script>
-  <script language="javascript" src="include/layersmenu.js" type="text/javascript"></script>
 {if $usePrototype == 'true'}
   <script language="javascript" src="include/prototype.js" type="text/javascript"></script>
   <script language="javascript" src="include/scriptaculous.js" type="text/javascript"></script>
   <script language="javascript" src="include/controls.js" type="text/javascript"></script>
   <script language="javascript" src="include/pulldown.js" type="text/javascript"></script>
   <script language="javascript" src="include/datepicker.js" type="text/javascript"></script>
+{else}
+  <script language="javascript" src="include/layersmenu-browser_detection.js" type="text/javascript"></script>
+  <script language="javascript" src="include/layersmenu-library.js" type="text/javascript"></script>
+  <script language="javascript" src="include/layersmenu.js" type="text/javascript"></script>
 {/if}
 </head>