Exemplo n.º 1
1
<?php

HTML_Render_Head($js_vars, 'Setup');
echo $JS_JQuery;
echo $CSS_Main;
HTML_Render_Body_StartInstall();
genHeading('InstallationComplete', true);
?>

<p><?php 
echo getTxt('CongratsInstall');
?>
</p>
<p><?php 
echo getTxt('Login');
?>
</p>
<p><a href='<?php 
echo base_url('index.php/' . $db . '/home');
?>
' class="button2"><?php 
echo getTxt('GoToSite');
?>
</a></p>
</div>
<?php 
HTML_Render_Body_End();
Exemplo n.º 2
0
       	datatype: "json",
	   	datafields: [
          	{ name: 'VarNameMod' },
	        { name: 'VariableID' },
       	],
           	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 
Exemplo n.º 3
0
, 
		});


}


$('#' + newid).change(function() {
  var result1=validatetime(this.id);
});			

}
</script>
<?php 
HTML_Render_Body_Start();
genHeading('EnterMultipleValuesManually', true);
echo getTxt('EnterDataTableAppears');
$attributes = array('class' => 'form-horizontal', 'name' => 'addvalue');
echo form_open('datapoint/addmultiplevalues', $attributes);
genSelect('Source', "SourceID", "SourceID", $sourcesOptions, 'SelectEllipsis', true, 'onChange="showSites(this.value)"');
genSelectH('Site', "SiteID", "SiteID", '', getTxt('IfNoSeeSite1') . ' ' . getTxt('ContactSupervisor') . ' ' . getTxt('AddIt'), 'SelectElipsis', true);
?>

<div class="table-responsive">
    <table border="1" cellpadding="0" cellspacing="0" id="multiple" class="table table-bordered">
        <tr>
          <td width="20%"><center><strong><?php 
echo getTxt('Variable');
?>
&nbsp;*</strong></center></td>
          <td width="20%"><center><strong><?php 
Exemplo n.º 4
0
	       	datatype: "json",
		   	datafields: [
        	  	{ name: 'MethodDescription' },
	        	{ name: 'MethodID' },
	       	],
    	       	url: base_url+'methods/getJSON'
		};			
	
	var dataAdapter = new $.jqx.dataAdapter(source);
        // Create a jqxListBox
        $("#jqxWidget").jqxListBox({source: dataAdapter, theme: 'darkblue', multiple: true, width: '94%', height: 300, displayMember: "MethodDescription", valueMember: "MethodID"});
	});
</script>
<?php 
HTML_Render_Body_Start();
genHeading('EditVariable', true);
?>
 <p><?php 
echo getTxt('PleaseSelect');
?>
</p>
<p  class='em'><strong><?php 
echo getTxt('Note');
?>
</strong><?php 
echo getTxt('TryingToDelete');
?>
</p>
<?php 
$attributes = array('class' => 'form-horizontal', 'name' => 'add_var', 'id' => 'add_var');
echo form_open('variable/edit', $attributes);
Exemplo n.º 5
0
HTML_Render_Head($js_vars, getTxt('AddSourceButton'));
echo $CSS_Main;
echo $JS_JQuery;
echo $CSS_JQX;
echo $JS_JQX;
echo $JS_GetTheme;
?>
<script type="text/javascript">

$(document).ready(function(){
	$("#msg").hide();
});
</script>
<?php 
HTML_Render_Body_Start();
genHeading('AddNewSource', true);
$attributes = array('class' => 'form-horizontal', 'name' => 'addsource', 'id' => 'addsource');
echo form_open('source/add', $attributes);
genInputT('Organization', 'Organization', 'Organization', true, $extra = "", 'ExTitle1');
//echo '<span class="em">' .getTxt('ExTitle1').'</span>';
genInputT('Description', 'SourceDescription', 'SourceDescription', true, $extra = "", 'ExDescript');
//echo '<span class="em">' .getTxt('ExDescript').'</span>';
genInputT('Link', 'SourceLink', 'SourceLink', false, $extra = "", 'ExMetaLink');
//echo '<span class="em">' .getTxt('ExMetaLink').'</span>';
genInputT('ContactName', 'ContactName', 'ContactName', true, $extra = "", 'ExName');
//echo '<span class="em">' .getTxt('ExName').'</span>';
genInputT('Phone', 'Phone', 'Phone', true, $extra = "", 'ExPhone');
//echo '<span class="em">' .getTxt('ExPhone').'</span>';
genInputT('Email', 'Email', 'Email', true, $extra = "", 'ExEmail');
//echo '<span class="em">' .getTxt('ExEmail').'</span>';
genInput('Address', 'Address', 'Address', true);
Exemplo n.º 6
0
	$("#No").click(function(){
    	$('#window').jqxWindow('hide');
	});
});	

