Index: default/README
===================================================================
RCS file: /cvs/gossamer/lsqldev/cgi/admin/templates/default/README,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- default/README      3 Nov 2000 22:40:37 -0000       1.1
+++ default/README      11 Dec 2001 00:09:54 -0000      1.2
@@ -1,2 +1,5 @@
-This template set is the one that is used when building HTML pages, or displaying pages dynamically.
+WARNING: Do NOT edit any files in this directory!
+
+This directory contains your system templates. If you wish to customize a template,
+use the built in editor, or save your changes in the local directory!

Index: default/add.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/cgi/admin/templates/default/add.html,v
retrieving revision 1.6
retrieving revision 1.15
diff -u -b -r1.6 -r1.15
--- default/add.html    18 May 2001 23:47:02 -0000      1.6
+++ default/add.html    9 Jan 2002 23:21:41 -0000       1.15
@@ -1,4 +1,15 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<%-- 
+    File        : add.html 
+    Description : This file displays an add link form to the user. By default, the actual
+                  form is in form.txt template as it is shared between the add and
+                  modify forms.
+    Tags        : This template has all the properties of a link available, plus:
+                    Category => Either a select list, or a hidden tag. If you set db_gen_category_list
+                                to Yes in the admin, then you will see a select list here. If it's
+                                set to No, then it will just be a hidden tag.
+                    error => If there was a problem adding a link, this tag will contain an error
+                             message.
+--%>
 <html>

 <head>
@@ -8,27 +19,30 @@

 <%body_tag%>
 <center>
-<%include header.txt%>
+<%include include_header.html%>
 <%body_table%>
   <tr><td colspan=2 align=center valign=top height=25>
-  <%include menu.txt%><Br><%include search_bar.htm%>
+  <%include include_menu.html%><Br><%include include_search_bar.html%>
   </td></tr>

   <tr><td width=6 bgcolor=black>
-  <img src="<%url_images%>BlackShim.gif" width=6 height=100></td>
+  <img src="<%build_images_url%>/default/BlackShim.gif" width=6 height=100></td>
       <td valign=top>
          <table border=0 width="<%body_width%>" cellpadding=3 cellspacing=0>
                   <%header_row%><td width="30%">
            <%header_font%>ADD A LINK<%/header_font%></td>
-                  <td width="70%" bgcolor=white><img src="<%url_images%>ClearShim.gif" width="300" height=3>
+     <td width="70%" bgcolor=white><img src="<%build_images_url%>/default/ClearShim.gif" width="300" height=3>
                   </td></tr>

                <tr><td colspan=2>&nbsp;</td></tr>

                <tr><td colspan=2><%body_font%>Please completely fill out the form below, and we'll add your link as soon as possible.
-    <form action="<%db_cgi_url%>/add.cgi" method="POST">
+    <%if error%>
+        <p><%error_font%><b><%error%></b></font></p>
+    <%endif%>
+    <form action="<%db_cgi_url%>/add.cgi" enctype="multipart/form-data" method="POST">
             <table border="0" cellspacing="0" cellpadding="0">
-                               <%include form.txt%>                                            
+    <%include include_form.html%>                                            
                 <tr><td>&nbsp;</td><td><%body_font%>
                                <input type="SUBMIT" name="add" value="Add Link"></font></td></tr>
             </table>
@@ -38,10 +52,10 @@
                </table></td></tr>

 <tr><td colspan=2>
-<img src="<%url_images%>BlackShim.gif" border=0 height=1 width="<%body_width%>" align=top>
-<%include menu.txt%></td></tr>
+<img src="<%build_images_url%>/default/BlackShim.gif" border=0 height=1 width="<%body_width%>" align=top>
+<%include include_menu.html%></td></tr>
 </table>
-<%include footer.txt%>
+<%include include_footer.html%>
 </center>
 </body>
 </html>
Index: default/add_success.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/cgi/admin/templates/default/add_success.html,v
retrieving revision 1.6
retrieving revision 1.12
diff -u -b -r1.6 -r1.12
--- default/add_success.html    18 May 2001 23:47:02 -0000      1.6
+++ default/add_success.html    9 Jan 2002 23:21:41 -0000       1.12
@@ -1,4 +1,8 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<%-- 
+    File        : add_success.html
+    Description : This file is displayed after a user successfully submits a link.
+    Tags        : You have all the properties of a link available.
+--%>
 <html>

 <head>
@@ -8,16 +12,16 @@

 <%body_tag%>
 <center>
-<%include header.txt%>
+<%include include_header.html%>
 <%body_table%>
 <tr><td align=center>
-<%include menu.txt%><br><%include search_bar.htm%>
+<%include include_menu.html%><br><%include include_search_bar.html%>
   </td></tr>
   <tr><td align=center>

     <table border=0 width="100%" cellpadding=0 cellspacing=0>
        <tr><td bgcolor=black width=6 rowspan=2>
-           <img src="<%url_images%>ClearShim.gif" width=6 height="200"></td>
+        <img src="<%build_images_url%>/default/ClearShim.gif" width=6 height="200"></td>
            <td>

            <table border=0 width="100%" cellpadding=3 cellspacing=0>
@@ -27,7 +31,7 @@
                        <tr><td colspan=2 align=center>
                        <table border=0 cellpadding=3 cellspacing=0>
                          <tr><td colspan=2 valign=middle>
-                         <img src="<%url_images%>ClearShim.gif" width="100%" height="20"><br>
+              <img src="<%build_images_url%>/default/ClearShim.gif" width="100%" height="20"><br>
               <%body_font%>We have received the following link:</font></td></tr>
                          <tr><td><%body_font%>Title:</td><td><b><%Title%></b></font></td></tr>
                          <tr><td><%body_font%>URL:</td><td><b><%URL%></b></font></td></tr>
@@ -43,11 +47,11 @@
         </td></tr></table>

   <tr><td>
-  <img src="<%url_images%>BlackShim.gif" border=0 height=1 width="<%body_width%>" align=top>
-<%include menu.txt%>
+  <img src="<%build_images_url%>/default/BlackShim.gif" border=0 height=1 width="<%body_width%>" align=top>
+<%include include_menu.html%>
 </td></tr>
 </table>
-<%include footer.txt%>
+<%include include_footer.html%>
 </center>
 </body>
 </html>
Index: default/browser.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/cgi/admin/templates/default/browser.html,v
retrieving revision 1.11
retrieving revision 1.18
diff -u -b -r1.11 -r1.18
--- default/browser.html        26 Jan 2001 02:06:52 -0000      1.11
+++ default/browser.html        9 Jan 2002 23:21:41 -0000       1.18
@@ -1,3 +1,9 @@
+<%-- 
+       File        : browser.html
+       Description : All browser_* templates control the editor section. You 
+                     do not normally need to modify this, and should be careful
+                                 as there is lots of Javascript involved.
+--%>
 <html>
        <head>

