Ignore:
Timestamp:
Dec 23, 2013, 9:17:28 PM (10 years ago)
Author:
mistic100
Message:

update for 2.6

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'}
    22
    33{if $STC_ALLOW_GLOBAL}
    4   {footer_script require="jquery"}{literal}
     4{footer_script require='jquery'}
    55  jQuery("#stc_submit").hide();
    66  jQuery("#stc_standalone input[name='stc_mode']").change(function() {
    77    jQuery("#stc_submit").show();
    88  });
    9   {/literal}{/footer_script}
     9{/footer_script}
    1010{/if}
    1111
     
    1616  {if $SUBSCRIBED}
    1717    {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}
    1919    {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}
    2121    {elseif $SUBSCRIBED=='image'}
    22       {assign var=str value='this picture'|@translate}
     22      {assign var=str value='this picture'|translate}
    2323    {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}
    2525    {elseif $SUBSCRIBED=='album'}
    26       {assign var=str value='this album'|@translate}
     26      {assign var=str value='this album'|translate}
    2727    {/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>
    3131  {else}
    32     <legend>{'Subscribe to mail notifications'|@translate}</legend>
     32    <legend>{'Subscribe to mail notifications'|translate}</legend>
    3333    {if $STC_ON_PICTURE}
    3434      {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>
    3838      {else}
    3939        <input type="hidden" name="stc_mode" value="image">
     
    4141    {elseif $STC_ON_ALBUM}
    4242      {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>
    4545      {else}
    4646        <input type="hidden" name="stc_mode" value="album">
     
    5050    <span id="stc_submit">
    5151    {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>
    5353    {/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>
    5555    </span>
    5656  {/if}
Note: See TracChangeset for help on using the changeset viewer.