[imp] Folder Prefix Field on login

Barry Flanagan barryf-imp@digiserve.ie
Wed, 20 Mar 2002 16:18:26 +0000


On Wednesday 20 March 2002 15:59, you wrote:
> I just installed IMP 3.0 and it is working great with Horde and Turba. One
> thing that I wanted to find out is if the Folder Prefix on the login screen
> could be greyed out or not even displayed. I am not very familiar with php
> coding yet I looked in the code and disabled the box, but received and
> error as in there it gets set to 'mail/' and is then passed as an arg. I
> would prefer that my users not be able to toy with that field at all.


imp/config/prefs.php is your friend! 

// user folder path
$_prefs['folders'] = array(
    'value' => 'INBOX.',
    'locked' => true,
    'shared' => false,
    'type' => 'text',
    'desc' => _("Path to your mail folders:")


'locked' => true being what you want.

There's lots more useful stuff inside there...

Hope this helps.


-Barry Flanagan