Index: av/add.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/templates/av/add.html,v
retrieving revision 1.3
retrieving revision 1.5
diff -u -b -r1.3 -r1.5
--- av/add.html 24 Jan 2002 01:16:01 -0000      1.3
+++ av/add.html 3 May 2004 22:22:12 -0000       1.5
@@ -21,11 +21,13 @@
 <%include include_header.html%>^M
 ^M
 <!-- Header -->^M
-<table width="70%" cellpadding=8 cellspacing=0 border=0 bgcolor="#ffcc00"><tr>^M
+<table width="70%" cellpadding=8 cellspacing=0 border=0 bgcolor="#ffcc00">
+  <tr>
     <td class="bgtxt">^M
-Add A Resource^M
+      Add A Resource
        </td>^M
-</tr></table>^M
+  </tr>
+</table>
 ^M
 <!-- Content -->^M
 <form action="<%db_cgi_url%>/add.cgi" method="POST">^M
@@ -39,6 +41,7 @@
          <%endif%>^M
                <table border ="0" cellspacing="3" cellpadding="0" width="100%">^M
                        <%include include_form.html%>^M
+      <%if user_may_upload_attachments%> <%include include_attachment_form.html%> <%endif%>
                        <tr><td colspan="2" align="center"> <br><br>^M
                                <center><input type="SUBMIT" name="add" value="Add Resource"></center>^M
                        </td></tr>^M
Index: av/link.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/templates/av/link.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- av/link.html        23 Jan 2002 21:55:20 -0000      1.2
+++ av/link.html        1 May 2004 02:32:07 -0000       1.3
@@ -8,32 +8,67 @@
                     isLinkOwner  => True if the logged in user owns this link (used to^M
                                     provide a link to the modify form).^M
 --%>^M
-<ul><li><a class="link" href="<%db_cgi_url%>/jump.cgi?ID=<%ID%>"><%Title%></a>^M
-^M
-<%if Description%>^M
-  <span class="descript">- <%Description%></span>^M
-<%endif%>^M
+<ul>
+<li><%body_font%><a class="category_links" target="_blank" href="<%db_cgi_url%>/jump.cgi?ID=<%ID%>"><%Title%></a></font>
 ^M
 <%if isNew%>^M
-  &nbsp;<small><sup class="new">new</sup></small>^M
+  &nbsp;<font color=red><small><sup>new</sup></small></font>
 <%endif%>^M
 ^M
 <%if isChanged%>^M
-  &nbsp;<small><sup class="new">update</sup></small>^M
+  &nbsp;<font color=red><small><sup>updated</sup></small></font>
 <%endif%>^M
 ^M
 <%if isPopular%>^M
-  &nbsp;<small><sup class="pop">pop</sup></small>^M
+  &nbsp;<font color="#6699cc"><small><sup class="pop">pop</sup></small></font>
+<%endif%>
+
+<%if paymentsEnabled and isUnpaid%>
+  &nbsp;<font color="red"><small><sup class="pop">unpaid</sup></small></font>
+<%endif%>
+
+<%if paymentsEnabled and isExpired%>
+  &nbsp;<font color="red"><small><sup class="pop">expired</sup></small></font>
+<%endif%>
+
+<%if paymentsEnabled and isFree%>
+  &nbsp;<font color="red"><small><sup class="pop">free</sup></small></font>
+<%endif%>
+
+<br>
+
+<%if Description%>
+  <%body_font%><%Description%></font><br>
+<%endif%>
+
+<%if URL%>
+  <%body_font%><small><%URL%></small></font><br>
 <%endif%>^M
 ^M
-<small class="date">(Added: <%Add_Date%> Hits: <%Hits%>  Rating: <%Rating%> Votes: <%Votes%>) <a href="<%db_cgi_url%>/rate.cgi?ID=<%ID%>">Rate It</a></small>^M
+<%if paymentsEnabled and ExpiryDateFormatted and not isFree%>
+  <%body_font%><small>(<%if isNotify or isExpired%><font color="red"><%endif%><%if isExpired%>Expired on:<%else%>Expiry date:<%endif%> <%ExpiryDateFormatted%><%if isNotify or isExpired%></font><%endif%>)</small></font><br>
+<%endif%>
+
+<%if Review_Count %>
+  <%body_font%><small><a href="<%db_cgi_url%>/review.cgi?ID=<%ID%>">Read <%Review_Count%> Reviews</a></small></font><br>
+<%endif%>
 ^M
-<%if Review_Count%>^M
-  &nbsp;<small class="date"><a href="<%db_cgi_url%>/review.cgi?ID=<%ID%>">Read <%Review_Count%> Reviews</a></small>^M
+<%body_font%><small>(Added: <%Add_Date%> Hits: <%Hits%>  Rating: <%Rating%> Votes: <%Votes%>)
+<%if isValidated eq 'Yes'%>
+&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>
 <%endif%>^M
-  &nbsp;<small class="date"><a href="<%db_cgi_url%>/review.cgi?ID=<%ID%>&add_review=1">Review It</a></small>^M
-<%if isLinkOwner%>^M
-  &nbsp;<small class="date"><a href="<%db_cgi_url%>/modify.cgi?LinkID=<%ID%>">Update</a></small>^M
+<%if detailed_url and isValidated eq 'Yes'%>
+    &nbsp;<a href="<%detailed_url%>">Details</a>
+<%endif%>
+<%if isLinkOwner and isValidated eq 'Yes'%>
+    &nbsp;<a href="<%db_cgi_url%>/modify.cgi?LinkID=<%ID%>">Edit this link</a>
 <%endif%>^M
 ^M
+<%if paymentsEnabled%>
+&nbsp; <a href="<%db_cgi_url%>/modify.cgi?do=payment_linked;process_payment=1;modify=1;ID=<%ID%>"><%if isUnpaid or isFree%>New Payment<%else%>Renewal Payment<%endif%></a>
+<%endif%>
+</small>
+</font>
+<br>
 </ul>
\ No newline at end of file
Index: av/modify.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/templates/av/modify.html,v
retrieving revision 1.2
retrieving revision 1.4
diff -u -b -r1.2 -r1.4
--- av/modify.html      23 Jan 2002 21:55:20 -0000      1.2
+++ av/modify.html      3 May 2004 22:22:12 -0000       1.4
@@ -35,6 +35,7 @@
          <%endif%>^M
                <table border ="0" cellspacing="3" cellpadding="0" width="100%">^M
                        <%include include_form.html%>^M
+      <%if user_may_upload_attachments%> <%include include_attachment_form.html%> <%endif%>
                        <tr><td colspan="2" align="center"> <br><br>^M
                                <center><input type="SUBMIT" name="modify" value="Modify Resource"></center>^M
                        </td></tr>^M
Index: av/modify_select.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/templates/av/modify_select.html,v
retrieving revision 1.3
retrieving revision 1.5
diff -u -b -r1.3 -r1.5
--- av/modify_select.html       24 Jan 2002 01:16:01 -0000      1.3
+++ av/modify_select.html       3 May 2004 22:22:12 -0000       1.5
@@ -38,8 +38,10 @@
                <p>Please pick which link you would like to update: <br>^M
                <table border=0>^M
                <%loop link_results_loop%>^M
-                       <tr><td><input type=radio name=LinkID value="<%ID%>"></td><td>^M
-                       <%Links::Utils::load_link%>^M
+    <tr><td valign=top><%if isValidated eq 'Yes'%><input type=radio name=LinkID value="<%ID%>" align=top><%endif%></td>
+      <td>
+        <%Links::Utils::load_link_info%>
+        <%include link.html%>
                        </td></tr>^M
                <%endloop%>^M
                </table>^M
Index: av/modify_success.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/templates/av/modify_success.html,v
retrieving revision 1.3
retrieving revision 1.5
diff -u -b -r1.3 -r1.5
--- av/modify_success.html      24 Jan 2002 01:16:01 -0000      1.3
+++ av/modify_success.html      3 May 2004 22:22:12 -0000       1.5
@@ -27,7 +27,13 @@
        <tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>^M
        <td width="100%" valign="top">^M
          <br>^M
