54 $GLOBALS[
'LANG']->includeLLFile(
'EXT:lang/locallang_alt_doc.xml');
64 protected function init() {
67 $this->doc->bodyTagMargins[
'x'] = 5;
68 $this->doc->bodyTagMargins[
'y'] = 5;
69 $this->doc->backPath =
$GLOBALS[
'BACK_PATH'];
71 $this->doc->JScode = $this->doc->wrapScriptTags(
' 72 function jump(url, modName, mainModName) { 73 // clear information about which entry in nav. tree that might have been highlighted. 74 top.fsMod.navFrameHighlightedID = []; 76 if (top.content && top.content.nav_frame && top.content.nav_frame.refresh_nav) { 77 top.content.nav_frame.refresh_nav(); 80 top.nextLoadModuleUrl = url; 81 top.goToModule(modName); 86 $this->content .= $this->doc->startPage(
'TYPO3 Edit Document');
89 $this->loadModules->load(
$GLOBALS[
'TBE_MODULES']);
100 $msg[] =
'<p>' .
$GLOBALS[
'LANG']->getLL(
'noDocuments_msg', TRUE) .
'</p><br />';
102 $newPageModule = trim(
$GLOBALS[
'BE_USER']->getTSConfigVal(
'options.overridePageModule'));
105 $a_wl =
$GLOBALS[
'BE_USER']->check(
'modules',
'web_list');
106 $a_wp =
$GLOBALS[
'BE_USER']->check(
'modules', $pageModule);
108 $imgFile =
$GLOBALS[
'LANG']->moduleLabels[
'tabs_images'][
'web_layout_tab'];
109 $imgInfo = @getimagesize($imgFile);
112 $imgFile =
$GLOBALS[
'LANG']->moduleLabels[
'tabs_images'][
'web_list_tab'];
113 $imgInfo = @getimagesize($imgFile);
116 if ($a_wl || $a_wp) {
120 $msg_2[] =
'<strong><a href="#" onclick="top.goToModule(\'' . $pageModule .
'\');
return false;
">' . $GLOBALS['LANG']->getLL('noDocuments_pagemodule', TRUE) . $img_web_layout . '</a></strong>'; 122 $msg_2[] = $GLOBALS['LANG']->getLL('noDocuments_OR'); 127 $msg_2[] = '<strong><a href="#
" onclick="top.goToModule(\
'web_list\'); return false;">' .
$GLOBALS[
'LANG']->getLL(
'noDocuments_listmodule', TRUE) . $img_web_list .
'</a></strong>';
129 $msg[] =
'<p>' . sprintf(
$GLOBALS[
'LANG']->getLL(
'noDocuments_msg2', 1), implode(
' ', $msg_2)) .
'</p><br />';
133 $msg[] =
'<p>' .
$GLOBALS[
'LANG']->getLL(
'noDocuments_msg3', TRUE) .
'</p><br />' . $modObj->renderMenu();
135 $this->content .= $this->doc->section(
$GLOBALS[
'LANG']->getLL(
'noDocuments'), implode(
' ', $msg), 0, 1);
144 $this->content .= $this->doc->endPage();
145 $this->content = $this->doc->insertStylesAndJS($this->content);
static makeInstance($className)
static isModuleSetInTBE_MODULES($modName)
if(!defined('TYPO3_MODE')) $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'][]
static stripPathSitePrefix($path)