koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] CVS: koha-html/intranet-html/includes/templates/cmsd/catalogu


From: Steve Tonnesen
Subject: [Koha-cvs] CVS: koha-html/intranet-html/includes/templates/cmsd/catalogue intranet-main.tmpl,NONE,1.1 opac-main.tmpl,NONE,1.1 searchresults.tmpl,1.2,1.3
Date: Thu, 11 Jul 2002 09:16:38 -0700

Update of 
/cvsroot/koha/koha-html/intranet-html/includes/templates/cmsd/catalogue
In directory usw-pr-cvs1:/tmp/cvs-serv16039a/cmsd/catalogue

Modified Files:
        searchresults.tmpl 
Added Files:
        intranet-main.tmpl opac-main.tmpl 
Log Message:
New templates for templated OPAC


--- NEW FILE ---
<HTML>
<TITLE>WELCOME TO THE KOHA INTRANET </TITLE>


<style type="text/css">
<!--
input{font-size:16px}

-->

</style>
<script language=javascript>
<!--
if (document.images){
search=new Image;
search.src ="/images/front-mouseover-search.gif"
members=new Image;
members.src ="/images/front-mouseover-member.gif"
acquisitions=new Image;
acquisitions.src ="/images/front-mouseover-acquisitions.gif"
reports=new Image;
reports.src ="/images/front-mouseover-reports.gif"
circulation=new Image;
circulation.src ="/images/front-mouseover-circulation.gif"
}
//-->
</script>

</HEAD>

<BODY
        BGCOLOR="#99cc33"
        text="black"


        alink="#663366"
        leftmargin=0
        topmargin=0
        marginheight=0
        marginwidth=0 >

<center>
<table cellspacing=0 cellpadding=0 border=0 >

  <tr valign=top >
        <td background="/images/koha-front-background.gif"><img 
src="/images/holder.gif"
        width=1 height=420 align=left alt=" " hspace=0 vspace=0 >
        <table cellspacing=0 cellpadding=0 border=0 >
                <!----ROW THAT SETS THE GRID FOR THE REST OF THE TABLE--->
                <tr valign=top >
                        <td background=" "><img src="/images/holder.gif" 
width=150 height=42
                        alt=" " hspace=0 vspace=0 ></td>
                        <td background=" "><img src="/images/holder.gif" 
width=30 height=42
                        alt=" " hspace=0 vspace=0 ></td>
                        <td background=" "><img src="/images/holder.gif" 
width=25 height=42
                        alt=" " hspace=0 vspace=0></td>
                        <td background=" "><img src="/images/holder.gif" 
width=25 height=42
                        alt=" " hspace=0 vspace=0></td>
                        <td background=" "><img src="/images/holder.gif" 
width=30 height=42
                        alt=" " hspace=0 vspace=0></td>
                        <td background=" "><img src="/images/holder.gif" 
width=20 height=42
                        alt=" " hspace=0 vspace=0></td>
                        <td background=" "><img src="/images/holder.gif" 
width=20 height=42
                        alt=" " hspace=0 vspace=0></td>
                        <td background=" "><img src="/images/holder.gif" 
width=10 height=42
                        alt=" " hspace=0 vspace=0></td>
                        <td background=" "><img src="/images/holder.gif" 
width=10 height=42
                        alt=" " hspace=0 vspace=0></td>
                        <td background=" "><img src="/images/holder.gif" 
width=90 height=42
                        alt=" " hspace=0 vspace=0></td>
                </tr>

<!--------CATALOGUE SEARCH----->

                <tr valign=top >
                        <td background=" " colspan=5><img 
src="/images/holder.gif"
                        width=1 height=1 hspace=0 vspace=0></td>

                        <td background=" " colspan=5><a 
href="/cgi-bin/koha/catalogue-home.pl" 
onMouseOver="if(document.images)document.search.src='/images/front-mouseover-search.gif'"
                
