Changeset 12659 for extensions


Ignore:
Timestamp:
Nov 26, 2011, 3:18:42 PM (12 years ago)
Author:
Zaphod
Message:

version 2.0.3

Location:
extensions/stripped
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • extensions/stripped/js/scripts-tcp.js

    r12321 r12659  
    8686                icon_gmaps.css("text-align","right");
    8787        }       
    88 
     88       
    8989        // bug with MSIE6 & language switch
    9090       
  • extensions/stripped/js/scripts-tpp.js

    r12547 r12659  
    3636                icon_gmaps.wrapAll('<li>');
    3737        }
    38                
     38       
    3939        // Tabs
    4040
     
    145145
    146146                        var marge_cote;
     147
     148                        if (ImageCadre.length == 0) {
     149                                ImageContainer.css("opacity","1");
     150                                jQuery("img","#theImageAndTitle").css("opacity","1");
     151                                return;
     152                        }
    147153                       
    148154                        if (options.navArrows) {marge_cote=30;} else {marge_cote=10;};
     
    242248        }       else {
    243249                jQuery("#theImageAndTitle").css("opacity","1");
     250                jQuery("#theImg").css("opacity","1");
     251                jQuery("#imageTitleContainer").css("opacity","1");
    244252                var TitleBox=jQuery("#imageTitleContainer");
    245253                if (TitleBox.length !=0) TitleBox.css("width","97%");
  • extensions/stripped/language/en_UK/theme.lang.php

    r12547 r12659  
    44$lang['Information'] = 'Information';
    55$lang['GMap'] = 'Map';
     6$lang['validate'] = 'validate';
    67
    78$lang['Interface options']='Interface options';
  • extensions/stripped/language/fr_FR/theme.lang.php

    r12547 r12659  
    44$lang['Information'] = 'Informations';
    55$lang['GMap'] = 'Carte';
     6$lang['validate'] = 'valider';
    67
    78$lang['Interface options']='Interface';
  • extensions/stripped/readme.txt

    r12558 r12659  
    3131Changelog
    3232---------
     33
     34*** version 2.0.3
     35
     36- bug fix: images were not displayed if autosize set to off.
     37- small changes in comment actions display & compatiblity with reply-to plugin
    3338
    3439*** version 2.0.2
  • extensions/stripped/template/comment_list.tpl

    r7989 r12659  
     1{* $Id$ *}
    12<ul class="commentList">
    2   {foreach from=$comments item=comment name=comment_loop}
    3   <li class="comment">
    4     {if isset($comment.TN_SRC)}
    5     <div class="illustration">
    6       <a href="{$comment.U_PICTURE}"><img src="{$comment.TN_SRC}" alt="{$comment.ALT}" /></a>
    7     </div>
    8     {/if}
    9     <div class="description">
    10       {if isset($comment.U_DELETE) or isset($comment.U_VALIDATE) or isset($comment.U_EDIT) }
    11       <ul class="actions">
    12         {if isset($comment.U_DELETE)}
    13         <li>
    14                 <a href="{$comment.U_DELETE}" title="{'delete this comment'|@translate}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');">
    15                         [delete]
    16                 </a>
    17         </li>
    18         {/if}
    19     {if isset($comment.U_EDIT) and !isset($comment.IN_EDIT)}
    20     <li>
    21       <a class="editComment" href="{$comment.U_EDIT}#edit_comment" title="{'edit this comment'|@translate}">
    22         [edit]
    23       </a>
    24     </li>
    25     {/if}
    26         {if isset($comment.U_VALIDATE)}
    27         <li>
    28                 <a href="{$comment.U_VALIDATE}" title="{'validate this comment'|@translate}">
    29                         [validate]
    30                 </a>
    31         </li>
    32         {/if}
    33       </ul>
    34       {/if}
    35       <span class="author">{$comment.AUTHOR}</span> - <span class="date">{$comment.DATE}</span>
    36       {if isset($comment.IN_EDIT)}
    37       <a name="edit_comment"></a>
    38       <form  method="post" action="{$comment.U_EDIT}" class="filter" id="editComment">
    39           <fieldset>
    40                 <legend>{'Edit a comment'|@translate}</legend>
    41                 <label><textarea name="content" id="contenteditid" rows="4" cols="80">{$comment.CONTENT|@escape}</textarea></label>
    42                 <input type="hidden" name="key" value="{$comment.KEY}">
    43                 <input type="hidden" name="image_id" value="{$comment.IMAGE_ID|@default:$current.id}">
    44                 <input class="submit" type="submit" value="{'Submit'|@translate}">
    45           </fieldset>
    46       </form>
    47       {else}
    48       <blockquote><div>{$comment.CONTENT}</div></blockquote>
    49       {/if}
    50     </div>
    51   </li>
    52   {/foreach}
     3        {foreach from=$comments item=comment name=comment_loop}
     4                <li class="comment">
     5                        {if isset($comment.TN_SRC)}
     6                                <div class="illustration">
     7                                        <a href="{$comment.U_PICTURE}"><img src="{$comment.TN_SRC}" alt="{$comment.ALT}" /></a>
     8                                </div>
     9                        {/if}
     10                        <div class="description">
     11                        {if isset($comment.U_DELETE) or isset($comment.U_VALIDATE) or isset($comment.U_EDIT) }
     12                                <div class="actions">
     13                                        {if isset($comment.U_DELETE)}
     14                                                <a href="{$comment.U_DELETE}" title="{'delete this comment'|@translate}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');">
     15                                                        [{'Delete'|@translate}]
     16                                                </a>
     17                                        {/if}
     18                                        {if isset($comment.U_EDIT) and !isset($comment.IN_EDIT)}
     19                                                <a class="editComment" href="{$comment.U_EDIT}#edit_comment" title="{'edit this comment'|@translate}">
     20                                                        [{'edit'|@translate}]
     21                                                </a>
     22                                        {/if}
     23                                        {if isset($comment.U_VALIDATE)}
     24                                                <a href="{$comment.U_VALIDATE}" title="{'validate this comment'|@translate}">
     25                                                        [{'validate'|@translate}]
     26                                                </a>
     27                                        {/if}
     28                                </div>
     29                        {/if}
     30                        <span class="author">{$comment.AUTHOR}</span> - <span class="date">{$comment.DATE}</span>
     31                                {if isset($comment.IN_EDIT)}
     32                                        <a name="edit_comment"></a>
     33                                        <form  method="post" action="{$comment.U_EDIT}" class="filter" id="editComment">
     34                                                <fieldset>
     35                                                        <legend>{'Edit a comment'|@translate}</legend>
     36                                                        <label><textarea name="content" id="contenteditid" rows="4" cols="80">{$comment.CONTENT|@escape}</textarea></label>
     37                                                        <input type="hidden" name="key" value="{$comment.KEY}">
     38                                                        <input type="hidden" name="image_id" value="{$comment.IMAGE_ID|@default:$current.id}">
     39                                                        <input class="submit" type="submit" value="{'Submit'|@translate}">
     40                                                </fieldset>
     41                                        </form>
     42                                {else}
     43                                        <blockquote><div>{$comment.CONTENT}</div></blockquote>
     44                                {/if}
     45                        </div>
     46                </li>
     47        {/foreach}
    5348</ul>
    5449<div style="clear: both;"></div>
     50{footer_script}{literal}
     51        jQuery("document").ready(function(jQuery) {
     52                var rT=jQuery(".replyTo");
     53                if (rT.length !=0) {
     54                        var trT=rT.attr("title");
     55                        var pe=trT.search(" ");
     56                        if (pe>0) trT=trT.substring(0,pe);
     57                        rT.text("["+trT+"]");
     58                }
     59        });
     60{/literal}{/footer_script}
  • extensions/stripped/template/comments.tpl

    r9960 r12659  
    33        $this->assign('LEVEL_SEPARATOR', $conf[ 'level_separator' ]);
    44{/php}
     5
    56<div class="titrePage">
    67        <div class="browsePath">
  • extensions/stripped/theme-black.css

    r12547 r12659  
    315315#comments .description .date                            { color: #c0c0c0;}
    316316#commentList li                                                 { border-top: 1px dotted #606060;}
     317.commentList a                                                  { color: #ccc;}
     318.commentList a:hover                                            { color: #eee;}
    317319
    318320/* Tags ---------------------------------------------------------------------------------------- */
  • extensions/stripped/theme-original.css

    r12547 r12659  
    230230#comments .description .date                            { color: #c0c0c0;}
    231231#commentList li                                                 { border-top: 1px dotted #606060;}
     232.commentList a                                                  { color: #ccc;}
     233.commentList a:hover                                            { color: #eee;}
    232234
    233235/* Tags ---------------------------------------------------------------------------------------- */
  • extensions/stripped/theme-white.css

    r12547 r12659  
    355355#comments .description .date                            { color: #888;}
    356356#commentList li                                                 { border-top: 1px dotted #999;}
     357.commentList a                                                  { color: #444;}
     358.commentList a:hover                                            { color: #111;}
    357359
    358360/* Tags ---------------------------------------------------------------------------------------- */
  • extensions/stripped/theme.css

    r12558 r12659  
    4949#Tcaption {
    5050        text-transform:none;
     51}
     52
     53.randomButtons,
     54.categoryActions,
     55.commentList .action {
     56        text-transform:lowercase;
    5157}
    5258
     
    933939        height:140px;
    934940        overflow:hidden;
     941        padding-right:5px;
    935942}
    936943
     
    943950}
    944951
    945 #comments .actions {
     952.commentList .actions {
    946953        text-align:right;
    947         padding-right:10px;
     954        padding-right:4px;
     955        float:right;
    948956}
    949957
     
    10141022        list-style-type: none;
    10151023        padding: 4px;
    1016 }
    1017 
    1018 ul.actions {
    1019         float: right;
    1020 }
    1021 
    1022 #commentList .actions li {
    1023         border-top: none;
    10241024}
    10251025
Note: See TracChangeset for help on using the changeset viewer.