4 require_once
"./Services/License/classes/class.ilLicense.php";
30 $this->mode = $a_mode;
34 $this->lng->loadLanguageModule(
"license");
35 $this->parent_gui =& $a_parent_gui;
44 global $rbacsystem,
$ilErr;
47 if (!$rbacsystem->checkAccess(
"read",$this->parent_gui->object->getRefId()))
49 $ilErr->raiseError($this->lng->txt(
"permission_denied"),$ilErr->MESSAGE);
52 $cmd = $this->ctrl->getCmd(
"showLicenses");
64 include_once
'./Services/License/classes/class.ilLicenseOverviewTableGUI.php';
67 include_once
"Services/UIComponent/Panel/classes/class.ilPanelGUI.php";
70 $panel->setBody(
'<div class="small">'.
71 $this->lng->txt(
"used_licenses_explanation").
"<br/>".
72 $this->lng->txt(
"remaining_licenses_explanation").
"<br/>".
73 $this->lng->txt(
"potential_accesses_explanation").
77 $this->tpl->setContent($tbl->getHTML().
"<br />".$panel->getHTML());