Author: sdumitriu
Date: 2008-02-13 19:48:31 +0100 (Wed, 13 Feb 2008)
New Revision: 7680

Added:
   xwiki-platform/web/trunk/standard/src/main/webapp/templates/editpanels.vm
Removed:
   
xwiki-platform/skins/trunk/albatross/src/main/resources/albatross/editpanels.vm
Log:
XWIKI-2114: Upgrade the default templates
XSALBATROSS-13: Move Albatross templates files to the XWiki Core templates 
directory to share them with other skins


Deleted: 
xwiki-platform/skins/trunk/albatross/src/main/resources/albatross/editpanels.vm
===================================================================
--- 
xwiki-platform/skins/trunk/albatross/src/main/resources/albatross/editpanels.vm 
    2008-02-13 18:48:02 UTC (rev 7679)
+++ 
xwiki-platform/skins/trunk/albatross/src/main/resources/albatross/editpanels.vm 
    2008-02-13 18:48:31 UTC (rev 7680)
@@ -1,35 +0,0 @@
-## This template is necessary so that different skins can use different edit 
Panels.
-## Thus each skin is allowed to override the editpanelsvars.vm file.
-#template("editpanelsvars.vm")
-#if($editor == "wiki" || $editor == "wysiwyg")
-  #set($editorPanels = $editorPanelsWiki)
-#elseif($editor == "wysiwyg")
-  #set($editorPanels = $editorPanelsWysiwyg)
-#elseif($editor == "object")
-  #set($editorPanels = $editorPanelsObjects)
-#elseif($editor == "class")
-  #set($editorPanels = $editorPanelsClass)
-#elseif($editor == "rights")
-  #set($editorPanels = $editorPanelsRights)
-#elseif($editor == "history")
-  #set($editorPanels = $editorPanelsHistory)
-#end
-#set($editorPanels = $editorPanels.split(","))
-<div id="editPanels" class="panels editor">
-#foreach($panel in $editorPanels)
-  #displaypanel($panel)
-#end
-</div>
-#if($editor == "wysiwyg")
-<script type="text/javascript">
-//<![CDATA[
-  if (browser.isIE || browser.isMozilla || browser.isGecko  || 
browser.isSafari) {
-    var panels = document.getElementById("editPanels");   
-    if(document.getElementById("xwikisyntaxhelppanel"))
-        panels.removeChild(document.getElementById("xwikisyntaxhelppanel"));
-    if (document.getElementById("simpleedittoolbar"))
-        document.getElementById("simpleedittoolbar").style.display = "none";
-  }
-//]]>
-</script>
-#end

Copied: 
xwiki-platform/web/trunk/standard/src/main/webapp/templates/editpanels.vm (from 
rev 7679, 
xwiki-platform/skins/trunk/albatross/src/main/resources/albatross/editpanels.vm)
===================================================================
--- xwiki-platform/web/trunk/standard/src/main/webapp/templates/editpanels.vm   
                        (rev 0)
+++ xwiki-platform/web/trunk/standard/src/main/webapp/templates/editpanels.vm   
2008-02-13 18:48:31 UTC (rev 7680)
@@ -0,0 +1,35 @@
+## This template is necessary so that different skins can use different edit 
Panels.
+## Thus each skin is allowed to override the editpanelsvars.vm file.
+#template("editpanelsvars.vm")
+#if($editor == "wiki" || $editor == "wysiwyg")
+  #set($editorPanels = $editorPanelsWiki)
+#elseif($editor == "wysiwyg")
+  #set($editorPanels = $editorPanelsWysiwyg)
+#elseif($editor == "object")
+  #set($editorPanels = $editorPanelsObjects)
+#elseif($editor == "class")
+  #set($editorPanels = $editorPanelsClass)
+#elseif($editor == "rights")
+  #set($editorPanels = $editorPanelsRights)
+#elseif($editor == "history")
+  #set($editorPanels = $editorPanelsHistory)
+#end
+#set($editorPanels = $editorPanels.split(","))
+<div id="editPanels" class="panels editor">
+#foreach($panel in $editorPanels)
+  #displaypanel($panel)
+#end
+</div>
+#if($editor == "wysiwyg")
+<script type="text/javascript">
+//<![CDATA[
+  if (browser.isIE || browser.isMozilla || browser.isGecko  || 
browser.isSafari) {
+    var panels = document.getElementById("editPanels");   
+    if(document.getElementById("xwikisyntaxhelppanel"))
+        panels.removeChild(document.getElementById("xwikisyntaxhelppanel"));
+    if (document.getElementById("simpleedittoolbar"))
+        document.getElementById("simpleedittoolbar").style.display = "none";
+  }
+//]]>
+</script>
+#end

_______________________________________________
notifications mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications

Reply via email to