Bug 29041: Improve specificity of breadcrumbs in Additional Contents
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / tools / additional-contents.tt
1 [% USE raw %]
2 [% USE Asset %]
3 [% USE Koha %]
4 [% USE KohaDates %]
5 [% USE Branches %]
6 [% SET footerjs = 1 %]
7 [% INCLUDE 'doc-head-open.inc' %]
8 <title>Additional contents &rsaquo; Tools &rsaquo; Koha</title>
9 [% INCLUDE 'doc-head-close.inc' %]
10 [% UNLESS ( wysiwyg ) %]
11     [% Asset.css("lib/codemirror/codemirror.css") | $raw %]
12     [% Asset.css("lib/codemirror/lint.min.css") | $raw %]
13     <style>
14         .CodeMirror {
15             resize: vertical;
16             z-index: 0;
17         }
18     </style>
19 [% END %]
20 </head>
21
22 <body id="tools_additional-contents" class="tools">
23 [% INCLUDE 'header.inc' %]
24 [% INCLUDE 'cat-search.inc' %]
25
26 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
27     <ol>
28         <li>
29             <a href="/cgi-bin/koha/mainpage.pl">Home</a>
30         </li>
31         <li>
32             <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a>
33         </li>
34
35         [% IF op == 'add_form' %]
36             <li>
37                 <a href="/cgi-bin/koha/tools/additional-contents.pl">Additional contents</a>
38             </li>
39             <li>
40                 [% IF category == 'news' %]
41                     <a href="/cgi-bin/koha/tools/additional-contents.pl?category=news">News</a>
42                 [% ELSE %]
43                     <a href="/cgi-bin/koha/tools/additional-contents.pl?category=html_customizations">HTML customizations</a>
44                 [% END %]
45             </li>
46             <li>
47                 <a href="#" aria-current="page">
48                     [% IF additional_content.idnew %]
49                         Modify additional content
50                     [% ELSE %]
51                         Add additional content
52                     [% END %]
53                 </a>
54             </li>
55         [% ELSE %]
56             <li>
57                 <a href="#" aria-current="page">
58                     Additional contents
59                     ([% IF category == 'news' %]News[% ELSE %]HTML customizations[% END %])
60                 </a>
61             </li>
62         [% END %]
63     </ol>
64 </nav>
65
66 [% IF op == 'add_form' %]
67 <div class="main container-fluid">
68     <div class="row">
69         <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
70 [% ELSE %]
71 <div class="main container-fluid">
72     <div class="row">
73         <div class="col-sm-10 col-sm-push-2">
74 [% END %]
75
76 <main>
77
78     [% FOR m IN messages %]
79         <div class="dialog [% m.type | html %]">
80             [% SWITCH m.code %]
81             [% CASE 'error_on_update' %]
82                 An error occurred when updating this content. Perhaps it already exists.
83             [% CASE 'error_on_insert' %]
84                 An error occurred when adding this content. Check the logs
85             [% CASE 'error_on_delete' %]
86                 An error occurred when deleting this content. Check the logs.
87             [% CASE 'success_on_update' %]
88                 Content updated successfully.
89             [% CASE 'success_on_insert' %]
90                 Content added successfully.
91             [% CASE 'success_on_delete' %]
92                 Content deleted successfully.
93             [% CASE %]
94                 [% m.code | html %]
95             [% END %]
96         </div>
97     [% END %]
98
99     [% IF op == 'add_form' %]
100         [% PROCESS add_form %]
101     [% ELSE %]
102         [% PROCESS list %]
103     [% END %]
104
105 </main>
106
107         [% IF op != 'add_form' %]
108             </div> <!-- /.col-sm-10.col-sm-push-2 -->
109
110             <div class="col-sm-2 col-sm-pull-10">
111                 <aside>
112
113                     <div id="news-filter">
114                         <form action="/cgi-bin/koha/tools/additional-contents.pl" method="get">
115                             <h4>Filter</h4>
116                             <fieldset class="brief">
117                                 <ol>
118                                     <li>
119                                         <label for="news_keyword">Keyword:</label>
120                                         <input type="text" name="news_keyword" id="news_keyword" />
121                                     </li>
122                                     <li>
123                                         <label for="news_display_location">Display location:</label>
124                                         <select name="news_display_location" id="news_display_location">
125                                             <option value="">All</option>
126                                             [% PROCESS locations_options category => category %]
127                                         </select>
128                                     </li>
129                                     <li>
130                                         <label for="news_library">Library: </label>
131                                         <select id="news_library" name="news_library">
132                                             <option value=""></option>
133                                             <option value="">All libraries</option>
134                                             [% PROCESS options_for_libraries libraries => Branches.all( selected => branchcode, unfiltered => 1, ) %]
135                                         </select>
136                                     </li>
137                                     <li>
138                                         <label>
139                                             <input type="checkbox" name="show_expired" id="show_expired" /> Show expired
140                                         </label>
141                                     </li>
142                                 </ol>
143                             </fieldset>
144                         </form>
145                     </div>
146
147                     [% INCLUDE 'tools-menu.inc' %]
148                 </aside>
149             </div> <!-- /.col-sm-2.col-sm-pull-10 -->
150         [% END %]
151     </div> <!-- /.row -->
152 </div> <!-- /.main.container-fluid -->
153
154 [% BLOCK add_form %]
155     [% IF additional_content %]
156         <h1>Modify an additional content</h1>
157     [% ELSE %]
158         <h1>New additional content ([% IF category == 'news' %]News[% ELSE %]HTML customizations[% END %])</h1>
159     [% END %]
160
161     <div id="toolbar" class="btn-toolbar">
162         <div class="btn-group">
163             <button class="btn btn-default" id="submit_form"><i class="fa fa-save"></i> Save</button>
164         </div>
165         <a class="btn btn-default cancel" href="/cgi-bin/koha/tools/additional-contents.pl"><i class="fa fa-remove"></i> Cancel</a>
166     </div>
167
168     <form id="add_additional_content" method="post" action="/cgi-bin/koha/tools/additional-contents.pl" class="validate">
169         <input type="hidden" name="op" value="add_validate" />
170         <input type="hidden" name="id" value="[% additional_content.idnew | html %]" />
171         <input type="hidden" name="category" value="[% category | html %]" />
172         <fieldset class="rows">
173             <ol>
174                 <li>
175                     [% IF additional_content %]
176                         <span class="label">Code:</span> [% additional_content.code | html %]
177                         <input type="hidden" id="code" name="code" value="[% additional_content.code | html %]" />
178                     [% ELSE %]
179                         <label for="code" class="required">Code:</label>
180                         <input type="text" id="code" name="code" size="20" maxlength="20" value="" required="required"/>
181                         <span class="required">Required</span>
182                     [% END %]
183                 </li>
184                 <li>
185                     <label for="location">Display location:</label>
186                     <select id="location" name="location">
187                         [% PROCESS locations_options location => additional_content.location %]
188                     </select>
189                 </li>
190                 <li>
191                     <label for="branchcode">Library: </label>
192                     <select id="branchcode" name="branchcode">
193                         [% IF additional_content.branchcode == '' %]
194                             <option value="" selected="selected">All libraries</option>
195                         [% ELSE %]
196                             <option value="">All libraries</option>
197                         [% END %]
198                         [% PROCESS options_for_libraries libraries => Branches.all( selected => additional_content.branchcode, unfiltered => 1, ) %]
199                     </select>
200                 </li>
201                 [% UNLESS languages.size %]
202                     <li>
203                         <label for="title" class="required">Title: </label>
204                         <input id="title" size="30" type="text" name="title" value="[% additional_content.title | html %]" required="required" class="required" /> <span class="required">Required</span>
205                     </li>
206                 [% END %]
207                 <li>
208                     <label for="from">Publication date: </label>
209                     <input id="from" type="text" name="published_on" size="15" value="[% additional_content.published_on | html %]" class="flatpickrfrom" />
210                     <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
211                 </li>
212                 <li>
213                     <label for="to">Expiration date: </label>
214                     <input id="to" type="text" name="expirationdate" size="15" value="[% additional_content.expirationdate | html %]" class="flatpickrto" />
215                     <div class="hint">
216                         [% INCLUDE 'date-format.inc' %]
217                         [% IF category == 'news' %]
218                             <br>News will still be accessible by direct URL if expired.
219                         [% END %]
220                     </div>
221                 </li>
222                 <li>
223                     <label for="number">Appear in position: </label>
224                     [% IF ( additional_content.number ) %]
225                         <input id="number" size="3" name="number" type="text" value="[% additional_content.number | html %]" />
226                     [% ELSE %]
227                         <input id="number" size="3" name="number" type="text" />
228                     [% END %]
229                 </li>
230             </ol>
231         </fieldset>
232
233         [% IF languages.size %]
234             <div style="clear:both"></div>
235             <div id="tabs">
236                 <ul>
237                     [% FOR language IN languages %]
238                         [% IF language.lang == 'default' %]
239                             <li><a href="#lang_default">Default</a></li>
240                         [% ELSE %]
241                             <li><a href="#lang_[% language.lang | uri %]">[% language.description | html %]</a></li>
242                         [% END %]
243                     [% END %]
244                 </ul>
245
246                 [% FOR language IN languages %]
247                     <div id="lang_[% language.lang | uri %]" class="lang" data-lang="[% language.description | html %]">
248                         <div style="clear:both;">
249
250                             <fieldset>[%# FIXME We should remove list-style:none; and use class="rows" here but it does not work. Owen please help! %]
251                                 <ol>
252                                     <li style="list-style: none;">
253                                         <label for="title_[% language.lang | html %]">Title: </label>
254                                         <input id="title_[% language.lang| html %]" size="30" type="text" name="title" value="[% translated_contents.item(language.lang).title | html %]"></span>
255                                     </li>
256                                     <li style="list-style: none;">
257                                         <label for="content_[% language.lang | html %]">Content: </label>
258                                         <textarea name="content" id="content_[% language.lang | html %]"  cols="75" rows="10">[% translated_contents.item(language.lang).content | html %]</textarea>
259                                         <input type="hidden" name="lang" value="[% language.lang | html %]" />
260                                     </li>
261                                 </ol>
262                             </fieldset>
263                         </div>
264                     </div>
265                 [% END %]
266             </div>
267         [% ELSE %]
268             <div id="lang_default">
269                 <div style="clear:both;">
270                     <textarea name="content" id="content_default"  cols="75" rows="10">[% additional_content.content | html %]</textarea>
271                 </div>
272             </div>
273         [% END %]
274     </form>
275 [% END %]
276
277 [% BLOCK list %]
278
279     <div id="toolbar" class="btn-toolbar">
280         <a class="btn btn-default" id="newentry" href="/cgi-bin/koha/tools/additional-contents.pl?op=add_form&category=[% category | html %]"><i class="fa fa-plus"></i> New entry</a>
281     </div>
282
283     <h2>Additional contents ([% IF category == 'news' %]News[% ELSE %]HTML customizations[% END %])</h2>
284     [% IF category == 'news' %]
285         See <a href="/cgi-bin/koha/tools/additional-contents.pl?category=html_customizations">HTML customizations</a>
286     [% ELSE %]
287         See <a href="/cgi-bin/koha/tools/additional-contents.pl?category=news">News</a>
288     [% END %]
289
290     [% IF additional_contents.count %]
291         <form id="del_form" method="post" action="/cgi-bin/koha/tools/additional-contents.pl">
292             <table id="table_additional_contents">
293                 <thead>
294                     <tr>
295                         <th class="NoSort">&nbsp;</th>
296                         <th>Location</th>
297                         <th>Library</th>
298                         <th>Number</th>
299                         <th>Publication date</th>
300                         <th>Expiration date</th>
301                         <th class="anti-the">Title</th>
302                         <th>Author</th>
303                         <th class="anti-the">News</th>
304                         <th class="NoSort noExport">Actions</th>
305                     </tr>
306                 </thead>
307                 <tbody>
308                     [% FOREACH c IN additional_contents%]
309                         [% IF ( c.is_expired ) %]<tr class="expired">[% ELSE %]<tr>[% END %]
310                         <td>
311                             <input type="checkbox" name="ids" value="[% c.idnew | html %]" />
312                         </td>
313                         <td>
314                             [% IF c.category == 'news' %]
315                                 [% IF c.location == 'staff_and_opac' %]All
316                                 [% ELSIF c.location == 'staff_only' %]Librarian interface
317                                 [% ELSIF c.location == 'opac_only' %]OPAC
318                                 [% ELSIF c.location == 'slip' %]Slip
319                                 [% ELSE %]Unknown ('[% location | html %]')
320                                 [% END %]
321                             [% ELSE %]
322                                 [% c.location | html %]
323                             [% END %]
324                         </td>
325                         <td>
326                             [% IF ( c.branchcode == "" ) -%]
327                             All libraries
328                             [% ELSE %][% c.library.branchname | html %]
329                             [% END %]
330                         </td>
331                         <td>[% c.number | html %]</td>
332                         <td data-order="[% c.published_on | html %]">[% c.published_on | $KohaDates %]</td>
333                         <td data-order="[% c.expirationdate | html %]">[% c.expirationdate | $KohaDates %] [% IF ( c.is_expired ) %](<span class="expired">expired</span>)[% END %]</td>
334                         <td>[% c.title | html %]</td>
335                         <td>[% IF ( c.author) %][% INCLUDE 'patron-title.inc' patron=c.author %][% END %]</td>
336                         <td>
337                             <div class="btn-group">
338                                 <a class="preview_news btn btn-default btn-xs" data-number="[% loop.count | html %]"><i class="fa fa-eye" aria-hidden="true"></i> Preview content</a>
339                             </div>
340                             <div id="contentModal[% loop.count | html %]" class="modal" tabindex="-1" role="dialog" data-number="[% loop.count | html %]">
341                                 <div class="modal-dialog" role="document">
342                                     <div class="modal-content modal-lg">
343                                         <div class="modal-header">
344                                             <h5 class="modal-title">Preview of: "[% c.title | html %]"</h5>
345                                         </div>
346                                     <div class="modal-body">
347                                         [% c.content | $raw %]
348                                     </div>
349                                     <div class="modal-footer">
350                                         <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
351                                     </div>
352                                 </div>
353                             </div>
354                         </td>
355                         <td class="actions">
356                             [% IF ( wysiwyg ) %]
357                                 [% SET editmode = "wysiwyg" %]
358                             [% ELSE %]
359                                 [% SET editmode = "text" %]
360                             [% END %]
361                             <div class="btn-group dropup">
362                                 <a href="/cgi-bin/koha/tools/additional-contents.pl?op=add_form&amp;id=[% c.idnew | uri %]&editmode=[% editmode | uri %]" class="btn btn-default btn-xs"> <i class="fa fa-pencil"></i> Edit</a><button class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown">
363                                     <span class="caret"></span>
364                                 </button>
365                                 <ul class="dropdown-menu pull-right">
366                                     <li>
367                                         [% IF ( wysiwyg ) %]
368                                             <a href="/cgi-bin/koha/tools/additional-contents.pl?op=add_form&amp;id=[% c.idnew | uri %]&editmode=text"><i class="fa fa-pencil"></i> Edit with text editor</a>
369                                         [% ELSE %]
370                                             <a href="/cgi-bin/koha/tools/additional-contents.pl?op=add_form&amp;id=[% c.idnew | uri %]&editmode=wysiwyg"><i class="fa fa-pencil"></i> Edit with WYSIWYG editor</a>
371                                         [% END %]
372                                     </li>
373                                 </ul>
374                             </div>
375                             <div class="btn-group">
376                                 <a href="#" class="delete_news btn btn-default btn-xs" data-idnew="[% c.idnew | html %]"><i class="fa fa-trash"></i> Delete</a>
377                             </div>
378                         </td>
379                     </tr>
380                     [% END %]
381                 </tbody>
382             </table>
383             <input type="hidden" name="op" value="delete_confirmed" />
384             <input type="hidden" name="category" value="[% category | html %]" />
385             <fieldset class="action"><input type="submit" class="button" value="Delete selected" /></fieldset>
386         </form>
387         <form action="/cgi-bin/koha/tools/additional-contents.pl" method="post" id="delete_single">
388             <input type="hidden" id="del_op" name="op" value="delete_confirmed" />
389             <input type="hidden" id="del_category" name="category" value="[% category | html %]" />
390             <input type="hidden" id="del_ids" name="ids" />
391         </form>
392     [% ELSE %]
393         <div class="dialog message">There are no additional contents.</div>
394     [% END %]
395 [% END %]
396
397 [% BLOCK locations_options %]
398     [% IF category == 'news' %]
399         [% IF location == "staff_and_opac" %]
400             <option value="staff_and_opac" selected="selected">Librarian and OPAC interfaces</option>
401         [% ELSE %]
402             <option value="staff_and_opac">Librarian and OPAC interfaces</option>
403         [% END %]
404
405         [% IF location == "staff_only" %]
406             <option value="staff_only" selected="selected">Librarian interface</option>
407         [% ELSE %]
408             <option value="staff_only">Librarian interface</option>
409         [% END %]
410
411         [% IF location == "opac_only" %]
412             <option value="opac_only" selected="selected">OPAC</option>
413         [% ELSE %]
414             <option value="opac_only">OPAC</option>
415         [% END %]
416
417         [% IF location == "slip" %]
418             <option value="slip" selected="selected">Slip</option>
419         [% ELSE %]
420             <option value="slip">Slip</option>
421         [% END %]
422     [% ELSE %]
423         [% FOREACH l IN [ 'OpacNavRight', 'opacheader', 'OpacCustomSearch', 'OpacMainUserBlock', 'opaccredits', 'OpacLoginInstructions', 'OpacSuggestionInstructions', 'ArticleRequestsDisclaimerText' ] %]
424             [% IF l == location %]
425                 <option value="[% l | html %]" selected="selected">[% l | html %]</option>
426             [% ELSE %]
427                 <option value="[% l | html %]">[% l | html %]</option>
428             [% END %]
429         [% END %]
430     [% END %]
431 [% END %]
432
433 [% MACRO jsinclude BLOCK %]
434     [% INCLUDE 'calendar.inc' %]
435     [% Asset.js("js/tools-menu.js") | $raw %]
436     [% Asset.js("lib/hc-sticky.js") | $raw %]
437     [% IF additional_contents.count %]
438         [% INCLUDE 'datatables.inc' %]
439         <script>
440             $('.preview_news').click( function() {
441                 modalNumber = $(this).attr('data-number');
442                 $('.modal[data-number="'+modalNumber+'"]').modal('show');
443             })
444             function Checkbox(){
445                 var form = document.getElementById('del_form');
446                 var inputs = form.getElementsByTagName('input');
447                 var checked = false;
448                 for (var i=0; i<inputs.length; i++) {
449                     if (inputs[i].type == 'checkbox' && inputs[i].name == 'ids') {
450                         checked = inputs[i].checked;
451                         if (checked) return true;
452                     }
453                 }
454             }
455
456             function filterDataTable( table, column, term ){
457                 if( column ){
458                     table.column( column ).search( term ).draw();
459                 } else {
460                     table.search( term ).draw();
461                 }
462                 clearFilter( term );
463             }
464
465             function clearFilter( term ){
466                 if( term == "" ){
467                     $(".dt_button_clear_filter").addClass("disabled");
468                 } else {
469                     $(".dt_button_clear_filter").removeClass("disabled");
470                 }
471             }
472
473             /* Custom table search configuration: If a table row
474                has an "expired" class, hide it UNLESS the
475                show_expired checkbox is checked */
476             $.fn.dataTable.ext.search.push(
477                 function( settings, searchData, index, rowData, counter ) {
478                     var row = $(settings.aoData[index].nTr);
479                     if( row.hasClass("expired") && !$("#show_expired").prop("checked") ){
480                         return false;
481                     } else {
482                         return true;
483                     }
484                 }
485             );
486
487             $(document).ready(function() {
488
489                 var table = $("#table_additional_contents").DataTable($.extend(true, {}, dataTablesDefaults, {
490                     "order": [[ 4, "desc" ]],
491                     "aoColumnDefs": [
492                         { "sortable": false, "searchable": false, 'targets': [ 'NoSort' ] },
493                         { "type": "anti-the", "targets": [ "anti-the" ] }
494                     ],
495                     "sPaginationType": "full_numbers"
496                 }));
497
498                 $("#del_form").on("click", ".delete_news", function(e){
499                     e.preventDefault();
500                     if( confirmDelete( _("Are you sure you want to delete this content? This cannot be undone.") ) ){
501                         $("#del_ids").val( $(this).data("idnew") );
502                         $("#delete_single").submit();
503                     }
504                 });
505
506                 $("#del_form").on("submit",function(){
507                     if ( Checkbox() ) {
508                         return confirmDelete( _("Are you sure you want to delete the selected content?") );
509                     } else {
510                         alert(_("Please select content to delete."));
511                         return false;
512                     }
513                 });
514
515                 $("#show_expired").on("change", function(){
516                     /* redraw the DataTable according to the custom search function */
517                     table.draw();
518                 });
519
520                 table.on( 'search.dt', function () {
521                     var term = table.search();
522                     $("#news_keyword").val( term );
523                 });
524
525                 $("#news_keyword").on("keyup", function(){
526                     var term = $(this).val();
527                     filterDataTable( table, null, term );
528                 });
529
530                 $("#news_display_location").on("change", function(){
531                     var term = $(this).val();
532                     filterDataTable( table, 1, term );
533                 });
534
535                 $("#news_library").on("change", function(){
536                     // Table must be filtered by the <option>'s text, not its value
537                     var opt = $(this).find("option:selected").text();
538                     filterDataTable( table, 2, opt );
539                 });
540
541                 $(".dt_button_clear_filter").on("click", function(){
542                     table.search('').columns().search('').draw();
543                     $("#news-filter select").each(function(){
544                         $(this).val("");
545                     });
546                 });
547             });
548         </script>
549     [% ELSE %]
550         <script>
551             $(document).ready(function() {
552                 $("#tabs").tabs();
553                 $("#add_additional_content").validate({
554                     submitHandler: function(form){
555                         if ( ! $("#title_default").val().length > 0 ) {
556                             alert(__("Please specify a title for 'Default'"));
557                             return false;
558                         }
559
560                         form.submit();
561                     }
562                 });
563
564                 $("#submit_form").on("click",function(){
565                     $("#add_additional_content").submit();
566                 });
567
568                 Sticky = $("#toolbar");
569                 Sticky.hcSticky({
570                     stickTo: ".main",
571                     stickyClass: "floating"
572                 });
573
574             });
575         </script>
576     [% END %]
577     [% UNLESS ( wysiwyg ) %]
578         [% Asset.js( "lib/codemirror/codemirror.min.js" ) | $raw %]
579         [% Asset.js( "lib/codemirror/xml.min.js" ) | $raw %]
580         [% Asset.js( "lib/codemirror/lint.min.js" ) | $raw %]
581         [% Asset.js( "lib/linters/htmlhint.min.js" ) | $raw %]
582         [% Asset.js( "lib/codemirror/html-lint.min.js" ) | $raw %]
583         <script>
584             var editor = CodeMirror.fromTextArea(document.getElementById('content'), {
585                 lineNumbers: true,
586                 lineWrapping: true,
587                 lint: true,
588                 mode: "text/html",
589                 gutters: ["CodeMirror-lint-markers"],
590                 viewportMargin: Infinity,
591             });
592         </script>
593     [% ELSE %]
594         [% Asset.js("lib/tiny_mce/tinymce.min.js") | $raw %]
595         [% INCLUDE 'str/tinymce_i18n.inc' %]
596         <script>
597             tinyMCE.init({
598                 verify_html: false,
599                 force_br_newlines : false,
600                 force_p_newlines : false,
601                 forced_root_block : '',
602                 branding : false,
603                 relative_urls : false,
604                 content_css : "[% interface | html %]/[% theme | html %]/css/tinymce.css",
605                 menubar : "file edit view insert format tools table",
606                 mode : "specific_textareas",
607                 plugins : "autoresize table hr link image charmap lists code emoticons",
608                 extended_valid_elements:"style,link[href|rel]",
609                 custom_elements:"style,link,~link",
610                 toolbar : [
611                     "formatselect | bold italic | cut copy paste | alignleft aligncenter alignright | outdent indent | image link unlink anchor cleanup hr",
612                     "table | bullist numlist | undo redo | removeformat | emoticons charmap | forecolor backcolor | code"
613                 ],
614             });
615         </script>
616     [% END # /UNLESS wysiwyg %]
617 [% END %]
618
619 [% INCLUDE 'intranet-bottom.inc' %]