diff options
| author | fisharebest <fisharebest@gmail.com> | 2011-11-03 16:53:45 +0000 |
|---|---|---|
| committer | fisharebest <fisharebest@gmail.com> | 2011-11-03 16:53:45 +0000 |
| commit | 9d2590405cd5a328d0ec539fc5726295516aa948 (patch) | |
| tree | e8b864adba7b8168f5bea0c5ff7af01b37af7bcc /repo.php | |
| parent | cb2511e547d67b5104aa5f13cdbe1dcef03d92d6 (diff) | |
| download | webtrees-9d2590405cd5a328d0ec539fc5726295516aa948.tar.gz webtrees-9d2590405cd5a328d0ec539fc5726295516aa948.tar.bz2 webtrees-9d2590405cd5a328d0ec539fc5726295516aa948.zip | |
Fix: page footers not being displayed on pages with controllers
Diffstat (limited to 'repo.php')
| -rw-r--r-- | repo.php | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -31,7 +31,7 @@ require_once WT_ROOT.'includes/functions/functions_print_lists.php'; $controller=new WT_Controller_Repository(); if ($controller->record && $controller->record->canDisplayDetails()) { - print_header($controller->getPageTitle()); + $controller->pageHeader(); if ($controller->record->isMarkedDeleted()) { if (WT_USER_CAN_ACCEPT) { echo @@ -71,9 +71,8 @@ if ($controller->record && $controller->record->canDisplayDetails()) { } } else { header($_SERVER['SERVER_PROTOCOL'].' 403 Forbidden'); - print_header($controller->getPageTitle()); + $controller->pageHeader(); echo '<p class="ui-state-error">', WT_I18N::translate('This repository does not exist or you do not have permission to view it.'), '</p>'; - print_footer(); exit; } @@ -142,5 +141,3 @@ echo '<div id="repo-tabs"> echo '</div>'; //close div "repo-tabs" echo '</div>'; //close div "repo-details" - -print_footer(); |
