* Fix bug #13892.
This commit is contained in:
@@ -81,6 +81,8 @@ td.c-name a:visited {color: #082999;}
|
||||
#pageNav .dropdown-menu {max-height: 350px; overflow-y: auto;}
|
||||
|
||||
#createDropdown ul.dropdown-menu {text-align: left;}
|
||||
#collection-menu {max-width: 300px;}
|
||||
#collection-menu li a {overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
|
||||
#project, #product, #custom, #book {min-height: 160px;}
|
||||
#title .menu-title {font-size: 15px; font-weight: 600; position: relative; padding: 2px 0 2px 15px; list-style: none;}
|
||||
#title .dropdown-menu {top: 38px;}
|
||||
|
||||
@@ -106,7 +106,7 @@ $lang->doc->deleteLib = '删除文档库';
|
||||
$lang->doc->fixedMenu = '固定到菜单栏';
|
||||
$lang->doc->removeMenu = '从菜单栏移除';
|
||||
$lang->doc->search = '搜索';
|
||||
$lang->doc->allCollections = '全部收藏文档';
|
||||
$lang->doc->allCollections = '查看全部收藏文档';
|
||||
$lang->doc->keywordsTips = '多个关键字请用逗号分隔。';
|
||||
|
||||
global $config;
|
||||
|
||||
@@ -1814,7 +1814,7 @@ class docModel extends model
|
||||
|
||||
$html = "<div class='btn-group dropdown-hover'>";
|
||||
$html .= "<a href='javascript:;' class='btn btn-link' data-toggle='dropdown'>{$this->lang->doc->myCollection}</a>";
|
||||
$html .= "<ul class='dropdown-menu pull-right'>";
|
||||
$html .= "<ul class='dropdown-menu pull-right' id='collection-menu'>";
|
||||
|
||||
if(empty($docs)) $html .= "<li>{$this->lang->noData}</li>";
|
||||
|
||||
@@ -1825,7 +1825,7 @@ class docModel extends model
|
||||
if($doc->type == 'project') $objectID = $doc->project;
|
||||
if($doc->type == 'execution') $objectID = $doc->execution;
|
||||
|
||||
$html .= '<li>' . html::a(inlink('objectLibs', "type={$doc->type}&objectID=$objectID&libID={$doc->lib}&docID={$doc->id}"), "<i class='icon icon-file-text'></i>" . $doc->title, '', "data-app='{$this->app->openApp}'") . '</li>';
|
||||
$html .= '<li>' . html::a(inlink('objectLibs', "type={$doc->type}&objectID=$objectID&libID={$doc->lib}&docID={$doc->id}"), "<i class='icon icon-file-text'></i>" . $doc->title, '', "data-app='{$this->app->openApp}' title='{$doc->title}'") . '</li>';
|
||||
}
|
||||
|
||||
$collectionCount = $this->dao->select('count(id) as count')->from(TABLE_DOC)
|
||||
|
||||
Reference in New Issue
Block a user