Commit 98bc743d49796725a2d356e21efb781eb467b3ca
1 parent
a80e2293
Added in breadcrumbs and stuff
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5928 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
2 changed files
with
8 additions
and
3 deletions
plugins/ktcore/admin/documentFieldsv2.php
| ... | ... | @@ -342,6 +342,7 @@ class KTDocumentFieldDispatcher extends KTAdminDispatcher { |
| 342 | 342 | |
| 343 | 343 | function do_editfieldset() { |
| 344 | 344 | $oForm = $this->form_edit(); |
| 345 | + $this->oPage->setBreadcrumbDetails(_kt('edit fieldset')); | |
| 345 | 346 | return $oForm->renderPage(_kt("Edit Fieldset")); |
| 346 | 347 | } |
| 347 | 348 | ... | ... |
plugins/ktcore/admin/fieldsets/basic.inc.php
| ... | ... | @@ -80,6 +80,8 @@ class BasicFieldsetManagementDispatcher extends KTAdminDispatcher { |
| 80 | 80 | } |
| 81 | 81 | |
| 82 | 82 | function form_newfield() { |
| 83 | + $this->oPage->setBreadcrumbDetails(_kt('add field')); | |
| 84 | + | |
| 83 | 85 | $oForm = new KTForm; |
| 84 | 86 | $oForm->setOptions(array( |
| 85 | 87 | 'identifier' => 'ktcore.fieldsets.basic.field.create', |
| ... | ... | @@ -327,8 +329,9 @@ class BasicFieldsetManagementDispatcher extends KTAdminDispatcher { |
| 327 | 329 | } |
| 328 | 330 | |
| 329 | 331 | function do_addlookupvalues() { |
| 330 | - $oForm = $this->form_addlookups(); | |
| 331 | - | |
| 332 | + $this->oPage->setBreadcrumbDetails(_kt('add lookup values')); | |
| 333 | + | |
| 334 | + $oForm = $this->form_addlookups(); | |
| 332 | 335 | return $oForm->render(); |
| 333 | 336 | } |
| 334 | 337 | |
| ... | ... | @@ -399,6 +402,8 @@ class BasicFieldsetManagementDispatcher extends KTAdminDispatcher { |
| 399 | 402 | } |
| 400 | 403 | |
| 401 | 404 | function do_managelookups() { |
| 405 | + $this->oPage->setBreadcrumbDetails(_kt('manage lookup values')); | |
| 406 | + | |
| 402 | 407 | $oTemplate =& $this->oValidator->validateTemplate("ktcore/metadata/admin/manage_lookups"); |
| 403 | 408 | |
| 404 | 409 | $lookups =& MetaData::getByDocumentField($this->oField); |
| ... | ... | @@ -517,7 +522,6 @@ class BasicFieldsetManagementDispatcher extends KTAdminDispatcher { |
| 517 | 522 | function do_managetree() { |
| 518 | 523 | global $default; |
| 519 | 524 | // extract. |
| 520 | - | |
| 521 | 525 | $iFieldsetId = KTUtil::getId($this->oFieldset); |
| 522 | 526 | $iFieldId = KTUtil::getId($this->oField); |
| 523 | 527 | ... | ... |