MINOR Using LeftAndMain->Link() $action parameter correctly in getSiteTreeFor()

This commit is contained in:
Ingo Schommer 2011-06-09 15:48:13 +12:00
parent d68ec395a3
commit b326f03ed7

View File

@ -566,7 +566,7 @@ class LeftAndMain extends Controller {
$titleEval = '
"<li id=\"record-$child->ID\" data-id=\"$child->ID\" class=\"" . $child->CMSTreeClasses($extraArg) . "\">" .
"<ins class=\"jstree-icon\">&nbsp;</ins>" .
"<a href=\"" . Controller::join_links(substr($extraArg->Link(),0,-1), "show", $child->ID) . "\" title=\"'
"<a href=\"" . Controller::join_links($extraArg->Link("show"), $child->ID) . "\" title=\"'
. _t('LeftAndMain.PAGETYPE','Page type: ')
. '".$child->class."\" ><ins class=\"jstree-icon\">&nbsp;</ins>" . ($child->TreeTitle) .
"</a>"