summaryrefslogtreecommitdiffstats
path: root/includes/admin/views/_concerts_table.php
diff options
context:
space:
mode:
authorAndreaChirulescu <andrea.chirulescu@gmail.com>2021-09-05 17:04:58 +0200
committerAndreaChirulescu <andrea.chirulescu@gmail.com>2021-09-05 17:04:58 +0200
commit82ac435141e6be7a5386bfb926feec3b88c65c91 (patch)
treefea96f909ff1715179e0ebe2a51937c1e46447b7 /includes/admin/views/_concerts_table.php
parent39523bd49d12ccf0c17bd033a012d6b2b93ce763 (diff)
parent005d612a1a9ff04538024330899a7587543d84e9 (diff)
downloadgigologadmin-82ac435141e6be7a5386bfb926feec3b88c65c91.tar.gz
gigologadmin-82ac435141e6be7a5386bfb926feec3b88c65c91.tar.bz2
gigologadmin-82ac435141e6be7a5386bfb926feec3b88c65c91.zip
Merge branch 'dev' of https://code.volse.net/wordpress/plugins/gigologadmin.git into andreaschanges
Diffstat (limited to 'includes/admin/views/_concerts_table.php')
-rw-r--r--includes/admin/views/_concerts_table.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/includes/admin/views/_concerts_table.php b/includes/admin/views/_concerts_table.php
index cc9ce4d..a9e254e 100644
--- a/includes/admin/views/_concerts_table.php
+++ b/includes/admin/views/_concerts_table.php
@@ -70,7 +70,7 @@ if (!class_exists("GiglogAdmin_ConcertsTable"))
}
// Modify these to match the database structure
// $content .= '<td>' . $row->id. '</td>';
- $content .= '<td></br></br></td>';
+ $content .= '<td></td>';
$content .= '<td>' . $concert->cname() . '</td>';
$content .= '<td>' . $concert->venue()->name() . '</td>';
$fdate = strtotime($concert->cdate());
@@ -126,9 +126,9 @@ if (!class_exists("GiglogAdmin_ConcertsTable"))
"Select venue...");
}
//option to select own concerts only
- $select .= '<input class="ownconc" type="checkbox" value="1"';
- if(isset($_POST['ownconcerts'])) $select .=' checked="checked" ';
- $select.=' name="ownconcerts">Show own concerts only</input>';
+ $select .= '<input name="ownconcerts" class="ownconc" type="checkbox" value="1"'
+ . checked(isset($_POST['ownconcerts']) ? $_POST['ownconcerts'] : false)
+ . '><label for="ownconcerts">Show own concerts only</label>';
$select .= '<input type="submit" value="APPLY"></form>';