mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
Fix shortcut menu not selected when it is a URL link to an internal page #2439
This commit is contained in:
parent
27fb793080
commit
6e5ee53ea3
1 changed files with 3 additions and 1 deletions
|
|
@ -2178,7 +2178,7 @@ class MenuAdminController extends Menu
|
|||
"normal_btn" => %s,
|
||||
"hover_btn" => %s,
|
||||
"active_btn" => %s,
|
||||
"selected" => (array(%s) && in_array(Context::get("mid"), array(%s)) ? 1 : 0),
|
||||
"selected" => ((%s === "Y" && %s === \RX_BASEURL . \RX_REQUEST_URL) || (array(%s) && in_array(Context::get("mid"), array(%s))) ? 1 : 0),
|
||||
"expand" => %s,
|
||||
"list" => array(%s),
|
||||
"link" => (%s ? (array(%s) && in_array(Context::get("mid"), array(%s)) ? %s : %s) : "")' . PHP_EOL,
|
||||
|
|
@ -2201,6 +2201,8 @@ class MenuAdminController extends Menu
|
|||
var_export($normal_btn, true),
|
||||
var_export($hover_btn, true),
|
||||
var_export($active_btn, true),
|
||||
var_export($is_shortcut, true),
|
||||
var_export($url, true),
|
||||
$selected,
|
||||
$selected,
|
||||
var_export($expand, true),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue