mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-24 10:31:20 +00:00
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
This commit is contained in:
commit
00c3a63ff1
|
@ -563,7 +563,11 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
echo " <a class=\"dropdown-toggle\" data-toggle=\"dropdown\">".$menuitem['label']." <i class=\"fa fa-caret-down\"></i></a>\n";
|
||||
echo " <ul class=\"dropdown-menu\" role=\"menu\">\n";
|
||||
foreach($menuitem['children'] as $submenuitem) {
|
||||
echo " <li><a href=\"".$submenuitem['link']."\"".(isset($submenuitem['target']) ? ' target="'.$submenuitem['target'].'"' : '').">".$submenuitem['label']."</a></li>\n";
|
||||
echo " <li><a href=\"".$submenuitem['link']."\"".(isset($submenuitem['target']) ? ' target="'.$submenuitem['target'].'"' : '');
|
||||
if(!empty($submenuitem['attributes']))
|
||||
foreach($submenuitem['attributes'] as $attr)
|
||||
echo ' '.$attr[0].'="'.$attr[1].'"';
|
||||
echo ">".$submenuitem['label']."</a></li>\n";
|
||||
}
|
||||
echo " </ul>\n";
|
||||
} else {
|
||||
|
|
|
@ -378,7 +378,11 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
echo " <a class=\"nav-link dropdown-toggle\" data-toggle=\"dropdown\">".$menuitem['label']."</a>\n";
|
||||
echo " <div class=\"dropdown-menu dropdown-menu-left\">\n";
|
||||
foreach($menuitem['children'] as $submenuitem) {
|
||||
echo " <a class=\"dropdown-item\" href=\"".$submenuitem['link']."\"".(isset($submenuitem['target']) ? ' target="'.$submenuitem['target'].'"' : '').">".$submenuitem['label']."</a>\n";
|
||||
echo " <a class=\"dropdown-item\" href=\"".$submenuitem['link']."\"".(isset($submenuitem['target']) ? ' target="'.$submenuitem['target'].'"' : '');
|
||||
if(!empty($submenuitem['attributes']))
|
||||
foreach($submenuitem['attributes'] as $attr)
|
||||
echo ' '.$attr[0].'="'.$attr[1].'"';
|
||||
echo ">".$submenuitem['label']."</a>\n";
|
||||
}
|
||||
echo " </div>\n";
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue
Block a user