function confirmBox(){
	
$('#window').show();
    $('#window').jqxWindow('show');
}

</script>

<?php 
HTML_Render_Body_Start();
genHeading('EditDeleteMethod', true);
echo '<p>' . getTxt('SelectMethod') . '</p>';
$attributes = array('class' => 'form-horizontal');
echo form_open('methods/change', $attributes);
genSelect('Method', "MethodID", "MethodID", $methodOptions, 'SelectEllipsis', true, 'onChange="editMethod()"');
?>
<strong class="em2"><?php 
echo getTxt('NoteColon');
?>
</strong>
<span class="em"><?php 
echo getTxt('MethodNote');
?>
</span>
</FORM>
<div id="msg3"></div>
Exemplo n.º 7
0
    phpVars = {};
    <?php 
echo 'phpVars.NoMethodsVariable="' . getTxt('NoMethodsVariable') . '";';
echo 'phpVars.NoSitesSource="' . getTxt('NoSitesSource') . '";';
echo 'phpVars.SelectVariable="' . getTxt('SelectVariable') . '";';
echo 'phpVars.SelectSite="' . getTxt('SelectSite2') . '";';
?>
</script>
<?php 
echo $JS_JQuery;
echo $JS_FormValidation;
echo $JS_Forms;
echo $CSS_JQStyles;
echo $CSS_Main;
HTML_Render_Body_Start();
genHeading('Import', true);
echo "<p>" . getTxt('MustConform') . "</p>";
?>
<p>LocalDateTime,DataValue<br>
        2012-05-31 00:00:00,10.99<br>
        2012-05-31 00:10:00,11.01<br>
        2012-05-31 00:20:00,11.02<br>
        2012-05-31 00:30:00,11.04<br></p>
<?php 
echo "<p>" . getTxt('ImportInstructionsNew') . "<a href='" . base_url("assets/samples/sample1.csv") . "'>Sample 1</a> \n<a href='" . base_url("assets/samples/sample2.csv") . "'>Sample 2</a> \n<a href='" . base_url("assets/samples/sample3.csv") . "'>Sample 3</a> \n<a href='" . base_url("assets/samples/sample4.csv") . "'>Sample 4</a>\n</p>";
$attributes = array('class' => 'form-horizontal', 'name' => 'importfile', 'id' => 'importfile');
echo form_open_multipart('datapoint/importfile', $attributes);
?>

<div class="form-group">
<label class="col-sm-3 control-label"><?php 
Exemplo n.º 8
0
, closeButtonText: <?php 
echo "'" . getTxt('Done') . "'";
?>
, nowButtonText: <?php 
echo "'" . getTxt('Now') . "'";
?>
, deselectButtonText: <?php 
echo "'" . getTxt('Deselect') . "'";
?>
 });
		
	});
</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 
Exemplo n.º 9
0
					{ text: '<?php 
echo getTxt('EndDate');
?>
', editable: false, datafield: 'EndDateTime', width:200},
					{ text: '<?php 
echo getTxt('ValueCount');
?>
', datafield: 'ValueCount', width:100}
				
				]
		  });
	  });
  </script>
<?php 
HTML_Render_Body_Start();
genHeading('EditSC', true);
?>
<span id="helpBlock" class="help-block">
<?php 
echo getTxt('SCEditHelp');
?>
</span>
<div class="col-md-12"><div id="jqxgrid">
	</div>
	</div>