onMouseOut="if(document.images)document.search.src='/images/front-search.gif'"><img
 src="/images/front-search.gif" width=320    height=37 name="search"
                        hspace=0 vspace=0 border=0></a></td>
                </tr>
                <FORM ACTION="/cgi-bin/koha/search.pl" method=post>
                <tr valign=top >
                        <td background=" " rowspan=3 align="right" colspan=5>
                                <img src="/images/holder.gif"
                                width=1 height=35
                                alt=" " hspace=0 vspace=0><br>
                                <img src="/images/templates/cmsd/koha.png" 
width=200 height=128
                                alt="Koha: Horowhenua Library Trust" hspace=0 
vspace=0></td>
                        <td></td>
                        <td></td>
                        <td background=" " colspan=3>
                                <input type=text size="27" 
name="keyword"><input type=reset value="clr"><br>

                        <font size=1 face="arial,helvetica" ><b>Type in the box 
and press the enter key.</b><br>
                        <a href="/cgi-bin/koha/catalogue-home.pl">
                        <font size=2 face="arial narrow,arial,helvetica">
                        <img src="/images/front-arrow-purple.gif" width=27 
height=22
                        alt="-" hspace=0 vspace=0 border=0 align=middle 
>Advanced Search (More Options)</a><br>

                        <img src="/images/holder.gif" width=1 height=8
                        alt=" " hspace=0 vspace=0></td>

                </tr>
                </form>

                <!--------MEMBER SEARCH----->

                <tr valign=top >
                        <td></td>
                        <form action="/cgi-bin/koha/member.pl" method=post >
                        <td background=" "  colspan=4>
                                <a href="/cgi-bin/koha/members-home.pl" 
onMouseOver="if(document.images)document.member.src='/images/front-mouseover-member.gif'"
               
onMouseOut="if(document.images)document.member.src='/images/front-member.gif'">
                                <img src="/images/front-member.gif" width=304   
        height=37 name="member"
                                hspace=0 vspace=0 border=0>
                        </td>

                </tr>
                <tr valign=top >
                        <td></td>
                        <td></td>
                        <form action="/cgi-bin/koha/member.pl" method=post >

                        <td background=" " colspan=3 >
                        <input type=text size="27" name="member">
                        <input type=reset value="clr"><br>
                        <font size=1 face="arial,helvetica" ><b>Type in the box 
and press the enter                     key.</b><br>
                        <img src="/images/holder.gif" width=1 height=12
                        alt=" " hspace=0 vspace=0></td>

                </tr>

 <!--------ACQUISITIONS----->
                <tr valign=top >
                        <td></td>
                        <td></td>
                        <td></td>
                        <td></td>
                        <td></td>
                        <td background=" " colspan=5><A 
href="/cgi-bin/koha/loadmodules.pl?module=acquisitions" 
onMouseOver="if(document.images)document.acquisitions.src='/images/front-mouseover-acquisitions.gif'"
           
onMouseOut="if(document.images)document.acquisitions.src='/images/front-acquisitions.gif'"><img
 src="/images/front-acquisitions.gif" width=320          height=36 
name="acquisitions"
                        hspace=0 vspace=0 border=0></a><br>
                        <img src="/images/holder.gif" width=1 height=12
                        alt=" " hspace=0 vspace=0 ></td>


                </tr>


<!--------REPORTS----->
                <tr valign=top >
                        <td></td>
                        <td></td>
                        <td></td>
                        <td></td>
                        <td background=" " colspan=6> <A 
href="/cgi-bin/koha/reports-home.pl" 
onMouseOver="if(document.images)document.reports.src='/images/front-mouseover-reports.gif'"
               
onMouseOut="if(document.images)document.reports.src='/images/front-reports.gif'"><img
 src="/images/front-reports.gif" width=346                 height=37 
name="reports"
                        hspace=0 vspace=0 border=0></a><br>
                        <img src="/images/holder.gif" width=1 height=12
                        alt=" " hspace=0 vspace=0 ></td>
                </tr>

