mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
Fix #1555 error in PHP 8.0 if bottom list is disabled
This commit is contained in:
parent
0c1c388331
commit
857722a72c
1 changed files with 4 additions and 4 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
<include target="_header.html" />
|
<include target="_header.html" />
|
||||||
<include cond="$oDocument->isExists()" target="_read.html" />
|
<include cond="$oDocument->isExists()" target="_read.html" />
|
||||||
<ul class="cTab" cond="$module_info->use_category=='Y'">
|
<ul class="cTab" cond="$module_info->use_category=='Y' && isset($list_config)">
|
||||||
<li class="on"|cond="!isset($category) || !$category"><a href="{getUrl('category','','page','')}">{$lang->total}</a></li>
|
<li class="on"|cond="!isset($category) || !$category"><a href="{getUrl('category','','page','')}">{$lang->total}</a></li>
|
||||||
<li loop="$cate_list=>$key,$val" class="on"|cond="isset($category) && $category == $val->category_srl"><a href="{getUrl('category',$val->category_srl,'document_srl','', 'page', '')}">{$val->title}<!--<em cond="$val->document_count">[{$val->document_count}]</em>--></a>
|
<li loop="$cate_list=>$key,$val" class="on"|cond="isset($category) && $category == $val->category_srl"><a href="{getUrl('category',$val->category_srl,'document_srl','', 'page', '')}">{$val->title}<!--<em cond="$val->document_count">[{$val->document_count}]</em>--></a>
|
||||||
<ul cond="count($val->children)">
|
<ul cond="count($val->children)">
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="board_list" id="board_list">
|
<div class="board_list" id="board_list" cond="isset($list_config)">
|
||||||
<table width="100%" border="1" cellspacing="0" summary="List of Articles">
|
<table width="100%" border="1" cellspacing="0" summary="List of Articles">
|
||||||
<thead>
|
<thead>
|
||||||
<!-- LIST HEADER -->
|
<!-- LIST HEADER -->
|
||||||
|
|
@ -41,7 +41,7 @@
|
||||||
</tbody>
|
</tbody>
|
||||||
<tbody cond="$document_list || $notice_list">
|
<tbody cond="$document_list || $notice_list">
|
||||||
<!-- NOTICE -->
|
<!-- NOTICE -->
|
||||||
<tr class="notice" loop="$notice_list=>$no,$document">
|
<tr class="notice" loop="$notice_list ?? [] => $no,$document">
|
||||||
<block loop="$list_config=>$key,$val">
|
<block loop="$list_config=>$key,$val">
|
||||||
<td class="notice" cond="$val->type=='no' && $val->idx==-1">
|
<td class="notice" cond="$val->type=='no' && $val->idx==-1">
|
||||||
<block cond="isset($document_srl) && $document_srl == $document->document_srl">»</block>
|
<block cond="isset($document_srl) && $document_srl == $document->document_srl">»</block>
|
||||||
|
|
@ -87,7 +87,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
<!-- /NOTICE -->
|
<!-- /NOTICE -->
|
||||||
<!-- LIST -->
|
<!-- LIST -->
|
||||||
<tr loop="$document_list=>$no,$document">
|
<tr loop="$document_list ?? [] => $no,$document">
|
||||||
<block loop="$list_config=>$key,$val">
|
<block loop="$list_config=>$key,$val">
|
||||||
<td class="no" cond="$val->type=='no' && $val->idx==-1">
|
<td class="no" cond="$val->type=='no' && $val->idx==-1">
|
||||||
<block cond="isset($document_srl) && $document_srl == $document->document_srl">»</block>
|
<block cond="isset($document_srl) && $document_srl == $document->document_srl">»</block>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue