mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-27 12:38:44 +02:00
🎨 SetupPage code formatting
This commit is contained in:
@@ -238,20 +238,29 @@ CSS
|
||||
$this->add("<td class=\"wizinput\">{$aRow['input']}</td>\n");
|
||||
$this->add("<td class=\"wizhelp\">{$aRow['help']}</td>\n");
|
||||
}
|
||||
else if (isset($aRow['label']) && isset($aRow['help']))
|
||||
else
|
||||
{
|
||||
if (isset($aRow['label']) && isset($aRow['help']))
|
||||
{
|
||||
$this->add("<td colspan=\"2\" class=\"wizlabel\">{$aRow['label']}</td>\n");
|
||||
$this->add("<td class=\"wizhelp\">{$aRow['help']}</td>\n");
|
||||
}
|
||||
else if (isset($aRow['label']) && isset($aRow['input']))
|
||||
else
|
||||
{
|
||||
if (isset($aRow['label']) && isset($aRow['input']))
|
||||
{
|
||||
$this->add("<td class=\"wizlabel\">{$aRow['label']}</td>\n");
|
||||
$this->add("<td colspan=\"2\" class=\"wizinput\">{$aRow['input']}</td>\n");
|
||||
}
|
||||
else if (isset($aRow['label']))
|
||||
else
|
||||
{
|
||||
if (isset($aRow['label']))
|
||||
{
|
||||
$this->add("<td colspan=\"3\" class=\"wizlabel\">{$aRow['label']}</td>\n");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
$this->add("</tr>\n");
|
||||
}
|
||||
$this->add("</table>\n");
|
||||
@@ -275,7 +284,9 @@ CSS
|
||||
|
||||
public function output()
|
||||
{
|
||||
$this->s_content = "<div id=\"header\"><h1><a href=\"http://www.combodo.com/itop\" target=\"_blank\"><img title=\"iTop by Combodo\" src=\"../images/itop-logo.png?t=".utils::GetCacheBusterTimestamp()."\"></a> ".htmlentities($this->s_title, ENT_QUOTES, 'UTF-8')."</h1>\n</div><div id=\"setup\">{$this->s_content}\n</div>\n";
|
||||
$this->s_content = "<div id=\"header\"><h1><a href=\"http://www.combodo.com/itop\" target=\"_blank\"><img title=\"iTop by Combodo\" src=\"../images/itop-logo.png?t=".utils::GetCacheBusterTimestamp()."\"></a> ".htmlentities($this->s_title,
|
||||
ENT_QUOTES, 'UTF-8')."</h1>\n</div><div id=\"setup\">{$this->s_content}\n</div>\n";
|
||||
|
||||
return parent::output();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user