Commit ea521904a2d7522c50a3e8cf53add474c19f7c99
1 parent
d2ba899e
fix for KTS-770: rename should show the folder name.
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5549 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
2 changed files
with
4 additions
and
1 deletions
plugins/ktcore/folder/Rename.php
| @@ -59,6 +59,7 @@ class KTFolderRenameAction extends KTFolderAction { | @@ -59,6 +59,7 @@ class KTFolderRenameAction extends KTFolderAction { | ||
| 59 | $oTemplate->setData(array( | 59 | $oTemplate->setData(array( |
| 60 | 'context' => &$this, | 60 | 'context' => &$this, |
| 61 | 'fields' => $fields, | 61 | 'fields' => $fields, |
| 62 | + 'sFolderName' => $this->oFolder->getName(), | ||
| 62 | )); | 63 | )); |
| 63 | return $oTemplate->render(); | 64 | return $oTemplate->render(); |
| 64 | } | 65 | } |
templates/ktcore/folder/rename.smarty
| 1 | -<p class="descriptiveText">{i18n}This page allows you to rename a | 1 | +<h2>{i18n arg_name=$sFolderName}Renaming folder: #name#{/i18n}</h2> |
| 2 | + | ||
| 3 | +</h2><p class="descriptiveText">{i18n}This page allows you to rename a | ||
| 2 | folder.{/i18n}</p> | 4 | folder.{/i18n}</p> |
| 3 | 5 | ||
| 4 | {assign var=iFolderId value=$context->oFolder->getId()} | 6 | {assign var=iFolderId value=$context->oFolder->getId()} |