portal-element-remove.tcl

Add an element to a given portal

Location:
/packages/xowiki/www/admin/portal-element-remove.tcl
Author:
Gustaf Neumann <gustaf.neumann@wu-wien.ac.at>
Created:
Oct 23, 2005
CVS ID:
$Id: portal-element-remove.tcl,v 1.4.2.1 2019/08/09 08:29:28 gustafn Exp $

Related Files

[ hide source ] | [ make this the default ]

File Contents

::xowiki::Package initialize -ad_doc {
  Add an element to a given portal

  @author Gustaf Neumann (gustaf.neumann@wu-wien.ac.at)
  @creation-date Oct 23, 2005
  @cvs-id $Id: portal-element-remove.tcl,v 1.4.2.1 2019/08/09 08:29:28 gustafn Exp $

} -parameter {
  {-element_id}
  {-portal_id}
  {-referrer .}
}

# permissions?
portal::remove_element -element_id $element_id
# redirect and abort
ad_returnredirect $referrer
ad_script_abort


# Local variables:
#    mode: tcl
#    tcl-indent-level: 2
#    indent-tabs-mode: nil
# End: