* Finish task #7728.

This commit is contained in:
Yagami
2020-09-01 14:28:26 +08:00
parent 814bea0cd3
commit 2045857098
2 changed files with 19 additions and 1 deletions
+6 -1
View File
@@ -51,7 +51,12 @@ class docModel extends model
$mainLib = $this->lang->doc->libTypeList[$type];
$selectHtml .= "<div class='btn-group angle-btn'>";
$selectHtml .= "<div class='btn-group'>";
$selectHtml .= "<a class='btn btn-limit' title=$mainLib href=" . helper::createLink('doc', 'allLibs', "type=product") . ">" . $mainLib . "</a>";
$selectHtml .= "<a data-toggle='dropdown' class='btn btn-limit' title=$mainLib>" . $mainLib . " <span class='caret'></span></a>";
$selectHtml .= "<ul class='dropdown-menu'>";
foreach($this->lang->doc->libTypeList as $libType => $libName)
{
$selectHtml .= '<li>' . html::a(helper::createLink('doc', 'allLibs', "type=$libType"), "<i class='icon {$this->lang->doc->libIconList[$libType]}'></i> {$this->lang->doc->libTypeList[$libType]}") . '</li>';
}
$selectHtml .='</ul></div></div>';
}