Feature #17150 » Trees.wrap.diff
typo3/class.webpagetree.php.old Fri Mar 30 12:55:19 2007 | ||
---|---|---|
if($v['isLast']) { $classAttr .= ($classAttr) ? ' last' : 'last'; }
|
||
$itemHTML .='
|
||
<li id="'.$idAttr.'"'.($classAttr ? ' class="'.$classAttr.'"' : '').'><div>'.
|
||
<li id="'.$idAttr.'"'.($classAttr ? ' class="'.$classAttr.'"' : '').'>'.
|
||
$v['HTML'].
|
||
$this->wrapTitle($this->getTitleStr($v['row'],$titleLen),$v['row'],$v['bank'])."\n";
|
||
$itemHTML .= '</div>';
|
||
if(!$v['hasSub']) { $itemHTML .= '</li>'; }
|
||
// we have to remember if this is the last one
|
||
-- typo3/class.filelistfoldertree.php Fri Mar 30 12:56:27 2007
|
||
++ typo3/class.filelistfoldertree.php.old Fri Mar 30 12:55:10 2007
|
||
... | ... | |
if($v['isLast']) { $classAttr = ($classAttr) ? ' last' : 'last'; }
|
||
$itemHTML .='
|
||
<li id="'.$idAttr.'"'.($classAttr ? ' class="'.$classAttr.'"' : '').'><div>'.
|
||
<li id="'.$idAttr.'"'.($classAttr ? ' class="'.$classAttr.'"' : '').'>'.
|
||
$v['HTML'].
|
||
$this->wrapTitle($this->getTitleStr($v['row'],$titleLen),$v['row'],$v['bank']);
|
||
$itemHTML .= '</div>';
|
||
if(!$v['hasSub']) { $itemHTML .= "</li>\n"; }
|
||
// we have to remember if this is the last one
|
||
-- typo3/tree.js Fri Mar 30 12:55:39 2007
|
||
++ typo3/tree.js.old Fri Mar 30 12:55:33 2007
|
||
... | ... | |
*
|
||
* This copyright notice MUST APPEAR in all copies of this script
|
||
*
|
||
* TYPO3 SVN ID: $Id: tree.js 2200 2007-03-26 16:37:15Z ingmars $
|
||
* TYPO3 SVN ID: $Id: tree.js 2227 2007-03-29 22:36:10Z mundaun $
|
||
*
|
||
***************************************************************/
|
||
// Call this function, refresh_nav(), from another script in the backend if you want
|
||
// to refresh the navigation frame (eg. after having changed a page title or moved pages etc.)
|
||
// See t3lib_BEfunc::getSetUpdateSignal()
|
||
// please use the function in the "Tree" object for future implementations
|
||
function refresh_nav() { window.setTimeout('Tree.refresh();',0); }
|
||
// Deprecated! Another JS function, for highlighting rows in the page tree, kept alive for backwards
|
||
// compatibility. Please use the function in the "Tree" object for future implementations.
|
||
function hilight_row(frameSetModule, highLightID) { Tree.highlightActiveItem(frameSetModule, highlightID); }
|
||
var Tree = {
|
||
thisScript: null,
|
||
... | ... | |
// immediately collapse the subtree and change the plus to a minus when collapsing
|
||
// without waiting for the response
|
||
if (!isExpand) {
|
||
var ul = obj.parentNode.parentNode.getElementsByTagName('ul')[0];
|
||
obj.parentNode.parentNode.removeChild(ul); // no remove() directly because of IE 5.5
|
||
var pm = Selector.findChildElements(obj.parentNode.parentNode, ['.pm'])[0]; // Getting pm object by CSS selector (because document.getElementsByClassName() doesn't seem to work on Konqueror)
|
||
var ul = obj.parentNode.getElementsByTagName('ul')[0];
|
||
obj.parentNode.removeChild(ul); // no remove() directly because of IE 5.5
|
||
var pm = Selector.findChildElements(obj.parentNode, ['.pm'])[0]; // Getting pm object by CSS selector (because document.getElementsByClassName() doesn't seem to work on Konqueror)
|
||
if (pm) {
|
||
pm.onclick = null;
|
||
Element.cleanWhitespace(pm);
|