mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
Add module.getModuleAdminScopes (after) event
This commit is contained in:
parent
a2e5434aec
commit
64b0d97fbb
2 changed files with 17 additions and 2 deletions
|
|
@ -39,9 +39,9 @@
|
|||
{$lang->admin_scope}
|
||||
</label>
|
||||
<div class="x_controls">
|
||||
{@ $default_scopes = array_keys($lang->admin_scopes->getArrayCopy())}
|
||||
{@ $default_scopes = array_keys($manager_scopes)}
|
||||
{@ $admin_scopes = $admin_member ? (array_first($admin_member)->scopes ?? $default_scopes) : $default_scopes}
|
||||
<!--@foreach($lang->admin_scopes as $key => $val)-->
|
||||
<!--@foreach($manager_scopes as $key => $val)-->
|
||||
<label class="x_inline">
|
||||
<input type="checkbox" name="admin_scopes[]" value="{$key}" checked="checked"|cond="in_array($key, $admin_scopes)" />
|
||||
{$val}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue