Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {if !$SUBSCRIBED_ALL_IMAGES && !$SUBSCRIBED_ALL_ALBUMS && !$SUBSCRIBED_ALBUM && !$SUBSCRIBED_ALBUM_IMAGES && !$SUBSCRIBED_IMAGE}
- <p>
- {'Notify me of followup comments'|@translate} :<br>
- <label><input type="radio" name="stc_mode" value="-1"> {'No'|@translate}</label>
- {if $STC_ON_PICTURE}
- {if $STC_ALLOW_GLOBAL}
- <label><input type="radio" name="stc_mode" value="image" {if !$STC_MODE or $STC_MODE == "image"}checked="checked"{/if}> {'this picture'|@translate}</label>
- {if $STC_ALLOW_ALBUM_IMAGES}<label><input type="radio" name="stc_mode" value="album-images" {if $STC_MODE == "album-images"}checked="checked"{/if}> {'all pictures of this album'|@translate}</label>{/if}
- <label><input type="radio" name="stc_mode" value="all-images" {if $STC_MODE == "all-images"}checked="checked"{/if}> {'all pictures of the gallery'|@translate}</label>
- {else}
- <label><input type="radio" name="stc_mode" value="image" {if $STC_MODE == "image"}checked="checked"{/if}> {'Yes'|@translate}</label>
- {/if}
- {elseif $STC_ON_ALBUM}
- {if $STC_ALLOW_GLOBAL}
- <label><input type="radio" name="stc_mode" value="album" {if $STC_MODE == "album"}checked="checked"{/if}> {'this album'|@translate}</label>
- <label><input type="radio" name="stc_mode" value="all-albums" {if $STC_MODE == "all-albums"}checked="checked"{/if}> {'all albums of the gallery'|@translate}</label>
- {else}
- <label><input type="radio" name="stc_mode" value="album" {if $STC_MODE == "album"}checked="checked"{/if}> {'Yes'|@translate}</label>
- {/if}
- {/if}
- </p>
- {if $STC_ASK_MAIL}
- <p><label id="stc_mail" {if !$STC_MODE}style="display:none;"{/if}>{'Email address'|@translate} : <input type="text" name="stc_mail" value="{$STC_MAIL}"></label></p>
- {footer_script require="jquery"}{literal}
- jQuery(document).ready(function() {
- $("#addComment input[name='stc_mode']").change(function() {
- if ($(this).val() != "-1")
- $("#stc_mail").css("display", "");
- else
- $("#stc_mail").css("display", "none");
- });
- });
- {/literal}{/footer_script}
- {/if}
- {/if}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement