Commit 3b1270d50991c4f793c12e88f382870228f95052

Authored by nbm
1 parent 5c684c1a

Clean up admin pages - remove commented-out require of dmsDefaults and

dispatcher logic, and replace use of 'action' breadcrumbs with url-based
ones.


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4444 c91229c3-7414-0410-bfa2-8a42b809f60b
plugins/ktcore/admin/archivedDocuments.php
1 1 <?php
2 2  
3   -//require_once('../../../../../config/dmsDefaults.php');
4 3 require_once(KT_LIB_DIR . '/dispatcher.inc.php');
5 4 require_once(KT_LIB_DIR . '/templating/templating.inc.php');
6 5  
... ... @@ -15,7 +14,7 @@ require_once(KT_LIB_DIR . &quot;/templating/kt3template.inc.php&quot;);
15 14 class ArchivedDocumentsDispatcher extends KTAdminDispatcher {
16 15  
17 16 function do_main () {
18   - $this->aBreadcrumbs[] = array('action' => 'archivedDocuments', 'name' => _('Archived Documents'));
  17 + $this->aBreadcrumbs[] = array('url' => $_SERVER['PHP_SELF'], 'name' => _('Archived Documents'));
19 18  
20 19 $this->oPage->setBreadcrumbDetails(_('list'));
21 20  
... ... @@ -32,7 +31,7 @@ class ArchivedDocumentsDispatcher extends KTAdminDispatcher {
32 31 }
33 32  
34 33 function do_confirm_restore() {
35   - $this->aBreadcrumbs[] = array('action' => 'archivedDocuments', 'name' => _('Archived Documents'));
  34 + $this->aBreadcrumbs[] = array('url' => $_SERVER['PHP_SELF'], 'name' => _('Archived Documents'));
36 35  
37 36 $selected_docs = KTUtil::arrayGet($_REQUEST, 'selected_docs', array());
38 37  
... ... @@ -95,7 +94,4 @@ class ArchivedDocumentsDispatcher extends KTAdminDispatcher {
95 94 }
96 95 }
97 96  
98   -//$d =& new DeletedDocumentsDispatcher;
99   -//$d->dispatch();
100   -
101 97 ?>
... ...
plugins/ktcore/admin/conditions.php
1 1 <?php
2 2  
3   -// boilerplate includes
4   -require_once("../../../../../config/dmsDefaults.php");
5   -require_once(KT_DIR . "/presentation/Html.inc");
6 3 require_once(KT_LIB_DIR . "/templating/templating.inc.php");
7 4 require_once(KT_LIB_DIR . "/dispatcher.inc.php");
8 5 require_once(KT_LIB_DIR . "/browse/Criteria.inc");
9 6 require_once(KT_LIB_DIR . "/search/savedsearch.inc.php");
10 7  
11   -// specific includes
12   -
13   -$sectionName = "General";
14   -require_once(KT_DIR . "/presentation/webpageTemplate.inc");
15   -
16 8 class KTConditionDispatcher extends KTStandardDispatcher {
17 9 var $bAutomaticTransaction = true;
18 10  
... ... @@ -74,7 +66,4 @@ class KTConditionDispatcher extends KTStandardDispatcher {
74 66 }
75 67 }
76 68  
77   -$oDispatcher = new KTConditionDispatcher();
78   -$oDispatcher->dispatch();
79   -
80 69 ?>
... ...
plugins/ktcore/admin/deletedDocuments.php
1 1 <?php
2 2  
3   -//require_once('../../../../../config/dmsDefaults.php');
4 3 require_once(KT_LIB_DIR . '/dispatcher.inc.php');
5 4 require_once(KT_LIB_DIR . '/templating/templating.inc.php');
6 5  
... ... @@ -12,7 +11,7 @@ require_once(KT_LIB_DIR . &quot;/templating/kt3template.inc.php&quot;);
12 11  
13 12 class DeletedDocumentsDispatcher extends KTAdminDispatcher {
14 13 function do_main () {
15   - $this->aBreadcrumbs[] = array('action' => 'deletedDocuments', 'name' => _('Deleted Documents'));
  14 + $this->aBreadcrumbs[] = array('url' => $_SERVER['PHP_SELF'], 'name' => _('Deleted Documents'));
16 15  
17 16 $this->oPage->setBreadcrumbDetails(_('view'));
18 17  
... ... @@ -29,7 +28,7 @@ class DeletedDocumentsDispatcher extends KTAdminDispatcher {
29 28 }
30 29  
31 30 function do_confirm_expunge() {
32   - $this->aBreadcrumbs[] = array('action' => 'deletedDocuments', 'name' => _('Deleted Documents'));
  31 + $this->aBreadcrumbs[] = array('url' => $_SERVER['PHP_SELF'], 'name' => _('Deleted Documents'));
33 32  
34 33 $selected_docs = KTUtil::arrayGet($_REQUEST, 'selected_docs', array());
35 34  
... ... @@ -102,7 +101,4 @@ class DeletedDocumentsDispatcher extends KTAdminDispatcher {
102 101 }
103 102 }
104 103  
105   -//$d =& new DeletedDocumentsDispatcher;
106   -//$d->dispatch();
107   -
108 104 ?>
... ...
plugins/ktcore/admin/documentFields.php
1 1 <?php
2 2  
3   -//require_once('../../../../../config/dmsDefaults.php');
4 3 require_once(KT_LIB_DIR . '/dispatcher.inc.php');
5 4 require_once(KT_LIB_DIR . '/templating/templating.inc.php');
6 5 require_once(KT_LIB_DIR . '/templating/kt3template.inc.php');
... ... @@ -16,9 +15,13 @@ require_once(KT_LIB_DIR . &#39;/widgets/fieldWidgets.php&#39;);
16 15 class KTDocumentFieldDispatcher extends KTStandardDispatcher {
17 16 var $bAutomaticTransaction = true;
18 17  
  18 + function check() {
  19 + $this->aBreadcrumbs[] = array('url' => $_SERVER['PHP_SELF'], 'name' => _('Document Field Management'));
  20 + return true;
  21 + }
  22 +
19 23 // {{{ do_main
20 24 function do_main () {
21   - $this->aBreadcrumbs[] = array('action' => 'docfield', 'name' => _('Document Field Management'));
22 25 $this->oPage->setBreadcrumbDetails(_("view fieldsets"));
23 26  
24 27 // function KTBaseWidget($sLabel, $sDescription, $sName, $value, $oPage, $bRequired = false, $sId = null, $aErrors = null, $aOptions = null) {
... ... @@ -68,7 +71,7 @@ class KTDocumentFieldDispatcher extends KTStandardDispatcher {
68 71  
69 72  
70 73 $this->aBreadcrumbs[] = array(
71   - 'action' => 'docfield',
  74 + 'url' => $_SERVER['PHP_SELF'],
72 75 'query' => 'action=edit&fFieldsetId=' . $_REQUEST['fFieldsetId'],
73 76 'name' => 'Fieldset ' . $oFieldset->getName()
74 77 );
... ... @@ -176,7 +179,7 @@ class KTDocumentFieldDispatcher extends KTStandardDispatcher {
176 179 $oField =& DocumentField::get($_REQUEST['fFieldId']);
177 180  
178 181 $this->aBreadcrumbs[] = array(
179   - 'action' => 'docfield',
  182 + 'url' => $_SERVER['PHP_SELF'],
180 183 'query' => 'action=edit&fFieldsetId=' . $_REQUEST['fFieldsetId'],
181 184 'name' => $oFieldset->getName()
182 185 );
... ... @@ -406,12 +409,12 @@ class KTDocumentFieldDispatcher extends KTStandardDispatcher {
406 409 $sIncomplete = null;
407 410 }
408 411 $this->aBreadcrumbs[] = array(
409   - 'action' => 'docfield',
  412 + 'url' => $_SERVER['PHP_SELF'],
410 413 'query' => 'action=edit&fFieldsetId=' . $_REQUEST['fFieldsetId'],
411 414 'name' => $oFieldset->getName()
412 415 );
413 416 $this->aBreadcrumbs[] = array(
414   - 'action' => 'docfield',
  417 + 'url' => $_SERVER['PHP_SELF'],
415 418 'query' => 'action=manageConditional&fFieldsetId=' . $_REQUEST['fFieldsetId'],
416 419 'name' => _('Manage conditional field'),
417 420 );
... ... @@ -530,8 +533,4 @@ class KTDocumentFieldDispatcher extends KTStandardDispatcher {
530 533 // }}}
531 534 }
532 535  
533   -// use the admin dispatch mechanisms.
534   -//$d =& new KTDocumentFieldDispatcher;
535   -//$d->dispatch();
536   -
537 536 ?>
... ...
plugins/ktcore/admin/documentLinks.php
... ... @@ -24,9 +24,6 @@
24 24 * @package documentmanagement
25 25 */
26 26  
27   -/* boilerplate */
28   -//require_once('../../../../../config/dmsDefaults.php');
29   -
30 27 require_once(KT_LIB_DIR . '/dispatcher.inc.php');
31 28 require_once(KT_LIB_DIR . '/templating/kt3template.inc.php');
32 29  
... ... @@ -154,8 +151,4 @@ class KTDocLinkAdminDispatcher extends KTAdminDispatcher {
154 151  
155 152 }
156 153  
157   -// use the new admin framework.
158   -//$d = new KTDocLinkAdminDispatcher();
159   -//$d->dispatch();
160   -
161 154 ?>
... ...
plugins/ktcore/admin/documentTypes.php
1 1 <?php
2 2  
3   -//require_once('../../../../../config/dmsDefaults.php');
4 3 require_once(KT_LIB_DIR . '/dispatcher.inc.php');
5 4 require_once(KT_LIB_DIR . '/templating/templating.inc.php');
6 5  
... ... @@ -16,7 +15,7 @@ class KTDocumentTypeDispatcher extends KTAdminDispatcher {
16 15 // Breadcrumbs base - added to in methods
17 16 function do_main () {
18 17  
19   - $this->aBreadcrumbs[] = array('action' => 'doctype', 'name' => _('Document Type Management'));
  18 + $this->aBreadcrumbs[] = array('url' => $_SERVER['PHP_SELF'], 'name' => _('Document Type Management'));
20 19  
21 20 $this->oPage->setBreadcrumbDetails('view types');
22 21  
... ... @@ -66,7 +65,7 @@ class KTDocumentTypeDispatcher extends KTAdminDispatcher {
66 65  
67 66 function do_edit() {
68 67  
69   - $this->aBreadcrumbs[] = array('action' => 'doctype', 'name' => _('Document Type Management'));
  68 + $this->aBreadcrumbs[] = array('url' => $_SERVER['PHP_SELF'], 'name' => _('Document Type Management'));
70 69  
71 70 $oTemplating =& KTTemplating::getSingleton();
72 71 $oTemplate = $oTemplating->loadTemplate('ktcore/documenttypes/edit');
... ... @@ -140,7 +139,4 @@ class KTDocumentTypeDispatcher extends KTAdminDispatcher {
140 139 }
141 140 }
142 141  
143   -//$d =& new KTDocumentTypeDispatcher;
144   -//$d->dispatch();
145   -
146 142 ?>
... ...
plugins/ktcore/admin/groupManagement.php
1 1 <?php
2 2  
3   -//require_once('../../../../../config/dmsDefaults.php');
4   -
5 3 require_once(KT_LIB_DIR . '/users/User.inc');
6 4 require_once(KT_LIB_DIR . '/groups/GroupUtil.php');
7 5 require_once(KT_LIB_DIR . '/groups/Group.inc');
... ... @@ -14,7 +12,7 @@ require_once(KT_LIB_DIR . &quot;/widgets/fieldWidgets.php&quot;);
14 12  
15 13 class KTGroupAdminDispatcher extends KTAdminDispatcher {
16 14 function do_main() {
17   - $this->aBreadcrumbs[] = array('action' => 'groupManagement', 'name' => _('Group Management'));
  15 + $this->aBreadcrumbs[] = array('url' => $_SERVER['PHP_SELF'], 'name' => _('Group Management'));
18 16 $this->oPage->setBreadcrumbDetails(_('select a group'));
19 17 $this->oPage->setTitle(_("Group Management"));
20 18  
... ... @@ -47,7 +45,7 @@ class KTGroupAdminDispatcher extends KTAdminDispatcher {
47 45  
48 46  
49 47 function do_editGroup() {
50   - $this->aBreadcrumbs[] = array('action' => 'groupManagement', 'name' => _('Group Management'));
  48 + $this->aBreadcrumbs[] = array('url' => $_SERVER['PHP_SELF'], 'name' => _('Group Management'));
51 49 $this->oPage->setBreadcrumbDetails(_('edit group'));
52 50  
53 51 $group_id = KTUtil::arrayGet($_REQUEST, 'group_id');
... ... @@ -331,7 +329,7 @@ class KTGroupAdminDispatcher extends KTAdminDispatcher {
331 329  
332 330  
333 331 function do_addGroup() {
334   - $this->aBreadcrumbs[] = array('action' => 'groupManagement', 'name' => _('Group Management'));
  332 + $this->aBreadcrumbs[] = array('url' => $_SERVER['PHP_SELF'], 'name' => _('Group Management'));
335 333 $this->oPage->setBreadcrumbDetails(_('create new group'));
336 334  
337 335  
... ...
plugins/ktcore/admin/manageCleanup.php
1 1 <?php
2 2  
3   -require_once("../../../../../config/dmsDefaults.php");
4   -
5 3 require_once(KT_DIR . "/presentation/Html.inc");
6 4  
7 5 require_once(KT_LIB_DIR . "/templating/templating.inc.php");
... ... @@ -160,7 +158,4 @@ class ManageCleanupDispatcher extends KTAdminDispatcher {
160 158 }
161 159 }
162 160  
163   -$oDispatcher = new ManageCleanupDispatcher();
164   -$oDispatcher->dispatch();
165   -
166 161 ?>
... ...
plugins/ktcore/admin/managePermissions.php
1 1 <?php
2   -//require_once("../../../../../config/dmsDefaults.php");
3 2  
4 3 require_once(KT_LIB_DIR . "/templating/templating.inc.php");
5 4 require_once(KT_LIB_DIR . "/permissions/permission.inc.php");
... ... @@ -9,7 +8,7 @@ require_once(KT_LIB_DIR . &quot;/templating/kt3template.inc.php&quot;);
9 8 class ManagePermissionsDispatcher extends KTAdminDispatcher {
10 9 function do_main() {
11 10 $this->oPage->setTitle(_('Manage Permissions'));
12   - $this->aBreadcrumbs[] = array('action' => 'managePermissions', 'name' => _('Manage Permissions'));
  11 + $this->aBreadcrumbs[] = array('url' => $_SERVER['PHP_SELF'], 'name' => _('Manage Permissions'));
13 12  
14 13 $add_fields = array();
15 14 $add_fields[] = new KTStringWidget(_('System Name'),_('The internal name used for the permission. This should never be changed.'), 'name', null, $this->oPage, true);
... ... @@ -62,7 +61,4 @@ class ManagePermissionsDispatcher extends KTAdminDispatcher {
62 61 }
63 62 }
64 63  
65   -//$oDispatcher = new ManagePermissionsDispatcher();
66   -//$oDispatcher->dispatch();
67   -
68 64 ?>
... ...
plugins/ktcore/admin/orgManagement.php
1 1 <?php
2 2  
3   -//require_once('../../../../../config/dmsDefaults.php');
4   -
5 3 require_once(KT_LIB_DIR . '/orgmanagement/Organisation.inc');
6 4  
7 5 require_once(KT_LIB_DIR . "/templating/templating.inc.php");
... ... @@ -11,7 +9,7 @@ require_once(KT_LIB_DIR . &quot;/widgets/fieldWidgets.php&quot;);
11 9  
12 10 class KTOrgAdminDispatcher extends KTAdminDispatcher {
13 11 function do_main() {
14   - $this->aBreadcrumbs[] = array('action' => 'orgManagement', 'name' => _('Organisation Management'));
  12 + $this->aBreadcrumbs[] = array('url' => $_SERVER['PHP_SELF'], 'name' => _('Organisation Management'));
15 13 $this->oPage->setBreadcrumbDetails(_('select a organisation'));
16 14 $this->oPage->setTitle(_("Organisation Management"));
17 15  
... ... @@ -69,5 +67,4 @@ class KTOrgAdminDispatcher extends KTAdminDispatcher {
69 67  
70 68 }
71 69  
72   -
73 70 ?>
... ...
plugins/ktcore/admin/roleManagement.php
... ... @@ -36,7 +36,7 @@ class RoleAdminDispatcher extends KTAdminDispatcher {
36 36 }
37 37  
38 38 function do_main() {
39   - $this->aBreadcrumbs[] = array('action' => 'roleManagement', 'name' => _('Role Management'));
  39 + $this->aBreadcrumbs[] = array('url' => $_SERVER['PHP_SELF'], 'name' => _('Role Management'));
40 40  
41 41 $this->oPage->setTitle(_('Role Management'));
42 42  
... ...
plugins/ktcore/admin/savedSearch.php
1 1 <?php
2 2  
3 3 // boilerplate includes
4   -require_once("../../../../../config/dmsDefaults.php");
5   -require_once(KT_DIR . "/presentation/Html.inc");
6 4 require_once(KT_LIB_DIR . "/templating/templating.inc.php");
7 5 require_once(KT_LIB_DIR . "/dispatcher.inc.php");
8 6 require_once(KT_LIB_DIR . "/browse/Criteria.inc");
... ...
plugins/ktcore/admin/unitManagement.php
1 1 <?php
2 2  
3   -//require_once('../../../../../config/dmsDefaults.php');
4   -
5 3 require_once(KT_LIB_DIR . '/unitmanagement/Unit.inc');
6 4 require_once(KT_LIB_DIR . '/unitmanagement/UnitOrganisationLink.inc');
7 5 require_once(KT_LIB_DIR . '/orgmanagement/Organisation.inc');
... ... @@ -13,7 +11,7 @@ require_once(KT_LIB_DIR . &quot;/widgets/fieldWidgets.php&quot;);
13 11  
14 12 class KTUnitAdminDispatcher extends KTAdminDispatcher {
15 13 function do_main() {
16   - $this->aBreadcrumbs[] = array('action' => 'unitManagement', 'name' => _('Unit Management'));
  14 + $this->aBreadcrumbs[] = array('url' => $_SERVER['PHP_SELF'], 'name' => _('Unit Management'));
17 15 $this->oPage->setBreadcrumbDetails(_('select a unit'));
18 16 $this->oPage->setTitle(_("Unit Management"));
19 17  
... ... @@ -75,5 +73,4 @@ class KTUnitAdminDispatcher extends KTAdminDispatcher {
75 73  
76 74 }
77 75  
78   -
79 76 ?>
... ...
plugins/ktcore/admin/userManagement.php
1 1 <?php
2 2  
3   -//require_once('../../../../../config/dmsDefaults.php');
4   -
5 3 require_once(KT_LIB_DIR . '/database/dbutil.inc');
6 4  
7 5 require_once(KT_LIB_DIR . '/users/User.inc');
... ... @@ -19,7 +17,7 @@ require_once(KT_LIB_DIR . &quot;/authentication/builtinauthenticationprovider.inc.php
19 17  
20 18 class KTUserAdminDispatcher extends KTAdminDispatcher {
21 19 function do_main() {
22   - $this->aBreadcrumbs[] = array('action' => 'userManagement', 'name' => _('User Management'));
  20 + $this->aBreadcrumbs[] = array('url' => $_SERVER['PHP_SELF'], 'name' => _('User Management'));
23 21 $this->oPage->setBreadcrumbDetails(_('select a user'));
24 22 $this->oPage->setTitle(_("User Management"));
25 23  
... ... @@ -51,7 +49,7 @@ class KTUserAdminDispatcher extends KTAdminDispatcher {
51 49  
52 50  
53 51 function do_addUser() {
54   - $this->aBreadcrumbs[] = array('action' => 'userManagement', 'name' => _('User Management'));
  52 + $this->aBreadcrumbs[] = array('url' => $_SERVER['PHP_SELF'], 'name' => _('User Management'));
55 53 $this->oPage->setBreadcrumbDetails(_('add a new user'));
56 54 $this->oPage->setTitle(_("Modify User Details"));
57 55  
... ... @@ -91,7 +89,7 @@ class KTUserAdminDispatcher extends KTAdminDispatcher {
91 89 $oRegistry =& KTAuthenticationProviderRegistry::getSingleton();
92 90 $oProvider =& $oRegistry->getAuthenticationProvider($sProvider);
93 91  
94   - $this->aBreadcrumbs[] = array('action' => 'userManagement', 'name' => _('User Management'));
  92 + $this->aBreadcrumbs[] = array('url' => $_SERVER['PHP_SELF'], 'name' => _('User Management'));
95 93 $this->aBreadcrumbs[] = array('url' => $_SERVER['PHP_SELF'] . '?action=addUser', 'name' => _('add a new user'));
96 94 $oProvider->aBreadcrumbs = $this->aBreadcrumbs;
97 95 $oProvider->oPage->setBreadcrumbDetails($oSource->getName());
... ... @@ -102,7 +100,7 @@ class KTUserAdminDispatcher extends KTAdminDispatcher {
102 100 }
103 101  
104 102 function do_editUser() {
105   - $this->aBreadcrumbs[] = array('action' => 'userManagement', 'name' => _('User Management'));
  103 + $this->aBreadcrumbs[] = array('url' => $_SERVER['PHP_SELF'], 'name' => _('User Management'));
106 104 $this->oPage->setBreadcrumbDetails(_('modify user details'));
107 105 $this->oPage->setTitle(_("Modify User Details"));
108 106  
... ... @@ -147,7 +145,7 @@ class KTUserAdminDispatcher extends KTAdminDispatcher {
147 145  
148 146  
149 147 function do_setPassword() {
150   - $this->aBreadcrumbs[] = array('action' => 'userManagement', 'name' => _('User Management'));
  148 + $this->aBreadcrumbs[] = array('url' => $_SERVER['PHP_SELF'], 'name' => _('User Management'));
151 149 $this->oPage->setBreadcrumbDetails(_('change user password'));
152 150 $this->oPage->setTitle(_("Change User Password"));
153 151  
... ... @@ -436,7 +434,4 @@ class KTUserAdminDispatcher extends KTAdminDispatcher {
436 434  
437 435 }
438 436  
439   -//$oDispatcher = new KTUserAdminDispatcher ();
440   -//$oDispatcher->dispatch();
441   -
442 437 ?>
... ...
plugins/ktcore/admin/workflows.php
1 1 <?php
2 2  
3   -//require_once('../../../../../config/dmsDefaults.php');
4 3 require_once(KT_LIB_DIR . '/dispatcher.inc.php');
5 4 require_once(KT_LIB_DIR . '/validation/dispatchervalidation.inc.php');
6 5 require_once(KT_LIB_DIR . '/templating/templating.inc.php');
... ... @@ -9,8 +8,6 @@ require_once(KT_LIB_DIR . &#39;/workflow/workflow.inc.php&#39;);
9 8 require_once(KT_LIB_DIR . '/workflow/workflowstate.inc.php');
10 9 require_once(KT_LIB_DIR . '/workflow/workflowtransition.inc.php');
11 10  
12   -$sectionName = "Administration";
13   -
14 11 require_once(KT_LIB_DIR . "/templating/kt3template.inc.php");
15 12  
16 13 require_once(KT_LIB_DIR . '/permissions/permission.inc.php');
... ... @@ -25,7 +22,7 @@ class KTWorkflowDispatcher extends KTStandardDispatcher {
25 22 // {{{ do_main
26 23 function do_main () {
27 24 $this->aBreadcrumbs[] = array(
28   - 'action' => 'manageWorkflows',
  25 + 'url' => $_SERVER['PHP_SELF'],
29 26 'name' => _('Workflows'),
30 27 );
31 28  
... ... @@ -85,7 +82,7 @@ class KTWorkflowDispatcher extends KTStandardDispatcher {
85 82 $add_transition_fields[] = new KTLookupWidget(_('Guard Permission.'), _('Which permission must the user have in order to follow this transition?'), 'fPermissionId', $oWorkflow->getStartStateId(), $this->oPage, true, null, null, $aOptions);
86 83  
87 84 $this->aBreadcrumbs[] = array(
88   - 'action' => 'manageWorkflows',
  85 + 'url' => $_SERVER['PHP_SELF'],
89 86 'name' => _('Workflows'),
90 87 );
91 88 $this->aBreadcrumbs[] = array(
... ... @@ -201,7 +198,7 @@ class KTWorkflowDispatcher extends KTStandardDispatcher {
201 198 }
202 199 $aTransitionsSelected = KTWorkflowUtil::getTransitionsFrom($oState, array('ids' => true));
203 200 $this->aBreadcrumbs[] = array(
204   - 'action' => 'manageWorkflows',
  201 + 'url' => $_SERVER['PHP_SELF'],
205 202 'name' => _('Workflows'),
206 203 );
207 204 $this->aBreadcrumbs[] = array(
... ... @@ -407,7 +404,7 @@ class KTWorkflowDispatcher extends KTStandardDispatcher {
407 404 }
408 405  
409 406 $this->aBreadcrumbs[] = array(
410   - 'action' => 'manageWorkflows',
  407 + 'url' => $_SERVER['PHP_SELF'],
411 408 'name' => _('Workflows'),
412 409 );
413 410 $this->aBreadcrumbs[] = array(
... ... @@ -486,7 +483,4 @@ class KTWorkflowDispatcher extends KTStandardDispatcher {
486 483  
487 484 }
488 485  
489   -//$d =& new KTWorkflowDispatcher;
490   -//$d->dispatch();
491   -
492 486 ?>
... ...