Ignore:
Timestamp:
09/12/08 16:53:27 (16 years ago)
Author:
niltonneto
Message:

Vide changelog do módulo.
http://www.expressolivre.org/dev/wiki/jabberit/changelog
Alterações feitas por Alexandre Correia
email: alexandrecorreia@…

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/jabberit_messenger/inc/class.uimodule.inc.php

    r417 r423  
    5454                { 
    5555                        $apps_list = unserialize($apps_list); 
    56                         foreach($apps_list as $tmp) 
    57                                 $apps_en .= "<option value='".$tmp."'>".substr($tmp,strpos($tmp, ";")+1)."</option>"; 
     56                        if(is_array($apps_list)) 
     57                        { 
     58                                foreach($apps_list as $tmp) 
     59                                        $apps_en .= "<option value='".$tmp."'>".substr($tmp,strpos($tmp, ";")+1)."</option>"; 
     60                        } 
    5861                } 
    5962 
    6063                if( $apps_enabled = $this->bo->getApplicationsList() ) 
    6164                { 
    62                         foreach($apps_enabled as $tmp ) 
    63                                 $apps .= "<option value='".$tmp['name'].";".$tmp['title']."'>".$tmp['title']."</option>"; 
     65                        if(is_array($apps_enabled)) 
     66                        { 
     67                                foreach($apps_enabled as $tmp ) 
     68                                        $apps .= "<option value='".$tmp['name'].";".$tmp['title']."'>".$tmp['title']."</option>"; 
     69                        } 
    6470                } 
    6571 
    66                  
    6772                $GLOBALS['phpgw']->template->set_file(array('jabberit_messenger'=>'module.tpl')); 
    6873                $GLOBALS['phpgw']->template->set_block('jabberit_messenger','module');   
     
    7176                                                                                'apps_enabled' => $apps_en, 
    7277                                                                                'apps_list' => $apps, 
    73                                                                                 'lang_Settings_Use_Module_Expresso_Messenger' => 'Configurar o uso do módulo Expresso Messenger', 
    74                                                                                 'lang_Applications_List' => 'Lista de Aplicativos', 
    75                                                                                 'lang_Applications_habilitadas' => 'Aplicativos Habilitados', 
     78                                                                                'lang_Select_the_modules_where_the_Expresso_Messenger_will_be_loaded' => lang('Select the modules where the Expresso Messenger will be loaded.'),                                                                                
     79                                                                                'lang_Enable_the_Expresso_Messenger_module' => lang('Enable the Expresso Messenger module'), 
     80                                                                                'lang_Modules_List' => lang('Modules List'), 
     81                                                                                'lang_Modules_Enabled' => lang('Modules Enabled'), 
    7682                                                                                'lang_save' => lang('Save'), 
    7783                                                                                'lang_cancel' => lang('Cancel') 
     
    97103                        if(is_array($_POST['apps_enabled'])) 
    98104                                $this->bo->setApplications($_POST['apps_enabled']); 
     105                        else 
     106                                $this->bo->setApplications(""); 
    99107                } 
    100108 
Note: See TracChangeset for help on using the changeset viewer.