Hello Guy ! Et Coluche y est aussi allé de son couplet :
Misère, misère!
C´est toujours sur les pauvres gens
Que tu t´acharnes obstinément
Hello Guy ! Et Coluche y est aussi allé de son couplet :
Misère, misère!
C´est toujours sur les pauvres gens
Que tu t´acharnes obstinément
Oui, les expressions régulières ce n'est pas "simple". Mais il faut savoir ce qu'on veut. On a le choix entre "analyse simpliste et facile à programmer" ou "analyse complexe difficile à programmer". C'est la vie.
Joseph
Jean-Michel "For a "little developer" [...] it become harder and harder to contribute to Moodle and with all the new tools introduced in a short time (phpunit, shifter, Behat, selenium, ...)"
+1
Joseph (another "small-time developer")
Hi Aaron,
In yourmoodle/mod/questionnaire/questionnaire.class.php, locate function response_send_email($rid, $userid=false). That's from line 1602 in Questionnaire version 2.7. Comment out these lines:
for ($i = 0; $i < count($answers[0]); $i++) {
$sep = ' : ';
switch($i) {
case 1:
$sep = ' ';
break;
case 4:
$bodyhtml .= get_string('user').' ';
$bodyplaintext .= get_string('user').' ';
break;
case 6:
if ($this->respondenttype != 'anonymous') {
$bodyhtml .= get_string('email').$sep.$USER->email. $endhtml;
$bodyplaintext .= get_string('email').$sep.$USER->email. $endplaintext;
}
}
$bodyhtml .= $answers[0][$i].$sep.$answers[1][$i]. $endhtml;
$bodyplaintext .= $answers[0][$i].$sep.$answers[1][$i]. $endplaintext;
}
Joseph
Thanks for the Swedish translation, Peter. However, since a few years already, all translations should be done using the AMOS site at https://lang.moodle.org/login/index.php.
See https://docs.moodle.org/dev/Contributing_a_translation
I suggest you contact the Swedish language maintainer, at https://lang.moodle.org/local/amos/credits.php#credits-language-sv for more info.
All the best,
Joseph