Changeset 4053


Ignore:
Timestamp:
10/16/09 15:00:03 (10 years ago)
Author:
cljosse
Message:

[mail_supervisor] bug in traduction files (next)

Location:
extensions/Mail_supervisor
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • extensions/Mail_supervisor/admin/mail_superv_admin.php

    r4052 r4053  
    3131 
    3232global $user, $lang, $conf, $errors; 
    33 global $args, $conf_mail,$infos_message,$erreu_message ; 
     33global $args, $conf_mail,$infos_message,$erreur_message ; 
     34 
     35 load_language('plugin.lang', MAIL_SUPERV_PATH); 
    3436// +-----------------------------------------------------------------------+ 
    3537// | Check Access and exit when user status is not ok                      | 
  • extensions/Mail_supervisor/include/fonctions.php

    r4052 r4053  
    3232include_once(PHPWG_ROOT_PATH.'include/functions_mail.inc.php'); 
    3333include_once(PHPWG_ROOT_PATH.'include/functions.inc.php'); 
     34 
     35global $lang ; 
     36 
    3437include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); 
    3538 
    3639include_once (MAIL_SUPERV_PATH.'include/function_test_send.php');  
    3740 
     41 
     42 
     43 
     44global $period_search,$period_match,$lang ; 
     45 
     46 
    3847 load_language('plugin.lang', MAIL_SUPERV_PATH); 
    39  
    40 global $period_search,$period_match ; 
    41  
    42  
    43  
    4448        $period_search=array("D","H","M","S","W"); 
    4549        array_push($period_search,l10n('Week'),l10n('Day'),l10n('Hour'),l10n('Minute'),l10n('Seconde')); 
  • extensions/Mail_supervisor/main.inc.php

    r4051 r4053  
    4646function clj_mail($result, $mailto, $subject, $content, $headers, $args) 
    4747{ 
    48     global $conf, $user, $lang_info,  $conf_mail,$mails_options,$mails_données , $template,$page ,$erreur_message,$infos_message;  
     48    global $conf, $user, $lang_info,  $conf_mail,$mails_options,$mails_données , $template,$page ,$erreur_message,$infos_message, $lang;  
    4949        // lecture config table ------------- 
    50  
     50 load_language('plugin.lang', MAIL_SUPERV_PATH); 
    5151    
    5252        $mails_options = explode("," , $conf['mail_superv']); 
  • extensions/Mail_supervisor/maintain.inc.php

    r4051 r4053  
    3131 
    3232include_once (MAIL_SUPERV_PATH.'include/constants.php'); 
     33global $lang; 
    3334include_once (MAIL_SUPERV_PATH.'include/fonctions.php'); 
    3435 
Note: See TracChangeset for help on using the changeset viewer.