|
Search:
Advanced search
|
Browse by category:
|
Glossary | Contact Us |
How to change the icon sizes displayed in Knowledgebase Publisher |
|||||
The folder and article icons can be found in kb/licent/images/icons. The size at which they are displayed are set in client/inc/KBClientView.php:
function _getItemImg($registered, $var, $category = false, $ext = false) { //if($var && !$registered && $this->isExtra('private')) { if($var && !$registered) { $tag = '<img src="%simages/icons/lock1.gif" alt="private" width="14" height="16" title="%s" />'; $tag = sprintf($tag, $this->controller->client_path, $this->msg['login_to_view_msg']); } elseif($category === 'file') { $_file = sprintf('%sclient/images/filetypes/%s.png', $this->controller->kb_dir, $ext); $file = sprintf('%simages/filetypes/%s.png', $this->controller->client_path, $ext); if(!file_exists($_file)) { $file = sprintf('%simages/filetypes/%s.png', $this->controller->client_path, 'file'); } $tag = sprintf('<img src="%s" alt="file" width="18" height="16" />', $file); } else { $tag = ($category) ? '<img src="%simages/icons/folder.gif" alt="folder" width="15" height="12" />' : '<img src="%simages/icons/article.gif" alt="document" width="11" height="14" />'; $tag = sprintf($tag, $this->controller->client_path); } return $tag; } |
|||||
Powered by
KnowledgebasePublisher (Knowledgebase software)