";
}
switch ($lvl) {
case ('resa_planning') :
$loginform ="
".$msg['resa_doit_etre_abon']."
";
break;
case ('avis_add') :
case ('avis_liste') :
case ('avis_save') :
case ('avis_') :
global $todo, $noticeid ;
$loginform ="
".$msg['avis_doit_etre_abon']."
";
break;
case ('tags') :
global $noticeid ;
$loginform ="
".$msg['tag_doit_etre_abon']."
";
break;
case ('make_sugg') :
$loginform ="
".$msg['sugg_doit_etre_abon']."
";
break;
//abonnement à une bannette
case "bannette_gerer":
$loginform ="
".$msg['bannette_doit_etre_abon']."
";
break;
default;
case ('resa') :
$loginform ="
".$msg['resa_doit_etre_abon']."
";
break;
}
return $loginform ;
}
function get_default_connexion_form() {
global $msg,$charset ;
global $opac_websubscribe_show,$opac_password_forgotten_show;
$loginform_forgotten='';
if($opac_password_forgotten_show) {
$loginform_forgotten="";
}
//Pose des soucis si il y a un proxy et variable SCRIPT_URI non fiable
//$url_redirect = (!empty($_SERVER['SCRIPT_URI']) ? $_SERVER['SCRIPT_URI'] : 'empr.php').(!empty($_SERVER['QUERY_STRING']) ? "?".$_SERVER['QUERY_STRING'] : "");
$url_redirect = "./empr.php";
$loginform = "