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