[TYPO3-core] RFC: Bug #12046: Skinning possibilities are not available with frontend editing
Bastian Waidelich
bastian at typo3.org
Wed Sep 23 12:53:57 CEST 2009
Oliver Hader wrote:
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=12046
Hi Olly,
+1 by reading and rough testing (condition is true in FE mode with
admPanel enabled)
One suggestion:
Even though
if (TYPO3_MODE == 'BE' || TYPO3_MODE == 'FE' &&
isset($GLOBALS['BE_USER']) &&
$GLOBALS['BE_USER']->isFrontendEditingActive())
will work because && > ||, I'd replace it by the more explicit
if (TYPO3_MODE == 'BE' || (TYPO3_MODE == 'FE' &&
isset($GLOBALS['BE_USER']) &&
$GLOBALS['BE_USER']->isFrontendEditingActive()))
to avoid confusion.
Best,
Bastian
More information about the TYPO3-team-core
mailing list