From c6f1c1ac1a7f41ff223a009f15993f9875947903 Mon Sep 17 00:00:00 2001 From: tokul Date: Sat, 5 Nov 2005 13:40:02 +0000 Subject: [PATCH] js=off triggers e_notice level error. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10254 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/addrbook_search_html.php | 36 +++++++++++++++++++----------------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/src/addrbook_search_html.php b/src/addrbook_search_html.php index 4361d31f..df965e49 100644 --- a/src/addrbook_search_html.php +++ b/src/addrbook_search_html.php @@ -1,5 +1,4 @@ ' . - "\n\n" . - "\n"; - $chk_all = '' . _("All") . ' '._("To").''. + if ($javascript_on) { + print + '\n"; + $chk_all = ''._("All").' '._("To").''. '  '. '' . _("All") . ' '._("Cc").''. '  '. '' . _("All") . ''; + } else { + // check_all links are used only in JavaScript. disable links in js=off environment. + $chk_all = ''; } echo html_tag( 'table', '', 'center', '', 'border="0" width="98%"' ) . html_tag( 'tr', '', '', $color[9] ) . -- 2.25.1