[koha-commits] updated branch master (9c7d9b0934f36789177c3e7ba45b26687be384f2)
Koha Gitosis
gitosis at git.koha.org
Mon Feb 15 00:11:35 CET 2010
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Koha GitWeb".
The branch, master has been updated
via 9c7d9b0934f36789177c3e7ba45b26687be384f2 (commit)
via e476adcb9cf372dd1b058f2143a01044b6738484 (commit)
from 625021ada7caa8e849130ed1ade4406953bd4853 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 9c7d9b0934f36789177c3e7ba45b26687be384f2
Author: Galen Charlton <gmcharlt at gmail.com>
Date: Sun Feb 14 18:05:45 2010 -0500
new test script to help debug template errors
From the POD:
NAME
show-template-structure.pl
DESCRIPTION
This script displays the structure of loops and conditional statements in
an HTML::Template::Pro template, and is an aid for debugging errors
reported by the xt/author/valid-templates.t test. It also identifies the
following errors:
* TMPL_IF/TMPL_UNLESS/TMPL_LOOP with no closing tag
* TMPL_ELSE with no initial TMPL_IF or TMPL_UNLESS
* extra closing tags
* HTML comment of the form <!-- TMPL_FOO ..., where TMPL_FOO is not a valid HTML::Template::Pro tag
USAGE
xt/author/show-template-structure.pl path/to/template.tmpl
Output is sent to STDOUT.
Signed-off-by: Galen Charlton <gmcharlt at gmail.com>
commit e476adcb9cf372dd1b058f2143a01044b6738484
Author: Galen Charlton <gmcharlt at gmail.com>
Date: Sun Feb 14 18:05:14 2010 -0500
remove extra /TMPL_IF
Signed-off-by: Galen Charlton <gmcharlt at gmail.com>
-----------------------------------------------------------------------
Summary of changes:
.../opac-tmpl/prog/en/modules/opac-shelves.tmpl | 1 -
xt/author/show-template-structure.pl | 172 ++++++++++++++++++++
2 files changed, 172 insertions(+), 1 deletions(-)
create mode 100755 xt/author/show-template-structure.pl
hooks/post-receive
--
Koha GitWeb
More information about the koha-commits
mailing list