Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
genotoul-bioinfo
ng6
Commits
2ca6265d
Commit
2ca6265d
authored
Oct 24, 2019
by
Romain Therville
🐭
Browse files
Merge branch 'issue#121' into 'master'
Merge branch issue#121 with master See merge request
!60
parents
5ced54a6
3fffb9ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
ui/nG6/pi6/class.tx_nG6_pi6.php
View file @
2ca6265d
...
...
@@ -207,7 +207,8 @@ class tx_nG6_pi6 extends \TYPO3\CMS\Frontend\Plugin\AbstractPlugin {
$subject
=
'[nG6 purge] No '
.
$purge_demand_id
.
' - Project '
.
$p
[
$project_id
][
"project_name"
];
$headers
[]
=
'From: '
.
$GLOBALS
[
'TSFE'
]
->
tmpl
->
setup
[
"plugin."
][
"tx_nG6_pi6."
][
"email_from"
];
//$headers[] = 'From: gerald.salin@inra.fr';
$headers
[]
=
'Errors-To: '
.
$GLOBALS
[
'TSFE'
]
->
tmpl
->
setup
[
"plugin."
][
"tx_nG6_pi6."
][
"email_copy"
];
//$headers[] = 'Errors-To: '.$GLOBALS['TSFE']->tmpl->setup["plugin."]["tx_nG6_pi6."]["email_copy"];
$headers
[]
=
'Errors-To: '
.
$GLOBALS
[
'TSFE'
]
->
tmpl
->
setup
[
"plugin."
][
"tx_nG6_pi6."
][
"email_from"
];
$headers
[]
=
'X-Mailer: PHP/'
.
phpversion
();
$headers
[]
=
'MIME-Version: 1.0'
;
$headers
[]
=
'Content-type: text/html; charset=utf-8'
;
...
...
@@ -260,7 +261,8 @@ class tx_nG6_pi6 extends \TYPO3\CMS\Frontend\Plugin\AbstractPlugin {
$subject
=
'[nG6 purge / reminder] No '
.
$res_demand
[
"demand_id"
]
.
' - Project '
.
$res_project
[
"name"
];
$headers
[]
=
'From: '
.
$GLOBALS
[
'TSFE'
]
->
tmpl
->
setup
[
"plugin."
][
"tx_nG6_pi6."
][
"email_from"
];
$headers
[]
=
'Errors-To: '
.
$GLOBALS
[
'TSFE'
]
->
tmpl
->
setup
[
"plugin."
][
"tx_nG6_pi6."
][
"email_copy"
];
//$headers[] = 'Errors-To: '.$GLOBALS['TSFE']->tmpl->setup["plugin."]["tx_nG6_pi6."]["email_copy"];
$headers
[]
=
'Errors-To: '
.
$GLOBALS
[
'TSFE'
]
->
tmpl
->
setup
[
"plugin."
][
"tx_nG6_pi6."
][
"email_from"
];
$headers
[]
=
'X-Mailer: PHP/'
.
phpversion
();
$headers
[]
=
'MIME-Version: 1.0'
;
$headers
[]
=
'Content-type: text/html; charset=utf-8'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment