[# !! IMPROVE ME: move this html code to a ckeditor template] [if winix_function_param_is "ckeditor_browse"]
[if child_dirs]
    [for child_dirs]
  • [if child_dirs.is_parent_for_current_dir] [# make sure the name of the textarea in fun_ckeditor.html is called: itemcontent] [# is it needed?] ../ [else] [child_dirs.url]/ [end]
  • [end]
[end]
[if items]
    [for items]
  • [items.subject]
  • [end]
[else]

{ls_no_picture}

[end]
[else]

{ls_header}

[# !! improve me: we need a 'l' flag to a file too, now it's working for dirs only] [if not item_is] [if winix_function_param_is "l"] [if one child_dirs items] [for child_dirs] [end] [for items] [end]
{ls_type} {ls_permissions} {ls_owner} {ls_group} {ls_name}
d [child_dirs_privileges] [child_dirs_user] [child_dirs_group] [if child_dirs.is_parent_for_current_dir] ../ [else] [child_dirs.url]/ [end]
[if items_type_is_symlink]l[else][if items_has_static_file]s[else]-[end][end] [items_privileges] [items_user] [items_group] [items.url][if items_type_is_symlink] -> [items_link_to][end]
[end] [else] [if child_dirs] [end] [# !! IMPROVE ME those two lists (above and below) can be combined together] [if items] [end] [end] [else] [#!! improve me: may it would be better to not use a list here?] [end] [end]