Changeset 32018


Ignore:
Timestamp:
Sep 30, 2019, 3:16:03 PM (5 years ago)
Author:
plg
Message:

equivalent to stripped r32017 (compatibility with both Piwigo 2.9 and 2.10)

Location:
extensions/stripped_responsive/template
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/stripped_responsive/template/comments.tpl

    r29910 r32018  
    5959                        {if isset($comments)}
    6060                                <div id="comments">
     61                                {if isset($COMMENT_LIST)}
     62                                        {$COMMENT_LIST}
     63                                {else}
    6164                                        {include file='comment_list.tpl'}
     65                                {/if}
    6266                                </div>
    6367                        {/if}
  • extensions/stripped_responsive/template/picture.tpl

    r31576 r32018  
    423423                                                {if isset($comments)}
    424424                                                        <div id="commentList">
    425                                                                 {include file='comment_list.tpl'}
     425                                                                {if isset($COMMENT_LIST)}
     426                                                                        {$COMMENT_LIST}
     427                                                                {else}
     428                                                                    {include file='comment_list.tpl'}
     429                                                                {/if}
    426430                                                        </div>
    427431                                                {/if}
Note: See TracChangeset for help on using the changeset viewer.