Commit 30e7278cd95c0f99fb79a87e8b12d97c82e8eb02
1 parent
763b455b
make portlets consistent with folderaction.
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5849 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
2 additions
and
2 deletions
browse.php
| @@ -176,12 +176,12 @@ class BrowseDispatcher extends KTStandardDispatcher { | @@ -176,12 +176,12 @@ class BrowseDispatcher extends KTStandardDispatcher { | ||
| 176 | $this->aBreadcrumbs = array_merge($this->aBreadcrumbs, | 176 | $this->aBreadcrumbs = array_merge($this->aBreadcrumbs, |
| 177 | KTBrowseUtil::breadcrumbsForFolder($oFolder)); | 177 | KTBrowseUtil::breadcrumbsForFolder($oFolder)); |
| 178 | 178 | ||
| 179 | - $portlet = new KTActionPortlet(sprintf(_kt('Info about "%s"'), $this->oFolder->getName())); | 179 | + $portlet = new KTActionPortlet(sprintf(_kt('Info about this folder'))); |
| 180 | $aActions = KTFolderActionUtil::getFolderInfoActionsForFolder($this->oFolder, $this->oUser); | 180 | $aActions = KTFolderActionUtil::getFolderInfoActionsForFolder($this->oFolder, $this->oUser); |
| 181 | $portlet->setActions($aActions,$this->sName); | 181 | $portlet->setActions($aActions,$this->sName); |
| 182 | $this->oPage->addPortlet($portlet); | 182 | $this->oPage->addPortlet($portlet); |
| 183 | 183 | ||
| 184 | - $portlet = new KTActionPortlet(sprintf(_kt('Actions on "%s"'), $this->oFolder->getName())); | 184 | + $portlet = new KTActionPortlet(sprintf(_kt('Actions on this folder'))); |
| 185 | $aActions = KTFolderActionUtil::getFolderActionsForFolder($oFolder, $this->oUser); | 185 | $aActions = KTFolderActionUtil::getFolderActionsForFolder($oFolder, $this->oUser); |
| 186 | $portlet->setActions($aActions,null); | 186 | $portlet->setActions($aActions,null); |
| 187 | $this->oPage->addPortlet($portlet); | 187 | $this->oPage->addPortlet($portlet); |