|
@@ 231-233 (lines=3) @@
|
| 228 |
|
$ph = (count($phnew) > 0) ? $phnew : $ph; |
| 229 |
|
} |
| 230 |
|
|
| 231 |
|
if ($ph['contextmenu']) { |
| 232 |
|
$ph['contextmenu'] = ' data-contextmenu="' . _htmlentities($ph['contextmenu']) . '"'; |
| 233 |
|
} |
| 234 |
|
|
| 235 |
|
if ($_SESSION['tree_show_only_folders']) { |
| 236 |
|
if ($row['parent'] == 0) { |
|
@@ 289-291 (lines=3) @@
|
| 286 |
|
$ph = (count($phnew) > 0) ? $phnew : $ph; |
| 287 |
|
} |
| 288 |
|
|
| 289 |
|
if ($ph['contextmenu']) { |
| 290 |
|
$ph['contextmenu'] = ' data-contextmenu="' . _htmlentities($ph['contextmenu']) . '"'; |
| 291 |
|
} |
| 292 |
|
|
| 293 |
|
$node .= $modx->parseText($tpl, $ph); |
| 294 |
|
if ($checkFolders) { |
|
@@ 327-329 (lines=3) @@
|
| 324 |
|
$ph = (count($phnew) > 0) ? $phnew : $ph; |
| 325 |
|
} |
| 326 |
|
|
| 327 |
|
if ($ph['contextmenu']) { |
| 328 |
|
$ph['contextmenu'] = ' data-contextmenu="' . _htmlentities($ph['contextmenu']) . '"'; |
| 329 |
|
} |
| 330 |
|
|
| 331 |
|
$node .= $modx->parseText($tpl, $ph); |
| 332 |
|
$node .= '</div></div>'; |
|
@@ 378-380 (lines=3) @@
|
| 375 |
|
$tpl = getTplFolderNodeNotChildren(); |
| 376 |
|
} |
| 377 |
|
|
| 378 |
|
if ($ph['contextmenu']) { |
| 379 |
|
$ph['contextmenu'] = ' data-contextmenu="' . _htmlentities($ph['contextmenu']) . '"'; |
| 380 |
|
} |
| 381 |
|
|
| 382 |
|
$node .= $modx->parseText($tpl, $ph); |
| 383 |
|
if ($ph['donthit'] == 0) { |
|
@@ 420-422 (lines=3) @@
|
| 417 |
|
$tpl = getTplFolderNodeNotChildren(); |
| 418 |
|
} |
| 419 |
|
|
| 420 |
|
if ($ph['contextmenu']) { |
| 421 |
|
$ph['contextmenu'] = ' data-contextmenu="' . _htmlentities($ph['contextmenu']) . '"'; |
| 422 |
|
} |
| 423 |
|
|
| 424 |
|
$node .= $modx->parseText($tpl, $ph); |
| 425 |
|
$node .= '</div></div>'; |