Skip to content

Commit

Permalink
PHP8 defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
mambax7 committed Dec 26, 2020
1 parent 194b335 commit ee57e2d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions templates/publisher_header.tpl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<{if $collapsable_heading == 1}>
<{if $collapsable_heading|default:0 == 1}>
<script type="text/javascript"><!--
function goto_URL(object) {
window.location.href = object.options[object.selectedIndex].value;
Expand Down Expand Up @@ -41,7 +41,7 @@
</script>
<{/if}>

<{if $publisher_display_breadcrumb}>
<{if $publisher_display_breadcrumb|default:false}>
<!-- Do not display breadcrumb if you are on indexpage or you do not want to display the module name -->
<{if $module_home || $categoryPath}>
<ul class="publisher_breadcrumb">
Expand Down
6 changes: 3 additions & 3 deletions templates/publisher_submit.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<{include file="db:publisher_singleitem.tpl" item=$item}>
<{/if}>

<div class="publisher_infotitle"><{$langIntroTitle}></div>
<div class="publisher_infotext"><{$langIntroText}></div>
<div class="publisher_infotitle"><{$langIntroTitle|default:''}></div>
<div class="publisher_infotext"><{$langIntroText|default:''}></div>
<br><{$form.javascript}>

<div id="tabs">
Expand Down Expand Up @@ -52,6 +52,6 @@
</form>
</div>

<{if $isAdmin == 1}>
<{if $isAdmin|default:0 == 1}>
<div class="publisher_adminlinks"><{$publisher_adminpage}></div>
<{/if}>

0 comments on commit ee57e2d

Please sign in to comment.