Changeset 5875 for trunk/expressoMail1_2


Ignore:
Timestamp:
04/03/12 17:55:36 (12 years ago)
Author:
marcieli
Message:

Ticket #2591 - Criada configuração no modulo Administrador com numero max de marcadores.

Location:
trunk/expressoMail1_2
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/setup/default_records.inc.php

    r5683 r5875  
    1515                        $oProc->query("INSERT INTO expressomail_label(name, font_color, border_color, background_color) VALUES ('todo', '#3333ff', '#3333ff', '#ffffff');");  
    1616                        $oProc->query("INSERT INTO expressomail_label(name, font_color, border_color, background_color) VALUES ('later', '#993399', '#993399', '#ffffff');"); 
     17                         
     18                        /* Seta o valor padrão para a configuração de número máximo de marcadores */ 
     19                        $oProc->query("INSERT INTO phpgw_config(config_app, config_name, config_value) VALUES ('expressoMail1_2', 'expressoMail_limit_labels', 20);"); 
    1720                 
    1821?> 
  • trunk/expressoMail1_2/setup/tables_update.inc.php

    r5702 r5875  
    203203                        $oProc->query("INSERT INTO expressomail_label(name, font_color, border_color, background_color) VALUES ('todo', '#3333ff', '#3333ff', '#ffffff');");  
    204204                        $oProc->query("INSERT INTO expressomail_label(name, font_color, border_color, background_color) VALUES ('later', '#993399', '#993399', '#ffffff');"); 
     205                         
     206                        /* Seta o valor padrão para a configuração de número máximo de marcadores */ 
     207                        $oProc->query("INSERT INTO phpgw_config(config_app, config_name, config_value) VALUES ('expressoMail1_2', 'expressoMail_limit_labels', 20);"); 
    205208                                                 
    206209                $GLOBALS['setup_info']['expressoMail1_2']['currentver'] = '2.4.1'; 
  • trunk/expressoMail1_2/templates/default/config.tpl

    r5823 r5875  
    7676    <input type="text" name="newsettings[expressoMail_command_for_spam]" value="{value_expressoMail_command_for_spam}" size="60" />  
    7777    </td> 
     78        </tr> 
    7879    <tr bgcolor="{row_off}"> 
    7980    <td>{lang_Command_for_unmark_spam}</td> 
     
    156157    </td> 
    157158    </tr> 
     159         <tr bgcolor="{row_off}"> 
     160                <td>{lang_Number_max_of_labels}</td> 
     161                <td> 
     162                <input type="text" name="newsettings[expressoMail_limit_labels]" value="{value_expressoMail_limit_labels}" size="3" />  
     163                </td> 
     164        </tr> 
    158165    <tr bgcolor="{th_bg}">  
    159166                <td colspan="2">  
Note: See TracChangeset for help on using the changeset viewer.