[imp] saving sig_first pref doesn't seem to work
Martín Marqués
martin@bugs.unl.edu.ar
Tue, 6 Nov 2001 15:13:58 -0300
On Mar 06 Nov 2001 14:13, you wrote:
> I think I figured out why. But I don't know why it's doing this.
>
> In my imp/config/prefs.php file, I have:
>
> // signature before replies and forwards?
> $_prefs['sig_first'] = array(
> 'value' => 1,
> 'locked' => false,
> 'shared' => true,
> 'type' => 'implicit'
> );
>
> I wanted the default to be 1 instead of 0. Do I need to set it to
> something else to make it mean 1?
>
> I tried it by copying over my copy of horde and restoring the prefs.php
> file. It works then. (e.g., it'll reflect what is stored in the db) But
> when you change it to 1, it stops working. (e.g., it's always checked no
> matter what).
Thats only the bahaviour. If in the database you have another value, it will
use that one, and not the default.
Saludos... :-)
--
Porqué usar una base de datos relacional cualquiera,
si podés usar PostgreSQL?
-----------------------------------------------------------------
Martín Marqués | mmarques@unl.edu.ar
Programador, Administrador, DBA | Centro de Telematica
Universidad Nacional
del Litoral
-----------------------------------------------------------------
>From nlin@newton.berkeley.edu Date: Tue, 6 Nov 2001 10:46:22 -0800
Return-Path: <nlin@newton.berkeley.edu>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 96488 invoked from network); 6 Nov 2001 18:46:23 -0000
Received: from webmail.decf.berkeley.edu (128.32.142.69)
by clark.horde.org with SMTP; 6 Nov 2001 18:46:23 -0000
Received: (from apache@localhost)
by webmail.decf.berkeley.edu (8.11.6/8.11.6) id fA6IkM915523
for imp@lists.horde.org; Tue, 6 Nov 2001 10:46:22 -0800
Received: from okepler.me.berkeley.edu ( [okepler.me.berkeley.edu])
as user nlin@maxwell.berkeley.edu by webmail.decf.berkeley.edu with HTTP;
Tue, 6 Nov 2001 10:46:22 -0800
Message-ID: <1005072382.3be82ffe9ced8@webmail.decf.berkeley.edu>
Date: Tue, 6 Nov 2001 10:46:22 -0800
From: nlin@newton.berkeley.edu
To: imp@lists.horde.org
References: <1004982185.3be6cfa917840@webmail.decf.berkeley.edu> <20011106145351.ED70F2AB49@bugs.unl.edu.ar> <1005066820.3be81a446efed@webmail.decf.berkeley.edu> <20011106181401.4424C2AB4A@bugs.unl.edu.ar>
In-Reply-To: <20011106181401.4424C2AB4A@bugs.unl.edu.ar>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
X-Originating-IP: 128.32.142.3
Subject: Re: [imp] saving sig_first pref doesn't seem to work
?? It seems that changing the default prefs.php affects the display of the
data. Using a vanilla copy, it will display the value in the prefs db. But
changing the default value to 1 in prefs.php will always make the checkbox
checked.
See? my db has:
a:3:{i:0;a:11:{s:2:"id";s:4:"nlin";s:8:"fullname";s:0:"";s:9:"from_addr";s:2
4:"nlin@newton.berkeley.edu";s:12:"replyto_addr";s:0:"";s:9:"signature";s:0:
"";s:9:"sig_first";N;s:10:"sig_dashes";N;s:14:"save_sent_mail";s:1:"1";s:16:
"sent_mail_folder";s:4:"sent";s:11:"private_key";N;s:16:"private_key_type";N
;}
nancy
Quoting Martín Marqués <martin@bugs.unl.edu.ar>:
> On Mar 06 Nov 2001 14:13, you wrote:
> > I think I figured out why. But I don't know why it's doing this.
> >
> > In my imp/config/prefs.php file, I have:
> >
> > // signature before replies and forwards?
> > $_prefs['sig_first'] = array(
> > 'value' => 1,
> > 'locked' => false,
> > 'shared' => true,
> > 'type' => 'implicit'
> > );
> >
> > I wanted the default to be 1 instead of 0. Do I need to set it to
> > something else to make it mean 1?
> >
> > I tried it by copying over my copy of horde and restoring the
> prefs.php
> > file. It works then. (e.g., it'll reflect what is stored in the db)
> But
> > when you change it to 1, it stops working. (e.g., it's always checked
> no
> > matter what).
>
> Thats only the bahaviour. If in the database you have another value, it
> will
> use that one, and not the default.
>
> Saludos... :-)
>
> --
> Porqué usar una base de datos relacional cualquiera,
> si podés usar PostgreSQL?
> -----------------------------------------------------------------
> Martín Marqués | mmarques@unl.edu.ar
> Programador, Administrador, DBA | Centro de Telematica
> Universidad Nacional
> del Litoral
> -----------------------------------------------------------------
>
> --
> IMP mailing list: http://horde.org/imp/
> Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org
>