Commit 9c2bd67a authored by amma35's avatar amma35 Committed by Johan Cwiklinski

Fix html display fix #3862

parent 5731f712
......@@ -226,7 +226,9 @@ class APIClient extends CommonDBTM {
echo "<td>".__('IPv6 address')."</td>";
echo "<td>";
Html::autocompletionTextField($this, "ipv6");
echo "</td></tr>";
echo "</td>";
echo "<td colspan='2'></td>";
echo "</tr>";
echo "<tr class='tab_bg_1'>";
echo "<td>".sprintf(__('%1$s (%2$s)'), __('Application token'), "app_token")."</td>";
......@@ -234,7 +236,7 @@ class APIClient extends CommonDBTM {
Html::autocompletionTextField($this, "app_token");
echo "<br><input type='checkbox' name='_reset_app_token' id='app_token'>&nbsp;";
echo "<label for='app_token'>".__('Regenerate')."</label>";
echo "</td></tr>";
echo "</td><td></td></tr>";
$this->showFormButtons($options);
}
......
......@@ -340,7 +340,9 @@ class Config extends CommonDBTM {
'min' => 1,
'max' => 4,
'rand' => $rand]);
echo "</td></tr>";
echo "</td>";
echo "<td colspan='2'></td>";
echo "</tr>";
echo "<tr class='tab_bg_2'>";
echo "<td><label for='dropdown_translate_dropdowns$rand'>" . __("Translation of dropdowns") . "</label></td><td>";
......
......@@ -91,7 +91,7 @@ trait DCBreadcrumb {
}
if (count($breadcrumb)) {
echo "<tr>
echo "<tr class='tab_bg_1'>
<td>" . __('Datacenter position') . "</td>
<td colspan='3'>" . implode(' > ', array_reverse($breadcrumb)) . "</td>
</tr>";
......
......@@ -116,7 +116,9 @@ class DCRoom extends CommonDBTM {
'itemtype' => 'Datacenter'
]
);
echo "</td></tr>";
echo "</td>";
echo "<td colspan='2'></td>";
echo "</tr>";
echo "<tr class='tab_bg_1'>";
echo "<td><label for='dropdown_vis_cols$rand'>" . __('Number of columns') . "</label></td><td>";
......@@ -166,6 +168,7 @@ class DCRoom extends CommonDBTM {
}
echo "</td>";
echo "<td colspan = '2'></td>";
echo "</tr>";
$this->showFormButtons($options);
......
......@@ -147,6 +147,7 @@ class Enclosure extends CommonDBTM {
]);
echo "</td></tr>\n";
echo "<tr class='tab_bg_1'>";
echo "<td><label for='textfield_serial$rand'>".__('Serial number')."</label></td>";
echo "<td >";
Html::autocompletionTextField($this, 'serial', ['rand' => $rand]);
......
......@@ -159,6 +159,7 @@ class PDU extends CommonDBTM {
]);
echo "</td></tr>\n";
echo "<tr class='tab_bg_1'>";
echo "<td><label for='textfield_serial$rand'>".__('Serial number')."</label></td>";
echo "<td >";
Html::autocompletionTextField($this, 'serial', ['rand' => $rand]);
......
......@@ -517,7 +517,7 @@ class Profile_User extends CommonDBRelation {
echo "<td>";
echo "<a href=\"javascript:showHideDiv('entity$temp$rand','imgcat$temp', '".
"fa-folder','fa-folder-open');\">";
echo "<i id='imgcat$temp' class='fa fa-folder'>&nbsp;";
echo "<i id='imgcat$temp' class='fa fa-folder'></i>&nbsp;";
echo "<span class='b'>".Dropdown::getDropdownName('glpi_entities', $data["entity"]).
"</span>";
echo "</a>";
......
......@@ -423,6 +423,7 @@ class ProjectTask extends CommonDBChild {
'rand' => $rand_template,
'on_change' => 'projecttasktemplate_update(this.value)']);
echo "</td>";
echo "<td colspan='2'></td>";
echo "</tr>";
echo Html::scriptBlock('
function projecttasktemplate_update(value) {
......
......@@ -173,6 +173,7 @@ class Rack extends CommonDBTM {
]);
echo "</td></tr>\n";
echo "<tr class='tab_bg_1'>";
echo "<td><label for='textfield_serial$rand'>".__('Serial number')."</label></td>";
echo "<td >";
Html::autocompletionTextField($this, 'serial', ['rand' => $rand]);
......@@ -273,6 +274,7 @@ class Rack extends CommonDBTM {
]
);
echo "</td>";
echo "<td colspan='2'></td>";
echo "</tr>";
echo "<tr class='tab_bg_1'>";
......
......@@ -164,8 +164,8 @@ class SavedSearch_Alert extends CommonDBChild {
echo "<td>";
Dropdown::showYesNo('is_active', $this->getField('is_active'));
echo "</td>";
echo "<td></td>";
echo "</td></tr>";
echo "<td colspan='2'></td>";
echo "</tr>";
$this->showFormButtons($options);
return true;
......
......@@ -2034,7 +2034,7 @@ class User extends CommonDBTM {
}
echo "</td></tr>";
} else {
echo "<tr><td colspan='2'></td></tr>";
echo "<tr class='tab_bg_1'><td colspan='2'></td></tr>";
}
$surnamerand = mt_rand();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment