Changeset 12600 for extensions/Subscribe_to_comments/template
- Timestamp:
- Nov 11, 2011, 2:56:45 PM (12 years ago)
- Location:
- extensions/Subscribe_to_comments/template
- Files:
-
- 3 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Subscribe_to_comments/template/subscribtions_page.tpl
r12560 r12600 1 {combine_css path=$SUBSCRIBE_TO_PATH|@cat:'template/style.css'} 2 1 3 {$MENUBAR} 2 4 … … 6 8 <div class="titrePage"> 7 9 <ul class="categoryActions"> 8 {if isset($U_EDIT)}9 <li><a href="{$U_EDIT}" title="{'edit'|@translate}" class="pwg-state-default pwg-button">10 <span class="pwg-icon pwg-icon-category-edit"> </span><span class="pwg-button-text">{'edit'|@translate}</span>11 </a></li>12 {/if}13 10 {if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if} 14 11 </ul> 15 <h2> Subscriptions</h2>12 <h2>{'Subscriptions of'|@translate} <i>{$EMAIL}</i></h2> 16 13 </div> <!-- titrePage --> 17 14 … … 34 31 </div> 35 32 {/if} 33 34 {if !empty($unsubscribe_form)} 35 <form action="" method="post"> 36 <fieldset> 37 <legend>{'Unsubscribe from email notification'|@translate}</legend> 38 39 <p> 40 <label><input type="radio" name="unsubscribe" value="{$unsubscribe_form}" checked="checked"> {'Only unsubscribe notifications for comments from:'|@translate} <a href="{$element.url}" target="_blank">{$element.name}</a></label> 41 <label><input type="radio" name="unsubscribe" value="all"> {'Unsubscribe from all email notifications'|@translate}</label> 42 <br> 43 <label><input type="submit" value="Unsubscribe notifications for {$EMAIL}"></label> 44 <a href="{$MANAGE_LINK}">{'Manage my subscriptions'|@translate}</a> 45 </p> 46 </fieldset> 47 </form> 48 {/if} 49 50 {if !empty($validate)} 51 <p> 52 {if empty($errors)}<a href="{$element.url}">{'Return to item page'|@translate}</a><br>{/if} 53 <a href="{$MANAGE_LINK}">{'Manage my subscriptions'|@translate}</a> 54 </p> 55 {/if} 56 57 {if !empty($subscriptions) and $subscriptions != 'none'} 58 <form action="{$MANAGE_LINK}" method="post"> 59 <fieldset> 60 <legend>{'Manage my subscriptions'|@translate}</legend> 61 <table class="subscriptions_list"> 62 <tr class="throw"> 63 <th>{'Item'|@translate}</th> 64 <th>{'Date'|@translate}</th> 65 <th>{'Unsubscribe'|@translate}</th> 66 </tr> 67 {foreach from=$subscriptions item=sub name=subs_loop} 68 <tr class="{if $smarty.foreach.subs_loop.index is odd}row1{else}row2{/if}"> 69 <td> 70 {if $sub.type == 'image'} 71 <img src="{$SUBSCRIBE_TO_PATH}template/picture.png" alt="(P)"> 72 {else} 73 <img src="{$SUBSCRIBE_TO_PATH}template/folder_picture.png" alt="(A)"> 74 {/if} 75 <a href="{$sub.infos.url}">{$sub.infos.name}</a> 76 </td> 77 <td>{$sub.registration_date}</td> 78 <td><a href="{$MANAGE_LINK}&unsubscribe={$sub.id}">{'Unsubscribe'|@translate}</a></td> 79 </tr> 80 {/foreach} 81 </table> 82 83 <p> 84 <input type="hidden" name="unsubscribe" value="all"> 85 <input type="submit" value="{'Unsubscribe from all email notifications'|@translate}"> 86 </p> 87 </fieldset> 88 {elseif !empty($subscriptions) and $subscriptions == 'none'} 89 <p> 90 {'You are not subscribed to any comment.'|@translate} 91 </p> 92 {/if} 36 93 37 94 </div> <!-- content -->
Note: See TracChangeset
for help on using the changeset viewer.