~ubuntu-branches/ubuntu/hardy/squirrelmail/hardy-updates

« back to all changes in this revision

Viewing changes to plugins/abook_take/setup.php

  • Committer: Bazaar Package Importer
  • Author(s): Thijs Kinkhorst
  • Date: 2005-02-06 21:41:51 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050206214151-z4n1o8mnttgzuj0y
Tags: 2:1.4.4-3
* Move default_pref config file from /var to /etc, as per Debian policy
  (Closes: #293281)
* [JvW] (finally) override two lintian warnings about nonstandard
  permissions that are intentional (Closes: #293366)

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
/**
4
4
 * setup.php
5
5
 *
6
 
 * Copyright (c) 1999-2003 The SquirrelMail Project Team
 
6
 * Copyright (c) 1999-2005 The SquirrelMail Project Team
7
7
 * Licensed under the GNU GPL. For full terms see the file COPYING.
8
8
 *
9
9
 * Address Take -- steals addresses from incoming email messages. Searches
10
10
 * the To, Cc, From and Reply-To headers, also searches the body of the
11
11
 * message.
12
12
 *
13
 
 * $Id: setup.php,v 1.10 2003/12/26 08:26:14 tokul Exp $
14
 
 * @package plugins
15
 
 * @subpackage abook_take
 
13
 * $Id: setup.php,v 1.8.2.3 2004/12/27 15:03:48 kink Exp $
16
14
 */
17
15
 
18
 
/**
19
 
 * If SM_PATH isn't defined, define it.  Required to include files.
20
 
 * @ignore
21
 
 */
22
16
if (!defined('SM_PATH'))  {
23
17
    define('SM_PATH','../../');
24
18
}
26
20
/* SquirrelMail required files. */
27
21
require_once(SM_PATH . 'functions/url_parser.php');
28
22
 
29
 
/**
30
 
 * Initialize the plugin
31
 
 */
32
23
function squirrelmail_plugin_init_abook_take()
33
24
{
34
25
    global $squirrelmail_plugin_hooks;
109
100
    echo '<tr>' . html_tag('td',_("Address Book Take:"),'right','','nowrap') . "\n" .
110
101
         '<td><input name="abook_take_abook_take_verify" type="checkbox"';
111
102
    if (isset($abook_take_verify) && $abook_take_verify)
112
 
        echo ' checked';
 
103
        echo ' checked';
113
104
    echo ' /> ' . _("Try to verify addresses") . "</td></tr>\n";
114
105
}
115
106