Project

General

Profile

Bug #24986 » 17520_v1.diff

Administrator Admin, 2011-02-22 01:11

View differences:

t3lib/js/extjs/components/pagetree/javascript/actions.js (Arbeitskopie)
},
this
);
},
/**
* Shows an information dialog and stops the bubbling of the event
*
* @param {Event} event
* @param {String} message
* @return {void}
*/
showInformationDialog: function(event, message) {
event.stopPropagation();
TYPO3.Dialog.InformationDialog({
msg: message
});
}
};
t3lib/js/extjs/components/pagetree/javascript/nodeui.js (Arbeitskopie)
*/
getDDHandles: function() {
var ddHandles = [this.iconNode, this.textNode, this.elNode];
var handlesIndex = ddHandles.length;
var textNode = Ext.get(this.textNode);
for (var i = 0; i < textNode.dom.childNodes.length; ++i) {
if (textNode.dom.childNodes[i].nodeName === 'SPAN') {
ddHandles[3] = textNode.dom.childNodes[i];
ddHandles[handlesIndex++] = textNode.dom.childNodes[i];
if (textNode.dom.childNodes[i].childNodes) {
ddHandles[handlesIndex++] = textNode.dom.childNodes[i].childNodes[0];
}
}
}
t3lib/tree/pagetree/class.t3lib_tree_pagetree_commands.php (Arbeitskopie)
$suffix = ($domain !== '' ? ' [' . $domain . ']' : '');
}
$prefix = ($addIdAsPrefix ? '[' . $record['uid'] . '] ' : '');
$prefix = '';
$lockInfo = t3lib_BEfunc::isRecordLocked('pages', $record['uid']);
if (is_array($lockInfo)) {
$onClickFunction = htmlspecialchars(
'TYPO3.Components.PageTree.Actions.showInformationDialog(event, ' .
$GLOBALS['LANG']->JScharCode($lockInfo['msg']) . ')'
);
$prefix .=
'<span class="typo3-pagetree-status" href="#" onclick="' . $onClickFunction . '">' .
t3lib_iconWorks::getSpriteIcon(
'status-warning-in-use',
array('title' => htmlspecialchars($lockInfo['msg']))
) .
'</span>';
}
$prefix .= htmlspecialchars($addIdAsPrefix ? '[' . $record['uid'] . '] ' : '');
$subNode->setEditableText($text);
$subNode->setText(
htmlspecialchars($visibleText),
$field,
htmlspecialchars($prefix),
$prefix,
htmlspecialchars($suffix)
);
typo3/sysext/t3skin/stylesheets/structure/element_pagetree.css (Arbeitskopie)
padding-top: 15px;
}
span.typo3-pagetree-status, span.typo3-pagetree-status span {
padding: 0;
margin: 0;
}
/**
*
* section drag and drop
(1-1/2)