-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathfoot.cfm
More file actions
33 lines (31 loc) · 1 KB
/
foot.cfm
File metadata and controls
33 lines (31 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<cfoutput>
<cfset Pagename = ListLast(cgi.SCRIPT_NAME,"/")>
<cfset Extension = ListLast(Pagename,".")>
<cfset Pagename = Left(Pagename,Len(Pagename)-Len(Extension)-1)>
<cfset jsSource = Application.Source.JavaScript()>
<cfset HTMLSource = Application.Source.CFM()>
<cfif jsSource NEQ "">
<hr>
<h3>JavaScript:</h3>
<div id="jsSource">#jsSource#</div>
</cfif>
<div id="PRINT">
</div>
<hr>
<h3>HTML:</h3>
<label for="relevant" class="checkbox">Show only relevant HTML
<input type="checkbox" id="relevant" checked>
</label>
<div id="HTMLSource">#HTMLSource#</div>
</cfoutput>
</div> <!-- container-fluid -->
<cfoutput>
<cfparam name="request.TableSorter" default="true">
<cfif request.TableSorter>
<script src="/Library/js/tableSorter.js"></script>
<script src="/Library/jQuery/TableSorter/jquery.tablesorter.js"></script>
</cfif>
<script src="/Library/js/foot.js"></script>
<script src="/Library/js/PrettyPrint/PrettyPrint.js"></script>
<script src="/Library/js/PrettyPrint/Print.js"></script>
</cfoutput>