4 require_once
'Services/Form/classes/class.ilFormPropertyGUI.php';
30 parent::__construct($a_title, $a_postvar);
33 $this->lng = $DIC[
'lng'];
49 $local_tpl =
new ilTemplate(
'tpl.prop_tos_signed_document.html',
true,
true,
'Services/TermsOfService');
51 require_once
'Services/UIComponent/Modal/classes/class.ilModalGUI.php';
54 $modal->setHeading($this->lng->txt(
'tos_agreement_document'));
55 $modal->setId(
'accepted_tos_' . $this->entity->getUserId());
56 $modal->setBody($this->entity->getText());
58 require_once
'Services/UIComponent/Glyph/classes/class.ilGlyphGUI.php';
60 $local_tpl->setVariable(
'MODAL', $modal->getHTML());
61 $local_tpl->setVariable(
'MODAL_ID',
'accepted_tos_' . $this->entity->getUserId());
64 $tpl->
setVariable(
'PROP_GENERIC', $local_tpl->get());
static get($a_glyph, $a_text="")
Get glyph html.
setVariable($variable, $value='')
Sets a variable value.
special template class to simplify handling of ITX/PEAR
setCurrentBlock($part="DEFAULT")
Überladene Funktion, die sich hier lokal noch den aktuellen Block merkt.
static getInstance()
Get instance.
parseCurrentBlock($part="DEFAULT")
Überladene Funktion, die auf den aktuelle Block vorher noch ein replace ausführt public...