mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 10:11:38 +09:00
Fix #1485 misc errors in PHP 8.0
This commit is contained in:
parent
74b612715c
commit
9a0bf6d907
3 changed files with 5 additions and 5 deletions
|
|
@ -16,11 +16,11 @@
|
|||
<!--@else-->
|
||||
{@$_popular_order_type = 'desc'}
|
||||
<!--@end-->
|
||||
<a href="{getUrl('order_target','newest','order_type',$_newest_order_type,page,'')}" class="active"|cond="$order_target == 'newest'">{$lang->order_newest} <i cond="$order_target == 'newest'" class="x_icon-circle-arrow-down"|cond="$_newest_order_type == 'asc'" class="x_icon-circle-arrow-up"|cond="$_newest_order_type == 'desc'">{$_newest_order_type}</i></a>
|
||||
<a href="{getUrl('order_target','newest','order_type',$_newest_order_type,'page','')}" class="active"|cond="$order_target == 'newest'">{$lang->order_newest} <i cond="$order_target == 'newest'" class="x_icon-circle-arrow-down"|cond="$_newest_order_type == 'asc'" class="x_icon-circle-arrow-up"|cond="$_newest_order_type == 'desc'">{$_newest_order_type}</i></a>
|
||||
<i>|</i>
|
||||
<a href="{getUrl('order_target','download','order_type',$_download_order_type,page,'')}" class="active"|cond="$order_target == 'download'">{$lang->order_download} <i cond="$order_target == 'download'" class="x_icon-circle-arrow-down"|cond="$_download_order_type == 'asc'" class="x_icon-circle-arrow-up"|cond="$_download_order_type == 'desc'">{$_download_order_type}</i></a>
|
||||
<a href="{getUrl('order_target','download','order_type',$_download_order_type,'page','')}" class="active"|cond="$order_target == 'download'">{$lang->order_download} <i cond="$order_target == 'download'" class="x_icon-circle-arrow-down"|cond="$_download_order_type == 'asc'" class="x_icon-circle-arrow-up"|cond="$_download_order_type == 'desc'">{$_download_order_type}</i></a>
|
||||
<i>|</i>
|
||||
<a href="{getUrl('order_target','popular','order_type',$_popular_order_type,page,'')}" class="active"|cond="$order_target == 'popular'">{$lang->order_popular} <i cond="$order_target == 'popular'" class="x_icon-circle-arrow-down"|cond="$_popular_order_type == 'asc'" class="x_icon-circle-arrow-up"|cond="$_popular_order_type == 'desc'">{$_popular_order_type}</i></a></li>
|
||||
<a href="{getUrl('order_target','popular','order_type',$_popular_order_type,'page','')}" class="active"|cond="$order_target == 'popular'">{$lang->order_popular} <i cond="$order_target == 'popular'" class="x_icon-circle-arrow-down"|cond="$_popular_order_type == 'asc'" class="x_icon-circle-arrow-up"|cond="$_popular_order_type == 'desc'">{$_popular_order_type}</i></a></li>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ class editorAdminView extends editor
|
|||
// Get editor component info
|
||||
$oAutoinstallModel = getModel('autoinstall');
|
||||
$component_list = $oEditorModel->getComponentList(false, 0, true);
|
||||
$component_count = count($component_list);
|
||||
$component_count = countobj($component_list);
|
||||
$targetpackages = array();
|
||||
foreach ($component_list as $xml_info)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -176,7 +176,7 @@
|
|||
</section>
|
||||
|
||||
<section class="section">
|
||||
{@$point_group = @array_flip($config->point_group)}
|
||||
{@$point_group = @array_flip($config->point_group ?? [])}
|
||||
<h1>{$lang->level_point}</h1>
|
||||
<div class="x_clearfix">
|
||||
<p class="x_pull-left">{$lang->expression}</p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue