[imp] saving sig_first pref doesn't seem to work
Jan Schneider
jan@horde.org
Mon, 12 Nov 2001 01:03:45 +0100
Does this still happen?
I can't see it the current code.
Jan.
Zitat von nlin@newton.berkeley.edu:
>
> ?? 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:1
6:
> "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
> >
>
> --
> 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
>
>
::::::::::::::::::::::::::::::::::::::::
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::