[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/koha-tmpl/opac-tmpl/npl/en opac-suggestion... [rel_2_2]
From: |
Owen Leonard |
Subject: |
[Koha-cvs] koha/koha-tmpl/opac-tmpl/npl/en opac-suggestion... [rel_2_2] |
Date: |
Wed, 08 Mar 2006 21:45:29 +0000 |
CVSROOT: /sources/koha
Module name: koha
Branch: rel_2_2
Changes by: Owen Leonard <address@hidden> 06/03/08 21:45:29
Modified files:
koha-tmpl/opac-tmpl/npl/en: opac-suggestions.tmpl
Log message:
Reformating suggestions page, trying to get a handle on how to display
the fitlering form along with the suggestions list. This seems better since it
doesn't create a horizontally-scrolling page, but not ideal because it gives
too much weight to the search.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha/koha-tmpl/opac-tmpl/npl/en/opac-suggestions.tmpl.diff?only_with_tag=rel_2_2&tr1=1.1.2.4&tr2=1.1.2.5&r1=text&r2=text
Patches:
Index: koha/koha-tmpl/opac-tmpl/npl/en/opac-suggestions.tmpl
diff -u koha/koha-tmpl/opac-tmpl/npl/en/opac-suggestions.tmpl:1.1.2.4
koha/koha-tmpl/opac-tmpl/npl/en/opac-suggestions.tmpl:1.1.2.5
--- koha/koha-tmpl/opac-tmpl/npl/en/opac-suggestions.tmpl:1.1.2.4 Sat Mar
4 05:37:07 2006
+++ koha/koha-tmpl/opac-tmpl/npl/en/opac-suggestions.tmpl Wed Mar 8
21:45:29 2006
@@ -25,39 +25,21 @@
<!-- /TMPL_IF -->
<!-- TMPL_IF name="op_else" -->
- <h1>Purchase Suggestions</h1>
+ <h3>Search Purchase Suggestions</h3>
<!-- TMPL_IF NAME="suggestions_loop" -->
+ <form action="/cgi-bin/koha/opac-suggestions.pl" method="post">
<table>
- <tr>
- <th> </th>
- <th>Title</th>
- <th>Author</th>
- <th>©</th>
- <th>Publisher</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">
- <th>
- Search:
- </th>
- <td>
- <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">
+<tr> <th><label for="title">Title</label></th><td>
+ <input type="text" id="title"
name="title" value="<!-- TMPL_VAR name="title"-->" />
+ </td></tr>
+ <tr><th><label for="author">Author</label></th><td>
+ <input type="text" id="author"
name="author" value="<!-- TMPL_VAR name="author" -->" />
+ </td></tr>
+ <tr><th><label
for="publishercode">Publisher</label></th><td>
+ <input type="text" id="publishercode"
name="publishercode" value="<!-- TMPL_VAR name="publishercode"-->" />
+ </td></tr>
+ <tr><th><label for="status">Status</label></th><td>
+<select name="status" id="status">
<option value="">Any</option>
<!-- TMPL_IF name="ASKED" -->
<option value="ASKED"
selected="selected">Requested</option>
@@ -85,23 +67,31 @@
<option
value="AVAILABLE">Available</option>
<!-- /TMPL_IF -->
</select>
- </td>
- <td>
- <select name="suggestedbyme">
+ </td></tr>
+ <tr><th><label for="suggestedbyme">Suggested
by</label></th><td>
+ <select id="suggestedbyme"
name="suggestedbyme">
<!-- TMPL_IF
NAME="suggestedbyme" --><option value="1" selected="selected"><!-- TMPL_ELSE
--><option value="1"><!-- /TMPL_IF -->Me</option>
<!-- TMPL_UNLESS
name="suggestedbyme" --><option value="0" selected="selected"><!-- TMPL_ELSE
--><option value="0"><!-- /TMPL_UNLESS -->Anybody</option>
</select>
- </td>
- <td>
-
- </td>
- <td>
- <input type="submit" class="submit"
value="Set Filter" />
- </td>
- </form>
- </tr>
+ </td></tr>
+ </table>
+ <p><input type="submit" class="submit" value="Search
Suggestions" /></p>
+
<form action="/cgi-bin/koha/opac-suggestions.pl" method="post">
<input type="hidden" name="op" value="delete_confirm" />
+ <table>
+ <caption>Pending Purchase Suggestions</caption>
+ <tr>
+ <th> </th>
+ <th>Title</th>
+ <th>Author</th>
+ <th>©</th>
+ <th>Publisher</th>
+ <th>Status</th>
+ <th>Suggested by</th>
+ <th>Managed by</th>
+ <th>Note</th>
+ </tr>
<!-- TMPL_LOOP NAME="suggestions_loop" -->
<!-- TMPL_IF name="even" --><tr><!-- TMPL_ELSE --><tr
class="highlight"><!-- /TMPL_IF -->
<td>