[if winix_function_param_is "ckeditor_browse"]
[if dir_childs_tab "with_parent"]
[for dir_childs_tab "with_parent"]
-
[if dir_childs_is_parent]
[# make sure the name of the textarea in fun_ckeditor.html is called: itemcontent]
[# is it needed?]
../
[else]
[dir_childs_tab_url]/
[end]
[end]
[end]
[if-any item_tab]
{ls_pictures_in_dir} [dir]
[for item_tab]
[end]
[else]
{ls_no_picture}
[end]
[else]
{ls_header}
[if-no item_is]
[if winix_function_param_is "l"]
[# loading dir childs table with a parent directory]
[# now the parameter can be passed directly to if-one]
[dir_childs_tab "with_parent"]
[if-one dir_childs_tab item_tab]
[for dir_childs_tab]
d |
[dir_childs_tab_privileges] |
[dir_childs_tab_user] |
[dir_childs_tab_group] |
[if-one dir_childs_is_parent]
../
[else]
[dir_childs_tab_url]/
[end]
|
[end]
[for item_tab]
[if item_tab_type_is_symlink]l[else][if item_tab_has_static_file]s[else]-[end][end] |
[item_tab_privileges] |
[item_tab_user] |
[item_tab_group] |
[item_tab_url][if item_tab_type_is_symlink] -> [item_tab_link_to][end] |
[end]
[end]
[else]
[# loading dir childs table with a parent directory]
[dir_childs_tab "with_parent"]
[if-one dir_childs_tab]
[end]
[if-one item_tab]
[end]
[end]
[else]
[end]
[end]