100 if (isset($this->extAdminConfig[
'enable.'])) {
101 foreach ($this->extAdminConfig[
'enable.'] as $value) {
104 $this->extAdmEnabled = TRUE;
118 foreach ($this->extAdminConfig[
'enable.'] as $value) {
120 if (
$GLOBALS[
'TSFE'] instanceof \
TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController) {
122 $pageTSConfig =
$GLOBALS[
'TSFE']->getPagesTSconfig();
123 $controllerKey = isset($pageTSConfig[
'TSFE.'][
'frontendEditingController'])
124 ? $pageTSConfig[
'TSFE.'][
'frontendEditingController']
127 $controllerKey =
'default';
129 $controllerClass =
$GLOBALS[
'TYPO3_CONF_VARS'][
'SC_OPTIONS'][
't3lib/class.t3lib_tsfebeuserauth.php'][
'frontendEditingController'][$controllerKey];
130 if ($controllerClass) {
145 return $this->extAdmEnabled && (
146 $this->adminPanel->isAdminModuleEnabled(
'edit') ||
147 $GLOBALS[
'TSFE']->displayEditIcons == 1 ||
148 $GLOBALS[
'TSFE']->displayFieldEditIcons == 1
158 return $this->adminPanel->display();
167 return $this->extAdmEnabled && !$this->extAdminConfig[
'hide'] &&
$GLOBALS[
'TSFE']->config[
'config'][
'admPanel'];
183 if (
$GLOBALS[
'TYPO3_CONF_VARS'][
'BE'][
'adminOnly'] < 0) {
187 if (trim(
$GLOBALS[
'TYPO3_CONF_VARS'][
'BE'][
'IPmaskList'])) {
194 if ((
int)
$GLOBALS[
'TYPO3_CONF_VARS'][
'BE'][
'lockSSL'] && (
int)
$GLOBALS[
'TYPO3_CONF_VARS'][
'BE'][
'lockSSL'] !== 3) {
237 $depth = (int)$depth;
238 $begin = (int)$begin;
241 if (
$id && $depth > 0) {
242 $where =
'pid=' .
$id .
' AND doktype IN (' .
$GLOBALS[
'TYPO3_CONF_VARS'][
'FE'][
'content_doktypes']
243 .
') AND deleted=0 AND ' . $perms_clause;
244 $res = $this->db->exec_SELECTquery(
'uid,title',
'pages', $where);
245 while (($row = $this->db->sql_fetch_assoc($res))) {
247 $theList .= $row[
'uid'] .
',';
248 $this->extPageInTreeInfo[] = array($row[
'uid'], htmlspecialchars($row[
'title'], $depth));
251 $theList .= $this->
extGetTreeList($row[
'uid'], $depth - 1, $begin - 1, $perms_clause);
254 $this->db->sql_free_result($res);
265 public function extGetNumberOfCachedPages($pageId) {
268 $pageCacheEntries = $pageCache->getByTag(
'pageId_' . (
int)$pageId);
269 return count($pageCacheEntries);
288 if (!is_array(
$GLOBALS[
'LOCAL_LANG'])) {
290 if (!is_array(
$GLOBALS[
'LOCAL_LANG'])) {
static getIndpEnv($getEnvName)
static getUserObj($classRef, $checkPrefix='', $silent=FALSE)
checkBackendAccessSettingsFromInitPhp()
static makeInstance($className)
isFrontendEditingActive()
static cmpIP($baseIP, $list)
isInWebMount($id, $readPerms='', $exitOnError=0)
extPageReadAccess($pageRec)
extGetTreeList($id, $depth, $begin=0, $perms_clause)
doesUserHaveAccess($row, $perms)
if(!defined('TYPO3_MODE')) $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'][]
getTSConfigProp($objectString)