Project

General

Profile

Bug #23989 » 16308_v2.diff

Administrator Admin, 2010-11-26 10:34

View differences:

typo3/sysext/cms/tslib/class.tslib_content.php (Arbeitskopie)
* @return string The processed input value
*/
public function stdWrap_editIcons($content = '', $conf = array()) {
if ($GLOBALS['TSFE']->beUserLogin) {
if ($GLOBALS['TSFE']->beUserLogin && $conf['editIcons']) {
$conf['editIcons.'] = $conf['editIcons.'] ? $conf['editIcons.'] : array();
$content = $this->editIcons($content, $conf['editIcons'], $conf['editIcons.']);
}
return $content;
......
* @param string Additional URL parameters for the link pointing to alt_doc.php
* @return string The input content string, possibly with edit icons added (not necessarily in the end but just after the last string of normal content.
*/
function editIcons($content, $params, $conf = array(), $currentRecord = '', $dataArr = array(), $addUrlParamStr = '') {
function editIcons($content, $params, array $conf = array(), $currentRecord = '', $dataArr = array(), $addUrlParamStr = '') {
if ($GLOBALS['TSFE']->beUserLogin && ($GLOBALS['BE_USER']->frontendEdit instanceof t3lib_frontendedit)) {
if (!$currentRecord) {
$currentRecord = $this->currentRecord;
typo3/sysext/cms/tslib/content/class.tslib_content_imagetext.php (Arbeitskopie)
+ $cap;
// Edit icons:
$conf['editIcons.'] = $conf['editIcons.'] ? $conf['editIcons.'] : array();
$editIconsHTML = $conf['editIcons'] && $GLOBALS['TSFE']->beUserLogin
? $this->cObj->editIcons('', $conf['editIcons'], $conf['editIcons.'])
: '';
typo3/sysext/css_styled_content/pi1/class.tx_cssstyledcontent_pi1.php (Arbeitskopie)
}
// Edit icons:
$conf['editIcons.'] = $conf['editIcons.'] ? $conf['editIcons.'] : array();
$editIconsHTML = $conf['editIcons']&&$GLOBALS['TSFE']->beUserLogin ? $this->cObj->editIcons('',$conf['editIcons'],$conf['editIcons.']) : '';
// If noRows, we need multiple imagecolumn wraps
(2-2/2)