Fixed a couple of mistakes

This commit is contained in:
Ben Williams
2024-09-04 17:02:47 -07:00
parent e31d72d0f3
commit 82bba2c814
2 changed files with 2 additions and 2 deletions

View File

@@ -117,7 +117,7 @@ class Options extends CI_Controller {
if($public_maps_update_status == TRUE) {
$this->session->set_flashdata('success', __("Options saved"));
}
// Update public github button within the options system
$public_github_button_update_status = $this->optionslib->update('public_github_button', $this->input->post('publicGithubButton'), 'yes');

View File

@@ -109,7 +109,7 @@
<option value='true' <?php if($this->optionslib->get_option('public_login_button') == "true") { echo "selected=\"selected\""; } ?>><?= __("Enabled"); ?></option>
<option value='false' <?php if($this->optionslib->get_option('public_login_button') == "false") { echo "selected=\"selected\""; } ?>><?= __("Disabled"); ?></option>
</select>
<small id="publicLoginButtonHelp" class="form-text text-muted"><?= __("This enables the button to login to Wavelog in the public/vistors view"); ?></small>
<small id="publicLoginButtonHelp" class="form-text text-muted"><?= __("This enables the button to login to Wavelog in the public view"); ?></small>
</div>
<!-- Save the Form -->