Ignore:
Timestamp:
May 8, 2011, 12:50:02 PM (13 years ago)
Author:
cljosse
Message:

[extensions] mail_supervisor fix bug in test

Location:
extensions/Mail_supervisor/include
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/Mail_supervisor/include/Scripts.js

    r10155 r10816  
    5656         // get_script_geo();
    5757
    58          if( typeof is_supervisor=="boolean" ){
     58         if (typeof is_supervisor == "boolean") {
    5959           jQuery('.cluetip').cluetip({
    6060             width: 300,
     
    7676         });
    7777
     78         jQuery("input").click(function () {
     79
     80           if (this.name != "chk_mail_list") return;
     81           // this.alt
     82           //  this.rel
     83           //form.submit();
     84
     85           return;
     86
     87
     88
     89
     90         });
    7891
    7992         function ajout_action(titre, message, valeur) {
  • extensions/Mail_supervisor/include/fonctions.php

    r10419 r10816  
    159159    while ($group = mysql_fetch_array($datas,MYSQL_ASSOC)){
    160160      if (!empty($group['email'])){
    161          array_push($groups, format_email($group['username'], $group['email'] ));
     161         //array_push($groups, format_email($group['username'], $group['email'] ));
     162        array_push($groups,
     163                   array( 'username' => $group['username'],
     164                'email' => $group['email'],
     165                'format_email' => format_email($group['username'], $group['email'] )
     166                )
     167              );
    162168      }
    163169    }
  • extensions/Mail_supervisor/include/function_test_send.php

    r10419 r10816  
    5555
    5656
    57 $groups=get_liste($group_id);
     57$groups=get_liste($group_id).dest;
    5858
    5959//=======================================================================================
Note: See TracChangeset for help on using the changeset viewer.