Changeset 13572 for extensions/Mail_supervisor/mail_super.inc.php
- Timestamp:
- Mar 15, 2012, 12:18:01 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Mail_supervisor/mail_super.inc.php
r12394 r13572 44 44 $themeconf=$template->get_template_vars('themeconf'); 45 45 $theme=$themeconf['id']; 46 if (file_exists ( 'admin/themes/clear/icon/help.png')) $icon_path = ' themes/default/icon/help.png';46 if (file_exists ( 'admin/themes/clear/icon/help.png')) $icon_path = 'admin/themes/clear/icon/help.png'; 47 47 else $icon_path = "admin/template/goto/theme/clear/icon/help.png"; 48 48 if (PHPWG_VERSION < 2.2 ) { … … 241 241 //====== par defaut ======================= 242 242 $new_val=false; 243 244 if (empty($def_para)) 245 $def_para = (object) ''; 246 243 247 $def_para->check_mailto="on"; 244 248 $def_para->check_header_carbon="on"; … … 249 253 $def_para->no_connect="on"; // empeche l'ip de se connecter au site. 250 254 $def_para->set_auto="on"; // Test a l'ouverture et enregistrement 251 $def_para->ip="127.0.0.1"; // derni ére adresse IP255 $def_para->ip="127.0.0.1"; // derniere adresse IP 252 256 $def_para->set_id="on"; // enregistrment nouvel 253 257 $def_para->debug_mail="off"; // debogage … … 279 283 } 280 284 //========================================================== 285 281 286 function sauve_options(){ 282 287 global $options,$infos_message,$conf,$mails_options ; 283 288 $infos_message .=l10n("save_config")."<br>"; 284 $mails_parametres=mail_supervisor::Set_Options($mails_options,"mail_superv"); 289 if (empty($mail_supervisor)) { 290 $mail_supervisor = new mail_supervisor(); 291 } 292 $mails_parametres= $mail_supervisor->Set_Options($mails_options,"mail_superv"); 285 293 286 294 if ( isset($mails_parametres) )
Note: See TracChangeset
for help on using the changeset viewer.