<?php 
$js = 'id = "pm_in_min"';
echo form_dropdown('pm_in_min', minute_options(TRUE), $pm_in_min_selected, $js);
?>
</td>
    <td></td>
  </tr>
  <tr>
    <td align="right">PM OUT:</td>
    <td><?php 
$js = 'id = "pm_out_hour"';
echo form_dropdown('pm_out_hour', hour_options(TRUE), $pm_out_hour_selected, $js);
?>
      <?php 
$js = 'id = "pm_out_min"';
echo form_dropdown('pm_out_min', minute_options(TRUE), $pm_out_min_selected, $js);
?>
</td>
    <td></td>
  </tr>
  <tr>
    <td width="24%">&nbsp;</td>
    <td width="64%"><input type="submit" name="button" id="button" value="Save" />
      <input name="op" type="hidden" id="op" value="1" /></td>
    <td width="12%"></td>
  </tr>
</table>
</form>
<script>
$('.delete_office').click(function(){
Beispiel #2
0
function minute_select_options($attributes = null, $selected = null)
{
    $selected = vet_datetime_selected($selected);
    return select_options(minute_options(), date('i', $selected), $attributes);
}