[prev in list] [next in list] [prev in thread] [next in thread] 

List:       twig-devel
Subject:    [twig-devel] pop3 mode should not use folder concept
From:       Oguz YILMAZ <oguz () gantek ! com>
Date:       2001-09-26 15:24:09
[Download RAW message or body]

When we use TWIG in POP3 mode TWIG continues to show folder selection 
boxes, mail copy and move areas and "empty trash" links.

I have attached some patches to this mail. Patches works with 
$disabled["mail_folders"] = 1 variable set in config.inc.php3

Oguz Yilmaz

["patch1.txt" (text/plain)]

diff features/mail/mail.inc.php3 features/mail/mail.inc.php3.ORG

27,28c27
< 
<       if( TWIGCheckACL( $login["username"], 4003, TWIGConvertAccess( "read" ) ) )
---
>
["patch2.txt" (text/plain)]

diff features/mail/mail.main.inc.php3 features/mail/mail.main.inc.php3.ORG 

25c25
<  if( TWIGCheckACL( $login["username"], 4003, TWIGConvertAccess( "read" ) ) ) { if( \
TWIGCheckACL( $login["username"], 4002, TWIGConvertAccess( "read" ) ) ) { \
$mailmenu[$i] = array( "command" => "mail", "desc" => $TWIGphrase["Empty Trash"], \
"action" => "expunge", "options" => "", "target" => "", "image" => "expunge.gif" ); \
                $i++; } }
---
> if( TWIGCheckACL( $login["username"], 4002, TWIGConvertAccess( "read" ) ) ) { \
> $mailmenu[$i] = array( "command" => "mail", "desc" => $TWIGphrase["Empty Trash"], \
> "action" => "expunge", "options" => "", "target" => "", "image" => "expunge.gif" ); \
> $i++; }
271,276c271
< 
< <?php
< if( TWIGCheckACL( $login["username"], 4003, TWIGConvertAccess( "read" ) ) ) 
< {
< ?>
<               <tr>
---
> <tr>
284,285d278
< <?php } ?>
<



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic