mirror of
https://github.com/fspc/Yellow-Bike-Database.git
synced 2025-02-22 08:53:23 -05:00
Returns banned list.
This commit is contained in:
parent
5695fe8b07
commit
6eba0250d6
@ -15,6 +15,12 @@ $(function(){
|
||||
$("[name='comment']").attr("tabindex",5);
|
||||
$("[name='Submit']").attr("tabindex",6);
|
||||
$(".shop_user_role").css({fontSize: ".75em", fontWeight: "bold"})
|
||||
|
||||
// return banned list
|
||||
var banned_list;
|
||||
$.post("json/contact.php", {banned: 1}, function (data) {
|
||||
banned_list = data;
|
||||
});
|
||||
|
||||
// error handler for shops with a popup dialog (TODO)
|
||||
function error_handler(input,error_span,error,error_text,event) {
|
||||
|
@ -47,6 +47,16 @@ $ssl_certificate = SSL_CERTIFICATE;
|
||||
|
||||
}
|
||||
|
||||
|
||||
// pass banned contact_id values if they exist
|
||||
if (isset($_POST['banned'])) {
|
||||
|
||||
if ($banned_individuals) {
|
||||
echo json_encode($banned_individuals);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// update email_list
|
||||
if( isset($_POST['email_list']) ) {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user