How to remove/ edit the default buttons in mail

Does anybody know the file or table I am suppose to edit to change or remove these buttons in the mailbox section of my website? Thanks in advance for your help!

http://s3.amazonaws.com/awesome_screenshot/1409656?AWSAccessKeyId=0R7FMW7AXRVCYMAPTPR2&Expires=1329073733&Signature=6UpABpE262Xm6ynkD5lAOw8oeUI%3D

Mailbox My Cabinet.png · 67.7K · 123 views
Quote · 12 Feb 2012

See the attachment, the embed picture's link expired. Thanks!

Quote · 13 Feb 2012

Hello

These buttons can be modified via templates/base/scripts/BxBaseMailBox.php file. Find the following lines (near 1336 line number)

 // generate extended mailbox actions
switch($this -> aMailBoxSettings['mailbox_mode']) 
{
case 'inbox' :

The below code in switch is used to generate action buttons for different mail box tabs, like Inbox, Outbox, Trash, etc.

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 13 Feb 2012

Hi,

Thanks for your help. 

I found that if I remove this from that file:

'inputs' => array(

                            'actions' => array(

                                'type' => 'input_set',

                                'colspan' => 'true',

                                0 => null,

                                1 => array (

                                    'type'      => 'button',

                                    'value'     => $aLanguageKeys['restore_message'],

                                    'attrs'     => array('onclick' => 'if (typeof oMailBoxViewMessage != \'undefined\') oMailBoxViewMessage.restoreMessages(' . $aRow['ID'] . ');'),

                                ),

It disables the "restore" button, however, it does not completely remove it and I cannot find the line that deals with the "delete" button in the trash mode of the mailbox. What I am trying to do is make it so my users can delete the messages from the trash folder, but I dont want it to be that they are gone forever. I mean, I should be able to go back in PhpMyAdmin and access the table with the messages even though the user may have deleted the message. As it looks now, when the user deletes it, it is completely deleted.

                          

Quote · 15 Feb 2012

Does anyone know how to do this?

Quote · 17 Feb 2012

Please Help.

Quote · 9 Mar 2012

Nevermind. Fixed It!

Quote · 9 Mar 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.