Ignore:
Timestamp:
Apr 29, 2012, 5:09:28 PM (12 years ago)
Author:
mistic100
Message:

update for 2.4
delete useless admin page
now compatible with RV Thumb Scroller

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Comments_on_Albums/template/comments_page.tpl

    r12381 r14528  
    1 {* this is a copy of theme/defaults/template/comments.tpl a bit modified *}
    2  
    3 {html_head}
    4 <style type="text/css">
    5   .thumbnailCategory .category-title {ldelim}
    6     font-size:1.1em;
    7     font-weight:bold;
    8   }
    9   .pwg-icon-comments-images {ldelim}
    10     background-image: url({$COA_PATH}template/s26/{$ICON_COLOR});
    11     background-position: 0 0;
    12   }
    13   a:hover .pwg-icon-comments-images {ldelim}
    14     background-image: url({$COA_PATH}template/s26/{$ICON_COLOR_OVER});
    15     background-position: 0 0;
    16   }
    17 </style>
    18 {/html_head}
     1{* this is a copy of theme/default/template/comments.tpl a bit modified *}
    192
    20 {if isset($MENUBAR)}{$MENUBAR}{/if}
    21 <div id="content" class="content">
     3{* <!-- stripped uses a custom layout -->*}
     4{if $themeconf.name|strstr:"stripped"}
     5  <div class="titrePage">
     6    <div class="browsePath">
     7      <h2>
     8        {if isset($MENUBAR)}
     9          <span id="menuswitcher" title="{'Show/hide menu'|@translate}">{'Menu'|@translate}</span><span class="arrow"> »</span>
     10        {/if}
     11        <a href="{$U_HOME}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{'User comments'|@translate}
     12      </h2>
     13    </div>
     14  </div>
    2215
    23 <div class="titrePage">
    24   <ul class="categoryActions">
    25     <li><a href="comments.php" title="{'Comments on photos'|@translate}" class="pwg-state-default pwg-button">
    26       <span class="pwg-icon pwg-icon-comments-images">&nbsp;</span><span class="pwg-button-text">{'Comments on photos'|@translate}</span>
    27     </a></li>
    28     <li><a href="{$U_HOME}" title="{'Home'|@translate}" class="pwg-state-default pwg-button">
    29       <span class="pwg-icon pwg-icon-home">&nbsp;</span><span class="pwg-button-text">{'Home'|@translate}</span>
    30     </a></li>
    31   </ul>
    32   <h2>{'User comments'|@translate}</h2>
    33 </div>
     16  <div id="content">
     17  {if isset($MENUBAR)}{$MENUBAR}{/if}
     18  <div id="content_cell">
     19      <div class="content_block">
     20{else}
     21  {if isset($MENUBAR)}{$MENUBAR}{/if}
     22  <div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}">
     23
     24  <div class="titrePage">
     25    <ul class="categoryActions">
     26    </ul>
     27    <h2><a href="{$U_HOME}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{'User comments'|@translate}</h2>
     28  </div>
     29{/if}
     30
     31{include file='infos_errors.tpl'}
     32
     33<form class="filter">
     34<fieldset>
     35  <legend>{'Display comments on'|@translate}</legend>
     36  <span style="font-size:1.1em;"><a href="comments.php">{'Photos'|@translate}</a> | <a href="#" style="font-weight:bold;">{'Albums'|@translate}</a></span>
     37</fieldset>
     38</form>
    3439
    3540<form class="filter" action="{$F_ACTION}?display_mode=albums" method="get">
     
    3843    <legend>{'Filter'|@translate}</legend>
    3944
    40     <label>{'Keyword'|@translate}<input type="text" name="keyword" value="{$F_KEYWORD}"></label>
     45    <label>{'Keyword'|@translate} <input type="text" name="keyword" value="{$F_KEYWORD}"></label>
    4146
    42     <label>{'Author'|@translate}<input type="text" name="author" value="{$F_AUTHOR}"></label>
     47    <label>{'Author'|@translate} <input type="text" name="author" value="{$F_AUTHOR}"></label>
    4348
    4449    <label>
     
    95100{if isset($comments)}
    96101<div id="comments">
    97   {include file='comment_list.tpl'}
     102  {include file='comment_list.tpl' comment_derivative_params=$derivative_params}
    98103</div>
    99104{/if}
    100105
    101106</div> <!-- content -->
    102 
     107{if $themeconf.name|strstr:"stripped"}</div></div>{/if}
Note: See TracChangeset for help on using the changeset viewer.