Subversion Repositories Applications.papyrus

Rev

Rev 814 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 814 Rev 833
Line 73... Line 73...
73
	//partie ressources
73
	//partie ressources
74
	$GLOBALS['ins_url']->addQueryString('voir_ressources', $id_fiche);
74
	$GLOBALS['ins_url']->addQueryString('voir_ressources', $id_fiche);
75
	$res .= '<li id="ressources"><a href="'.$GLOBALS['ins_url']->getURL().'">'.INS_RESSOURCES.'</a>'."\n".'</li>'."\n";
75
	$res .= '<li id="ressources"><a href="'.$GLOBALS['ins_url']->getURL().'">'.INS_RESSOURCES.'</a>'."\n".'</li>'."\n";
76
	$GLOBALS['ins_url']->removeQueryString('voir_ressources');
76
	$GLOBALS['ins_url']->removeQueryString('voir_ressources');
77
	//partie competences
77
	//partie competences
78
	$GLOBALS['ins_url']->addQueryString('voir_competences', $id_fiche);
78
	//$GLOBALS['ins_url']->addQueryString('voir_competences', $id_fiche);
79
	$res .= '<li id="competences"><a href="'.$GLOBALS['ins_url']->getURL().'">'.INS_COMPETENCES.'</a>'."\n".'</li>'."\n";
79
	//$res .= '<li id="competences"><a href="'.$GLOBALS['ins_url']->getURL().'">'.INS_COMPETENCES.'</a>'."\n".'</li>'."\n";
80
	$GLOBALS['ins_url']->removeQueryString('voir_competences');
80
	//$GLOBALS['ins_url']->removeQueryString('voir_competences');
81
	$res.= '</ul>'."\n";
81
	$res.= '</ul>'."\n";
82
	return $res;
82
	return $res;
83
}
83
}
Line 84... Line 84...
84
 
84
 
Line 246... Line 246...
246
 * @return  Renvoie le code HTML de la liste des inscrits
246
 * @return  Renvoie le code HTML de la liste des inscrits
247
 */
247
 */
Line 248... Line 248...
248
 
248
 
249
function listes_inscrit(& $donnees_membres, $affiche_form_mail=1) {
249
function listes_inscrit(& $donnees_membres, $affiche_form_mail=1) {
-
 
250
    $res = '';
-
 
251
    if ($GLOBALS['AUTH']->getAuth()&&$affiche_form_mail) {$res .= '<form action="'.$GLOBALS['ins_url']->getURL().'" method="post" name="formmail">'."\n";}
250
    $res = '';
252
    $res .= '<ul style="clear:both;">'."\n";
Line 251... Line 253...
251
    if ($GLOBALS['AUTH']->getAuth()&&$affiche_form_mail) {
253
    if ($GLOBALS['AUTH']->getAuth()&&$affiche_form_mail) {
252
    	
254
    	
253
    	$res .= '<form action="'.$GLOBALS['ins_url']->getURL().'" method="post" name="formmail">'."\n";
255
    	$res .= '<form action="'.$GLOBALS['ins_url']->getURL().'" method="post" name="formmail">'."\n";
Line 272... Line 274...
272
    	$res .= INS_CHECK_UNCHECK ;
274
    	$res .= INS_CHECK_UNCHECK ;
273
    	$res .= '&nbsp;<input type="checkbox" name="selecttotal" onclick="javascript:setCheckboxes(\'formmail\');"><br />';
275
    	$res .= '&nbsp;<input type="checkbox" name="selecttotal" onclick="javascript:setCheckboxes(\'formmail\');"><br />';
274
    	$res .= '<h3>'.INS_ENVOYER_MAIL.'</h3>'."\n";
276
    	$res .= '<h3>'.INS_ENVOYER_MAIL.'</h3>'."\n";
275
    	$res .= '<p style="text-align:right;">'.INS_SUJET.'&nbsp;:&nbsp;<input style="border:1px solid #000;width:450px;" type="text" name="titre_mail"><br />'."\n".
277
    	$res .= '<p style="text-align:right;">'.INS_SUJET.'&nbsp;:&nbsp;<input style="border:1px solid #000;width:450px;" type="text" name="titre_mail"><br />'."\n".
276
           		INS_MESSAGE.'&nbsp;:&nbsp;<textarea style="border:1px solid #000;width:450px;" name="corps" rows="5" cols="60"></textarea></p>'."\n".
278
           		INS_MESSAGE.'&nbsp;:&nbsp;<textarea style="border:1px solid #000;width:450px;" name="corps" rows="5" cols="60"></textarea></p>'."\n".
-
 
279
           		'<p style="width:100px;margin:4px auto;text-align:center;"><input name="bouton_envoi_mail" type="submit" value="'.INS_ENVOYER.'" /></p>'."\n".
277
           		'<p style="width:100px;margin:4px auto;text-align:center;"><input type="submit" value="'.INS_ENVOYER.'" /></p>'."\n".
280
           		'<p style="width:100px;margin:4px auto;text-align:center;"><input type="submit" value="'.INS_ENVOYER.'" /></p>'."\n".
278
           		'<input type="hidden" name="fin" value="true" /><input type="hidden" name="mailer" value="1" />'.
281
           		'<input type="hidden" name="fin" value="true" /><input type="hidden" name="mailer" value="1" />'.
279
				'</form>'."\n";
282
				'</form>'."\n";
280
	} else {
283
	} else {
281
		if ($affiche_form_mail) $res .='<br /><p class="zone_info">'.INS_PAS_IDENTIFIE.'</p>'."\n";
284
		if ($affiche_form_mail) $res .='<br /><p class="zone_info">'.INS_PAS_IDENTIFIE.'</p>'."\n";
Line 587... Line 590...
587
    $GLOBALS['titre_mail'] = '';
590
    $GLOBALS['titre_mail'] = '';
588
}
591
}
589
//-- Fin du code source    ------------------------------------------------------------
592
//-- Fin du code source    ------------------------------------------------------------
590
/*
593
/*
591
* $Log$
594
* $Log$
-
 
595
* Revision 1.4  2006/04/11 08:39:52  alexandre_tb
-
 
596
* correction de l'envoie de mail par la carto
-
 
597
*
592
* Revision 1.3  2006/04/10 14:21:51  florian
598
* Revision 1.3  2006/04/10 14:21:51  florian
593
* correction bug affichage formulaire de mail en double
599
* correction bug affichage formulaire de mail en double
594
*
600
*
595
* Revision 1.2  2006/04/10 14:15:10  florian
601
* Revision 1.2  2006/04/10 14:15:10  florian
596
* les cases à cocher apparaissent à nouveau
602
* les cases à cocher apparaissent à nouveau