Koha/C4
Joe Atzberger 4677ae7390 Cleanup selectbranchprinter.pl and .tmpl
Use GetBranchesLoop and warnings.  Remove unused code.  Moved the Get's to after auth.
I begin to show how this script will use referer to redirect back to the sending
page upon successful change of branch or printer (see hidden div and recycle_loop).

Indicator for singleBranchMode added.
Also added another helper function for GetBranchesLoop, namely mybranch.  This
encapsulates the logic for finding an intelligent default selection, which is
almost always desirable.

This does not resolve bug 2426, but is work in that direction.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-06-05 17:30:52 -05:00
..
AuthoritiesMarc added C4/AuthoritesMarc/*.pm missed in previous patch 2008-01-04 19:08:30 -06:00
Barcodes bug 2509: fix file permissions 2008-08-21 18:55:02 -05:00
ClassSortRoutine ignore "/" when sorting Dewey call numbers 2007-10-23 18:24:29 -05:00
External bug 3219: handle variation in Amazon responses 2009-05-27 07:06:20 -05:00
Form bug 3222: moved messaging preference editing 2009-05-22 13:20:56 -05:00
Heading bug 2479: allow MARC21 bib 440 to link to authorities 2008-08-06 14:49:55 -05:00
Members Allow option to preserve Extended Attributes on patron import update. 2009-05-28 06:50:39 -05:00
Output New framework for AJAX services 2009-05-14 07:29:18 -05:00
Reports (bug #3174) show the member name in reports 2009-05-08 10:17:30 -05:00
Search FRBR: added OPAC search result grouping option 2008-02-11 16:35:17 -06:00
SIP Bug 2968 - SIP ACS_STATUS message (98) misreported config. 2009-02-26 14:57:22 -06:00
tests Patch from Galen Charlton, removing $Id$ $Log$ and $Revision$ from files 2007-10-18 20:22:01 -05:00
VirtualShelves (bug #1578) change the shelf COinS support 2009-05-11 19:12:28 -05:00
Accounts.pm bug: chargelostitem() didn't unset onloan on the item record. 2008-10-05 21:01:24 -05:00
Acquisition.pm clean up redundant test 2009-05-21 09:00:52 -05:00
Auth.pm Pull the last OPAC-specific tmpl vars out of gettemplate. 2009-06-05 17:03:13 -05:00
Auth_with_ldap.pm bug 2726: updated doc to explain auth_by_bind option 2009-05-21 14:27:27 -05:00
AuthoritiesMarc.pm Moved some variable definitions out of conditionals 2009-05-07 17:08:16 -05:00
BackgroundJob.pm C4 - BEGIN blocks and 1; __END__ for modules 2008-01-07 20:02:18 -06:00
Barcodes.pm bug 2509: fix file permissions 2008-08-21 18:55:02 -05:00
Biblio.pm fix permissions error introduced in prior patch 2009-05-28 18:47:01 -05:00
Bookfund.pm (bug #3193) fix the comtd value in acqui-home.pl 2009-05-07 16:42:03 -05:00
Bookseller.pm Minor bug fix Documentation update : 3039 2009-03-27 18:36:57 -05:00
Boolean.pm Boolean.pm - BEGIN block VERSION and vars related to export. 2008-01-07 20:02:24 -06:00
Branch.pm Cleanup selectbranchprinter.pl and .tmpl 2009-06-05 17:30:52 -05:00
Breeding.pm IMPORTANT - refactor MARC character set handling 2008-02-03 07:23:56 -06:00
Calendar.pm Bug 3268: Adds the ability to edit the description of a holiday. 2009-06-03 13:26:40 -05:00
Category.pm remove editor settings 2009-02-04 14:47:42 -06:00
Charset.pm (bug #3183) fix the SetMarcUnicodeFlag function 2009-05-08 08:23:14 -05:00
Circulation.pm fix for 2997 : superlibrarian's ability to edit item/patron home branch affected if all other privileges are selected 2009-05-28 17:06:46 -05:00
ClassSortRoutine.pm call number work part 2 -- added framework for call number filing routines 2007-10-21 22:11:37 -05:00
ClassSource.pm call number work part 3 -- now using new routines to generate call number sort keys 2007-10-21 22:11:40 -05:00
Context.pm Minor POD update - copied section doesn't apply to other function 2009-06-03 14:48:44 -05:00
Dates.pm Bug 2842: ->regexp('syspref') failed for users of iso dateformat. 2009-01-06 20:24:46 -06:00
Debug.pm C4::Debug - should resolve conflict w/ CGI upload. Debug no longer uses CGI. 2008-03-16 08:32:20 -05:00
Heading.pm Porting SimpleSearch return changes to all code calling it. 2008-04-17 05:52:45 -05:00
ImportBatch.pm bug 2952 followup 2009-02-12 17:04:48 -06:00
Input.pm Input.pm - perldoc correction 2007-12-27 17:21:07 -06:00
Installer.pm Bug 2775: adding method to clean syspref cache in C4::Context 2008-11-11 15:59:00 -06:00
ItemCirculationAlertPreference.pm remove editor settings 2009-02-04 14:47:42 -06:00
Items.pm fix for 2997 : superlibrarian's ability to edit item/patron home branch affected if all other privileges are selected 2009-05-28 17:06:46 -05:00
ItemType.pm remove editor settings 2009-02-04 14:47:42 -06:00
Koha.pm fix to C4::Koha::_isbn_cleanup 2009-05-01 07:16:41 -05:00
Labels.pm Bug 2500 Tweaking DDCN Split for Hyphenated Volumn Numbers 2009-05-27 10:45:36 -05:00
Languages.pm Bugfix 3176 - Browser selected languages are not use by OPAC 2009-05-11 09:13:24 -05:00
Letters.pm Cleanup and tighten Letters module. 2009-04-24 11:16:50 -05:00
Log.pm Modified log reporting to allow multiple modules to be selected. 2009-04-24 13:36:16 -05:00
Maintainance.pm rel_3_0 moved to HEAD (introducing new files) 2007-03-09 15:34:17 +00:00
Matcher.pm But 3117 : fix typo in C4::Matcher causing compilation failure. 2009-04-15 12:49:33 -05:00
Members.pm fix for 2997 : superlibrarian's ability to edit item/patron home branch affected if all other privileges are selected 2009-05-28 17:06:46 -05:00
Message.pm remove editor settings 2009-02-04 14:47:42 -06:00
NewsChannels.pm Bug 3289 - Fixed bad conditional check that made news items not show up until the day after pubdate. 2009-06-05 16:53:05 -05:00
Output.pm followup previous patch - remove disused $opacstylesheet 2009-06-05 17:06:57 -05:00
Overdues.pm Branchoverdues circ report reworking. 2009-03-06 15:01:41 -06:00
Print.pm Bug 2900: fix GetPendingIssues. 2009-01-08 11:08:27 -06:00
Record.pm fixed MODS biblio export on a "standard" install 2008-04-01 06:46:08 -05:00
Reports.pm removing comments 2009-05-28 17:32:39 -05:00
Reserves.pm bug 3222: tweak sending of hold filled notification 2009-05-22 13:20:57 -05:00
Review.pm minor cleanup, remove $sth->finish's. No documentation impact. 2008-05-30 10:01:06 -05:00
Scheduler.pm Bug 2400 [2/18]: fixing pod syntax in C4/Scheduler.pm 2008-08-12 19:39:23 -05:00
Scrubber.pm Unescape Comment, now that we trust Scrubber to block bad markup. 2008-05-29 06:30:51 -05:00
Search.pm bug 3263: Staff Search Results Interface Changes 2009-05-28 06:42:20 -05:00
Serials.pm fix for 2997 : superlibrarian's ability to edit item/patron home branch affected if all other privileges are selected 2009-05-28 17:06:46 -05:00
Service.pm Small documentation improvement for C4::Service 2009-05-27 10:08:36 -05:00
SMS.pm Bug 2400 [5/18]: fixing pod syntax in C4/SMS.pm 2008-08-12 19:40:03 -05:00
Stats.pm Cleanup C4/Stats.pm 2009-05-22 06:47:52 -05:00
Suggestions.pm fix for 2997 : superlibrarian's ability to edit item/patron home branch affected if all other privileges are selected 2009-05-28 17:06:46 -05:00
Tags.pm Bug 2279: TagsModeration effectiveness restored. 2008-07-22 15:45:04 -05:00
UploadedFile.pm C4 - BEGIN blocks and 1; __END__ for modules 2008-01-07 20:02:18 -06:00
Utils.pm Big LDAP changes, module test for Context.pm, still more yet to come. 2007-12-04 17:27:06 -06:00
VirtualShelves.pm (bug #2908) adding send shelf by e-mail feature 2009-01-12 15:51:59 -06:00
XISBN.pm Syndetics and Amazon bugfix enhancements 2009-03-27 17:23:51 -05:00
XSLT.pm Improve XSLT.pm performances 2009-05-15 09:48:27 -05:00
Z3950.pm Z3950.pm - BEGIN block VERSION and vars related to export. 2008-01-07 20:02:50 -06:00