Commit 7a03d3fd524b1b020835821d2fa16542e3e3d4c8
1 parent
1f909a41
KTS-1510
"Orphaned folder dashlet not displaying correctly on dashboard" Fixed to use new Dashlet code git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@6120 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
2 changed files
with
6 additions
and
7 deletions
plugins/browseabledashlet/BrowseableDashlet.php
| ... | ... | @@ -28,7 +28,12 @@ require_once(KT_LIB_DIR . '/browse/browseutil.inc.php'); |
| 28 | 28 | |
| 29 | 29 | class BrowseableFolderDashlet extends KTBaseDashlet { |
| 30 | 30 | var $oUser; |
| 31 | - | |
| 31 | + var $sClass = "ktInfo"; | |
| 32 | + | |
| 33 | + function BrowseableFolderDashlet() { | |
| 34 | + $this->sTitle = _kt('Orphaned Folders'); | |
| 35 | + } | |
| 36 | + | |
| 32 | 37 | function is_active($oUser) { |
| 33 | 38 | $this->oUser = $oUser; |
| 34 | 39 | |
| ... | ... | @@ -45,10 +50,6 @@ class BrowseableFolderDashlet extends KTBaseDashlet { |
| 45 | 50 | $aFolders = array(); |
| 46 | 51 | } |
| 47 | 52 | |
| 48 | - if (empty($aFolders)) { | |
| 49 | - return; | |
| 50 | - } | |
| 51 | - | |
| 52 | 53 | $aTemplateData = array( |
| 53 | 54 | 'folders' => $aFolders, |
| 54 | 55 | ); | ... | ... |
plugins/browseabledashlet/templates/browseabledashlet/dashlet.smarty