Index: openacs-4/packages/acs-templating/tcl/tag-init.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/tcl/tag-init.tcl,v diff -u -r1.49.2.1 -r1.49.2.2 --- openacs-4/packages/acs-templating/tcl/tag-init.tcl 14 Jul 2019 22:59:26 -0000 1.49.2.1 +++ openacs-4/packages/acs-templating/tcl/tag-init.tcl 5 Oct 2019 13:29:58 -0000 1.49.2.2 @@ -137,7 +137,7 @@ # In order to avoid potential problems with substitution # patterns containing ampersand or backslashes, we use here a # scripted, purely string based substitution (which applies only - # at "compilation time", therefore performance is less critical. + # at "compilation time", therefore, performance is less critical. # # We have still to protect the case, that the passed-in $src # contains "__COMMAND__" which has to be protected. The Index: openacs-4/packages/acs-templating/www/doc/migration.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/migration.adp,v diff -u -r1.5 -r1.5.2.1 --- openacs-4/packages/acs-templating/www/doc/migration.adp 25 Apr 2018 08:42:17 -0000 1.5 +++ openacs-4/packages/acs-templating/www/doc/migration.adp 5 Oct 2019 13:29:58 -0000 1.5.2.1 @@ -40,7 +40,7 @@ ns_puts, ns_write etc., which don't wait till the headers are written or the page is completed; they may act differently than you expect.
  • If you can, put code in the Tcl file, not between <% -%> in the adp page.
  • Put HTML in the adp page, not int the Tcl program. Put reusable +%> in the adp page.
  • Put HTML in the adp page, not in the Tcl program. Put reusable HTML fragments in a separate adp file (think of it as a widget) that will be <include>d from several pages. Prefer this to writing a Tcl proc that returns HTML.
  • Remember to remove backslashes where you had to escape special Index: openacs-4/packages/acs-templating/www/doc/migration.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/migration.html,v diff -u -r1.4 -r1.4.2.1 --- openacs-4/packages/acs-templating/www/doc/migration.html 7 Aug 2017 23:48:02 -0000 1.4 +++ openacs-4/packages/acs-templating/www/doc/migration.html 5 Oct 2019 13:29:58 -0000 1.4.2.1 @@ -57,7 +57,7 @@ If you can, put code in the Tcl file, not between <% %> in the adp page.
  • - Put HTML in the adp page, not int the Tcl program. Put + Put HTML in the adp page, not in the Tcl program. Put reusable HTML fragments in a separate adp file (think of it as a widget) that will be <include>d from several pages. Prefer this to writing a Tcl proc that returns 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.6.2.1 --- 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 5 Oct 2019 13:29:58 -0000 1.6.2.1 @@ -16,7 +16,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.

    Index: openacs-4/packages/acs-templating/www/doc/no-quote-upgrade.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/no-quote-upgrade.html,v diff -u -r1.4 -r1.4.2.1 --- openacs-4/packages/acs-templating/www/doc/no-quote-upgrade.html 2 Aug 2018 06:59:37 -0000 1.4 +++ openacs-4/packages/acs-templating/www/doc/no-quote-upgrade.html 5 Oct 2019 13:29:58 -0000 1.4.2.1 @@ -20,7 +20,7 @@

    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. Index: openacs-4/packages/acs-templating/www/doc/noquote.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/noquote.adp,v diff -u -r1.5 -r1.5.2.1 --- openacs-4/packages/acs-templating/www/doc/noquote.adp 25 Apr 2018 08:42:17 -0000 1.5 +++ openacs-4/packages/acs-templating/www/doc/noquote.adp 5 Oct 2019 13:29:58 -0000 1.5.2.1 @@ -18,7 +18,7 @@ The Templating System.

    Templating systems, as deployed by most web software, serve to distinguish the programming logic of the system from the presentation that is output to the user.

    Before introduction of a templating systems to ACS, pages were -built by outputting HTML text directly from Tcl code. Therefore it +built by outputting HTML text directly from Tcl code. Therefore, it was hard for a designer or a later reviewer to change the appearance of the page. "Change the color of the table? How do I do that when I cannot even find the body tag?" At this point Index: openacs-4/packages/acs-templating/www/doc/noquote.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/noquote.html,v diff -u -r1.2 -r1.2.2.1 --- openacs-4/packages/acs-templating/www/doc/noquote.html 7 Aug 2017 23:48:02 -0000 1.2 +++ openacs-4/packages/acs-templating/www/doc/noquote.html 5 Oct 2019 13:29:58 -0000 1.2.2.1 @@ -6,7 +6,7 @@

    Before introduction of a templating systems to ACS, pages were built by outputting HTML text directly from Tcl code. - Therefore it was hard for a designer or a later reviewer to + Therefore, it was hard for a designer or a later reviewer to change the appearance of the page. "Change the color of the table? How do I do that when I cannot even find the body tag?" At this point some suggest to embed Tcl code in the document Index: openacs-4/packages/acs-templating/www/doc/guide/composite.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/guide/composite.adp,v diff -u -r1.5 -r1.5.2.1 --- openacs-4/packages/acs-templating/www/doc/guide/composite.adp 25 Apr 2018 08:42:18 -0000 1.5 +++ openacs-4/packages/acs-templating/www/doc/guide/composite.adp 5 Oct 2019 13:29:58 -0000 1.5.2.1 @@ -137,7 +137,7 @@ through ad_return_template). All scripts and the template are executed in the same scope, i.e., they share variables.

    -

    Furthermore either of the final files can be omitted if it is +

    Furthermore, either of the final files can be omitted if it is not needed, giving three basic possibilities.

    Index: openacs-4/packages/acs-templating/www/doc/guide/composite.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/guide/composite.html,v diff -u -r1.5 -r1.5.2.1 --- openacs-4/packages/acs-templating/www/doc/guide/composite.html 27 Mar 2018 11:18:00 -0000 1.5 +++ openacs-4/packages/acs-templating/www/doc/guide/composite.html 5 Oct 2019 13:29:58 -0000 1.5.2.1 @@ -274,7 +274,7 @@ variables.

    - Furthermore either of the final files + Furthermore, either of the final files can be omitted if it is not needed, giving three basic possibilities.

    Index: openacs-4/packages/acs-templating/www/resources/htmlarea/index.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/index.html,v diff -u -r1.5 -r1.5.2.1 --- openacs-4/packages/acs-templating/www/resources/htmlarea/index.html 29 Dec 2017 10:04:13 -0000 1.5 +++ openacs-4/packages/acs-templating/www/resources/htmlarea/index.html 5 Oct 2019 13:29:58 -0000 1.5.2.1 @@ -32,7 +32,7 @@ HTMLArea is a free, customizable online editor. It works inside your browser. It uses a non-standard feature implemented in Internet Explorer 5.5 or better for Windows and Mozilla 1.3 or better (any - platform), therefore it will only work in one of these browsers. + platform), therefore, it will only work in one of these browsers.

    Index: openacs-4/packages/acs-templating/www/resources/htmlarea/examples/spell-checker.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/htmlarea/examples/spell-checker.html,v diff -u -r1.2.2.1 -r1.2.2.2 --- openacs-4/packages/acs-templating/www/resources/htmlarea/examples/spell-checker.html 15 Aug 2019 10:13:07 -0000 1.2.2.1 +++ openacs-4/packages/acs-templating/www/resources/htmlarea/examples/spell-checker.html 5 Oct 2019 13:29:58 -0000 1.2.2.2 @@ -76,7 +76,7 @@

    This file deminstrates the SpellChecker plugin of HTMLArea. To inwoke the spell checkert you need to press the - spell-check buton in the toolbar.

    + spell-check button in the toolbar.

    The spell-checker uses a serverside script written in Perl. The Perl script calls aspell for any