[Koha-cvs] koha/koha-tmpl/opac-tmpl/prog/en opac-suggestio... [rel_3_0]
paul poulain
paul at koha-fr.org
Wed Jan 24 14:55:44 CET 2007
CVSROOT: /sources/koha
Module name: koha
Branch: rel_3_0
Changes by: paul poulain <tipaul> 07/01/24 13:55:44
Modified files:
koha-tmpl/opac-tmpl/prog/en: opac-suggestions.tmpl
Log message:
ACQUISITION bugfixes
bugfixing templates to have suggestions working...
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/opac-tmpl/prog/en/opac-suggestions.tmpl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.1.2.4&r2=1.1.2.5
Patches:
Index: opac-suggestions.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/opac-tmpl/prog/en/opac-suggestions.tmpl,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -u -b -r1.1.2.4 -r1.1.2.5
--- opac-suggestions.tmpl 10 Jan 2007 14:55:19 -0000 1.1.2.4
+++ opac-suggestions.tmpl 24 Jan 2007 13:55:44 -0000 1.1.2.5
@@ -12,7 +12,7 @@
<p>No fields are mandatory. Enter whatever information you have. The "Notes" field can be used to provide any additional information.</p>
<form action="/cgi-bin/koha/opac-suggestions.pl" method="post">
<table>
- <tr><th scope="row"><label for="">Title</label></th><td><input type="text" id="title" name="title" size="50" maxlentgh="80" /></td></tr>
+ <tr><th scope="row"><label for="">Summary</label></th><td><input type="text" id="title" name="title" size="50" maxlentgh="80" /></td></tr>
<tr><th scope="row"><label for="">Author</label></th><td><input type="text" id="author" name="author" size="50" maxlength="80" /></td></tr>
<tr><th scope="row"><label for="">Copyright date</label></th><td><input type="text" id="copyrightdate" name="copyrightdate" size="4" maxlength="4" /></td></tr>
<tr><th scope="row"><label for="">Publisher</label></th><td><input type="text" id="publishercode" name="publishercode" size="50" maxlength="80" /></td></tr>
@@ -29,17 +29,14 @@
<table>
<tr>
<th> </th>
- <th>Title</th>
- <th>Author</th>
- <th>©</th>
- <th>Publisher</th>
+ <th>Summary</th>
<th>Status</th>
<th>Suggested by</th>
<th>Managed by</th>
<th>Note</th>
</tr>
<tr>
- <form action="/cgi-bin/koha/opac-suggestions.pl" method="post">
+ <form action="/cgi-bin/koha/opac-suggestions.pl" method="get">
<th>
Filter by:
</th>
@@ -47,51 +44,18 @@
<input type="text" name="title" value="<!-- TMPL_VAR name="title"-->" />
</td>
<td>
- <input type="text" name="author" value="<!-- TMPL_VAR name="author" -->" />
- </td>
- <td>
</td>
<td>
- <input type="text" name="publishercode" value="<!-- TMPL_VAR name="publishercode"-->" />
- </td>
- <td>
-<select name="status">
- <option value="">Any</option>
- <!-- TMPL_IF name="ASKED" -->
- <option value="ASKED" selected="selected">Requested</option>
- <!-- TMPL_ELSE -->
- <option value="ASKED">Asked</option>
- <!-- /TMPL_IF -->
- <!-- TMPL_IF name="ACCEPTED" -->
- <option value="ACCEPTED" selected="selected">Accepted</option>
- <!-- TMPL_ELSE -->
- <option value="ACCEPTED">Accepted</option>
- <!-- /TMPL_IF -->
- <!-- TMPL_IF name="ORDERED" -->
- <option value="ORDERED" selected="selected">Ordered</option>
- <!-- TMPL_ELSE -->
- <option value="ORDERED">Ordered</option>
- <!-- /TMPL_IF -->
- <!-- TMPL_IF name="REJECTED" -->
- <option value="REJECTED" selected="selected">Declined</option>
- <!-- TMPL_ELSE -->
- <option value="REJECTED">Declined</option>
- <!-- /TMPL_IF -->
- <!-- TMPL_IF name="AVAILABLE" -->
- <option value="AVAILABLE" selected="selected">Available</option>
- <!-- TMPL_ELSE -->
- <option value="AVAILABLE">Available</option>
- <!-- /TMPL_IF -->
+ <select name="suggestedbyme">
+ <option value="0">Anyone</option>
+ <option value="1">Me</option>
</select>
</td>
<td>
</td>
<td>
-
- </td>
- <td>
<input type="submit" value="Set Filter" />
</td>
</form>
@@ -104,19 +68,15 @@
<input type="checkbox" name="delete_field" value="<!--TMPL_VAR name="suggestionid" -->" />
</td>
<td>
- <!-- TMPL_VAR NAME="title" -->
- </td>
- <td>
- <!-- TMPL_VAR NAME="author" -->
- </td>
- <td>
- <!-- TMPL_VAR NAME="copyrightdate" -->
- </td>
- <td>
- <!-- TMPL_VAR name="publishercode" -->
+ <p><!-- TMPL_VAR NAME="title" --></p>
+ <p><!-- TMPL_IF name="author" --><!-- TMPL_VAR NAME="author" -->,<!-- /TMPL_IF -->
+ <!-- TMPL_IF name="copyrightdate" --> - <!-- TMPL_VAR NAME="copyrightdate" -->,<!-- /TMPL_IF -->
+ <!-- TMPL_IF name="publishercode" --> - <!-- TMPL_VAR name="publishercode" --><!-- /TMPL_IF -->
+ </p>
</td>
<td>
<!-- TMPL_IF name="ASKED" -->Requested<!-- /TMPL_IF -->
+ <!-- TMPL_IF name="ACCEPTED" -->Accepted by the library<!-- /TMPL_IF -->
<!-- TMPL_IF name="ORDERED" -->Ordered by the library<!-- /TMPL_IF -->
<!-- TMPL_IF name="REJECTED" -->Suggestion declined<!-- /TMPL_IF -->
<!-- TMPL_IF name="AVAILABLE" -->Available in the library<!-- /TMPL_IF -->
More information about the Koha-cvs
mailing list