-      <p>We have received the following link:</p>^M
+    <p> 
+      <%if payment_term eq 'free'%>
+        Your link has been changed to a free link:
+      <%else%>
+        We have received the following link:
+      <%endif%>
+    </p>
 <pre>          Title:  <%Title%>^M
             URL:  <%URL%>^M
        Category:  <%Category%>^M
@@ -35,8 +41,7 @@
    Contact Name:  <%Contact_Name%>^M
   Contact Email:  <%Contact_Email%>^M
 </pre>              ^M
-    ^M
-    <p>Thank you! We will send you an email once your record has been validated.</p>^M
+  <%if payment_term ne 'free' %><p>Thank you! We will send you an email once your record has been validated.</p><%endif%>
   </td></tr>^M
 </table>^M
 ^M
Index: av/review_add.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/templates/av/review_add.html,v
retrieving revision 1.1
retrieving revision 1.3
diff -u -b -r1.1 -r1.3
--- av/review_add.html  23 Jan 2002 21:55:20 -0000      1.1
+++ av/review_add.html  3 May 2004 22:22:12 -0000       1.3
@@ -31,7 +31,7 @@
               <%error_font%><b><%error%></b>^M
             </p>^M
           <%endif%>^M
-          <%if URL%><%Links::Utils::load_link%><%endif%>^M
+          <%if URL%><%Links::Utils::load_link_info%><%include link.html%><%endif%>
           </td> ^M
         </tr> ^M
       </table> ^M
Index: av/review_add_success.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/templates/av/review_add_success.html,v
retrieving revision 1.1
retrieving revision 1.3
diff -u -b -r1.1 -r1.3
--- av/review_add_success.html  23 Jan 2002 21:55:20 -0000      1.1
+++ av/review_add_success.html  3 May 2004 22:22:12 -0000       1.3
@@ -24,7 +24,7 @@
         </tr>^M
         <tr>^M
           <td colspan="2">^M
-            <%if URL%><%Links::Utils::load_link%><%endif%>^M
+            <%if URL%><%Links::Utils::load_link_info%><%include link.html%><%endif%>
           </td>^M
         </tr> ^M
         <tr>^M
Index: av/review_edit.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/templates/av/review_edit.html,v
retrieving revision 1.1
retrieving revision 1.3
diff -u -b -r1.1 -r1.3
--- av/review_edit.html 23 Jan 2002 21:55:20 -0000      1.1
+++ av/review_edit.html 3 May 2004 22:22:12 -0000       1.3
@@ -36,7 +36,7 @@
              <%error_font%><b><%error%></b></font>^M
             </p>^M
           <%endif%>^M
-            <%if URL%><%Links::Utils::load_link%><%endif%>^M
+          <%if URL%><%Links::Utils::load_link_info%><%include link.html%><%endif%>
           </td> ^M
         </tr> ^M
       </table> ^M
Index: av/review_edit_success.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/templates/av/review_edit_success.html,v
retrieving revision 1.1
retrieving revision 1.3
diff -u -b -r1.1 -r1.3
--- av/review_edit_success.html 23 Jan 2002 21:55:20 -0000      1.1
+++ av/review_edit_success.html 3 May 2004 22:22:12 -0000       1.3
@@ -27,7 +27,7 @@
               </tr> ^M
               <tr>^M
                 <td colspan="2">^M
-                  <%if URL%><%Links::Utils::load_link%><%endif%>^M
+                  <%if URL%><%Links::Utils::load_link_info%><%include link.html%><%endif%>
                 </td> ^M
               </tr> ^M
               <tr>^M
Index: av/review_search_results.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/templates/av/review_search_results.html,v
retrieving revision 1.1
retrieving revision 1.3
diff -u -b -r1.1 -r1.3
--- av/review_search_results.html       23 Jan 2002 21:55:20 -0000      1.1
+++ av/review_search_results.html       3 May 2004 22:22:12 -0000       1.3
@@ -40,7 +40,7 @@
                   <%if user%>^M
                     <br><b><%user%></b> has <%Review_Count%> review(s)^M
                   <%elseif ID%>^M
-                    <%Links::Utils::load_link%>^M
+                  <%Links::Utils::load_link_info%><%include link.html%>
                   <%endif%>^M
                   </p>^M
                 <%endif%>^M