- Timestamp:
- Dec 23, 2013, 9:17:28 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Subscribe_to_comments/template/form_standalone.tpl
r21439 r26139 1 {combine_css path=$SUBSCRIBE_TO_PATH| @cat:'template/style_form.css'}1 {combine_css path=$SUBSCRIBE_TO_PATH|cat:'template/style_form.css'} 2 2 3 3 {if $STC_ALLOW_GLOBAL} 4 {footer_script require="jquery"}{literal}4 {footer_script require='jquery'} 5 5 jQuery("#stc_submit").hide(); 6 6 jQuery("#stc_standalone input[name='stc_mode']").change(function() { 7 7 jQuery("#stc_submit").show(); 8 8 }); 9 {/literal}{/footer_script}9 {/footer_script} 10 10 {/if} 11 11 … … 16 16 {if $SUBSCRIBED} 17 17 {if $SUBSCRIBED=='all-images'} 18 {assign var=str value='all pictures of the gallery'| @translate}18 {assign var=str value='all pictures of the gallery'|translate} 19 19 {elseif $SUBSCRIBED=='album-images'} 20 {assign var=str value='all pictures of this album'| @translate}20 {assign var=str value='all pictures of this album'|translate} 21 21 {elseif $SUBSCRIBED=='image'} 22 {assign var=str value='this picture'| @translate}22 {assign var=str value='this picture'|translate} 23 23 {elseif $SUBSCRIBED=='all-albums'} 24 {assign var=str value='all albums of the gallery'| @translate}24 {assign var=str value='all albums of the gallery'|translate} 25 25 {elseif $SUBSCRIBED=='album'} 26 {assign var=str value='this album'| @translate}26 {assign var=str value='this album'|translate} 27 27 {/if} 28 29 {'You are currently subscribed to comments on %s.'| @translate|sprintf:$str}30 <a href="{$UNSUB_LINK}">{'Unsubscribe'| @translate}</a>28 29 {'You are currently subscribed to comments on %s.'|translate|sprintf:$str} 30 <a href="{$UNSUB_LINK}">{'Unsubscribe'|translate}</a> 31 31 {else} 32 <legend>{'Subscribe to mail notifications'| @translate}</legend>32 <legend>{'Subscribe to mail notifications'|translate}</legend> 33 33 {if $STC_ON_PICTURE} 34 34 {if $STC_ALLOW_GLOBAL} 35 <label><input type="radio" name="stc_mode" value="image"> {'this picture'| @translate}</label>36 {if $STC_ALLOW_ALBUM_IMAGES}<label><input type="radio" name="stc_mode" value="album-images"> {'all pictures of this album'| @translate}</label>{/if}37 <label><input type="radio" name="stc_mode" value="all-images"> {'all pictures of the gallery'| @translate}</label>35 <label><input type="radio" name="stc_mode" value="image"> {'this picture'|translate}</label> 36 {if $STC_ALLOW_ALBUM_IMAGES}<label><input type="radio" name="stc_mode" value="album-images"> {'all pictures of this album'|translate}</label>{/if} 37 <label><input type="radio" name="stc_mode" value="all-images"> {'all pictures of the gallery'|translate}</label> 38 38 {else} 39 39 <input type="hidden" name="stc_mode" value="image"> … … 41 41 {elseif $STC_ON_ALBUM} 42 42 {if $STC_ALLOW_GLOBAL} 43 <label><input type="radio" name="stc_mode" value="album"> {'this album'| @translate}</label>44 <label><input type="radio" name="stc_mode" value="all-albums"> {'all albums of the gallery'| @translate}</label>43 <label><input type="radio" name="stc_mode" value="album"> {'this album'|translate}</label> 44 <label><input type="radio" name="stc_mode" value="all-albums"> {'all albums of the gallery'|translate}</label> 45 45 {else} 46 46 <input type="hidden" name="stc_mode" value="album"> … … 50 50 <span id="stc_submit"> 51 51 {if $STC_ASK_MAIL} 52 <label>{'Email'| @translate} <input type="text" name="stc_mail" size="30"></label>52 <label>{'Email'|translate} <input type="text" name="stc_mail" size="30"></label> 53 53 {/if} 54 <label><input type="submit" name="stc_submit" value="{'Subscribe'| @translate}"></label>54 <label><input type="submit" name="stc_submit" value="{'Subscribe'|translate}"></label> 55 55 </span> 56 56 {/if}
Note: See TracChangeset
for help on using the changeset viewer.