koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/npl/en/acqui.simple addbook


From: Owen Leonard
Subject: [Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/npl/en/acqui.simple addbooks.tmpl,1.5,1.6
Date: Thu, 03 Feb 2005 09:42:15 -0800

Update of /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/npl/en/acqui.simple
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19322/koha-tmpl/intranet-tmpl/npl/en/acqui.simple

Modified Files:
        addbooks.tmpl 
Log Message:
Removing NPL-specific code, adding framework-related template information

Index: addbooks.tmpl
===================================================================
RCS file: 
/cvsroot/koha/koha/koha-tmpl/intranet-tmpl/npl/en/acqui.simple/addbooks.tmpl,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** addbooks.tmpl       3 Feb 2005 15:36:49 -0000       1.5
--- addbooks.tmpl       3 Feb 2005 17:42:12 -0000       1.6
***************
*** 11,96 ****
  <!-- /TMPL_IF -->
  
! <!-- Display for NPL <div class="form">
! <form method="post" action="addbiblio-simple.pl">
! <input type="hidden" name="op" value="addbiblio" />
! <input type="hidden" name="addfield_field" />
! <input type="hidden" name="oldbiblionumber" value="<!-- TMPL_VAR 
name="oldbiblionumber" -->" />
!     <table>
!       <caption>Create Brief Record</caption>
!                               <tr>
!                                       <th><label 
for="field_value">Title</label></th>
!                                       <td>
!                                               <input type="text" 
name="field_value" id="field_value" value="" size="50" maxlength="255" />
!                                               <input type="hidden" name="tag" 
value="245" />
!                                               <input type="hidden" 
name="subfield" value="a" />
! 
!                                               <input type="hidden" 
name="mandatory" value="0" />
!                                               <input type="hidden" 
name="kohafield" value="biblio.title" />
!                                               <input type="hidden" 
name="tag_mandatory" value="1" />
!                                       </td>
!                               </tr>
!       <tr>
!                       <th><label for="field_value">Item Type</label></th>
!                                       <td>
!                                               <select name="field_value" 
id="field_value" size="1">
! <option value=""></option>
! <option  value="AB">Audiobook</option>
! <option  value="AF">Fiction</option>
! <option  value="AV">Videocassette</option>
! 
! <option  value="AVJ">Juvenile videocassette</option>
! <option  value="AVNF">Non-fiction videocassette</option>
! <option  value="BIO">Biography</option>
! <option  value="DVD">Digital video disc</option>
! <option  value="EASY">Children's picture books</option>
! <option  value="JB">Juvenile biography</option>
! <option  value="JNF">Juvenile non-fiction</option>
! <option  value="JF">Juvenile fiction</option>
! 
! <option  value="JREF">Juvenile reference</option>
! <option  value="LH">Local history</option>
! <option  value="LP">Large print fiction</option>
! <option  value="LPNF">Large print non-fiction</option>
! <option  value="MYS">Mystery</option>
! <option  value="NF">Non-fiction</option>
! <option  value="REF">Reference</option>
! <option  value="SCI">Science fiction/Fantasy</option>
! <option  value="WES">Western</option>
! 
! <option  value="YA">Young Adult fiction</option>
! <option  value="YANF">Young Adult non-fiction</option>
! <option  value="CDM">Music CD</option>
! <option  value="AVJN">Juvenile non-fiction videocassette</option>
! <option  value="CDR">CD-ROM software</option>
! <option  value="JAC">Juvenile audiobook</option>
! <option  value="KIT">Children's book/tape kit</option>
! <option  value="PB">Paperback romance</option>
! 
! <option  value="YAC">Young Adult audiobook</option>
! <option selected="selected" value="MZ">Magazine</option>
! </select>
! 
!                                               <input type="hidden" name="tag" 
value="942" />
!                                               <input type="hidden" 
name="subfield" value="c" />
!                                               <input type="hidden" 
name="mandatory" value="0" />
!                                               <input type="hidden" 
name="kohafield" value="biblioitems.itemtype" />
!                                               <input type="hidden" 
name="tag_mandatory" value="0" />
!                                       </td>
!                               </tr>
!       </table>
!       <input type="submit" value="Save Bibliographic Record and Go To Items" 
class="submit" />
! </form>
!       </div>
! <br />
!  /Display for NPL --> <form class="inline" action="isbnsearch.pl"><div 
class="form">
!       <h3>Search Existing Records</h3>
        <ul class="notes"><li>If the ISBN is found into the biblio table, it 
will be retrieved and can be modified.</li>
        <li>If the ISBN is found into the reservoir, it will be retrieved, and 
a biblio added.</li>
        <li>Otherwise, a biblio can be added from scratch.</li></ul>
!       <table>
  <tr><th><label for="isbn">ISBN:</label></th><td><input type="text" id="isbn" 
name="isbn" /></td></tr>
  <tr><th><label for="title">Title</label></th><td><input type="text" 
id="title" name="title" /></td></tr>
! </table>
! <input type="submit" class="submit" value="Search" /></div> </form>
  
  <!-- Display for NPL <div class="form">
--- 11,41 ----
  <!-- /TMPL_IF -->
  
! <form class="inline" action="isbnsearch.pl">
        <ul class="notes"><li>If the ISBN is found into the biblio table, it 
will be retrieved and can be modified.</li>
        <li>If the ISBN is found into the reservoir, it will be retrieved, and 
a biblio added.</li>
        <li>Otherwise, a biblio can be added from scratch.</li></ul>
!       <div class="data"><table><caption>Search Existing Records</caption>
  <tr><th><label for="isbn">ISBN:</label></th><td><input type="text" id="isbn" 
name="isbn" /></td></tr>
  <tr><th><label for="title">Title</label></th><td><input type="text" 
id="title" name="title" /></td></tr>
! </table></div>
! <p><input type="submit" class="submit" value="Search" /> </p></form>
! 
!               <!-- TMPL_IF NAME="NOTMARC" -->
!               
! <form action="addbiblio.pl"><p> <input type="submit" value="Add Record 
Without Search" class="submit" /></p></form>
!               <!-- TMPL_ELSE -->
!                               <form action="addbiblio.pl" method="post">
!               <div class="data"><table>
!               <caption>Create a Blank Bibliographic Record</caption>
!               <tr><th><label for="frameworkcode">Choose a 
Framework:</label></th><td><select name="frameworkcode" id="frameworkcode">
!                                               <option 
value="">Default</option>
!                                               <!-- TMPL_LOOP 
NAME="frameworkcodeloop" -->
!                                                       <option value="<!-- 
TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="frameworktext" --></option>
!                                               <!-- /TMPL_LOOP -->
!                                       </select></td></tr>
!               </table></div>                          
! <p> <input type="submit" value="Add Record Without Search" class="submit" 
/></p></form>
!                       
!               <!-- /TMPL_IF -->
  
  <!-- Display for NPL <div class="form">
***************
*** 103,108 ****
  </div>< /Display for NPL -->
  
- <form action="addbiblio.pl"><p> <input type="submit" value="Add Record 
Without Search" class="submit" /></p></form>
- 
  
  </div>
--- 48,51 ----




reply via email to

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