<?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();
<?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();
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); ?> </div> <?php echo "<p>" . getTxt('UploadCSV') . "</p>"; echo '<div class="form-group"> <label class="col-sm-3 control-label">' . getTxt('SelectFile') . 's:</label> <div class="col-sm-9"> <input type="file" class="form-control" id="files" name="files[]" multiple>'; echo '<span class="required"/>'; echo '</div> </div>'; genSubmit('SubmitData'); HTML_Render_Body_End(); ?> <script type="text/javascript"> $('#valueSpec').click(function () { if($('#valueSpec').is(':checked')) { $("#mainContent").hide(200); } else { $("#mainContent").show(200); } });
<?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();