[Koha-bugs] [Bug 4073] New: Add globally-accessible template variable for dateformat setting
bugzilla-daemon at kohaorg.ec2.liblime.com
bugzilla-daemon at kohaorg.ec2.liblime.com
Thu Jan 28 15:46:48 CET 2010
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 at myacpl.org
ReportedBy: oleonard at 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.
More information about the Koha-bugs
mailing list