- Timestamp:
- Mar 7, 2013, 10:06:42 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Subscribe_to_comments/template/form_standalone.tpl
r15648 r21340 1 {combine_css path=$SUBSCRIBE_TO_PATH|@cat:'template/style_form.css'} 2 3 {if $STC_ALLOW_GLOBAL} 4 {footer_script require="jquery"}{literal} 5 jQuery("#stc_submit").hide(); 6 jQuery("#stc_standalone input[name='stc_mode']").change(function() { 7 jQuery("#stc_submit").show(); 8 }); 9 {/literal}{/footer_script} 10 {/if} 11 1 12 {if isset($comment_add)} 2 13 <div id="pictureCommentList"> 3 14 <form method="post" action="{$comment_add.F_ACTION}" id="stc_standalone"> 4 <fieldset> 15 <fieldset>{strip} 5 16 {if $SUBSCRIBED_ALL_IMAGES} 6 {'You are currently subscribed to comments on '|@translate} {'all pictures of the gallery'|@translate}.17 {'You are currently subscribed to comments on %s.'|@translate|sprintf:'all pictures of the gallery'|@translate} 7 18 <a href="{$MANAGE_LINK}">{'Manage my subscriptions'|@translate}</a> 8 19 9 20 {elseif $SUBSCRIBED_ALBUM_IMAGES} 10 {'You are currently subscribed to comments on '|@translate} {'all pictures of this album'|@translate}.21 {'You are currently subscribed to comments on %s.'|@translate|sprintf:'all pictures of this album'|@translate} 11 22 <a href="{$UNSUB_LINK}">{'Unsubscribe'|@translate}</a> 12 23 13 24 {elseif $SUBSCRIBED_IMAGE} 14 {'You are currently subscribed to comments on '|@translate} {'this picture'|@translate}.25 {'You are currently subscribed to comments on %s.'|@translate|sprintf:'this picture'|@translate} 15 26 <a href="{$UNSUB_LINK}">{'Unsubscribe'|@translate}</a> 16 27 17 28 {elseif $SUBSCRIBED_ALL_ALBUMS} 18 {'You are currently subscribed to comments on '|@translate} {'all albums of the gallery'|@translate}.29 {'You are currently subscribed to comments on %s.'|@translate|sprintf:'all albums of the gallery'|@translate} 19 30 <a href="{$MANAGE_LINK}">{'Manage my subscriptions'|@translate}</a> 20 31 21 32 {elseif $SUBSCRIBED_ALBUM} 22 {'You are currently subscribed to comments on '|@translate} {'this album'|@translate}.33 {'You are currently subscribed to comments on %s.'|@translate|sprintf:'this album'|@translate} 23 34 <a href="{$UNSUB_LINK}">{'Unsubscribe'|@translate}</a> 24 35 … … 42 53 {/if} 43 54 {if $STC_ALLOW_GLOBAL and $STC_ASK_MAIL}<br>{/if} 55 <span id="stc_submit"> 44 56 {if $STC_ASK_MAIL} 45 <label>{'Email address'|@translate} <input type="text" name="stc_mail" size="30"></label>57 <label>{'Email'|@translate} <input type="text" name="stc_mail" size="30"></label> 46 58 {/if} 47 <label><input type="submit" name="stc_submit" value="{'Subscribe'|@translate}"></label> 59 <label><input type="submit" name="stc_submit" value="{'Subscribe'|@translate}"></label> 60 </span> 48 61 {/if} 49 </fieldset>62 {/strip}</fieldset> 50 63 </form> 51 64 </div>
Note: See TracChangeset
for help on using the changeset viewer.