Index: openacs-4/packages/acs-templating/www/doc/no-quote-upgrade.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/no-quote-upgrade.adp,v diff -u -r1.6 -r1.7 --- openacs-4/packages/acs-templating/www/doc/no-quote-upgrade.adp 2 Aug 2018 06:59:37 -0000 1.6 +++ openacs-4/packages/acs-templating/www/doc/no-quote-upgrade.adp 3 Sep 2024 15:37:35 -0000 1.7 @@ -1,7 +1,11 @@ -{/doc/acs-templating {ACS Templating}} {Upgrading existing ADPs to noquote templating} +{/doc/acs-templating/ {ACS Templating}} {Upgrading existing ADPs to noquote templating} Upgrading existing ADPs to noquote templating +

Upgrading existing ADPs to noquote templating

Introduction.

@@ -16,7 +20,7 @@ focus on the topic of this one: the changes you need to apply to make your module conformant to the new quoting rules.

This text is written as a result of our efforts to make the ACS -installation for the German Bank project work, therefore it is +installation for the German Bank project work, therefore, it is based on field experience rather than academic discussion. We hope you will find it useful.

Recap of the Theory.

@@ -35,7 +39,7 @@ HTML-quoting and internationalization. The suffix ;noquote means that the variable's content will be -internationalized, but not HTML-quoted, while ;no18n +internationalized, but not HTML-quoted, while ;noi18n means quote, but don't internationalize. Finally ;literal @@ -104,7 +108,7 @@ </form>

-Snippets of HTML produced by Tcl code, a.k.a. +Snippets of HTML produced by Tcl code, aka widgets .
Normally we try to fit all HTML code into the ADP template and have @@ -168,7 +172,7 @@ the slave template, and once by the master template. This is the result of how the templating system works: every occurrence of \@variable\@ is converted to -[ad_quotehtml $variable], even when it +[ns_quotehtml $variable], even when it is used only to set a property and you would expect the quoting to be suppressed.

Implementation note: Ideally, the @@ -311,5 +315,5 @@
Hrvoje Niksic
-Last modified: Thu Aug 20 18:38:05 CEST 2015 +Last modified: Fri Nov 1 14:11:00 CET 2019 \ No newline at end of file