Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<cfset mgranted = 0>
<CFIF AdminFlag eq 1>
<cfset mGranted = 1>
<CFELSE>
<cfset nlevel = ListGetAt(cgi.script_Name,listlen(cgi.script_name,"/")-1,"/")>
<CFIF listFind(AccessLevels,Right(nLevel,len(nLevel)-1)>
<cfset mgranted = 1>
</CFIF>
</CFIF>
<cfif not isDefined("Application.ArrControls")>
<cfset Application.ArrControls = ArrayNew(2)>
<cfset Application.ArrControls[1][1] = "<A...>Link for Access Level 1</A>">
<cfset Application.ArrControls[1][2] = "<A...>Link for Access Level 1</A>">
<cfset Application.ArrControls[1][3] = "<A...>Link for Access Level 1</A>">
<cfset Application.ArrControls[2][1] = "<A...>Link for Access Level 2</A>">
<cfset Application.ArrControls[3][1] = "<A...>Link for Access Level 3</A>">
<cfset Application.ArrControls[3][2] = "<A...>Link for Access Level 3</A>">
<cfset Application.ArrControls[4][1] = "<A...>Link for Access Level 4</A>">
<cfset Application.ArrControls[4][2] = "<A...>Link for Access Level 4</A>">
</cfif>
<cfset AppControls = Application.ArrControls>
<cfoutput><cfloop from="1" to="#ArrayLen(AppControls)#" index="a1">
<cfif (ListFind(AccessLevels,a1) or Admin_Identifier_Field eq 1) and
ArrayLen(AppControls[a1])>
· <cfloop from="1" to="#ArrayLen(AppControls[a1])#" index="a2">
#AppControls[a1][a2]# ·
</cfloop><br>
</cfif>
</cfloop></cfoutput>