mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Fix double-escaped ampersands in CMSMain_TreeView and CMSMain::LinkPageAdd
This commit is contained in:
parent
f669c6a0b7
commit
9959ef63f2
@ -339,7 +339,7 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
|
|||||||
}
|
}
|
||||||
|
|
||||||
if($placeholders) {
|
if($placeholders) {
|
||||||
$link .= (strpos($link, '?') === false ? "?$placeholders" : "&$placeholders");
|
$link .= (strpos($link, '?') === false ? "?$placeholders" : "&$placeholders");
|
||||||
}
|
}
|
||||||
|
|
||||||
return $link;
|
return $link;
|
||||||
|
@ -17,7 +17,7 @@ $ExtraTreeTools
|
|||||||
data-url-tree="$LinkWithSearch($Link(getsubtree)).ATT"
|
data-url-tree="$LinkWithSearch($Link(getsubtree)).ATT"
|
||||||
data-url-savetreenode="$Link(savetreenode).ATT"
|
data-url-savetreenode="$Link(savetreenode).ATT"
|
||||||
data-url-updatetreenodes="$Link(updatetreenodes).ATT"
|
data-url-updatetreenodes="$Link(updatetreenodes).ATT"
|
||||||
data-url-addpage="{$LinkPageAdd('AddForm/?action_doAdd=1', 'ParentID=%s&PageType=%s').ATT}"
|
data-url-addpage="{$LinkPageAdd('AddForm/?action_doAdd=1', 'ParentID=%s&PageType=%s').ATT}"
|
||||||
data-url-editpage="$LinkPageEdit('%s').ATT"
|
data-url-editpage="$LinkPageEdit('%s').ATT"
|
||||||
data-url-duplicate="{$Link('duplicate/%s').ATT}"
|
data-url-duplicate="{$Link('duplicate/%s').ATT}"
|
||||||
data-url-duplicatewithchildren="{$Link('duplicatewithchildren/%s').ATT}"
|
data-url-duplicatewithchildren="{$Link('duplicatewithchildren/%s').ATT}"
|
||||||
@ -35,7 +35,7 @@ $ExtraTreeTools
|
|||||||
data-url-tree="$LinkWithSearch($Link(getsubtree)).ATT"
|
data-url-tree="$LinkWithSearch($Link(getsubtree)).ATT"
|
||||||
data-url-savetreenode="$Link(savetreenode).ATT"
|
data-url-savetreenode="$Link(savetreenode).ATT"
|
||||||
data-url-updatetreenodes="$Link(updatetreenodes).ATT"
|
data-url-updatetreenodes="$Link(updatetreenodes).ATT"
|
||||||
data-url-addpage="{$LinkPageAdd('AddForm/?action_doAdd=1', 'ParentID=%s&PageType=%s').ATT}"
|
data-url-addpage="{$LinkPageAdd('AddForm/?action_doAdd=1', 'ParentID=%s&PageType=%s').ATT}"
|
||||||
data-url-editpage="$LinkPageEdit('%s').ATT"
|
data-url-editpage="$LinkPageEdit('%s').ATT"
|
||||||
data-url-duplicate="{$Link('duplicate/%s').ATT}"
|
data-url-duplicate="{$Link('duplicate/%s').ATT}"
|
||||||
data-url-duplicatewithchildren="{$Link('duplicatewithchildren/%s').ATT}"
|
data-url-duplicatewithchildren="{$Link('duplicatewithchildren/%s').ATT}"
|
||||||
|
Loading…
Reference in New Issue
Block a user