예제 #1
0
echo '<div id="newunitonly">';
genInput('UnitName', 'new_unit_name', 'new_unit_name', true);
genInput('UnitAbbreviation', 'new_unit_abb', 'new_unit_abb', true);
echo '</div>';
genDropListsH('SampleMedium', 'samplemedium', 'samplemedium', getTxt('ObservationMedium'), true);
echo '<div id="smother">';
genInput('NewSampleMedium', 'smnew', 'smnew', true);
echo '</div>';
genInput('MediumDefinition', 'smdef', 'smdef', true);
genDropListsH('ValueType', 'valuetype', 'valuetype', getTxt('DataTypeMsg'), true);
echo '<div id="valuetypenewb">';
genInput('ValueTypeNewColon', 'valuetypenew', 'valuetypenew', true);
echo '</div>';
genInput('ValueTypeDefinition', 'vtdef', 'vtdef', true);
genDropListsH('Regularity', 'isreg', 'isreg', getTxt('RegularlySampledTime'), true);
genInputH('TimeSupport', 'tsup', 'tsup', getTxt('TemporalFootprint'), true, "value='" . $default_timesupport . "'");
genDropLists('TimeUnit', 'timeunit', 'timeunit', true);
genDropLists('DataType', 'datatype', 'datatype', true);
?>
<div class="form-group">
        <label class="col-sm-2 control-label"><?php 
echo getTxt('DataTypeDefinition');
?>
</label>
        <div class="col-sm-9">
     	   <textarea type="text" cols="45" rows="4" class="form-control" id="dtdef" name="dtdef" readonly><?php 
echo getTxt('SelectData');
?>
</textarea><span class="required"/></div>             
</div>
<?php 
예제 #2
0
<div class="col-sm-12"><p class="h4"><strong><?php 
echo getTxt('ConfigurationSettingsDataValues');
?>
</strong></p></div>
<?php 
genInputH('UTCOffset', 'UTC Offset', 'utcoffset1', getTxt('UTCOffsetInfo'));
?>
<div id="advSetup2">
<?php 
genInputH('CensorCode', 'Censor Code', 'censorcode', getTxt('CensorCodeInfo'), true, ' value="nc"');
genInputH('QualityControlLevel', 'Quality Control Level', 'qcl', getTxt('QualityControlLevelInfo'), true, ' value="0"');
genInputH('ValueAccuracy', 'Value Accuracy', 'valueacc', getTxt('ValueAccuracyInfo'), true, ' value="NULL"');
genInputH('OffsetTypeID', 'Offset Type ID', 'offsettype', getTxt('OffsetIntergerInfo'), true, ' value="NULL"');
genInputH('QualifierID', 'Qualifier ID', 'qualifier', getTxt('QualifierIDInfo'), true, ' value="1"');
genInputH('SampleID', 'sampleid', 'sampleid', getTxt('SampleIDInfo'), true, ' value="NULL"');
genInputH('DerivedFromID', 'Derived from ID', 'derived', getTxt('DerivedFromIDInfo'), true, ' value="NULL"');
?>
 
</div>
 <input type="hidden" name="hiddenstuff" value="<?php 
echo $hiddenStuff;
?>
" class="button"/>
            <div class="col-md-5 col-md-offset-5">
       <input type="SUBMIT" name="submit" value="<?php 
echo getTxt('SaveSettings');
?>
" class="button"/>
       <input type="reset" name="Reset" value="<?php 
echo getTxt('Cancel');
?>