Bug #20601
closed
after Patch : "0011247: No labels in admin panel .." calls like "$BE_USER->extGetLL('p_deleteConfirm'));" are empty
Added by Sven Juergens over 15 years ago.
Updated over 11 years ago.
Description
in patch 0011247 the Local_Lang check is removed,
after that, calls in class_tslib.content.php
function editPanel() { ...
$BE_USER->extGetLL('p_deleteConfirm'));
}
are empty.
Now, if you delete an Element in FE, there is no Javascript Confirm Message (Are you sure you want to delete this record?)
(issue imported from #M11308)
Files
What's the exact TYPO3 version you're working with?
sorry, i forgotten
TYPO3 4.2.7 dev trunk 5575
steps to reproduce
- install a clean trunk version of typo3 4.2.7 (and dummy package 4.2.6)
- create a page and a contentelement on that page
- create a TS Template and add css_style_content and add the following lines
- Default PAGE object:
...
page.20 < styles.content.get
config.admPanel = 1
now, go to the Frontend and activate in adminPanel > Typoscript> Display Edit Panels.
Now Delete the Record with the editpanel. There is no Javascript confirm with the Question "Are you sure you want to delete this record?" .
Now integrate again:
function extGetLL($key) {
+ global $LOCAL_LANG;
+ if (!is_array($LOCAL_LANG)) {
+ $GLOBALS['LANG']->includeLLFile('EXT:lang/locallang_tsfe.php');
+ #include('./'.TYPO3_mainDir.'sysext/lang/locallang_tsfe.php');
+ if (!is_array($LOCAL_LANG)) {
+ $LOCAL_LANG = array();
+ }
+ }
+
in t3lib/class.t3lib_tsfebeuserauth.php, line: 1009
and try again to delete a record in Frontend, now there is a confirm message.
added a list with empty calls to $BE_USER->extGetLL(...) in tslib_content
the most annoying thing is, that there ist no Warning if you delete a record in FE
This also affects Typo3 4.2.8 if using pixe_feedit for frontend editing: No labels in AdminPanel and the pixe_feeedit menu.
- Target version deleted (
0)
Is this still an issue with current versions of TYPO3? If so, can anyone push the patch to Gerrit?
- Status changed from Needs Feedback to Closed
No response in over 1 year => closed.
Btw. I didn't experience such a problem in newer versions.
Also available in: Atom
PDF