예제 #1
0
$rAuto = $s->query($stateQuery);
print_r($rAuto['result']['rows']);
foreach ($rAuto['result']['rows'] as $result) {
    print "<option value='" . $result['s'] . "'>" . $result['label'] . "</option>";
}
?>
      </select></p>
      <p>State of Form: <select class="chooseEntity" name="stateFormSelect" onchange="stateFChanged();"><option value="Please wait..." /></select></p>
   </form>
</div>

<div class="control" id="sexInformation">
   <p class="controlTitle">Gender/Sexuality Information at Start of Text</p>
   <form name="stateInformationForm">
      	<p>Gender: <select class="chooseEntity" name="genderSelect" onchange="genderChanged();"><option value="Please wait..." /></select> Expanded <input type="checkbox" name="genderExpand" /></p>
      	<p>Projected Gender: <select class="chooseEntity" name="projGenderSelect" onchange="projGenderChanged();"><option value="Please wait..." /></select> Expanded <input type="checkbox" name="projGenderExpand" /></p>
      	<p>Sexuality: <select class="chooseEntity" name="sexSelect" onchange="sexChanged();"><option value="Please wait..." /></select></p>
      	<p>Projected Sexuality: <select class="chooseEntity" name="projSexSelect" onchange="projSexChanged();"><option value="Please wait..." /></select></p>
   </form>
</div>
-->

<?php 
writeEntityControl('Is', '');
?>

<p><span id="namedEntityID">Please Wait...</span></p>

</body>
</html>
예제 #2
0
	<div class="control">
		<p class="controlTitle">Type</p>
		<!-- <form name="typeForm" onSubmit="return false;"> -->
			<form>
			<select class="entitySelect">
				<option value="Character" >Character</option>
			</select>

			<button disabled="disabled">Add</button>
		
	
		<table class="entityList" id="typeList">
			<tr><td>Character</td><td>&nbsp;</td></tr>
		</table>	
		</form> 
	</div>
	<?php 
}
writeEntityControl('Is', '');
writeEntityControl('IsShadowOf', '');
?>

<p id="namedEntityID"><?php 
print $potentialNewEntity;
?>
</p>

</body>
</html>