# ~folders.htm compose message file ||ifequal||sid||0|| ||else||
#
$$st_fldmng_new1$$ $$st_fldmng_new2$$

||begin_list_folders|| ||if(equal(nfld_id,(More Folders)))|| \ \ ||else|| \ ||if(not(blank(nfld_missing)))||\ \ \ \ \ \ ||else||\ \ \ \ \ ||endif|| ||endif|| ||end_list_folders||
$$st_fldmng_col_fld$$ $$st_fldmng_col_msgs$$ $$st_fldmng_col_unread$$ $$st_fldmng_col_size$$ $$st_fldmng_col_actions$$ $$st_fldmng_col_top$$
||web_encode_js(nfld_short_name)||
||web_encode_js(nfld_short_name)||
     
||web_encode_js(nfld_short_name)||
||nfld_nmsg||||nfld_unread||||iftrue(nfld_size_unknown)|| $$st_fldmng_calc$$ ||else|| ||kbytes_basic(nfld_size_kb)|| ||endif|| ||if(or(istrue(user_folder),equal(nfld_id,(Templates))))|| # $$st_fldmng_actn_name$$ | $$st_fldmng_actn_move$$ | $$st_fldmng_actn_del$$ ||endif|| ||iftrue(pref_devt_mode)||[dump] ||endif|| ||if(or(istrue(showtop_show),istrue(showtop_hide)))|| ||if(istrue(showtop_hide))|| $$st_fldmng_demote$$ ||else|| $$st_fldmng_promote$$ ||endif|| ||endif||
$$st_fldmng_sfld$$

$$st_fldmng_advanced$$

||if(blank(imap_acl_disabled))||
$$st_fldmng_recalc_all_i$$$$st_fldmng_recalc_all_i2$$
$$st_fldmng_refr_all_i$$ $$st_fldmng_refr_all_i2$$
$$st_fldmng_xinfo_i$$ $$st_fldmng_xinfo_i2$$
$$st_fldmng_acl_info$$ ||else|| $$st_fldmng_acl_disabled$$ ||endif||


$$st_fldmng_info1$$

$$st_fldmng_info2a$$ ||ifndef||templates_exists|| ($$st_fldmng_info2b$$) ||endif|| $$st_fldmng_info2c$$

$$st_fldmng_info3a$$ ||ifndef||notes_exists|| ($$st_fldmng_info3b$$) ||endif|| $$st_fldmng_info3c$$




#
# Still all bit yuck but the construct is getting nicer :-) # I think we need to make the "result div" a script block and then it is as nice as it will get given browser constraints ||ifdef||output_folders|| ||define||script_block||execute_it|| ||define||tparam_folder_notop||false|| ||include||_flds.js|| ||endif|| ||endif||