Ignore:
Timestamp:
04/06/11 08:29:13 (9 years ago)
Author:
cljosse
Message:

[extensions] mail_supervisor compatibility with piwigo 2.2 ,cluetip

Location:
extensions/Mail_supervisor
Files:
3 edited

Legend:

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

    r9702 r10093  
    33  jQuery('.cluetip').cluetip({ldelim} 
    44    width: 300, 
    5     splitTitle: '|' 
     5    splitTitle: '|', 
     6    clickThrough: true 
    67  }); 
    78}); 
  • extensions/Mail_supervisor/include/Scripts.js

    r9702 r10093  
    5555       jQuery(window).load(function () { 
    5656         // get_script_geo(); 
    57          jQuery('.cluetip').cluetip({ width: 350, splitTitle: '|' }); 
     57         jQuery('.cluetip').cluetip({ width: 350, splitTitle: '|', clickThrough: true }); 
    5858 
    5959         spam = jQuery("#action_spam").val(); 
  • extensions/Mail_supervisor/mail_super.inc.php

    r9702 r10093  
    124124      if  ($infos_message != "")  { 
    125125        $infos_message = str_replace("\n",'<br />',$infos_message) ; 
    126         if(is_array($page['infos'])) array_push($page['infos'], $infos_message); 
     126         if (!isset($page['infos'])) $page['infos']=Array($infos_message); 
     127        else if(is_array($page['infos'])) array_push($page['infos'], $infos_message); 
    127128        else $page['infos']=Array($infos_message); 
    128129        $infos_message=""; 
     
    132133        $erreur_message = str_replace("\n",'<br />',$erreur_message) ; 
    133134        if (!isset($page['errors'])) $page['errors']=Array($erreur_message); 
    134         if(is_array($page['errors'])) array_push($page['errors'], $erreur_message); 
     135        else if(is_array($page['errors'])) array_push($page['errors'], $erreur_message); 
    135136        else $page['errors']=Array($erreur_message); 
    136137        $erreur_message =""; 
Note: See TracChangeset for help on using the changeset viewer.