koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] koha/koha-tmpl/opac-tmpl/npl/en opac-main.tmpl [dev_week]


From: Joshua Ferraro
Subject: [Koha-cvs] koha/koha-tmpl/opac-tmpl/npl/en opac-main.tmpl [dev_week]
Date: Sun, 23 Jul 2006 21:51:42 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         dev_week
Changes by:     Joshua Ferraro <kados>  06/07/23 21:51:42

Modified files:
        koha-tmpl/opac-tmpl/npl/en: opac-main.tmpl 

Log message:
        * cleanup of opac-main in preperation for new shelf browser and
        staff picks stuff.
        * remove redundencies
        * validation of xhtml

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/opac-tmpl/npl/en/opac-main.tmpl?cvsroot=koha&only_with_tag=dev_week&r1=1.3.2.14.2.1&r2=1.3.2.14.2.2

Patches:
Index: opac-main.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/opac-tmpl/npl/en/opac-main.tmpl,v
retrieving revision 1.3.2.14.2.1
retrieving revision 1.3.2.14.2.2
diff -u -b -r1.3.2.14.2.1 -r1.3.2.14.2.2
--- opac-main.tmpl      11 Jul 2006 14:06:57 -0000      1.3.2.14.2.1
+++ opac-main.tmpl      23 Jul 2006 21:51:42 -0000      1.3.2.14.2.2
@@ -17,91 +17,30 @@
 </form></div>
 <!-- /TMPL_IF --><!-- /TMPL_IF -->
 
-<form action="/cgi-bin/koha/opac-search.pl">
-<h3>Search the Library Catalog</h3>
-<p>
-<label for="value">Enter Keyword(s):</label>
-                       <input type="hidden" name="op" value="do_search" />
-                       <input type="hidden" name="type" value="opac" />
-                       <input type="hidden" name="marclist" value="" />
-                       <input type="hidden" name="and_or" value="and" />
-                       <input type="hidden" name="excluding" value="" />
-                       <input type="hidden" name="operator" value="contains" />
-                       <input type="text" size="27" name="value" id="value" 
/></p>
-               <p><input type="submit" value="Search" class="submit" /></p>
-               <p>
-                       <a href="/cgi-bin/koha/opac-search.pl">Advanced Search 
(More Options)</a>
-               </p>
-               <!-- TMPL_UNLESS NAME="Disable_Dictionary" -->
-               <p>
-               <a href="/cgi-bin/koha/opac-authorities-home.pl">Authorities 
Headings Search</a>
-               </p>
-               <!-- /TMPL_UNLESS -->
-<!-- Display for NPL // <p>Find the latest additions: <br /><a 
href="/opac-format-search.php">Search by format and date</a></p> //Display for 
NPL -->
-       </form>
-       <!-- TMPL_IF NAME="loggedinusername" -->
-<!-- TMPL_ELSE --><!-- /TMPL_IF -->
+<!-- Put Shelf Browser Here -->
+
 </div>
 
 <div class="content-block">
-       <h3>Recent acquisitions</h3>
-<form name="f" method="post" action="/cgi-bin/koha/opac-search.pl">
-                       <input type="hidden" name="marclist" 
value="biblioitems.itemtype" />
-                       <input type="hidden" name="and_or" value="and" />
-                       <input type="hidden" name="excluding" value="" />
-                       <input type="hidden" name="operator" value="=" />
-                       <input type="hidden" name="op" value="do_search" />
-                       <input type="hidden" name="type" value="opac" />
-                       <select name="value">
-                                       <option value="">Any item type</option>
-                                               <!-- TMPL_LOOP 
name="itemtypeloop" -->
-                                                               <option 
value="<!-- TMPL_VAR name="value" -->"><!-- TMPL_VAR name="description" -->
-                                                               </option>
-                                               <!-- /TMPL_LOOP -->
-                               </select> 
-                       Acquired by
-                       <input type="hidden" name="marclist" 
value="items.homebranch" />
-                       <input type="hidden" name="and_or" value="and" />
-                       <input type="hidden" name="excluding" value="" />
-                       <input type="hidden" name="operator" value="=" />
-                       <input type="hidden" name="op" value="do_search" />
-                       <input type="hidden" name="type" value="opac" />
-                        <select name="value">
-                                <option value="">Any Branch</option>
-                        <!-- TMPL_LOOP name="branchloop" -->
-                                <option value="<!-- TMPL_VAR name="value" -->" 
<!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR name
-="branchname" --></option>
-                        <!-- /TMPL_LOOP -->
-                        </select>
-                       <br>over the last <input type="text" name="desc_or_asc" 
size="3" /> days
-                       <input type="hidden" name="orderby" 
value="biblio.timestamp" />
-                       <input type="submit" value="Search" class="submit" />
-</form>
+
+<!-- Put Virtual Shelves Here -->
+
 </div>
        
-<!-- TMPL_IF NAME="loggedinusername" -->
 <div class="content-block">
-<h3>You're logged in as <em><!-- TMPL_LOOP NAME="USER_INFO" --><!-- TMPL_VAR 
NAME="title" --> <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR 
NAME="surname" --></em> <span class="print">(<a 
href="/cgi-bin/koha/opac-logout.pl">Click here</a> if you're not <!-- TMPL_VAR 
NAME="title" --> <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR 
NAME="surname" -->)</span><!-- /TMPL_LOOP --></h3>
-<p><a href="/cgi-bin/koha/opac-user.pl">my library home</a> | <a 
href="/cgi-bin/koha/opac-account.pl">my fines</a> | 
-       <a href="/cgi-bin/koha/opac-userdetails.pl">my personal details</a> | 
<a href="/cgi-bin/koha/opac-passwd.pl">change my password</a>     <!-- TMPL_IF 
NAME="opacreadinghistory" -->| <a href="/cgi-bin/koha/opac-readingrecord.pl">my 
reading history</a><!-- /TMPL_IF -->       <!-- TMPL_IF name="virtualshelves" 
--> | <a href="/cgi-bin/koha/opac-shelves.pl" class="button">my virtual 
shelves</a> <!-- /TMPL_IF --><!-- TMPL_IF name="suggestion" -->| <a 
href="/cgi-bin/koha/opac-suggestions.pl">purchase suggestions</a><!-- /TMPL_IF 
--></p>
-               <!-- TMPL_IF name="textmessaging"-->
-                       <h3>Message from the library</h3>
-                       <p class="error"><!-- TMPL_VAR name="textmessaging" 
--></p>
-               <!-- /TMPL_IF -->
-<form method="post" action="/cgi-bin/koha/opac-logout.pl">
-<p><input type="submit" class="submit" name="logout" value="Log Out" /></p>
-</form>
-</div><!-- /TMPL_IF -->
+
+<!-- Put Interesting Things here -->
 
        <!-- TMPL_IF NAME="opaclanguagesdisplay" --><div class="content-block">
-       <h4 class="inline">Change Language:</h3>
+       <h4 class="inline">Change Language:</h4>
        <form action="/cgi-bin/koha/changelanguage.pl" method="post" 
class="inline">
                <select name="language">
                        <!-- TMPL_LOOP NAME="languages" -->
                                <option value="<TMPL_VAR NAME="language">"><!-- 
TMPL_VAR NAME="language" --></option>
                        <!-- /TMPL_LOOP -->
                </select>
-               <input type="submit" value="Switch" class="submit">
+               <input type="submit" value="Switch" class="submit"/>
        </form></div><!-- /TMPL_IF -->
 </div>
+</div>
 <!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->




reply via email to

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