summaryrefslogtreecommitdiffstats
path: root/includes/admin/views
diff options
context:
space:
mode:
authorAndreaChirulescu <andrea.chirulescu@gmail.com>2021-04-07 22:32:44 +0200
committerAndreaChirulescu <andrea.chirulescu@gmail.com>2021-04-07 22:32:44 +0200
commit1961ab720d8fcf7f13634b5beef88d5dd46bfb42 (patch)
treefd3e05cdd6f0c1550958898e1c785b5a9404e1f5 /includes/admin/views
parent6fb98b6f0f7cd077b52ec8e4f0eb9fbd72eed34d (diff)
downloadgigologadmin-1961ab720d8fcf7f13634b5beef88d5dd46bfb42.tar.gz
gigologadmin-1961ab720d8fcf7f13634b5beef88d5dd46bfb42.tar.bz2
gigologadmin-1961ab720d8fcf7f13634b5beef88d5dd46bfb42.zip
Forgot 2 returns in taken by for Reviewer 1 and 2
Improved the css for assigned/unassigned
Diffstat (limited to 'includes/admin/views')
-rw-r--r--includes/admin/views/giglog_admin_page.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/admin/views/giglog_admin_page.php b/includes/admin/views/giglog_admin_page.php
index 4bf052f..cb8a4a5 100644
--- a/includes/admin/views/giglog_admin_page.php
+++ b/includes/admin/views/giglog_admin_page.php
@@ -329,7 +329,7 @@ if ( !class_exists( 'GiglogAdmin_AdminPage' ) ) {
$vquery0 = "select wpgcl_rev1 from wpg_concertlogs where wpgcl_concertid=".$c ;
$results = $wpdb->get_results($vquery0);
foreach ( $results AS $row ) $x= $row -> wpgcl_rev1;
- if ($x !='' and $x!=$hf_username) { ('<span class="takenby">Taken</span><div class="takenby">Taken by '.$x.'</div>'); }
+ if ($x !='' and $x!=$hf_username) { return('<span class="takenby">Taken</span><div class="takenby">Taken by '.$x.'</div>'); }
else
if ($x==$hf_username) //if current user
return ('<form class="unassignit" method="POST" action=""> <input type="hidden" name="cid" value="' . $c. '" /><input type="hidden" name="pid" value="' . $p1. '" /><input type="submit" name="unassignitem" value=""/>
@@ -345,7 +345,7 @@ if ( !class_exists( 'GiglogAdmin_AdminPage' ) ) {
$vquery0 = "select wpgcl_rev2 from wpg_concertlogs where wpgcl_concertid=".$c ;
$results = $wpdb->get_results($vquery0);
foreach ( $results AS $row ) $x= $row -> wpgcl_rev2;
- if ($x !='' and $x!=$hf_username) { ('<span class="takenby">Taken</span><div class="takenby">Taken by '.$x.'</div>'); }
+ if ($x !='' and $x!=$hf_username) { return('<span class="takenby">Taken</span><div class="takenby">Taken by '.$x.'</div>'); }
else
if ($x==$hf_username) //if current user
return ('<form class="unassignit" method="POST" action=""> <input type="hidden" name="cid" value="' . $c. '" /><input type="hidden" name="pid" value="' . $p1. '" /><input type="submit" name="unassignitem" value=""/>