Example #1
0
<?php

$attributes = array('class' => 'form-horizontal', 'name' => 'editmethod', 'id' => 'editmethod');
echo form_open('methods/change', $attributes);
genInputT('MethodId', 'MethodID2', 'MethodID2', false, 'value="' . $Method['MethodID'] . '" readonly', 'MayNotEdit');
//echo '<span class="help-block"><br/>'.getTxt('MayNotEdit').'</span>';
genInputT('MethodName', 'MethodDescription2', 'MethodDescription2', true, 'value="' . $Method['MethodDescription'] . '"', 'ExMethodName');
//echo '<span class="help-block"><br/>'.getTxt('ExMethodName').'</span>';
genInputT('MethodLinkColon', 'MethodLink2', 'MethodLink2', false, 'value="' . $Method['MethodLink'] . '"', 'ExMethodLink');
//echo '<span class="help-block"><br/>'.getTxt('ExMethodLink').'</span>';
?>
<div class="col-md-5 col-md-offset-5">
<input type='SUBMIT' name='submit' value='<?php 
echo getTxt('SaveEdits');
?>
' class='button' style='width: auto'/>&nbsp;&nbsp;
<input type='button' name='delete' value='<?php 
echo getTxt('Delete');
?>
' class='button' style='width: auto' onClick='confirmBox()'/>&nbsp;&nbsp;
<input type='button' name='Reset' value='<?php 
echo getTxt('Cancel');
?>
' class='button' style='width: auto' onClick='clearEverything()'/>
</FORM>
</div>
Example #2
0
<?php

echo HTML_Render_Head($js_vars, getTxt('AddUser'));
echo $CSS_Main;
echo $JS_JQuery;
echo $JS_CreateUserName;
HTML_Render_Body_Start();
genHeading('AddNewUser', true);
$attributes = array('class' => 'form-horizontal', 'id' => 'newuser');
echo form_open('user/doadd', $attributes);
genInput('FirstName', 'firstname', 'firstname', true);
genInput('LastName', 'lastname', 'lastname', true);
genInputT('UserName', 'username', 'username', true, $extra = "", 'FirstLastNameExample');
echo '<span id="user-result"></span>';
//echo '<span class="help-block">'.getTxt('FirstLastNameExample').'</span>';
genInputT('Password', 'password', 'password', true, $extra = "", 'CaseSensitive');
//echo '<span class="help-block">'.getTxt('CaseSensitive').'</span>';
genSelect('Authority', "authority", "authority", $selection, 'SelectLevel', true);
?>
<div class="col-md-5 col-md-offset-5">
       <input type="SUBMIT" name="submit" value="<?php 
echo getTxt('AddUser');
?>
" class="button"/>
       <input type="reset" name="Reset" value="<?php 
echo getTxt('Cancel');
?>
" class="button" style="width: auto" />
</div>
<div id="checkStatus" hidden="true"></div>
</FORM>
Example #3
0
echo getImg('loader.gif');
?>
" width="16" height="16" align="absmiddle">&nbsp;<?php 
echo getTxt('SelectstateElipsis');
?>
</span>
	 <div id="no_county_drop_down"><?php 
echo getTxt('StateNoCounties');
?>
</div>
        </div> 
</div> 
<?php 
genSelectH('VerticalDatum', 'VerticalDatum', 'VerticalDatum', $vdOptions, getTxt('VerticalDatumInfo'), 'SelectEllipsis', true);
genSelectH('SpatialReference', 'LatLongDatumID', 'LatLongDatumID', $srOptions, getTxt('SpatialReferenceInfo'), 'SelectEllipsis', true);
genInputT('Comments', 'com', 'value', false, $extra = "", 'Optional');
?>
  
<div class="col-md-5 col-md-offset-5">
<input type="SUBMIT" name="submit" value="<?php 
echo getTxt('AddSiteButton');
?>
" class="button" width="auto"/>
<input id="resetButton" type="button" name="resetButton" value="<?php 
echo getTxt('Cancel');
?>
" class="button" style="width: auto" />
</FORM>
</div>
</div>
<?php 
Example #4
0
           	url: base_url+'variable/getAllJSON2'
	};			
	
	var dataAdapter = new $.jqx.dataAdapter(source);
	// Create a jqxListBox
	$("#jqxWidget").jqxListBox({source: dataAdapter, theme: 'darkblue', multiple: true, width: '94%', height: 300, displayMember: "VarNameMod", valueMember: "VariableID"});
});
</script>
<?php 
HTML_Render_Body_Start();
genHeading('AddNewMethod', true);
$attributes = array('class' => 'form-horizontal', 'name' => 'addmethod', 'id' => 'addmethod');
echo form_open('methods/add', $attributes);
genInputT('MethodName', 'MethodDescription', 'MethodDescription', true, $extra = "", 'ExampleMethodName');
//echo '<span class="em">'.getTxt('ExampleMethodName').'</span>';
genInputT('MethodLinkColon', 'MethodLink', 'MethodLink', false, $extra = "", 'ExMethodLink');
//echo '<span class="em">'.getTxt('ExMethodLink').'</span>';
?>
<div class="form-group">
	<label class="col-sm-2 control-label"></label>
  <div class = "col-md-8">
  <label><?php 
echo getTxt('SelectVariablesBelow1');
?>
</label>
  <label><?php 
echo getTxt('SelectAllThatApply');
?>
</label>
  <!--<div id="jqxWidget"></div><span class="required">*</span>-->
<?php 
Example #5
0
genInputT('Email', 'Email', 'Email', true, $extra = "", 'ExEmail');
//echo '<span class="em">' .getTxt('ExEmail').'</span>';
genInput('Address', 'Address', 'Address', true);
genInput('City', 'City', 'City', true);
genSelect('State', 'State', 'State', $stateOptions, 'SelectEllipsis', true);
genInput('Zip', 'ZipCode', 'ZipCode', true);
genInputT('Citation', 'Citation', 'Citation', false, $extra = "", 'ExCitation');
//echo '<span class="em">' .getTxt('ExCitation').'</span>';
genInputT('MetadataIDSemicolon', 'MetadataID', 'MetadataID', false, ' disabled', 'MetadataAutoGenerated');
//echo '<span class="em">' .getTxt('MetadataAutoGenerated').'</span>';
genSelect('TopicCategory', 'TopicCategory', 'TopicCategory', $topicOptions, 'SelectEllipsis', true);
genInputT('Title', 'Title', 'Title', true, $extra = "", 'ExTitle2');
//echo '<span class="em">' .getTxt('ExTitle2').'</span>';
genInputT('Abstract', 'Abstract', 'Abstract', true, $extra = "", 'ExAbstract1');
//echo '<span class="em">' .getTxt('ExAbstract1').'</span>';
genInputT('MetaLink', 'MetadataLink', 'MetadataLink', false, $extra = "", 'Optional');
//echo '<span class="em">' .getTxt('Optional').'</span>';
?>
<div class="col-md-5 col-md-offset-5">
       <input type="SUBMIT" name="submit" value="<?php 
echo getTxt('AddSourceButton');
?>
" class="button"/>
       <input type="reset" name="Reset" value="<?php 
echo getTxt('Cancel');
?>
" class="button" style="width: auto" />
</div>
</div>
<?php 
HTML_Render_Body_End();
Example #6
0
	});
