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.