* Modify menu alias.

This commit is contained in:
caoyanyi
2023-02-24 08:54:07 +08:00
parent aee71d2228
commit b6830e3d1a
2 changed files with 7 additions and 0 deletions
+2
View File
@@ -257,3 +257,5 @@ if($config->vision == 'lite')
global $lang;
$config->dev->commonLang = array('$URCOMMON' => $lang->URCommon, '$SRCOMMON' => $lang->SRCommon, '$PRODUCTCOMMON' => $lang->productCommon, '$PROJECTCOMMON' => $lang->projectCommon, '$EXECUTIONCOMMON' => $lang->executionCommon);
$config->dev->linkMethods['my']['my-calendar'] = array('my', 'todo');
+5
View File
@@ -612,6 +612,11 @@ class devModel extends model
if(strpos($link, '|') === false) continue;
list($label, $thisModule, $thisMethod) = explode('|', $link);
if(isset($this->config->dev->linkMethods[$module]["{$thisModule}-{$thisMethod}"]))
{
list($thisModule, $thisMethod) = $this->config->dev->linkMethods[$module]["{$thisModule}-{$thisMethod}"];
}
$subMenu = new stdclass();
$subMenu->title = $label;
$subMenu->key = '';