コード例 #1
0
ファイル: flashcards.php プロジェクト: Symbiota/Symbiota
					<form id="taxonfilterform" name="taxonfilterform" action="flashcards.php" method="post">
						<fieldset>
							<legend>Options</legend>
							<input type="hidden" name="clid" value="<?php 
echo $clid;
?>
" />
							<input type="hidden" name="lang" value="<?php 
echo $lang;
?>
" />
							<div>
								<select name="taxonfilter" onchange="document.getElementById('taxonfilterform').submit();">
									<option value="0">Filter Quiz by Taxonomic Group</option>
									<?php 
$fcManager->echoFlashcardTaxonFilterList();
?>
								</select>
							</div>
							<div style='margin-top:3px;'>
								<?php 
//Display Common Names: 0 = false, 1 = true
if ($displayCommonNames) {
    echo '<input id="showcommon" name="showcommon" type="checkbox" value="1" ' . ($showCommon ? "checked" : "") . ' onchange="document.getElementById(\'taxonfilterform\').submit();"/> Display Common Names' . "\n";
}
?>
							</div>
						</fieldset>
					</form>
				</div>
				<div style="cursor:pointer;color:red;" onclick="reset()"><b>Reset Game</b></div>