Disable Google Analytics in T-PAC by default
authorDan Scott <dan@coffeecode.net>
Fri, 19 Aug 2011 20:35:12 +0000 (16:35 -0400)
committerDan Scott <dan@coffeecode.net>
Fri, 19 Aug 2011 20:35:12 +0000 (16:35 -0400)
commite7537865c2486e643d47d3974eb6e7d519c2c201
treeebc906421a2da788cb01bbe07b1946527e3475ee
parent3c4c4ef5f65c0ad961b47063e6ab1dde2ff35fa3
Disable Google Analytics in T-PAC by default

The option to enable Google Analytics has been turned into a config
setting in parts/config.tt2 for now, with a place to set the GA account
code.

Also, get consistent with foo.enabled instead of a mix of foo.enable /
foo.enabled in config.tt2.

Also, be a bit more careful about whitespace and hide comments in the
HTML source about things that are disabled (such as ChiliFresh and
Google Analytics) until they are enabled.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/templates/default/opac/parts/chilifresh.tt2
Open-ILS/src/templates/default/opac/parts/config.tt2
Open-ILS/src/templates/default/opac/parts/js.tt2
Open-ILS/src/templates/default/opac/parts/record/summary.tt2
Open-ILS/src/templates/default/opac/parts/result/table.tt2