</script>
<?php 
HTML_Render_Body_Start();
genHeading('EnterSingleDataValue', true);
$attributes = array('class' => 'form-horizontal', 'name' => 'addvalue', 'id' => 'addvalue');
echo form_open('datapoint/addvalue', $attributes);
genSelect('Source', "SourceID", "SourceID", $sourcesOptions, 'SelectEllipsis', true, 'onChange="showSites(this.value)"');
genSelectH('Site', "SiteID", "SiteID", '', getTxt('IfNoSeeSite1') . ' ' . getTxt('ContactSupervisor') . ' ' . getTxt('AddIt'), 'SelectElipsis', true);
genSelect('Variable', "VariableID", "VariableID", $variableOptions, 'SelectEllipsis', true, 'onChange="showMethods(this.value)"');
genSelectH('Method', "MethodID", "MethodID", '', getTxt('IfNoSeeMethod1') . ' ' . getTxt('ContactSupervisor') . ' ' . getTxt('AddIt'), 'SelectElipsis', true);
genInputT('Date', 'datepicker', 'datepicker', true, 'onChange="return validateDate()"', 'DateFormatExample');
//echo '<span class="help-block"><br />'.getTxt('DateFormatExample').'</span>';
genInputT('Time', 'timepicker', 'timepicker', true, 'onChange="return validateTime()" class="short"', 'TimeFormatExample');
//echo '<span class="help-block"><br />'.getTxt('TimeFormatExample').'</span>';
genInputT('Value', 'value', 'value', true, 'class="short" maxlength=20 onBlur="return validateNum()"', 'NumberNoCommas');
//echo '<span class="badge"><br />'.getTxt('NumberNoCommas').'</span>';
?>
<div class="col-md-5 col-md-offset-5">
<input type="SUBMIT" name="submit" value= "<?php 
echo getTxt('SubmitData');
?>
" class="button" style="width: auto" />
<input type="reset" name="Reset" value="<?php 
echo getTxt('Cancel');
?>
" class="button" style="width: auto" />
</FORM>
</div>
</div>
<?php 
Example #7
0
echo getImg('loader.gif');
?>
" width="16" height="16" align="absmiddle">&nbsp;<?php 
echo getTxt('SelectstateElipsis');
?>
</span>
	 <div id="no_county_drop_down"><?php 
echo getTxt('StateNoCounties');
?>
</div>
        </div> 
</div> 
<?php 
genSelectH('VerticalDatum', 'VerticalDatum', 'VerticalDatum', $vdOptions, getTxt('VerticalDatumInfo'), 'SelectEllipsis', true);
genSelectH('SpatialReference', 'LatLongDatumID', 'LatLongDatumID', $srOptions, getTxt('SpatialReferenceInfo'), 'SelectEllipsis', true);
genInputT('Comments', 'com', 'value', false, '', 'Optional');
?>
  

<input type='SUBMIT' name='submit' value='<?php 
echo getTxt('SaveEdits');
?>
' class='button' style='width: auto'/>&nbsp;&nbsp;
<input type='button' name='delete' value='<?php 
echo getTxt('Delete');
?>
' class='button' style='width: auto' onClick='confirmBox()'/>&nbsp;&nbsp;
<input type='button' name='Reset' value='<?php 
echo getTxt('Cancel');
?>
' class='button' style='width: auto' onClick='clearEverything()'/>
Example #8
0
            

<div id="advSetup">
<div class="col-sm-12"><p class="h4"><strong><?php 
echo getTxt('ConfigurationSettingsSource');
?>
</strong></p></div>
<?php 
genInputH('MetaDataProfileVersion', 'Profile Version', 'profilev', getTxt('ProfileVersionInfo'));
?>
<div class="col-sm-12"><p class="h4"><strong><?php 
echo getTxt('ConfigurationSettingsSites');
?>
</strong></p></div>
<?php 
genInputT('Source', getTxt('Source'), 'source', true, '', 'OrganizationNameEx');
genInputH('LocalX', getTxt('LocalX'), 'localx', getTxt('LocalXInfo'));
genInputH('LocalY', getTxt('LocalY'), 'localy', getTxt('LocalYInfo'));
genInputH('LocalProjectionID', getTxt('LocalProjectionID'), 'localpid', getTxt('LocalProjectionIDInfo'));
genInputH('PosAccuracy', getTxt('PosAccuracy'), 'posaccuracy', getTxt('PositionalAccuracyInfo'));
genInputH('VerticalDatum', getTxt('VerticalDatum'), 'vdatum', getTxt('VerticalDatumInfo'));
genInputH('SpatialReference', getTxt('SpatialReference'), 'spatialref', getTxt('SpatialReferenceInfo'));
?>
</div>
<div class="col-sm-12"><p class="h4"><strong><?php 
echo getTxt('ConfigurationSettingsVariables');
?>
</strong></p></div>
<?php 
genInputH('VariableCode', 'Variable Code', 'varcode', getTxt('VariableCodeInfo'));
genInputH('TimeSupport', 'Time Support', 'timesupport', getTxt('LocalXInfo'));