Example #1
0
	}
}
/*]]>*/
</script>

<table width="100%">
	<tr valign="top">
		<td style="width:300px;">
      <fieldset id="treeview">
      <legend><?php 
echo JText::_('FOLDERS');
?>
</legend>
      <div id="media-tree_tree"></div>
      <?php 
if (jaIsJoomla3x()) {
    ?>
      <?php 
    echo $this->loadTemplate('folders30');
    ?>
      <?php 
} else {
    ?>
      
      <?php 
    echo $this->loadTemplate('folders');
    ?>
      <?php 
}
?>
      </fieldset>
Example #2
0
 function getFolderLevel($folder)
 {
     $this->folders_id = null;
     $txt = null;
     if (isset($folder['children']) && count($folder['children'])) {
         $tmp = $this->folders;
         $this->folders = $folder;
         if (jaIsJoomla3x()) {
             $txt = $this->loadTemplate('folders30');
         } else {
             $txt = $this->loadTemplate('folders');
         }
         $this->folders = $tmp;
     }
     return $txt;
 }