diff --git a/browse.php b/browse.php index 7cdee25..99ca0e8 100755 --- a/browse.php +++ b/browse.php @@ -158,7 +158,7 @@ class BrowseDispatcher extends KTStandardDispatcher { $this->resultURL = KTUtil::addQueryString($_SERVER['PHP_SELF'], sprintf("fBrowseMode=lookup_value&fField=%d&fValue=%d", $field, $value)); $this->aBreadcrumbs[] = array('name' => _('Lookup Values'), 'url' => KTUtil::addQueryString($_SERVER['PHP_SELF'], 'action=selectField')); $this->aBreadcrumbs[] = array('name' => $oField->getName(), 'url' => KTUtil::addQueryString($_SERVER['PHP_SELF'], 'action=selectLookup&fField=' . $oField->getId())); - $this->aBreadcrumbs[] = array('name' => $oField->getName(), 'url' => KTUtil::addQueryString($_SERVER['PHP_SELF'], sprintf("fBrowseMode=lookup_value&fField=%d&fValue=%d", $field, $value))); + $this->aBreadcrumbs[] = array('name' => $oValue->getName(), 'url' => KTUtil::addQueryString($_SERVER['PHP_SELF'], sprintf("fBrowseMode=lookup_value&fField=%d&fValue=%d", $field, $value))); } else if ($this->browse_mode == 'document_type') { $this->editable = false; // FIXME implement document_type browsing. diff --git a/docs/VERSION.txt b/docs/VERSION.txt index 6a81223..1f73450 100644 --- a/docs/VERSION.txt +++ b/docs/VERSION.txt @@ -1 +1 @@ -2.99.8 +2.99.8-20060210-2 diff --git a/plugins/ktcore/KTFolderActions.php b/plugins/ktcore/KTFolderActions.php index d099a00..146e41c 100644 --- a/plugins/ktcore/KTFolderActions.php +++ b/plugins/ktcore/KTFolderActions.php @@ -48,7 +48,7 @@ class KTFolderAddFolderAction extends KTFolderAction { $this->oValidator->notError($res, $aErrorOptions); $this->commitTransaction(); - controllerRedirect('browse', sprintf('fFolderId=%d', $this->oFolder->getId())); + controllerRedirect('browse', sprintf('fFolderId=%d', $res->getId())); exit(0); } } diff --git a/plugins/ktcore/admin/manageHelp.php b/plugins/ktcore/admin/manageHelp.php index 4436cfd..b4b4b59 100755 --- a/plugins/ktcore/admin/manageHelp.php +++ b/plugins/ktcore/admin/manageHelp.php @@ -17,7 +17,7 @@ class ManageHelpDispatcher extends KTAdminDispatcher { } function getData() { - $this->aBreadcrumbs[] = array('action' => 'manageHelp', 'name' => _('Help Administration')); + $this->aBreadcrumbs[] = array('url' => $_SERVER['PHP_SELF'], 'name' => _('Help Administration')); $this->oPage->setBreadcrumbDetails(_('select a section')); $this->oPage->setTitle(_('Help Administration')); $oTemplating = new KTTemplating; @@ -34,7 +34,7 @@ class ManageHelpDispatcher extends KTAdminDispatcher { } function getReplacementItemData($oHelpReplacement) { - $this->aBreadcrumbs[] = array('action' => 'manageHelp', 'name' => _('Help Administration')); + $this->aBreadcrumbs[] = array('url' => $_SERVER['PHP_SELF'], 'name' => _('Help Administration')); $this->oPage->setTitle(_('Editing: ') . $oHelpReplacement->getTitle()); $oTemplating = new KTTemplating; $oTemplate = $oTemplating->loadTemplate("ktcore/manage_help_item");