' + sebIndent;
if(this.config.useIcons){
if(!node.icon) node.icon = (this.root.id == node.pid) ? this.icon.root : ((node._hc) ? this.icon.folder : this.icon.node);
if(!node.iconOpen) node.iconOpen = (node._hc) ? this.icon.folderOpen : this.icon.node;
if(this.root.id != node.pid){
str += '
 ?%20node.iconOpen%20:%20node.icon)%20+%20')
';
}
}
if(this.root.id != node.pid){
if(node.url){
str += '
';
str += this.addwp_dtree_Node(node);
str += ''*/;
str += '';
}
return str;
};
// Checks ifa node has any children and ifit is the last sibling
wp_dTree.prototype.setCS = function(node){
var lastId;
for (var n=0; n