57 public function render(array $getVars = array(), array $setVars = array()) {
58 $mayMakeShortcut =
$GLOBALS[
'BE_USER']->mayMakeShortcut();
60 if ($mayMakeShortcut) {
61 $doc = $this->getDocInstance();
62 $currentRequest = $this->controllerContext->getRequest();
63 $extensionName = $currentRequest->getControllerExtensionName();
65 if (count($getVars) === 0) {
66 $modulePrefix = strtolower(
'tx_' . $extensionName .
'_' .
$moduleName);
67 $getVars = array(
'id',
'M', $modulePrefix);
69 $getList = implode(
',', $getVars);
70 $setList = implode(
',', $setVars);
71 return $doc->makeShortcutIcon($getList, $setList,
$moduleName);
if(!defined('TYPO3_MODE')) $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'][]