Index: openacs-4/contrib/packages/bcms-ui-base/tcl/bcms-ui-base-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/bcms-ui-base/tcl/bcms-ui-base-procs.tcl,v diff -u -r1.5 -r1.6 --- openacs-4/contrib/packages/bcms-ui-base/tcl/bcms-ui-base-procs.tcl 12 Jan 2004 13:36:33 -0000 1.5 +++ openacs-4/contrib/packages/bcms-ui-base/tcl/bcms-ui-base-procs.tcl 15 Apr 2004 16:19:58 -0000 1.6 @@ -25,7 +25,7 @@ @param redirect_to_folder if set to 1 then it will rebuild the return_url pointing to the new folder being moved to - @return a link, normally used for the list builder + @returns a link, normally used for the list builder } { set item_id $items_to_move set folder_id $destination_folder @@ -55,7 +55,7 @@ @param confirm if passed it will generate a link that will delete the items without confirmation - @return a link to delete the items, but if a folder that will be deleted is not empty + @returns a link to delete the items, but if a folder that will be deleted is not empty it will return a null string } { set item_id $items_to_delete @@ -80,7 +80,7 @@ @param template_id id of which template to use @param return_url after applying the template, redirect to this url - @return a link to apply the template + @returns a link to apply the template } { set url [export_vars -url -base "[ad_conn package_url]manage/apply-template" {item_id template_id return_url}] @@ -97,7 +97,7 @@ @param templates_to_delete a list of template_id you wish to delet @param return_url after deleting, move to this url - @return a link to delete the templates + @returns a link to delete the templates } { set confirm_p 1 set template_id $templates_to_delete @@ -197,24 +197,6 @@ } append context_action_link "" } - sb-event-add { - append context_action_link " id=\"sb-event-add\" href=\"${package_url}manage/sb-event-add?$export_vars\">" - if {[info exists context_action_label]} { - append context_action_link $context_action_label - } else { - append context_action_link "Add Event & Gigs" - } - append context_action_link "" - } - sb-bio-add { - append context_action_link " id=\"sb-bio-add\" href=\"${package_url}manage/sb-bio-add?$export_vars\">" - if {[info exists context_action_label]} { - append context_action_link $context_action_label - } else { - append context_action_link "Add Biography" - } - append context_action_link "" - } template-add { append context_action_link " id=\"template-add\" href=\"${package_url}manage/template-add?$export_vars\">" if {[info exists context_action_label]} { @@ -261,7 +243,7 @@ append context_action_link "" } relate-page { - append context_action_link " id=\"relate-page\" href=\"${package_url}manage/relate-item?${export_vars}&[export_vars {{content_type_search content_revision} {relation_type pages}}]\">" + append context_action_link " id=\"relate-page\" href=\"${package_url}manage/relate-item?${export_vars}&[export_vars {{content_type_search content_revision} {relation_tag pages}}]\">" if {[info exists context_action_label]} { append context_action_link $context_action_label } else { @@ -270,7 +252,7 @@ append context_action_link "" } relate-image { - append context_action_link " id=\"relate-image\" href=\"${package_url}manage/relate-item?${export_vars}&[export_vars {{content_type_search image} {relation_type images}}]\">" + append context_action_link " id=\"relate-image\" href=\"${package_url}manage/relate-item?${export_vars}&[export_vars {{content_type_search image} {relation_tag images}}]\">" if {[info exists context_action_label]} { append context_action_link $context_action_label } else { @@ -287,51 +269,6 @@ } append context_action_link "" } - sb-writing-add { - append context_action_link " id=\"sb-writing-add\" href=\"${package_url}manage/sb-writing-add?$export_vars\">" - if {[info exists context_action_label]} { - append context_action_link $context_action_label - } else { - append context_action_link "Add Writing" - } - append context_action_link "" - } - sb-download-add { - append context_action_link " id=\"sb-download-add\" href=\"${package_url}manage/sb-download-add?$export_vars\">" - if {[info exists context_action_label]} { - append context_action_link $context_action_label - } else { - append context_action_link "Add Download" - } - append context_action_link "" - } - sb-band-set { - append context_action_link " id=\"sb-band-set\" href=\"${package_url}manage/sb-band-set?$export_vars\">" - if {[info exists context_action_label]} { - append context_action_link $context_action_label - } else { - append context_action_link "Select Band" - } - append context_action_link "" - } - sb-featured-set { - append context_action_link " id=\"sb-featured-set\" href=\"${package_url}manage/sb-featured-set?$export_vars&[export_vars {{action set}}]\">" - if {[info exists context_action_label]} { - append context_action_link $context_action_label - } else { - append context_action_link "Set Featured" - } - append context_action_link "" - } - sb-featured-unset { - append context_action_link " id=\"sb-featured-set\" href=\"${package_url}manage/sb-featured-set?$export_vars&[export_vars {{action unset}}]\">" - if {[info exists context_action_label]} { - append context_action_link $context_action_label - } else { - append context_action_link "Unset Featured" - } - append context_action_link "" - } default { error "context_action = $context_action is not a valid value" } }