<!--------ADMIN----->
                <tr valign=top >

                        <td></td>
                        <td></td>
                        <td></td>
                        <td background=" " colspan=7> <A 
href="/cgi-bin/koha/admin-home.pl" 
onMouseOver="if(document.images)document.admin.src='/images/front-mouseover-admin.gif'"
             
onMouseOut="if(document.images)document.admin.src='/images/front-admin.gif'"><img
 src="/images/front-admin.gif" width=346               height=37 name="admin"
                        hspace=0 vspace=0 border=0></a><br>
                        <img src="/images/holder.gif" width=1 height=12
                        alt=" " hspace=0 vspace=0 ></td>


                </tr>

<!--------CIRCULATION----->
                <tr valign=top >

                        <td></td>
                        <td background=" " colspan=9> <A 
href="/cgi-bin/koha/circ/circulation.pl" 
onMouseOver="if(document.images)document.circulation.src='/images/front-mouseover-circulation.gif'"
           
onMouseOut="if(document.images)document.circulation.src='/images/front-circulation.gif'"><img
 src="/images/front-circulation.gif" width=346             height=37 
name="circulation"
                        hspace=0 vspace=0 border=0></a>
                                <br>
                        </td>
                </tr>
        </table>
        </td>
</tr>
</table>
</center>
</body>
</html>

--- NEW FILE ---
<HTML>
<TITLE>WELCOME TO THE  KOHA OPAC </TITLE>


<style type="text/css">
<!--
input{font-size:16px}
-->

</style>


</HEAD>

<BODY   onload="document.catsearch.keyword.focus()"
        BGCOLOR="#339999" 
        text="black" 
        link="white" 
        vlink="white" 
        alink="#663366" 
        leftmargin=0 
        topmargin=0
        marginheight=0
        marginwidth=0 >

<center>
<table cellspacing=0 cellpadding=0 border=0 >
        
  <tr valign=top >
        <td background="/images/front-background-med.gif"><img 
src="/images/holder.gif" 
        width=1 height=440 align=left alt=" " hspace=0 vspace=0><table
cellspacing=0 cellpadding=0 border=0 >
        
  <tr valign=top >
        <td background=" "><img src="/images/holder.gif" width=228 height=88 
        alt=" " hspace=0 vspace=0></td>
        <td background=" "><img src="/images/holder.gif" width=57 height=88 
        alt=" " hspace=0 vspace=0></td>
        <td background=" "><img src="/images/holder.gif" width=47 height=88 
        alt=" " hspace=0 vspace=0></td>
        <td background=" "><img src="/images/holder.gif" width=1 height=88 
        alt=" " hspace=0 vspace=0></td>
        <td background=" "><img src="/images/holder.gif" width=1 height=88 
        alt=" " hspace=0 vspace=0></td>
  </tr>

  <tr valign=top >
        <td background=" " rowspan=2 align="right" colspan=2><img 
src="/images/holder.gif"
        width=1 height=30
        alt=" " hspace=0 vspace=0><br>
        <img src="/images/templates/cmsd/koha.png" width=200 height=128
        alt="Koha: Horowhenua Library Trust Catalogue and Member Services" 
hspace=0 vspace=0></td>

        <td background=" "  colspan=3><font size=+2><a 
href="/cgi-bin/koha/catalogue-home.pl"><img src="/images/heading-search.gif" 
width=272   height=38
        alt="Search the Catalogue" hspace=0 vspace=0 border=0></a></font></td>

  </tr>


<tr valign=top >
        <td>&nbsp; &nbsp; </td>
        <FORM ACTION="/cgi-bin/koha/search.pl" name=catsearch>
        <input type=hidden name=type value=opac>
        <td background=" " >

        <input type=text size="27" name="keyword"><br>
        </font>
        <b>Type in the box and press the enter                  key.</b><br>
        <a href="/cgi-bin/koha/catalogue-home.pl">
      
        <img src="/images/front-arrow.gif" width=27 height=22
        alt="-" hspace=0 vspace=0 border=0 align=middle >Advanced Search (More 
Options)</a><br>

        <img src="/images/holder.gif" width=1 height=8
        alt=" " hspace=0 vspace=0>
        <p>
        <TMPL_IF NAME="loggedinuser">
            <p align=left>Logged in as: <TMPL_VAR NAME="loggedinuser"> [<a 
href=/cgi-bin/koha/logout.pl>Log Out</a>]</p>
        <TMPL_ELSE>
            <p align=left><a href=/cgi-bin/koha/userpage.pl>Log In</a> to 
Koha</p>
        </TMPL_IF>
        </td>
        </form>
  </tr>


 

<!--
  <tr valign=top ><form action="/cgi-bin/member.pl" method=get >
        <td background=" "  colspan=3><img src="/images/heading-login.gif" 
width=279            height=38
        alt="Member Login" hspace=0 vspace=0 border=0></td>

  </tr>
<tr valign=top >
        <td></td>
        <form action="/cgi-bin/member.pl" method=get >
        <td background=" " >
        <font size=3 face="arial narrow,arial,helvetica">Card Number 
&nbsp;</font></td>
        <td background=" " ><input type=text size="12" name="card"></td>

  </tr>

  <tr valign=top><td></td>
        <td></td>
        <td></td>
        <td background=" " >
        <font size=3 face="arial narrow,arial,helvetica">Password</font></td>
        <td background=" " ><input type=password size="12" name="password"><br>
        <input type=submit value="OK"><br>

        <img src="/images/holder.gif" width=1 height=8
        alt=" " hspace=0 vspace=0></td>
        </font>
 </tr>

  <tr valign=top >
        <td></td>
        <td background=" " colspan=4><A href="join.html"><img 
src="/images/heading-member.gif" width=331                height=38
        alt="Become a Website Member" hspace=0 vspace=0 border=0></a>
        </td>
        <td>
        </td>

  </tr>

-->
</table>

</td>
  </tr>
</table>
<p>
</center>

Index: searchresults.tmpl
===================================================================
RCS file: 
/cvsroot/koha/koha-html/intranet-html/includes/templates/cmsd/catalogue/searchresults.tmpl,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** searchresults.tmpl  14 May 2002 19:38:54 -0000      1.2
--- searchresults.tmpl  11 Jul 2002 16:16:36 -0000      1.3
***************
*** 1,33 ****
  
! <TMPL_INCLUDE NAME="cat-top.inc">
  
! <center>
! <table border=0 cellspacing=0 cellpadding=2>
! <tr bgcolor=#ccccff background="/images/background-mem.gif">
! <th>Title</th>
! <th>Author</th>
! <th>Dewey</th></tr>
  
  
  
! <TMPL_LOOP NAME=SEARCH_RESULTS>
!   <tr>
!   <td><a href=/cgi-bin/koha/detail.pl?type=intra&bib=<TMPL_VAR 
NAME=biblionumber ESCAPE=HTML>><TMPL_VAR NAME=title></a></td>
!   <td><a href=/cgi-bin/koha/search.pl?type=intra&author=<TMPL_VAR NAME=author 
ESCAPE=HTML>><TMPL_VAR NAME=author></a></td>
!   <td align=right><TMPL_VAR NAME=dewey></td>
!   </tr>
! </TMPL_LOOP>
! <tr background="/images/background-mem.gif"><td colspan=3 bgcolor=#ccccff>
!     <table border=0 cellpadding=0 cellspacing=0 width=100%>
!     <tr><td align=left>
!     <a href=search.pl?template=<TMPL_VAR NAME="template">&startfrom=<TMPL_VAR 
NAME="prevstartfrom">>Previous Records</a>
!     </td><td align=right>
!     <a href=search.pl?template=<TMPL_VAR NAME="template">&startfrom=<TMPL_VAR 
NAME="nextstartfrom">>Next Records</a>
      </td></tr>
      </table>
