4require_once
'Services/Form/classes/class.ilFormPropertyGUI.php';
23 parent::__construct($a_title, $a_postvar);
45 $local_tpl =
new ilTemplate(
'tpl.prop_tos_signed_document.html',
true,
true,
'Services/TermsOfService');
47 require_once
'Services/UIComponent/Modal/classes/class.ilModalGUI.php';
49 $modal->setHeading(
$lng->txt(
'tos_agreement_document'));
50 $modal->setId(
'accepted_tos_' . $this->entity->getUserId());
51 $modal->setBody($this->entity->getText());
53 require_once
'Services/UIComponent/Glyph/classes/class.ilGlyphGUI.php';
55 $local_tpl->setVariable(
'MODAL', $modal->getHTML());
56 $local_tpl->setVariable(
'MODAL_ID',
'accepted_tos_' . $this->entity->getUserId());
58 $tpl->setCurrentBlock(
'prop_generic');
59 $tpl->setVariable(
'PROP_GENERIC', $local_tpl->get());
60 $tpl->parseCurrentBlock();
static get($a_glyph, $a_text="")
Get glyph html.
static getInstance()
Get instance.
special template class to simplify handling of ITX/PEAR