Index: openacs-4/packages/acs-templating/resources/forms/blue.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/resources/forms/blue.adp,v diff -u -N -r1.3 -r1.4 --- openacs-4/packages/acs-templating/resources/forms/blue.adp 10 Jun 2015 12:29:17 -0000 1.3 +++ openacs-4/packages/acs-templating/resources/forms/blue.adp 16 Jun 2015 08:57:09 -0000 1.4 @@ -64,7 +64,7 @@ - + Index: openacs-4/packages/acs-templating/resources/forms/tabbed-dialog.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/resources/forms/tabbed-dialog.adp,v diff -u -N -r1.3 -r1.4 --- openacs-4/packages/acs-templating/resources/forms/tabbed-dialog.adp 10 Jun 2015 12:29:17 -0000 1.3 +++ openacs-4/packages/acs-templating/resources/forms/tabbed-dialog.adp 16 Jun 2015 08:57:09 -0000 1.4 @@ -6,7 +6,7 @@ - + + @@ -27,7 +27,7 @@ - + Index: openacs-4/packages/acs-templating/www/doc/demo/embed_escape.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/demo/embed_escape.adp,v diff -u -N -r1.1 -r1.2 --- openacs-4/packages/acs-templating/www/doc/demo/embed_escape.adp 13 Mar 2001 22:59:27 -0000 1.1 +++ openacs-4/packages/acs-templating/www/doc/demo/embed_escape.adp 16 Jun 2015 08:57:09 -0000 1.2 @@ -14,7 +14,7 @@ <% foreach creature [list giraffe lion antelope fly] { %> <% if [regexp {a} $creature] { %> - + <% } else { %> <% } %> Index: openacs-4/packages/acs-templating/www/doc/demo/grid.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/demo/grid.adp,v diff -u -N -r1.2 -r1.3 --- openacs-4/packages/acs-templating/www/doc/demo/grid.adp 16 Jun 2015 08:53:38 -0000 1.2 +++ openacs-4/packages/acs-templating/www/doc/demo/grid.adp 16 Jun 2015 08:57:09 -0000 1.3 @@ -8,7 +8,7 @@

Sample Users

-
Index: openacs-4/packages/acs-templating/resources/forms/wizard.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/resources/forms/wizard.adp,v diff -u -N -r1.12 -r1.13 --- openacs-4/packages/acs-templating/resources/forms/wizard.adp 10 Jun 2015 12:29:17 -0000 1.12 +++ openacs-4/packages/acs-templating/resources/forms/wizard.adp 16 Jun 2015 08:57:09 -0000 1.13 @@ -11,7 +11,7 @@ -
@elements.section;noquote@
@elements.section;noquote@
@elements.label;noquote@
@elements.label;noquote@
@@ -75,7 +75,7 @@ \@formerror.@elements.id@;noquote\@
-
+
+
Index: openacs-4/packages/acs-templating/www/doc/demo/group.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/demo/group.adp,v diff -u -N -r1.2 -r1.3 --- openacs-4/packages/acs-templating/www/doc/demo/group.adp 16 Jun 2015 08:53:38 -0000 1.2 +++ openacs-4/packages/acs-templating/www/doc/demo/group.adp 16 Jun 2015 08:57:10 -0000 1.3 @@ -8,12 +8,12 @@

Sample Users by State

-
+
- - +
@users.state@
+
@users.state@

The @users.last_name@ Family

    Index: openacs-4/packages/acs-templating/www/doc/demo/if.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/demo/if.adp,v diff -u -N -r1.3 -r1.4 --- openacs-4/packages/acs-templating/www/doc/demo/if.adp 16 Jun 2015 08:53:38 -0000 1.3 +++ openacs-4/packages/acs-templating/www/doc/demo/if.adp 16 Jun 2015 08:57:10 -0000 1.4 @@ -11,7 +11,7 @@ The value of bool_0_p is @bool_0_p@

    - + Index: openacs-4/packages/acs-templating/www/doc/demo/multiaccess.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/demo/multiaccess.adp,v diff -u -N -r1.1 -r1.2 --- openacs-4/packages/acs-templating/www/doc/demo/multiaccess.adp 13 Mar 2001 22:59:27 -0000 1.1 +++ openacs-4/packages/acs-templating/www/doc/demo/multiaccess.adp 16 Jun 2015 08:57:10 -0000 1.2 @@ -9,7 +9,7 @@
    Operator Test Result
    - + Index: openacs-4/packages/acs-templating/www/doc/demo/multiple.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/demo/multiple.adp,v diff -u -N -r1.1 -r1.2 --- openacs-4/packages/acs-templating/www/doc/demo/multiple.adp 13 Mar 2001 22:59:27 -0000 1.1 +++ openacs-4/packages/acs-templating/www/doc/demo/multiple.adp 16 Jun 2015 08:57:10 -0000 1.2 @@ -13,7 +13,7 @@
    First NameLast NameFull Name
    @users.first_name@@users.last_name@ @users.full_name@
    - + Index: openacs-4/packages/acs-templating/www/doc/demo/sandwich-grid.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/demo/sandwich-grid.adp,v diff -u -N -r1.2 -r1.3 --- openacs-4/packages/acs-templating/www/doc/demo/sandwich-grid.adp 16 Jun 2015 08:53:39 -0000 1.2 +++ openacs-4/packages/acs-templating/www/doc/demo/sandwich-grid.adp 16 Jun 2015 08:57:10 -0000 1.3 @@ -16,7 +16,7 @@
    First NameLast Name
    @users.first_name@@users.last_name@
    - +
    Sandwich Name   Index: openacs-4/packages/acs-templating/www/doc/demo/skin-fancy.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/demo/skin-fancy.adp,v diff -u -N -r1.2 -r1.3 --- openacs-4/packages/acs-templating/www/doc/demo/skin-fancy.adp 16 Jun 2015 08:53:39 -0000 1.2 +++ openacs-4/packages/acs-templating/www/doc/demo/skin-fancy.adp 16 Jun 2015 08:57:10 -0000 1.3 @@ -8,8 +8,8 @@

    Sample Users

    - - +
    First NameLast Name
    + Index: openacs-4/packages/acs-templating/www/doc/demo/state.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/demo/state.adp,v diff -u -N -r1.3 -r1.4 --- openacs-4/packages/acs-templating/www/doc/demo/state.adp 16 Jun 2015 08:53:39 -0000 1.3 +++ openacs-4/packages/acs-templating/www/doc/demo/state.adp 16 Jun 2015 08:57:10 -0000 1.4 @@ -17,13 +17,13 @@ -
    First NameLast Name
    @users.first_name@@users.last_name@
    +
    - + -
    @state_abbrev@
    @state_abbrev@
    +

    The @users.last_name@ Family

      Index: openacs-4/packages/acs-templating/www/doc/tagref/grid.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/tagref/grid.adp,v diff -u -N -r1.2 -r1.3 --- openacs-4/packages/acs-templating/www/doc/tagref/grid.adp 27 Oct 2014 16:40:25 -0000 1.2 +++ openacs-4/packages/acs-templating/www/doc/tagref/grid.adp 16 Jun 2015 08:57:10 -0000 1.3 @@ -60,11 +60,11 @@

      The \@datasource.row\@ variable can be used to band grid rows:

         <if \@datasource.col\@ eq 1 and \@datasource.row\@ odd>
      -    <tr bgcolor=#eeeeee>
      +    <tr bgcolor="#eeeeee">
         </if>
       
         <if \@datasource.col\@ eq 1 and \@datasource.row\@ even>
      -    <tr bgcolor=#ffffff>
      +    <tr bgcolor="#ffffff">
         </if>
       

      Note that this is different from the multiple tag, where the \@datasource.rownum\@ is used for this effect.

      Index: openacs-4/packages/acs-templating/www/doc/tagref/if.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/tagref/if.adp,v diff -u -N -r1.2 -r1.3 --- openacs-4/packages/acs-templating/www/doc/tagref/if.adp 27 Oct 2014 16:40:25 -0000 1.2 +++ openacs-4/packages/acs-templating/www/doc/tagref/if.adp 16 Jun 2015 08:57:10 -0000 1.3 @@ -99,31 +99,31 @@

      Phrases with spaces in them must be enclosed in quotes to be grouped correctly:

         <if \@datasource.variable\@ eq "blue sky">
      -    <td bgcolor=#0000ff>
      +    <td bgcolor="#0000ff">
         </if>
       
    • The elseif tag may be used following an if block to specify an alternate conditional template section.

         <if \@datasource.variable\@ eq "blue">
      -    <td bgcolor=#0000ff>
      +    <td bgcolor="#0000ff">
         </if>
         <elseif \@datasource.variable\@ eq "red">
           <td bgcolor=red>
         </elseif>
         <else>
      -    <td bgcolor=#ffffff>
      +    <td bgcolor="#ffffff">
         </else>
       
    • The else tag may be used following an if block to specify an alternate template section when a condition is not true:

         <if \@datasource.variable\@ eq "blue">
      -    <td bgcolor=#0000ff>
      +    <td bgcolor="#0000ff">
         </if>
         <else>
      -    <td bgcolor=#ffffff>
      +    <td bgcolor="#ffffff">
         </else>
       
    • Compound expressions can be created by combining terms with the Index: openacs-4/packages/acs-templating/www/doc/tagref/multiple.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/tagref/multiple.adp,v diff -u -N -r1.2 -r1.3 --- openacs-4/packages/acs-templating/www/doc/tagref/multiple.adp 27 Oct 2014 16:40:26 -0000 1.2 +++ openacs-4/packages/acs-templating/www/doc/tagref/multiple.adp 16 Jun 2015 08:57:10 -0000 1.3 @@ -45,11 +45,11 @@ <multiple> <if \@datasource.rownum\@ odd> - <tr bgcolor=#eeeeee> + <tr bgcolor="#eeeeee"> </if> <if \@datasource.rownum\@ even> - <tr bgcolor=#ffffff> + <tr bgcolor="#ffffff"> </if> ... Index: openacs-4/packages/acs-templating/www/doc/tagref/switch.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/tagref/switch.adp,v diff -u -N -r1.2 -r1.3 --- openacs-4/packages/acs-templating/www/doc/tagref/switch.adp 27 Oct 2014 16:40:26 -0000 1.2 +++ openacs-4/packages/acs-templating/www/doc/tagref/switch.adp 16 Jun 2015 08:57:10 -0000 1.3 @@ -56,7 +56,7 @@ and curly braces to be matched correctly. Failure to quote words with spaces correctly results in an error.

         <case "{blue sky}">
      -    <td bgcolor=#0000ff>
      +    <td bgcolor="#0000ff">
         </case>