! </td></tr>
! </table>
! <br>
! Results <TMPL_VAR NAME="startfrom"> through <TMPL_VAR NAME="endat"> of 
<TMPL_VAR NAME="numrecords"> records.
! <hr>
! <TMPL_INCLUDE NAME="cat-bottom.inc">
--- 1,118 ----
+ <TMPL_IF NAME="opac">
+     <TMPL_INCLUDE NAME="opac-top.inc">
+ <TMPL_ELSE>
+     <TMPL_INCLUDE NAME="cat-top.inc">
+ </TMPL_IF>
+ <center>
  
! <TMPL_IF NAME="loggedinuser">
!     <p align=left>Logged in as: <TMPL_VAR NAME="loggedinuser"> [<a 
href=/cgi-bin/koha/logout.pl>Log Out</a>]</p>
! <TMPL_ELSE>
!     <p align=left><a href=/cgi-bin/koha/userpage.pl>Log In</a> to Koha</p>
! </TMPL_IF>
  
! <TMPL_IF NAME="opac">
! <TMPL_ELSE>
! <a href=/cgi-bin/koha/admin/templates.pl>Set Template</a><p>
! </TMPL_IF>
! 
! <TMPL_IF NAME=searchdesc>
!     You searched on <b><TMPL_VAR NAME=searchdesc></b>
! <TMPL_ELSE>
!     You did not specify any seach criteria<br>
! </TMPL_IF>
! 
! <TMPL_VAR NAME=numrecords> results found
! <p>
! 
! 
!     <!-- Row of numbers corresponding to search result pages -->
!     <TMPL_IF NAME=displayprev>
!       <a href=search.pl?startfrom=<TMPL_VAR NAME="prevstartfrom">&<TMPL_LOOP 
NAME=FORMINPUTS><TMPL_VAR NAME=line>&</TMPL_LOOP>type=<TMPL_IF 
NAME="opac">opac<TMPL_ELSE>intra</TMPL_IF>><img src=/images/numbers/prev.gif 
border=0></a>
!     <TMPL_ELSE>
!       <img src=/images/numbers/placeholder.gif border=0>
!     </TMPL_IF>
!     <TMPL_LOOP NAME=numbers>
!       <TMPL_IF NAME=highlight>
!           <img src=/images/numbers/<TMPL_VAR NAME=number>-highlight.gif> 
!       <TMPL_ELSE>
!           <a href=search.pl?startfrom=<TMPL_VAR NAME=startfrom>&<TMPL_LOOP 
NAME=FORMINPUTS><TMPL_VAR NAME=line>&</TMPL_LOOP>type=<TMPL_IF 
NAME=opac>opac<TMPL_ELSE>intra</TMPL_IF>><img src=/images/numbers/<TMPL_VAR 
NAME=number>.gif border=0></a> 
!       </TMPL_IF>
!     </TMPL_LOOP>
!     <TMPL_IF NAME=displaynext>
!       <a href=search.pl?startfrom=<TMPL_VAR NAME="nextstartfrom">&<TMPL_LOOP 
NAME=FORMINPUTS><TMPL_VAR NAME=line>&</TMPL_LOOP>type=<TMPL_IF 
NAME="opac">opac<TMPL_ELSE>intra</TMPL_IF>><img src=/images/numbers/next.gif 
border=0></a>
!     <TMPL_ELSE>
!       <img src=/images/numbers/placeholder.gif border=0>
!     </TMPL_IF>
! 
!     <p>
! 
! 
! 
! <!-- Search Results Table -->
! 
! <TMPL_IF NAME=numrecords>
  
