Adding anchor link to updateitem redirect; Markup corrections for cat_issues_top...
authorOwen Leonard <oleonard@myacpl.org>
Thu, 10 Apr 2008 19:03:53 +0000 (14:03 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Thu, 10 Apr 2008 20:54:07 +0000 (15:54 -0500)
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
catalogue/updateitem.pl
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tmpl
koha-tmpl/intranet-tmpl/prog/en/modules/reports/cat_issues_top.tmpl

index 24aef67..1c0906a 100755 (executable)
@@ -68,7 +68,7 @@ if (defined $itemnotes) { # i.e., itemnotes parameter passed from form
     $item_changes->{'damaged'} = $damaged;
 } else {
     #nothings changed, so do nothing.
-    print $cgi->redirect("moredetail.pl?biblionumber=$biblionumber&itemnumber=$itemnumber");
+    print $cgi->redirect("moredetail.pl?biblionumber=$biblionumber&itemnumber=$itemnumber#item$itemnumber");
        exit;
 }
 
@@ -112,4 +112,4 @@ if ($itemlost==1) {
     $sth->finish;
 }
 
-print $cgi->redirect("moredetail.pl?biblionumber=$biblionumber&itemnumber=$itemnumber");
+print $cgi->redirect("moredetail.pl?biblionumber=$biblionumber&itemnumber=$itemnumber#item$itemnumber");
index 193e522..a912039 100644 (file)
@@ -39,7 +39,7 @@
     <br clear="all" />
     <!-- TMPL_LOOP NAME="ITEM_DATA" -->
     <div class="yui-g">
-        <h3 id="item<!-- TMPL_VAR NAME="barcode" -->" style="padding-top: 1em; border-top: 2px solid #CCCCCC;">Barcode <!-- TMPL_VAR NAME="barcode" -->  <!-- TMPL_IF name="notforloantext" --><!-- TMPL_VAR name="notforloantext" --> <!-- /TMPL_IF --></h3>
+        <h3 id="item<!-- TMPL_VAR NAME="itemnumber" -->" style="padding-top: 1em; border-top: 2px solid #CCCCCC;">Barcode <!-- TMPL_VAR NAME="barcode" -->  <!-- TMPL_IF name="notforloantext" --><!-- TMPL_VAR name="notforloantext" --> <!-- /TMPL_IF --></h3>
         <div class="listgroup"><h4>Item Information <!-- TMPL_IF NAME="CAN_user_editcatalogue" --><a href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&amp;biblionumber=<!-- TMPL_VAR NAME="biblionumber"-->&amp;itemnumber=<!-- TMPL_VAR NAME="itemnumber" -->">[Edit Items]</a><!-- /TMPL_IF --></h4>
             <ol class="bibliodetails">
             <li><span class="label">Home Library:</span> <!-- TMPL_VAR NAME="homebranchname" -->&nbsp;</li>
index 568f286..682e16e 100644 (file)
@@ -1,5 +1,5 @@
 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
-<title>Koha &rsaquo; Reports &rsaquo; Most-Circulated Items</title>
+<title>Koha &rsaquo; Reports &rsaquo; Most-Circulated Items<!-- TMPL_IF NAME="do_it" --> &rsaquo; Results<!-- /TMPL_IF --></title>
 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
 <!-- TMPL_INCLUDE NAME="calendar.inc" -->
 <!-- TMPL_IF NAME="do_it" -->
@@ -14,7 +14,7 @@ function Dopop(link) {
 <!-- TMPL_INCLUDE NAME="header.inc" -->
 <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
 
-<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a> &rsaquo; Most-Circulated Items</div>
+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a> &rsaquo; <!-- TMPL_IF NAME="do_it" --><a href="/cgi-bin/koha/reports/cat_issues_top.pl">Most-Circulated Items</a> &rsaquo; Results<!-- TMPL_ELSE -->Most-Circulated Items<!-- /TMPL_IF --></div>
 
 <div id="doc3" class="yui-t2">
    
@@ -47,9 +47,7 @@ function Dopop(link) {
                          </tr>
                                <!-- TMPL_LOOP NAME="looprow" -->
 <!-- TMPL_IF NAME="hilighted" --><tr class="highlighted"><!-- TMPL_ELSE --><tr><!-- /TMPL_IF -->
-                       <td><!-- TMPL_VAR NAME="rowtitle" --></td>
-                                               <!-- TMPL_IF NAME="hilighted" --><td class="hilighted"><!-- TMPL_ELSE --><td><!-- /TMPL_IF -->
-                                               <!-- TMPL_VAR NAME="rowtitle" --></td>
+                                               <td><!-- TMPL_VAR NAME="rowtitle" --></td>
                                                <!-- TMPL_LOOP NAME="loopcell" -->
                                                        <td>