@@ -158,7 +164,7 @@


 /**
- * Sets wether the node is expanded or not.
+ * Sets whether the node is expanded or not.
  */
 function UnloadedNode_setExpanded (expanded)
 {
@@ -181,7 +187,7 @@


 /**
- * Sets wether the node is selected or not.
+ * Sets whether the node is selected or not.
  */
 function UnloadedNode_setSelected (selected)
 {
@@ -477,7 +483,7 @@


 /**
- * Sets wether the node is expanded or not.
+ * Sets whether the node is expanded or not.
  */
 function LoadedNode_setExpanded (expanded)
 {
@@ -498,7 +504,7 @@


 /**
- * Sets wether the node is selected or not.
+ * Sets whether the node is selected or not.
  */
 function LoadedNode_setSelected (selected)
 {
@@ -756,7 +762,7 @@

 /**
  * This function takes as input a node id
- * and a boolean and sets the node maching
+ * and a boolean and sets the node machine 
  * the given node id 'expanded' property.
  */
 function Tree_setExpandedNodeId (aNodeId, expanded)
@@ -1177,11 +1183,9 @@
     frames[LEFT_FRAME_ID].location = "about:blank";
     frames[RIGHT_FRAME_ID].location = "about:blank";
     frames[CODE_FRAME_ID].location = "about:blank";
-
-    frames[LEFT_FRAME_ID].location = "<%Links::Browser::JFunction::tree_panel_url%>";
-    frames[RIGHT_FRAME_ID].location = "<%Links::Browser::JFunction::info_panel_url%>";
-    frames[CODE_FRAME_ID].location = "<%Links::Browser::JFunction::code_panel_url%>";
-
+       setTimeout('frames[LEFT_FRAME_ID].location = "<%Links::Browser::JFunction::tree_panel_url%>&anticache=" + anticache();', 100);
+    setTimeout('frames[RIGHT_FRAME_ID].location = "<%Links::Browser::JFunction::info_panel_url%>&anticache=" + anticache();', 100);
+    setTimeout('frames[CODE_FRAME_ID].location = "<%Links::Browser::JFunction::code_panel_url%>&anticache=" + anticache();', 100);
        ready = true;
 }

Index: default/browser_category_add_form.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/cgi/admin/templates/default/browser_category_add_form.html,v
retrieving revision 1.3
retrieving revision 1.7
diff -u -b -r1.3 -r1.7
--- default/browser_category_add_form.html      21 Dec 2000 23:23:44 -0000      1.3
+++ default/browser_category_add_form.html      4 Sep 2001 19:53:48 -0000       1.7
@@ -28,7 +28,7 @@

 <p>

-<form action="browser.cgi" method="POST" onSubmit="parent.CAN_UPDATE=1;">
+<form <%enctype%>action="<%db_cgi_url%>/browser.cgi" method="POST" onSubmit="parent.CAN_UPDATE=1;">
 <input type="hidden" name="action" value="category_add">
         <%form%>

Index: default/browser_category_del.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/cgi/admin/templates/default/browser_category_del.html,v
retrieving revision 1.3
retrieving revision 1.6
diff -u -b -r1.3 -r1.6
--- default/browser_category_del.html   21 Dec 2000 23:23:44 -0000      1.3
+++ default/browser_category_del.html   4 Aug 2001 21:56:14 -0000       1.6
@@ -3,7 +3,21 @@
 <script language="Javascript">
 <!-- //
 if (parent.CAN_UPDATE) {
-       parent.tree.delNode (parent.tree.lookup (<%child_id%>));
+       var old_id   = <%child_id%>;
+       var old_node = parent.tree.lookup (old_id);
+       var fatherid = old_node.getFatherId();
+       var number_of_links = old_node.getNumberOfLinks();
+       parent.tree.delNode (old_node);
+
+       while (true)
+       {
+               if (old_node.getNumberOfLinks() != null) old_node.setNumberOfLinks (old_node.getNumberOfLinks() - number_of_links);
+               if (fatherid == old_id) break;
+
+               old_id   = fatherid;
+               old_node = parent.tree.lookup (old_id);
+               fatherid = old_node.getFatherId();
+       }
        parent.frames[parent.LEFT_FRAME_ID].document.open();
        parent.frames[parent.LEFT_FRAME_ID].document.writeln (parent.tree.toHtml());
        parent.frames[parent.LEFT_FRAME_ID].document.close();
Index: default/browser_category_del_form.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/cgi/admin/templates/default/browser_category_del_form.html,v
retrieving revision 1.3
retrieving revision 1.6
diff -u -b -r1.3 -r1.6
--- default/browser_category_del_form.html      21 Dec 2000 23:23:44 -0000      1.3
+++ default/browser_category_del_form.html      4 Sep 2001 19:53:48 -0000       1.6
@@ -25,7 +25,7 @@
   <p><font face="Tahoma,Arial,Helvetica" size="2">Are you sure that you want to delete <%Name%> ? </font>
   <p><font face="Tahoma,Arial,Helvetica" size="2">
                &nbsp; &nbsp;
-               <a href="browser.cgi?action=category_del&category_id=<%category_id%>" onClick="parent.CAN_UPDATE = 1;">Yes</a> &nbsp; &nbsp; <a href="#" onClick="history.go(-1); return false">No</a>
+               <a href="<%db_cgi_url%>/browser.cgi?action=category_del&category_id=<%category_id%>" onClick="parent.CAN_UPDATE = 1;">Yes</a> &nbsp; &nbsp; <a href="#" onClick="history.go(-1); return false">No</a>
          </font>
 </body>
 </html>
Index: default/browser_category_editors_form.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/cgi/admin/templates/default/browser_category_editors_form.html,v
retrieving revision 1.5
retrieving revision 1.10
diff -u -b -r1.5 -r1.10
--- default/browser_category_editors_form.html  18 May 2001 23:47:02 -0000      1.5
+++ default/browser_category_editors_form.html  4 Sep 2001 19:53:48 -0000       1.10
@@ -25,7 +25,7 @@
        </td></tr>
 </table>

-<form action="browser.cgi" method="POST">
+<form <%enctype%>action="<%db_cgi_url%>/browser.cgi" method="POST">^M
        <input type="hidden" name="action" value="category_editors_form">
        <input type="hidden" name="category_id" value="<%id%>">

Index: default/browser_category_editors_row.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/cgi/admin/templates/default/browser_category_editors_row.html,v
retrieving revision 1.2
retrieving revision 1.5
diff -u -b -r1.2 -r1.5
Index: default/browser_category_modify_form.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/cgi/admin/templates/default/browser_category_modify_form.html,v
retrieving revision 1.3
retrieving revision 1.7
diff -u -b -r1.3 -r1.7
--- default/browser_category_modify_form.html   21 Dec 2000 23:23:44 -0000      1.3
+++ default/browser_category_modify_form.html   4 Sep 2001 19:53:48 -0000       1.7
@@ -23,7 +23,7 @@
 </table>

 <p>
-<form action="browser.cgi" onSubmit="parent.CAN_UPDATE = 1;" method="POST">
+<form <%enctype%>action="<%db_cgi_url%>/browser.cgi" onSubmit="parent.CAN_UPDATE = 1;" method="POST">
 <input type="hidden" name="action" value="category_modify">
        <%form%>

Index: default/browser_category_related_form.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/cgi/admin/templates/default/browser_category_related_form.html,v
retrieving revision 1.4
retrieving revision 1.8
diff -u -b -r1.4 -r1.8
--- default/browser_category_related_form.html  19 Jan 2001 02:52:12 -0000      1.4
+++ default/browser_category_related_form.html  4 Sep 2001 19:53:48 -0000       1.8
@@ -31,7 +31,7 @@
        </td></tr>
 </table>

-<form action="browser.cgi" method="POST" name="related_form">
+<form <%enctype%>action="<%db_cgi_url%>/browser.cgi" method="POST" name="related_form">
 <%if related%>

        <input type="hidden" name="action" value="category_related_form">
@@ -44,7 +44,7 @@
 for the default), and then click on the category you want to <%Name%> to be related to.
 <p><font face="Tahoma,Arial,Helvetica" size="2">Relation Name: <input type="text" size="20" name="related_name">

-<p><font face="Tahoma,Arial,Helvetica" size="2"><a href="browser.cgi?action=category_click&category_id=<%id%>">Click here when finished</a>.
+<p><font face="Tahoma,Arial,Helvetica" size="2"><a href="<%db_cgi_url%>/browser.cgi?action=category_click&category_id=<%id%>">Click here when finished</a>.
 </form>

 </body>
Index: default/browser_link_add_form.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/cgi/admin/templates/default/browser_link_add_form.html,v
retrieving revision 1.3
retrieving revision 1.7
diff -u -b -r1.3 -r1.7
--- default/browser_link_add_form.html  21 Dec 2000 23:23:44 -0000      1.3
+++ default/browser_link_add_form.html  4 Sep 2001 19:53:48 -0000       1.7
@@ -23,7 +23,7 @@
 </table>

 <p>
-<form action="browser.cgi" method="POST" onSubmit="parent.CAN_UPDATE = 1;">
+<form <%enctype%>action="<%db_cgi_url%>/browser.cgi" method="POST" onSubmit="parent.CAN_UPDATE = 1;">
        <input type="hidden" name="action" value="link_add">
        <%form%>

Index: default/browser_link_del_form.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/cgi/admin/templates/default/browser_link_del_form.html,v
retrieving revision 1.3
retrieving revision 1.6
diff -u -b -r1.3 -r1.6
--- default/browser_link_del_form.html  21 Dec 2000 23:23:44 -0000      1.3
+++ default/browser_link_del_form.html  4 Sep 2001 19:53:48 -0000       1.6
@@ -24,7 +24,7 @@

   <p><font face="Tahoma,Arial,Helvetica" size="2">Are you sure that you want to delete <%link%>?
   <p><font face="Tahoma,Arial,Helvetica" size="2">
-               &nbsp;&nbsp;<a href="browser.cgi?action=link_del&link_id=<%link_id%>&category_id=<%category_id%>" onClick="parent.CAN_UPDATE = 1;">Yes</a>
+               &nbsp;&nbsp;<a href="<%db_cgi_url%>/browser.cgi?action=link_del&link_id=<%link_id%>&category_id=<%category_id%>" onClick="parent.CAN_UPDATE = 1;">Yes</a>
                &nbsp;&nbsp;<a href="#" onClick="history.go(-1); return false">No</a></font>
   </p>
  </body>
Index: default/browser_link_list.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/cgi/admin/templates/default/browser_link_list.html,v
retrieving revision 1.5
retrieving revision 1.8
diff -u -b -r1.5 -r1.8
--- default/browser_link_list.html      21 Dec 2000 23:23:45 -0000      1.5
+++ default/browser_link_list.html      4 Sep 2001 19:53:48 -0000       1.8
@@ -3,14 +3,14 @@
        <td><font face="Tahoma,Arial,Helvetica" size="1">

 <%if isValidated eq 'No'%>
-            <%if CanValLink eq 'Yes'%><a href="browser.cgi?action=link_validate_form&category_id=<%category_id%>&link_id=<%ID%>">Validate</a> | <%endif%>
+            <%if CanValLink eq 'Yes'%><a href="<%db_cgi_url%>/browser.cgi?action=link_validate_form&category_id=<%category_id%>&link_id=<%ID%>">Validate</a> | <%endif%>
 <%endif%>
 <%if hasChangeRequest%>
-            <%if CanValLink eq 'Yes'%><a href="browser.cgi?action=link_validate_form&category_id=<%category_id%>&link_id=<%ID%>&update=1">Update</a> | <%endif%>
+            <%if CanValLink eq 'Yes'%><a href="<%db_cgi_url%>/browser.cgi?action=link_validate_form&category_id=<%category_id%>&link_id=<%ID%>&update=1">Update</a> | <%endif%>
 <%endif%>
-                <%if CanModLink eq 'Yes'%><a href="browser.cgi?action=link_modify_form&category_id=<%category_id%>&link_id=<%ID%>">Edit</a> | <%endif%>
-                <%if CanDelLink eq 'Yes'%><a href="browser.cgi?action=link_del_form&category_id=<%category_id%>&link_id=<%ID%>">Delete</a> | <%endif%>
-                <%if CanMoveLink eq 'Yes'%><a href="browser.cgi?action=link_move_form&category_id=<%category_id%>&link_id=<%ID%>">Move</a> | <%endif%>
-                <%if CanCopyLink eq 'Yes'%><a href="browser.cgi?action=link_copy_form&category_id=<%category_id%>&link_id=<%ID%>">Copy</a> | <%endif%>
-                <a href="browser.cgi?action=link_user_list&category_id=<%category_id%>&user=<%linkowner_esc%>">Owner</a> |
+                <%if CanModLink eq 'Yes'%><a href="<%db_cgi_url%>/browser.cgi?action=link_modify_form&category_id=<%category_id%>&link_id=<%ID%>">Edit</a> | <%endif%>
+                <%if CanDelLink eq 'Yes'%><a href="<%db_cgi_url%>/browser.cgi?action=link_del_form&category_id=<%category_id%>&link_id=<%ID%>">Delete</a> | <%endif%>
+                <%if CanMoveLink eq 'Yes'%><a href="<%db_cgi_url%>/browser.cgi?action=link_move_form&category_id=<%category_id%>&link_id=<%ID%>">Move</a> | <%endif%>
+                <%if CanCopyLink eq 'Yes'%><a href="<%db_cgi_url%>/browser.cgi?action=link_copy_form&category_id=<%category_id%>&link_id=<%ID%>">Copy</a> | <%endif%>
+                <a href="<%db_cgi_url%>/browser.cgi?action=link_user_list&category_id=<%category_id%>&user=<%linkowner_esc%>">Owner</a> |
 </td></tr>
Index: default/browser_link_modify_form.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/cgi/admin/templates/default/browser_link_modify_form.html,v
retrieving revision 1.3
retrieving revision 1.8
diff -u -b -r1.3 -r1.8
--- default/browser_link_modify_form.html       21 Dec 2000 23:23:45 -0000      1.3
+++ default/browser_link_modify_form.html       6 Nov 2001 06:16:45 -0000       1.8
@@ -23,13 +23,23 @@
 </table>

 <p>
-<form action="browser.cgi" method="POST">
+<form <%enctype%>action="<%db_cgi_url%>/browser.cgi" method="POST">
        <input type="hidden" name="action" value="link_modify">
        <input type="hidden" name="category_id" value="<%category_id%>">

        <%form%>

        <br>
+<%if alt_cat%>
+       <table border=1 cellpadding=0 cellspacing=0><tr><td align=center>
+               <table border=0 width=500><tr><td align=center><center><font face="Tahoma,Arial,Helvetica" size="2">
+                       This link is also in the following categories: <br><br>
+                       <%alt_cat%>             
+               </font></center></td></tr></table>
+       </td></tr></table>
+       <br>
+<%endif%>
+
        <table border=1 cellpadding=0 cellspacing=0><tr><td align=center>
                <table border=0 width=500><tr><td align=center><center><font face="Tahoma,Arial,Helvetica" size="2"><input type=submit value="Modify Link"></font></center></td></tr></table>
        </td></tr></table>
Index: default/browser_link_validate_form.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/cgi/admin/templates/default/browser_link_validate_form.html,v
retrieving revision 1.4
retrieving revision 1.8
diff -u -b -r1.4 -r1.8
--- default/browser_link_validate_form.html     30 Dec 2000 02:08:02 -0000      1.4
+++ default/browser_link_validate_form.html     4 Sep 2001 19:53:48 -0000       1.8
@@ -23,7 +23,7 @@
 </table>

 <p>
-<form action="browser.cgi" method="POST" onSubmit="parent.CAN_UPDATE = 1;">
+<form <%enctype%>action="<%db_cgi_url%>/browser.cgi" method="POST" onSubmit="parent.CAN_UPDATE = 1;">
        <input type="hidden" name="action" value="link_validate">
        <input type="hidden" name="category_id" value="<%category_id%>">

@@ -55,7 +55,7 @@
 <%if update%>
                <table border=0 cellpadding=3 cellspacing=2>
                        <tr><td valign=top rowspan=2><font face="Tahoma,Arial,Helvetica" size="2"><input type="radio" name="validate" value="modify">
-                                                               Modify<br><font size=1><a href="browser.cgi?action=link_modify_form&category_id=<%category_id%>&link_id=<%ID%>" target="validate">original</a></font>
+                                                               Modify<br><font size=1><a href="<%db_cgi_url%>/browser.cgi?action=link_modify_form&category_id=<%category_id%>&link_id=<%ID%>" target="validate">original</a></font>
                                        </font>
                                </td>
                                <td valign=top><font face="Tahoma,Arial,Helvetica" size="2"><input type="radio" name="validate" value="delete_change">
Index: default/browser_navbar.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/cgi/admin/templates/default/browser_navbar.html,v
retrieving revision 1.5
retrieving revision 1.9
diff -u -b -r1.5 -r1.9
--- default/browser_navbar.html 18 May 2001 23:47:02 -0000      1.5
+++ default/browser_navbar.html 4 Sep 2001 19:53:48 -0000       1.9
@@ -1,11 +1,12 @@
-<a href="browser.cgi?category_id=<%category_id%>&action=category_click">Browse</a> |
-<%if CanAddCat eq 'Yes'%><a href="browser.cgi?category_id=<%category_id%>&action=category_add_form">Add Sub Category</a> |<%endif%>
+<a href="<%db_cgi_url%>/browser.cgi?category_id=<%category_id%>&action=category_click">Browse</a> |^M
+<%if CanAddCat eq 'Yes'%><a href="<%db_cgi_url%>/browser.cgi?category_id=<%category_id%>&action=category_add_form">Add Cat</a> |<%endif%>^M

 <%if category_id%>
-       <%if CanAddLink eq 'Yes'%><a href="browser.cgi?category_id=<%category_id%>&action=link_add_form">Add Link</a> | <%endif%>
-       <%if CanModCat eq 'Yes'%><a href="browser.cgi?category_id=<%category_id%>&action=category_modify_form">Edit</a> | <%endif%>
-       <%if CanDelCat eq 'Yes'%><a href="browser.cgi?category_id=<%category_id%>&action=category_del_form">Delete</a> | <%endif%>
-       <%if CanMoveCat eq 'Yes'%><a href="browser.cgi?category_id=<%category_id%>&action=category_move_form">Move</a> | <%endif%>
-       <%if CanAddEdit eq 'Yes'%><a href="browser.cgi?category_id=<%category_id%>&action=category_editors_form">Editors</a> | <%endif%>
-       <%if CanAddRel eq 'Yes'%><a href="browser.cgi?category_id=<%category_id%>&action=category_related_form">Related</a> | <%endif%>
+       <%if CanAddLink eq 'Yes'%><a href="<%db_cgi_url%>/browser.cgi?category_id=<%category_id%>&action=link_add_form">Add Link</a> | <%endif%>^M
+       <%if CanModCat eq 'Yes'%><a href="<%db_cgi_url%>/browser.cgi?category_id=<%category_id%>&action=category_modify_form">Edit</a> | <%endif%>^M
+       <%if CanDelCat eq 'Yes'%><a href="<%db_cgi_url%>/browser.cgi?category_id=<%category_id%>&action=category_del_form">Delete</a> | <%endif%>^M
+       <%if CanMoveCat eq 'Yes'%><a href="<%db_cgi_url%>/browser.cgi?category_id=<%category_id%>&action=category_move_form">Move</a> | <%endif%>^M
+       <%if CanAddEdit eq 'Yes'%><a href="<%db_cgi_url%>/browser.cgi?category_id=<%category_id%>&action=category_editors_form">Editors</a> | <%endif%>^M
+       <%if CanAddRel eq 'Yes'%><a href="<%db_cgi_url%>/browser.cgi?category_id=<%category_id%>&action=category_related_form">Related</a> | <%endif%>^M
 <%endif%>
+<%if CanValLink eq 'Yes'%><a href="<%db_cgi_url%>/browser.cgi?category_id=<%category_id%>&action=link_validate_list">Validate</a> | <%endif%>^M
Index: default/category.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/cgi/admin/templates/default/category.html,v
retrieving revision 1.6
retrieving revision 1.15
diff -u -b -r1.6 -r1.15
--- default/category.html       18 May 2001 23:47:02 -0000      1.6
+++ default/category.html       30 Dec 2001 19:54:55 -0000      1.15
@@ -1,4 +1,30 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<%-- 
+    File        : category.html 
+    Description : This file displays a single category page.
+    Tags        : On this page, you have all the properties of the category
+                  you are viewing, plus:
+
+                    links          => A list of all links in this category.
+                    links_loop     => A loop of all the links in this category.
+                    category       => A list of all the subcategories.
+                    category_loop  => A loop of all the subcategories.
+                    related        => A list of all the related categories (only when build_category_yahoo is
+                                      set to No)
+                    related_loop   => A loop of the related categories.
+                    header         => A custom header for this category.
+                    footer         => A custom footer for this category.                    
+                    random         => Random numbers useful for banners ads. Also random1, random2, random3
+                                      are available.
+                    title_linked   => The full category name with each section linked.
+                    title          => The full category name with each section not linked.
+                    category_name_escaped =>
+                                      A URL escaped version of the category, useful for
+                                      putting into links.
+
+                    category_short => Just the last part of the category.
+                    total          => Total number of links in this category only (use Number_of_Links
+                                      for this category and all subcategory).
+--%>
 <html>

 <head>
@@ -15,14 +41,14 @@
 </head>
 <%body_tag%>
 <center>
-<%include header.txt%>
+<%include include_header.html%>
 <%body_table%>
 <tr><td colspan=2 align=center>
-<%include menu.txt%><br><%include search_bar.htm%>
+<%include include_menu.html%><br><%include include_search_bar.html%>
 </td></tr>
 <tr><td colspan=2>&nbsp;</td></tr>

-<tr><td width=6 bgcolor=black rowspan=2><img src="<%url_images%>BlackShim.gif" width=6 height=20></td>
+<tr><td width=6 bgcolor=black rowspan=2><img src="<%build_images_url%>/default/BlackShim.gif" width=6 height=20></td>
     <td>
           <table border=0 width="<%body_width%>" cellpadding=3 cellspacing=0>
          <%title_linked_row%><td colspan=2 valign=bottom><%body_font%>
@@ -33,7 +59,7 @@
     <%if category%>
        <%header_row%><td width=200>
                <%header_font%>CATEGORIES:<%/header_font%></td>
-               <td bgcolor="white"><img src="<%url_images%>ClearShim.gif" border=0 width="540" height=1></td></tr>
+        <td bgcolor="white"><img src="<%build_images_url%>/default/ClearShim.gif" border=0 width="540" height=1></td></tr>
                <tr><td colspan=2><%body_font%>
         <%category%></font>
                </td></tr>
@@ -43,7 +69,7 @@
     <%if links%>
                <%header_row%><td width=200>
         <%header_font%>LINKS:<%/header_font%></td>
-               <td bgcolor="white"><img src="<%url_images%>ClearShim.gif" border=0 width="540" height=1></td></tr>
+        <td bgcolor="white"><img src="<%build_images_url%>/default/ClearShim.gif" border=0 width="540" height=1></td></tr>

            <%if next_span%>
 <!-- Next/Previous links if spanning pages. -->
@@ -67,7 +93,7 @@
     <%if related%>
            <%header_row%><td width="30%">
         <%header_font%>RELATED CATEGORIES:<%/header_font%></td>
-                <td width="70%" bgcolor=white><img src="<%url_images%>ClearShim.gif" width="100%" height=1></td></tr>
+                <td width="70%" bgcolor=white><img src="<%build_images_url%>/default/ClearShim.gif" width="100%" height=1></td></tr>
                 <tr><td colspan=2><%body_font%>
                 <ul><%related%></ul></font></td></tr>
     <%endif%>
@@ -78,18 +104,18 @@
         <%header_row%><td width="30%">
                <%header_font%>EDITORS:<%/header_font%></td>
                 <td width="70%" bgcolor="white">&nbsp;</td></tr>
-                <tr><td colspan=2><%body_Font%>
+                <tr><td colspan=2><%body_font%>
                        <ul><%editors%></ul></font></td></tr>
        <%endif%>
+    </table>
 </td></tr>
-</table></td></tr>
-<tr><td colspan=2>&nbsp;</tr>
+<tr><td colspan=2>&nbsp;</td></tr>

-<tr><td align=top colspan=2>
-<img src="<%url_images%>BlackShim.gif" border=0 height=1 width="<%body_width%>" align=top>
-<%include menu.txt%>
+<tr><td valign=top colspan=2>
+<img src="<%build_images_url%>/default/BlackShim.gif" border=0 height=1 width="<%body_width%>" align=top>
+<%include include_menu.html%>
 </td></tr></table>
-<%include footer.txt%>
+<%include include_footer.html%>
 </center>
 </body>
 </html>
Index: default/cool.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/cgi/admin/templates/default/cool.html,v
retrieving revision 1.4
retrieving revision 1.10
diff -u -b -r1.4 -r1.10
--- default/cool.html   18 May 2001 23:47:02 -0000      1.4
+++ default/cool.html   30 Dec 2001 19:39:00 -0000      1.10
@@ -1,5 +1,16 @@
- 
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<%-- 
+    File        : cool.html 
+    Description : This file displays a list of all the cool links (ones that have the
+                  top number of clicks).                 
+    Tags        : The following tags are available on this page:
+                    total             => The total number of cool links
+                    link_results      => A list of all cool links
+                    link_results_loop => A loop of all the cool links.
+                    title             => The title bar not linked
+                    title_linked      => The title bar linked
+                    percent           => What your "cool" cutoff is currently set to.
+                    next_span         => A '1 2 3 >>' toolbar to the next page of cool links.
+--%>
 <html>

 <head>
@@ -8,11 +19,11 @@
 </head>
 <%body_tag%>
 <center>
-<%include header.txt%>
+<%include include_header.html%>
 <%body_table%>
-<tr><td colspan=2 align=center><%include menu.txt%><br><%include search_bar.htm%></td></tr>
+<tr><td colspan=2 align=center><%include include_menu.html%><br><%include include_search_bar.html%></td></tr>
 <tr><td colspan=2>&nbsp;</td></tr>
-<tr><td width=6 bgcolor=black><img src="<%url_images%>BlackShim.gif" width=6 height=100></td>
+<tr><td width=6 bgcolor=black><img src="<%build_images_url%>/default/BlackShim.gif" width=6 height=100></td>
     <td valign=top>
           <table border=0 width="100%" cellpadding=3 cellspacing=0>
          <%title_linked_row%><td colspan=2 valign=middle><%body_font%>
@@ -21,18 +32,24 @@

                <%header_row%><td width=200>
         <%header_font%><%total%> COOL LINKS (the top <%percent%>):<%/header_font%></td>
-               <td width="540" bgcolor=white><img src="<%url_images%>ClearShim.gif" width=540 height=3>
+        <td width="540" bgcolor=white><img src="<%build_images_url%>/default/ClearShim.gif" width=540 height=3>
                 </td></tr>
-               <tr><td colspan=2><%body_font%>
-        <%link_results%></font>
+        <tr><td colspan=2>
+               <%if next_span%>
+                       <p><%body_font%>Pages: <%next_span%></font></p>
+               <%endif%>
+        <%body_font%><%link_results%></font>
+               <%if next_span%>
+                       <p><%body_font%>Pages: <%next_span%></font></p>
+               <%endif%>
                </td></tr>
          </table>
        </td>
 <tr><td colspan=2>
-<img src="<%url_images%>BlackShim.gif" border=0 height=1 width="<%body_width%>" align=top>
-<%include menu.txt%></td></tr>
+<img src="<%build_images_url%>/default/BlackShim.gif" border=0 height=1 width="<%body_width%>" align=top>
+<%include include_menu.html%></td></tr>
 </table>
-<%include footer.txt%>
+<%include include_footer.html%>
 </center>
 </body>
 </html>
Index: default/detailed.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/cgi/admin/templates/default/detailed.html,v
retrieving revision 1.6
retrieving revision 1.13
diff -u -b -r1.6 -r1.13
--- default/detailed.html       24 May 2001 00:30:32 -0000      1.6
+++ default/detailed.html       30 Dec 2001 20:02:27 -0000      1.13
@@ -1,4 +1,14 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<%-- 
+    File        : detailed.html 
+    Description : This file displays a link as a single page.
+    Tags        : You have all the properties of a link available on this page, plus a few special ones:
+                    title_linked => The title of the category linked
+                    title        => The title of the category unlinked
+                    next         => The ID number of the next link in the category
+                    prev         => The ID number of the previous link in the category
+                    next_url     => A link to the next link in the category
+                    prev_url     => A link to the previous url in the category
+--%>
 <html>

 <head>
@@ -8,33 +18,39 @@

 <%body_tag%>
 <center>
-<%include header.txt%>
+<%include include_header.html%>
 <%body_table%>
   <tr><td colspan=2 align=center>
-  <%include menu.txt%><br><%include search_bar.htm%>
+  <%include include_menu.html%><br><%include include_search_bar.html%>
   </td></tr>
-  <tr><td width=6 bgcolor=black>
-  <img src="<%url_images%>BlackShim.gif" width=6 height=100></td>
+  <tr>
+    <td width=6 bgcolor=black>
+      <img src="<%build_images_url%>/default/BlackShim.gif" width=6 height=100></td>
       <td valign=top>
          <table border=0 width="<%body_width%>" cellpadding=3 cellspacing=0>
-                  <%header_row%><td width="30%">
-           <%header_font%><%title%><%/header_font%></td>
-                  <td width="70%" bgcolor=white><img src="<%url_images%>ClearShim.gif" width="300" height=3>
-                  </td></tr>
+        <%header_row%>
+          <td width="80%">
+            <%header_font%><%title%><%/header_font%>
+          </td>
+          <td width="20%" bgcolor=white><%body_font%><%if prev_url%>&nbsp;<A href="<%prev_url%>">Previous</a><%endif%><%if next_url%>&nbsp;<a href="<%next_url%>">Next</a><%endif%></font><img src="<%build_images_url%>/default/ClearShim.gif" width="300" height=3></td>
+        </tr>
                <tr><td colspan=2>&nbsp;</td></tr>
                <tr><td colspan=2><%body_font%>
     <p><%Description%></p>
        <p><small>Submitted by: <%LinkOwner%><br>Hits: <%Hits%></small></p>
     <p><a class="<%category_links%>" href="<%db_cgi_url%>/jump.cgi?ID=<%ID%>">Visit this link</a>.
-               </font></td></tr>
+          </font>
+        </td></tr>
                <tr><td colspan=2>&nbsp;</td></tr>
-               </table></td></tr>
-
-<tr><td colspan=2>
-<img src="<%url_images%>BlackShim.gif" border=0 height=1 width="<%body_width%>" align=top>
-<%include menu.txt%></td></tr>
+      </table>
+    </td>
+  </tr>
+  <tr><td colspan=2>
+    <img src="<%build_images_url%>/default/BlackShim.gif" border=0 height=1 width="<%body_width%>" align=top>
+    <%include include_menu.html%>
+  </td></tr>
 </table>
-<%include footer.txt%>
-</cener>
+<%include include_footer.html%>
+</center>
 </body>
 </html>
Index: default/email-add.txt
===================================================================
RCS file: /cvs/gossamer/lsqldev/cgi/admin/templates/default/email-add.txt,v
retrieving revision 1.3
retrieving revision 1.6
diff -u -b -r1.3 -r1.6
--- default/email-add.txt       18 May 2001 23:47:02 -0000      1.3
+++ default/email-add.txt       4 Aug 2001 21:56:14 -0000       1.6
@@ -17,3 +17,11 @@
 Sincerely,

 Links Manager.
\ No newline at end of file
+
+<%--
+        File        : email-add.txt
+        Description : This is the email a user receives when their link is validated.
+        Tags        : All the properties of the link that was just validated
+                      are available plus:
+                        Category => The category the link was added to.
+--%>
\ No newline at end of file
Index: default/email-del.txt
===================================================================
RCS file: /cvs/gossamer/lsqldev/cgi/admin/templates/default/email-del.txt,v
retrieving revision 1.3
retrieving revision 1.6
diff -u -b -r1.3 -r1.6
--- default/email-del.txt       25 Nov 2000 00:45:24 -0000      1.3
+++ default/email-del.txt       4 Aug 2001 21:56:14 -0000       1.6
@@ -11,3 +11,11 @@
 If you have any questions, please don't hesitate to ask.

 Links Manager
\ No newline at end of file
+
+<%--
+        File        : email-del.txt
+        Description : This is the email a user receives when their link is rejected. It
+                      can be customized by the admin prior to sending.
+        Tags        : All the properties of the link that was rejected
+                      are available.
+--%>
\ No newline at end of file
Index: default/email-mod.txt
===================================================================
RCS file: /cvs/gossamer/lsqldev/cgi/admin/templates/default/email-mod.txt,v
retrieving revision 1.2
retrieving revision 1.5
diff -u -b -r1.2 -r1.5
--- default/email-mod.txt       18 May 2001 23:47:02 -0000      1.2
+++ default/email-mod.txt       4 Aug 2001 21:56:14 -0000       1.5
@@ -17,3 +17,11 @@
 Sincerely,

 Links Manager.
\ No newline at end of file
+
+<%--
+        File        : email-mod.txt
+        Description : This is the email a user receives when the changes the
+                      user submitted via modify.cgi are approved by the admin.
+        Tags        : All the properties of the link that was modified
+                      are available.
+--%>
\ No newline at end of file
Index: default/email-password.txt
===================================================================
RCS file: /cvs/gossamer/lsqldev/cgi/admin/templates/default/email-password.txt,v
retrieving revision 1.1
retrieving revision 1.4
diff -u -b -r1.1 -r1.4
--- default/email-password.txt  25 Nov 2000 09:46:32 -0000      1.1
+++ default/email-password.txt  4 Aug 2001 21:56:14 -0000       1.4
@@ -11,3 +11,13 @@
 Hope that helps,

 Link Manager
+
+<%--
+        File        : email-password.txt
+        Description : This is the email a user receives when they request that their
+                      password is emailed to them
+        Tags        : All the properties of the User that requested the password
+                      mailing are available. Also environment variables like REMOTE_HOST
+                      and REMOTE_ADDR are available for printing the IP of the user
+                      who requested the mailing.
+--%>
\ No newline at end of file
Index: default/email-validate.txt
===================================================================
RCS file: /cvs/gossamer/lsqldev/cgi/admin/templates/default/email-validate.txt,v
retrieving revision 1.4
retrieving revision 1.7
diff -u -b -r1.4 -r1.7
--- default/email-validate.txt  18 May 2001 23:47:02 -0000      1.4
+++ default/email-validate.txt  4 Aug 2001 21:56:14 -0000       1.7
@@ -11,3 +11,12 @@
 Sincerely,

 Links Manager.
\ No newline at end of file
+
+<%--
+        File        : email-validate.txt
+        Description : This is the email a user receives when they have signed up, but
+                      must validate their account.
+        Tags        : All the properties of the User requesting validation are available
+                      plus:
+                        Validation => The code the user must enter to validate their account.
+--%>
\ No newline at end of file
Index: default/email.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/cgi/admin/templates/default/email.html,v
retrieving revision 1.6
retrieving revision 1.11
diff -u -b -r1.6 -r1.11
--- default/email.html  18 May 2001 23:47:02 -0000      1.6
+++ default/email.html  30 Dec 2001 19:39:00 -0000      1.11
@@ -1,4 +1,12 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<%-- 
+    File        : email.html 
+    Description : This file is displayed whenever a user (un)subscribes to the 
+                  newsletter.
+    Tags        : Special tags that are available are:
+                        action => This can either be subscribe or unsubscribe and it means
+                                  the user has performed that action.
+                        error  => A message saying there was an error subscribing.
+--%>
 <html>

 <head>
@@ -8,17 +16,17 @@

 <%body_tag%>
 <center>
-<%include header.txt%>
+<%include include_header.html%>
 <%body_table%>
   <tr><td colspan=2 align=center>
-  <%include menu.txt%><br><%include search_bar.htm%>
+  <%include include_menu.html%><br><%include include_search_bar.html%>
   </td></tr>
-  <tr><td width=6 bgcolor=black><img src="<%url_images%>BlackShim.gif" width=6 height=100></td>
+  <tr><td width=6 bgcolor=black><img src="<%build_images_url%>/default/BlackShim.gif" width=6 height=100></td>
       <td valign=top>
          <table border=0 width="<%body_width%>" cellpadding=3 cellspacing=0>
                   <%header_row%><td width="30%">
            <%header_font%> NEWSLETTER:<%/header_font%></td>
-                  <td width="70%" bgcolor=white><img src="<%url_images%>ClearShim.gif" width="300" height=3>
+           <td width="70%" bgcolor=white><img src="<%build_images_url%>/default/ClearShim.gif" width="300" height=3>
                   </td></tr>

                   <tr><td colspan=2><%body_font%>
@@ -47,10 +55,10 @@
                </font></td></tr></table>

 <tr><td colspan=2>
-<img src="<%url_images%>BlackShim.gif" border=0 height=1 width="<%body_width%>" align=top>
-<%include menu.txt%></td></tr>
+<img src="<%build_images_url%>/default/BlackShim.gif" border=0 height=1 width="<%body_width%>" align=top>
+<%include include_menu.html%></td></tr>
 </table>
-<%include footer.txt%>
+<%include include_footer.html%>
 </center>
 </body>
 </html>
Index: default/error.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/cgi/admin/templates/default/error.html,v
retrieving revision 1.4
retrieving revision 1.9
diff -u -b -r1.4 -r1.9
--- default/error.html  18 May 2001 23:47:02 -0000      1.4
+++ default/error.html  30 Dec 2001 19:39:00 -0000      1.9
@@ -1,4 +1,9 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<%--
+       File        : error.html
+       Description : This page is displayed whenever a general error occurs.
+       Tags        : The only special tag available is:
+                                       error => What the error was.
+--%>
 <html>

 <head>
@@ -8,21 +13,21 @@

 <%body_tag%>
 <center>
-<%include header.txt%>
+<%include include_header.html%>
 <%body_table%><tr><td align=center>
-<%include menu.txt%><br><%include search_bar.htm%>
+<%include include_menu.html%><br><%include include_search_bar.html%>
   </td></tr>
   <tr><td align=center>

     <table border=0 width="100%" cellpadding=0 cellspacing=0>
-       <tr><td bgcolor=black width=6><img src="<%url_images%>ClearShim.gif" width=6 height="200"></td>
+       <tr><td bgcolor=black width=6><img src="<%build_images_url%>/default/ClearShim.gif" width=6 height="200"></td>
           <td valign=top>
            <table border=0 width="100%" cellpadding=3 cellspacing=0>
                <%header_row%><td width="30%"><%header_font%>ERROR!<%/header_font%></td>
                <td width="70%" bgcolor=white>&nbsp;</td></tr>
            <td colspan=2 align=center>
                  <table border=0><tr><td><%body_font%>
-                 <img src="<%url_images%>ClearShim.gif" width="200" height="20"><Br>
+                 <img src="<%build_images_url%>/default/ClearShim.gif" width="200" height="20"><Br>
                  Oops, we had the following problem:<br><%error_font%><b><%error%></b></font></font></td></tr></table>

                </td>
@@ -30,11 +35,11 @@
        </td></tr></table>
   </td></tr>

-  <tr><td><img src="<%url_images%>BlackShim.gif" border=0 height=1 width="<%body_width%>" align=top>
-<%include menu.txt%>
+  <tr><td><img src="<%build_images_url%>/default/BlackShim.gif" border=0 height=1 width="<%body_width%>" align=top>
+<%include include_menu.html%>
 </td></tr>
 </table>
-<%include footer.txt%>
+<%include include_footer.html%>
 </center>
 </body>
 </html>
Index: default/globals.txt
===================================================================
RCS file: /cvs/gossamer/lsqldev/cgi/admin/templates/default/globals.txt,v
retrieving revision 1.9
retrieving revision 1.15
diff -u -b -r1.9 -r1.15
--- default/globals.txt 24 May 2001 00:30:47 -0000      1.9
+++ default/globals.txt 30 Dec 2001 19:49:35 -0000      1.15
@@ -1,12 +1,14 @@
 # This file is auto generated and contains a perl hash of
 # your template globals for 'default' template set.
-# Generated on: Fri May 18 14:17:58 2001
+# Generated on: Wed Aug  1 19:10:38 2001

 my $dump = {
     'header_row' => '<tr bgcolor="#003366">',
     'error_font' => '<font face="Arial MT,Arial,Helvetica" size=2 color=red>',
-    'url_images' => 'http://www.gossamer-threads.com/images/links-sql/',
-    'body_tag' => '<body bgcolor="white" leftmargin="0" topmargin="10" marginheight="10" marginwidth="0" rightmargin="0"><basefont face="Arial" color="black" size="2">',
+    'body_font' => '<font face="Arial,Helvetica" size=2 color="black">',
+    'body_table' => '<table border="0" width="745" cellpadding="0" cellspacing="0">',
+    'site_title' => 'Links SQL',
+    'company_name' => 'Gossamer Threads Inc.',
     'css' => '<style type="text/css">
 .subcat_links {font-weight:normal; font-face:Arial MT,Arial,Helvetica; font-size:11; text-decoration:none;}
 .g-head_links {font-color:white; font-face:Tahoma,Arial,Helvetica; font-size:12; text-decoration:none;}
@@ -16,9 +18,9 @@
 a:visited {color:black; }
 a:hover {color:#33cc33; }
 </style>',
-    'body_font' => '<font face="Arial,Helvetica" size=2 color="black">',
-    'body_table' => '<table border="0" width="<%body_width%>" cellpadding="0" cellspacing="0">',
+    'body_tag' => '<body bgcolor="white" leftmargin="0" topmargin="10" marginheight="10" marginwidth="0" rightmargin="0"><basefont face="Arial" color="black" size="2">',
     'body_width' => '745',
+    '/header_font' => '</b></font>',
     'date' => 'sub {
 # Displays the current date.
   Links::init_date();
@@ -27,14 +29,11 @@
   GT::Date::date_set_format($CFG->{\'date_db_format\'});
   return $date;
 }',
-    'site_title' => 'Links SQL',
-    '/header_font' => '</b></font>',
-    'header_font' => '<font face=Arial,Helvetica size=2 color="#ffffff"><b>',
-    'company_name' => 'Gossamer Threads Inc.',
+    'title_linked_row' => '<tr bgcolor="#ffcc00">',
     'time' => 'sub {
 # Displays the current time.
   my ($sec,$min,$hr) = localtime( time + ($Links::CFG->{date_offset} *3600));
   return sprintf ("%02d:%02d:%02d", $hr, $min, $sec);
 }',
-    'title_linked_row' => '<tr bgcolor="#ffcc00">'
+    'header_font' => '<font face="Arial,Helvetica" size=2 color="#ffffff"><b>'
 };
Index: default/home.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/cgi/admin/templates/default/home.html,v
retrieving revision 1.4
retrieving revision 1.13
diff -u -b -r1.4 -r1.13
--- default/home.html   18 May 2001 23:47:02 -0000      1.4
+++ default/home.html   9 Jan 2002 23:21:41 -0000       1.13
@@ -1,26 +1,34 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<%-- 
+    File        : home.html
+    Description : This is the home page template. It is your main Links SQL page
+                  and displays a list of the top level categories.
+    Tags        : The following tags are available on this page:
+                    category       => a list of all subcategories available
+                    category_loop  => a loop of all subcategories available.
+                    grand_total    => a count of the total number of links available.
+--%>
 <html>

 <head>
-<title><%site_title%>by<%company_name%></title>
+<title><%site_title%> by <%company_name%></title>
 <meta name="description" content="put your description here">
 <meta name="keywords" content="put your keywords here">
 <%css%>
 </head>
 <%body_tag%>
 <center>
-<%include header.txt%>
+<%include include_header.html%>
 <%body_table%>
   <tr><td colspan=3 align=center>
-    <%include menu.txt%><br><%include search_bar.htm%>
+    <%include include_menu.html%><br><%include include_search_bar.html%>
   </td></tr>
   <tr>
    <td width="230" valign=top align=left>
      <table width="200" border=0 cellpadding=0 cellspacing=0>
        <tr><td>
-       <img src="<%url_images%>ChainLink.jpg" border=0>
+       <img src="<%build_images_url%>/default/ChainLink.jpg" border=0>
        </td></tr><tr><td><%body_font%>
-       <p>Welcome to the Links online demo. Feel free to add your own link, modify another's or just play around!  <P>Our clients have thought of some unique and interesting ways to use Links SQL 2.0.  Some examples are: software downloads site, classifieds section, search directory, personals site, image liscensing site, etc. The possibilities are endless!  <a class="category_links" href="mailto:jack@gossamer-threads.com">Contact us</a> to find out how Links SQL can work for you.<br></font>
+       <p>Welcome to the Links online demo. Feel free to add your own link, modify another's or just play around!  <P>Our clients have thought of some unique and interesting ways to use Links SQL 2.0.  Some examples are: software downloads site, classifieds section, search directory, personals site, image licensing site, etc. The possibilities are endless!  <a class="category_links" href="mailto:jack@gossamer-threads.com">Contact us</a> to find out how Links SQL can work for you.<br></font>
      </td></tr></table>
     </td>
     <td width=6 bgcolor=black rowspan=2>&nbsp;</td>
@@ -28,7 +36,7 @@
       <table border=0 width="100%" cellpadding=3 cellspacing=0>
             <%header_row%><td>&nbsp;</td>
             <td>
-            <%header_font%>CATEGORIES:</b><%/header_font%></td></tr>  
+         <%header_font%>CATEGORIES:<%/header_font%></td></tr>  
             <tr><td>&nbsp;</td><td>
             <%category%>
             </td></tr><tr><td> &nbsp;</td><td>
@@ -37,11 +45,11 @@
     </td></tr>
     <tr><td colspan=3>&nbsp;</td></tr>
     <tr><td colspan=3 valign=top>
-    <img src="<%url_images%>BlackShim.gif" border=0 height=1 width="<%body_width%>" align=top>
-    <%include menu.txt%>
+    <img src="<%build_images_url%>/default/BlackShim.gif" border=0 height=1 width="<%body_width%>" align=top>
+    <%include include_menu.html%>
   </td></tr>
 </table>
-<%include footer.txt%>
+<%include include_footer.html%>
 </center>
 </body>
 </html>
Index: default/language.txt
===================================================================
RCS file: /cvs/gossamer/lsqldev/cgi/admin/templates/default/language.txt,v
retrieving revision 1.30
retrieving revision 1.46
diff -u -b -r1.30 -r1.46
--- default/language.txt        18 May 2001 23:47:02 -0000      1.30
+++ default/language.txt        28 Jan 2002 20:10:54 -0000      1.46
@@ -1,14 +1,15 @@
 # This file is auto generated and contains a perl hash of
 # your language variables for 'default' template set.
-# Generated on: Fri Feb 16 21:28:19 2001
+# Generated on: Fri Sep 28 15:31:22 2001

 my $dump = {
     'MODIFY_BADURL' => 'We were unable to find the URL \'%s\' in the database. Please make sure you typed it in exactly as it appears in the directory.',
     'MODIFY_NOTOWNER' => 'You are not authorized to modify this link.',
-    'MODIFY_SELCAT' => 'Before you can modify your link, please go to the category you it is in, or the category you want to put it in and click modify.',
+    'MODIFY_SELCAT' => 'Before you can modify your link, please go to the category your link is in, or the category you want to put it in and click modify.',
     'BROWSER_NOROOT' => 'Invalid Category Root: \'%s\'.',
     'ADD_SELCAT' => 'Please first visit the category you wish to add your link to, then click on Add.',
     'SUBSCRIBE_INVALIDLIST' => 'Unable to find mailing list: \'%s\'.',
+    'GENERAL_BANNED' => 'Your host has been banned, please contact the site owner for details.',
     'VAL_REJECTSUB' => 'Your link has been rejected.',
     'VAL_APPROVESUB' => 'Your link has been approved!',
     'JUMP_INVALIDID' => 'Unable to find link with id: \'%s\'.',
@@ -22,14 +23,16 @@
     'USER_EMAILTAKEN' => 'The email address you entered is already taken.',
     'PAGE_INVALIDCAT' => 'We don\'t seem to have a category by the name \'%s\'.',
     'USER_NOEMAIL' => 'Sorry, but we couldn\'t find any user with that email address.',
-    'MODIFY_NOLINKS' => 'Sorry, but you do have any links to modify.',
+    'MODIFY_NOLINKS' => 'Sorry, but you do not have any links to modify.',
     'BROWSER_LINKMOVEEXISTS' => 'You can not move the link to that category, as it is already in that category.',
     'BROWSER_LINKMOVEROOT' => 'Unable to move/copy a link to the root category, please pick a subcategory.',
     'RATE_VOTED' => 'You seem to have already voted once before.',
     'LINKS_COOL' => 'Cool',
     'MODIFY_REJECTSUB' => 'Your change has been rejected.',
+    'FILE_UNKNOWN' => 'Unknown File requested.',
     'BROWSER_RELADD' => 'Unable to create relation: %s. Check to make sure it isn\'t already related, and that it is a valid category.',
     'VAL_CANTEMAIL' => 'Unable to send validation email, missing or bad email address.',
+    'GENERAL_DISABLED' => 'The site is down for maintenance, please try back shortly.',
     'BROWSER_CATCANTDEL' => 'Unable to delete category: %s',
     'USER_INVALIDSIGNUP' => 'Please fill out all fields completely.',
     'BROWSER_MOVECHILD' => 'Unable to move category into a sub tree of itself.',
@@ -51,7 +54,7 @@
     'MODIFY_NOURL' => 'Did not specify a link to modify.',
     'USER_VALSENT' => 'Your validation code has been sent!',
     'BROWSER_NOTEDITOR' => 'Sorry, but only category editors are allowed.',
-    'RATE_INVALIDRATE' => 'Please enter only a number from 1 to 10.',
+    'RATE_INVALIDRATE' => 'Please enter a number from 1 to 5.',
     'BROWSER_EDITORDEL' => 'Unable to delete editor: %s',
     'RATE_INVALIDID' => 'Unable to find link with ID: \'%s\'.',
     'VAL_GENERAL' => 'Unable to validate link: %s. Reason: %s',
@@ -65,10 +68,23 @@
     'SUBSCRIBE_ALREADYSUB' => 'You are already subscribed to this mailing list.',
     'USER_PASSSENT' => 'Your password has been successfully emailed to you.',
     'USER_NOTVAL' => 'Sorry, that account has not yet been validated. ',
-    'USER_VALEMAILSUB' => 'Your validation code!',
     'BROWSER_EDITORADD' => 'Unable to add editor, please make sure %s is a valid user.',
+    'USER_VALEMAILSUB' => 'Your validation code!',
     'VAL_APPROVECHGSUB' => 'Your link has been successfully updated!',
     'SUBSCRIBE_NOTSUB' => 'You are not subscribed to this mailing list.',
     'USER_BADLOGIN' => 'Invalid username/password.',
-
+    'LINKS_PAGE' => 'Page %s',
+    'REVIEW_ADD_WAIT' => 'You have already submitted a review for this link. Please wait for it to be validated.',
+    'REVIEW_EMAIL_ADD' => 'Addition to review database: %s.',
+    'REVIEW_EMAIL_UPDATE' => 'Update to review database: %s.',
+    'REVIEW_GUEST_EMAIL_REQUIRED' => 'Please fill out your email to add a review!',
+    'REVIEW_GUEST_NAME_REQUIRED' => 'Please fill out your name to add a review!',
+    'REVIEW_INVALIDID' => 'Invalid Link ID : %s.',
+    'REVIEW_INVALID_ACTION' => 'Invalid action!',
+    'REVIEW_INVALID_UPDATE' => 'Unable to update review database. User is invalid for this review or the review is not validated.',
+    'REVIEW_NORESULTS' => 'No reviews are available.',
+    'REVIEW_NOT_EXISTS' => 'Review doesn\'t exist!',
+    'REVIEW_RATING' => 'Please select a rating from 1 to 5 only.',
+    'REVIEW_VAL_APPROVESUB' => 'Your review has been approved.',
+    'REVIEW_VOTED' => 'You seem to have already voted this review one before.'
 };
Index: default/link.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/cgi/admin/templates/default/link.html,v
retrieving revision 1.4
retrieving revision 1.16
diff -u -b -r1.4 -r1.16
--- default/link.html   18 May 2001 23:47:02 -0000      1.4
+++ default/link.html   7 Jan 2002 00:32:13 -0000       1.16
@@ -1,25 +1,26 @@
+<%-- 
+    File        : link.html 
+    Description : This file displays a single link. It is used on category listings,
+                  search results, what's new, what's cool, pretty much anywhere you
+                  see a link.
+    Tags        : You have all the properties of a link available on this page, plus:
+                    detailed_url => The URL to the detailed page (if enabled in admin).
+                    isLinkOwner  => True if the logged in user owns this link (used to
+                                    provide a link to the modify form).
+--%>
 <ul>
-<li><%body_font%><a class="category_links" href="<%db_cgi_url%>/jump.cgi?ID=<%ID%>"><%Title%></a>
+<li><%body_font%><a class="category_links" target="_blank" href="<%db_cgi_url%>/jump.cgi?ID=<%ID%>"><%Title%></a>

 <%if isNew%>
-  &nbsp;
-  <font color=red>
-        <small><sup>new</sup></small>
-  </font>
+  &nbsp;<font color=red><small><sup>new</sup></small></font>
 <%endif%>

 <%if isChanged%>
-  &nbsp;
-  <font color=red>
-        <small><sup>updated</sup></small>
-  </font>
+  &nbsp;<font color=red><small><sup>updated</sup></small></font>
 <%endif%>

 <%if isPopular%>
-  &nbsp;
-  <small><font color="#6699cc">
-        <sup class="pop">pop</sup></small>
-  </font>
+  &nbsp;<font color="#6699cc"><small><sup class="pop">pop</sup></small></font>
 <%endif%>
 <br></font>

@@ -27,12 +28,24 @@
   <%body_font%><%Description%></font><br>
 <%endif%>

-<%body_font%><small>(Added: <%Add_Date%> Hits: <%Hits%>  Rating: <%Rating%> Votes: <%Votes%>) <a href="<%db_cgi_url%>/rate.cgi?ID=<%ID%>">Rate It</a></small></font>
+<%if URL%>
+  <small><%URL%></small><br>
+<%endif%>

-<%if isLinkOwner%>
-  &nbsp;<%body_font%>
-        <small><a href="<%db_cgi_url%>/modify.cgi?LinkID=<%ID%>">
-        Edit this link</a></small>
+<%if Review_Count%>
+       <small><a href="<%db_cgi_url%>/review.cgi?ID=<%ID%>">Read <%Review_Count%> Reviews</a></small><br>
 <%endif%>

+<%body_font%><small>(Added: <%Add_Date%> Hits: <%Hits%>  Rating: <%Rating%> Votes: <%Votes%>) 
+
+&nbsp; <a href="<%db_cgi_url%>/rate.cgi?ID=<%ID%>">Rate It</a>
+&nbsp; <a href="<%db_cgi_url%>/review.cgi?ID=<%ID%>&add_review=1">Review It</a>
+
+<%if detailed_url%>
+    &nbsp;<a href="<%detailed_url%>">Details</a>
+<%endif%>
+<%if isLinkOwner%>
+    &nbsp;<a href="<%db_cgi_url%>/modify.cgi?LinkID=<%ID%>">Edit this link</a>
+<%endif%>
+</small></font>
 </ul>
\ No newline at end of file
Index: default/login.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/cgi/admin/templates/default/login.html,v
retrieving revision 1.7
retrieving revision 1.12
diff -u -b -r1.7 -r1.12
--- default/login.html  18 May 2001 23:47:02 -0000      1.7
+++ default/login.html  30 Dec 2001 19:39:00 -0000      1.12
@@ -1,4 +1,10 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<%-- 
+    File        : login.html
+    Description : This file displays the login form.
+    Tags        : Special tags include:
+                    url          => The URL to redirect to upon successful login.
+                    error        => An error message saying the login was not successful.
+--%>
 <html>

 <head>
@@ -8,18 +14,18 @@

 <%body_tag%>
 <center>
-<%include header.txt%>
+<%include include_header.html%>
 <%body_table%>
   <tr><td colspan=2 align=center>
-  <%include menu.txt%><br><%include search_bar.htm%>
+  <%include include_menu.html%><br><%include include_search_bar.html%>
   </td></tr>
   <tr><td width=6 bgcolor=black>
-  <img src="<%url_images%>BlackShim.gif" width=6 height=100></td>
+  <img src="<%build_images_url%>/default/BlackShim.gif" width=6 height=100></td>
       <td valign=top>
          <table border=0 width="<%body_width%>" cellpadding=3 cellspacing=0>
                   <%header_row%><td width="30%">
            <%header_font%>USER LOGIN<%/header_font%></td>
-                  <td width="70%" bgcolor=white><img src="<%url_images%>ClearShim.gif" width="300" height=3>
+           <td width="70%" bgcolor=white><img src="<%build_images_url%>/default/ClearShim.gif" width="300" height=3>
                   </td></tr>
                <tr><td colspan=2>&nbsp;</td></tr>
                <tr><td colspan=2>
@@ -51,10 +57,10 @@
                </table></td></tr>

 <tr><td colspan=2>
-<img src="<%url_images%>BlackShim.gif" border=0 height=1 width="<%body_width%>" align=top>
-<%include menu.txt%></td></tr>
+<img src="<%build_images_url%>/default/BlackShim.gif" border=0 height=1 width="<%body_width%>" align=top>
+<%include include_menu.html%></td></tr>
 </table>
-<%include footer.txt%>
+<%include include_footer.html%>
 </center>
 </body>
 </html>
Index: default/login_email.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/cgi/admin/templates/default/login_email.html,v
retrieving revision 1.4
retrieving revision 1.10
diff -u -b -r1.4 -r1.10
--- default/login_email.html    18 May 2001 23:47:02 -0000      1.4
+++ default/login_email.html    9 Jan 2002 23:21:41 -0000       1.10
@@ -1,25 +1,31 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<%-- 
+    File        : login_email.html
+    Description : This file displays a "Lost Password" lookup form.
+    Tags        : The only special tag available is:
+                    error => An error message, usually indicating that the email address
+                             did not match an existing user.
+--%>
 <html>

 <head>
-<title><%site_title%>: Forgoten Password</title>
+<title><%site_title%>: Forgotten Password</title>
 <%css%>
 </head>

 <%body_tag%>
 <center>
-<%include header.txt%>
+<%include include_header.html%>
 <%body_table%>
   <tr><td colspan=2 align=center>
-  <%include menu.txt%><br><%include search_bar.htm%>
+  <%include include_menu.html%><br><%include include_search_bar.html%>
   </td></tr>
   <tr><td width=6 bgcolor=black>
-  <img src="<%url_images%>BlackShim.gif" width=6 height=100></td>
+  <img src="<%build_images_url%>/default/BlackShim.gif" width=6 height=100></td>
       <td valign=top>
          <table border=0 width="<%body_width%>" cellpadding=3 cellspacing=0>
                   <%header_row%><td width="30%">
            <%header_font%>FORGOT YOUR PASSWORD?<%/header_font%></td>
-                  <td width="70%" bgcolor=white><img src="<%url_images%>ClearShim.gif" width="300" height=3>
+           <td width="70%" bgcolor=white><img src="<%build_images_url%>/default/ClearShim.gif" width="300" height=3>
                   </td></tr>
                <tr><td colspan=2>&nbsp;</td></tr>
                <tr><td colspan=2>
@@ -49,10 +55,10 @@
                </table></td></tr>

 <tr><td colspan=2>
-<img src="<%url_images%>BlackShim.gif" border=0 height=1 width="<%body_width%>" align=top>
-<%include menu.txt%></td></tr>
+<img src="<%build_images_url%>/default/BlackShim.gif" border=0 height=1 width="<%body_width%>" align=top>
+<%include include_menu.html%></td></tr>
 </table>
-<%include footer.txt%>
+<%include include_footer.html%>
 </center>
 </body>
 </html>
Index: default/login_success.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/cgi/admin/templates/default/login_success.html,v
retrieving revision 1.4
retrieving revision 1.9
diff -u -b -r1.4 -r1.9
--- default/login_success.html  18 May 2001 23:47:02 -0000      1.4
+++ default/login_success.html  30 Dec 2001 19:39:00 -0000      1.9
@@ -1,4 +1,8 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<%-- 
+    File        : login_success.html
+    Description : This file is displayed after the user successfully logs in.
+    Tags        : You have all the properties of the logged in user.
+--%>
 <html>

 <head>
@@ -8,18 +12,18 @@

 <%body_tag%>
 <center>
-<%include header.txt%>
+<%include include_header.html%>
 <%body_table%>
   <tr><td colspan=2 align=center>
-  <%include menu.txt%><br><%include search_bar.htm%>
+  <%include include_menu.html%><br><%include include_search_bar.html%>
   </td></tr>
   <tr><td width=6 bgcolor=black>
-  <img src="<%url_images%>BlackShim.gif" width=6 height=100></td>
+  <img src="<%build_images_url%>/default/BlackShim.gif" width=6 height=100></td>
       <td valign=top>
          <table border=0 width="<%body_width%>" cellpadding=3 cellspacing=0>
                   <%header_row%><td width="30%">
            <%header_font%>LOGGED IN<%/header_font%></td>
-                  <td width="70%" bgcolor=white><img src="<%url_images%>ClearShim.gif" width="300" height=3>
+           <td width="70%" bgcolor=white><img src="<%build_images_url%>/default/ClearShim.gif" width="300" height=3>
                   </td></tr>
                <tr><td colspan=2>&nbsp;</td></tr>
                <tr><td colspan=2>
@@ -36,10 +40,10 @@
                </table></td></tr>

 <tr><td colspan=2>
-<img src="<%url_images%>BlackShim.gif" border=0 height=1 width="<%body_width%>" align=top>
-<%include menu.txt%></td></tr>
+<img src="<%build_images_url%>/default/BlackShim.gif" border=0 height=1 width="<%body_width%>" align=top>
+<%include include_menu.html%></td></tr>
 </table>
-<%include footer.txt%>
+<%include include_footer.html%>
 </center>
 </body>
 </html>
Index: default/modify.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/cgi/admin/templates/default/modify.html,v
retrieving revision 1.6
retrieving revision 1.14
diff -u -b -r1.6 -r1.14
--- default/modify.html 18 May 2001 23:47:02 -0000      1.6
+++ default/modify.html 30 Dec 2001 19:39:00 -0000      1.14
@@ -1,4 +1,14 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<%-- 
+    File        : modify.html
+    Description : This file displays the modify form (when a user wants to update an
+                  existing link).
+    Tags        : All the properties of a link are available, plus:
+                    Category => Either a select list, or a hidden tag. If you set db_gen_category_list
+                                to Yes in the admin, then you will see a select list here. If it's
+                                set to No, then it will just be a hidden tag.
+                    error => If there was a problem modifying a link, this tag will contain an error
+                             message.
+--%>
 <html>

 <head>
@@ -8,25 +18,28 @@

 <%body_tag%>
 <center>
-<%include header.txt%>
+<%include include_header.html%>
 <%body_table%>
-  <tr><td colspan=2 align=center>
-  <%include menu.txt%>
-  <hr noshade width="<%body_width%>" height=1 color="#ffcc00">
+  <tr><td colspan=2 align=center valign=top height=25>
+  <%include include_menu.html%><Br><%include include_search_bar.html%>
   </td></tr>
+
   <tr><td width=6 bgcolor=black>
-  <img src="<%url_images%>BlackShim.gif" width=6 height=100></td>
+  <img src="<%build_images_url%>/default/BlackShim.gif" width=6 height=100></td>
       <td valign=top>
          <table border=0 width="<%body_width%>" cellpadding=3 cellspacing=0>
                   <%header_row%><td width="30%">
            <%header_font%>MODIFY A LINK<%/header_font%></td>
-                  <td width="70%" bgcolor=white><img src="<%url_images%>ClearShim.gif" width="300" height=3>
+           <td width="70%" bgcolor=white><img src="<%build_images_url%>/default/ClearShim.gif" width="300" height=3>
                   </td></tr>

                <tr><td colspan=2>&nbsp;</td></tr>

                <tr><td colspan=2><%body_font%>
-    <form action="<%db_cgi_url%>/modify.cgi" method="POST">
+<%if error%>
+    <p><%error_font%><b><%error%></b></font></p>
+<%endif%>
+    <form action="<%db_cgi_url%>/modify.cgi" enctype="multipart/form-data" method="POST">
        <input type="hidden" name="modify" value="1">
     <%if LinkID%>
                <input type="hidden" name="LinkID" value="<%LinkID%>">
@@ -36,7 +49,7 @@
         <p>Now enter the new information (all of it, not just the changes) below:</p>
     <%endif%>
             <table border="0" cellspacing="0" cellpadding="0">
-                               <%include form.txt%>                                            
+                <%include include_form.html%>                                            
                 <tr><td></td><td><%body_font%>
                                <input type="SUBMIT" name="modify" value="Modify Link"></font></td></tr>
             </table>
@@ -46,10 +59,10 @@
                </table></td></tr>

 <tr><td colspan=2>
-<img src="<%url_images%>BlackShim.gif" border=0 height=1 width="<%body_width%>" align=top>
-<%include menu.txt%></td></tr>
+<img src="<%build_images_url%>/default/BlackShim.gif" border=0 height=1 width="<%body_width%>" align=top>
+<%include include_menu.html%></td></tr>
 </table>
-<%include footer.txt%>
+<%include include_footer.html%>
 </center>
 </body>
 </html>
Index: default/modify_select.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/cgi/admin/templates/default/modify_select.html,v
retrieving revision 1.3
retrieving revision 1.9
diff -u -b -r1.3 -r1.9
--- default/modify_select.html  18 May 2001 23:47:02 -0000      1.3
+++ default/modify_select.html  7 Jan 2002 00:32:13 -0000       1.9
@@ -1,4 +1,13 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<%-- 
+    File        : modify_select.html
+    Description : This file is only used if you have user_required set to Yes. It displays
+                  a list of all links a user owns and lets them pick which one they want
+                  to modify.
+    Tags        : The only special tag available is:
+                    link_results_loop   => A loop of the available links the user owns.
+                    total => A count of how many links the user owns.
+                    next  => A toolbar (1 2 3 > >>) letting the user span pages.
+--%>
 <html>

 <head>
@@ -8,18 +17,18 @@

 <%body_tag%>
 <center>
-<%include header.txt%>
+<%include include_header.html%>
 <%body_table%>
   <tr><td colspan=2 align=center>
-  <%include menu.txt%><br><%include search_bar.htm%>
+  <%include include_menu.html%><br><%include include_search_bar.html%>
   </td></tr>
   <tr><td width=6 bgcolor=black>
-  <img src="<%url_images%>BlackShim.gif" width=6 height=100></td>
+  <img src="<%build_images_url%>/default/BlackShim.gif" width=6 height=100></td>
       <td valign=top>
          <table border=0 width="<%body_width%>" cellpadding=3 cellspacing=0>
                   <%header_row%><td width="30%">
            <%header_font%>MODIFY A LINK<%/header_font%></td>
-                  <td width="70%" bgcolor=white><img src="<%url_images%>ClearShim.gif" width="300" height=3>
+           <td width="70%" bgcolor=white><img src="<%build_images_url%>/default/ClearShim.gif" width="300" height=3>
                   </td></tr>
                <tr><td colspan=2>&nbsp;</td></tr>
                <tr><td colspan=2>
@@ -27,10 +36,10 @@
 <%body_font%>Please pick which link you would like to update: <br>

                <table border=0>
-               <%loop link_results%>
+        <%loop link_results_loop%>
                        <tr><td valign=top><input type=radio name=LinkID value="<%ID%>" align=top></td>
                        <td>
-                       <%include link.html%>
+              <%Links::Utils::load_link%>
                        </td></tr>
                <%endloop%>
                </table>
@@ -46,10 +55,10 @@
                </table></td></tr>

 <tr><td colspan=2>
-<img src="<%url_images%>BlackShim.gif" border=0 height=1 width="<%body_width%>" align=top>
-<%include menu.txt%></td></tr>
+<img src="<%build_images_url%>/default/BlackShim.gif" border=0 height=1 width="<%body_width%>" align=top>
+<%include include_menu.html%></td></tr>
 </table>
-<%include footer.txt%>
+<%include include_footer.html%>
 </center>
 </body>
 </html>
Index: default/modify_success.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/cgi/admin/templates/default/modify_success.html,v
retrieving revision 1.5
retrieving revision 1.11
diff -u -b -r1.5 -r1.11
--- default/modify_success.html 18 May 2001 23:47:02 -0000      1.5
+++ default/modify_success.html 9 Jan 2002 23:21:41 -0000       1.11
@@ -1,4 +1,10 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<%-- 
+    File        : modify_success.html
+    Description : This file is displayed after a user successfully submits a 
+                  request to update a link.
+    Tags        : You have all the properties of the link that was just
+                  submitted available.
+--%>
 <html>

 <head>
@@ -8,16 +14,16 @@

 <%body_tag%>
 <center>
-<%include header.txt%>
+<%include include_header.html%>
 <%body_table%>
 <tr><td align=center>
-<%include menu.txt%><br><%include search_bar.htm%>
+<%include include_menu.html%><br><%include include_search_bar.html%>
   </td></tr>
   <tr><td align=center>

     <table border=0 width="100%" cellpadding=0 cellspacing=0>
        <tr><td bgcolor=black width=6 rowspan=2>
-           <img src="<%url_images%>ClearShim.gif" width=6 height="200"></td>
+        <img src="<%build_images_url%>/default/ClearShim.gif" width=6 height="200"></td>
            <td>

            <table border=0 width="100%" cellpadding=3 cellspacing=0>
@@ -27,7 +33,7 @@
                        <tr><td colspan=2 align=center>
                        <table border=0 cellpadding=3 cellspacing=0>
                          <tr><td colspan=2 valign=middle>
-                         <img src="<%url_images%>ClearShim.gif" width="100%" height="20"><br>
+              <img src="<%build_images_url%>/default/ClearShim.gif" width="100%" height="20"><br>
               We have received your request to modify the link as follows:</td></tr>
                          <tr><td><%body_font%>Title:</td><td><b><%Title%></b></font></td></tr>
                          <tr><td><%body_font%>URL:</td><td><b><%URL%></b></font></td></tr>
@@ -43,11 +49,11 @@
         </td></tr></table>

   <tr><td>
-  <img src="<%url_images%>BlackShim.gif" border=0 height=1 width="<%body_width%>" align=top>
-<%include menu.txt%>
+  <img src="<%build_images_url%>/default/BlackShim.gif" border=0 height=1 width="<%body_width%>" align=top>
+<%include include_menu.html%>
 </td></tr>
 </table>
-<%include footer.txt%>
+<%include include_footer.html%>
 </center>
 </body>
 </html>
Index: default/new.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/cgi/admin/templates/default/new.html,v
retrieving revision 1.5
retrieving revision 1.11
diff -u -b -r1.5 -r1.11
--- default/new.html    18 May 2001 23:47:02 -0000      1.5
+++ default/new.html    30 Dec 2001 19:39:00 -0000      1.11
@@ -1,4 +1,30 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<%-- 
+    File        : new.html
+    Description : This file displays a list of new links, or a list of dates which
+                  are linked to all links added during that day (if spanning is 
+                  turned on).
+    Tags        : On this page you have the following tags:
+                    new_index    => If true, display simply a list of dates with how many
+                                    links were added in that date, if false, then display
+                                    all the links that are considered new.
+                    link_results => A list of links or dates (based on new_index above).
+                    total        => Total number of new links
+                    title        => The page title not linked
+                    title_linked => The page title linked.
+                    next_span    => A toolbar (1 2 3 > >>) to the next list of new pages.
+                  
+                  If you plan on using loops, then read the following:
+
+                  If new_index is true, and you are displaying a list of dates using loops,
+                  then each loop has:
+                    date         => The date,
+                    url          => The URL to see the individual listings
+                    count        => How many links were added that day.
+                  If you don't have span pages turned on, then the loop contains a list of 
+                  dates with:
+                    date         => The date,
+                    links        => Another loop of all links added that date.
+--%>
 <html>

 <head>
@@ -7,11 +33,11 @@
 </head>
 <%body_tag%>
 <center>
-<%include header.txt%>
+<%include include_header.html%>
 <%body_table%>
-<tr><td colspan=2 align=center><%include menu.txt%><br><%include search_bar.htm%></td></tr>
+<tr><td colspan=2 align=center><%include include_menu.html%><br><%include include_search_bar.html%></td></tr>
 <tr><td colspan=2>&nbsp;</td></tr>
-<tr><td width="6" bgcolor="black"><img src="<%url_images%>BlackShim.gif" width=6 height=20 border=0></td>
+<tr><td width="6" bgcolor="black"><img src="<%build_images_url%>/default/BlackShim.gif" width=6 height=20 border=0></td>
     <td>
           <table border=0 width="<%body_width%>" cellpadding=3 cellspacing=0>
          <%title_linked_row%><td colspan=2 valign=middle><%body_font%>
@@ -20,29 +46,32 @@

                <%header_row%><td width="30%">
         <%header_font%><%total%> NEW LINKS:<%/header_font%></td>
-               <td bgcolor="white" width="70%" colspan=2><img src="<%url_images%>ClearShim.gif" border=0 height=1 width="100%"></td></tr>
+        <td bgcolor="white" width="70%" colspan=2><img src="<%build_images_url%>/default/ClearShim.gif" border=0 height=1 width="100%"></td></tr>
                  <%if new_index%>
-                 <!-- Displays a list of dates and counts for each link -->
+<!-- Displays a list of dates and counts for each link -->
                  <tr><td colspan=2><%body_font%>
           <ul><%link_results%></ul>
                  </font>
                  </td></tr>
+          <%else%>
+<!-- Displays the actual new links. -->
+              <tr><td colspan=2>
+                         <%if next_span%>
+                               <p><%body_font%>Pages: <%next_span%></font></p>
+                         <%endif%>
+                         <%body_font%><%link_results%></font>
+                         <%if next_span%>
+                               <p><%body_font%>Pages: <%next_span%></font></p>
           <%endif%>
-
-          <%ifnot new_index%>
-          <!-- Displays the actual new links. -->
-                 <tr><td colspan=2><%body_font%>
-                 <%link_results%>
-                 </font>
                  </td></tr>
           <%endif%>
           </table>
         </td>
    </tr>
 <tr><td colspan=2>
-<img src="<%url_images%>BlackShim.gif" border=0 height=1 width="<%body_width%>" align=top>
-<%include menu.txt%></td></tr></table>
-<%include footer.txt%>
+<img src="<%build_images_url%>/default/BlackShim.gif" border=0 height=1 width="<%body_width%>" align=top>
+<%include include_menu.html%></td></tr></table>
+<%include include_footer.html%>
 </center>
 </body>
 </html>
Index: default/rate.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/cgi/admin/templates/default/rate.html,v
retrieving revision 1.4
retrieving revision 1.10
diff -u -b -r1.4 -r1.10
--- default/rate.html   18 May 2001 23:47:02 -0000      1.4
+++ default/rate.html   30 Dec 2001 19:39:00 -0000      1.10
@@ -1,4 +1,11 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<%-- 
+    File        : rate.html 
+    Description : This file displays a form letting the user rate the 
+                  passed in link from 1 to 10.
+    Tags        : You have all the properties of the link available plus:
+                    error => An error message if the rate failed (i.e. they have
+                             already voted once for this link).
+--%>
 <html>

 <head>
@@ -8,20 +15,23 @@

 <%body_tag%>
 <center>
-<%include header.txt%>
+<%include include_header.html%>
 <%body_table%>
 <tr><td colspan=2 align=center>
-<%include menu.txt%><br><%include search_bar.htm%>
+<%include include_menu.html%><br><%include include_search_bar.html%>
 </td></tr>
-<tr><td width=6 bgcolor=black><img src="<%url_images%>BlackShim.gif" width=6 height=100></td>
+<tr><td width=6 bgcolor=black><img src="<%build_images_url%>/default/BlackShim.gif" width=6 height=100></td>
     <td valign=top>
 <table border=0 width="100%" cellpadding=3 cellspacing=0>
                <%header_row%><td width=200>
         <%header_font%> RATE A LINK:<%/header_font%></td>
-               <td width="540" bgcolor=white><img src="<%url_images%>ClearShim.gif" width=540 height=3>
+        <td width="540" bgcolor=white><img src="<%build_images_url%>/default/ClearShim.gif" width=540 height=3>
                 </td></tr>
        <tr><td colspan=2>&nbsp;</td></tr>
        <tr><td colspan=2><%body_font%>
+    <%if error%>
+        <p><%error_font%><b><%error%></b></font></p>
+    <%endif%>
     <form action="<%db_cgi_url%>/rate.cgi" method="POST">
         <input type=hidden name="ID" value="<%ID%>">
         Please rate the link <b><a href="<%URL%>"><%Title%></a></b> between one and ten, with ten being tops.
@@ -45,10 +55,10 @@
     </form></font>
        </td></tr></table>
 <tr><td colspan=2>
-<img src="<%url_images%>BlackShim.gif" border=0 height=1 width="<%body_width%>" align=top>
-<%include menu.txt%></td></tr>
+<img src="<%build_images_url%>/default/BlackShim.gif" border=0 height=1 width="<%body_width%>" align=top>
+<%include include_menu.html%></td></tr>
 </table>
-<%include footer.txt%>
+<%include include_footer.html%>
 </center>
 </body>
 </html>
Index: default/rate_success.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/cgi/admin/templates/default/rate_success.html,v
retrieving revision 1.4
retrieving revision 1.9
diff -u -b -r1.4 -r1.9
--- default/rate_success.html   18 May 2001 23:47:02 -0000      1.4
+++ default/rate_success.html   30 Dec 2001 19:39:00 -0000      1.9
@@ -1,4 +1,8 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<%-- 
+    File        : rate_success.html 
+    Description : This file is displayed after a user successfully votes for a link.
+    Tags        : You have all the properties of the link voted for.
+--%>
 <html>

 <head>
@@ -8,27 +12,27 @@

 <%body_tag%>
 <center>
-<%include header.txt%>
+<%include include_header.html%>
 <%body_table%>
 <tr><td colspan=2 align=center>
-<%include menu.txt%><br><%include search_bar.htm%>
+<%include include_menu.html%><br><%include include_search_bar.html%>
 </td></tr>
-<tr><td width=6 bgcolor=black><img src="<%url_images%>BlackShim.gif" width=6 height=100></td>
+<tr><td width=6 bgcolor=black><img src="<%build_images_url%>/default/BlackShim.gif" width=6 height=100></td>
     <td valign=top>
 <table border=0 width="100%" cellpadding=3 cellspacing=0>
                <%header_row%><td width=200>
         <%header_font%> RATE A LINK:<%/header_font%></td>
-               <td width="540" bgcolor=white><img src="<%url_images%>ClearShim.gif" width=540 height=3>
+        <td width="540" bgcolor=white><img src="<%build_images_url%>/default/ClearShim.gif" width=540 height=3>
                 </td></tr>
        <tr><td colspan=2>&nbsp;</td></tr>
        <tr><td colspan=2><%body_font%>
 Thank you for your vote.
        </font></td></tr></table>
 <tr><td colspan=2>
-<img src="<%url_images%>BlackShim.gif" border=0 height=1 width="<%body_width%>" align=top>
-<%include menu.txt%></td></tr>
+<img src="<%build_images_url%>/default/BlackShim.gif" border=0 height=1 width="<%body_width%>" align=top>
+<%include include_menu.html%></td></tr>
 </table>
-<%include footer.txt%>
+<%include include_footer.html%>
 </center>
 </body>
 </html>
Index: default/rate_top.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/cgi/admin/templates/default/rate_top.html,v
retrieving revision 1.3
retrieving revision 1.8
diff -u -b -r1.3 -r1.8
--- default/rate_top.html       18 May 2001 23:47:02 -0000      1.3
+++ default/rate_top.html       30 Dec 2001 19:39:00 -0000      1.8
@@ -1,4 +1,13 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<%-- 
+    File        : rate_top.html 
+    Description : This file displays the top 10 links with the most votes and highest
+                  rating.
+    Tags        : You can either use any of the following tags:
+                    top_rated      => a list of the top rated links
+                    top_votes      => a list of the links with the most votes
+                    top_rated_loop => a loop of all the links with the top ratings
+                    top_votes_loop => a loop of all the links with the top votes
+--%>
 <html>

 <head>
@@ -8,44 +17,55 @@

 <%body_tag%>
 <center>
-<%include header.txt%>
+<%include include_header.html%>
 <%body_table%>
 <tr><td colspan=2 align=center>
-<%include menu.txt%><br><%include search_bar.htm%>
+<%include include_menu.html%><br><%include include_search_bar.html%>
 </td></tr>
-<tr><td width=6 bgcolor=black><img src="<%url_images%>BlackShim.gif" width=6 height=100></td>
+<tr><td width=6 bgcolor=black><img src="<%build_images_url%>/default/BlackShim.gif" width=6 height=100></td>
     <td valign=top>
-<table border=0 width="100%" cellpadding=3 cellspacing=0>
+    <table border=0 width="100%" cellpadding=3 cellspacing=0>
                <%header_row%><td width="35%">
         <%header_font%> TOP 10 by rating (10 votes or more):<%/header_font%></td>
-               <td width="65%" bgcolor=white><img src="<%url_images%>ClearShim.gif" width=540 height=3>
+        <td width="65%" bgcolor=white><img src="<%build_images_url%>/default/ClearShim.gif" width=540 height=3>
                 </td></tr>
        <tr><td colspan=2>&nbsp;</td></tr>
        <tr><td colspan=2>
             <table border=1 cellpadding=3 cellspacing=0>
             <tr><%body_font%><th><strong>Rating</strong></th><th><strong># Votes</strong></th><th align=left><strong>Resource</strong></th></font></tr>
-            <%body_font%><%top_rated%></font>
+            <%loop top_rated_loop%>
+                <tr><td align=center><%Rating%></td>
+                    <td align=center><%Votes%></td>
+                    <td><a href="<%URL%>"><%Title%></a></td>
+                </tr>
+            <%endloop%>
             </table></td></tr>
        <tr><td colspan=2>&nbsp;</td></tr>
        </td></tr></table>
        <table border=0 width="100%" cellpadding=3 cellspacing=0>
                <%header_row%><td width="35%">
         <%header_font%> TOP 10 by votes (10 votes or more):<%/header_font%></td>
-               <td width="65%" bgcolor=white><img src="<%url_images%>ClearShim.gif" width=540 height=3>
+        <td width="65%" bgcolor=white><img src="<%build_images_url%>/default/ClearShim.gif" width=540 height=3>
                 </td></tr>
        <tr><td colspan=2>&nbsp;</td></tr>
        <tr><td colspan=2>
             <table border=1 cellpadding=3 cellspacing=0>
             <tr><%body_font%><th><strong>Rating</strong></th><th><strong># Votes</strong></th><th align=left><strong>Resource</strong></th></font></tr>
-            <%body_font%><%top_votes%></font>
-            </table></td></tr>
+            <%loop top_votes_loop%>
+                <tr><td align=center><%Rating%></td>
+                    <td align=center><%Votes%></td>
+                    <td><a href="<%URL%>"><%Title%></a></td>
+                </tr>
+            <%endloop%>
+            </table>
+    </td></tr>
        <tr><td colspan=2>&nbsp;</td></tr>
        </td></tr></table>
 <tr><td colspan=2>
-<img src="<%url_images%>BlackShim.gif" border=0 height=1 width="<%body_width%>" align=top>
-<%include menu.txt%></td></tr>
+<img src="<%build_images_url%>/default/BlackShim.gif" border=0 height=1 width="<%body_width%>" align=top>
+<%include include_menu.html%></td></tr>
 </table>
-<%include footer.txt%>
+<%include include_footer.html%>
 </center>
 </body>
 </html>
Index: default/search.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/cgi/admin/templates/default/search.html,v
retrieving revision 1.4
retrieving revision 1.10
diff -u -b -r1.4 -r1.10
--- default/search.html 18 May 2001 23:47:02 -0000      1.4
+++ default/search.html 30 Dec 2001 19:39:00 -0000      1.10
@@ -1,27 +1,31 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<%-- 
+    File        : search.html 
+    Description : This file displays the search form, no special tags are 
+                  available.
+--%>
 <html>

 <head>
-<title><%site_title%>: News Letter</title>
+<title><%site_title%>: Search Form</title>
 <%css%>
 </head>

 <%body_tag%>
 <center>
-<%include header.txt%>
+<%include include_header.html%>
 <%body_table%>
   <tr><td colspan=2 align=center valign=top>
-  <%include menu.txt%>
+  <%include include_menu.html%>
 <tr height=2><td colspan=2 valign=bottom align=center height=2 width="<%body_width%>">
-  <img src="<%url_images%>YellowShim.gif" width="<%body_width%>" height=2 border=0 align=bottom>&nbsp;
+  <img src="<%build_images_url%>/default/YellowShim.gif" width="<%body_width%>" height=2 border=0 align=bottom>&nbsp;
   </td></tr>
   <tr><td width=6 bgcolor=black>
-  <img src="<%url_images%>BlackShim.gif" width=6 height=100></td>
+  <img src="<%build_images_url%>/default/BlackShim.gif" width=6 height=100></td>
       <td valign=top>
          <table border=0 width="<%body_width%>" cellpadding=3 cellspacing=0>
                   <%header_row%><td width="30%">
            <%header_font%> SEARCH OPTIONS:<%/header_font%></td>
-                  <td width="70%" bgcolor=white><img src="<%url_images%>ClearShim.gif" width="300" height=3>
+           <td width="70%" bgcolor=white><img src="<%build_images_url%>/default/ClearShim.gif" width="300" height=3>
                   </td></tr>

                <tr><td colspan=2>&nbsp;</td></tr>
@@ -30,6 +34,9 @@
             <table border="0" cellpadding="0" cellspacing="0">
                            <form action="<%db_cgi_url%>/search.cgi" method="GET">
                 <tr><td colspan=2><%body_font%>
+                <%if error%>
+                    <p><%error_font%><b><%error%></b></font></p>
+                <%endif%>
                                Search: <input type="TEXT" name="query" size="30">
                                <input type="Submit" value="Search">
                                <hr noshade color="#003366" width="100%">
@@ -57,10 +64,10 @@
                </table></td></tr>

 <tr><td colspan=2>
-<img src="<%url_images%>BlackShim.gif" border=0 height=1 width="<%body_width%>" align=top>
-<%include menu.txt%></td></tr>
+<img src="<%build_images_url%>/default/BlackShim.gif" border=0 height=1 width="<%body_width%>" align=top>
+<%include include_menu.html%></td></tr>
 </table>
-<%include footer.txt%>
+<%include include_footer.html%>
 </center>
 </body>
 </html>
Index: default/search_results.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/cgi/admin/templates/default/search_results.html,v
retrieving revision 1.5
retrieving revision 1.11
diff -u -b -r1.5 -r1.11
--- default/search_results.html 18 May 2001 23:47:02 -0000      1.5
+++ default/search_results.html 30 Dec 2001 19:39:00 -0000      1.11
@@ -1,8 +1,22 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<%-- 
+    File        : search_results.html 
+    Description : This file displays the search results.
+    Tags        : The following tags are available:
+                    link_results          => a listing of all the matching links
+                    link_results_loop     => a loop of all matching links
+                    category_results      => a listing of all matching category results
+                    category_results_loop => a loop of matching categories
+                    link_hits => a count of the number of matching links
+                    cat_hits  => a count of the number of matching categories
+                    next      => a toolbar for the next page of results: 1 2 3 > >>
+                    query     => what the user searched for unescaped.
+                    term      => what the user searched for escaped, useful for passing into
+                                 other search engines
+--%>
 <html>

 <head>
-<title><%site_title%>: <%category_name%></title>
+<title><%site_title%>: Search Results</title>

 <%if meta_name%>
     <meta name="description" content="<%meta_name%>">
@@ -15,13 +29,13 @@
 </head>
 <%body_tag%>
 <center>
-<%include header.txt%>
+<%include include_header.html%>
 <%body_table%>
 <tr><td colspan=2 align=center>
-<%include menu.txt%><br><%include search_bar.htm%>
+<%include include_menu.html%><br><%include include_search_bar.html%>
 </td></tr>

-<tr><td width=6 bgcolor=black><img src="<%url_images%>BlackShim.gif" width=6 height=20></td>
+<tr><td width=6 bgcolor=black><img src="<%build_images_url%>/default/BlackShim.gif" width=6 height=20></td>
     <td>
           <table border=0 width="<%body_width%>" cellpadding=3 cellspacing=0>
           <tr><td height=30 width="100%" colspan=2><%body_font%>
@@ -34,17 +48,17 @@
 <!-- Next/Previous links if spanning pages. -->
         <tr><td colspan=2 align=right><%body_font%>
         <small>Pages: <%next%></small></font>
-               <img src="<%url_images%>ClearShim.gif" width="100%" height="10" border=0></td></tr>
+        <img src="<%build_images_url%>/default/ClearShim.gif" width="100%" height="10" border=0></td></tr>
     <%endif%>

     <!-- Subcategories-->
     <%if category_results%>
        <%header_row%><td width=200>
                <%header_font%>CATEGORIES:<%/header_font%></td>
-               <td bgcolor="white"><img src="<%url_images%>ClearShim.gif" border=0 width="540" height=1></td></tr>
+        <td bgcolor="white"><img src="<%build_images_url%>/default/ClearShim.gif" border=0 width="540" height=1></td></tr>
                <tr><td colspan=2><%body_font%>
         <ul><%category_results%></ul></font>
-               <img src="<%url_images%>ClearShim.gif" width="100%" height="10" border=0>
+        <img src="<%build_images_url%>/default/ClearShim.gif" width="100%" height="10" border=0>
                </td></tr>
     <%endif%>

@@ -52,19 +66,19 @@
     <%if link_results%>
                <%header_row%><td width=200>
         <%header_font%>LINKS:<%/header_font%></td>
-               <td bgcolor="white"><img src="<%url_images%>ClearShim.gif" border=0 width="540" height=1></td></tr>
+        <td bgcolor="white"><img src="<%build_images_url%>/default/ClearShim.gif" border=0 width="540" height=1></td></tr>
                <tr><td colspan=2>

                    <!-- Next/Previous links if spanning pages. -->
             <%if next_span%>
                  <tr><td colspan=2><%body_font%>
                  <small>Pages: <%next_span%></small></font>
-                        <img src="<%url_images%>ClearShim.gif" width="100%" height="10" border=0></td></tr>
+                 <img src="<%build_images_url%>/default/ClearShim.gif" width="100%" height="10" border=0></td></tr>
             <%endif%>

                <%body_font%>
         <%link_results%></font>
-               <img src="<%url_images%>ClearShim.gif" width="100%" height="10" border=0>
+        <img src="<%build_images_url%>/default/ClearShim.gif" width="100%" height="10" border=0>
                </td></tr>
     <%endif%>

@@ -72,16 +86,16 @@
 <!-- Next/Previous links if spanning pages. -->
         <tr><td colspan=2 align=right><%body_font%>
         <small>Pages: <%next%></small></font>
-               <img src="<%url_images%>ClearShim.gif" width="100%" height="10" border=0></td></tr>
+        <img src="<%build_images_url%>/default/ClearShim.gif" width="100%" height="10" border=0></td></tr>
     <%endif%>

 </table></td></tr>

 <tr><td align=top colspan=2>
-<img src="<%url_images%>BlackShim.gif" border=0 height=1 width="<%body_width%>" align=top>
-<%include menu.txt%>
+<img src="<%build_images_url%>/default/BlackShim.gif" border=0 height=1 width="<%body_width%>" align=top>
+<%include include_menu.html%>
 </td></tr></table>
-<%include footer.txt%>
+<%include include_footer.html%>
 </center>
 </body>
 </html>
Index: default/signup_form.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/cgi/admin/templates/default/signup_form.html,v
retrieving revision 1.4
retrieving revision 1.10
diff -u -b -r1.4 -r1.10
--- default/signup_form.html    18 May 2001 23:47:02 -0000      1.4
+++ default/signup_form.html    30 Dec 2001 19:39:00 -0000      1.10
@@ -1,4 +1,12 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<%-- 
+    File        : signup_form.html 
+    Description : This template displays a signup form where users can 
+                  create a new account.
+    Tags        : All the properties of the user are available on this page,
+                  plus:
+                    error   => An error message if the user tried to sign
+                               up and their was a problem.
+--%>
 <html>

 <head>
@@ -8,16 +16,16 @@

 <%body_tag%>
 <center>
-<%include header.txt%>
+<%include include_header.html%>
 <%body_table%>
 <tr><td align=center>
-<%include menu.txt%><br><%include search_bar.htm%>
+<%include include_menu.html%><br><%include include_search_bar.html%>
   </td></tr>
   <tr><td align=center>

     <table border=0 width="100%" cellpadding=0 cellspacing=0>
        <tr><td bgcolor=black width=6 rowspan=2>
-           <img src="<%url_images%>ClearShim.gif" width=6 height="200"></td>
+        <img src="<%build_images_url%>/default/ClearShim.gif" width=6 height="200"></td>
            <td valign=top>

            <table border=0 width="100%" cellpadding=3 cellspacing=0>
@@ -35,7 +43,7 @@
                 <tr><td align="right" valign="top"><%body_font%>Username:</font></td>
                     <td><input name="Username" value="<%Username%>" size="50"></td></tr>
                 <tr><td align="right" valign="top"><%body_font%>Password:</font></td>
-                    <td><input name="Password" size="50" value="<%Password%>"></td></tr>
+                    <td><input name="Password" type="password" size="50" value="<%Password%>"></td></tr>
                 <tr><td align="right" valign="top"><%body_font%>Email:</font></td>
                     <td><input name="Email" size="50" value="<%Email%>"></td></tr>
                 <tr><td></td><td><%body_font%>
@@ -47,11 +55,11 @@
         </td></tr></table>

   <tr><td>
-  <img src="<%url_images%>BlackShim.gif" border=0 height=1 width="<%body_width%>" align=top>
-<%include menu.txt%>
+  <img src="<%build_images_url%>/default/BlackShim.gif" border=0 height=1 width="<%body_width%>" align=top>
+<%include include_menu.html%>
 </td></tr>
 </table>
-<%include footer.txt%>
+<%include include_footer.html%>
 </center>
 </body>
 </html>
Index: default/signup_success.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/cgi/admin/templates/default/signup_success.html,v
retrieving revision 1.5
retrieving revision 1.10
diff -u -b -r1.5 -r1.10
--- default/signup_success.html 24 May 2001 01:01:52 -0000      1.5
+++ default/signup_success.html 30 Dec 2001 19:39:00 -0000      1.10
@@ -1,4 +1,11 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<%-- 
+    File        : signup_success.html 
+    Description : This template is displayed after a user successfully signs
+                  up for an account.
+    Tags        : All the properties of the user are available on this page, plus
+                    Validation  => A flag set to true if the user must first validate
+                                   their account.
+--%>
 <html>

 <head>
@@ -8,16 +15,16 @@

 <%body_tag%>
 <center>
-<%include header.txt%>
+<%include include_header.html%>
 <%body_table%>
 <tr><td align=center>
-<%include menu.txt%><br><%include search_bar.htm%>
+<%include include_menu.html%><br><%include include_search_bar.html%>
   </td></tr>
   <tr><td align=center valign=top>

     <table border=0 width="100%" cellpadding=0 cellspacing=0>
        <tr><td bgcolor=black width=6 rowspan=2>
-           <img src="<%url_images%>ClearShim.gif" width=6 height="200"></td>
+        <img src="<%build_images_url%>/default/ClearShim.gif" width=6 height="200"></td>
            <td>

            <table border=0 width="100%" cellpadding=3 cellspacing=0>
@@ -29,8 +36,7 @@
 <%if Validation%>
 <%body_font%>Thanks, an email has been sent to you with a validation code. Once you receive it, you'll
 need to enter a <a class="category_links" href="<%db_cgi_url%>/user.cgi?validate=1">validation code</a>.
-<%endif%>
-<%ifnot Validation%>
+<%else%>
 <p>You have now successfully registered.</p>
 <%endif%>

@@ -39,11 +45,11 @@
         </font></td></tr></table>

   <tr><td>
-  <img src="<%url_images%>BlackShim.gif" border=0 height=1 width="<%body_width%>" align=top>
-<%include menu.txt%>
+  <img src="<%build_images_url%>/default/BlackShim.gif" border=0 height=1 width="<%body_width%>" align=top>
+<%include include_menu.html%>
 </td></tr>
 </table>
-<%include footer.txt%>
+<%include include_footer.html%>
 </center>
 </body>
 </html>
Index: default/subcategory.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/cgi/admin/templates/default/subcategory.html,v
retrieving revision 1.4
retrieving revision 1.9
diff -u -b -r1.4 -r1.9
--- default/subcategory.html    18 May 2001 23:47:02 -0000      1.4
+++ default/subcategory.html    30 Dec 2001 19:49:35 -0000      1.9
@@ -1,14 +1,27 @@
+<%-- 
+    File        : subcategory.html 
+    Description : This template is used when creating your list of
+                  subcategories (either on the home page, or the category
+                  page).
+    Tags        : All the properties of the category being added are available, plus:
+                    Short_Name => The last part of the category name
+                    Related    => A flag saying this is a related category
+--%>
 <table border=0 cellpadding=3 cellspacing=0><tr>
+
+<%-- This is only useful if you have added an Image column to your category table --%>
 <%if Image%>
-<td width=30 align=center valign=top>
-<img src="<%url_images%><%Image%>" border=0></td>
+    <td width=30 align=center valign=top>
+        <img src="<%build_images_url%>/default/<%Image%>" border=0></td>
 <%else%>
-<td width=25>&nbsp;</td>
+    <td width=25>&nbsp;</td>
 <%endif%>
+
 <td>
 <%body_font%><b><a class="category_links" href="<%URL%>"><%Short_Name%><%if Related%>@<%endif%></a></b> <small><i>(<%Number_of_Links%>)</i></small>
 <%if Has_New_Links eq 'Yes'%><font color="red"><small><sup>new</sup></small></font><%endif%>
 <%if Has_Changed_Links eq 'Yes'%><font color="red"><small><sup>updated</sup></small></font><%endif%>
-<%if Description%><br><%body_font%><%Description%></font><%endif%>
+<%if Description%><br><%Description%><%endif%>
+</font>
 </td></tr>
 </table>
\ No newline at end of file
Index: default/validate_form.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/cgi/admin/templates/default/validate_form.html,v
retrieving revision 1.4
retrieving revision 1.9
diff -u -b -r1.4 -r1.9
--- default/validate_form.html  18 May 2001 23:47:02 -0000      1.4
+++ default/validate_form.html  30 Dec 2001 19:39:00 -0000      1.9
@@ -1,4 +1,11 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<%-- 
+    File        : validate_form.html 
+    Description : This template is used when a user is validating their
+                  account.
+    Tags        : The only special tag is:
+                    error => A message saying the account could not be 
+                             validated.
+--%>
 <html>

 <head>
@@ -8,16 +15,16 @@

 <%body_tag%>
 <center>
-<%include header.txt%>
+<%include include_header.html%>
 <%body_table%>
 <tr><td align=center>
-<%include menu.txt%><br><%include search_bar.htm%>
+<%include include_menu.html%><br><%include include_search_bar.html%>
   </td></tr>
   <tr><td align=center>

     <table border=0 width="100%" cellpadding=0 cellspacing=0>
        <tr><td bgcolor=black width=6>
-           <img src="<%url_images%>ClearShim.gif" width=6 height="200"></td>
+        <img src="<%build_images_url%>/default/ClearShim.gif" width=6 height="200"></td>
            <td valign=top>

            <table border=0 width="100%" cellpadding=3 cellspacing=0>
@@ -44,11 +51,11 @@
        </td></tr></table>

   <tr><td colspan=2>
-  <img src="<%url_images%>BlackShim.gif" border=0 height=1 width="<%body_width%>" align=top>
-<%include menu.txt%>
+  <img src="<%build_images_url%>/default/BlackShim.gif" border=0 height=1 width="<%body_width%>" align=top>
+<%include include_menu.html%>
 </td></tr>
 </table> </td></tr></table>
-<%include footer.txt%>
+<%include include_footer.html%>
 </center>
 </body>
 </html>
Index: default/validate_success.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/cgi/admin/templates/default/validate_success.html,v
retrieving revision 1.5
retrieving revision 1.10
diff -u -b -r1.5 -r1.10
--- default/validate_success.html       24 May 2001 01:02:37 -0000      1.5
+++ default/validate_success.html       30 Dec 2001 19:39:00 -0000      1.10
@@ -1,4 +1,8 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<%-- 
+    File        : validate_success.html 
+    Description : This file is displayed after a user successfully validates their account.
+    Tags        : All the properties of the user are available on this page.
+--%>
 <html>

 <head>
@@ -8,16 +12,16 @@

 <%body_tag%>
 <center>
-<%include header.txt%>
+<%include include_header.html%>
 <%body_table%>
 <tr><td align=center>
-<%include menu.txt%><br><%include search_bar.htm%>
+<%include include_menu.html%><br><%include include_search_bar.html%>
   </td></tr>
   <tr><td align=center>

     <table border=0 width="100%" cellpadding=0 cellspacing=0>
        <tr><td bgcolor=black width=6 rowspan=2>
-           <img src="<%url_images%>ClearShim.gif" width=6 height="200"></td>
+        <img src="<%build_images_url%>/default/ClearShim.gif" width=6 height="200"></td>
            <td>

            <table border=0 width="100%" cellpadding=3 cellspacing=0>
@@ -32,11 +36,11 @@
         </td></tr></table>

   <tr><td>
-  <img src="<%url_images%>BlackShim.gif" border=0 height=1 width="<%body_width%>" align=top>
-<%include menu.txt%>
+  <img src="<%build_images_url%>/default/BlackShim.gif" border=0 height=1 width="<%body_width%>" align=top>
+<%include include_menu.html%>
 </td></tr>
 </table>
-<%include footer.txt%>
+<%include include_footer.html%>
 </center>
 </body>
 </html>