summaryrefslogtreecommitdiffstats
path: root/includes/admin/views
diff options
context:
space:
mode:
authorAndreaChirulescu <andrea.chirulescu@gmail.com>2021-09-19 22:10:28 +0200
committerAndreaChirulescu <andrea.chirulescu@gmail.com>2021-09-19 22:10:28 +0200
commitcb064c158d99082ce35c83f7025dc4d6d0195e1f (patch)
tree3032ff729c9cdac4ab1580cb210874901a0b7d08 /includes/admin/views
parentb146f73fde9cc84b8707c1d653d313be70f682eb (diff)
downloadgigologadmin-cb064c158d99082ce35c83f7025dc4d6d0195e1f.tar.gz
gigologadmin-cb064c158d99082ce35c83f7025dc4d6d0195e1f.tar.bz2
gigologadmin-cb064c158d99082ce35c83f7025dc4d6d0195e1f.zip
Changed order of date column in concerts table
Diffstat (limited to 'includes/admin/views')
-rw-r--r--includes/admin/views/_concerts_table.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/includes/admin/views/_concerts_table.php b/includes/admin/views/_concerts_table.php
index d80e632..b61a990 100644
--- a/includes/admin/views/_concerts_table.php
+++ b/includes/admin/views/_concerts_table.php
@@ -34,7 +34,7 @@ if (!class_exists("GiglogAdmin_ConcertsTable"))
$content = '<table class="assignit">';
// $content .= '</tr><th>CITY</th><th>ID</th><th>BAND</th><th>VENUE</th><th>DATE</th></tr>';
- $content .= '<tr class="assignithrow"><th>CITY</th><th>NAME</th><th>VENUE</th><th>DATE</th>';
+ $content .= '<tr class="assignithrow"><th>CITY</th><th>DATE</th><th>NAME</th><th>VENUE</th>';
if (!is_admin()) {
$content .= '<th>EVENT</th><th>TICKETS</th>';
@@ -83,13 +83,12 @@ if (!class_exists("GiglogAdmin_ConcertsTable"))
$content .= '<td></td>';
}
- $content .= '<td>'. $concert->cname() . '</td>';
- $content .= '<td>' . $concert->venue()->name() . '</td>';
$fdate = strtotime($concert->cdate());
$newformat = date('d.M.Y',$fdate);
-
//$content .= DATE_FORMAT($fdate,'%d.%b.%Y');
$content .= '<td>' . $newformat . '</td>';
+ $content .= '<td>'. $concert->cname() . '</td>';
+ $content .= '<td>' . $concert->venue()->name() . '</td>';
if(!is_admin()){
$content .= '<td><a target="_blank" href="'.$concert->eventlink() .'">Link</a></td>';
$content .= '<td><a target="_blank" href="'.$concert->tickets() .'">Tickets</a></td>';