コード例 #1
0
ファイル: ae_dates.php プロジェクト: klr2003/sourceread
" class="text" disabled="disabled" />
		<a href="#" onClick="popCalendar(document.datesFrm.start_date)">
						<img src="./images/calendar.gif" width="24" height="12" alt="<?php 
    echo $AppUI->_('Calendar');
    ?>
" border="0">
					</a>
	</td>
	<td>
		<table><tr>
						
	<?php 
    echo "<td>" . arraySelect($hours, "start_hour", 'size="1" onchange="setAMPM(this)" class="text"', $start_date ? $start_date->getHour() : $start) . "</td><td>" . " : " . "</td>";
    echo "<td>" . arraySelect($minutes, "start_minute", 'size="1" class="text"', $start_date ? $start_date->getMinute() : "0") . "</td>";
    if (stristr($AppUI->getPref('TIMEFORMAT'), "%p")) {
        echo '<td><input type="text" name="start_hour_ampm" id="start_hour_ampm" value="' . ($start_date ? $start_date->getAMPM() : ($start > 11 ? "pm" : "am")) . '" disabled="disabled" class="text" size="2" /></td>';
    }
    ?>
		</tr></table>
	</td>
</tr>
<tr>
	<td align="right" nowrap="nowrap"><?php 
    echo $AppUI->_('Finish Date');
    ?>
</td>
	<td nowrap="nowrap">
		<input type="hidden" name="task_end_date" id="task_end_date" value="<?php 
    echo $end_date ? $end_date->format(FMT_TIMESTAMP_DATE) : '';
    ?>
" />