mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Adjusted Var-Names and added modal-view-file
This commit is contained in:
@@ -116,10 +116,10 @@ class Radio extends CI_Controller {
|
||||
}
|
||||
|
||||
public function saveCatUrl() {
|
||||
$name = xss_clean($this->input->post('name', true));
|
||||
$url = xss_clean($this->input->post('caturl', true));
|
||||
$id = xss_clean($this->input->post('id', true));
|
||||
$this->load->model('cat');
|
||||
$this->cat->updateCatUrl($id,$name);
|
||||
$this->cat->updateCatUrl($id,$url);
|
||||
}
|
||||
|
||||
public function editCatUrl() {
|
||||
|
||||
24
application/views/radio/edit.php
Normal file
24
application/views/radio/edit.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<div class="container" id="editCatUrl">
|
||||
|
||||
<br>
|
||||
<!-- Display Message -->
|
||||
<div id="flashdata" class="alert-message error">
|
||||
</div>
|
||||
|
||||
<?php if($this->session->flashdata('notice')) { ?>
|
||||
<div id="message" >
|
||||
<?php echo $this->session->flashdata('notice'); ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php $this->load->helper('form'); ?>
|
||||
<input type="hidden" id="catid" name="id" value="<?php echo $container->id; ?>">
|
||||
|
||||
<div class="mb-3">
|
||||
<label for="CatUrlInput"><?= __("CAT URL"); ?></label>
|
||||
<input type="text" class="form-control" name="CatUrlInput" id="CatUrlInput" aria-describedby="CatUrlHelp" placeholder="http://127.0.0.1:54321" required value="<?php echo $container->cat_url; ?>">
|
||||
<small id="CatUrlHelp" class="form-text text-muted"><?= __("Called URL when a spot at DXCluster is clicked. Notice: The slash (/) and QRG is added automatically"); ?></small>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user