+     <table border=0 cellspacing=0 cellpadding=2 width=90%>
+     <tr <TMPL_IF NAME="opac">bgcolor=#99cccc 
background=/images/background-opac.gif<TMPL_ELSE> 
background="/images/background-mem.gif"</TMPL_IF>>
+           <th align=left>Title</th><th align=left>Author</th><th 
align=left>Dewey</th><th align=left>Location</th>
+         <TMPL_IF NAME="opac">
+         <TMPL_ELSE>
+           <th>&nbsp;</th>
+         </TMPL_IF>
+     </tr>
  
  
! 
! <!-- Actual Search Results -->
! 
!     <TMPL_LOOP NAME=SEARCH_RESULTS>
!       <tr>
!       <td><a href=/cgi-bin/koha/detail.pl?type=<TMPL_IF 
NAME="opac">opac<TMPL_ELSE>intra</TMPL_IF>&bib=<TMPL_VAR NAME=biblionumber 
ESCAPE=HTML>><TMPL_VAR NAME=title></a></td>
!       <td><a href=/cgi-bin/koha/search.pl?author=<TMPL_VAR 
NAME=authorhtmlescaped>&type=<TMPL_IF 
NAME="opac">opac<TMPL_ELSE>intra</TMPL_IF>><TMPL_VAR NAME=author></a></td>
!       <td align=left><TMPL_VAR NAME=dewey></td>
!       <td> <TMPL_VAR NAME=location> </td>
!       <TMPL_IF NAME="opac">
!       <TMPL_ELSE>
!       <td> <a href=/cgi-bin/koha/request.pl?bib=<TMPL_VAR 
NAME="biblionumber">>Request</a></td>
!       </TMPL_IF>
!       </tr>
!     </TMPL_LOOP>
! 
! 
! 
!     <tr <TMPL_IF NAME="opac">bgcolor=#99cccc 
background=/images/background-opac.gif<TMPL_ELSE>bgcolor=#ccccff 
background="/images/background-mem.gif"</TMPL_IF>><td colspan=6>
!       <table border=0 cellpadding=0 cellspacing=0 width=100%">
!       <tr <TMPL_IF NAME="opac">bgcolor=#99cccc 
background=/images/background-opac.gif<TMPL_ELSE>bgcolor=#ccccff 
background="/images/background-mem.gif"</TMPL_IF>><td align=left>
!       <TMPL_IF NAME=displayprev>
!           <a href=search.pl?startfrom=<TMPL_VAR 
NAME="prevstartfrom">&<TMPL_LOOP NAME=FORMINPUTS><TMPL_VAR 
NAME=line>&</TMPL_LOOP>type=<TMPL_IF 
NAME="opac">opac<TMPL_ELSE>intra</TMPL_IF>>Previous Records</a>
!       <TMPL_ELSE>
!           &nbsp;
!       </TMPL_IF>
!       </td><td align=right>
!       <TMPL_IF NAME=displaynext>
!           <a href=search.pl?startfrom=<TMPL_VAR 
NAME="nextstartfrom">&<TMPL_LOOP NAME=FORMINPUTS><TMPL_VAR 
NAME=line>&</TMPL_LOOP>type=<TMPL_IF 
NAME="opac">opac<TMPL_ELSE>intra</TMPL_IF>>Next Records</a>
!       <TMPL_ELSE>
!           &nbsp;
!       </TMPL_IF>
!       </td></tr>
!       </table>
      </td></tr>
      </table>
! 
!     <br>
!     Results <TMPL_VAR NAME="startfrom"> through <TMPL_VAR NAME="endat"> of 
<TMPL_VAR NAME="numrecords"> records.
!     <hr>
! 
!     Try another <a href=/cgi-bin/koha/catalogue-home.pl>search</a>
! 
! <TMPL_ELSE>
!     Try another <a href=/cgi-bin/koha/catalogue-home.pl>search</a>
! </TMPL_IF>
! 
! 
! <TMPL_IF NAME="opac">
!     <TMPL_INCLUDE NAME="opac-bottom.inc">
! <TMPL_ELSE>
!     <TMPL_INCLUDE NAME="cat-bottom.inc">
! </TMPL_IF>




reply via email to

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