Browse Source

Update inc_menu_func.php

tags/6.2.0
llgoer 1 year ago
parent
commit
73296e76dd
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/admin/inc/inc_menu_func.php

+ 1
- 1
src/admin/inc/inc_menu_func.php View File

@@ -37,7 +37,6 @@ function GetMenus($userrank, $topos = 'main')
$icon = $ctag->GetAtt('icon'); $icon = $ctag->GetAtt('icon');
} }
$htmp = str_replace('~icon~', $icon, $htmp); $htmp = str_replace('~icon~', $icon, $htmp);
$htmp = str_replace('~cc~', $m.'_'.$openitem, $htmp);
echo $htmp; echo $htmp;
$dtp2->LoadSource($ctag->InnerText); $dtp2->LoadSource($ctag->InnerText);
foreach ($dtp2->CTags as $j => $ctag2) { foreach ($dtp2->CTags as $j => $ctag2) {
@@ -50,6 +49,7 @@ function GetMenus($userrank, $topos = 'main')
} else { } else {
$addico = 'fa-plus-circle'; $addico = 'fa-plus-circle';
} }
$addalt = $ctag2->GetAtt('addalt');
$link = "$link<a href='".$ctag2->GetAtt('linkadd')."' class='submenu-right' target='".$ctag2->GetAtt('target')."'><span class='fa $addico' title='$addalt'></span></a>"; $link = "$link<a href='".$ctag2->GetAtt('linkadd')."' class='submenu-right' target='".$ctag2->GetAtt('target')."'><span class='fa $addico' title='$addalt'></span></a>";
} else { } else {
$link .= ""; $link .= "";


Loading…
Cancel
Save