- Timestamp:
- Dec 23, 2013, 9:17:28 PM (10 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
extensions/Subscribe_to_comments/template/subscriptions_page.tpl
r24342 r26139 1 {combine_css path=$SUBSCRIBE_TO_PATH| @cat:'template/style.css'}1 {combine_css path=$SUBSCRIBE_TO_PATH|cat:'template/style.css'} 2 2 3 {* <!-- Menubar & titrePage --> *}4 {if $themeconf.name == "stripped" or $themeconf.parent == "stripped"}5 {include file=$SUBSCRIBE_TO_ABS_PATH|@cat:'template/themes/stripped.tpl'}6 {assign var="clear" value="true"}7 {elseif $themeconf.name == "simple-grey" or $themeconf.parent == "simple"}8 {include file=$SUBSCRIBE_TO_ABS_PATH|@cat:'template/themes/simple.tpl'}9 {assign var="clear" value="true"}10 {else}11 {include file=$SUBSCRIBE_TO_ABS_PATH|@cat:'template/themes/default.tpl'}12 {/if}13 3 14 {include file='infos_errors.tpl'}15 16 17 4 {if $IN_VALIDATE or $IN_UNSUBSCRIBE} 18 5 <p> … … 20 7 <a href="{$MANAGE_LINK}">{'Manage my subscriptions'|@translate}</a> 21 8 </p> 22 {/if} 23 9 10 {else} 24 11 <form action="{$MANAGE_LINK}" method="post"> 25 12 {if !empty($global_subscriptions)} … … 32 19 {if $sub.type == 'all-images'} 33 20 {assign var=str value='all pictures of the gallery'|@translate} 34 <img src="{$ROOT_URL}{$SUBSCRIBE_TO_PATH}template/image.png"> 21 <img src="{$ROOT_URL}{$SUBSCRIBE_TO_PATH}template/image.png"> 35 22 {else $sub.type == 'all-albums'} 36 23 {assign var=str value='all albums of the gallery'|@translate} … … 41 28 <td style="white-space:nowrap;"> 42 29 <div class="actions"> 43 <a href="{$MANAGE_LINK}&unsubscribe={$sub.id}" >{'Unsubscribe'|@translate}</a>30 <a href="{$MANAGE_LINK}&unsubscribe={$sub.id}" class="unsub">{'Unsubscribe'|@translate}</a> 44 31 {if $sub.validated == 'false'}<br> <a href="{$MANAGE_LINK}&validate={$sub.id}">{'Validate'|@translate}</a>{/if} 45 32 </div> … … 53 40 </fieldset> 54 41 {/if} 55 42 56 43 {if !empty($subscriptions)} 57 44 <fieldset> … … 63 50 <th class="date">{'Followed on'|@translate}</th> 64 51 </tr> 65 52 66 53 {foreach from=$subscriptions item=sub name=subs_loop} 67 54 <tr class="{if $smarty.foreach.subs_loop.index is odd}row1{else}row2{/if} {if $sub.validated == 'false'}not-validated{/if}"> … … 73 60 74 61 <div class="actions"> 75 <a href="{$MANAGE_LINK}&unsubscribe={$sub.id}" >{'Unsubscribe'|@translate}</a>62 <a href="{$MANAGE_LINK}&unsubscribe={$sub.id}" class="unsub">{'Unsubscribe'|@translate}</a> 76 63 {if $sub.validated == 'false'}| <a href="{$MANAGE_LINK}&validate={$sub.id}">{'Validate'|@translate}</a>{/if} 77 64 </div> … … 82 69 </tr> 83 70 {/foreach} 84 71 85 72 <tr class="footer {if $smarty.foreach.subs_loop.index is odd}row1{else}row2{/if}"><td colspan="4"> 86 73 <select name="action"> … … 92 79 </td></tr> 93 80 </table> 94 81 95 82 <p> 96 <img src="{$ROOT_URL}{$SUBSCRIBE_TO_PATH}template/image.png"> {'comments on a picture'|@translate}. 83 <img src="{$ROOT_URL}{$SUBSCRIBE_TO_PATH}template/image.png"> {'comments on a picture'|@translate}. 97 84 <img src="{$ROOT_URL}{$SUBSCRIBE_TO_PATH}template/album-images.png"> {'comments on all pictures of an album'|@translate}. 98 85 {if $COA_ACTIVATED}<img src="{$ROOT_URL}{$SUBSCRIBE_TO_PATH}template/album.png"> {'comments on an album'|@translate}.{/if} … … 100 87 </fieldset> 101 88 {/if} 102 89 103 90 {if !empty($global_subscriptions) or !empty($subscriptions)} 104 91 <p> … … 109 96 </form> 110 97 111 {footer_script require="jquery"} {literal}98 {footer_script require="jquery"} 112 99 jQuery("#check_all").change(function() { 113 if ($(this).is(":checked")) 114 $("input[name^='selected']").attr('checked', 'checked'); 115 else 116 $("input[name^='selected']").removeAttr('checked'); 100 if (jQuery(this).is(":checked")) { 101 jQuery("input[name^='selected']").attr('checked', 'checked'); 102 } 103 else { 104 jQuery("input[name^='selected']").removeAttr('checked'); 105 } 117 106 }); 118 {/ literal}{/footer_script}107 {/footer_script} 119 108 120 {if $clear}<div style="clear: both;"></div> 121 </div>{/if} 122 </div> <!-- content --> 109 {/if}
Note: See TracChangeset
for help on using the changeset viewer.