 					</tr>
 					<tr>
 						<td><b>Name:</b></td>
-						<td><input type="text" name="name" value="#getFileFromPath(path)#" size="50" style="width:350px;" class="formField" disabled></td>
+						<td><input type="text" name="name" value="#getFileFromPath(path)#" size="50" style="width:270px;" class="formField" disabled>
+							<cfif allowedToEditPages>
+								<a href="index.cfm?event=ehSite.doLoadAccountPage&account=#account#&page=#pageName#.xml"><img src="images/page_edit.png" align="absmiddle" border="0"> Edit Page</a>
+							</cfif>
+						</td>
 					</tr>
 					<tr>
 						<td><b>Type:</b></td>

			arrayAppend(aPagesSorted, aPages[i].href);
		}
		arraySort(aPagesSorted,"textnocase","asc");
	}					
</cfscript>

<cfquery name="qryAccounts" dbtype="query">

<cfset aPages = request.requestState.aPages>
<cfset hpRoot = request.requestState.hpRoot>
<cfset path = request.requestState.path>
<cfset oUser = request.requestState.oUser>

<cfscript>
	coldbricksRoot = "/coldBricks/";
