diff --git a/plugins/browseabledashlet/BrowseableDashlet.php b/plugins/browseabledashlet/BrowseableDashlet.php index 472d1c9..a87eaf1 100644 --- a/plugins/browseabledashlet/BrowseableDashlet.php +++ b/plugins/browseabledashlet/BrowseableDashlet.php @@ -28,7 +28,12 @@ require_once(KT_LIB_DIR . '/browse/browseutil.inc.php'); class BrowseableFolderDashlet extends KTBaseDashlet { var $oUser; - + var $sClass = "ktInfo"; + + function BrowseableFolderDashlet() { + $this->sTitle = _kt('Orphaned Folders'); + } + function is_active($oUser) { $this->oUser = $oUser; @@ -45,10 +50,6 @@ class BrowseableFolderDashlet extends KTBaseDashlet { $aFolders = array(); } - if (empty($aFolders)) { - return; - } - $aTemplateData = array( 'folders' => $aFolders, ); diff --git a/plugins/browseabledashlet/templates/browseabledashlet/dashlet.smarty b/plugins/browseabledashlet/templates/browseabledashlet/dashlet.smarty index ea3fccf..070fbb6 100644 --- a/plugins/browseabledashlet/templates/browseabledashlet/dashlet.smarty +++ b/plugins/browseabledashlet/templates/browseabledashlet/dashlet.smarty @@ -1,5 +1,3 @@ -
{i18n}Since KnowledgeTree only shows you the folders and documents you are allowed to see, there are some placed that you can view but can't get to — for example, if they are in a folder you are not