* zin: refactor set:xxx usage to compatible with php 5.4.

This commit is contained in:
sunhao
2023-08-29 18:03:45 +08:00
parent a89bc755d5
commit 6bd978525b
142 changed files with 600 additions and 613 deletions
+3 -3
View File
@@ -33,7 +33,7 @@ foreach($dbList as $db)
$db->ready ? $lang->instance->dbReady : $lang->instance->dbWaiting,
setClass('text-' . ($db->ready ? 'success' : 'danger'))
),
h::td
(
btn
@@ -197,7 +197,7 @@ div
floatToolbar
(
set::object($instance),
isAjaxRequest('modal') ? null : to::prefix(backBtn(set::icon('back'), set::class('ghost text-white'), $lang->goback)),
isAjaxRequest('modal') ? null : to::prefix(backBtn(set::icon('back'), set::className('ghost text-white'), $lang->goback)),
set::main($actions['mainActions']),
set::suffix($actions['suffixActions'])
),
@@ -211,4 +211,4 @@ div
set::commentUrl(createLink('action', 'comment', array('objectType' => 'instance', 'objectID' => $instance->id))),
)
)
);
);