Bugfix Correcting opac-shelves template to allow patron to set list category to publi...
authorChris Nighswonger <chris.nighswonger@liblime.com>
Wed, 25 Jun 2008 23:34:51 +0000 (18:34 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Thu, 26 Jun 2008 10:51:31 +0000 (05:51 -0500)
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl

index 60cb852..30603b4 100644 (file)
@@ -274,9 +274,14 @@ $.tablesorter.addParser({
                                <input id="addshelf" type="text" name="addshelf" size="60" />
                                <!-- /TMPL_IF -->
                                <input type="hidden" name="owner" id="owner" value="<!-- TMPL_VAR NAME="loggedinuser" -->" /></li>
+                       <li><label for="category">Category:</label>
+                   <select name="category" id="category">
+                       <option value="1">Private</option>
+                       <option value="2">Public</option>
+                   </select></li>
 </ol>
                </fieldset>
-            <fieldset class="action"><input type="hidden" name="category" value="1" /><input type="submit" value="Save" class="submit" /> <a class="cancel" href="/cgi-bin/koha/opac-shelves.pl">Cancel</a></fieldset>
+            <fieldset class="action"><input type="submit" value="Save" class="submit" /> <a class="cancel" href="/cgi-bin/koha/opac-shelves.pl">Cancel</a></fieldset>
         </form>    </div>
        <!-- /TMPL_IF --><!-- /showadd -->
     </div></div>