#ProjectManagerTMPL0005
#create
#namespace:ProjectManager_resourcePopup
#url:default-pm-resource-popup
#title:Default Resource Popup
#menuTitle:Default Resource Popup

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html><head>
<title><tmpl_var title></title>
<script type="text/javascript">
function searchPopup_itemSelected(kind, id) {
	window.close();
	opener.<tmpl_var callback>(kind, id);
}
</script>
<style type="text/css">
html, body {
	font-family: arial;
	font-size: 9pt;
	color: black;
	background-color: white;
}
.searchBtn {
	background-color:silver;
	color:white;
	border:solid gray 1px;
	text-decoration:none;
	font-weight:bold;	
	text-align:center;
	cursor:pointer;
	font-size:9pt;
}
.inputBox {
	border:solid gray 1px;
	font-size:9pt;
}
.grayArea {
	background-color:#F2F2F2;
	border:solid #E8E8E8 1px;
	padding:3px;
	-moz-box-sizing:border-box;
}
</style>
<link rel="stylesheet" href="<tmpl_var assetExtras>/taskEdit.css" />
<style type="text/css">
#taskEdit_resourceList_div {
	height: auto;
}
</style>
</head><body>
<form method="GET" action="<tmpl_var selfUrl>">
<input type="hidden" name="func" value="<tmpl_var func>" />
<input type="hidden" name="doSearch" value="1" />
<input type="hidden" name="callback" value="<tmpl_var callback>" />
<input type="hidden" name="exclude" value="<tmpl_var exclude>" />
<div class="grayArea">
<b><tmpl_var searchText></b><br /><input type="text" name="search" value="<tmpl_var previousSearch>" size="20" class="inputBox" />
<input type="submit" value="Search" class="searchBtn" /></form>
</div>

<tmpl_if doingSearch><tmpl_if foundResults><p><tmpl_var foundMessage></p><tmpl_var resourceDiv>
<tmpl_else><p><tmpl_var notFoundMessage></p></tmpl_if></tmpl_if>
</body></html>
