# This displays a single line in a SurgePlus web file sharing folder view.
# Next 4 lines choose which image name to display based on the file type. ||define((icon_name),(FileIcon.gif))||\ ||define_if(file_is_image,(icon_name),(ImageIcon.gif))||\ ||define_if(file_is_folder,(icon_name),(FolderIcon.gif))||\ ||define_if(file_is_up_folder,(icon_name),(FolderUpIcon.gif))||\ ||define_if(file_is_url,(icon_name),(UrlIcon.gif))||\

||ifdef||file_contents_url||||else|| ||endif|| ||ifdef||file_is_displayable_image|| ||else(file_is_displayable_image)|| ||endif(file_is_displayable_image)|| | ||ifdef||file_contents_url||||else|| ||endif|| ||web_encode(file_name)||

||ifdef||file_is_folder||-||else||||bytes(file_size)||||endif|| ||ifdef||is_authenticated|| ||define||is_any_comment_fields||true|| ||else|| ||make_not_blank(web_encode(file_comment))|| ||endif|| ||ifdef||file_is_folder|| # - - ||else|| # ||datetime_format(file_modified_time,sp_datetime_format)|| ||datetime_format(file_shared_time,sp_datetime_format)|| ||endif(file_is_folder)|| ||ifdef||is_authenticated|| $$Delete$$
$$Rename$$ ||endif||