|
[quote=izhanjafry]i think u should remove or exclude the code in the modules for the moment till they fix the problem..
find in /modules/groups/groups.php and put //
[code]@jcow_mail($_POST['email'], 'You Group was created!', $welcome_email);[/code] [/quote]
ok you can change this
[code]
$welcome_email = 'Group name: '.h($_POST['name']).'<br />
URL: <a href="'.url('group/'.$_POST['guri']).'">'.url('group/'.$_POST['guri']).'</a>';
@jcow_mail($_POST['email'], 'You Group was created!', $welcome_email);
redirecting( url('group/'.$_POST['guri']) ,'Group successfully created','auto');
[/code]
to
[code]
$welcome_email = t('Group name: ').h($_POST['name']).'<br />
URL: <a href="'.url('group/'.$_POST['guri']).'">'.url('group/'.$_POST['guri']).'</a>';
@jcow_mail($_Client['email'], t('Your group was created!'), $welcome_email);
redirecting( url('group/'.$_POST['guri']) ,t('Group successfully created'),'auto');
[/code]
$_POST['email'] doesn't exist and some lines cannot be translated in the original code and i think 'Your group sounds better than 'You Group'
|