[Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en/bull full-s... [rel_2_2]
Owen Leonard
oleonard at athenscounty.lib.oh.us
Fri Aug 4 20:50:59 CEST 2006
CVSROOT: /sources/koha
Module name: koha
Branch: rel_2_2
Changes by: Owen Leonard <oleonard> 06/08/04 18:50:59
Modified files:
koha-tmpl/intranet-tmpl/npl/en/bull: full-serial-issues.tmpl
Log message:
Re-synching with default template and reformatting somewhat
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/npl/en/bull/full-serial-issues.tmpl?cvsroot=koha&only_with_tag=rel_2_2&r1=1.1.2.2&r2=1.1.2.3
Patches:
Index: full-serial-issues.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/intranet-tmpl/npl/en/bull/Attic/full-serial-issues.tmpl,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -b -r1.1.2.2 -r1.1.2.3
--- full-serial-issues.tmpl 27 Jul 2006 16:49:46 -0000 1.1.2.2
+++ full-serial-issues.tmpl 4 Aug 2006 18:50:59 -0000 1.1.2.3
@@ -6,35 +6,34 @@
<div id="main">
<!-- TMPL_UNLESS name="popup" -->
<h1>Subscription information for biblio #<!-- TMPL_VAR NAME="biblionumber" --> with title : <!-- TMPL_VAR name="bibliotitle" --></h1>
- <div class="tabbed">
- <form class="inline" action="/cgi-bin/koha/detail.pl" method="get">
- <input type="hidden" name="bib" value="<!-- TMPL_VAR name="biblionumber" -->" />
- <input type="submit" class="submit" value="Back to biblio" />
- </form>
+ <p>
+ <a class="button" href="/cgi-bin/koha/bull-home.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->" class="button bull">Back to subscriptions</a>
+ <a class="button" href="/cgi-bin/koha/MARCdetail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->" class="button bull">View in Catalogue</a>
<!-- /TMPL_UNLESS -->
-
+ <a class=" button bull" href="serial-issues.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->&selectview=small">Compact view</a></p>
+<p>
<!-- TMPL_LOOP NAME="years" -->
- <!-- TMPL_IF NAME="year" --><form class="inline" action="" method="get">
- <input type="submit" onclick="active(<!-- TMPL_VAR NAME="year" -->); return false;" class="submit" value="<!-- TMPL_VAR NAME="year" -->" />
- </form> <!-- /TMPL_IF -->
+ <!-- TMPL_IF NAME="Nodate" -->
+ <a class="button" href="javascript:active(1900)">No Publication Date</a>
+ <!-- TMPL_ELSE-->
+ <a class="button" href="javascript:active(<!-- TMPL_VAR NAME="year" -->)"><!-- TMPL_VAR NAME="year" --></a>
+ <!-- /TMPL_IF -->
<!-- /TMPL_LOOP -->
-
- <form class="inline" action="serial-issues.pl" method="get">
- <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR name="biblionumber" -->" />
- <input type="hidden" name="selectview" value="small" />
- <input type="submit" class="submit" value="Compact view" />
- </form>
- </div>
-
+ </p>
<!-- TMPL_LOOP NAME="years" -->
- <div name="<!-- TMPL_VAR NAME="year" -->" id="<!-- TMPL_VAR NAME="year" -->" style="position:absolute; visibility:hidden; margin-top:0px; border:4px;" <!--TMPL_IF Name="first" -->style="visibility:visible"<!--/TMPL_IF -->>
+ <div name="yeardata" id="<!-- TMPL_VAR NAME="year" -->" style="position:absolute; visibility:hidden; margin-top:0px; border:4px;" <!--TMPL_IF Name="first" -->style="visibility:visible"<!--/TMPL_IF -->>
<table>
<tr>
- <th>Information</th>
- <th>Publication Date</th>
- <th>Receive Date</th>
- <th>Number</th>
- <th>Status</th>
+ <th>Information
+ </th>
+ <th>Publication Date
+ </th>
+ <th>Reception Date
+ </th>
+ <th>Number
+ </th>
+ <th>Status
+ </th>
</tr>
<!-- TMPL_LOOP Name="serials" -->
<tr>
@@ -61,18 +60,17 @@
</table>
</div>
<!--/TMPL_LOOP -->
- </div>
<script language="JavaScript" type="text/javascript">
active(<!-- TMPL_VAR name="yearmin" -->);
function active(numlayer)
{
- for (i=<!--TMPL_VAR Name="yearmin"-->; i<=<!--TMPL_VAR Name="yearmax"-->; i++ ) {
- ong = i;
- link = "link"+i;
- if (numlayer==i) {
- document.getElementById(ong).style.visibility="visible";
+ var yeardata=document.getElementsByName("yeardata");
+ for (i=0; i<=yeardata.length; i++ ) {
+ ong=yeardata[i].getAttribute('id');
+ if (numlayer==ong) {
+ yeardata[i].style.visibility="visible";
} else {
- document.getElementById(ong).style.visibility="hidden";
+ yeardata[i].style.visibility="hidden";
}
}
}
More information about the Koha-cvs
mailing list