50 $GLOBALS[
'LANG']->includeLLFile(
'EXT:lang/locallang_mod_web_func.xlf');
63 $access = is_array($this->pageinfo);
71 $this->doc->backPath =
$GLOBALS[
'BACK_PATH'];
72 $this->doc->setModuleTemplate(
'EXT:func/Resources/Private/Templates/func.html');
74 if ($this->
id && $access) {
76 $this->doc->postCode = $this->doc->wrapScriptTags(
'if (top.fsMod) top.fsMod.recentIds["web"] = ' . (
int)$this->
id .
';');
78 $this->doc->getContextMenuCode();
79 $this->doc->form =
'<form action="' . htmlspecialchars(
BackendUtility::getModuleUrl(
'web_func')) .
'" method="post"><input type="hidden" name="id" value="' . htmlspecialchars($this->
id) .
'" />';
80 $vContent = $this->doc->getVersionSelector($this->
id, TRUE);
82 $this->content .= $this->doc->section(
'', $vContent);
87 $markers[
'CSH'] = $docHeaderButtons[
'csh'];
91 $this->MOD_SETTINGS[
'function'],
92 $this->MOD_MENU[
'function']
98 'TYPO3\\CMS\\Core\\Messaging\\FlashMessage',
99 $GLOBALS[
'LANG']->getLL(
'clickAPage_content'),
101 \
TYPO3\CMS\Core\Messaging\FlashMessage::INFO
103 $this->content = $flashMessage->render();
106 $markers[
'CSH'] = $docHeaderButtons[
'csh'];
110 $this->content = $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
112 $this->content = $this->doc->render(
$GLOBALS[
'LANG']->getLL(
'title'), $this->content);
137 if ($this->
id && is_array($this->pageinfo)) {
139 $buttons[
'view'] =
'<a href="#" ' 141 .
'title="' .
$GLOBALS[
'LANG']->sL(
'LLL:EXT:lang/locallang_core.xlf:labels.showPage', TRUE) .
'">' 144 if (
$GLOBALS[
'BE_USER']->mayMakeShortcut()) {
145 $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'][]