forked from ZwiiCMS-Team/ZwiiCMS
[9.2.13] format du titre de page dans la liste des pages
This commit is contained in:
parent
b950b54ebc
commit
eeee33879a
@ -260,7 +260,8 @@ class page extends common {
|
|||||||
'group' => $this->getinput('pageEditBlock') !== 'bar' ? $this->getInput('pageEditGroup', helper::FILTER_INT) : 0,
|
'group' => $this->getinput('pageEditBlock') !== 'bar' ? $this->getInput('pageEditGroup', helper::FILTER_INT) : 0,
|
||||||
'targetBlank' => $this->getInput('pageEditTargetBlank', helper::FILTER_BOOLEAN),
|
'targetBlank' => $this->getInput('pageEditTargetBlank', helper::FILTER_BOOLEAN),
|
||||||
'targetLity' => $this->getInput('pageEditTargetBlank', helper::FILTER_BOOLEAN) === true ? false : $this->getInput('pageEditTargetLity', 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'),
|
'block' => $this->getinput('pageEditBlock'),
|
||||||
'barLeft' => $barLeft,
|
'barLeft' => $barLeft,
|
||||||
'barRight' => $barRight,
|
'barRight' => $barRight,
|
||||||
|
@ -515,7 +515,7 @@ $("#pageEditParentPageId").on("change", function() {
|
|||||||
positionPrevious++;
|
positionPrevious++;
|
||||||
// Ajout à la liste
|
// Ajout à la liste
|
||||||
positionDOM.append(
|
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++;
|
positionPrevious++;
|
||||||
// Ajout à la liste
|
// Ajout à la liste
|
||||||
positionDOM.append(
|
positionDOM.append(
|
||||||
$("<option>").val(positionPrevious).text("Après \"" + (pages[hierarchy[parentSelected][i]].title) + "\"")
|
$("<option>").val(positionPrevious).html("Après \"" + (pages[hierarchy[parentSelected][i]].title) + "\"")
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user