Author: sdumitriu
Date: 2008-02-13 18:37:49 +0100 (Wed, 13 Feb 2008)
New Revision: 7641

Removed:
   xwiki-platform/web/trunk/standard/src/main/webapp/templates/httpheader.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/web/trunk/standard/src/main/webapp/templates/httpheader.vm
===================================================================
--- xwiki-platform/web/trunk/standard/src/main/webapp/templates/httpheader.vm   
2008-02-13 17:34:22 UTC (rev 7640)
+++ xwiki-platform/web/trunk/standard/src/main/webapp/templates/httpheader.vm   
2008-02-13 17:37:49 UTC (rev 7641)
@@ -1,84 +0,0 @@
-#if($context.getMode()==0)
-<?xml version="1.0" encoding="$xwiki.encoding" ?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
-<html xmlns="http://www.w3.org/1999/xhtml"; lang="en" xml:lang="en">
-<head>
-<title>
-#set( $title = $!xwiki.getWebPreference("title"))
-#if ( $title != "")
-$xwiki.parseContent($title)
-#else
-XWiki . $!doc.web . $!doc.displayTitle
-#end
-</title>
-<meta http-equiv="Content-Type" content="text/html; charset=$xwiki.encoding" />
-$!xwiki.getWebPreference("meta")
-#template("stylesheets.vm")
-<script type="text/javascript" src="$xwiki.getSkinFile("skin.js")"></script>
-<script type="text/javascript" 
src="$xwiki.getSkinFile("prototype.js")"></script>
-<script type="text/javascript" src="$xwiki.getSkinFile("xwiki.js")"></script>
-<script type="text/javascript" 
src="$xwiki.getSkinFile("browserdetect.js")"></script>
-#template("analytics.vm")
-#if(($context.action=="inline")||($context.action=="edit"))
-<script type="text/javascript">
- var cancelEditNextOnunload;
- var cancelCancelEditFlag = true;
- var  lockEditFlag = false;
-
- function cancelEditResponse(){
- }
-
- function cancelEdit(){
-     if (cancelCancelEditFlag) {
-       var surl = "$doc.getExternalURL("cancel")";
-       var myAjax = new Ajax.Request(
-                 surl,
-                 {
-                     method: 'get',
-                     parameters: "",
-                     asynchronous: false
-                 });
-        cancelCancelEditFlag = false;
-     }
-     if (cancelEditNextOnunload!=null)
-           cancelEditNextOnunload();
- }
-
- function lockEdit(){
-    if (lockEditFlag==false) {
-#if($context.action=="inline")
-      var surl = 
"$doc.getExternalURL("lock")?action=inline&language=$!{request.language}";
-#else
-      var surl = "$doc.getExternalURL("lock")?language=$!{request.language}";
-#end
-      var myAjax = new Ajax.Request(
-                surl,
-                {
-                    method: 'get',
-                    parameters: "",
-                    asynchronous: false
-                });
-       lockEditFlag = false;
-    }
- }
-
- function prepareCancelEdit() {
-     cancelEditNextOnunload = document.onunload;
-     document.onunload = cancelEdit;
-     lockEdit();
- }
- function cancelCancelEdit() {
-     cancelCancelEditFlag = false;
- }
-</script>
-</head>
-<body onUnload="cancelEdit()" onLoad="prepareCancelEdit()">
-#else
-</head>
-<body>
-#end
-#else
-#template("stylesheets2.vm")
-<script type="text/javascript" src="$xwiki.getSkinFile("skin.js")"></script>
-#end

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

Reply via email to