Changeset 2262
- Timestamp:
- Mar 7, 2008, 7:42:43 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/notification_by_mail.php
r2249 r2262 691 691 $data_users = get_user_notifications('subscribe'); 692 692 693 $opt_true =array();694 $opt_true_selected =array();695 $opt_false =array();696 $opt_false_selected =array();693 $opt_true = array(); 694 $opt_true_selected = array(); 695 $opt_false = array(); 696 $opt_false_selected = array(); 697 697 foreach ($data_users as $nbm_user) 698 698 { 699 if ( get_boolean($nbm_user['enabled']))699 if (get_boolean($nbm_user['enabled'])) 700 700 { 701 701 $opt_true[ $nbm_user['check_key'] ] = $nbm_user['username'].'['.get_email_address_as_display_text($nbm_user['mail_address']).']'; 702 if ((isset($_POST['falsify']) and isset($_POST['cat_true']) and in_array($nbm_user['check_key'], $_POST['cat_true'])) 702 if ((isset($_POST['falsify']) and isset($_POST['cat_true']) and in_array($nbm_user['check_key'], $_POST['cat_true']))) 703 703 { 704 704 $opt_true_selected[] = $nbm_user['check_key']; … … 718 718 'category_option_true_selected' => $opt_true_selected, 719 719 'category_option_false' => $opt_false, 720 'category_option_true '=> $opt_false_selected,720 'category_option_true_selected' => $opt_false_selected, 721 721 ) 722 722 ); -
trunk/include/functions_mail.inc.php
r2168 r2262 3 3 // | PhpWebGallery - a PHP based picture gallery | 4 4 // | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net | 5 // | Copyright (C) 2003-200 7PhpWebGallery Team - http://phpwebgallery.net |5 // | Copyright (C) 2003-2008 PhpWebGallery Team - http://phpwebgallery.net | 6 6 // +-----------------------------------------------------------------------+ 7 7 // | file : $Id$ … … 176 176 177 177 $mail_template = new Template(PHPWG_ROOT_PATH.'template/'.$args['template'], $args['theme']); 178 $mail_template->set_rootdir(PHPWG_ROOT_PATH.'template/'.$args['template'].'/mail/'.$email_format); 179 178 $mail_template->_old->set_rootdir(PHPWG_ROOT_PATH.'template/'.$args['template'].'/mail/'.$email_format); 179 $mail_template->smarty->template_dir = PHPWG_ROOT_PATH.'template/'.$args['template'].'/mail/'.$email_format; 180 180 181 return $mail_template; 181 182 }
Note: See TracChangeset
for help on using the changeset viewer.