Merge remote-tracking branch 'kc/new/bug_6476' into kcmaster
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / tools / holidays.tt
1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha &rsaquo; Tools &rsaquo; [% branchname %] Calendar</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 [% INCLUDE 'calendar.inc' %]
5 <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
6 <script language="JavaScript" type="text/javascript">
7 //<![CDATA[
8
9         var weekdays = new Array(_("Sundays"),_("Mondays"),_("Tuesdays"),_("Wednesdays"),_("Thursdays"),_("Fridays"),_("Saturdays"));
10
11         function holidayOperation(formObject, opType) {
12                 var op = document.getElementsByName('operation');
13                 op[0].value = opType;
14                 formObject.submit();
15         }
16
17         // This function shows the "Show Holiday" panel //
18         function showHoliday (exceptionPosibility, dayName, day, month, year, weekDay, title, description, holidayType) {
19                 $("#newHoliday").slideUp("fast");
20                 $("#showHoliday").slideDown("fast");
21                 $('#showDaynameOutput').html(dayName);
22                 $('#showDayname').val(dayName);
23                 $('#showBranchNameOutput').html($("#branch :selected").text());
24                 $('#showBranchName').val($("#branch").val());
25                 $('#showDayOutput').html(day);
26                 $('#showDay').val(day);
27                 $('#showMonthOutput').html(month);
28                 $('#showMonth').val(month);
29                 $('#showYearOutput').html(year);
30                 $('#showYear').val(year);
31                 $('#showDescription').val(description);
32                 $('#showWeekday:first').val(weekDay);
33                 $('#showTitle').val(title);
34                 $('#showHolidayType').val(holidayType);
35
36                 if (holidayType == 'exception') {
37                         $("#showOperationDelLabel").html(_('Delete this exception.'));
38                         $("#holtype").attr("class","key exception").html(_("Holiday exception"));
39                 } else if(holidayType == 'weekday') {
40                         $("#showOperationDelLabel").html(_('Delete this holiday.'));
41                         $("#holtype").attr("class","key repeatableweekly").html(_("Holiday repeating weekly"));
42                 } else if(holidayType == 'daymonth') {
43                         $("#showOperationDelLabel").html(_('Delete this holiday.'));
44                         $("#holtype").attr("class","key repeatableyearly").html(_("Holiday repeating yearly"));
45                 } else {
46                         $("#showOperationDelLabel").html(_('Delete this holiday.'));
47                         $("#holtype").attr("class","key holiday").html(_("Unique holiday"));
48                 }
49                 
50                 if (exceptionPosibility == 1) {
51                         $("#exceptionPosibility").parent().show();
52                 } else {
53                         $("#exceptionPosibility").parent().hide();
54                 }
55         }
56
57         // This function shows the "Add Holiday" panel //
58         function newHoliday (dayName, day, month, year, weekDay) {
59                 $("#showHoliday").slideUp("fast");
60                 $("#newHoliday").slideDown("fast");
61                 $("#newDaynameOutput").html(dayName);
62                 $("#newDayname").val(dayName);
63                 $("#newBranchNameOutput").html($('#branch :selected').text());
64                 $("#newBranchName").val($('#branch').val());
65                 $("#newDayOutput").html(day);
66                 $("#newDay").val(day);
67                 $("#newMonthOutput").html(month);
68                 $("#newMonth").val(month);
69                 $("#newYearOutput").html(year);
70                 $("#newYear").val(year);
71                 $("#newWeekday:first").val(weekDay);
72         }
73
74         function hidePanel(aPanelName) {
75                 $("#"+aPanelName).slideUp("fast");
76         }
77
78         function changeBranch () {
79                 var branch = $("#branch option:selected").val();
80                 location.href='/cgi-bin/koha/tools/holidays.pl?branch=' + branch + '&calendardate=' + "[% calendardate %]";
81         }
82
83         function Help() {
84                 newin=window.open("/cgi-bin/koha/help.pl","KohaHelp",'width=600,height=600,toolbar=false,scrollbars=yes');
85         }
86         $(document).ready(function() {
87                 $(".hint").hide();
88                 $("#branch").change(function(){
89                         changeBranch();
90                 });
91                 $("#holidayexceptions").tablesorter({
92                   sortList: [[0,0]], widgets: ['zebra']
93                 });
94                 $("#holidayweeklyrepeatable").tablesorter({
95                   sortList: [[0,0]], widgets: ['zebra']
96                 });
97                 $("#holidaysyearlyrepeatable").tablesorter({
98                   sortList: [[0,0]], widgets: ['zebra']
99                 });
100                 $("#holidaysunique").tablesorter({
101                   sortList: [[0,0]], widgets: ['zebra']
102                 });
103                 $("a.helptext").click(function(){
104                         $(this).parent().find(".hint").toggle(); return false;
105                 });
106         });
107 //]]>
108 </script>
109 <style type="text/css"> .key { padding : 3px; white-space:nowrap; line-height:230%; }
110 .normalday { background-color :  #EDEDED; color :  Black; border : 1px solid #BCBCBC; }
111 .exception { background-color :  #b3d4ff; color :  Black; border : 1px solid #BCBCBC; }
112 .holiday {  background-color :  #ffaeae; color :  Black;  border : 1px solid #BCBCBC; }
113 .repeatableweekly {  background-color :  #FFFF99; color :  Black;  border : 1px solid #BCBCBC; }
114 .repeatableyearly {  background-color :  #FFCC66; color :  Black;  border : 1px solid #BCBCBC; }
115 .information { z-index : 1; background-color :  #DCD2F1; width : 300px; display : none; border : 1px solid #000000; color :  #000000; font-size :  8pt; font-weight :  bold; background-color :  #FFD700; cursor :  pointer; padding : 2px; }
116 .panel { z-index : 1; display : none; border : 3px solid #CCC; padding : 3px; margin-top: .3em;  background-color: #FEFEFE; } fieldset.brief { border : 0; margin-top: 0; }
117 #showHoliday { margin : .5em 0; } h1 select { width: 20em; } div.yui-b fieldset.brief ol { font-size:100%; } div.yui-b fieldset.brief li, div.yui-b fieldset.brief li.radio  { padding:0.2em 0; } .help { margin:.3em 0;border:1px solid #EEE;padding:.3em .7em; font-size : 90%; } #holidayweeklyrepeatable, #holidaysyearlyrepeatable, #holidaysunique, #holidayexceptions { font-size : 90%; margin-bottom : 1em;} .calendar td, .calendar th, .calendar .button, .calendar tbody .day { padding : .7em; font-size: 110%; } .calendar { width: auto; border : 0; }
118 </style>
119 </head>
120 <body>
121 [% INCLUDE 'header.inc' %]
122 [% INCLUDE 'cat-search.inc' %]
123
124 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo; [% branchname %] Calendar</div>
125
126 <div id="doc3" class="yui-t1">
127    
128    <div id="bd">
129         <div id="yui-main">
130         <div class="yui-b">
131         <h2>[% branchname %] Calendar</h2>
132         <div class="yui-g">
133         <div class="yui-u first">
134         <label for="branch">Define the holidays for:</label>
135             <select id="branch" name="branch">
136                 [% FOREACH branchloo IN branchloop %]
137                     [% IF ( branchloo.selected ) %]
138                         <option value="[% branchloo.value %]" selected="selected">[% branchloo.branchname %]</option>
139                     [% ELSE %]
140                         <option value="[% branchloo.value %]">[% branchloo.branchname %]</option>
141                     [% END %]
142                 [% END %]
143             </select>
144         
145         <!-- ******************************** FLAT PANELS ******************************************* -->
146         <!-- *****           Makes all the flat panel to deal with holidays                     ***** -->
147         <!-- **************************************************************************************** -->
148
149         <!-- ********************** Panel for showing already loaded holidays *********************** -->
150         <div class="panel" id="showHoliday">
151                 <form action="/cgi-bin/koha/tools/exceptionHolidays.pl" method="post">
152                         <input type="hidden" id="showHolidayType" name="showHolidayType" value="" />
153                         <fieldset class="brief">
154                         <h3>Edit this holiday</h3>
155                         <span id="holtype"></span>
156                         <ol>
157                         <li>
158                                 <strong>Library:</strong> <span id="showBranchNameOutput"></span>
159                                 <input type="hidden" id="showBranchName" name="showBranchName" />
160                         </li>
161                         <li>
162                                 <strong>Date:</strong>
163                                 <span id="showDaynameOutput"></span>, 
164                                 
165                                 [% IF ( dateformat_us ) %]<span id="showMonthOutput"></span>/<span id="showDayOutput"></span>/<span id="showYearOutput"></span>[% ELSIF ( dateformat_metric ) %]<span id="showDayOutput"></span>/<span id="showMonthOutput"></span>/<span id="showYearOutput"></span>[% ELSE %]<span id="showYearOutput"></span>/<span id="showMonthOutput"></span>/<span id="showDayOutput"></span>[% END %]
166
167                                 <input type="hidden" id="showDayname" name="showDayname" />
168                                 <input type="hidden" id="showWeekday" name="showWeekday" />
169                                 <input type="hidden" id="showDay" name="showDay" />
170                                 <input type="hidden" id="showMonth" name="showMonth" />
171                                 <input type="hidden" id="showYear" name="showYear" />
172                         </li>
173                         <li><label for="showTitle">Title: </label><input type="text" name="showTitle" id="showTitle" size="35" /></li>
174                     <!-- showTitle is necessary for exception radio button to work properly --> 
175                                 <label for="showDescription">Description:</label>
176                                 <textarea rows="2" cols="40" id="showDescription" name="showDescription"></textarea>    
177                     </li>
178                         <li class="radio"><div id="exceptionPosibility" style="position:static">
179                                 <input type="radio" name="showOperation" id="showOperationExc" value="exception" /> <label for="showOperationExc">Generate an exception for this repeated holiday.</label>
180                                 <a href="#" class="helptext">[?]</a>
181                                 <div class="hint">You can make an exception for this holiday rule. This means that you will be able to say that for a repeatable holiday there is one day which is going to be an exception.</div>
182                         </div></li>
183                         <li class="radio"><input type="radio" name="showOperation" id="showOperationDel" value="delete" /> <label for="showOperationDel" id="showOperationDelLabel">Delete this holiday</label>
184                                 <a href="#" class="helptext">[?]</a>
185                                 <div class="hint">This will delete this holiday rule. If it is a repeatable holiday, this option checks for posible exceptions. If an exception exists, this option will remove the exception and set the date to a regular holiday.</div></li>
186                         <li class="radio"><input type="radio" name="showOperation" id="showOperationEdit" value="edit" checked="checked" /> <label for="showOperationEdit">Edit this holiday</label>
187                                                 <a href="#" class="helptext">[?]</a>
188                                                 <div class="hint">This will save changes to the holiday's title and description. If the information for a repeatable holiday is modified, it affects all of the dates on which the holiday is repeated.</div></li>
189
190                         </ol>
191                         <fieldset class="action">
192                                 <input type="submit" name="submit" value="Save" />
193                                 <a href="#" class="cancel" name="cancel2" onclick=" hidePanel('showHoliday');">Cancel</a>
194                         </fieldset>
195                         </fieldset>
196                 </form>
197         </div>
198
199         <!-- ***************************** Panel to deal with new holidays **********************  -->
200         <div class="panel" id="newHoliday">
201                 <form action="/cgi-bin/koha/tools/newHolidays.pl" method="post">
202                                 <input type="hidden" name="branchCodes" id="branchCodes" value="[% branchcodes %]" /> 
203                         <fieldset class="brief">
204                         <h3>Add new holiday</h3>
205                         <ol>
206                         <li>
207                                 <strong>Library:</strong>
208                                 <span id="newBranchNameOutput"></span>
209                                 <input type="hidden" id="newBranchName" name="newBranchName" />
210                         </li>
211                         <li>
212                                 <strong>Date:</strong>
213                                 <span id="newDaynameOutput"></span>, 
214
215                                 [% IF ( dateformat_us ) %]<span id="newMonthOutput"></span>/<span id="newDayOutput"></span>/<span id="newYearOutput"></span>[% ELSIF ( dateformat_metric ) %]<span id="newDayOutput"></span>/<span id="newMonthOutput"></span>/<span id="newYearOutput"></span>[% ELSE %]<span id="newYearOutput"></span>/<span id="newMonthOutput"></span>/<span id="newDayOutput"></span>[% END %]
216
217                                 <input type="hidden" id="newDayname" name="showDayname" />
218                                 <input type="hidden" id="newWeekday" name="newWeekday" />
219                                 <input type="hidden" id="newDay" name="newDay" />
220                                 <input type="hidden" id="newMonth" name="newMonth" />
221                                 <input type="hidden" id="newYear" name="newYear" />
222                         </li>
223                         <li><label for="title">Title: </label><input type="text" name="newTitle" id="title" size="35" /></li>
224                         <li><label for="newDescription">Description:</label>
225                                 <textarea rows="2" cols="40" id="newDescription" name="newDescription"></textarea>
226                         </li>
227                         <li class="radio"><input type="radio" name="newOperation" id="newOperationOnce" value="holiday" checked="checked" />
228                         <label for="newOperationOnce">Holiday only on this day</label>.
229                         <a href="#" class="helptext">[?]</a>
230                         <div class="hint">Make a single holiday. For example, selecting August 1st, 2012 will make it a holiday, but will not affect August 1st in other years.</div>
231                         </li>
232                         <li class="radio"><input type="radio" name="newOperation" id="newOperationDay" value="weekday" />
233                                                         <label for="newOperationDay">Holiday repeated every same day of the week</label>.
234                                                         <a href="#" class="helptext">[?]</a>
235                                                         <div class="hint">Make this weekday a holiday, every week. For example, if your library is closed on Saturdays, use this option to make every Saturday a holiday.</div>
236                                                         </li>
237                         <li class="radio"><input type="radio" name="newOperation" id="newOperationYear" value="repeatable" />
238                                                         <label for="newOperationYear">Holiday repeated yearly on the same date</label>.
239                                                         <a href="#" class="helptext">[?]</a>
240                                                         <div class="hint">This will take this day and month as a reference to make it a holiday. Through this option, you can repeat this rule for every year. For example, selecting August 1st will make August 1st a holiday every year.</div>
241                                                         </li>
242                                 <li class="radio">
243                                 <input type="checkbox" name="allBranches" id="allBranches" />
244                                 <label for="allBranches">Copy to all libraries</label>.
245                                 <a href="#" class="helptext">[?]</a>
246                                 <div class="hint">If checked, this holiday will be copied to all libraries. If the holiday already exists for a library, no change is made.</div>
247                                 </li></ol>
248                                 <fieldset class="action">
249                                         <input type="submit" name="submit" value="Save" />
250                                         <a href="#" class="cancel" name="cancel2" onclick=" hidePanel('newHoliday');">Cancel</a>
251                                 </fieldset>
252                                 </fieldset>
253                 </form>
254         </div>
255
256         <!-- *************************************************************************************** -->
257         <!-- ******                          END OF FLAT PANELS                               ****** -->
258         <!-- *************************************************************************************** -->
259
260 <!-- ************************************************************************************** -->
261 <!-- ******                              MAIN SCREEN CODE                            ****** -->
262 <!-- ************************************************************************************** -->
263 <h3>Calendar information</h3>
264 <div id="calendar-container">
265 <script type="text/javascript">
266         /* Creates all the structures to deal with all diferents kinds of holidays */
267         var week_days = new Array();
268         var holidays = new Array();
269         var exception_holidays = new Array();
270         var day_month_holidays = new Array();
271         var hola= "[% code %]";
272         [% FOREACH WEEK_DAYS_LOO IN WEEK_DAYS_LOOP %]
273         week_days["[% WEEK_DAYS_LOO.KEY %]"] = {title:"[% WEEK_DAYS_LOO.TITLE %]", description:"[% WEEK_DAYS_LOO.DESCRIPTION %]"};
274         [% END %]
275         [% FOREACH HOLIDAYS_LOO IN HOLIDAYS_LOOP %]
276         holidays["[% HOLIDAYS_LOO.KEY %]"] = {title:"[% HOLIDAYS_LOO.TITLE %]", description:"[% HOLIDAYS_LOO.DESCRIPTION %]"};
277         [% END %]
278         [% FOREACH EXCEPTION_HOLIDAYS_LOO IN EXCEPTION_HOLIDAYS_LOOP %]
279         exception_holidays["[% EXCEPTION_HOLIDAYS_LOO.KEY %]"] = {title:"[% EXCEPTION_HOLIDAYS_LOO.TITLE %]", description:"[% EXCEPTION_HOLIDAYS_LOO.DESCRIPTION %]"};
280         [% END %]
281         [% FOREACH DAY_MONTH_HOLIDAYS_LOO IN DAY_MONTH_HOLIDAYS_LOOP %]
282         day_month_holidays["[% DAY_MONTH_HOLIDAYS_LOO.KEY %]"] = {title:"[% DAY_MONTH_HOLIDAYS_LOO.TITLE %]", description:"[% DAY_MONTH_HOLIDAYS_LOO.DESCRIPTION %]"};
283         [% END %]
284
285         /* This function gives css clases to each kind of day */
286         function dateStatusHandler(date) {
287                 var day = date.getDate();
288                 var month = date.getMonth() + 1;
289                 var year = date.getFullYear();
290                 var weekDay = date.getDay();
291                 var dayMonth = month + '/' + day;
292                 var dateString = year + '/' + month + '/' + day;
293                 if (exception_holidays[dateString] != null) {
294                         return 'exception';
295                 } else if ( week_days[weekDay] != null ){
296                         return 'repeatableweekly';
297                 } else if ( day_month_holidays[dayMonth] != null ) {
298                         return 'repeatableyearly';
299                 } else if (holidays[dateString] != null) {
300                         return 'holiday';
301                 } else {
302                         return 'normalday';
303                 }
304         }
305
306         /* This function is in charge of showing the correct panel considering the kind of holiday */
307         function dateChanged(calendar) {
308                 var day = calendar.date.getDate();
309                 var month = calendar.date.getMonth() + 1;
310                 var year = calendar.date.getFullYear();
311                 var weekDay = calendar.date.getDay();
312                 var dayName = calendar.date.print('%A');
313                 var dayMonth = month + '/' + day;
314                 var dateString = year + '/' + month + '/' + day;
315                 if (calendar.dateClicked) {
316                         if (holidays[dateString] != null) {
317                                 showHoliday(0, dayName, day, month, year, weekDay, holidays[dateString].title,  holidays[dateString].description, 'ymd');
318                         } else if (exception_holidays[dateString] != null) {
319                                 showHoliday(0, dayName, day, month, year, weekDay, exception_holidays[dateString].title, exception_holidays[dateString].description, 'exception');
320                         } else if (week_days[weekDay] != null) {
321                                 showHoliday(1, dayName, day, month, year, weekDay, week_days[weekDay].title,    week_days[weekDay].description, 'weekday');
322                         } else if (day_month_holidays[dayMonth] != null) {
323                                 showHoliday(1, dayName, day, month, year, weekDay, day_month_holidays[dayMonth].title, day_month_holidays[dayMonth].description, 'daymonth');
324                         } else {
325                                 newHoliday(dayName, day, month, year, weekDay);
326                         }
327                 }
328         };
329         Calendar.setup(
330                 {
331                         flat : "calendar-container",
332                         flatCallback : dateChanged,
333                         date: "[% keydate %]",
334                         dateStatusFunc : dateStatusHandler
335                 }
336         );
337 </script>
338
339
340 </div>
341 </div>
342 <div class="yui-u">
343 <div class="help">
344 <h4>Hints</h4>
345         <ul>
346                 <li>Search in the calendar the day you want to set as holiday.</li>
347                 <li>Click the date to add or edit a holiday.</li>
348                 <li>Enter a title and description for the holdiay.</li>
349                 <li>Specify how the holiday should repeat.</li>
350                 <li>Click Save to finish.</li>
351         </ul>
352 <h4>Key</h4>
353         <p>
354                 <span class="key normalday">Working day</span>
355                 <span class="key holiday">Unique holiday</span>
356                 <span class="key repeatableweekly">Holiday repeating weekly</span>
357                 <span class="key repeatableyearly">Holiday repeating yearly</span>
358                 <span class="key exception">Holiday exception</span>
359         </p>
360 </div>
361 <div id="holiday-list">
362 <!-- Exceptions First -->
363 <!--   this will probably always have the least amount of data -->
364 [% IF ( EXCEPTION_HOLIDAYS_LOOP ) %]
365 <h3>Exceptions</h3>
366   <table id="holidayexceptions">
367 <thead><tr>
368   <th class="exception">Date</th>
369   <th class="exception">Title</th>
370   <th class="exception">Description</th>
371 </tr>
372 </thead>
373 <tbody>
374   [% FOREACH EXCEPTION_HOLIDAYS_LOO IN EXCEPTION_HOLIDAYS_LOOP %]
375   <tr>
376   <td><a href="/cgi-bin/koha/tools/holidays.pl?branch=[% EXCEPTION_HOLIDAYS_LOO.branch %]&amp;calendardate=[% EXCEPTION_HOLIDAYS_LOO.DATE %]">[% EXCEPTION_HOLIDAYS_LOO.DATE %]</a></td>
377   <td>[% EXCEPTION_HOLIDAYS_LOO.TITLE %]</td>
378   <td>[% EXCEPTION_HOLIDAYS_LOO.DESCRIPTION %]</td> 
379   </tr>
380   [% END %] 
381 </tbody>
382 </table>
383 [% END %]
384
385 [% IF ( WEEK_DAYS_LOOP ) %]
386 <h3>Weekly - Repeatable Holidays</h3>
387 <table id="holidayweeklyrepeatable">
388 <thead>
389 <tr>
390   <th class="repeatableweekly">Day of Week</th>
391   <th class="repeatableweekly">Title</th>
392   <th class="repeatableweekly">Description</th>
393 </tr>
394 </thead>
395 <tbody>
396   [% FOREACH WEEK_DAYS_LOO IN WEEK_DAYS_LOOP %]
397   <tr>
398   <td>
399 <script type="text/javascript">
400   document.write(weekdays[ [% WEEK_DAYS_LOO.KEY %]]);
401 </script>
402   </td> 
403   <td>[% WEEK_DAYS_LOO.TITLE %]</td> 
404   <td>[% WEEK_DAYS_LOO.DESCRIPTION %]</td> 
405   </tr>
406   [% END %] 
407 </tbody>
408 </table>
409 [% END %]
410
411 [% IF ( DAY_MONTH_HOLIDAYS_LOOP ) %]
412 <h3>Yearly - Repeatable Holidays</h3>
413 <table id="holidaysyearlyrepeatable">
414 <thead>
415 <tr>
416   [% IF ( dateformat == 'metric' ) %]
417   <th class="repeatableyearly">Day/Month</th>
418   [% ELSE %]
419   <th class="repeatableyearly">Month/Day</th>
420   [% END %]
421   <th class="repeatableyearly">Title</th>
422   <th class="repeatableyearly">Description</th>
423 </tr>
424 </thead>
425 <tbody>
426   [% FOREACH DAY_MONTH_HOLIDAYS_LOO IN DAY_MONTH_HOLIDAYS_LOOP %]
427   <tr>
428   <td>[% DAY_MONTH_HOLIDAYS_LOO.DATE %]</td>
429   <td>[% DAY_MONTH_HOLIDAYS_LOO.TITLE %]</td> 
430   <td>[% DAY_MONTH_HOLIDAYS_LOO.DESCRIPTION %]</td> 
431   </tr>
432   [% END %] 
433 </tbody>
434 </table>
435 [% END %]
436
437 [% IF ( HOLIDAYS_LOOP ) %]
438 <h3>Unique Holidays</h3>
439 <table id="holidaysunique">
440 <thead>
441 <tr>
442   <th class="holiday">Date</th>
443   <th class="holiday">Title</th>
444   <th class="holiday">Description</th>
445 </tr>
446 </thead>
447 <tbody>
448     [% FOREACH HOLIDAYS_LOO IN HOLIDAYS_LOOP %]
449 <tr>
450   <td><a href="/cgi-bin/koha/tools/holidays.pl?branch=[% HOLIDAYS_LOO.branch %]&amp;calendardate=[% HOLIDAYS_LOO.DATE %]">[% HOLIDAYS_LOO.DATE %]</a></td>
451   <td>[% HOLIDAYS_LOO.TITLE %]</td>
452   <td>[% HOLIDAYS_LOO.DESCRIPTION %]</td>
453 </tr>
454   [% END %] 
455 </tbody>
456 </table>
457 [% END %]
458 </div>
459 </div>
460 </div>
461 </div>
462 </div>
463
464 <div class="yui-b noprint">
465 [% INCLUDE 'tools-menu.inc' %]
466 </div>
467 </div>
468 [% INCLUDE 'intranet-bottom.inc' %]