Beispiel #1
0
" />
 <select onchange="if(this.value!=0) this.form.dateformatshort.value=this.value;">
 <?php 
echo selectOptions(array('M d' => formatTime('M d'), 'j M' => formatTime('j M'), 'n/j' => formatTime('n/j'), 'd.m' => formatTime('d.m'), 0 => __('set_custom')), _c('dateformatshort'), 0);
?>
 </select>
</td></tr>

<tr>
<th><?php 
_e('set_clock');
?>
:</th>
<td>
 <select name="clock"><?php 
echo selectOptions(array(12 => __('set_12hour') . ' (' . date('g:i A') . ')', 24 => __('set_24hour') . ' (' . date('H:i') . ')'), _c('clock'));
?>
</select>
</td></tr>

<tr>
<th><?php 
_e('set_showdate');
?>
:</th>
<td>
 <label><input type="radio" name="showdate" value="1" <?php 
if (_c('showdate')) {
    echo 'checked="checked"';
}
?>
Beispiel #2
0
<th>Short Date format:</span></th>
<td>
 <input name="dateformatshort" value="<?php 
echo htmlspecialchars(_c('dateformatshort'));
?>
">
 <SELECT onChange="if(this.value!=0) this.form.dateformatshort.value=this.value;">
 <?php 
echo selectOptions(array('M d' => date('M d'), 'j M' => date('j M'), 'n/j' => date('n/j'), 'd.m' => date('d.m'), 0 => 'Custom'), _c('dateformatshort'), 0);
?>
</SELECT>
</td></tr>

<tr>
<th>Clock format:</span></th>
<td>
 <SELECT name="clock"><?php 
echo selectOptions(array(12 => '12-hour (' . date('g:i A') . ')', 24 => '24-hour (' . date('H:i') . ')'), _c('clock'));
?>
</SELECT>
</td></tr>

<tr><td colspan="2" class="form-buttons">

<input type="submit" value="Submit changes">
<input type="button" value="Cancel" onClick="closeSettings()">

</td></tr>
</table>

</form>
							<td class="label">Project:</td>
							<td>
								<select name="projectId">
									<?php 
selectOptions("project", $itemResult["projectId"], "name", "id", "name", "workgroupId={$dss_currentWorkgroup}");
?>
								</select>
							</td>
						</tr>
						<tr>
							<td class="label">Retention Group:<br><a href="http://www.kent.edu/universitycounsel/records/index.cfm" target="_new"><small>More information</small></a></td>
							<td>
								<select name="retentionGroup">
									<option value="">--- Select One ---</option>
									<?php 
selectOptions("retention", $itemResult["retentionGroup"], "retentionGroup", "retentionGroup", "retentionGroup");
?>
								</select><span class="requiredField">*</span>
							</td>
						</tr>
						<tr>
							<td class="label">Significant Item:</td>
							<td>
								<input type="checkbox" name="significant" value="1"<?php 
if ($itemResult["significant"]) {
    echo " checked";
}
?>
> <small>If checked, the item will be reviewed for permanent archival at the end of its retention period.<br>Some items may be required to be reviewed before deletion. <a href="http://www.kent.edu/universitycounsel/records/index.cfm" target="_new">More information</a></small>
							</td>
						</tr>