* Adjust function definition method.
This commit is contained in:
@@ -20,7 +20,7 @@ namespace zin;
|
||||
* @access public
|
||||
* @return array
|
||||
*/
|
||||
$getExecutionTabs = function($executions, $blockNavCode): array
|
||||
function getExecutionTabs($executions, $blockNavCode): array
|
||||
{
|
||||
$navTabs = array();
|
||||
$selected = key($executions);
|
||||
@@ -61,7 +61,7 @@ $getExecutionTabs = function($executions, $blockNavCode): array
|
||||
* @access public
|
||||
* @return array
|
||||
*/
|
||||
$getExecutionInfo = function($executions, $blockNavID): array
|
||||
function getExecutionInfo($executions, $blockNavID): array
|
||||
{
|
||||
global $lang;
|
||||
|
||||
@@ -102,14 +102,14 @@ panel
|
||||
ul
|
||||
(
|
||||
set('class', 'nav nav-tabs nav-stacked'),
|
||||
$getExecutionTabs($executions, $blockNavCode)
|
||||
getExecutionTabs($executions, $blockNavCode)
|
||||
),
|
||||
),
|
||||
cell
|
||||
(
|
||||
set('class', 'tab-content'),
|
||||
set('width', '78%'),
|
||||
$getExecutionInfo($executions, $blockNavCode)
|
||||
getExecutionInfo($executions, $blockNavCode)
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user