From ef97102b4de76ec7ae9bc35b9a850d65a6b36120 Mon Sep 17 00:00:00 2001 From: teepe Date: Mon, 24 Dec 2001 19:30:16 +0000 Subject: [PATCH] style police take 2 git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1920 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/addrbook_search.php | 31 ++++++++----------------------- 1 file changed, 8 insertions(+), 23 deletions(-) diff --git a/src/addrbook_search.php b/src/addrbook_search.php index fa5fa570..dbaff000 100644 --- a/src/addrbook_search.php +++ b/src/addrbook_search.php @@ -15,22 +15,6 @@ * $Id$ */ -/*****************************************************************/ -/*** THIS FILE NEEDS TO HAVE ITS FORMATTING FIXED!!! ***/ -/*** PLEASE DO SO AND REMOVE THIS COMMENT SECTION. ***/ -/*** + Base level indent should begin at left margin, as ***/ -/*** the require_once below looks. ***/ -/*** + All identation should consist of four space blocks ***/ -/*** + Tab characters are evil. ***/ -/*** + all comments should use "slash-star ... star-slash" ***/ -/*** style -- no pound characters, no slash-slash style ***/ -/*** + FLOW CONTROL STATEMENTS (if, while, etc) SHOULD ***/ -/*** ALWAYS USE { AND } CHARACTERS!!! ***/ -/*** + Please use ' instead of ", when possible. Note " ***/ -/*** should always be used in _( ) function calls. ***/ -/*** Thank you for your help making the SM code more readable. ***/ -/*****************************************************************/ - require_once('../src/validate.php'); /* Function to include JavaScript code */ @@ -120,18 +104,19 @@ function display_result($res, $includesource = true) { echo "\n"; while (list($undef, $row) = each($res)) { - echo '' . + echo '' . 'To | " . 'Cc | " . + "'" . $row['email'] . "');\">Cc | " . 'Bcc" . + "'" . $row['email'] . "');\">Bcc" . ' ' . $row['name'] . ' ' . ' " . $row["email'] . ' ' . + "'" . $row['email'] . "');\">" . $row['email'] . ' ' . ' ' . $row['label'] . ' '; if ($includesource) { echo ' ' . $row['source']; @@ -186,7 +171,7 @@ if ($show == 'form') { '' . "\n" . ' ' . _("Search for") . "\n" . ' \n", + "\" SIZE=26>\n"; /* List all backends to allow the user to choose where to search */ if ($abook->numbackends > 1) { @@ -205,7 +190,7 @@ if ($show == 'form') { ' | ' . "\n" . '' . "\n" . - '' . "\n" . '' . "\n"; } else { -- 2.25.1