Skip to content

Commit

Permalink
PHP8
Browse files Browse the repository at this point in the history
  • Loading branch information
mambax7 committed Jan 1, 2021
1 parent 0268297 commit d505e85
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion templates/blocks/publisher_items_columns.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
</p>
</div>
</div>
<{if $item.subitem}>
<{if $item.subitem|default:false}>
<div style="float:left; width:40%;">
<br>
<strong class="publisher-more"><{$smarty.const._MB_PUBLISHER_MORE}></strong>
Expand Down
6 changes: 3 additions & 3 deletions templates/blocks/publisher_items_menu.tpl
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<table cellspacing="0">
<tr>
<td id="mainmenu">
<{if $block.currentcat}> <{$block.currentcat}> <{/if}>
<{if $block.currentcat|default:''}> <{$block.currentcat}> <{/if}>
<{foreach item=category from=$block.categories}>
<{$category.categoryLink}>
<{if $category.items}>
<{if $category.items|default:''}>
<{foreach item=item from=$category.items}> <{$item.titleLink}> <{/foreach}>
<{/if}>
<{/foreach}>
</td>
</tr>
</table>
</table>
2 changes: 1 addition & 1 deletion templates/blocks/publisher_items_spot.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
<{/foreach}>
<{/if}>

<{if $block.lang_displaymore}>
<{if $block.lang_displaymore|default:''}>
<div class="clear"></div>
<br><div class="col-xs-12 right"><a class="btn-readmore" href="<{$block.publisher_url}>" title="<{$block.lang_displaymore}>"><{$block.lang_displaymore}></a></div>
<{/if}>
4 changes: 2 additions & 2 deletions templates/blocks/publisher_search_block.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<strong><{$smarty.const._CO_PUBLISHER_CATEGORY}></strong></td>
</tr>
<tr>
<td class="odd"><{$block.category_select}></td>
<td class="odd"><{$block.category_select|default:''}></td>
</tr>
<!-- <tr>
<td class="head" align="right"><strong><{$smarty.const._SR_SEARCHIN}></strong></td>
Expand All @@ -37,7 +37,7 @@
<td class="head" align="right"><strong><{$smarty.const._CO_PUBLISHER_SORTBY}></strong>&nbsp;</td>
<td class="even"><{$block.sortbySelect}></td>
</tr> -->
<{if $block.search_rule}>
<{if $block.search_rule|default:''}>
<tr>
<td class="even"><strong><{$smarty.const._SR_SEARCHRULE}></strong>&nbsp;
</td>
Expand Down

0 comments on commit d505e85

Please sign in to comment.