[9.2.13] format du titre de page dans la liste des pages

This commit is contained in:
Fred Tempez 2019-12-03 08:08:59 +01:00
parent b950b54ebc
commit eeee33879a
2 changed files with 4 additions and 3 deletions

View File

@ -260,7 +260,8 @@ class page extends common {
'group' => $this->getinput('pageEditBlock') !== 'bar' ? $this->getInput('pageEditGroup', helper::FILTER_INT) : 0,
'targetBlank' => $this->getInput('pageEditTargetBlank', helper::FILTER_BOOLEAN),
'targetLity' => $this->getInput('pageEditTargetBlank', helper::FILTER_BOOLEAN) === true ? false : $this->getInput('pageEditTargetLity', helper::FILTER_BOOLEAN),
'title' => htmlspecialchars_decode($this->getInput('pageEditTitle', helper::FILTER_STRING_SHORT, true), ENT_QUOTES),
//'title' => htmlspecialchars_decode($this->getInput('pageEditTitle', helper::FILTER_STRING_SHORT, true), ENT_QUOTES),
'title' => $this->getInput('pageEditTitle', helper::FILTER_STRING_SHORT),
'block' => $this->getinput('pageEditBlock'),
'barLeft' => $barLeft,
'barRight' => $barRight,

View File

@ -515,7 +515,7 @@ $("#pageEditParentPageId").on("change", function() {
positionPrevious++;
// Ajout à la liste
positionDOM.append(
$("<option>").val(positionPrevious).text("Après \"" + (pages[key].title) + "\"")
$("<option>").val(positionPrevious).html("Après \"" + (pages[key].title) + "\"")
);
}
}
@ -540,7 +540,7 @@ $("#pageEditParentPageId").on("change", function() {
positionPrevious++;
// Ajout à la liste
positionDOM.append(
$("<option>").val(positionPrevious).text("Après \"" + (pages[hierarchy[parentSelected][i]].title) + "\"")
$("<option>").val(positionPrevious).html("Après \"" + (pages[hierarchy[parentSelected][i]].title) + "\"")
);
}
}