From 879e86ec7a836d5e0c950290d7cc13f5ea2b98d7 Mon Sep 17 00:00:00 2001 From: stekkel Date: Sat, 4 Feb 2006 17:03:53 +0000 Subject: [PATCH] footer.tpl replacements git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10634 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/addrbook_search_html.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/addrbook_search_html.php b/src/addrbook_search_html.php index f1931f0d..b2bd6fa3 100644 --- a/src/addrbook_search_html.php +++ b/src/addrbook_search_html.php @@ -259,7 +259,7 @@ if ($addrquery == '' || ! empty($listall)) { usort($res,'alistcmp'); addr_display_result($res, true); } - echo "\n"; + $oTemplate->display('footer.tpl'); exit; } elseif (!empty($addrquery)) { /* Do the search */ @@ -273,14 +273,14 @@ if ($addrquery == '' || ! empty($listall)) { echo html_tag( 'p', '
' . _("Your search failed with the following error(s)") . ':
' . $abook->error . "
\n" , - 'center' ) . - "\n\n"; + 'center' ) . "\n"; + $oTemplate->display('footer.tpl'); } else { if (sizeof($res) == 0) { echo html_tag( 'p', '
' . _("No persons matching your search were found") . "\n" , - 'center' ) . - "\n\n"; + 'center' ) . "\n"; + $oTemplate->display('footer.tpl'); } else { addr_display_result($res); } @@ -300,6 +300,6 @@ if ($addrquery == '' || sizeof($res) == 0) { echo '' . "\n" . ''; } -display('footer.tpl'); ?> \ No newline at end of file -- 2.25.1