Commit c4808616 authored by mbriand's avatar mbriand
Browse files

Bleh

parent 4e4db7c0
......@@ -85,6 +85,9 @@ elseif ( ($_REQUEST["action"] == "save") && $can_edit )
$_REQUEST['title'],
$_REQUEST['debut'],
$_REQUEST['fin']);
if ($site->user->is_in_group("moderateur_site"))
$affiche->validate($site->user->id);
}
}
......@@ -252,6 +255,9 @@ if ( $suitable && isset($_REQUEST["submit"]) )
$_REQUEST['debut'],
$_REQUEST['fin']);
if ($site->user->is_in_group("moderateur_site"))
$affiche->validate($site->user->id);
unset($_REQUEST["debut"]);
unset($_REQUEST["fin"]);
unset($_REQUEST["id_asso"]);
......
......@@ -98,6 +98,9 @@ elseif ( ($_REQUEST["action"] == "save") && $can_edit )
$_REQUEST['content'],
false,null,$_REQUEST["type"],$lieu->id,NEWS_CANAL_SITE);
$news->set_tags($_REQUEST["tags"]);
if ($site->user->is_in_group("moderateur_site"))
$news->validate($site->user->id);
}
}
......@@ -318,6 +321,10 @@ if ( $suitable && isset($_REQUEST["submit"]) )
$news->add_date($debut,$fin);
}
}
if ($site->user->is_in_group("moderateur_site"))
$news->validate($site->user->id);
unset($_REQUEST["dates"]);
unset($_REQUEST["debut"]);
unset($_REQUEST["fin"]);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment