[vhffs-dev] [1236] Add template condition not to display the subscribe link if subscription are closed .

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 1236
Author:   fser
Date:     2008-07-21 10:55:08 +0200 (Mon, 21 Jul 2008)

Log Message:
-----------
Add template condition not to display the subscribe link if subscription are closed.

Modified Paths:
--------------
    trunk/vhffs-panel/templates/main/auth.tmpl


Modified: trunk/vhffs-panel/templates/main/auth.tmpl
===================================================================
--- trunk/vhffs-panel/templates/main/auth.tmpl	2008-07-20 17:36:07 UTC (rev 1235)
+++ trunk/vhffs-panel/templates/main/auth.tmpl	2008-07-21 08:55:08 UTC (rev 1236)
@@ -32,11 +32,14 @@
 			</form>
 			<div id="sub_opts">
 			<ul>
+				<TMPL_IF SUBSCRIBE_OPEN>
 				<li>
 				<a class="loginLinks" href="/subscribe.pl">
 					<TMPL_VAR ESCAPE=1 NAME="TEXT_SUBSCRIBE">
 				</a>
 				</li>
+				</TMPL_IF>
+				
 				<li>
 				<a class="loginLinks" href="/lost.pl">
 					<TMPL_VAR ESCAPE=1 NAME="TEXT_LOSTPASSWORD">


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/