");
/***** Icon to close the alert *****/
if (AlertClosable[AlertType])
fprintf (Gbl.F.Out,"
"
"
"
"
"
""
"
",
IdAlert,
Gbl.Prefs.IconsURL,
Txt_Close,Txt_Close);
/***** Write message *****/
fprintf (Gbl.F.Out,"
");
if (Txt)
fprintf (Gbl.F.Out,"%s",Txt);
fprintf (Gbl.F.Out,"
");
}
void Ale_ShowAlertAndButton2 (Act_Action_t NextAction,const char *Anchor,const char *OnSubmit,
void (*FuncParams) (),
Btn_Button_t Button,const char *TxtButton)
{
/***** Optional button *****/
if (NextAction != ActUnk &&
Button != Btn_NO_BUTTON &&
TxtButton)
if (TxtButton[0])
{
/* Start form */
Act_FormStartAnchor (NextAction,Anchor);
Act_FormStartAnchorOnSubmit (NextAction,Anchor,OnSubmit);
if (FuncParams)
FuncParams ();
/* Put button *****/
Btn_PutButton (Button,TxtButton);
/* End form */
Act_FormEnd ();
}
/***** End box *****/
fprintf (Gbl.F.Out,"