<div class="col-md-5 col-md-offset-5">
<input type="button" name="update"id="update" value="<?php 
echo getTxt('UpdateSCButton');
?>
" class="button" style="width: auto" />
Exemplo n.º 10
0
	$("html, body").animate({ scrollTop: 0 }, "slow");
$('#window').show();
    $('#window').jqxWindow('show');
}

function show_answerProf(){
alert(<?php 
echo "'" . getTxt('ProfileVersionLabel') . "'";
?>
);
}

</script>
<?php 
HTML_Render_Body_Start();
genHeading('EditDeleteSource', true);
echo '<p>' . getTxt('SelectSource') . '</p>';
genSelect('Source', 'SourceID1', 'SourceID1', $sourceOptions, 'SelectEllipsis', true, ' onChange="editSource()"');
?>
<strong class="em2"><?php 
echo getTxt('NoteColon');
?>
</strong> <span class="em"><?php 
echo getTxt('NoteText');
?>
</span>
<div id="msg3"></div>
<?php 
$attributes = array('class' => 'form-horizontal', 'name' => 'editsource', 'id' => 'editsource');
echo form_open('source/change', $attributes);
genInput('SrcID', 'SourceID', 'SourceID', true, $extra = " readonly");
Exemplo n.º 11
0
	 var elevator;

function initialize() {
	
	$("#file").hide();
	showSites($("#SourceID option:selected").val());
	//Make the Map
	GetSourceName();
	var myLatlng = new google.maps.LatLng(43.52764,-112.04951);
}

</script>
<?php 
echo $JS_CreateUserName;
HTML_Render_Body_Start();
genHeading('EditDeleteSite', true);
?>
<p><?php 
echo getTxt('SelectSourceSiteMenu');
?>
</p>
<?php 
$attributes = array('class' => 'form-horizontal');
echo form_open_multipart('', $attributes);
genSelect('Source', 'SourceID', 'SourceID', $sourceOptions, 'SelectEllipsis', true, ' onChange="showSites(this.value)"');
genSelectH('SiteName', "SiteID", "SiteID", '', getTxt('IfNoSeeSite1') . ' ' . getTxt('ContactSupervisor') . ' ' . getTxt('AddIt'), 'SelectElipsis', true);
echo "</form>";
$attributes = array('class' => 'form-horizontal', 'name' => 'editsite', 'id' => 'editsite');
echo form_open_multipart('sites/change', $attributes);
genInput('Site', 'SiteID2', 'SiteID2', true, ' readonly');
echo '<div class="form-group"><label class="col-sm-2 control-label">' . getTxt('SiteName') . '</label><div class="col-sm-10">
Exemplo n.º 12
0
<?php

