]> err.no Git - scalable-opengroupware.org/blob - UI/Templates/MailerUI/UIxMailPanelFrame.wox
git-svn-id: http://svn.opengroupware.org/SOGo/trunk@900 d1b88da0-ebda-0310-925b-ed51d...
[scalable-opengroupware.org] / UI / Templates / MailerUI / UIxMailPanelFrame.wox
1 <?xml version="1.0" standalone="yes"?>
2 <container xmlns="http://www.w3.org/1999/xhtml"
3       xmlns:var="http://www.skyrix.com/od/binding"
4       xmlns:const="http://www.skyrix.com/od/constant"
5       xmlns:rsrc="OGo:url"
6       xmlns:label="OGo:label"
7 >
8   <var:if condition="hideFrame" const:negate="YES">
9 <html xmlns="http://www.w3.org/1999/xhtml"
10       xmlns:var="http://www.skyrix.com/od/binding"
11       xmlns:const="http://www.skyrix.com/od/constant"
12       xmlns:rsrc="OGo:url"
13       xmlns:label="OGo:label"
14 >
15   <head>
16     <title>
17       <var:string value="title"/>
18     </title>
19     
20     <meta name="description" content="SOGo Web Interface"/>
21     <meta name="author" content="SKYRIX Software AG"/>
22     <meta name="robots" content="stop"/>
23     
24     <var:js-stringtable const:framework="MailerUI.SOGo"
25                         const:identifier="labels"
26                         const:inplace="NO"
27     />
28     <script rsrc:src="generic.js"> <!-- space required --></script>
29     <script rsrc:src="mailer.js" > <!-- space required --></script>
30     
31     <link type="text/css" rel="stylesheet" rsrc:href="uix.css"    />
32     <link type="text/css" rel="stylesheet" rsrc:href="mailer.css" />
33     <link type="text/css" rel="stylesheet" rsrc:href="mailer-toolbar.css" />
34     <link type="text/css" rel="stylesheet" rsrc:href="mailer-compose.css" />
35
36     <link href="mailto:info@skyrix.com" rev="made"/>
37   </head>
38
39   <body style="background-color: #D4D0C8;">
40    <!-- 
41      Note: the 'href' is required, otherwise an element-id will get created
42      -->
43    <form name="pageform" var:href="pageFormURL" sidInUrl="NO">
44
45      <var:if condition="showLinkBanner">
46        <table cellpadding="5" cellspacing="0" border="0" class="linkbanner">
47          <tr>
48           <td colspan="2">
49             <table cellpadding="0" cellspacing="0" border="0" width="100%">
50               <tr>
51                 <td class="linkbannerlinks">
52                   <a var:href="relativeHomePath"
53                   ><var:string label:value="Home" /></a> |
54                   <a var:href="relativeCalendarPath"
55                   ><var:string label:value="Calendar" /></a> |
56                   <a var:href="relativeContactsPath"
57                   ><var:string label:value="Addressbook" /></a> |
58                   <a var:href="relativeMailPath"
59                   ><var:string label:value="Mail" /></a> |
60                   <a href="http://to.be.done/"
61                   ><var:string label:value="Right Administration" /></a>
62                 </td>
63                 <td class="linkbannerimage">
64                   <a href="http://www.opengroupware.org:80/" target="OGo">
65                     <img rsrc:src="CommonUI.SOGo/menu_logo_top.gif"
66                          align="center" border="0" alt="OGo Logo" 
67                          valign="middle"
68                     />
69                   </a>
70                 </td>
71               </tr>
72             </table>
73             
74             <!-- TODO: replace the line with a CSS straight line -->
75             <table cellpadding="0" cellspacing="0" border="0" width="100%">
76               <tr>
77                 <td class="linecolor"><img 
78                     rsrc:src="CommonUI.SOGo/line_left.gif"/></td>
79                 <td class="linecolor" width="98%">
80                   <img rsrc:src="CommonUI.SOGo/line_stretch.gif"/>
81                 </td>
82                 <td class="linecolor"><img 
83                     rsrc:src="CommonUI.SOGo/line_right.gif"/></td>
84               </tr>
85               <tr>
86                 <td valign="top" colspan="2">
87                   <var:component className="UIxAppNavView" />
88                 </td>
89                 <td valign="top" align="right" class="button_submit_env">
90                   <a var:href="helpURL"
91                      class="button_submit"
92                      label:string="Help"
93                      var:target="helpWindowTarget"
94                   />
95                 </td>
96               </tr>
97             </table>
98           </td>
99         </tr>
100       </table>
101     </var:if>
102
103     <table border="0" class="tb_maintable" cellspacing="0" cellpadding="2"
104            var:style="bannerToolbarStyle">
105       <!-- this table is required for right alignment -->
106       <tr>
107         <td valign="top" class="vertframerow">
108           <var:component className="UIxMailToolbar" />
109         </td>
110         <td align="right" width="80" class="vertframerow">
111           <table border="0"> <!-- TODO: what is this table for? -->
112             <tr>
113               <td class="tb_logocell tb_icon"
114                   ><div class="tbicon_logo"> </div></td>
115             </tr>
116           </table>
117         </td>
118       </tr>
119     </table>
120     
121     <!-- consume toolbar -->
122     <div class="tb_consumer" var:style="bannerConsumeStyle"> </div>
123     
124     <table border="0" width="100%" cellspacing="0" cellpadding="2">
125       <tr class="vertframerow">
126         <td width="100%" valign="top" class="vertframerow" colspan="2">
127           <var:component-content/>
128         </td>
129       </tr>
130     </table>
131    </form>
132
133    <var:string value="errorAlertJavaScript" const:escapeHTML="NO" />
134   </body>
135 </html>
136    </var:if>
137
138   <var:if condition="hideFrame">
139     <var:component-content/>
140   </var:if>
141 </container>