mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Schema.php : replace <br/> to <br> (might break on MSIE)
This commit is contained in:
@@ -243,7 +243,7 @@ function DisplayClassesList($oPage, $sContext)
|
||||
{
|
||||
$oPage->add("<h1>".Dict::S('UI:Schema:Title')."</h1>\n");
|
||||
|
||||
$oPage->add("<label for='search-model'>".Dict::S('UI:Schema:ClassFilter')."</label><br/><input type=\"text\" id=\"search-model\" autofocus=\"autofocus\"/>");
|
||||
$oPage->add("<label for='search-model'>".Dict::S('UI:Schema:ClassFilter')."</label><br><input type=\"text\" id=\"search-model\" autofocus=\"autofocus\"/>");
|
||||
$oPage->add("<div id=\"delDataModelSearch\"> <i class=\"fas fa-times-circle\"></i></div>");
|
||||
$oPage->add("<ul id=\"ClassesList\" class=\"treeview fileview\">\n");
|
||||
$oPage->add_ready_script(
|
||||
@@ -750,7 +750,7 @@ field.filter(function(d) {
|
||||
divD3.style("left", (d3.event.pageX - 7*d['tooltip_data']['class'].length/2) + "px");
|
||||
divD3.style("top", (d3.event.pageY - 65) + "px");
|
||||
divD3.html( '<div id="tooltipD3_top">' + d['tooltip_data']['class'] + '</div><span id="tooltipD3_left"> <i class="fas fa-caret-left"></i> '
|
||||
+ ( (d.related_position < 0) ? d['tooltip_data']['to_remote'] : d['tooltip_data']['to_me'] ) + '</span><span id="tooltipD3_right"> <br/>'
|
||||
+ ( (d.related_position < 0) ? d['tooltip_data']['to_remote'] : d['tooltip_data']['to_me'] ) + '</span><span id="tooltipD3_right"> <br>'
|
||||
+ ( (d.related_position < 0) ? d['tooltip_data']['to_me'] : d['tooltip_data']['to_remote'] ) + ' <i class="fas fa-caret-right"></i></span>');
|
||||
})
|
||||
.on('mouseout',function(d){
|
||||
@@ -1030,7 +1030,7 @@ function DisplayGranularityDisplayer($oPage)
|
||||
<option value=\"label\">".Dict::S('UI:Schema:DisplaySelector/Label')."</option>
|
||||
<option value=\"code\">".Dict::S('UI:Schema:DisplaySelector/Code')."</option>
|
||||
</select> </h1></label>
|
||||
<br/>");
|
||||
<br>");
|
||||
$sDisplayDropDownValue = htmlentities(appUserPreferences::GetPref('datamodel_viewer_display_granularity', 'labelandcode'), ENT_QUOTES,
|
||||
"UTF-8");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user