19declare(strict_types=1);
39 $this->client_ini =
$DIC->clientIni();
40 $this->agent_finder =
$DIC[
'setup.agentfinder'];
63 $this->
lng->loadLanguageModule(
'administration');
66 switch ($this->
ctrl->getNextClass($this)) {
67 case strtolower(ilPermissionGUI::class):
68 $this->tabs_gui->activateTab(
'perm_settings');
72 case strtolower(JavaServerGUI::class):
73 $this->tabs_gui->activateTab(
'java_server');
78 $cmd = $this->
ctrl->getCmd(
"view");
82 $this->tabs_gui->activateTab(
'server_data');
86 $this->tabs_gui->activateTab(
'installation_status');
98 $this->tabs_gui->addTab(
99 'installation_status',
100 $this->
lng->txt(
'installation_status'),
101 $this->ctrl->getLinkTarget($this,
'status')
104 $this->tabs_gui->addTab(
106 $this->
lng->txt(
'server_data'),
107 $this->ctrl->getLinkTarget($this,
'view')
110 $this->tabs_gui->addTab(
112 $this->
lng->txt(
'java_server'),
113 $this->ctrl->getLinkTargetByClass([self::class, JavaServerGUI::class]),
117 $this->tabs_gui->addTab(
119 $this->
lng->txt(
'perm_settings'),
120 $this->ctrl->getLinkTargetByClass([self::class, ilPermissionGUI::class],
'perm')
128 $this->ui_factory->button()->standard(
129 $this->lng->txt(
"vc_information"),
130 $this->ctrl->getLinkTarget($this,
'viewVcs')
138 $ne->setValue($this->client_ini->readVariable(
"client",
"name"));
139 $ne->setInfo($this->client_ini->readVariable(
"client",
"description"));
149 $ne->setValue($this->
settings->get(
"inst_id"));
154 $ne->setValue($this->
settings->get(
"db_version"));
165 $ne->setValue($_SERVER[
"SERVER_NAME"]);
170 $ne->setValue($_SERVER[
"SERVER_ADDR"] .
":" . $_SERVER[
"SERVER_PORT"]);
175 $ne->setValue($_SERVER[
"SERVER_SOFTWARE"]);
180 $ne->setValue(ILIAS_HTTP_PATH);
185 $ne->setValue(ILIAS_ABSOLUTE_PATH);
188 $not_set = $this->
lng->txt(
"path_not_set");
192 $ne->setValue(PATH_TO_CONVERT ?: $not_set);
197 $ne->setValue(PATH_TO_ZIP ?: $not_set);
202 $ne->setValue(PATH_TO_UNZIP ?: $not_set);
207 $ne->setValue(PATH_TO_JAVA ?: $not_set);
212 $ne->setValue(PATH_TO_MKISOFS ?: $not_set);
215 $form->setTitle($this->
lng->txt(
"server_data"));
217 $tpl =
new ilTemplate(
"tpl.server_data.html",
true,
true,
"components/ILIAS/Administration");
221 $this->tpl->setContent(
$tpl->
get());
227 $metric = $st->getMetrics($this->agent_finder->getAgents());
228 $report = $metric->toUIReport($this->ui_factory, $this->
lng->txt(
"installation_status"));
229 $this->tpl->setContent($this->ui_renderer->render(
$report));
235 $html = $vc->getInformationAsHtml();
238 $this->tpl->setOnScreenMessage(
'info',
$html);
240 $this->tpl->setOnScreenMessage(
'info', $this->
lng->txt(
'vc_information_not_determined'));
GUI for Java Server Settings.
Command to output status information about the installation.
INI file parser — compatibility wrapper.
This class represents a non editable value in a property form.
@ilCtrl_isCalledBy ilObjServerInfoGUI: ilAdministrationGUI @ilCtrl_Calls ilObjServerInfoGUI: ilPermis...
getAdminTabs()
administration tabs show only permissions and trash folder
__construct(int $id=0, int $id_type=self::REPOSITORY_NODE_ID, int $parent_node_id=0)
executeCommand()
execute command
view()
view object content (repository/workspace switch)
AgentFinder $agent_finder
getType()
Functions that must be overwritten.
New implementation of ilObjectGUI.
ilGlobalTemplateInterface $tpl
checkPermissionBool(string $perm, string $cmd="", string $type="", ?int $node_id=null)
checkPermission(string $perm, string $cmd="", string $type="", ?int $ref_id=null)
prepareOutput(bool $show_sub_objects=true)
special template class to simplify handling of ITX/PEAR
setVariable(string $variable, $value='')
Sets the given variable to the given value.
get(string $part=self::DEFAULT_BLOCK)
Renders the given block and returns the html string.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
exit
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...