room-delete.tcl
Display delete confirmation.
- Location:
- /packages/chat/www/room-delete.tcl
- Author:
- David Dao <ddao@arsdigita.com>
- Created:
- November 15, 2000
- CVS ID:
$Id: room-delete.tcl,v 1.8.2.4 2022/07/15 13:35:12 antoniop Exp $
Related Files
[ hide source ] | [ make this the default ]
File Contents
#/chat/www/room-delete.tcl ad_page_contract { Display delete confirmation. @author David Dao (ddao@arsdigita.com) @creation-date November 15, 2000 @cvs-id $Id: room-delete.tcl,v 1.8.2.4 2022/07/15 13:35:12 antoniop Exp $ } { room_id:object_type(chat_room) } -properties { room_id:onevalue pretty_name:onevalue context_bar:onevalue } permission::require_permission -object_id $room_id -privilege chat_room_delete set context_bar [list [list "room?room_id=$room_id" "[_ chat.Room_Information]"] "[_ chat.Delete_room]"] set r [::xo::db::Class get_instance_from_db -id $room_id] set pretty_name [$r set pretty_name] ad_return_template # Local variables: # mode: tcl # tcl-indent-level: 4 # indent-tabs-mode: nil # End: