root/trunk/website/forums/admin/forums.cfm

Revision 5, 1.0 kB (checked in by DanWilson, 17 years ago)

Initial Commit Of ModelGlue? Website (upgrade to blogcfc 511)

Line 
1<cfsetting enablecfoutputonly=true>
2<!---
3        Name         : forums.cfm
4        Author       : Raymond Camden
5        Created      : June 01, 2004
6        Last Updated : November 3, 2006
7        History      : Removed mappings (rkc 8/27/05)
8                                   changed cols (rkc 9/9/05)
9                                   show attachments value (rkc 11/3/06)
10        Purpose          :
11--->
12
13<cfmodule template="../tags/layout.cfm" templatename="admin" title="Forum Editor">
14
15<!--- handle deletions --->
16<cfif isDefined("form.mark") and len(form.mark)>
17        <cfloop index="id" list="#form.mark#">
18                <cfset application.galleon.forum.deleteForum(id)>
19        </cfloop>
20        <cfoutput>
21        <p>
22        <b>Forum(s) deleted.</b>
23        </p>
24        </cfoutput>
25</cfif>
26
27<!--- get forums --->
28<cfset forums = application.galleon.forum.getForums(false)>
29
30<cfmodule template="../tags/datatable.cfm"
31                  data="#forums#" list="name,description,conference,messagecount,readonly,attachments,active"
32                  editlink="forums_edit.cfm" linkcol="name" label="Forum" />
33
34
35</cfmodule>
36
37<cfsetting enablecfoutputonly=false>
Note: See TracBrowser for help on using the browser.