Changeset 17494


Ignore:
Timestamp:
08/09/12 16:40:18 (7 years ago)
Author:
mistic100
Message:

better integration in simple and stripped
icons display even id 'question_mark_in_url' = false

Location:
extensions/Subscribe_to_comments
Files:
5 added
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/Subscribe_to_comments/include/subscribtions_page.inc.php

    r15641 r17494  
    238238 
    239239$template->assign(array( 
    240   'EMAIL' => $_GET['email'], 
     240  'TITLE' => l10n('Subscriptions of').' <i>'.$_GET['email'].'</i>', 
    241241  'SUBSCRIBE_TO_PATH' => SUBSCRIBE_TO_PATH, 
     242  'SUBSCRIBE_TO_ABS_PATH' => realpath(SUBSCRIBE_TO_PATH).'/', 
    242243  )); 
    243244 
  • extensions/Subscribe_to_comments/template/subscribtions_page.tpl

    r15648 r17494  
    11{combine_css path=$SUBSCRIBE_TO_PATH|@cat:'template/style.css'} 
    22 
    3 {if $themeconf.name != "stripped" and $themeconf.parent != "stripped" and $themeconf.name != "simple-grey" and $themeconf.parent != "simple"} 
    4   {$MENUBAR} 
     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"} 
    510{else} 
    6   {assign var="intern_menu" value="true"} 
     11  {include file=$SUBSCRIBE_TO_ABS_PATH|@cat:'template/themes/default.tpl'} 
    712{/if} 
    8 <div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}"> 
    9 {if $intern_menu}{$MENUBAR}{/if} 
    10  
    11 <div class="titrePage"> 
    12   <h2>{'Subscriptions of'|@translate} <i>{$EMAIL}</i></h2> 
    13 </div> 
    1413 
    1514{include file='infos_errors.tpl'} 
     15 
    1616  
    1717{if $IN_VALIDATE or $IN_UNSUBSCRIBE} 
     
    3131        <td> 
    3232          {if $sub.type == 'all-images'} 
    33             <img src="{$SUBSCRIBE_TO_PATH}template/image.png"> {'You are currently subscribed to comments on all pictures of the gallery.'|@translate} 
     33            <img src="{$ROOT_URL}{$SUBSCRIBE_TO_PATH}template/image.png"> {'You are currently subscribed to comments on all pictures of the gallery.'|@translate} 
    3434          {else $sub.type == 'all-albums'} 
    35             <img src="{$SUBSCRIBE_TO_PATH}template/album.png"> {'You are currently subscribed to comments on all albums of the gallery.'|@translate} 
     35            <img src="{$ROOT_URL}{$SUBSCRIBE_TO_PATH}template/album.png"> {'You are currently subscribed to comments on all albums of the gallery.'|@translate} 
    3636          {/if} 
    3737        </td> 
     
    6464        <td class="thumb"><img src="{$sub.infos.thumbnail}" alt="{$sub.infos.name}" class="thumbnail"></td> 
    6565        <td class="info"> 
    66           <img src="{$SUBSCRIBE_TO_PATH}template/{$sub.type}.png"> 
     66          <img src="{$ROOT_URL}{$SUBSCRIBE_TO_PATH}template/{$sub.type}.png"> 
    6767          <a href="{$sub.infos.url}">{$sub.infos.name}</a> 
    6868 
     
    9090    <p> 
    9191      <b>Legend :</b>  
    92       <img src="{$SUBSCRIBE_TO_PATH}template/image.png"> {'comments on a picture'|@translate}.  
    93       <img src="{$SUBSCRIBE_TO_PATH}template/album-images.png"> {'comments on all pictures of an album'|@translate}. 
    94       {if $COA_ACTIVATED}<img src="{$SUBSCRIBE_TO_PATH}template/album.png"> {'comments on an album'|@translate}.{/if} 
     92      <img src="{$ROOT_URL}{$SUBSCRIBE_TO_PATH}template/image.png"> {'comments on a picture'|@translate}.  
     93      <img src="{$ROOT_URL}{$SUBSCRIBE_TO_PATH}template/album-images.png"> {'comments on all pictures of an album'|@translate}. 
     94      {if $COA_ACTIVATED}<img src="{$ROOT_URL}{$SUBSCRIBE_TO_PATH}template/album.png"> {'comments on an album'|@translate}.{/if} 
    9595    </p> 
    9696  </fieldset> 
     
    113113{/literal}{/footer_script} 
    114114 
     115{if $clear}<div style="clear: both;"></div> 
     116</div>{/if} 
    115117</div> <!-- content --> 
Note: See TracChangeset for help on using the changeset viewer.