|
Revision 5, 0.8 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 : ranks.cfm |
|---|
| 4 | Author : Raymond Camden |
|---|
| 5 | Created : August 28, 2005 |
|---|
| 6 | Last Updated : |
|---|
| 7 | History : |
|---|
| 8 | Purpose : |
|---|
| 9 | ---> |
|---|
| 10 | |
|---|
| 11 | <cfmodule template="../tags/layout.cfm" templatename="admin" title="Rank Editor"> |
|---|
| 12 | |
|---|
| 13 | <!--- handle deletions ---> |
|---|
| 14 | <cfif isDefined("form.mark") and len(form.mark)> |
|---|
| 15 | <cfloop index="id" list="#form.mark#"> |
|---|
| 16 | <cfset application.galleon.rank.deleteRank(id)> |
|---|
| 17 | </cfloop> |
|---|
| 18 | <cfoutput> |
|---|
| 19 | <p> |
|---|
| 20 | <b>Rank(s) deleted.</b> |
|---|
| 21 | </p> |
|---|
| 22 | </cfoutput> |
|---|
| 23 | </cfif> |
|---|
| 24 | |
|---|
| 25 | <!--- get conferences ---> |
|---|
| 26 | <cfset ranks = application.galleon.rank.getRanks()> |
|---|
| 27 | |
|---|
| 28 | <cfmodule template="../tags/datatable.cfm" |
|---|
| 29 | data="#ranks#" list="name,minposts" |
|---|
| 30 | editlink="ranks_edit.cfm" linkcol="name" label="Rank" /> |
|---|
| 31 | |
|---|
| 32 | |
|---|
| 33 | </cfmodule> |
|---|
| 34 | |
|---|
| 35 | <cfsetting enablecfoutputonly=false> |
|---|