From: stekkel Date: Sat, 4 Feb 2006 17:03:53 +0000 (+0000) Subject: footer.tpl replacements X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=879e86ec7a836d5e0c950290d7cc13f5ea2b98d7;p=squirrelmail.git footer.tpl replacements git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10634 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- 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