diff --git a/plugins/MyDropDocumentsPlugin/MyDropDocumentsPage.php b/plugins/MyDropDocumentsPlugin/MyDropDocumentsPage.php index 8d41c4b..977655a 100644 --- a/plugins/MyDropDocumentsPlugin/MyDropDocumentsPage.php +++ b/plugins/MyDropDocumentsPlugin/MyDropDocumentsPage.php @@ -282,8 +282,23 @@ class MyDropDocumentsPage extends KTStandardDispatcher { global $default; $default->log->debug('Error retrieving dropped documents - '.$aDocumentTransactions->getMessage()); } + $sReturnTable = _kt(' You do not have any dropped documents


'); + + $subFolders = Folder::getByParentId($iDropDocsFolderID); + if(PEAR::isError($subFolders) || empty($subFolders)){ + $iMyDocsFolderID = $iDropDocsFolderID; + }else{ + foreach ($subFolders as $sub){ + if($sub->getName() == $sUserName){ + $iMyDocsFolderID = $sub->getID(); + break; + } + } + } + $location = 'browse.php?fFolderId='.$iMyDocsFolderID; - return _kt(' You do not have any dropped documents


'); + $sReturnTable .= ''._kt(' View All').' '; + return $sReturnTable; } $maxcount = 5; diff --git a/plugins/i18n/spanish/translations/es_SP/knowledgeTree.mo b/plugins/i18n/spanish/translations/es_SP/knowledgeTree.mo index 29a2ed5..5543f32 100644 Binary files a/plugins/i18n/spanish/translations/es_SP/knowledgeTree.mo and b/plugins/i18n/spanish/translations/es_SP/knowledgeTree.mo differ diff --git a/plugins/i18n/spanish/translations/es_SP/knowledgeTree.po b/plugins/i18n/spanish/translations/es_SP/knowledgeTree.po index 6df61aa..13a2254 100644 --- a/plugins/i18n/spanish/translations/es_SP/knowledgeTree.po +++ b/plugins/i18n/spanish/translations/es_SP/knowledgeTree.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: Knowledgetree Spanish\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2009-11-06 07:51+0200\n" -"PO-Revision-Date: 2010-09-14 10:18-0800\n" +"PO-Revision-Date: 2010-09-17 03:50-0800\n" "Last-Translator: Juan Tobar \n" "Language-Team: Juan Tobar \n" "MIME-Version: 1.0\n" @@ -44,7 +44,7 @@ msgstr " Nota: El grupo está definido como administrador de unidad pero no est #: plugins/MyDropDocumentsPlugin/MyDropDocumentsPage.php:344 msgid " View All" -msgstr "Ver Todo" +msgstr "Ir a mi carpeta personal" #: lib/browse/Criteria.inc:1021 msgid " ago" @@ -505,7 +505,7 @@ msgstr "" #: plugins/MyDropDocumentsPlugin/MyDropDocumentsPage.php:193 #: plugins/MyDropDocumentsPlugin/MyDropDocumentsPage.php:286 msgid " You do not have any dropped documents


" -msgstr " Usted no tiene ningún documento en su carpeta de documentos personales


" +msgstr " No hay ningún documento en su carpeta personal.
" #: i18n/templates.c:5351 msgid "Deleted, which completely removes the selected items from the lookup. Note that this may not be possible if some other aspect of the system depends on a particular lookup."