<li id="<?php echo $this->entry->id; ?>|<?php echo $this->entry->label; ?>" rel="<?= $this->entry->nodeType ?>" <?= $this->entry->nodeType=='locale'?'lang="'.$this->entry->urlkey.'" ':''; ?> class="<?= $this->depth<2?'open':'' ?>">

		<a href="#" class="<?= $this->entry->status == 'deleted' ? 'strike':'' ?>">		
		 <ins class="jstree-icon">&#160;</ins>
		<?php 
			
			echo $this->entry->title;
			if(Zend_Filter::filterStatic($this->entry->title,'Slug',array(),array('Ofthedead_Filter')) != $this->entry->label) 
				echo ' <small>(' . $this->entry->label . ')</small>'; 
			
		?></a>
		 <?php if ( $this->entry->status == 'deleted' ) { ?><a class="restoreButton btn btn-mini"  title="<?= $this->translate('#__label::restore_node__#') ?>" href="<?= $this->url(array('action'=>'undelete','id'=>$this->entry->id)) ?>"><i class="icon-undo"></i></a><?php } ?>
<?php if ( count( $this->entry->getChildren(false) ) > 0 ) { ?>
    <ul><?php
          $cpt = ( $this->counter % 2 ) + 1;
          foreach ( $this->entry->getChildren(false) as $cat ) {
              echo $this->partial(
                  'admin-structure/_partials/trashList.phtml',
                  array(
                      'entry' => $cat,
                      'counter' => $cpt,
                      'depth' => $this->depth + 1
                  )
              );

              $cpt++;
          }
    ?></ul>
<?php } ?>
</li>

