# this is _msgs.js

||ifequal||sid||0||
	auth_error('||auth_fail_reason||');
	||template_exit()||
||endif||

||undef||done_some||\
\
set_cloud_files_js(
[\
||begin_list_cloud_files|| ||if(not(istrue(first)))||,||endif||\
	{\
	'fstore':'||cld_fstore||', 'fpath':'||cld_fpath||', \
\
	'fname':'||web_encode_js(cld_fname)||', 'fdisplay':'||cld_fdisplay||',\
\
	'fdir':||json_validate_bool(cld_fdir)||,\
  ||iftrue(cld_fdir)||\
	'is_dir':true, 'ftype':'folder', fcontains:'',\
  ||else||\
	'is_dir':false, 'ftype':'', fcontains:'20',\
  ||endif||\
	'mime':'||cld_fmime||',\
\
	'fshared':||json_validate_bool(cld_fshared)||, 'fsharable':||json_validate_bool(cld_fsharable)||,\
	'fsize':'||bytes_basic(cld_fsize)||', 'fdate':'||date_basic(cld_fdate)||',\
\
	'htags':'||cld_htags||',\
\
	'ficon_x':||json_validate_int(cld_ficon_x)||, 'ficon_y':||json_validate_int(cld_ficon_y)||,\
	'thumb':'whatever :-)',\
	'thumb_url':'||www_base||shared/img/investigation/pht_sample2.jpg',\
	'editable':||json_validate_bool(cld_feditable)||\
\
	}\
||end_list_cloud_files||\
	],'||fn((cloud_crumbs_html))||','||cloud_cur_depth||','||cloud_limited||');
\

cloud_preview_folder('||cloud_cur_folder||');