Bug 13618: Add html filters to all the variables
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / serials / serials-home.tt
index 4037b45..7673939 100644 (file)
@@ -1,6 +1,9 @@
-[% INCLUDE 'doc-head-open.inc' %]
+[% USE raw %]
+[% USE Asset %]
 [% USE KohaDates %]
-<title>Koha &rsaquo; Serials [% biblionumber %]</title>
+[% SET footerjs = 1 %]
+[% INCLUDE 'doc-head-open.inc' %]
+<title>Koha &rsaquo; Serials [% biblionumber | html %]</title>
 [% INCLUDE 'doc-head-close.inc' %]
 </head>
 <body id="ser_serials-home" class="ser">
     </div>
   </div>
   <div class="yui-b">
-    [% INCLUDE 'subscriptions-search.inc' %]
     [% INCLUDE 'serials-menu.inc' %]
   </div>
 </div>
+
+[% MACRO jsinclude BLOCK %]
+    [% Asset.js("js/serials-toolbar.js") | $raw %]
+    <script type="text/javascript">
+        var subscriptionid = "[% subscriptionid | html %]";
+        var MSG_CLOSE_SUBSCRIPTION = _("Are you sure you want to close this subscription?");
+        var MSG_REOPEN_SUBSCRIPTION = _("Are you sure you want to reopen this subscription?");
+        var CONFIRM_DELETE_SUBSCRIPTION = _("Are you sure you want to delete this subscription?");
+    </script>
+[% END %]
+
 [% INCLUDE 'intranet-bottom.inc' %]