Location: PHPKode > projects > AWS WALLY > templates/designer.xml
<?xml version="1.0"?>
<app><client><header><title>AWS XMS</title><load type="text/javascript" src="js/jquery/jquery-1.3.2.min.js">js/jquery/jquery-1.3.2.min.js</load><style rel="stylesheet" type="text/css" href="css/redmond/jquery-ui-1.7.2.custom.css" id="jquitheme">css/redmond/jquery-ui-1.7.2.custom.css</style><load type="text/javascript" src="js/jquery/jquery-ui-1.7.2.custom.min.js">js/jquery/jquery-ui-1.7.2.custom.min.js</load><load type="text/javascript" src="js/jquery/hotkeys/jquery.hotkeys-0.7.9.min.js">js/jquery/hotkeys/jquery.hotkeys-0.7.9.min.js</load><load type="text/javascript" src="importer.php?what=js/tweaks.js">js/tweaks.js</load><load type="text/javascript" src="importer.php?what=js/awsNativeDomXpath.js">js/awsNativeDomXpath.js</load><style rel="stylesheet" type="text/css" href="css/kvaTree.css">css/kvaTree.css</style><load type="text/javascript" src="importer.php?what=js/jquery/kvaTree.js">js/jquery/kvaTree.js</load><load type="text/javascript" src="importer.php?what=js/xmlEditor.js">js/xmlEditor.js</load><load type="text/javascript" src="importer.php?what=js/jsUtils.js">js/jsUtils.js</load><style type="text/css"> 
				body { font-size: 10px; margin: 0px; padding: 0 0 0 0;}
				button {border: none; -moz-border-radius: 6px;  -webkit-border-radius: 6px; font-weight:bold;}
				select input textarea {border: none; -moz-border-radius: 6px;  -webkit-border-radius: 6px;}
				fieldset { padding:0; -moz-border-radius: 6px; -webkit-border-radius: 6px;}
				h1 { font-size: 1.2em; margin: .6em 0; }
				legend {font-weight:bold; -moz-border-radius: 6px; -webkit-border-radius: 6px;}
			</style></header><content><import xpath="//app/templates/offsession/*"><runfirst>if($_SESSION["xmleditoradmin"]==AWS_DESIGNER_ADMIN)
{
$GLOBALS["HTMLPARSER"]-&gt;addScript("importer.php?what=js/xmlEditorRunner.js");
$el-&gt;setAttribute("xpath","//app/templates/onsession/*");
}
else
$GLOBALS["HTMLPARSER"]-&gt;addScript("importer.php?what=js/xmleditorlogin.js");
</runfirst></import></content></client><templates><offsession>
		    	<center>

<script language="javascript">$(document).ready(function(){
$("body").css("background","#E5E5E5");

$("#inForm").css("top",-2+($(document).height() - $("#inForm").height())/2);

$("#inForm").css("left",-2+($(document).width() - $("#inForm").width())/2);

$("#user").css("font-size","1.5em");
$("#pass").css("font-size","1.5em");
})
</script>
	
	<div id="inForm" align="center" class="ui-widget" style="position: absolute;">
		<table id="inputFormsContainer" style="width: 98%; height: 98%; margin: 0 0 0 0; padding: 0 0 0 0;">
					<tbody><tr>
						<td valign="middle" align="middle"><input name="user" id="user" size="24" class="ui-corner-all" style="text-align:center;" type="text" focused="" hkid="user"/></td>
					</tr>
					<tr style="display: none; ">
						<td valign="middle" align="middle"><input name="pass" id="pass" size="24" class="ui-corner-all" style="text-align:center;" type="password" hkid="pass"/></td>
					</tr>
		</tbody></table>


			<div id="allowed" class="ui-widget" style="display: none; ">
				<div class="ui-state-highlight ui-corner-all"> 
					<p><span class="ui-icon ui-icon-info"/>
					<strong>Access Granted</strong></p>
				</div>
			</div>


						
			<div id="denied" class="ui-widget" style="display: none; ">
				<div class="ui-state-error ui-corner-all"> 
					<p><span class="ui-icon ui-icon-alert"/> 
					<strong>Access denied!!</strong></p>
				</div>
			</div>



	</div>
	
	
</center></offsession><onsession><div id="xmlEditorContainer"/></onsession></templates><parsers><item><xpath>//head/link[@rel="stylesheet"][@id="jquitheme"]</xpath><callback>$el-&gt;setAttribute("href","css/".AWS_DESIGNER_THEME."/jquery-ui-1.7.2.custom.css");</callback><!--THEME SELECTOR BASED ON defaults/AWS_DESIGNER_THEME--></item></parsers></app>
Return current item: AWS WALLY