More fixes for Bug 2600, enabling the appearance of HTML tags in item titles. Resubmi...
[srvgit] / koha-tmpl / intranet-tmpl / prog / en / modules / acqui / newordersuggestion.tmpl
index c46e41d..e18b89f 100644 (file)
@@ -1,42 +1,33 @@
 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
-<title>Koha &rsaquo; Add order from suggestion: <!-- TMPL_VAR name="bookselname" --></title>
+<title>Koha &rsaquo; Acquisitions &rsaquo; Add order from a suggestion</title>
 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
+</head>
+<body>
+<!-- TMPL_INCLUDE NAME="header.inc" -->
+<!-- TMPL_INCLUDE NAME="suggestions-add-search.inc" -->
 
-<!-- TMPL_INCLUDE NAME="menus.inc" -->
-<!-- TMPL_INCLUDE NAME="menu-acqui.inc" -->
+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> &rsaquo; <a href="/cgi-bin/koha/acqui/supplier.pl?supplierid=<!-- TMPL_VAR NAME="supplierid" -->"><!-- TMPL_VAR NAME="name" --></a> &rsaquo; <a href="/cgi-bin/koha/acqui/basket.pl?basketno=<!-- TMPL_VAR NAME="basketno" -->">Shopping Basket <!-- TMPL_VAR NAME="basketno" --></a> &rsaquo; Add order from a suggestion</div>
 
+<div id="doc3" class="yui-t2">
+   
+   <div id="bd">
+       <div id="yui-main">
+       <div class="yui-b">
+       
 <h1>Suggestions</h1>
-<div id="acqui_suggestion_select">
-    <form action="/cgi-bin/koha/acqui/newordersuggestion.pl" method="get">
-    <table>
+    <!-- TMPL_IF NAME="suggestions_loop" -->
+       <table>
         <tr>
             <th>Suggestion</th>
             <th>Suggested by</th>
             <th>Accepted by</th>
             <th>&nbsp;</th>
         </tr>
-        <tr>
-            <th>
-                 Filter on :
-                <p>
-                title: <input type="text" name="title" value="<!-- TMPL_VAR NAME="title"-->" />
-                author: <input type="text" name="author" value="<!-- TMPL_VAR NAME="author" -->" />
-                publisher: <input type="text" name="publishercode" value="<!-- TMPL_VAR NAME="publishercode"-->" /></p>
-            </th>
-            <th>
-                &nbsp;
-            </th>
-            <th>
-                &nbsp;
-            </th>
-            <th>
-                <input type="submit" class="button" value="Set Filter" />
-            </th>
-        </tr>
+        
         <!-- TMPL_LOOP NAME="suggestions_loop" -->
             <tr>
                 <td>
-                    <p><!-- TMPL_VAR NAME="title" --> - <!-- TMPL_VAR NAME="author" --></p>
+                    <p><!-- TMPL_VAR NAME="title" escape="html" --> - <!-- TMPL_VAR NAME="author" --></p>
                     <p>
                         <!-- TMPL_IF name="copyrightdate" -->copy. year:<!-- TMPL_VAR NAME="copyrightdate" --> <!-- /TMPL_IF -->
                         <!-- TMPL_IF name="volumedesc" -->volume:<i><!-- TMPL_VAR NAME="volumedesc" --></i> <!-- /TMPL_IF -->
                 </td>
             </tr>
         <!-- /TMPL_LOOP -->
-    </table>
-    </form>
+    </table><!-- TMPL_ELSE -->There are no outstanding (accepted) suggestions.<!-- /TMPL_IF -->
+</div>
+</div>
+<div class="yui-b">
+<!-- TMPL_INCLUDE NAME="acquisitions-menu.inc" -->
+</div>
 </div>
 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->