HTML_Render_Head($js_vars, getTxt('ChangePassword'));
echo $CSS_Main;
echo $JS_JQuery;
HTML_Render_Body_Start();
genHeading('ChangeYourPassword', true);
$attributes = array('class' => 'form-horizontal', 'name' => 'change_yourpassword');
echo form_open('user/changeownpass', $attributes);
genInput('NewPassword', 'password1', 'password1', true);
genInput('NewPassword1', 'password', 'password', true);
genSubmit('ChangePassword');
HTML_Render_Body_End();
?>
<script type= "text/javascript">
$(document).ready(function(){
	$("form").submit(function(e){
		if(($("#password1").val())==""){
		alert("Please enter a Password");
		return false;
		}
		if(($("#password").val())==""){
		alert("Please confirm your Password");
		return false;
		}
		var pass1 = document.getElementById('password'); 
		var pass2 = document.getElementById('password1')
		if(pass1.value !== pass2.value){
		alert ("The passwords don't match please try again.");
		return false;
		}
Exemplo n.º 13
0
<?php

HTML_Render_Head($js_vars, getTxt('ChangeAuthorityButton'));
echo $CSS_Main;
echo $JS_JQuery;
HTML_Render_Body_Start();
genHeading('ChangeUserAuthority', true);
$attributes = array('class' => 'form-horizontal');
echo form_open('user/edit', $attributes);
genSelect('UserName', "username", "username", $option_block, 'SelectUsernameEllipisis', true);
genSelect('NewAuthority', "authority", "authority", $selection, 'SelectLevel', true);
genSubmit('ChangeAuthorityButton');
HTML_Render_Body_End();
Exemplo n.º 14
0
');
	tempvalue.value = "";
	
	var tempvalue=document.getElementById('<?php 
echo getTxt('SpatialReference');
?>
');
	tempvalue.value = "";
	
	}
}

</script>
<?php 
HTML_Render_Body_StartInstall();
genHeading('MainConfigTitle', true);
$attributes = array('class' => 'form-horizontal', 'name' => 'createConfig', 'id' => 'createConfig');
echo form_open('home/installation', $attributes);
?>
<div class="col-sm-12"><p class="h1"><strong><?php 
echo getTxt('AdminWelcome');
?>
</strong></p></div>
<div class="col-sm-12"><span class="help-block"><?php 
echo getTxt('MainConfigDirections');
?>
</span></div>
<?php 
genInput('CurrentUsername', 'username', 'username1', false, " readonly value='his_admin'");
genInputT('NewPassword', 'password', 'password1', true, '', 'EnterNow');
?>
Exemplo n.º 15
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>
Exemplo n.º 16
0
<?php

HTML_Render_Head($js_vars, getTxt('AddNewBanner'));
echo $CSS_Main;
echo $JS_JQuery;
echo $JS_Forms;
echo $JS_DropDown;
echo $JS_SiteCreate;
HTML_Render_Body_Start();
genHeading('AddNewBanner', true);
$attributes = array('class' => 'form-horizontal', 'name' => 'banner', 'id' => 'banner');
echo form_open_multipart('banner/add', $attributes);
echo '<div class="form-group">
	<label class="col-sm-2 control-label">' . getTxt('banner') . '</label>
	<div class="col-sm-10">
	   <input class="form-control" type="file" name="banner" id="banner" size="30">';
echo '</div>             
  </div><br>';
echo getTxt('ExSitePhoto');
//Not altering map structure for now. As its responsive. In case it causes issues, the code can be altered here.
?>
<div class="col-md-5 col-md-offset-5">
<input type="SUBMIT" name="submit" value="<?php 
echo getTxt('Submit');
?>
" class="button" width="auto"/>
<input id="resetButton" type="button" name="resetButton" value="<?php 
echo getTxt('Cancel');
?>
" class="button" style="width: auto" />
</FORM>
Exemplo n.º 17
0
    	//Hide the county
    	$("#countyWrapper").hide();
    }
    else
    {
    	$("#countyWrapper").show();
    }
  })
  .change();
  

});
</script>
<?php 
HTML_Render_Body_Start();
genHeading('AddNewSite', true);
$attributes = array('class' => 'form-horizontal', 'name' => 'addsite', 'id' => 'addsite');
echo form_open_multipart('sites/add', $attributes);
genSelect('Source', 'SourceID', 'SourceID', $sourceOptions, 'SelectEllipsis', true, ' onChange="GetSourceName()"');
echo '<div class="form-group"><label class="col-sm-2 control-label">' . getTxt('SiteName') . '</label><div class="col-sm-10">
<input type="type" class="form-control" id="SiteName" name="SiteName" onKeyUp="GetSiteName()">
<span class="required"></span>
<span class="em">' . getTxt('ExSiteName') . " " . getTxt('NoApostrophe') . '</span></div></div>';
//genInput('SiteName','SiteName','SiteName', true, ' onKeyUp="GetSiteName()"');
//echo '<span class="em">'.getTxt('ExSiteName')." ".getTxt('NoApostrophe').'</span>';
echo '<div class="form-group"><label class="col-sm-2 control-label">' . getTxt('SiteCode') . '</label>
<div class="col-sm-10"><input type="type" class="form-control" id="SiteCode" name="SiteCode">
<span class="required"></span>
<span class="hint" title="' . getTxt('SiteCodeInfo') . '">?</span>
<span class="em">' . getTxt('ExSiteCode') . '</span></div></div>';
//genInputH('SiteCode','SiteCode', 'SiteCode',getTxt('SiteCodeInfo'), true);
Exemplo n.º 18
0
<?php

