Commit f026909a authored by jlaval's avatar jlaval
Browse files

* Test

parent 4b2d5773
......@@ -127,7 +127,7 @@ if ( $_REQUEST["action"] == "addonglet" )
if( !$blog->is_valid() )
$name = null;
}
elseif ( $_REQUEST["typepage"] == "pull" && $site->asso->id == 110) {
elseif ( $_REQUEST["typepage"] == "pull" && $site->asso->id == 1) {
$lien = "inscriptions_pull.php";
$name = "inscriptions";
}
......@@ -507,6 +507,11 @@ if ( $_REQUEST["view"] == "" )
$sfrm = new form("typepage",null,null,null,"Blog");
$frm->add($sfrm,false,true,false,"blog",false,true);
}
if ( !isset($dejafait["inscriptions"]) && $site->asso->id == 1)
{
$sfrm = new form("typepage",null,null,null,"Inscriptions PULL");
$frm->add($sfrm,false,true,false,"pull",false,true);
}
$frm->add_submit("save","Ajouter");
$cts->add ( $frm );
......
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