Index: mod1/class.tx_templavoila_mod1_specialdoktypes.php =================================================================== --- mod1/class.tx_templavoila_mod1_specialdoktypes.php (revision 32155) +++ mod1/class.tx_templavoila_mod1_specialdoktypes.php (working copy) @@ -79,56 +79,6 @@ } /** - * Displays the edit page screen if the currently selected page is of the doktype "Advanced" - * - * @param array $pageRecord: The current page record - * @return mixed HTML output from this submodule or FALSE if this submodule doesn't feel responsible - * @access public - */ - function renderDoktype_2($pageRecord) { - global $LANG, $BE_USER, $TYPO3_CONF_VARS; - - if (intval($pageRecord['content_from_pid'])) { - - // Prepare the record icon including a content sensitive menu link wrapped around it: - $pageTitle = htmlspecialchars(t3lib_div::fixed_lgd_cs(t3lib_BEfunc::getRecordTitle('pages', $pageRecord), 50)); - $recordIcon = $recordIcon = 'doc->backPath, t3lib_iconWorks::getIcon('pages', $pageRecord), '').' style="text-align: center; vertical-align: middle;" width="18" height="16" border="0" title="'.$pageTitle.'" alt="" />'; - $editButton = $this->pObj->link_edit('doc->backPath,'gfx/edit2.gif','').' title="'.htmlspecialchars($LANG->sL('LLL:EXT:lang/locallang_mod_web_list.xml:editPage')).'" alt="" style="text-align: center; vertical-align: middle; border:0;" />', 'pages', $pageRecord['uid']); - - $sourcePageRecord = t3lib_beFunc::getRecordWSOL('pages', $pageRecord['content_from_pid']); - $sourceIcon = 'doc->backPath, t3lib_iconWorks::getIcon('pages', $sourcePageRecord), '').' style="text-align: center; vertical-align: middle;" width="18" height="16" border="0" title="'.$sourcePageRecord['title'].'" alt="" />'; - $sourceButton = $this->doc->wrapClickMenuOnIcon($sourceIcon, 'pages', $sourcePageRecord['uid'], 1, '&callingScriptId='.rawurlencode($this->doc->scriptID), 'new,copy,cut,pasteinto,pasteafter,delete'); - - $sourceLink = ' - '.htmlspecialchars($LANG->getLL ('jumptocontentfrompidpage')).' - '; - - $content = ' - - - - - - - - -
- '.$recordIcon.$editButton.' - - '.htmlspecialchars($pageRecord['title']).' -
- '.htmlspecialchars(sprintf ($LANG->getLL ('cannotedit_contentfrompid'), $sourcePageRecord['title'])).'

- '.$sourceButton.''.$sourceLink.' - -
 
- '; - return $content; - } - - return FALSE; - } - - /** * Displays the edit page screen if the currently selected page is of the doktype "External URL" * * @param array $pageRecord: The current page record