54 $GLOBALS[
'LANG']->includeLLFile(
'EXT:lang/locallang_mod_web_info.xlf');
67 $access = is_array($this->pageinfo);
68 if ($this->
id && $access ||
$GLOBALS[
'BE_USER']->user[
'admin'] && !$this->
id) {
69 $this->CALC_PERMS =
$GLOBALS[
'BE_USER']->calcPerms($this->pageinfo);
70 if (
$GLOBALS[
'BE_USER']->user[
'admin'] && !$this->
id) {
71 $this->pageinfo = array(
'title' =>
'[root-level]',
'uid' => 0,
'pid' => 0);
74 $this->doc->backPath =
$GLOBALS[
'BACK_PATH'];
75 $this->doc->setModuleTemplate(
'EXT:info/Resources/Private/Templates/info.html');
76 $this->doc->tableLayout = array(
78 '0' => array(
'<td valign="top"><strong>',
'</strong></td>'),
79 'defCol' => array(
'<td><img src="' . $this->doc->backPath .
'clear.gif" width="10" height="1" alt="" /></td><td valign="top"><strong>',
'</strong></td>')
82 '0' => array(
'<td valign="top">',
'</td>'),
83 'defCol' => array(
'<td><img src="' . $this->doc->backPath .
'clear.gif" width="10" height="1" alt="" /></td><td valign="top">',
'</td>')
87 $this->doc->postCode = $this->doc->wrapScriptTags(
'if (top.fsMod) top.fsMod.recentIds["web"] = ' . (
int)$this->
id .
';');
89 $this->doc->getContextMenuCode();
90 $this->doc->form =
'<form action="' . htmlspecialchars(
BackendUtility::getModuleUrl(
'web_info')) .
'" method="post" name="webinfoForm">';
91 $vContent = $this->doc->getVersionSelector($this->
id, 1);
93 $this->content .= $this->doc->section(
'', $vContent);
99 'CSH' => $docHeaderButtons[
'csh'],
103 $this->MOD_SETTINGS[
'function'],
104 $this->MOD_MENU[
'function']
106 'CONTENT' => $this->content
109 $this->content = $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
113 $this->doc->backPath =
$GLOBALS[
'BACK_PATH'];
114 $this->content = $this->doc->header(
$GLOBALS[
'LANG']->getLL(
'title'));
115 $this->content .= $this->doc->spacer(5);
116 $this->content .= $this->doc->spacer(10);
119 $this->content = $this->doc->render(
$GLOBALS[
'LANG']->getLL(
'title'), $this->content);
128 $this->content = $this->doc->insertStylesAndJS($this->content);
146 $buttons[
'view'] =
'<a href="#" ' 147 .
'onclick="' . htmlspecialchars(
150 .
'title="' .
$GLOBALS[
'LANG']->sL(
'LLL:EXT:lang/locallang_core.xlf:labels.showPage', TRUE) .
'">' 154 if (
$GLOBALS[
'BE_USER']->mayMakeShortcut()) {
155 $buttons[
'shortcut'] = $this->doc->makeShortcutIcon(
'id, edit_record, pointer, new_unique_uid, search_field, search_levels, showLimit', implode(
',', array_keys($this->MOD_MENU)), $this->MCONF[
'name']);
static readPageAccess($id, $perms_clause)
static BEgetRootLine($uid, $clause='', $workspaceOL=FALSE)
static cshItem($table, $field, $BACK_PATH, $wrap='', $onlyIconMode=FALSE, $styleAttrib='')
static makeInstance($className)
static viewOnClick($pageUid, $backPath='', $rootLine='', $anchorSection='', $alternativeUrl='', $additionalGetVars='', $switchFocus=TRUE)
static getModuleUrl($moduleName, $urlParameters=array(), $backPathOverride=FALSE, $returnAbsoluteUrl=FALSE)
static getSpriteIcon($iconName, array $options=array(), array $overlays=array())
static getFuncMenu($mainParams, $elementName, $currentValue, $menuItems, $script='', $addparams='')
if(!defined('TYPO3_MODE')) $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'][]