Exemplo n.º 1
0
			<img src="../img/cal.gif" alt="Calendar"/></A>
			at <input type=text size=10 name=stime value="<?php 
        echo $stime;
        ?>
">
		</span><BR class=form>
		
		<span class=form>Available Until:</span>
		<span class=formright>
			<input type=radio name="edatetype" value="2000000000" <?php 
        writeHtmlChecked($enddate, '2000000000', 0);
        ?>
/>
			 Always after start date<br/>
			<input type=radio name="edatetype" value="edate"  <?php 
        writeHtmlChecked($enddate, '2000000000', 1);
        ?>
/>
			<input type=text size=10 name=edate value="<?php 
        echo $edate;
        ?>
"> 
			<a href="#" onClick="displayDatePicker('edate', this, 'sdate', 'start date'); return false">
			<img src="../img/cal.gif" alt="Calendar"/></A>
			at <input type=text size=10 name=etime value="<?php 
        echo $etime;
        ?>
">
		</span><BR class=form>	
		</div>
		<span class=form>Group wiki?</span><span class=formright>
Exemplo n.º 2
0
    ?>
>No <br />
				<input name="showqcat" type="radio" value="1" <?php 
    writeHtmlChecked($showqcat, "1");
    ?>
>In Points Possible bar <br />
				<input name="showqcat" type="radio" value="2" <?php 
    writeHtmlChecked($showqcat, "2");
    ?>
>In navigation bar (Skip-Around only)
			</span><br class="form" />
			
			<span class=form>Display for tutorial-style questions: </span>
			<span class=formright>
				<input type="checkbox" name="istutorial" <?php 
    writeHtmlChecked($line['istutorial'], 1);
    ?>
