From 97eedd793237dc45d44409013e45696bcb772721 Mon Sep 17 00:00:00 2001 From: AndreaChirulescu Date: Sat, 24 Apr 2021 20:42:43 +0200 Subject: added venue test to check duplicate with all letter cases CSS for edit form in giglog --- includes/admin/views/giglog_admin_page.php | 34 ++++++++++++++++-------------- 1 file changed, 18 insertions(+), 16 deletions(-) (limited to 'includes/admin/views') diff --git a/includes/admin/views/giglog_admin_page.php b/includes/admin/views/giglog_admin_page.php index 870e361..3336fbd 100644 --- a/includes/admin/views/giglog_admin_page.php +++ b/includes/admin/views/giglog_admin_page.php @@ -134,34 +134,36 @@ if ( !class_exists( 'GiglogAdmin_AdminPage' ) ) { else $c = new GiglogAdmin_Concert(); - $content='
Form to create/edit concerts and venues
' + $content='

Form to create/edit concerts and venues


'; + $content.='' + .'
CONCERT DETAILS

' .'' - .'
' + .'
' .''.GiglogAdmin_AdminPage::get_allvenues($c->venue()).'
' .'
' .'
' .'
' - .''.GiglogAdmin_AdminPage::get_user($c->id(),'photo1').'
' - .''.GiglogAdmin_AdminPage::get_user($c->id(),'photo2').'
' - .''.GiglogAdmin_AdminPage::get_user($c->id(),'rev1').'
' - .''.GiglogAdmin_AdminPage::get_user($c->id(),'rev2').'
' - ; - + .'
'; // actions differ if we update or create a concert, hence two buttons needed - if ($editing) { + if ($editing) $content.='

'; - } - else { + else $content.='

'; - } - $content.=''; + $content.='
'; + $content.='
ASSIGNMENT DETAILS

' + .''.GiglogAdmin_AdminPage::get_user($c->id(),'photo1').'
' + .''.GiglogAdmin_AdminPage::get_user($c->id(),'photo2').'
' + .''.GiglogAdmin_AdminPage::get_user($c->id(),'rev1').'
' + .''.GiglogAdmin_AdminPage::get_user($c->id(),'rev2').'
'; - $content.='

' - .'
' + $content.='
'; + $content.='
VENUE DETAILS

' + .'

' .'
' .'

' - .''; + .'
'; + $content.='
'; return $content; } -- cgit v1.2.3