diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/part.folderdialog.php | 6 | ||||
-rw-r--r-- | templates/part.folderlist.php | 3 |
2 files changed, 0 insertions, 9 deletions
diff --git a/templates/part.folderdialog.php b/templates/part.folderdialog.php index 36a0d9633..e441e90a8 100644 --- a/templates/part.folderdialog.php +++ b/templates/part.folderdialog.php @@ -5,13 +5,7 @@ <td>Add new folder</td> <td> <div class="add_parentfolder"> - <button id="dropdownBtn" onclick="News.DropDownMenu.dropdown(this)"> - <?php echo $l->t('Choose folder'); ?> - </button> <input id="inputfolderid" type="hidden" name="folderid" value="0" /> - <ul class="menu" id="dropdownmenu"> - <?php echo $this->inc("part.folderlist"); ?> - </ul> </div> </td> </tr> diff --git a/templates/part.folderlist.php b/templates/part.folderlist.php index 09b5f8e64..f2da64737 100644 --- a/templates/part.folderlist.php +++ b/templates/part.folderlist.php @@ -3,11 +3,8 @@ function print_folder_list($folderlist, $depth) { foreach($folderlist as $folder) { echo '<li style="margin-left:' . 10*$depth . 'px;" class="menuItem" onclick="News.DropDownMenu.selectItem(this, ' . $folder->getId() . ')">' . $folder->getName() . '</li>'; - $children = $folder->getChildren(); - print_folder_list($children, $depth+1); } } - print_folder_list($_['folderforest'], 0); ?>
\ No newline at end of file |