<?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>
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 genDropListsH('Category', 'gc', 'gc', getTxt('ScientificCategory'), true); genInput('CategoryDefinition', 'gcdef', 'gcdef', true, " readonly"); genDropListsH('SelectMethods', 'jqxWidget', 'jqxWidget', getTxt('VariableCollectionMethod'), true); ?> <div class="col-md-5 col-md-offset-5"> <input type="SUBMIT" name="submit" value="<?php echo getTxt('SaveEdits'); ?> " class="button"/> <input type="reset" name="Reset" value="<?php echo getTxt('Cancel'); ?> " class="button" style="width: auto" /> <input type="button" id="del" name="del" value="<?php echo getTxt('DeleteVariables'); ?>
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); 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');
<?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(); ?>
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"> <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>'; genSelect('SiteType', 'SiteType', 'SiteType', $typeOptions, 'SelectEllipsis', true); echo '<div class="form-group"> <label class="col-sm-2 control-label">' . getTxt('SitePhoto') . '</label> <div class="col-sm-10">
echo getTxt('MySQLConfiguration'); ?> </strong></span><br/><br/></div> <p><?php echo getTxt('databaseInstructions'); ?> </p> <?php if (!$default) { $options = genOptions(array(1 => "Yes", 0 => "No")); genSelect('useExistingDB', "wwdb", "wwdb", $options, 'SelectEllipsis', true); } echo '<div id="dbsettings">'; genInputH('DatabaseHost', 'Database Host', 'databasehost', getTxt('DatabaseHostInfo'), true); genInput('DatabaseUsername', 'Database User Name', 'databaseusername'); genInput('DatabasePassword', 'Database Password', 'databasepassword'); genInputH('DatabaseName', 'Database Name', 'databasename', getTxt('DatabaseNameInfo'), true); echo '</div>'; ?> <div class="col-sm-12"><p class="h4"><strong><?php echo getTxt('ConfigurationSettingsLook'); ?> </strong></p></div> <?php $extraText = ""; if ($default) { $options = "<option value='true'>" . getTxt('Yes') . "</option>"; genSelect('multipleInstall', "multi", "multi", $options, 'No', true); $extraText = " value='default' readonly"; } genInputT('ConfigName', 'Website Path', 'ConfigName', true, $extraText, 'ConfigDesc');
<?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();