Attachment support. Provide widgets and data model to support attachments on arbitrary objects. Used by forums.
tcl/attachments-procs.tcl Attachments
attachments::add_attachment_url attachments::attach perform the attachment attachments::context_bar Create a multirow with cols (url title) for the file-storage bar starting at folder_id attachments::detach_url attachments::get_all_attachments returns a list of attachment ids and names: {item_id name approved_p url} attachments::get_attachments returns a list of attachment ids and names which are approved: {item_id name url detach_url} attachments::get_package_key attachments::get_root_folder attachments::get_url attachments::goto_attachment_url attachments::graphic_url attachments::map_root_folder attachments::root_folder_map_p Returns 1 if the package_id has an fs_folder mapped to it attachments::root_folder_p Returns 1 if the package_id has an fs_folder mapped to it attachments::toggle_approved toggle approved_p for attachment attachments::unattach undo the attachment attachments::unmap_root_folder
www/ | |
admin/ | |
new-root-folder-map-2.tcl | Creates a new fs root folder and maps it to the passed in packge_id |
new-root-folder-map.adp | |
new-root-folder-map.tcl | Tries to find an appropriate fs root folder for the passed in package_id. |
redirect.tcl | |
attach-2.tcl | Attaches something to an object |
attach.adp | |
attach.tcl | Attach something to an object |
detach.adp | |
detach.tcl | detaches an attached item from an object |
download/ | |
index.vuh | Virtual URL handler for file downloads |
file-add-2.tcl | script to recieve the new file and insert it into the database |
file-add.adp | |
file-add.tcl | page to add a new file to the system |
go-to-attachment.tcl | Go to an attachment |
index.adp | |
simple-add-2.tcl | Add a nonversioned item |
simple-add.adp | |
simple-add.tcl | page to add a new nonversioned object to the system |
toggle-approved.tcl |
Calle Aprestadora 19, 12o-2a
08902 Hospitalet de Llobregat (Barcelona)
Spain
Tel Europe: +34 609 953 751
Tel US: +1 415 200 2465
Mail: info@project-open.com