HTML_Render_Head($js_vars, getTxt('EditWelcomePage'));
echo $CSS_Main;
echo $JS_JQuery;
echo $JS_Forms;
HTML_Render_Body_Start();
genHeading('EditWelcomePage', true);
$attributes = array('class' => 'form-horizontal', 'name' => 'welcome', 'id' => 'welcome');
echo form_open('home/edit', $attributes);
genInput('Title', 'title', 'title', true);
genInput('OrganizationName', 'groupname', 'groupname', true);
genInputD('Description', 'description', 'description', true);
genInput('Citation', 'citation', 'citation', true);
?>
<div class="col-md-5 col-md-offset-5">
       <input type="SUBMIT" name="submit" value="<?php 
echo getTxt('Submit');
?>
" class="button"/>
       <input type="reset" name="Reset" value="<?php 
echo getTxt('Cancel');
?>
" class="button" style="width: auto" />
</div>
</FORM>
</div>
</div>
<?php 
HTML_Render_Body_End();
?>
Exemplo n.º 19
0
<?php

HTML_Render_Head($js_vars, getTxt('RemoveUser'));
echo $CSS_Main;
echo $JS_JQuery;
HTML_Render_Body_Start();
genHeading('RemoveExistingUser', true);
$attributes = array('class' => 'form-horizontal');
echo form_open('user/delete', $attributes);
genSelect('UserName', "username", "username", $option_block, 'SelectUsernameEllipisis', true);
genSubmit('RemoveUser');
HTML_Render_Body_End();
Exemplo n.º 20
0
	       	datatype: "json",
		   	datafields: [
        	  	{ name: 'MethodDescription' },
	        	{ name: 'MethodID' },
	       	],
    	       	url: base_url+'methods/getJSON'
		};			
	
	var dataAdapter = new $.jqx.dataAdapter(source);
        // Create a jqxListBox
        $("#jqxWidget").jqxListBox({source: dataAdapter, theme: 'darkblue', multiple: true, width: '94%', height: 300, displayMember: "MethodDescription", valueMember: "MethodID"});
	});
</script>
<?php 
HTML_Render_Body_Start();
genHeading('AddNewVariable', true);
$attributes = array('class' => 'form-horizontal', 'name' => 'addvar', 'id' => 'addvar');
echo form_open('variable/add', $attributes);
genInputH('VariableCode', 'var_code', 'VariableCode', getTxt('VariableCodeInfo'), true);
genDropLists('VariableName', 'varname', 'varname', true);
echo '<div id="newvarnameb">';
genInput('NewVarName', 'NewVarName', 'NewVarName', true);
echo '</div>';
genInputH('VariableDefinition', 'vardef', 'vardef', getTxt('VariableDefinitionMsg'), true);
genDropListsH('Speciation', 'specdata', 'specdata', getTxt('ValueCode'), true);
echo '<div id="new_spec">';
genInput('NewSpeciation', 'other_spec', 'other_spec', true);
echo '</div>';
genInput('SpeciationDef', 'specdef', 'specdef', true);
genDropListsH('VariableUnitType', 'unittype', 'unittype', getTxt('UnitsCategory'), true);
echo '<div id="unittext">';
Exemplo n.º 21
-1
<?php

HTML_Render_Head($js_vars, getTxt('ChangePassword'));
echo $CSS_Main;
echo $JS_JQuery;
HTML_Render_Body_Start();
genHeading('ChangeUserPassword', true);
$attributes = array('class' => 'form-horizontal');
echo form_open('user/changepass', $attributes);
genSelect('UserName', "username", "username", $option_block, 'SelectUsernameEllipisis', true);
genInput('NewPassword', 'password', 'password', true);
genSubmit('ChangePassword');
HTML_Render_Body_End();