]> err.no Git - scalable-opengroupware.org/blob - UI/Templates/UIxPageFrame.wox
git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1009 d1b88da0-ebda-0310...
[scalable-opengroupware.org] / UI / Templates / UIxPageFrame.wox
1 <?xml version="1.0" standalone="yes"?>
2   <container 
3     xmlns="http://www.w3.org/1999/xhtml"
4     xmlns:var="http://www.skyrix.com/od/binding"
5     xmlns:const="http://www.skyrix.com/od/constant"
6     xmlns:rsrc="OGo:url"
7     xmlns:label="OGo:label"
8     ><var:string var:value="doctype" const:escapeHTML="NO" />
9     <var:if condition="hideFrame" const:negate="YES"
10       ><html>
11         <head>
12           <title>
13             <var:string value="title"/>
14           </title>
15           <meta name="hideFrame" var:content="hideFrame" />
16           <meta name="description" content="SOGo Web Interface" />
17           <meta name="author" content="SKYRIX Software AG/Inverse groupe conseil" />
18           <meta name="robots" content="stop" />
19           <link href="mailto:supper@inverse.ca" rev="made" />
20           <link rel="shortcut icon" rsrc:href="lori_16x16.ico" type="image/x-icon" />
21           <link type="text/css" rel="stylesheet" rsrc:href="generic.css" />
22           <link type="text/css" rel="stylesheet" rsrc:href="dtree.css" />
23           <var:if condition="hasProductSpecificCSS"
24             ><link type="text/css" rel="stylesheet" var:href="productCSSURL"
25               /></var:if>
26           <var:if condition="hasPageSpecificCSS"
27             ><link type="text/css" rel="stylesheet" var:href="pageCSSURL"
28               /></var:if>
29         </head>
30
31         <body oncontextmenu="return false;" var:class="bodyClasses">
32           <script type="text/javascript">
33             var UserFolderURL = '<var:string value="userFolderPath" />';
34             var ApplicationBaseURL = '<var:string value="applicationPath" />';
35             var ResourcesURL = '/SOGo.woa/WebServerResources';
36             var UserLogin = '<var:string value="shortUserNameForDisplay" />';
37           </script>
38
39           <script type="text/javascript" rsrc:src="prototype.js"><!-- space required --></script>
40           <script type="text/javascript" rsrc:src="JavascriptAPIExtensions.js"><!-- space required --></script>
41           <script type="text/javascript" rsrc:src="HTMLElement.js"><!-- space required --></script>
42           <script type="text/javascript" rsrc:src="HTMLInputElement.js"><!-- space required --></script>
43           <script type="text/javascript" rsrc:src="HTMLTableElement.js"><!-- space required --></script>
44           <script type="text/javascript" rsrc:src="HTMLUListElement.js"><!-- space required --></script>
45           <script type="text/javascript" rsrc:src="generic.js"><!-- space required --></script>
46           <script type="text/javascript" rsrc:src="SOGoDragAndDrop.js"><!-- space required --></script>
47           <script type="text/javascript" rsrc:src="SOGoDragHandles.js"><!-- space required --></script>
48           <var:if condition="hasProductSpecificJavaScript"
49             ><script type="text/javascript" var:src="productJavaScriptURL"><!-- space required --></script
50               ></var:if>
51           <var:if condition="hasPageSpecificJavaScript"
52             ><script type="text/javascript" var:src="pageJavaScriptURL"> <!-- space required --></script
53               ></var:if>
54           <var:js-stringtable
55             var:framework="productFrameworkName"
56             const:identifier="labels" />
57
58           <var:if condition="isPopup" const:negate="YES"
59             ><var:if condition="context.isUIxDebugEnabled"
60               ><div id="logConsole"><!-- space --></div></var:if>
61
62             <div id="linkBanner" class="linkbanner">
63               <a var:href="relativeHomePath"
64                 ><var:string label:value="Home" /></a> |
65               <a var:href="relativeCalendarPath"
66                 ><var:string label:value="Calendar" /></a> |
67               <a var:href="relativeContactsPath"
68                 ><var:string label:value="Address Book" /></a> |
69               <a var:href="relativeMailPath"
70                 ><var:string label:value="Mail" /></a> |
71               <a var:href="logoffPath"
72                 ><var:string label:value="Logoff" /></a>
73               <var:if condition="context.isUIxDebugEnabled"
74                 >| <a href="#"><var:string
75                     label:value="Log Console (dev.)" /></a
76                   ></var:if>
77             </div>
78           </var:if
79             
80             ><var:component className="UIxToolbar" var:toolbar="toolbar"
81             />
82
83           <div class="pageContent"
84             ><var:component-content
85               /></div>
86           <noscript>
87             <div class="javascriptPopupBackground">
88             </div>
89             <div class="javascriptMessagePseudoWindow noJavascriptErrorMessage">
90               <var:string label:value="noJavascriptError"
91                 /><br /><br
92                 /><a class="button" var:href="page.context.uri"
93                 ><var:string label:value="noJavascriptRetry"
94                   /></a>
95             </div>
96           </noscript>
97         </body>
98       </html>
99     </var:if>
100
101     <var:if condition="hideFrame">
102       <var:component-content />
103     </var:if>
104   </container>
105