koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] CVS: koha/koha-tmpl/opac-tmpl/npl/en opac-full-serial-issues.


From: Owen Leonard
Subject: [Koha-cvs] CVS: koha/koha-tmpl/opac-tmpl/npl/en opac-full-serial-issues.tmpl,NONE,1.1.2.1
Date: Thu, 09 Jun 2005 14:16:22 -0700

Update of /cvsroot/koha/koha/koha-tmpl/opac-tmpl/npl/en
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27685/koha-tmpl/opac-tmpl/npl/en

Added Files:
      Tag: rel_2_2
        opac-full-serial-issues.tmpl 
Log Message:
Full view for opac-serials.  Includes tabbed view ported from addbiblio in the 
intranet, but still haven't figured out how to get the container div to extend 
to the bottom of the content

--- NEW FILE ---
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" 
--> Catalog -- Serials
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
<!--TMPL_INCLUDE NAME="masthead_adv.inc" -->
<!--TMPL_INCLUDE NAME="navigation.inc" -->



<!-- TMPL_UNLESS name="popup" -->
<div id="main">
        <h2>Subscription information for <em><!-- TMPL_VAR name="bibliotitle" 
--></em></h2>
        <form action="opac-detail.pl" method="get"><input type="hidden" 
name="bib" value="<!-- TMPL_VAR name="biblionumber" -->" /><input type="submit" 
class="icon brief" value="Normal View" /></form>
<!-- /TMPL_UNLESS -->

        <div class="tabs">
        <!-- TMPL_LOOP NAME="years" -->
                <!-- TMPL_IF NAME="year" -->
                        <a href="#" onclick="active(<!-- TMPL_VAR NAME="year" 
-->); return false;" id="link<!-- TMPL_VAR NAME="year" -->"><!-- TMPL_VAR 
NAME="year" --></a>
                <!-- /TMPL_IF -->
        <!-- /TMPL_LOOP -->
        </div>

        <!-- TMPL_LOOP NAME="years" -->
        <div name="<!-- TMPL_VAR NAME="year" -->" id="<!-- TMPL_VAR NAME="year" 
-->" class="tab" <!--TMPL_IF Name="first" 
-->style="visibility:visible"<!--/TMPL_IF -->>
                <table>
                        <caption><!-- TMPL_VAR NAME="year" --> Issues</caption>
                        <tr>
                                <th> Date
                                </th>
                                <th> Number
                                </th>
                                <th> Status
                                </th>
                        </tr>
                        <!-- TMPL_LOOP Name="serials" -->
                        <tr>
                                <td>
                                        <!-- TMPL_VAR Name="planneddate" -->
                                </td>
                                <td>
                                        <!-- TMPL_VAR Name="serialseq" -->
                                </td>
                                <td>
                                        <!-- TMPL_IF Name="status1" 
-->Arrived<!-- /TMPL_IF -->
                                        <!-- TMPL_IF Name="status2" 
-->Waited<!-- /TMPL_IF -->
                                        <!-- TMPL_IF Name="status3" -->Late<!-- 
/TMPL_IF -->
                                        <!-- TMPL_IF Name="status4" 
-->Missing<!-- /TMPL_IF -->
                                </td>
                        </tr>
                        <!-- /TMPL_LOOP -->
                </table>
        </div>
        <!--/TMPL_LOOP -->
</div>
<script language="JavaScript" type="text/javascript">
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";
                        document.getElementById(link).style.color="#000066";
                        
document.getElementById(link).style.backgroundColor="#FFFFCC";
                } else {
                        document.getElementById(ong).style.visibility="hidden";
                        if (document.getElementById(link)) {
                        document.getElementById(link).style.color="#669999";
                        
document.getElementById(link).style.backgroundColor="#D8DEB8";
                        }
                }
        }
}
<!-- TMPL_LOOP name="years" -->
<!-- TMPL_IF NAME="first" -->
        active(<!-- TMPL_VAR NAME="year" -->);
<!-- /TMPL_IF -->
        <!--/TMPL_LOOP -->
</script>
</body>
</html>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]