13 $this->tpl->addBlockFile(
"TABS",
"tabs",
"tpl.tabs.html");
15 $tab = $this->cmd ? $this->cmd :
"view";
23 $this->tpl->setCurrentBlock(
"tab");
24 $this->tpl->setVariable(
"TAB_TYPE",
$tab ==
"view" ?
"tabactive" :
"tabinactive");
25 $this->tpl->setVariable(
"TAB_LINK",
"setup.php?".
$client_id.
"&cmd=view");
26 $this->tpl->setVariable(
"TAB_TEXT",ucfirst($this->lng->txt(
"overview")));
27 $this->tpl->parseCurrentBlock();
30 $this->tpl->setCurrentBlock(
"tab");
31 $this->tpl->setVariable(
"TAB_TYPE", in_array(
$tab, array(
"db",
"displayDatabase")) ?
"tabactive" :
"tabinactive");
32 $this->tpl->setVariable(
"TAB_LINK",
"setup.php?".
$client_id.
"&cmd=db");
33 $this->tpl->setVariable(
"TAB_TEXT",ucfirst($this->lng->txt(
"database")));
34 $this->tpl->parseCurrentBlock();
37 $this->tpl->setCurrentBlock(
"tab");
38 $this->tpl->setVariable(
"TAB_TYPE",
$tab ==
"sess" ?
"tabactive" :
"tabinactive");
39 $this->tpl->setVariable(
"TAB_LINK",
"setup.php?".
$client_id.
"&cmd=sess");
40 $this->tpl->setVariable(
"TAB_TEXT",ucfirst($this->lng->txt(
"session_management")));
41 $this->tpl->parseCurrentBlock();
44 $this->tpl->setCurrentBlock(
"tab");
45 $this->tpl->setVariable(
"TAB_TYPE",
$tab ==
"lang" ?
"tabactive" :
"tabinactive");
46 $this->tpl->setVariable(
"TAB_LINK",
"setup.php?cmd=lang");
47 $this->tpl->setVariable(
"TAB_TEXT",ucfirst($this->lng->txt(
"languages")));
48 $this->tpl->parseCurrentBlock();
50 $this->tpl->setCurrentBlock(
"tab");
51 $this->tpl->setVariable(
"TAB_TYPE",
$tab ==
"contact" ?
"tabactive" :
"tabinactive");
52 $this->tpl->setVariable(
"TAB_LINK",
"setup.php?cmd=contact");
53 $this->tpl->setVariable(
"TAB_TEXT",ucfirst($this->lng->txt(
"contact")));
54 $this->tpl->parseCurrentBlock();
57 $this->tpl->setCurrentBlock(
"tab");
58 $this->tpl->setVariable(
"TAB_TYPE",
$tab ==
"nic" ?
"tabactive" :
"tabinactive");
59 $this->tpl->setVariable(
"TAB_LINK",
"setup.php?cmd=nic");
60 $this->tpl->setVariable(
"TAB_TEXT",ucfirst($this->lng->txt(
"ilias_nic")));
61 $this->tpl->parseCurrentBlock();
72 if ((is_object($this->setup) && $this->setup->isAdmin()))
74 $this->tpl->setCurrentBlock(
"tab");
75 $this->tpl->setVariable(
"TAB_TYPE",
$tab ==
"delete" ?
"tabactive" :
"tabinactive");
76 $this->tpl->setVariable(
"TAB_LINK",
"setup.php?cmd=delete&lang=".$this->lang);
77 $this->tpl->setVariable(
"TAB_TEXT",ucfirst($this->lng->txt(
"delete")));
78 $this->tpl->parseCurrentBlock();
82 $this->tpl->setCurrentBlock(
"tab");
83 $this->tpl->setVariable(
"TAB_TYPE",
$tab ==
"tools" ?
"tabactive" :
"tabinactive");
84 $this->tpl->setVariable(
"TAB_LINK",
"setup.php?cmd=tools");
85 $this->tpl->setVariable(
"TAB_TEXT",ucfirst($this->lng->txt(
"tools")));
86 $this->tpl->parseCurrentBlock();