summaryrefslogtreecommitdiffstats
path: root/includes
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2021-09-05 16:54:12 +0200
committerHarald Eilertsen <haraldei@anduin.net>2021-09-05 16:54:12 +0200
commitb04cdb88eaf0f011850cf455853758b4a1078203 (patch)
treefb171c9a75e9c640f3a11e3ff35126b8900e6ba4 /includes
parent30c78c1653e0a0e5ec1cf72570561ccdd2eddc26 (diff)
downloadgigologadmin-b04cdb88eaf0f011850cf455853758b4a1078203.tar.gz
gigologadmin-b04cdb88eaf0f011850cf455853758b4a1078203.tar.bz2
gigologadmin-b04cdb88eaf0f011850cf455853758b4a1078203.zip
Fix some bugs in generated HTML for ConcertsTable.
Diffstat (limited to 'includes')
-rw-r--r--includes/admin/views/_concerts_table.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/includes/admin/views/_concerts_table.php b/includes/admin/views/_concerts_table.php
index 685ee07..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());
@@ -81,7 +81,7 @@ if (!class_exists("GiglogAdmin_ConcertsTable"))
$content .= '<td class="publishstatus">' . $this->mark_new_concert($concert) . '</td>';
$content .= '<td class="assigneduser">' . $this->assign_role_for_user_form('photo1', $concert) . '</td>';
- $content .= '<td> class="assigneduser">' . $this->assign_role_for_user_form('photo2', $concert) . '</td>';
+ $content .= '<td class="assigneduser">' . $this->assign_role_for_user_form('photo2', $concert) . '</td>';
$content .= '<td class="assigneduser">' . $this->assign_role_for_user_form('rev1', $concert) . '</td>';
$content .= '<td class="assigneduser">' . $this->assign_role_for_user_form('rev2', $concert) . '</td>';
@@ -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>';