[Bug 4073] New: Add globally-accessible template variable for dateformat setting
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4073 Summary: Add globally-accessible template variable for dateformat setting Product: Koha Version: HEAD Platform: All OS/Version: All Status: ASSIGNED Severity: normal Priority: P5 Component: Templates AssignedTo: oleonard@myacpl.org ReportedBy: oleonard@myacpl.org Blocks: 3089 Estimated Hours: 0.0 Change sponsored?: --- There are many places in the template which need to know what Koha's current dateformat setting is. Previously there was a global "dateformat" variable, but that could only be used in conjunction with TMPL_IF EXPR: <!-- TMPL_IF EXPR="dateformat eq 'metric'" --> The dateformat variable has since been removed. Some templates now are looking for a specific variable: <!-- TMPL_IF NAME="dateformat_metric" --> ...which is an good way to avoid TMPL_IF EXPR, but I don't see that variable getting defined anywhere. -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4073 --- Comment #1 from Owen Leonard <oleonard@myacpl.org> 2010-01-28 14:49:27 --- Created an attachment (id=1495) --> (http://bugs.koha.org/cgi-bin/bugzilla3/attachment.cgi?id=1495) Proposed fix -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4073 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 |PATCH-Sent -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4073 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #2 from Owen Leonard <oleonard@myacpl.org> 2010-02-10 16:08:35 --- Patch has been pushed. Marking fixed. -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
bugzilla-daemon@kohaorg.ec2.liblime.com