Fix for Bug 5650, item type page key wrong
[koha-ffzg.git] / koha-tmpl / intranet-tmpl / prog / en / modules / admin / itemtypes.tmpl
index e24a545..2d9aafc 100644 (file)
@@ -173,7 +173,7 @@ Item Types Administration
       <li>
           <label for="description">Description</label><input type="text" id="description" name="description" size="48" maxlength="80" value="<!-- TMPL_VAR name="description" escape="HTML" -->" />      </li>
      <!-- TMPL_IF NAME="noItemTypeImages" -->
-        <li><span class="label">Image: </span>Item type images are disabled. To enable them, turn off the <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=noItemTypeImages">noItemTypeImages system preference</a></li></ol>
+        <li><span class="label">Image: </span>Item type images are disabled. To enable them, turn off the <a href="/cgi-bin/koha/admin/preferences.pl?op=search&amp;searchfield=noItemTypeImages">noItemTypeImages system preference</a></li></ol>
         <!-- TMPL_ELSE --></ol>
                <div id="icons" class="toptabs">
                <h5 style="margin-left:10px;">Choose an Icon:</h5>
@@ -285,23 +285,23 @@ Item Types Administration
 
 <!-- TMPL_IF name="else" -->
 <h2>Item Types Administration</h2>
-<span id="pagertable_item_type" class="pager">
-       <form class="formpager">&nbsp;<strong>page(s)</strong>&nbsp;:
-               <img src="<!-- TMPL_VAR name="interface" -->/prog/img/first.png" class="first"/>
-               <img src="<!-- TMPL_VAR name="interface" -->/prog/img/prev.png" class="prev"/>
-               <input type="text" size="5" class="pagedisplay"/>
-               <img src="<!-- TMPL_VAR name="interface" -->/prog/img/next.png" class="next"/>
-               <img src="<!-- TMPL_VAR name="interface" -->/prog/img/last.png" class="last"/>
-               , entries/page : 
-               <select class="pagesize">
-               <option selected="selected" value="10">10</option>
-                       <option value="20">20</option>
-                       <option value="30">30</option>
-                       <option value="40">40</option>
-                       <option value="50">50</option>
-                       <option value="100">100</option>
-               </select>
-       </form>
+<!-- TMPL_IF NAME="loop" --><span id="pagertable_item_type" class="pager">
+  <form class="formpager">&nbsp;<strong>page(s)</strong>:&nbsp;
+    <img src="<!-- TMPL_VAR name="interface" -->/prog/img/first.png" class="first"/>
+    <img src="<!-- TMPL_VAR name="interface" -->/prog/img/prev.png" class="prev"/>
+    <input type="text" size="5" class="pagedisplay"/>
+    <img src="<!-- TMPL_VAR name="interface" -->/prog/img/next.png" class="next"/>
+    <img src="<!-- TMPL_VAR name="interface" -->/prog/img/last.png" class="last"/>
+    , entries/page:
+    <select class="pagesize">
+          <option selected="selected" value="10">10</option>
+      <option value="20">20</option>
+      <option value="30">30</option>
+      <option value="40">40</option>
+      <option value="50">50</option>
+      <option value="100">100</option>
+    </select>
+  </form>
 </span>
 <table id="table_item_type">
   <thead>
@@ -337,7 +337,9 @@ Item Types Administration
     </td>
   </tr>
   <!-- /TMPL_LOOP -->
-</table>
+</table><!-- TMPL_ELSE -->
+<div class="dialog message">There are no itemtypes defined</div>
+<!-- /TMPL_IF -->
 
 <div class="paginationBar"><!-- TMPL_VAR NAME="pagination_bar" --></div>