Index: openacs-4/packages/acs-templating/www/doc/guide/master.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/guide/master.adp,v diff -u -r1.5 -r1.5.2.1 --- openacs-4/packages/acs-templating/www/doc/guide/master.adp 25 Apr 2018 08:42:18 -0000 1.5 +++ openacs-4/packages/acs-templating/www/doc/guide/master.adp 3 Sep 2021 09:16:21 -0000 1.5.2.1 @@ -1,5 +1,5 @@ -{/doc/acs-templating {ACS Templating}} {Templating System User Guide: Using Master Templates} +{/doc/acs-templating/ {ACS Templating}} {Templating System User Guide: Using Master Templates} Templating System User Guide: Using Master Templates

Using Master Templates

@@ -45,8 +45,7 @@

Write the Master Template

A master template to implement the page layout shown above would have this basic structure:

-
-<html><body><table width="100%" cellspacing="0" cellpadding="0" border="0">
+
<html><body><table width="100%" cellspacing="0" cellpadding="0" border="0">
 
 <tr>
   <td><!-- LOGO --></td>
@@ -94,8 +93,7 @@
 user's name on every page to indicate that the site has been
 personalized. The Tcl script associated with the master template
 would include code like this:

-
-set user_name [your_procedure_to_get_the_current_user_name]
+
set user_name [your_procedure_to_get_the_current_user_name]

The template would have a section like this:

<if \@user_name\@ nil>
   <a href="/register.acs">Register Now!</a>