Library manager implementation #195

Merged
Llewellyn merged 24 commits from staging into master 2017-12-12 13:31:16 +00:00
Showing only changes of commit 94175a4725 - Show all commits

View File

@ -12629,6 +12629,8 @@ class Interpretation extends Fields
$nameList = ComponentbuilderHelper::safeString($menu['name']); $nameList = ComponentbuilderHelper::safeString($menu['name']);
$nameUpper = ComponentbuilderHelper::safeString($menu['name'], 'U'); $nameUpper = ComponentbuilderHelper::safeString($menu['name'], 'U');
$this->langContent['adminsys'][$lang.'_'.$nameUpper] = $menu['name']; $this->langContent['adminsys'][$lang.'_'.$nameUpper] = $menu['name'];
// urlencode
$menu['link'] = htmlspecialchars($menu['link'], ENT_XML1, 'UTF-8');
// add custom menu // add custom menu
$customMenu .= PHP_EOL."\t\t\t".'<menu link="'.$menu['link'].'">'.$lang.'_'.$nameUpper.'</menu>'; $customMenu .= PHP_EOL."\t\t\t".'<menu link="'.$menu['link'].'">'.$lang.'_'.$nameUpper.'</menu>';
} }
@ -12648,6 +12650,8 @@ class Interpretation extends Fields
$nameList = ComponentbuilderHelper::safeString($menu['name']); $nameList = ComponentbuilderHelper::safeString($menu['name']);
$nameUpper = ComponentbuilderHelper::safeString($menu['name'], 'U'); $nameUpper = ComponentbuilderHelper::safeString($menu['name'], 'U');
$this->langContent['adminsys'][$lang.'_'.$nameUpper] = $menu['name']; $this->langContent['adminsys'][$lang.'_'.$nameUpper] = $menu['name'];
// urlencode
$menu['link'] = htmlspecialchars($menu['link'], ENT_XML1, 'UTF-8');
// add custom menu // add custom menu
$this->lastCustomMainMenu[$nr] = PHP_EOL."\t\t\t".'<menu link="'.$menu['link'].'">'.$lang.'_'.$nameUpper.'</menu>'; $this->lastCustomMainMenu[$nr] = PHP_EOL."\t\t\t".'<menu link="'.$menu['link'].'">'.$lang.'_'.$nameUpper.'</menu>';
} }