60 $GLOBALS[
'LANG']->includeLLFile(
'EXT:lang/locallang_browse_links.xlf');
71 protected function init() {
80 $this->doc->backPath =
$GLOBALS[
'BACK_PATH'];
82 $this->doc->bodyTagId =
'typo3-browse-links-php';
94 if (isset($tmpMount)) {
95 $GLOBALS[
'BE_USER']->setAndSaveSessionData(
'pageTree_temporaryMountPoint', (
int)$tmpMount);
98 $tempDBmount = (int)
$GLOBALS[
'BE_USER']->getSessionData(
'pageTree_temporaryMountPoint');
100 $altMountPoints = $tempDBmount;
102 if ($altMountPoints) {
108 switch ((
string) $this->mode) {
113 $altMountPoints = trim(
$GLOBALS[
'BE_USER']->getTSConfigVal(
'options.pageTree.altElementBrowserMountPoints'));
114 if ($altMountPoints) {
120 $browserRendered = FALSE;
121 if (is_array(
$GLOBALS[
'TYPO3_CONF_VARS'][
'SC_OPTIONS'][
'typo3/browse_links.php'][
'browserRendering'])) {
122 foreach (
$GLOBALS[
'TYPO3_CONF_VARS'][
'SC_OPTIONS'][
'typo3/browse_links.php'][
'browserRendering'] as $classRef) {
124 if (is_object($browserRenderObj) && method_exists($browserRenderObj,
'isValid') && method_exists($browserRenderObj,
'render')) {
125 if ($browserRenderObj->isValid($this->mode, $this)) {
126 $this->content .= $browserRenderObj->render($this->mode, $this);
127 $browserRendered = TRUE;
134 if (!$browserRendered) {
136 $this->browser->init();
137 $modData =
$GLOBALS[
'BE_USER']->getModuleData(
'browse_links.php',
'ses');
138 list($modData, $store) = $this->browser->processSessionData($modData);
139 $GLOBALS[
'BE_USER']->pushModuleData(
'browse_links.php', $modData);
141 switch ((
string) $this->mode) {
143 $this->content = $this->browser->main_rte();
146 $this->content = $this->browser->main_db();
150 $this->content = $this->browser->main_file();
153 $this->content = $this->browser->main_folder();
156 $this->content = $this->browser->main_rte(1);
static intExplode($delimiter, $string, $removeEmptyValues=FALSE, $limit=0)
static getUserObj($classRef, $checkPrefix='', $silent=FALSE)
static makeInstance($className)
if(!defined('TYPO3_MODE')) $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'][]