Return-Path: <squirrelmail-plugins-admin@lists.sourceforge.net>
Received: from muffin ([unix socket])
	by muffin (Cyrus v2.1.13) with LMTP; Wed, 27 Aug 2003 15:55:52 -0400
X-Sieve: CMU Sieve 2.2
Return-Path: <squirrelmail-plugins-admin@lists.sourceforge.net>
Received: from sc8-sf-list2.sourceforge.net (lists.sourceforge.net [66.35.250.206])
	(using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits))
	(No client certificate requested)
	by muffin.linuxnotes.net (Postfix) with ESMTP id 0B50D24124
	for <quincy@linuxnotes.net>; Wed, 27 Aug 2003 15:55:52 -0400 (EDT)
Received: from sc8-sf-list1-b.sourceforge.net ([10.3.1.13] helo=sc8-sf-list1.sourceforge.net)
	by sc8-sf-list2.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian))
	id 19s633-00043q-00; Wed, 27 Aug 2003 12:33:41 -0700
Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net)
	by sc8-sf-list1.sourceforge.net with esmtp 
	(Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian))
	id 19s5zs-0002e9-00
	for <squirrelmail-plugins@lists.sourceforge.net>; Wed, 27 Aug 2003 12:30:24 -0700
Received: from adsl.gigaday.co.uk ([212.18.227.115] helo=mail.gigaday.co.uk)
	by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.22)
	id 19s5zp-0007Wh-25
	for squirrelmail-plugins@lists.sourceforge.net; Wed, 27 Aug 2003 12:30:21 -0700
Received: from localhost ([127.0.0.1] helo=mail.gigaday.co.uk)
	by mail.gigaday.co.uk with smtp (Exim 4.14)
	id 19s63Q-0001Yn-Ps
	for squirrelmail-plugins@lists.sourceforge.net; Wed, 27 Aug 2003 20:34:04 +0100
Received: from 10.0.0.3
        (SquirrelMail authenticated user tony)
        by mail.gigaday.co.uk with HTTP;
        Wed, 27 Aug 2003 20:34:04 +0100 (BST)
Message-ID: <32887.10.0.0.3.1062012844.squirrel@mail.gigaday.co.uk>
In-Reply-To: 
     <2541.207.225.28.86.1062001552.LMSI@www.internationaltravelingclub.com
     >
References:
    <2541.207.225.28.86.1062001552.LMSI@www.internationaltravelingclub.com>
Subject: Re: [SM-PLUGINS] small patch to abook_take
From: "Tony Austin" <tony@gigaday.com>
To: squirrelmail-plugins@lists.sourceforge.net
Reply-To: tony@gigaday.com
User-Agent: SquirrelMail/1.4.1
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3
Importance: Normal
X-Spam-Score: -0.8 (/)
X-Spam-Report: -0.8/5.0
	The original message has been attached along with this report, so
	you can recognize or block similar unwanted mail in future.
	See http://spamassassin.org/tag/ for more details.
	Content preview:  Brad Hurray and thank you! This has solved the problem
	that I was having with a plugin that I am writing. I'd have a go at
	putting it on the Wiki myself, except the web site seems to be
	completely broken. Maybe "someone" is mending it. [...] 
	Content analysis details:   (-0.80 points, 5 required)
	IN_REP_TO          (-0.5 points) Has a In-Reply-To header
	REFERENCES         (-0.5 points) Has a valid-looking References header
	QUOTED_EMAIL_TEXT  (-0.5 points) BODY: Contains what looks like a quoted email text
	MSG_ID_ADDED_BY_MTA_3 (0.7 points)  'Message-Id' was added by a relay (3)
	PRIORITY_NO_NAME   (0.5 points)  Message has priority setting, but no X-Mailer
	REPLY_WITH_QUOTES  (-0.5 points) Reply with quoted text
	USER_AGENT         (0.0 points)  Has a User-Agent header
Sender: squirrelmail-plugins-admin@lists.sourceforge.net
Errors-To: squirrelmail-plugins-admin@lists.sourceforge.net
X-BeenThere: squirrelmail-plugins@lists.sourceforge.net
X-Mailman-Version: 2.0.9-sf.net
Precedence: bulk
List-Help: <mailto:squirrelmail-plugins-request@lists.sourceforge.net?subject=help>
List-Post: <mailto:squirrelmail-plugins@lists.sourceforge.net>
List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins>,
	<mailto:squirrelmail-plugins-request@lists.sourceforge.net?subject=subscribe>
List-Id: Squirrelmail Plugins Mailing List <squirrelmail-plugins.lists.sourceforge.net>
List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins>,
	<mailto:squirrelmail-plugins-request@lists.sourceforge.net?subject=unsubscribe>
List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum=squirrelmail-plugins>
X-Original-Date: Wed, 27 Aug 2003 20:34:04 +0100 (BST)
Date: Wed, 27 Aug 2003 20:34:04 +0100 (BST)

Brad

Hurray and thank you!  This has solved the problem that I was having with
a plugin that I am writing.

I'd have a go at putting it on the Wiki myself, except the web site seems
to be completely broken.  Maybe "someone" is mending it.

Tony

> I just noticed that the abook_take doesn't make use of the current
> colour/theme settings. It's a one line fix by making the first
> require_once
> line in the code the one with include/validate.php I also noticed that
> putting
> include/validate.php first wasn't in the "Plugin Standards" wiki page,
> should
> it be???
>
> In case anyone would rather run the patch command, here is the patch.
>
> BCNU,
>
> Brad
>
> *** take.php.orig       Thu Mar 27 09:47:44 2003
> --- take.php    Wed Aug 27 10:17:22 2003
> ***************
> *** 16,24 ****
>   define('SM_PATH','../../');
>
>   /* SquirrelMail required files. */
>   require_once(SM_PATH . 'functions/strings.php');
>   require_once(SM_PATH . 'config/config.php');
> - require_once(SM_PATH . 'include/validate.php');
>   require_once(SM_PATH . 'functions/i18n.php');
>   require_once(SM_PATH . 'functions/page_header.php');
>   require_once(SM_PATH . 'functions/addressbook.php');
> --- 16,24 ----
>   define('SM_PATH','../../');
>
>   /* SquirrelMail required files. */
> + require_once(SM_PATH . 'include/validate.php');
>   require_once(SM_PATH . 'functions/strings.php');
>   require_once(SM_PATH . 'config/config.php');
>   require_once(SM_PATH . 'functions/i18n.php');
>   require_once(SM_PATH . 'functions/page_header.php');
>   require_once(SM_PATH . 'functions/addressbook.php');
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> --
> squirrelmail-plugins mailing list
> List Address: squirrelmail-plugins@lists.sourceforge.net
> List Info:
> https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins
> http://squirrelmail.org/cvs
>



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
--
squirrelmail-plugins mailing list
List Address: squirrelmail-plugins@lists.sourceforge.net
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins
http://squirrelmail.org/cvs

