* zin: refactor set:xxx usage to compatible with php 5.4.
This commit is contained in:
@@ -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))),
|
||||
)
|
||||
)
|
||||
);
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user