Index: openacs-4/packages/acs-templating/www/doc/exercise/ats-for-designers.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/exercise/ats-for-designers.adp,v
diff -u -r1.7.2.2 -r1.7.2.3
--- openacs-4/packages/acs-templating/www/doc/exercise/ats-for-designers.adp 5 Jan 2021 17:10:17 -0000 1.7.2.2
+++ openacs-4/packages/acs-templating/www/doc/exercise/ats-for-designers.adp 3 Sep 2021 09:16:19 -0000 1.7.2.3
@@ -1,5 +1,5 @@
-{/doc/acs-templating {ACS Templating}} {The ACS Templating System for Web Designers}
+{/doc/acs-templating/ {ACS Templating}} {The ACS Templating System for Web Designers}
The ACS Templating System for Web Designers
The ACS Templating System for Web Designers
@@ -123,17 +123,17 @@
<else> tags allow you to alter the format of your page to
accommodate data changes. The function of <if> is
straightforward enough: given a condition -- such as \@x\@ equals 5
--- all the text/html/dynamic data between the opening and
-closing <if> tags will be displayed if and only if \@x\@ does
-in fact equal 5. A complete listing of currently supported
-conditions and some brief explanatory notes can be found here. Also, a few more things to keep in
+-- all the text/html/dynamic data between the opening and closing
+<if> tags will be displayed if and only if \@x\@ does in fact
+equal 5. A complete listing of currently supported conditions and
+some brief explanatory notes can be found here. Also, a few more things to keep in
mind:
- in Tcl all variables, even numbers, are stored as text strings
with quantitative values, so conditions like less than, greater
than, and (not) between can also be used with text to determine
alphabetical order: a < b < ... <
-z, lowercase letters are greater than uppercase, and
+z, lower-case letters are greater than upper-case, and
numbers less than letters. Example: "you" are greater
than "me", and "I" am less than
"you"
- the "between" conditions checks inclusively, so
@@ -176,11 +176,11 @@
- the <slave> tag indicates where on the master page the
slave section is inserted
- slave pages indicate the source of the master file with the
-<master> tag, referring by the filename only, and not
+<master> tag, referring by the file name only, and not
including its ".adp" extension
- as mentioned earlier, slave sections do not require
<html>, <head>, and <body> tags when contained
within a master tag already formatted for HTML
- as the demonstration points out, pages are browsed at the .acs
-page sharing the same filename as the slave, not master
- the master page can be viewed at its own .acs page, but shows
+page sharing the same file name as the slave, not master
- the master page can be viewed at its own .acs page, but shows
nothing in place of the <slave> tag
- you can have nested slave sections, that is, a slave section
within another slave
- you cannot have two different slave sections
within the same master (go ahead and try adding an extra
@@ -198,8 +198,9 @@
Now that the secrets of <master> and <slave> have
been revealed, it's time to put a little of your newfound
knowledge to use. Open up form-sample.adp
, a standalone,
-independently formatted html page, and enslave it to the mastery of your personal web page. It would also be nice if you were to
-label the newly inserted form with some slave-specific title.
+independently formatted html page, and enslave it to the mastery of
+your personal web page. It would also be nice if you were to label
+the newly inserted form with some slave-specific title.
Exercise Four: The functions of
<formtemplate>
@@ -290,4 +291,4 @@
shuynh\@arsdigita.com
-Last modified: Fri Nov 17 10:14:44 EST 2000
+Last modified: Fri Nov 17 10:14:44 EST 2000
\ No newline at end of file