Index: simple/add.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/templates/simple/add.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- simple/add.html 24 Jan 2002 18:18:02 -0000 1.2
+++ simple/add.html 1 May 2004 02:32:10 -0000 1.3
@@ -31,6 +31,7 @@
<div class="margin">
<table border ="0" cellspacing="0" cellpadding="0">
<%include include_form.html%>
+ <%if user_may_upload_attachments%> <%include include_attachment_form.html%> <%endif%>
<tr><td></td><td><input type="SUBMIT" name="add" value="Add Resource"></td></tr>
</table>
</div>
Index: simple/link.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/templates/simple/link.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- simple/link.html 24 Jan 2002 18:18:02 -0000 1.3
+++ simple/link.html 1 May 2004 02:32:10 -0000 1.4
@@ -8,30 +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
- <small><sup class="new">new</sup></small>^M
+ <font color=red><small><sup>new</sup></small></font>
<%endif%>^M
^M
<%if isChanged%>^M
- <small><sup class="new">update</sup></small>^M
+ <font color=red><small><sup>updated</sup></small></font>
<%endif%>^M
^M
<%if isPopular%>^M
- <small><sup class="pop">pop</sup></small>^M
+ <font color="#6699cc"><small><sup class="pop">pop</sup></small></font>
<%endif%>^M
^M
-<small class="date">(Added: <%Add_Date%> Hits: <%Hits%> Rating: <%Rating%> Votes: <%Votes%>) ^M
- <a href="<%db_cgi_url%>/rate.cgi?ID=<%ID%>">Rate It</a>^M
- <a href="<%db_cgi_url%>/review.cgi?ID=<%ID%>&add_review=1">Review It</a></small>^M
+<%if paymentsEnabled and isUnpaid%>
+ <font color="red"><small><sup class="pop">unpaid</sup></small></font>
+<%endif%>
+
+<%if paymentsEnabled and isExpired%>
+ <font color="red"><small><sup class="pop">expired</sup></small></font>
+<%endif%>
+
+<%if paymentsEnabled and isFree%>
+ <font color="red"><small><sup class="pop">free</sup></small></font>
+<%endif%>
^M
-<%if isLinkOwner%>^M
- <small class="date"><a href="<%db_cgi_url%>/modify.cgi?LinkID=<%ID%>">Update</a></small>^M
+<br>
+
+<%if Description%>
+ <%body_font%><%Description%></font><br>
<%endif%>^M
^M
+<%if URL%>
+ <%body_font%><small><%URL%></small></font><br>
+<%endif%>
+
+<%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%>
+
+<%body_font%><small>(Added: <%Add_Date%> Hits: <%Hits%> Rating: <%Rating%> Votes: <%Votes%>)
+<%if isValidated eq 'Yes'%>
+ <a href="<%db_cgi_url%>/rate.cgi?ID=<%ID%>">Rate It</a>
+ <a href="<%db_cgi_url%>/review.cgi?ID=<%ID%>&add_review=1">Review It</a>
+<%endif%>
+<%if detailed_url and isValidated eq 'Yes'%>
+ <a href="<%detailed_url%>">Details</a>
+<%endif%>
+<%if isLinkOwner and isValidated eq 'Yes'%>
+ <a href="<%db_cgi_url%>/modify.cgi?LinkID=<%ID%>">Edit this link</a>
+<%endif%>
+
+<%if paymentsEnabled%>
+ <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>^M
Index: simple/modify.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/templates/simple/modify.html,v
retrieving revision 1.2
retrieving revision 1.4
diff -u -b -r1.2 -r1.4
--- simple/modify.html 24 Jan 2002 18:18:02 -0000 1.2
+++ simple/modify.html 3 May 2004 22:22:14 -0000 1.4
@@ -37,6 +37,7 @@
<div class="margin">^M
<table border="0" cellspacing="0" cellpadding="0">^M
<%include include_form.html%> ^M
+ <%if user_may_upload_attachments%> <%include include_attachment_form.html%> <%endif%>
<tr><td></td><td><input type="SUBMIT" name="modify" value="Modify Resource"></td></tr>^M
</table>^M
</div>^M
Index: simple/modify_select.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/templates/simple/modify_select.html,v
retrieving revision 1.2
retrieving revision 1.4
diff -u -b -r1.2 -r1.4
--- simple/modify_select.html 24 Jan 2002 18:18:02 -0000 1.2
+++ simple/modify_select.html 3 May 2004 22:22:14 -0000 1.4
@@ -31,9 +31,13 @@
^M
<table border=0>^M
<%loop link_results_loop%>^M
- <tr><td><input type=radio name=LinkID value="<%ID%>"></td><td>^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%>^M
- </td></tr>^M
+ </td>
+ </tr>
<%endloop%>^M
</table>^M
^M
Index: simple/modify_success.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/templates/simple/modify_success.html,v
retrieving revision 1.2
retrieving revision 1.4
diff -u -b -r1.2 -r1.4
--- simple/modify_success.html 24 Jan 2002 18:18:02 -0000 1.2
+++ simple/modify_success.html 3 May 2004 22:22:14 -0000 1.4
@@ -19,7 +19,13 @@
^M
<%include include_header.html%>^M
^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
@@ -27,8 +33,9 @@
Contact Name: <%Contact_Name%>^M
Contact Email: <%Contact_Email%>^M
</pre> ^M
- ^M
+ <%if payment_term ne 'free'%>
<p>Thank you! We will send you an email once your record has been validated.</p>^M
+ <%endif%>
^M
<%include include_footer.html%>^M
</body>^M
Index: simple/review_add.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/templates/simple/review_add.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- simple/review_add.html 24 Jan 2002 18:18:02 -0000 1.2
+++ simple/review_add.html 1 May 2004 02:32:10 -0000 1.3
@@ -30,7 +30,7 @@
<font color=red><b><%error%></b></font>
</p>
<%endif%>
- <%if URL%><%Links::Utils::load_link%><%endif%>
+ <%if URL%><%Links::Utils::load_link_info%><%include link.html%><%endif%>
</td>
</tr>
</table>
Index: simple/review_add_success.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/templates/simple/review_add_success.html,v
retrieving revision 1.2
retrieving revision 1.4
diff -u -b -r1.2 -r1.4
--- simple/review_add_success.html 24 Jan 2002 18:18:02 -0000 1.2
+++ simple/review_add_success.html 3 May 2004 22:22:14 -0000 1.4
@@ -22,7 +22,7 @@
<table border="0" width="100%" height="100%" cellpadding="3" cellspacing="0"> ^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: simple/review_edit.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/templates/simple/review_edit.html,v
retrieving revision 1.2
retrieving revision 1.4
diff -u -b -r1.2 -r1.4
--- simple/review_edit.html 24 Jan 2002 18:18:02 -0000 1.2
+++ simple/review_edit.html 3 May 2004 22:22:14 -0000 1.4
@@ -28,7 +28,7 @@
<font color=red><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: simple/review_edit_success.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/templates/simple/review_edit_success.html,v
retrieving revision 1.2
retrieving revision 1.4
diff -u -b -r1.2 -r1.4
--- simple/review_edit_success.html 24 Jan 2002 18:18:02 -0000 1.2
+++ simple/review_edit_success.html 3 May 2004 22:22:14 -0000 1.4
@@ -24,7 +24,7 @@
<table border="0" width="100%" height="100%" cellpadding="3" cellspacing="0">^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: simple/review_search_results.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/templates/simple/review_search_results.html,v
retrieving revision 1.2
retrieving revision 1.4
diff -u -b -r1.2 -r1.4
--- simple/review_search_results.html 24 Jan 2002 18:18:02 -0000 1.2
+++ simple/review_search_results.html 3 May 2004 22:22:14 -0000 1.4
@@ -39,7 +39,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
Index: simple/validate_success.html
===================================================================
RCS file: /cvs/gossamer/lsqldev/templates/simple/validate_success.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3