Commit df5ce670e2a64080ab52d913bbb1d3dc42e56f7f

Authored by Megan Watson
1 parent 0bedf706

Added breadcrumbs

Committed by: Megan Watson
plugins/ktcore/admin/manageCleanup.php
... ... @@ -5,7 +5,7 @@
5 5 * KnowledgeTree Community Edition
6 6 * Document Management Made Simple
7 7 * Copyright (C) 2008, 2009 KnowledgeTree Inc.
8   - *
  8 + *
9 9 *
10 10 * This program is free software; you can redistribute it and/or modify it under
11 11 * the terms of the GNU General Public License version 3 as published by the
... ... @@ -69,6 +69,8 @@ class ManageCleanupDispatcher extends KTAdminDispatcher {
69 69  
70 70 function do_main()
71 71 {
  72 + $this->aBreadcrumbs[] = array('url' => $_SERVER['PHP_SELF'], 'name' => _kt('Document Storage Verification'));
  73 + $this->oPage->setTitle(_kt('Document Storage Verification'));
72 74  
73 75 $oForm = new KTForm;
74 76 $oForm->setOptions(array(
... ... @@ -82,7 +84,12 @@ class ManageCleanupDispatcher extends KTAdminDispatcher {
82 84 }
83 85  
84 86  
85   - function do_verify() {
  87 + function do_verify()
  88 + {
  89 + $this->aBreadcrumbs[] = array('url' => $_SERVER['PHP_SELF'], 'name' => _kt('Document Storage Verification'));
  90 + $this->oPage->setTitle(_kt('Document Storage Verification'));
  91 + $this->oPage->setBreadcrumbDetails(_kt('verify'));
  92 +
86 93 global $aFoldersToRemove;
87 94 global $aFilesToRemove;
88 95 global $aRepoDocumentProblems;
... ...