ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ ilDoc Overview
class.ilMailFormPlaceholdersPropertyGUI.php
Go to the documentation of this file.
1
<?
php
2
/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
3
12
include_once
'Services/Form/classes/class.ilFormPropertyGUI.php'
;
13
14
class
ilMailFormPlaceholdersPropertyGUI
extends
ilFormPropertyGUI
15
{
16
17
public
function
__construct
()
18
{
19
global
$lng
;
20
parent::__construct(
''
);
21
}
22
23
public
function
insert
($a_tpl)
24
{
25
global
$lng
;
26
$subtpl =
new
ilTemplate
(
"tpl.mail_new_placeholders.html"
,
false
,
false
,
"Services/Mail"
);
27
$subtpl->setVariable(
'TXT_USE_PLACEHOLDERS'
, $lng->txt(
'mail_nacc_use_placeholder'
));
28
$subtpl->setVariable(
'TXT_PLACEHOLDERS_ADVISE'
, sprintf($lng->txt(
'placeholders_advise'
),
'<br />'
));
29
$subtpl->setVariable(
'TXT_MAIL_SALUTATION'
, $lng->txt(
'mail_nacc_salutation'
));
30
$subtpl->setVariable(
'TXT_FIRST_NAME'
, $lng->txt(
'firstname'
));
31
$subtpl->setVariable(
'TXT_LAST_NAME'
, $lng->txt(
'lastname'
));
32
$subtpl->setVariable(
'TXT_LOGIN'
, $lng->txt(
'mail_nacc_login'
));
33
$subtpl->setVariable(
'TXT_ILIAS_URL'
, $lng->txt(
'mail_nacc_ilias_url'
));
34
$subtpl->setVariable(
'TXT_CLIENT_NAME'
, $lng->txt(
'mail_nacc_client_name'
));
35
36
$a_tpl->setCurrentBlock(
"prop_generic"
);
37
$a_tpl->setVariable(
"PROP_GENERIC"
, $subtpl->get());
38
$a_tpl->parseCurrentBlock();
39
}
40
}
41
42
?>
ilMailFormPlaceholdersPropertyGUI
Definition:
class.ilMailFormPlaceholdersPropertyGUI.php:14
ilMailFormPlaceholdersPropertyGUI\__construct
__construct()
Definition:
class.ilMailFormPlaceholdersPropertyGUI.php:17
ilTemplate
special template class to simplify handling of ITX/PEAR
Definition:
class.ilTemplate.php:13
ilMailFormPlaceholdersPropertyGUI\insert
insert($a_tpl)
Definition:
class.ilMailFormPlaceholdersPropertyGUI.php:23
ilFormPropertyGUI
This class represents a property in a property form.
Definition:
class.ilFormPropertyGUI.php:11
$lng
global $lng
Definition:
privfeed.php:17
php
Services
Mail
classes
class.ilMailFormPlaceholdersPropertyGUI.php
Generated on Fri Feb 21 2025 19:01:14 for ILIAS by
1.8.13 (using
Doxyfile
)