4 require_once
"./Services/License/classes/class.ilLicense.php";
48 $this->mode = $a_mode;
52 $this->lng->loadLanguageModule(
"license");
53 $this->parent_gui = $a_parent_gui;
62 global $rbacsystem,
$ilErr;
65 if (!$rbacsystem->checkAccess(
"read", $this->parent_gui->object->getRefId())) {
66 $ilErr->raiseError($this->lng->txt(
"permission_denied"), $ilErr->MESSAGE);
69 $cmd = $this->ctrl->getCmd(
"showLicenses");
78 include_once
'./Services/License/classes/class.ilLicenseOverviewTableGUI.php';
81 include_once
"Services/UIComponent/Panel/classes/class.ilPanelGUI.php";
84 $panel->setBody(
'<div class="small">' . $this->lng->txt(
"used_licenses_explanation") .
"<br/>" 85 . $this->lng->txt(
"remaining_licenses_explanation") .
"<br/>" . $this->lng->txt(
"potential_accesses_explanation") .
"</div>");
87 $this->tpl->setContent(
$tbl->getHTML() .
"<br />" . $panel->getHTML());
const LIC_MODE_ADMINISTRATION
__construct(ilObjectGUI $a_parent_gui, $a_mode=self::LIC_MODE_REPOSITORY)
ilLicenseOverviewGUI constructor.
const LIC_MODE_REPOSITORY
Class ilObjectGUI Basic methods of all Output classes.
static getInstance()
Get instance.
const PANEL_STYLE_SECONDARY