From 7a03d3fd524b1b020835821d2fa16542e3e3d4c8 Mon Sep 17 00:00:00 2001 From: kevin_fourie Date: Tue, 12 Dec 2006 10:36:41 +0000 Subject: [PATCH] KTS-1510 --- plugins/browseabledashlet/BrowseableDashlet.php | 11 ++++++----- plugins/browseabledashlet/templates/browseabledashlet/dashlet.smarty | 2 -- 2 files changed, 6 insertions(+), 7 deletions(-) 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}Orphaned Folders{/i18n}

-

{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 -- libgit2 0.21.4