>
			</span><BR class=form>
	<?php 
    /*if ($enablebasiclti==true) {
    	?>
    			<span class="form">LTI access secret (max 10 chars; blank to not use)</span>
    			<span class="formright">
    				<input name="ltisecret" type="text" value="<?php echo $line['ltisecret'];?>" />
    				<a href="#" onclick="document.getElementById('ltiurl').style.display=''; return false;">LTI url/key?</a>
    				<span id="ltiurl" style="display:none;">
    				<?php
    				if (isset($_GET['id'])) {
    					echo '<br/>url: http://'. $_SERVER['HTTP_HOST'].$imasroot.'/bltilaunch.php<br/>';
    					echo 'key: aid_'.$_GET['id'].'_0 (to allow local login) or aid_'.$_GET['id'].'_1 (access from LMS only)';
Exemplo n.º 3
0
	
	<span class=form>Make items publicly accessible<sup>*</sup>:</span>
	<span class=formright>
	<input type=checkbox name=public value="1" <?php 
    writeHtmlChecked($public, '1');
    ?>
 />
	</span><br class=form />
	<span class=form>Block colors:</span>
	<span class=formright>
	<input type=radio name="colors" value="def" <?php 
    writeHtmlChecked($usedef, 1);
    ?>
 />Use defaults<br/>
	<input type=radio name="colors" value="copy" <?php 
    writeHtmlChecked($usedef, 2);
    ?>
 />Copy colors from block: 
	
	<?php 
    writeHtmlSelect("copycolors", $existBlocksVals, $existBlocksLabels);
    ?>

	<br />&nbsp;<br/>
	<input type=radio name="colors" id="colorcustom" value="custom" <?php 
    if ($usedef == 0) {
        echo "CHECKED";
    }
    ?>
 />Use custom:
	<table style="display: inline; border-collapse: collapse; margin-left: 15px;">
Exemplo n.º 4
0
" size=20></span><br class=form>
		<span class=form>Rights: </span>
		<span class=formright>
			<?php 
                                writeHtmlSelect("rights", $page_libRights['val'], $page_libRights['label'], $rights, $defaultLabel = null, $defaultVal = null, $actions = null);
                                ?>
		</span><br class=form>
		
		<span class=form>Sort order: </span>
		<span class=formright>
			<input type="radio" name="sortorder" value="0" <?php 
                                writeHtmlChecked($sortorder, 0);
                                ?>
 />Creation date<br/>
			<input type="radio" name="sortorder" value="1" <?php 
                                writeHtmlChecked($sortorder, 1);
                                ?>
 />Alphabetical
		</span><br class=form>
		
		<span class=form>Parent Library:</span>
		<span class=formright>
			<span id="libnames"><?php 
                                echo $lnames;
                                ?>
</span>
			<input type=hidden name="libs" id="libs"  value="<?php 
                                echo $parent;
                                ?>
">
			<input type=button value="Select Library" onClick="libselect()">
Exemplo n.º 5
0
    ?>
"/>
		</span><br class="form" />
		</div>
		<div id="altcaldiv" style="display:<?php 
    echo $line['avail'] == 2 ? "block" : "none";
    ?>
">
		<span class=form>Place on Calendar?</span>
		<span class=formright>
			<input type=radio name="altoncal" value="0" <?php 
    writeHtmlChecked($altoncal, 0);
    ?>
 /> No<br/>
			<input type=radio name="altoncal" value="1" <?php 
    writeHtmlChecked($altoncal, 1);
    ?>
 /> Yes, on 
			<input type=text size=10 name="cdate" value="<?php 
    echo $sdate;
    ?>
"> 
			<a href="#" onClick="displayDatePicker('cdate', this); return false">
			<img src="../img/cal.gif" alt="Calendar"/></a> <br/>
			With tag: <input name="altcaltag" type=text size=4 value="<?php 
    echo $line['caltag'];
    ?>
"/>
		</span><BR class=form>
		</div>
<?php 
Exemplo n.º 6
0
				<td>
				<input type="radio" value="0" name="noprint" <?php 
    writeHtmlChecked($line['noprint'], 0);
    ?>
/> No <input type="radio" value="1" name="noprint" <?php 
    writeHtmlChecked($line['noprint'], 1);
    ?>
/> Yes 
				</td>
			</tr>
			<tr class="coptr">
				<td><input type="checkbox" name="chgshuffle" class="chgbox"/></td>
				<td class="r">Shuffle item order: </td>
				<td>
				<span class=formright><input type="checkbox" name="shuffle" <?php 
    writeHtmlChecked($line['shuffle'] & 1, 1);
    ?>
>
				</td>
			</tr>
			
			
			<tr class="coptr">
				<td><input type="checkbox" name="chggbcat" class="chgbox"/></td>
				<td class="r">Gradebook category: </td>
				<td>
<?php 
    writeHtmlSelect("gbcat", $page_gbcatSelect['val'], $page_gbcatSelect['label'], null, null, null, " id=gbcat");
    ?>

				</td>
Exemplo n.º 7
0
    if ($defdisplay == 2) {
        echo "selected=1";
    }
    ?>
>Condensed</option>
			</select>
		</span><br class="form" />
		
		<span class="form">Sort threads by: </span>
		<span class="formright">
			<input type="radio" name="sortby" value="0" <?php 
    writeHtmlChecked($sortby, 0);
    ?>
/> Thread start date<br/>
			<input type="radio" name="sortby" value="1" <?php 
    writeHtmlChecked($sortby, 1);
    ?>
/> Most recent reply date
		</span><br class="form" />
		
		<span class=form>Students can create new threads:</span><span class=formright>
			<input type=radio name="postby" value="Always" <?php 
    if ($postby == 2000000000) {
        echo "checked=1";
    }
    ?>
/>Always<br/>
			<input type=radio name="postby" value="Never" <?php 
    if ($postby == 0) {
        echo "checked=1";
    }
Exemplo n.º 8
0
	<span class="form">Totals to show students:</span>
	<span class=formright>
		<input type="checkbox" name="stugbmode1" value="1" id="totshow1" <?php 
writeHtmlChecked($stugbmode & 1, 1);
?>
/><label for="totshow1">Past Due</label><br/>
		<input type="checkbox" name="stugbmode2" value="2" id="totshow2" <?php 
writeHtmlChecked($stugbmode & 2, 2);
?>
/><label for="totshow2">Past Due and Attempted</label><br/>
		<input type="checkbox" name="stugbmode4" value="4" id="totshow4" <?php 
writeHtmlChecked($stugbmode & 4, 4);
?>
/><label for="totshow4">Past Due and Available</label><br/>
		<input type="checkbox" name="stugbmode8" value="8" id="totshow8" <?php 
writeHtmlChecked($stugbmode & 8, 8);
?>
/><label for="totshow8">All (including future)</label><br/>
	</span><br class="form" />
	</fieldset>
	<fieldset><legend>Gradebook Categories</legend>
<?php 
$r = explode(',', $defaultcat);
$row['name'] = 'Default';
$row['scale'] = $r[0];
$row['scaletype'] = $r[1];
$row['chop'] = $r[2];
$row['dropn'] = $r[3];
$row['weight'] = $r[4];
$row['hidden'] = $r[5];
if (isset($r[6])) {
Exemplo n.º 9
0
        ?>
 /> Yes, within 
	  <input type="text" name="reentrytime" value="<?php 
        echo $reentrytime;
        ?>
" size="4" /> minutes (0 for no limit)
	
	</p>
	
	<p>Unique ID prompt: <input type=text size=60 name="idprompt" value="<?php 
        echo $idprompt;
        ?>
" /></p>

	<p>Attach first level selector to ID: <input type="checkbox" name="entrynotunique" value="1" <?php 
        writeHtmlChecked($entrynotunique, true);
        ?>
 /></p>
	
	<p>ID entry format: 
<?php 
        writeHtmlSelect("entrytype", $page_entryType['val'], $page_entryType['label'], $page_entryTypeSelected);
        ?>
	</p>
	<p>ID entry number of characters?:
<?php 
        writeHtmlSelect("entrydig", $page_entryNums['val'], $page_entryNums['label'], $page_entryNumsSelected);
        ?>
	
	</p>
	<p>
Exemplo n.º 10
0
"> 
		<span onmouseover="tipshow(this,'Search all libraries, not just selected ones')" onmouseout="tipout()">
		<input type=checkbox name="searchall" value="1" <?php 
            writeHtmlChecked($searchall, 1, 0);
            ?>
 />
		Search all libs</span> 
		<span onmouseover="tipshow(this,'List only questions I own')" onmouseout="tipout()">
		<input type=checkbox name="searchmine" value="1" <?php 
            writeHtmlChecked($searchmine, 1, 0);
            ?>
 />
		Mine only</span> 
		<span onmouseover="tipshow(this,'Exclude questions already in assessment')" onmouseout="tipout()">
		<input type=checkbox name="newonly" value="1" <?php 
            writeHtmlChecked($newonly, 1, 0);
            ?>
 />
		Exclude added</span> 
		<input type=submit value=Search>
		<input type=button value="Add New Question" onclick="window.location='moddataset.php?aid=<?php 
            echo $aid;
            ?>
&cid=<?php 
            echo $cid;
            ?>
'">
	
	</form>
<?php 
            if ($searchall == 1 && trim($search) == '') {