Cleanup waitingreserves.pl and .tmpl
authorJoe Atzberger <joe.atzberger@liblime.com>
Tue, 26 May 2009 21:41:03 +0000 (16:41 -0500)
committerGalen Charlton <galen.charlton@liblime.com>
Wed, 27 May 2009 12:25:14 +0000 (07:25 -0500)
commit8c0ac886bf0cf5f9f391c9315eebb744fc19a93b
tree9ab6a92ea9a3d8d5ac1d769bc8726a47d121e01d
parent400f2bad9ed1b2c8ffd9bc430c41355682800dc0
Cleanup waitingreserves.pl and .tmpl

Use warnings and provide fallback values to avoid them.
Move waitingdate check up to top of loop.
Move $today creation outside loop (should be same for all).
Remove unused and unnecessary variables.
Add subtitle escaping to .tmpl and slightly standardize formatting.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
circ/waitingreserves.pl
koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tmpl