source: extensions/Subscribe_to_comments/template/form_inside.tpl @ 26173

Last change on this file since 26173 was 26173, checked in by mistic100, 10 years ago

improve lisiblity

File size: 2.2 KB
Line 
1{if isset($STC.SUBSCRIBED)}
2{strip}
3  {if $STC.SUBSCRIBED=='all-images'}
4    {assign var=str value='all pictures of the gallery'|translate}
5  {else if $STC.SUBSCRIBED=='album-images'}
6    {assign var=str value='all pictures of this album'|translate}
7  {else if $STC.SUBSCRIBED=='image'}
8    {assign var=str value='this picture'|translate}
9  {else if $STC.SUBSCRIBED=='all-albums'}
10    {assign var=str value='all albums of the gallery'|translate}
11  {else if $STC.SUBSCRIBED=='album'}
12    {assign var=str value='this album'|translate}
13  {/if}
14{/strip}
15<p>
16  {'You are currently subscribed to comments on %s.'|translate:$str}
17  <a href="{$STC.U_UNSUB}">{'Unsubscribe'|translate}</a>
18</p>
19
20{else}
21<p id="stc_comment">
22  {'Notify me of followup comments'|translate} :<br>
23  <label><input type="radio" name="stc_mode" value="-1" {if !$STC.MODE}checked{/if}> {'No'|translate}</label><br>
24  {if $STC.ON_PICTURE}
25    {if $STC.ALLOW_GLOBAL}
26      <label><input type="radio" name="stc_mode" value="image" {if $STC.MODE=="image"}checked{/if}> {'this picture'|translate|ucfirst}</label><br>
27      {if $STC.ALLOW_ALBUM_IMAGES}<label><input type="radio" name="stc_mode" value="album-images" {if $STC.MODE=="album-images"}checked{/if}> {'all pictures of this album'|translate|ucfirst}</label><br>{/if}
28      <label><input type="radio" name="stc_mode" value="all-images" {if $STC.MODE=="all-images"}checked{/if}> {'all pictures of the gallery'|translate|ucfirst}</label><br>
29    {else}
30      <label><input type="radio" name="stc_mode" value="image" {if $STC.MODE=="image"}checked{/if}> {'Yes'|translate}</label>
31    {/if}
32  {else if $STC.ON_ALBUM}
33    {if $STC.ALLOW_GLOBAL}
34      <label><input type="radio" name="stc_mode" value="album" {if $STC.MODE=="album"}checked{/if}> {'this album'|translate|ucfirst}</label><br>
35      <label><input type="radio" name="stc_mode" value="all-albums" {if $STC.MODE=="all-albums"}checked{/if}> {'all albums of the gallery'|translate|ucfirst}</label><br>
36    {else}
37      <label><input type="radio" name="stc_mode" value="album" {if $STC.MODE=="album"}checked{/if}> {'Yes'|translate}</label>
38    {/if}
39  {/if}
40</p>
41<p>
42  <a href="#stc_standalone" id="open_stc_standalone" title="{'Subscribe to mail notifications'|translate}">{'Subscribe without commenting'|translate}</a>
43</p>
44
45{/if}
Note: See TracBrowser for help on using the repository browser.