Show the license form public.
{
$licenses = strval($this->license->getLicenses());
$used_licenses = strval($this->license->getAccesses());
$remaining_licenses = $licenses == "0" ? $this->lng->txt("arbitrary") : strval($this->license->getRemainingLicenses());
$potential_accesses = strval($this->license->getPotentialAccesses());
$this->tpl->addBlockfile('ADM_CONTENT','adm_content','tpl.lic_edit_license.html',$this->module);
$this->tpl->setVariable("FORMACTION",$this->ctrl->getFormAction($this));
$this->tpl->setVariable("TXT_EDIT_LICENSE", $this->lng->txt("edit_license"));
$this->tpl->setVariable("TXT_EXISTING_LICENSES", $this->lng->txt("existing_licenses"));
$this->tpl->setVariable("LICENSES", $licenses);
$this->tpl->setVariable("TXT_ZERO_LICENSES_EXPLANATION", $this->lng->txt("zero_licenses_explanation"));
$this->tpl->setVariable("TXT_USED_LICENSES", $this->lng->txt("used_licenses"));
$this->tpl->setVariable("USED_LICENSES", $used_licenses);
$this->tpl->setVariable("TXT_USED_LICENSES_EXPLANATION", $this->lng->txt("used_licenses_explanation"));
$this->tpl->setVariable("TXT_REMAINING_LICENSES", $this->lng->txt("remaining_licenses"));
$this->tpl->setVariable("REMAINING_LICENSES", $remaining_licenses);
$this->tpl->setVariable("TXT_REMAINING_LICENSES_EXPLANATION", $this->lng->txt("remaining_licenses_explanation"));
$this->tpl->setVariable("TXT_POTENTIAL_ACCESSES", $this->lng->txt("potential_accesses"));
$this->tpl->setVariable("POTENTIAL_ACCESSES", $potential_accesses);
$this->tpl->setVariable("TXT_POTENTIAL_ACCESSES_EXPLANATION", $this->lng->txt("potential_accesses_explanation"));
$this->tpl->setVariable("TXT_REMARKS", $this->lng->txt("comment"));
$this->tpl->setVariable("REMARKS", $this->license->getRemarks());
$this->tpl->setVariable("BTN_UPDATE", $this->lng->txt("save"));
}