source: extensions/Subscribe_to_comments/template/form_standalone.tpl @ 15649

Last change on this file since 15649 was 15648, checked in by mistic100, 12 years ago

check email validity before subscribe

File size: 2.4 KB
Line 
1{if isset($comment_add)}
2<div id="pictureCommentList">
3<form method="post" action="{$comment_add.F_ACTION}" id="stc_standalone">
4  <fieldset>
5  {if $SUBSCRIBED_ALL_IMAGES}
6    {'You are currently subscribed to comments on'|@translate} {'all pictures of the gallery'|@translate}.
7    <a href="{$MANAGE_LINK}">{'Manage my subscriptions'|@translate}</a>
8   
9  {elseif $SUBSCRIBED_ALBUM_IMAGES}
10    {'You are currently subscribed to comments on'|@translate} {'all pictures of this album'|@translate}.
11    <a href="{$UNSUB_LINK}">{'Unsubscribe'|@translate}</a>
12   
13  {elseif $SUBSCRIBED_IMAGE}
14    {'You are currently subscribed to comments on'|@translate} {'this picture'|@translate}.
15    <a href="{$UNSUB_LINK}">{'Unsubscribe'|@translate}</a>
16   
17  {elseif $SUBSCRIBED_ALL_ALBUMS}
18    {'You are currently subscribed to comments on'|@translate} {'all albums of the gallery'|@translate}.
19    <a href="{$MANAGE_LINK}">{'Manage my subscriptions'|@translate}</a>
20   
21  {elseif $SUBSCRIBED_ALBUM}
22    {'You are currently subscribed to comments on'|@translate} {'this album'|@translate}.
23    <a href="{$UNSUB_LINK}">{'Unsubscribe'|@translate}</a>
24   
25  {else}
26    <legend>{'Subscribe to mail notifications'|@translate}</legend>
27    {if $STC_ON_PICTURE}
28      {if $STC_ALLOW_GLOBAL}
29        <label><input type="radio" name="stc_mode" value="image"> {'this picture'|@translate}</label>
30        {if $STC_ALLOW_ALBUM_IMAGES}<label><input type="radio" name="stc_mode" value="album-images"> {'all pictures of this album'|@translate}</label>{/if}
31        <label><input type="radio" name="stc_mode" value="all-images"> {'all pictures of the gallery'|@translate}</label>
32      {else}
33        <input type="hidden" name="stc_mode" value="image">
34      {/if}
35    {elseif $STC_ON_ALBUM}
36      {if $STC_ALLOW_GLOBAL}
37        <label><input type="radio" name="stc_mode" value="album"> {'this album'|@translate}</label>
38        <label><input type="radio" name="stc_mode" value="all-albums"> {'all albums of the gallery'|@translate}</label>
39      {else}
40        <input type="hidden" name="stc_mode" value="album">
41      {/if}
42    {/if}
43    {if $STC_ALLOW_GLOBAL and $STC_ASK_MAIL}<br>{/if}
44    {if $STC_ASK_MAIL}
45      <label>{'Email address'|@translate} <input type="text" name="stc_mail" size="30"></label>
46    {/if}
47    <label><input type="submit" name="stc_submit" value="{'Subscribe'|@translate}"></label>
48  {/if}
49  </fieldset>
50</form>
51</div>
52{/if}
Note: See TracBrowser for help on using the repository browser.