Public Member Functions | |
| ext_isLinkable ($v) | |
| Returns true if the input "record" contains a folder which can be linked. | |
| wrapTitle ($title, $v) | |
| Wrapping the title in a link, if applicable. | |
Public Attributes | |
| $ext_noTempRecyclerDirs = 0 | |
|
|
Returns true if the input "record" contains a folder which can be linked.
Reimplemented from localFolderTree. Definition at line 602 of file browse_links.php. 00602 {
00603 if ($this->ext_noTempRecyclerDirs && (substr($v['path'],-7)=='_temp_/' || substr($v['path'],-11)=='_recycler_/')) {
00604 return 0;
00605 } return 1;
00606 }
|
|
||||||||||||
|
Wrapping the title in a link, if applicable.
Reimplemented from localFolderTree. Definition at line 615 of file browse_links.php. 00615 {
00616 if ($this->ext_isLinkable($v)) {
00617 $aOnClick = 'return jumpToUrl(\'browse_links.php?act='.$GLOBALS['SOBE']->act.'&mode='.$GLOBALS['SOBE']->mode.'&expandFolder='.rawurlencode($v['path']).'\');';
00618 return '<a href="#" onclick="'.htmlspecialchars($aOnClick).'">'.$title.'</a>';
00619 } else {
00620 return '<span class="typo3-dimmed">'.$title.'</span>';
00621 }
00622 }
|
|
|
Definition at line 594 of file browse_links.php. |
1.3.8-20040913