mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
MINOR removed Director::Link(). Use Controller::join_links() instead (from r93785)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@93959 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
b53413924c
commit
a0b82a2ec3
@ -483,7 +483,7 @@ class LeftAndMain extends Controller {
|
|||||||
// getChildrenAsUL is a flexible and complex way of traversing the tree
|
// getChildrenAsUL is a flexible and complex way of traversing the tree
|
||||||
$titleEval = '
|
$titleEval = '
|
||||||
"<li id=\"record-$child->ID\" class=\"" . $child->CMSTreeClasses($extraArg) . "\">" .
|
"<li id=\"record-$child->ID\" class=\"" . $child->CMSTreeClasses($extraArg) . "\">" .
|
||||||
"<a href=\"" . Director::link(substr($extraArg->Link(),0,-1), "show", $child->ID) . "\" class=\"" . $child->CMSTreeClasses($extraArg) . "\" title=\"'
|
"<a href=\"" . Director::join_links(substr($extraArg->Link(),0,-1), "show", $child->ID) . "\" class=\"" . $child->CMSTreeClasses($extraArg) . "\" title=\"'
|
||||||
. _t('LeftAndMain.PAGETYPE','Page type: ')
|
. _t('LeftAndMain.PAGETYPE','Page type: ')
|
||||||
. '".$child->class."\" >" . ($child->TreeTitle) .
|
. '".$child->class."\" >" . ($child->TreeTitle) .
|
||||||
"</a>"
|
"</a>"
|
||||||
|
Loading…
Reference in New Issue
Block a user