22 lines
451 B
PHP
Executable File
22 lines
451 B
PHP
Executable File
<?php
|
|
declare(strict_types=1);
|
|
namespace zin;
|
|
|
|
jsVar('method', $this->app->methodName);
|
|
jsVar('pageParams', $this->app->params);
|
|
|
|
featureBar
|
|
(
|
|
to::before(select
|
|
(
|
|
setStyle(array('width' => '120px')),
|
|
set(array
|
|
(
|
|
'items' => $userList,
|
|
'value' => $user->id,
|
|
'onchange' => "window.switchAccount(this.value);"
|
|
))
|
|
)),
|
|
set::items($this->user->getFeatureBarMenus($user))
|
|
);
|