root/trunk/website/soundings/admin/questiontypes.cfm

Revision 5, 1.1 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         : questiontypes.cfm
4        Author       : Raymond Camden
5        Created      : September 6, 2004
6        Last Updated : September 6, 2004
7        History      :
8        Purpose          :
9--->
10<cfimport taglib="../tags/" prefix="tags">
11
12<tags:layout templatename="admin" title="Question Type Editor">
13
14        <!--- handle deletions --->
15        <cfif isDefined("form.mark") and len(form.mark)>
16                <cfloop index="id" list="#form.mark#">
17                        <cfset application.questionType.deleteQuestionType(id)>
18                </cfloop>
19                <cfoutput>
20                <p>
21                <b>QuestionType(s) deleted.</b>
22                </p>
23                </cfoutput>
24        </cfif>
25       
26        <!--- get qts --->
27        <cfset qts = application.questionType.getQuestionTypes()>
28
29       
30        <tags:datatable data="#qts#" list="name,handlerroot" editlink="questiontypes_edit.cfm" linkcol="name" label="QuestionType"
31                                        deleteMsg="Warning - this will delete the questionType including all related questions.">
32                <tags:datacol colname="name" label="Name" width="400" />       
33                <tags:datacol colname="handlerroot" label="Handler Root" width="200" />
34        </tags:datatable>
35
36</tags:layout>
37
38<cfsetting enablecfoutputonly=false>
Note: See TracBrowser for help on using the browser.