Example #1
0
         <TD>' . lang('id') . ':</TD>
         <TD>' . $edit['session_id'] . '</TD>
     </TR>';
 echo '  <TR>
         <TD>' . lang('date') . ':</TD>
         <TD>';
 echo formhelpers__pick_date('session_start', $edit['session_start'], $settings['session_start_years_backward'], $settings['session_start_years_forward']);
 echo '
         </TD>
     </TR>';
 echo '  <TR>
         <TD>
             ' . lang('time') . ':
         </TD>
         <TD>';
 echo formhelpers__pick_time('session_start', $edit['session_start']);
 echo '
         </TD>
     </TR>';
 echo '  <TR>
         <TD>
             ' . lang('laboratory') . ':
         </TD>
         <TD>';
 laboratories__select_field("laboratory_id", $edit['laboratory_id']);
 echo '
         </TD>
     </TR>';
 echo '  <TR>
         <TD>
             ' . lang('experiment_duration') . ':
Example #2
0
			</TR>';
    echo '	<TR>
			<TD>
				' . lang('start_date_and_time') . ':
			</TD>
			<TD>';
    echo formhelpers__pick_date('event_start', $edit['event_start'], $settings['session_start_years_backward'], $settings['session_start_years_forward']);
    echo '&nbsp;&nbsp;';
    echo formhelpers__pick_time('event_start', $edit['event_start']);
    echo '</TD>
		</TR>';
    echo '  <TR><TD>' . lang('stop_date_and_time') . ':</TD>
            <TD>';
    echo formhelpers__pick_date('event_stop', $edit['event_stop'], $settings['session_start_years_backward'], $settings['session_start_years_forward']);
    echo '&nbsp;&nbsp;';
    echo formhelpers__pick_time('event_stop', $edit['event_stop']);
    echo '	</TD>
        </TR>';
    echo '  <TR>
             <TD>' . lang('experimenter') . ':</TD>
             <TD>';
    if (!isset($_REQUEST['event_id']) || !$_REQUEST['event_id']) {
        $edit['experimenter'] = '|' . $expadmindata['admin_id'] . '|';
    }
    echo experiment__experimenters_select_field("experimenter", db_string_to_id_array($edit['experimenter']));
    echo '	</TD>
        </TR>';
    echo '	<TR>
			<TD>' . lang('description') . ':</TD>
			<TD><INPUT type="text" name="reason" size=40 maxlength=200 value="' . $edit['reason'] . '"></TD>
		</TR>';