Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
eb3e5a5a
Commit
eb3e5a5a
authored
Sep 12, 2017
by
Carsten Rose
Browse files
STORE_TYPO3: variable 'beUserLoggedIn' .
parent
e6e64c79
Changes
3
Hide whitespace changes
Inline
Side-by-side
extension/Documentation/Manual.rst
View file @
eb3e5a5a
...
...
@@ -1221,6 +1221,8 @@ Store: *TYPO3* (Bodytext) - T
+-------------------------+-------------------------------------------------------------------+----------+
| feUserGroup | FE groups of logged in Typo3 FE User | |
+-------------------------+-------------------------------------------------------------------+----------+
| beUserLoggedIn | 'yes' | 'no' - Status if a BE-User is logged in | |
+-------------------------+-------------------------------------------------------------------+----------+
* **note**: not available:
...
...
extension/qfq/qfq/Constants.php
View file @
eb3e5a5a
...
...
@@ -330,7 +330,7 @@ const CLIENT_COOKIE_QFQ = 'cookieQfq';
// T3 Bodytext Keywords
const
TYPO3_FORM
=
CLIENT_FORM
;
const
TYPO3_RECORD_ID
=
CLIENT_RECORD_ID
;
const
TYPO3_BE_USER_LOGGED_IN
=
'beUser'
;
// 'yes' | 'no'
const
TYPO3_BE_USER_LOGGED_IN
=
'beUser
LoggedIn
'
;
// 'yes' | 'no'
const
TYPO3_FE_USER
=
'feUser'
;
const
TYPO3_FE_USER_UID
=
'feUserUid'
;
const
TYPO3_FE_USER_GROUP
=
'feUserGroup'
;
...
...
extension/qfq/qfq/store/T3Info.php
View file @
eb3e5a5a
...
...
@@ -37,6 +37,9 @@ class T3Info {
$t3vars
[
TYPO3_PAGE_LANGUAGE
]
=
isset
(
$GLOBALS
[
"TSFE"
]
->
sys_language_uid
)
?
$GLOBALS
[
"TSFE"
]
->
sys_language_uid
:
''
;
$t3vars
[
TYPO3_BE_USER_LOGGED_IN
]
=
(
isset
(
$GLOBALS
[
"TSFE"
]
->
beUserLogin
)
&&
$GLOBALS
[
"TSFE"
]
->
beUserLogin
===
true
)
?
'yes'
:
'no'
;
return
$t3vars
;
}
}
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment