]> err.no Git - scalable-opengroupware.org/blob - UI/Templates/UIxCalWeekPrintview.wox
git-svn-id: http://svn.opengroupware.org/SOGo/trunk@900 d1b88da0-ebda-0310-925b-ed51d...
[scalable-opengroupware.org] / UI / Templates / UIxCalWeekPrintview.wox
1 <?xml version="1.0" standalone="yes"?>
2 <var:component 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                xmlns:uix="OGo:uix"
8                className="UIxPrintPageFrame"
9                title="title">
10
11   <table border="0" cellpadding="0" cellspacing="0" width="100%">
12     <tr>
13       <td class="weekprintview">
14         <h1 class="weekprintview"><var:string value="title" /></h1>
15         <h2 class="weekprintview"><var:string value="formattedCalendarUIDs" /></h2>
16       </td>
17     </tr>
18     <tr>
19       <td>
20         <var:week-overview list="appointments"
21                            item="appointment"
22                            weekStart="startDate"
23                            dayIndex="dayIndex"
24                            const:startDateKey="startDate"
25                            const:endDateKey="endDate"
26                            const:titleStyle="weekprintview_title"
27                            const:contentStyle="weekprintview_content"
28                            const:cellpadding="5"
29                            const:cellspacing="0"
30                            const:border="1"
31                            const:width="100%"
32         >
33           <var:week-title>
34             <table cellpadding="5"
35                    width="100%"
36                    border="0"
37                    cellspacing="0"
38                    class="weekprintview_title"
39             >
40               <tr>
41                 <td align="left" valign="top">
42                   <var:string value="currentDay.dayOfMonth"
43                               const:numberformat="02"
44                   />
45                 </td>
46                 <td align="center" valign="top" width="97%">
47                   <var:string value="currentDayName" />
48                 </td>
49               </tr>
50             </table>
51           </var:week-title>
52           <var:if condition="hasDayInfo">
53             <var:week-info>
54               <var:if condition="hasHolidayInfo">
55                 <var:string value="holidayInfo"
56                             const:class="weekprintview_holidayinfo"
57                 />
58               </var:if>
59               <var:foreach list="allDayApts" item="appointment">
60                 <var:string value="shortTextForApt"
61                             const:escapeHTML="NO"
62                 />
63               </var:foreach>
64             </var:week-info>
65           </var:if>
66           <var:week>
67             <var:string value="shortTextForApt"
68                         const:escapeHTML="NO"
69             /> <br />
70           </var:week>
71         </var:week-overview>
72         </td>
73       </tr>
74   </table>
75 </var:component>