Version 15.240

This commit is contained in:
Antonio Cañas Vargas 2016-07-01 17:13:41 +02:00
parent 70a93af3c9
commit 56494cf01d
39 changed files with 164 additions and 162 deletions

View File

@ -4662,20 +4662,20 @@ void Act_FormEnd (void)
/*****************************************************************************/
// Requires an extern </a>
void Act_LinkFormSubmit (const char *Title,const char *LinkStyle)
void Act_LinkFormSubmit (const char *Title,const char *LinkStyle,const char *Function)
{
Act_LinkFormSubmitId (Title,LinkStyle,Gbl.Form.Id);
Act_LinkFormSubmitId (Title,LinkStyle,Gbl.Form.Id,Function);
}
void Act_LinkFormSubmitUnique (const char *Title,const char *LinkStyle)
{
Act_LinkFormSubmitId (Title,LinkStyle,Gbl.Form.UniqueId);
Act_LinkFormSubmitId (Title,LinkStyle,Gbl.Form.UniqueId,NULL);
}
// Title can be NULL
// LinkStyle can be NULL
// Id can not be NULL
void Act_LinkFormSubmitId (const char *Title,const char *LinkStyle,const char *Id)
void Act_LinkFormSubmitId (const char *Title,const char *LinkStyle,const char *Id,const char *Function)
{
fprintf (Gbl.F.Out,"<a href=\"\"");
if (Title)
@ -4684,13 +4684,16 @@ void Act_LinkFormSubmitId (const char *Title,const char *LinkStyle,const char *I
if (LinkStyle)
if (LinkStyle[0])
fprintf (Gbl.F.Out," class=\"%s\"",LinkStyle);
fprintf (Gbl.F.Out," onclick=\""
"document.getElementById('%s').submit();"
"return false;\">",
fprintf (Gbl.F.Out," onclick=\"");
if (Function)
if (Function[0])
fprintf (Gbl.F.Out,"%s;",Function);
fprintf (Gbl.F.Out,"document.getElementById('%s').submit();"
"return false;\">",
Id);
}
void Act_LinkFormSubmitFunction (const char *Title,const char *LinkStyle,const char *Function)
void Act_LinkFormSubmitAnimated (const char *Title,const char *LinkStyle,const char *Function)
{
fprintf (Gbl.F.Out,"<a href=\"\"");
if (Title)
@ -4699,25 +4702,11 @@ void Act_LinkFormSubmitFunction (const char *Title,const char *LinkStyle,const c
if (LinkStyle)
if (LinkStyle[0])
fprintf (Gbl.F.Out," class=\"%s\"",LinkStyle);
fprintf (Gbl.F.Out," onclick=\""
"%s;"
"document.getElementById('%s').submit();"
"return false;\">",
Function,
Gbl.Form.Id);
}
void Act_LinkFormSubmitAnimated (const char *Title,const char *LinkStyle)
{
fprintf (Gbl.F.Out,"<a href=\"\"");
if (Title)
if (Title[0])
fprintf (Gbl.F.Out," title=\"%s\"",Title);
if (LinkStyle)
if (LinkStyle[0])
fprintf (Gbl.F.Out," class=\"%s\"",LinkStyle);
fprintf (Gbl.F.Out," onclick=\""
"AnimateIcon(%d);"
fprintf (Gbl.F.Out," onclick=\"");
if (Function)
if (Function[0])
fprintf (Gbl.F.Out,"%s;",Function);
fprintf (Gbl.F.Out,"AnimateIcon(%d);"
"document.getElementById('%s').submit();"
"return false;\">",
Gbl.Form.Num,

View File

@ -1504,11 +1504,10 @@ void Act_FormStartUniqueAnchor (Act_Action_t NextAction,const char *Anchor);
void Act_FormStartId (Act_Action_t NextAction,const char *Id);
void Act_SetParamsForm (char *ParamsStr,Act_Action_t NextAction,bool PutParameterLocationIfNoSesion);
void Act_FormEnd (void);
void Act_LinkFormSubmit (const char *Title,const char *LinkStyle);
void Act_LinkFormSubmit (const char *Title,const char *LinkStyle,const char *Function);
void Act_LinkFormSubmitUnique (const char *Title,const char *LinkStyle);
void Act_LinkFormSubmitId (const char *Title,const char *LinkStyle,const char *Id);
void Act_LinkFormSubmitFunction (const char *Title,const char *LinkStyle,const char *Function);
void Act_LinkFormSubmitAnimated (const char *Title,const char *LinkStyle);
void Act_LinkFormSubmitId (const char *Title,const char *LinkStyle,const char *Id,const char *Function);
void Act_LinkFormSubmitAnimated (const char *Title,const char *LinkStyle,const char *Function);
void Act_SetUniqueId (char UniqueId[Act_MAX_LENGTH_ID]);

View File

@ -380,7 +380,7 @@ static void Ann_DrawAnAnnouncement (long AnnCod,Ann_Status_t Status,
/* Form to mark announcement as seen */
Act_FormStart (ActAnnSee);
Ann_PutHiddenParamAnnCod (AnnCod);
Act_LinkFormSubmit (Txt_Do_not_show_again,The_ClassForm[Gbl.Prefs.Theme]);
Act_LinkFormSubmit (Txt_Do_not_show_again,The_ClassForm[Gbl.Prefs.Theme],NULL);
fprintf (Gbl.F.Out,"<img src=\"%s/remove-on64x64.png\""
" alt=\"%s\" title=\"%s\""
" class=\"ICON20x20\" />"

View File

@ -158,7 +158,7 @@ static void Asg_ShowAllAssignments (void)
Grp_PutParamWhichGrps ();
Pag_PutHiddenParamPagNum (Gbl.Pag.CurrentPage);
Par_PutHiddenParamUnsigned ("Order",(unsigned) Order);
Act_LinkFormSubmit (Txt_ASG_ATT_OR_SVY_HELP_ORDER[Order],"TIT_TBL");
Act_LinkFormSubmit (Txt_ASG_ATT_OR_SVY_HELP_ORDER[Order],"TIT_TBL",NULL);
if (Order == Gbl.Asgs.SelectedOrderType)
fprintf (Gbl.F.Out,"<u>");
fprintf (Gbl.F.Out,"%s",Txt_ASG_ATT_OR_SVY_ORDER[Order]);

View File

@ -225,7 +225,7 @@ static void Att_ShowAllAttEvents (void)
Grp_PutParamWhichGrps ();
Pag_PutHiddenParamPagNum (Gbl.Pag.CurrentPage);
Par_PutHiddenParamUnsigned ("Order",(unsigned) Order);
Act_LinkFormSubmit (Txt_ASG_ATT_OR_SVY_HELP_ORDER[Order],"TIT_TBL");
Act_LinkFormSubmit (Txt_ASG_ATT_OR_SVY_HELP_ORDER[Order],"TIT_TBL",NULL);
if (Order == Gbl.AttEvents.SelectedOrderType)
fprintf (Gbl.F.Out,"<u>");
fprintf (Gbl.F.Out,"%s",Txt_ASG_ATT_OR_SVY_ORDER[Order]);
@ -386,7 +386,7 @@ static void Att_ShowOneAttEvent (struct AttendanceEvent *Att,bool ShowOnlyThisAt
Att_PutParamAttCod (Att->AttCod);
Att_PutParamsCodGrps (Att->AttCod);
Act_LinkFormSubmit (Txt_View_event,Att->Hidden ? "ASG_TITLE_LIGHT" :
"ASG_TITLE");
"ASG_TITLE",NULL);
fprintf (Gbl.F.Out,"%s</a>",Att->Title);
Act_FormEnd ();
fprintf (Gbl.F.Out,"</td>");
@ -3045,7 +3045,8 @@ static void Att_ListEventsToSelect (Att_TypeOfView_t TypeOfView)
fprintf (Gbl.F.Out,"<tr>"
"<td colspan=\"4\" class=\"CENTER_MIDDLE\">");
Act_LinkFormSubmitAnimated (Txt_Update_attendance_according_to_selected_events,
The_ClassFormBold[Gbl.Prefs.Theme]);
The_ClassFormBold[Gbl.Prefs.Theme],
NULL);
Lay_PutCalculateIconWithText (Txt_Update_attendance_according_to_selected_events,
Txt_Update_attendance);
fprintf (Gbl.F.Out,"</td>"

View File

@ -918,7 +918,7 @@ void Ban_WriteMenuWithBanners (void)
Act_FormStart (ActClkBan);
Ban_PutParamBanCod (Gbl.Banners.Lst[NumBan].BanCod);
Par_PutHiddenParamString ("URL",Gbl.Banners.Lst[NumBan].WWW);
Act_LinkFormSubmit (Gbl.Banners.Lst[NumBan].FullName,"BANNER");
Act_LinkFormSubmit (Gbl.Banners.Lst[NumBan].FullName,"BANNER",NULL);
fprintf (Gbl.F.Out,"<img src=\"%s/%s/%s\""
" alt=\"%s\" title=\"%s\""
" class=\"BANNER\" />"

View File

@ -216,7 +216,7 @@ void Ctr_DrawCentreLogoAndNameWithLink (struct Centre *Ctr,Act_Action_t Action,
/***** Link to action *****/
sprintf (Gbl.Title,Txt_Go_to_X,Ctr->FullName);
Act_LinkFormSubmit (Gbl.Title,ClassLink);
Act_LinkFormSubmit (Gbl.Title,ClassLink,NULL);
/***** Draw centre logo *****/
Log_DrawLogo (Sco_SCOPE_CTR,Ctr->CtrCod,Ctr->ShortName,20,ClassLogo,true);
@ -484,7 +484,7 @@ static void Ctr_Configuration (bool PrintView)
Ctr_PutParamCtrCod (Gbl.CurrentCtr.Ctr.CtrCod);
sprintf (Gbl.Title,Txt_Degrees_of_CENTRE_X,
Gbl.CurrentCtr.Ctr.ShortName);
Act_LinkFormSubmit (Gbl.Title,"DAT");
Act_LinkFormSubmit (Gbl.Title,"DAT",NULL);
fprintf (Gbl.F.Out,"%u</a>",
Deg_GetNumDegsInCtr (Gbl.CurrentCtr.Ctr.CtrCod));
Act_FormEnd ();
@ -2374,7 +2374,7 @@ static void Ctr_PutHeadCentresForSeeing (bool OrderSelectable)
{
Act_FormStart (ActSeeCtr);
Par_PutHiddenParamUnsigned ("Order",(unsigned) Order);
Act_LinkFormSubmit (Txt_CENTRES_HELP_ORDER[Order],"TIT_TBL");
Act_LinkFormSubmit (Txt_CENTRES_HELP_ORDER[Order],"TIT_TBL",NULL);
if (Order == Gbl.Ctrs.SelectedOrderType)
fprintf (Gbl.F.Out,"<u>");
}

View File

@ -133,13 +133,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 15.239 (2016-07-01)"
#define Log_PLATFORM_VERSION "SWAD 15.240 (2016-07-01)"
#define CSS_FILE "swad15.229.css"
#define JS_FILE "swad15.238.1.js"
// Number of lines (includes comments but not blank lines) has been got with the following command:
// nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*.h sql/swad*.sql | tail -1
/*
Version 15.240: Jul 01, 2015 Copy subject and content of message to hidden param when clicking on link. (203534 lines)
Version 15.239: Jul 01, 2015 Code refactoring related to contextual menus. (203531 lines)
Version 15.238.1: Jul 01, 2015 New javascript function to animate icon. (203292 lines)
Version 15.238: Jul 01, 2015 Hidden fields in in selectors of class photo / list with message subject and content. (203274 lines)

View File

@ -305,7 +305,7 @@ static void Cht_WriteLinkToChat1 (const char *RoomCode,const char *RoomShortName
Lay_IndentDependingOnLevel (Level,IsLastItemInLevel);
Act_FormStart (ActCht);
Cht_WriteParamsRoomCodeAndNames (RoomCode,RoomShortName,RoomFullName);
Act_LinkFormSubmit (RoomFullName,The_ClassForm[Gbl.Prefs.Theme]);
Act_LinkFormSubmit (RoomFullName,The_ClassForm[Gbl.Prefs.Theme],NULL);
}
static void Cht_WriteLinkToChat2 (const char *RoomCode,const char *RoomFullName)

View File

@ -121,7 +121,8 @@ static void Con_PutIconToUpdateConnected (void)
Act_FormStart (ActLstCon);
Sco_PutParamScope ("ScopeCon",Gbl.Scope.Current);
Act_LinkFormSubmitAnimated (Txt_Update,The_ClassFormBold[Gbl.Prefs.Theme]);
Act_LinkFormSubmitAnimated (Txt_Update,The_ClassFormBold[Gbl.Prefs.Theme],
NULL);
Lay_PutCalculateIcon (Txt_Update);
Act_FormEnd ();
}
@ -1279,7 +1280,7 @@ static void Con_ShowConnectedUsrsCurrentLocationOneByOneOnMainZone (Rol_Role_t R
Act_FormStart ((Role == Rol_STUDENT) ? ActSeeRecOneStd :
ActSeeRecOneTch);
Usr_PutParamUsrCodEncrypted (UsrDat.EncryptedUsrCod);
Act_LinkFormSubmit (UsrDat.FullName,Font);
Act_LinkFormSubmit (UsrDat.FullName,Font,NULL);
}
Usr_RestrictLengthAndWriteName (&UsrDat,40);
if (PutLinkToRecord)

View File

@ -359,7 +359,7 @@ static void Cty_Configuration (bool PrintView)
Cty_PutParamCtyCod (Gbl.CurrentCty.Cty.CtyCod);
sprintf (Gbl.Title,Txt_Institutions_of_COUNTRY_X,
Gbl.CurrentCty.Cty.Name[Gbl.Prefs.Language]);
Act_LinkFormSubmit (Gbl.Title,"DAT");
Act_LinkFormSubmit (Gbl.Title,"DAT",NULL);
fprintf (Gbl.F.Out,"%u</a>",
Ins_GetNumInssInCty (Gbl.CurrentCty.Cty.CtyCod));
Act_FormEnd ();
@ -524,7 +524,7 @@ void Cty_ListCountries2 (void)
"RIGHT_MIDDLE");
Act_FormStart (ActSeeCty);
Par_PutHiddenParamUnsigned ("Order",(unsigned) Order);
Act_LinkFormSubmit (Txt_COUNTRIES_HELP_ORDER[Order],"TIT_TBL");
Act_LinkFormSubmit (Txt_COUNTRIES_HELP_ORDER[Order],"TIT_TBL",NULL);
if (Order == Gbl.Ctys.SelectedOrderType)
fprintf (Gbl.F.Out,"<u>");
fprintf (Gbl.F.Out,"%s",Txt_COUNTRIES_ORDER[Order]);
@ -732,7 +732,7 @@ void Cty_DrawCountryMapAndNameWithLink (struct Country *Cty,Act_Action_t Action,
/***** Link to action *****/
sprintf (Gbl.Title,Txt_Go_to_X,Cty->Name[Gbl.Prefs.Language]);
Act_LinkFormSubmit (Gbl.Title,ClassLink);
Act_LinkFormSubmit (Gbl.Title,ClassLink,NULL);
/***** Draw country map *****/
Cty_DrawCountryMap (Cty,ClassMap);
@ -1138,7 +1138,7 @@ void Cty_WriteCountryName (long CtyCod,const char *Class)
Act_FormStart (ActSeeCtyInf);
Cty_PutParamCtyCod (CtyCod);
Act_LinkFormSubmit (Act_GetActionTextFromDB (Act_Actions[ActSeeCtyInf].ActCod,ActTxt),
Class);
Class,NULL);
fprintf (Gbl.F.Out,"%s</a>",CtyName);
Act_FormEnd ();
}

View File

@ -372,7 +372,7 @@ static void Crs_Configuration (bool PrintView)
Act_FormStart (ActReqStaCrs);
sprintf (Gbl.Title,"%u %s %u",
Indicators.NumIndicators,Txt_of_PART_OF_A_TOTAL,Ind_NUM_INDICATORS);
Act_LinkFormSubmit (Gbl.Title,"DAT");
Act_LinkFormSubmit (Gbl.Title,"DAT",NULL);
fprintf (Gbl.F.Out,"%s "
"<img src=\"%s/%s16x16.gif\" alt=\"%s\""
" class=\"ICON20x20\" />",
@ -470,7 +470,7 @@ static void Crs_WriteListMyCoursesToSelectOne (void)
Cty_PutParamCtyCod (-1L);
Act_LinkFormSubmit (Txt_System,
Highlight ? ClassHighlight :
ClassNormal);
ClassNormal,NULL);
fprintf (Gbl.F.Out,"<img src=\"%s/sys64x64.gif\""
" alt=\"%s\" title=\"%s\""
" class=\"ICON20x20\" />&nbsp;%s</a>",
@ -507,7 +507,7 @@ static void Crs_WriteListMyCoursesToSelectOne (void)
Cty_PutParamCtyCod (Cty.CtyCod);
Act_LinkFormSubmit (Act_GetActionTextFromDB (Act_Actions[ActSeeCtyInf].ActCod,ActTxt),
Highlight ? ClassHighlight :
ClassNormal);
ClassNormal,NULL);
/* Country map */
fprintf (Gbl.F.Out,"<img src=\"%s/%s/%s/%s.png\""
" alt=\"%s\" title=\"%s\""
@ -548,7 +548,7 @@ static void Crs_WriteListMyCoursesToSelectOne (void)
Ins_PutParamInsCod (Ins.InsCod);
Act_LinkFormSubmit (Act_GetActionTextFromDB (Act_Actions[ActSeeInsInf].ActCod,ActTxt),
Highlight ? ClassHighlight :
ClassNormal);
ClassNormal,NULL);
Log_DrawLogo (Sco_SCOPE_INS,Ins.InsCod,Ins.ShortName,20,NULL,true);
strcpy (InsFullName,Ins.FullName);
Str_LimitLengthHTMLStr (InsFullName,Crs_MAX_BYTES_TXT_LINK);
@ -583,7 +583,7 @@ static void Crs_WriteListMyCoursesToSelectOne (void)
Ctr_PutParamCtrCod (Ctr.CtrCod);
Act_LinkFormSubmit (Act_GetActionTextFromDB (Act_Actions[ActSeeCtrInf].ActCod,ActTxt),
Highlight ? ClassHighlight :
ClassNormal);
ClassNormal,NULL);
Log_DrawLogo (Sco_SCOPE_CTR,Ctr.CtrCod,Ctr.ShortName,20,NULL,true);
strcpy (CtrFullName,Ctr.FullName);
Str_LimitLengthHTMLStr (CtrFullName,Crs_MAX_BYTES_TXT_LINK);
@ -618,7 +618,7 @@ static void Crs_WriteListMyCoursesToSelectOne (void)
Deg_PutParamDegCod (Deg.DegCod);
Act_LinkFormSubmit (Act_GetActionTextFromDB (Act_Actions[ActSeeDegInf].ActCod,ActTxt),
Highlight ? ClassHighlight :
ClassNormal);
ClassNormal,NULL);
Log_DrawLogo (Sco_SCOPE_DEG,Deg.DegCod,Deg.ShortName,20,NULL,true);
strcpy (DegFullName,Deg.FullName);
Str_LimitLengthHTMLStr (DegFullName,Crs_MAX_BYTES_TXT_LINK);
@ -653,7 +653,7 @@ static void Crs_WriteListMyCoursesToSelectOne (void)
sprintf (Gbl.Title,Txt_Go_to_X,Crs.ShortName);
Act_LinkFormSubmit (Gbl.Title,
Highlight ? ClassHighlight :
ClassNormal);
ClassNormal,NULL);
fprintf (Gbl.F.Out,"<img src=\"%s/dot64x64.png\""
" alt=\"%s\" title=\"%s\""
" class=\"ICON20x20\" />",
@ -1242,7 +1242,7 @@ static bool Crs_ListCoursesOfAYearForSeeing (unsigned Year)
Act_FormGoToStart (ActSeeCrsInf);
Crs_PutParamCrsCod (Crs->CrsCod);
sprintf (Gbl.Title,Txt_Go_to_X,Crs->FullName);
Act_LinkFormSubmit (Gbl.Title,TxtClassStrong);
Act_LinkFormSubmit (Gbl.Title,TxtClassStrong,NULL);
fprintf (Gbl.F.Out,"%s</a>",
Crs->FullName);
Act_FormEnd ();
@ -3210,7 +3210,7 @@ static void Crs_WriteRowCrsData (unsigned NumCrs,MYSQL_ROW row,bool WriteColumnA
Act_FormGoToStart (ActSeeDegInf);
Deg_PutParamDegCod (Deg.DegCod);
sprintf (Gbl.Title,Txt_Go_to_X,row[2]);
Act_LinkFormSubmit (Gbl.Title,StyleNoBR);
Act_LinkFormSubmit (Gbl.Title,StyleNoBR,NULL);
Log_DrawLogo (Sco_SCOPE_DEG,Deg.DegCod,Deg.ShortName,20,"CENTER_TOP",true);
fprintf (Gbl.F.Out," %s (%s)"
"</a>",
@ -3230,7 +3230,7 @@ static void Crs_WriteRowCrsData (unsigned NumCrs,MYSQL_ROW row,bool WriteColumnA
Act_FormGoToStart (ActSeeCrsInf);
Crs_PutParamCrsCod (CrsCod);
sprintf (Gbl.Title,Txt_Go_to_X,row[6]);
Act_LinkFormSubmit (Gbl.Title,Style);
Act_LinkFormSubmit (Gbl.Title,Style,NULL);
fprintf (Gbl.F.Out,"%s</a>",row[5]);
Act_FormEnd ();
fprintf (Gbl.F.Out,"</td>");

View File

@ -247,7 +247,7 @@ void Deg_DrawDegreeLogoAndNameWithLink (struct Degree *Deg,Act_Action_t Action,
/***** Link to action *****/
sprintf (Gbl.Title,Txt_Go_to_X,Deg->FullName);
Act_LinkFormSubmit (Gbl.Title,ClassLink);
Act_LinkFormSubmit (Gbl.Title,ClassLink,NULL);
/***** Draw degree logo *****/
Log_DrawLogo (Sco_SCOPE_DEG,Deg->DegCod,Deg->ShortName,20,ClassLogo,true);
@ -425,7 +425,7 @@ static void Deg_Configuration (bool PrintView)
Deg_PutParamDegCod (Gbl.CurrentDeg.Deg.DegCod);
sprintf (Gbl.Title,Txt_Courses_of_DEGREE_X,
Gbl.CurrentDeg.Deg.ShortName);
Act_LinkFormSubmit (Gbl.Title,"DAT");
Act_LinkFormSubmit (Gbl.Title,"DAT",NULL);
fprintf (Gbl.F.Out,"%u</a>",
Crs_GetNumCrssInDeg (Gbl.CurrentDeg.Deg.DegCod));
Act_FormEnd ();
@ -671,7 +671,7 @@ void Deg_WriteHierarchyBreadcrumb (void)
/***** Form to go to the system *****/
Act_FormGoToStart (ActMnu);
Par_PutHiddenParamUnsigned ("NxtTab",(unsigned) TabSys);
Act_LinkFormSubmit (Txt_System,ClassOn);
Act_LinkFormSubmit (Txt_System,ClassOn,NULL);
fprintf (Gbl.F.Out,"%s</a>",Txt_System);
Act_FormEnd ();
@ -683,7 +683,7 @@ void Deg_WriteHierarchyBreadcrumb (void)
/***** Form to go to see institutions of this country *****/
Act_FormGoToStart (ActSeeIns);
Cty_PutParamCtyCod (Gbl.CurrentCty.Cty.CtyCod);
Act_LinkFormSubmit (Gbl.CurrentCty.Cty.Name[Gbl.Prefs.Language],ClassOn);
Act_LinkFormSubmit (Gbl.CurrentCty.Cty.Name[Gbl.Prefs.Language],ClassOn,NULL);
fprintf (Gbl.F.Out,"%s</a>",
Gbl.CurrentCty.Cty.Name[Gbl.Prefs.Language]);
Act_FormEnd ();
@ -695,7 +695,7 @@ void Deg_WriteHierarchyBreadcrumb (void)
/***** Form to go to select countries *****/
Act_FormGoToStart (ActSeeCty);
Act_LinkFormSubmit (Txt_Country,ClassSemiOff);
Act_LinkFormSubmit (Txt_Country,ClassSemiOff,NULL);
fprintf (Gbl.F.Out,"%s</a>",Txt_Country);
Act_FormEnd ();
}
@ -708,7 +708,7 @@ void Deg_WriteHierarchyBreadcrumb (void)
/***** Form to see centres of this institution *****/
Act_FormGoToStart (ActSeeCtr);
Ins_PutParamInsCod (Gbl.CurrentIns.Ins.InsCod);
Act_LinkFormSubmit (Gbl.CurrentIns.Ins.FullName,ClassOn);
Act_LinkFormSubmit (Gbl.CurrentIns.Ins.FullName,ClassOn,NULL);
fprintf (Gbl.F.Out,"%s</a>",
Gbl.CurrentIns.Ins.ShortName);
Act_FormEnd ();
@ -720,7 +720,7 @@ void Deg_WriteHierarchyBreadcrumb (void)
/***** Form to go to select institutions *****/
Act_FormGoToStart (ActSeeIns);
Act_LinkFormSubmit (Txt_Institution,ClassSemiOff);
Act_LinkFormSubmit (Txt_Institution,ClassSemiOff,NULL);
fprintf (Gbl.F.Out,"%s</a>",Txt_Institution);
Act_FormEnd ();
}
@ -737,7 +737,7 @@ void Deg_WriteHierarchyBreadcrumb (void)
/***** Form to see degrees of this centre *****/
Act_FormGoToStart (ActSeeDeg);
Ctr_PutParamCtrCod (Gbl.CurrentCtr.Ctr.CtrCod);
Act_LinkFormSubmit (Gbl.CurrentCtr.Ctr.FullName,ClassOn);
Act_LinkFormSubmit (Gbl.CurrentCtr.Ctr.FullName,ClassOn,NULL);
fprintf (Gbl.F.Out,"%s</a>",
Gbl.CurrentCtr.Ctr.ShortName);
Act_FormEnd ();
@ -749,7 +749,7 @@ void Deg_WriteHierarchyBreadcrumb (void)
/***** Form to go to select centres *****/
Act_FormGoToStart (ActSeeCtr);
Act_LinkFormSubmit (Txt_Centre,ClassSemiOff);
Act_LinkFormSubmit (Txt_Centre,ClassSemiOff,NULL);
fprintf (Gbl.F.Out,"%s</a>",Txt_Centre);
Act_FormEnd ();
}
@ -766,7 +766,7 @@ void Deg_WriteHierarchyBreadcrumb (void)
/***** Form to go to see courses of this degree *****/
Act_FormGoToStart (ActSeeCrs);
Deg_PutParamDegCod (Gbl.CurrentDeg.Deg.DegCod);
Act_LinkFormSubmit (Gbl.CurrentDeg.Deg.FullName,ClassOn);
Act_LinkFormSubmit (Gbl.CurrentDeg.Deg.FullName,ClassOn,NULL);
strcpy (DegreeShortName,Gbl.CurrentDeg.Deg.ShortName);
Str_LimitLengthHTMLStr (DegreeShortName,
Deg_MAX_LENGTH_SHORT_NAME_DEGREE_ON_PAGE_HEAD);
@ -781,7 +781,7 @@ void Deg_WriteHierarchyBreadcrumb (void)
/***** Form to go to select degrees *****/
Act_FormGoToStart (ActSeeDeg);
Act_LinkFormSubmit (Txt_Degree,ClassSemiOff);
Act_LinkFormSubmit (Txt_Degree,ClassSemiOff,NULL);
fprintf (Gbl.F.Out,"%s</a>",Txt_Degree);
Act_FormEnd ();
}

View File

@ -108,7 +108,7 @@ void Dpt_SeeDepts (void)
fprintf (Gbl.F.Out,"<th class=\"LEFT_MIDDLE\">");
Act_FormStart (ActSeeDpt);
Par_PutHiddenParamUnsigned ("Order",(unsigned) Order);
Act_LinkFormSubmit (Txt_DEPARTMENTS_HELP_ORDER[Order],"TIT_TBL");
Act_LinkFormSubmit (Txt_DEPARTMENTS_HELP_ORDER[Order],"TIT_TBL",NULL);
if (Order == Gbl.Dpts.SelectedOrderType)
fprintf (Gbl.F.Out,"<u>");
fprintf (Gbl.F.Out,"%s",Txt_DEPARTMENTS_ORDER[Order]);

View File

@ -2802,7 +2802,7 @@ static void Enr_ShowEnrollmentRequestsGivenRoles (unsigned RolesSelected)
Act_FormGoToStart (ActSeeCrsInf);
Crs_PutParamCrsCod (Crs.CrsCod);
sprintf (Gbl.Title,Txt_Go_to_X,Crs.FullName);
Act_LinkFormSubmit (Gbl.Title,"DAT");
Act_LinkFormSubmit (Gbl.Title,"DAT",NULL);
fprintf (Gbl.F.Out,"%s &gt; %s"
"</a>",
Deg.ShortName,Crs.ShortName);

View File

@ -3435,7 +3435,7 @@ static void Brw_ShowDataOwnerAsgWrk (struct UsrData *UsrDat)
fprintf (Gbl.F.Out,"<br />");
sprintf (Gbl.Title,Txt_Write_a_message_to_X,
UsrDat->FullName);
Act_LinkFormSubmit (Gbl.Title,"MSG_AUT");
Act_LinkFormSubmit (Gbl.Title,"MSG_AUT",NULL);
fprintf (Gbl.F.Out,"%s",UsrDat->Surname1);
if (UsrDat->Surname2[0])
fprintf (Gbl.F.Out," %s",UsrDat->Surname2);
@ -5846,7 +5846,7 @@ static void Brw_PutIconFileWithLinkToViewMetadata (unsigned Size,
FileNameToShow);
/* Link to the form and to the file */
Act_LinkFormSubmit (Gbl.Title,Gbl.FileBrowser.TxtStyle);
Act_LinkFormSubmit (Gbl.Title,Gbl.FileBrowser.TxtStyle,NULL);
/***** Icon depending on the file extension *****/
Brw_PutIconFile (Size,FileMetadata->FileType,FileMetadata->FilFolLnkName);
@ -6006,7 +6006,7 @@ static void Brw_WriteFileName (unsigned Level,bool IsPublic,Brw_FileType_t FileT
Gbl.FileBrowser.Type == Brw_SHOW_MARKS_GRP) ? Txt_Check_marks_in_file_X :
Txt_Download_FILE_OR_LINK_X,
FileNameToShow);
Act_LinkFormSubmit (Gbl.Title,Gbl.FileBrowser.TxtStyle);
Act_LinkFormSubmit (Gbl.Title,Gbl.FileBrowser.TxtStyle,NULL);
fprintf (Gbl.F.Out,"%s</a>",
FileNameToShow);
Act_FormEnd ();
@ -9855,7 +9855,7 @@ static void Brw_WriteBigLinkToDownloadFile (const char *URL,
/* Link begin */
sprintf (Gbl.Title,Txt_Check_marks_in_file_X,FileNameToShow);
Act_LinkFormSubmit (Gbl.Title,"FILENAME");
Act_LinkFormSubmit (Gbl.Title,"FILENAME",NULL);
Brw_PutIconFile (32,FileMetadata->FileType,FileMetadata->FilFolLnkName);
/* Name of the file of marks, link end and form end */
@ -9920,7 +9920,7 @@ static void Brw_WriteSmallLinkToDownloadFile (const char *URL,Brw_FileType_t Fil
/* Link begin */
sprintf (Gbl.Title,Txt_Check_marks_in_file_X,FileNameToShow);
Act_LinkFormSubmit (Gbl.Title,"DAT");
Act_LinkFormSubmit (Gbl.Title,"DAT",NULL);
/* Name of the file of marks, link end and form end */
fprintf (Gbl.F.Out,"%s</a>",FileNameToShow);
@ -11626,7 +11626,7 @@ static void Brw_WriteRowDocData (unsigned *NumDocsNotHidden,MYSQL_ROW row)
Act_FormGoToStart (ActSeeInsInf);
Deg_PutParamDegCod (InsCod);
sprintf (Gbl.Title,Txt_Go_to_X,InsShortName);
Act_LinkFormSubmit (Gbl.Title,"DAT");
Act_LinkFormSubmit (Gbl.Title,"DAT",NULL);
Log_DrawLogo (Sco_SCOPE_INS,InsCod,InsShortName,20,"CENTER_TOP",true);
fprintf (Gbl.F.Out,"&nbsp;%s</a>",InsShortName);
Act_FormEnd ();
@ -11641,7 +11641,7 @@ static void Brw_WriteRowDocData (unsigned *NumDocsNotHidden,MYSQL_ROW row)
Act_FormGoToStart (ActSeeCtrInf);
Deg_PutParamDegCod (CtrCod);
sprintf (Gbl.Title,Txt_Go_to_X,CtrShortName);
Act_LinkFormSubmit (Gbl.Title,"DAT");
Act_LinkFormSubmit (Gbl.Title,"DAT",NULL);
Log_DrawLogo (Sco_SCOPE_CTR,CtrCod,CtrShortName,20,"CENTER_TOP",true);
fprintf (Gbl.F.Out,"&nbsp;%s</a>",CtrShortName);
Act_FormEnd ();
@ -11656,7 +11656,7 @@ static void Brw_WriteRowDocData (unsigned *NumDocsNotHidden,MYSQL_ROW row)
Act_FormGoToStart (ActSeeDegInf);
Deg_PutParamDegCod (DegCod);
sprintf (Gbl.Title,Txt_Go_to_X,DegShortName);
Act_LinkFormSubmit (Gbl.Title,"DAT");
Act_LinkFormSubmit (Gbl.Title,"DAT",NULL);
Log_DrawLogo (Sco_SCOPE_DEG,DegCod,DegShortName,20,"CENTER_TOP",true);
fprintf (Gbl.F.Out,"&nbsp;%s</a>",DegShortName);
Act_FormEnd ();
@ -11671,7 +11671,7 @@ static void Brw_WriteRowDocData (unsigned *NumDocsNotHidden,MYSQL_ROW row)
Act_FormGoToStart (ActSeeCrsInf);
Crs_PutParamCrsCod (CrsCod);
sprintf (Gbl.Title,Txt_Go_to_X,CrsShortName);
Act_LinkFormSubmit (Gbl.Title,"DAT");
Act_LinkFormSubmit (Gbl.Title,"DAT",NULL);
fprintf (Gbl.F.Out,"%s</a>",CrsShortName);
Act_FormEnd ();
}
@ -11768,7 +11768,7 @@ static void Brw_WriteRowDocData (unsigned *NumDocsNotHidden,MYSQL_ROW row)
Brw_PutHiddenParamFilCod (FileMetadata.FilCod);
/* File or folder icon */
Act_LinkFormSubmit (FileNameToShow,"DAT_N");
Act_LinkFormSubmit (FileNameToShow,"DAT_N",NULL);
if (FileMetadata.FileType == Brw_IS_FOLDER)
/* Icon with folder */
fprintf (Gbl.F.Out,"<img src=\"%s/folder-closed16x16.gif\""

View File

@ -277,7 +277,8 @@ static void Fol_PutIconToUpdateWhoToFollow (void)
extern const char *Txt_Update;
Act_FormStart (ActSeeSocPrf);
Act_LinkFormSubmitAnimated (Txt_Update,The_ClassFormBold[Gbl.Prefs.Theme]);
Act_LinkFormSubmitAnimated (Txt_Update,The_ClassFormBold[Gbl.Prefs.Theme],
NULL);
Lay_PutCalculateIcon (Txt_Update);
Act_FormEnd ();
}
@ -383,7 +384,7 @@ void Fol_ShowFollowingAndFollowers (const struct UsrData *UsrDat,
{
Act_FormStart (ActUnfUsr);
Usr_PutParamUsrCodEncrypted (UsrDat->EncryptedUsrCod);
Act_LinkFormSubmit (Txt_Following_unfollow,"REC_DAT_BOLD");
Act_LinkFormSubmit (Txt_Following_unfollow,"REC_DAT_BOLD",NULL);
fprintf (Gbl.F.Out,"<div class=\"ICON_HIGHLIGHT\""
" style=\"display:inline;\" >"
"<img src=\"%s/following64x64.png\""
@ -399,7 +400,7 @@ void Fol_ShowFollowingAndFollowers (const struct UsrData *UsrDat,
{
Act_FormStart (ActFolUsr);
Usr_PutParamUsrCodEncrypted (UsrDat->EncryptedUsrCod);
Act_LinkFormSubmit (Txt_Follow,"REC_DAT_BOLD");
Act_LinkFormSubmit (Txt_Follow,"REC_DAT_BOLD",NULL);
fprintf (Gbl.F.Out,"<div class=\"ICON_HIGHLIGHT\""
" style=\"display:inline;\" >"
"<img src=\"%s/follow64x64.png\""
@ -445,7 +446,7 @@ static void Fol_ShowNumberOfFollowingOrFollowers (const struct UsrData *UsrDat,
Usr_PutParamUsrCodEncrypted (UsrDat->EncryptedUsrCod);
Act_LinkFormSubmit (Title,
(Gbl.Action.Act == Action) ? "FOLLOW_NUM_B" :
"FOLLOW_NUM");
"FOLLOW_NUM",NULL);
}
else
fprintf (Gbl.F.Out,"<span class=\"%s\">",
@ -471,7 +472,7 @@ static void Fol_ShowNumberOfFollowingOrFollowers (const struct UsrData *UsrDat,
Usr_PutParamUsrCodEncrypted (UsrDat->EncryptedUsrCod);
Act_LinkFormSubmit (Title,
(Gbl.Action.Act == Action) ? The_ClassFormBold[Gbl.Prefs.Theme] :
The_ClassForm[Gbl.Prefs.Theme]);
The_ClassForm[Gbl.Prefs.Theme],NULL);
}
fprintf (Gbl.F.Out,"%s",Title);
if (NumUsrs)
@ -689,7 +690,7 @@ static void Fol_ShowFollowedOrFollower (const struct UsrData *UsrDat)
/* Put form to go to public profile */
Act_FormStart (ActSeePubPrf);
Usr_PutParamUsrCodEncrypted (UsrDat->EncryptedUsrCod);
Act_LinkFormSubmit (Txt_View_public_profile,"DAT");
Act_LinkFormSubmit (Txt_View_public_profile,"DAT",NULL);
Usr_RestrictLengthAndWriteName (UsrDat,10);
fprintf (Gbl.F.Out,"</a>");
Act_FormEnd ();
@ -712,7 +713,7 @@ static void Fol_ShowFollowedOrFollower (const struct UsrData *UsrDat)
/* Form to unfollow */
Act_FormStart (ActUnfUsr);
Usr_PutParamUsrCodEncrypted (UsrDat->EncryptedUsrCod);
Act_LinkFormSubmit (Txt_Following_unfollow,NULL);
Act_LinkFormSubmit (Txt_Following_unfollow,NULL,NULL);
fprintf (Gbl.F.Out,"<div class=\"FOLLOW_USR_ICON ICON_HIGHLIGHT\">"
"<img src=\"%s/following64x64.png\""
" alt=\"%s\" title=\"%s\""
@ -728,7 +729,7 @@ static void Fol_ShowFollowedOrFollower (const struct UsrData *UsrDat)
/* Form to follow */
Act_FormStart (ActFolUsr);
Usr_PutParamUsrCodEncrypted (UsrDat->EncryptedUsrCod);
Act_LinkFormSubmit (Txt_Follow,NULL);
Act_LinkFormSubmit (Txt_Follow,NULL,NULL);
fprintf (Gbl.F.Out,"<div class=\"FOLLOW_USR_ICON ICON_HIGHLIGHT\">"
"<img src=\"%s/follow64x64.png\""
" alt=\"%s\" title=\"%s\""

View File

@ -1904,7 +1904,7 @@ static void For_WriteLinkToTopLevelOfForums (void)
fprintf (Gbl.F.Out,"<li style=\"height:25px;\">");
Act_FormStart (ActSeeFor);
For_PutAllHiddenParamsForum ();
Act_LinkFormSubmit (Txt_Forums,The_ClassForm[Gbl.Prefs.Theme]);
Act_LinkFormSubmit (Txt_Forums,The_ClassForm[Gbl.Prefs.Theme],NULL);
fprintf (Gbl.F.Out,"<img src=\"%s/forum64x64.gif\""
" alt=\"%s\" title=\"%s\""
" class=\"ICON20x20\" />"
@ -2275,7 +2275,7 @@ static void For_WriteLinkToForum (For_ForumType_t ForumType,Act_Action_t NextAct
/***** Write link to forum *****/
Act_FormStart (NextAct);
For_PutAllHiddenParamsForum ();
Act_LinkFormSubmit (Act_GetActionTextFromDB (Act_Actions[NextAct].ActCod,ActTxt),Style);
Act_LinkFormSubmit (Act_GetActionTextFromDB (Act_Actions[NextAct].ActCod,ActTxt),Style,NULL);
switch (ForumType)
{
case For_FORUM_INSTITUTION_USRS:
@ -2628,7 +2628,7 @@ void For_ShowForumThrs (void)
For_PutParamWhichForum ();
For_PutParamsForumInsDegCrs ();
Par_PutHiddenParamUnsigned ("Order",(unsigned) Order);
Act_LinkFormSubmit (Txt_FORUM_THREAD_HELP_ORDER[Order],"TIT_TBL");
Act_LinkFormSubmit (Txt_FORUM_THREAD_HELP_ORDER[Order],"TIT_TBL",NULL);
if (Order == Gbl.Forum.SelectedOrderType)
fprintf (Gbl.F.Out,"<u>");
fprintf (Gbl.F.Out,"%s",Txt_FORUM_THREAD_ORDER[Order]);

View File

@ -284,7 +284,10 @@ static void Grp_ShowFormSeveralGrps (Act_Action_t NextAction)
/***** Submit button *****/
fprintf (Gbl.F.Out,"<div class=\"CENTER_MIDDLE\""
" style=\"padding-top:12px;\">");
Act_LinkFormSubmitAnimated (Txt_Update_students_according_to_selected_groups,The_ClassFormBold[Gbl.Prefs.Theme]);
Act_LinkFormSubmitAnimated (Txt_Update_students_according_to_selected_groups,
The_ClassFormBold[Gbl.Prefs.Theme],
NextAction == ActReqMsgUsr ? "CopyMessageToHiddenFields()" :
NULL);
Lay_PutCalculateIconWithText (Txt_Update_students_according_to_selected_groups,Txt_Update_students);
fprintf (Gbl.F.Out,"</div>");

View File

@ -104,7 +104,7 @@ void Hld_SeeHolidays (void)
fprintf (Gbl.F.Out,"<th class=\"LEFT_MIDDLE\">");
Act_FormStart (ActSeeHld);
Par_PutHiddenParamUnsigned ("Order",(unsigned) Order);
Act_LinkFormSubmit (Txt_HOLIDAYS_HELP_ORDER[Order],"TIT_TBL");
Act_LinkFormSubmit (Txt_HOLIDAYS_HELP_ORDER[Order],"TIT_TBL",NULL);
if (Order == Gbl.Hlds.SelectedOrderType)
fprintf (Gbl.F.Out,"<u>");
fprintf (Gbl.F.Out,"%s",Txt_HOLIDAYS_ORDER[Order]);

View File

@ -577,7 +577,7 @@ void Inf_WriteMsgYouMustReadInfo (void)
fprintf (Gbl.F.Out,"<li>");
Act_FormStart (Inf_ActionsSeeInfo[InfoType]);
Act_LinkFormSubmit (Act_GetTitleAction (Inf_ActionsSeeInfo[InfoType]),
The_ClassForm[Gbl.Prefs.Theme]);
The_ClassForm[Gbl.Prefs.Theme],NULL);
fprintf (Gbl.F.Out,"%s"
"</a>",
Act_GetTitleAction (Inf_ActionsSeeInfo[InfoType]));

View File

@ -201,7 +201,7 @@ void Ins_DrawInstitutionLogoAndNameWithLink (struct Institution *Ins,Act_Action_
/***** Link to action *****/
sprintf (Gbl.Title,Txt_Go_to_X,Ins->FullName);
Act_LinkFormSubmit (Gbl.Title,ClassLink);
Act_LinkFormSubmit (Gbl.Title,ClassLink,NULL);
/***** Draw institution logo *****/
Log_DrawLogo (Sco_SCOPE_INS,Ins->InsCod,Ins->ShortName,20,ClassLogo,true);
@ -395,7 +395,7 @@ static void Ins_Configuration (bool PrintView)
Ins_PutParamInsCod (Gbl.CurrentIns.Ins.InsCod);
sprintf (Gbl.Title,Txt_Centres_of_INSTITUTION_X,
Gbl.CurrentIns.Ins.ShortName);
Act_LinkFormSubmit (Gbl.Title,"DAT");
Act_LinkFormSubmit (Gbl.Title,"DAT",NULL);
fprintf (Gbl.F.Out,"%u</a>",
Ctr_GetNumCtrsInIns (Gbl.CurrentIns.Ins.InsCod));
Act_FormEnd ();
@ -714,7 +714,7 @@ static void Ins_PutHeadInstitutionsForSeeing (bool OrderSelectable)
{
Act_FormStart (ActSeeIns);
Par_PutHiddenParamUnsigned ("Order",(unsigned) Order);
Act_LinkFormSubmit (Txt_INSTITUTIONS_HELP_ORDER[Order],"TIT_TBL");
Act_LinkFormSubmit (Txt_INSTITUTIONS_HELP_ORDER[Order],"TIT_TBL",NULL);
if (Order == Gbl.Inss.SelectedOrderType)
fprintf (Gbl.F.Out,"<u>");
}

View File

@ -786,7 +786,7 @@ static void Lay_WritePageTopHeading (void)
Par_PutHiddenParamUnsigned ("NxtTab",(unsigned) TabSys);
fprintf (Gbl.F.Out,"<div id=\"head_row_1_logo_small\">");
Act_LinkFormSubmit (Txt_System,NULL);
Act_LinkFormSubmit (Txt_System,NULL,NULL);
fprintf (Gbl.F.Out,"<img src=\"%s/%s\" alt=\"%s\" title=\"%s\""
" class=\"CENTER_MIDDLE\""
" style=\"width:%upx; height:%upx;\" />"
@ -796,7 +796,7 @@ static void Lay_WritePageTopHeading (void)
Cfg_PLATFORM_LOGO_SMALL_WIDTH,Cfg_PLATFORM_LOGO_SMALL_HEIGHT);
fprintf (Gbl.F.Out,"</div>"
"<div id=\"head_row_1_logo_big\">");
Act_LinkFormSubmit (Txt_System,NULL);
Act_LinkFormSubmit (Txt_System,NULL,NULL);
fprintf (Gbl.F.Out,"<img src=\"%s/%s\" alt=\"%s\" title=\"%s\""
" class=\"CENTER_MIDDLE\""
" style=\"width:%upx; height:%upx;\" />"
@ -806,7 +806,7 @@ static void Lay_WritePageTopHeading (void)
Cfg_PLATFORM_LOGO_BIG_WIDTH,Cfg_PLATFORM_LOGO_BIG_HEIGHT);
fprintf (Gbl.F.Out,"</div>"
"<div id=\"head_row_1_tagline\">");
Act_LinkFormSubmit (Txt_TAGLINE,The_ClassTagline[Gbl.Prefs.Theme]);
Act_LinkFormSubmit (Txt_TAGLINE,The_ClassTagline[Gbl.Prefs.Theme],NULL);
fprintf (Gbl.F.Out,"%s"
"</a>"
"</div>", // head_row_1_tagline
@ -1037,10 +1037,7 @@ void Lay_PutContextualLink (Act_Action_t NextAction,
void Lay_PutIconLink (const char *Icon,const char *Title,const char *Text,
const char *LinkStyle,const char *Function)
{
if (Function)
Act_LinkFormSubmitFunction (Title,LinkStyle,Function);
else
Act_LinkFormSubmit (Title,LinkStyle);
Act_LinkFormSubmit (Title,LinkStyle,Function);
Lay_PutIconWithText (Icon,Title,Text);
fprintf (Gbl.F.Out,"</a>");
}

View File

@ -110,7 +110,7 @@ void Mai_SeeMailDomains (void)
fprintf (Gbl.F.Out,"<th class=\"LEFT_MIDDLE\">");
Act_FormStart (ActSeeMai);
Par_PutHiddenParamUnsigned ("Order",(unsigned) Order);
Act_LinkFormSubmit (Txt_MAIL_DOMAIN_HELP_ORDER[Order],"TIT_TBL");
Act_LinkFormSubmit (Txt_MAIL_DOMAIN_HELP_ORDER[Order],"TIT_TBL",NULL);
if (Order == Gbl.Mails.SelectedOrderType)
fprintf (Gbl.F.Out,"<u>");
fprintf (Gbl.F.Out,"%s",Txt_MAIL_DOMAIN_ORDER[Order]);

View File

@ -259,7 +259,7 @@ void Mnu_WriteMenuThisTab (void)
Act_FormStart (NumAct);
Act_LinkFormSubmit (Title,
IsTheSelectedAction ? The_ClassTxtMenuOn[Gbl.Prefs.Theme] :
The_ClassTxtMenuOff[Gbl.Prefs.Theme]);
The_ClassTxtMenuOff[Gbl.Prefs.Theme],NULL);
/***** Icon *****/
fprintf (Gbl.F.Out,"<div class=\"MENU_ICON\""

View File

@ -340,7 +340,7 @@ static void Msg_PutLinkToShowMorePotentialRecipients (void)
Lay_PutContextualLink (ActReqMsgUsr,Msg_PutParamsShowMorePotentialRecipients,
"usrs64x64.gif",
Txt_Show_more_recipients,Txt_Show_more_recipients,
NULL);
"CopyMessageToHiddenFields()");
fprintf (Gbl.F.Out,"</div>");
}
@ -485,8 +485,7 @@ static void Msg_WriteFormSubjectAndContentMsgToUsrs (char *Content)
"</td>"
"<td class=\"LEFT_MIDDLE\">"
"<textarea id=\"MsgSubject\" name=\"Subject\""
" cols=\"72\" rows=\"2\""
" onblur=\"CopyMessageToHiddenFields();\">",
" cols=\"72\" rows=\"2\">",
The_ClassForm[Gbl.Prefs.Theme],
Txt_MSG_Subject);
@ -534,8 +533,7 @@ static void Msg_WriteFormSubjectAndContentMsgToUsrs (char *Content)
"</td>"
"<td class=\"LEFT_MIDDLE\">"
"<textarea id=\"MsgContent\" name=\"Content\""
" cols=\"72\" rows=\"20\""
" onblur=\"CopyMessageToHiddenFields();\">",
" cols=\"72\" rows=\"20\">",
The_ClassForm[Gbl.Prefs.Theme],Txt_MSG_Message);
/* Start textarea with a '\n', that will be not visible in textarea.
@ -565,8 +563,7 @@ static void Msg_WriteFormSubjectAndContentMsgToUsrs (char *Content)
"</td>"
"<td class=\"LEFT_MIDDLE\">"
"<textarea id=\"MsgContent\" name=\"Content\""
" cols=\"72\" rows=\"20\""
" onblur=\"CopyMessageToHiddenFields();\">",
" cols=\"72\" rows=\"20\">",
The_ClassForm[Gbl.Prefs.Theme],
Txt_MSG_Message);
@ -1687,7 +1684,9 @@ static void Msg_ShowSentOrReceivedMessages (Msg_TypeOfMessages_t TypeOfMessages)
}
fprintf (Gbl.F.Out,"<div class=\"CONTEXT_MENU\">");
Act_LinkFormSubmitAnimated (Txt_Update_messages,The_ClassFormBold[Gbl.Prefs.Theme]);
Act_LinkFormSubmitAnimated (Txt_Update_messages,
The_ClassFormBold[Gbl.Prefs.Theme],
NULL);
Lay_PutCalculateIconWithText (Txt_Update_messages,Txt_Update_messages);
fprintf (Gbl.F.Out,"</div>");
@ -3000,7 +2999,7 @@ static void Msg_WriteSentOrReceivedMsgSubject (Msg_TypeOfMessages_t TypeOfMessag
Act_LinkFormSubmit (Expanded ? Txt_Hide_message :
Txt_See_message,
Open ? "MSG_TIT" :
"MSG_TIT_NEW");
"MSG_TIT_NEW",NULL);
/***** Write subject *****/
if (Subject[0])
@ -3115,7 +3114,7 @@ bool Msg_WriteCrsOrgMsg (long CrsCod)
fprintf (Gbl.F.Out,"<div class=\"MSG_AUT\">"
"(");
sprintf (Gbl.Title,Txt_Go_to_X,Crs.FullName);
Act_LinkFormSubmit (Gbl.Title,"MSG_AUT");
Act_LinkFormSubmit (Gbl.Title,"MSG_AUT",NULL);
fprintf (Gbl.F.Out,"%s</a>)"
"</div>",
Crs.ShortName);
@ -3165,7 +3164,7 @@ static void Msg_WriteFormToReply (long MsgCod,long CrsCod,
Txt_Reply) :
(Replied ? Txt_Go_to_course_and_reply_again :
Txt_Go_to_course_and_reply),
The_ClassFormBold[Gbl.Prefs.Theme]);
The_ClassFormBold[Gbl.Prefs.Theme],NULL);
Lay_PutIconWithText ("reply16x16.gif",
Replied ? Txt_Reply_again :
Txt_Reply,
@ -3394,7 +3393,7 @@ static void Msg_WriteMsgTo (Msg_TypeOfMessages_t TypeOfMessages,long MsgCod)
Pag_PutHiddenParamPagNum (Gbl.Pag.CurrentPage);
Msg_PutHiddenParamMsgCod (MsgCod);
Par_PutHiddenParamChar ("SeeAllRcpts",'Y');
Act_LinkFormSubmit (Txt_View_all_recipients,"MSG_AUT");
Act_LinkFormSubmit (Txt_View_all_recipients,"MSG_AUT",NULL);
fprintf (Gbl.F.Out,Txt_and_X_other_recipients,
NumRecipientsKnown - NumRecipientsToShow);
fprintf (Gbl.F.Out,"</a>");

View File

@ -701,7 +701,7 @@ static void Not_DrawANotice (Not_Listing_t TypeNoticesListing,
/* Form to view full notice */
Act_FormStart (ActSeeOneNot);
Not_PutHiddenParamNotCod (NotCod);
Act_LinkFormSubmit (Txt_See_full_notice,DateClass[Status]);
Act_LinkFormSubmit (Txt_See_full_notice,DateClass[Status],NULL);
}
fprintf (Gbl.F.Out,"<span id=\"notice_date_%u\"></span>",
UniqueId);
@ -726,7 +726,7 @@ static void Not_DrawANotice (Not_Listing_t TypeNoticesListing,
fprintf (Gbl.F.Out,"<div class=\"CENTER_MIDDLE\">");
Act_FormStart (ActSeeOneNot);
Not_PutHiddenParamNotCod (NotCod);
Act_LinkFormSubmit (Txt_See_full_notice,The_ClassForm[Gbl.Prefs.Theme]);
Act_LinkFormSubmit (Txt_See_full_notice,The_ClassForm[Gbl.Prefs.Theme],NULL);
fprintf (Gbl.F.Out,"<img src=\"%s/ellipsis32x32.gif\""
" alt=\"%s\" title=\"%s\""
" class=\"ICON40x40\" />"

View File

@ -510,7 +510,7 @@ void Ntf_ShowMyNotifications (void)
if (PutLink)
{
Act_LinkFormSubmit (Txt_NOTIFY_EVENTS_SINGULAR[NotifyEvent],ClassAnchor);
Act_LinkFormSubmit (Txt_NOTIFY_EVENTS_SINGULAR[NotifyEvent],ClassAnchor,NULL);
fprintf (Gbl.F.Out,"%s</a>",
Txt_NOTIFY_EVENTS_SINGULAR[NotifyEvent]);
Act_FormEnd ();
@ -533,7 +533,7 @@ void Ntf_ShowMyNotifications (void)
PutLink = Ntf_StartFormGoToAction (NotifyEvent,Crs.CrsCod,&UsrDat,Cod);
if (PutLink)
Act_LinkFormSubmit (Txt_NOTIFY_EVENTS_SINGULAR[NotifyEvent],ClassAnchor);
Act_LinkFormSubmit (Txt_NOTIFY_EVENTS_SINGULAR[NotifyEvent],ClassAnchor,NULL);
else
fprintf (Gbl.F.Out,"<span class=\"%s\">",ClassAnchor);
fprintf (Gbl.F.Out,"%s: %s",Txt_Forum,ForumName);
@ -551,7 +551,7 @@ void Ntf_ShowMyNotifications (void)
PutLink = Ntf_StartFormGoToAction (NotifyEvent,Crs.CrsCod,&UsrDat,Cod);
if (PutLink)
Act_LinkFormSubmit (Txt_NOTIFY_EVENTS_SINGULAR[NotifyEvent],ClassAnchor);
Act_LinkFormSubmit (Txt_NOTIFY_EVENTS_SINGULAR[NotifyEvent],ClassAnchor,NULL);
else
fprintf (Gbl.F.Out,"<span class=\"%s\">",ClassAnchor);
@ -1987,7 +1987,7 @@ void Ntf_WriteNumberOfNewNtfs (void)
/***** Start form *****/
Act_FormStartId (ActSeeNewNtf,"form_ntf");
Act_LinkFormSubmitId (Txt_See_notifications,
The_ClassNotif[Gbl.Prefs.Theme],"form_ntf");
The_ClassNotif[Gbl.Prefs.Theme],"form_ntf",NULL);
/***** Number of unseen notifications *****/
fprintf (Gbl.F.Out,"<span id=\"notif_all\">%u&nbsp;%s<br /></span>",

View File

@ -167,7 +167,7 @@ void Pag_WriteLinksToPages (Pag_WhatPaginate_t WhatPaginate,long ThrCod,struct P
}
sprintf (Gbl.Title,Txt_See_page_X_of_Y,
1,(unsigned) Pagination->NumPags);
Act_LinkFormSubmit (Gbl.Title,Font);
Act_LinkFormSubmit (Gbl.Title,Font,NULL);
}
else
fprintf (Gbl.F.Out,"<span class=\"%s\">",Font);
@ -244,7 +244,7 @@ void Pag_WriteLinksToPages (Pag_WhatPaginate_t WhatPaginate,long ThrCod,struct P
}
sprintf (Gbl.Title,Txt_See_page_X_of_Y,
1,(unsigned) Pagination->NumPags);
Act_LinkFormSubmit (Gbl.Title,Font);
Act_LinkFormSubmit (Gbl.Title,Font,NULL);
fprintf (Gbl.F.Out,"1</a>");
Act_FormEnd ();
fprintf (Gbl.F.Out,"</td>");
@ -304,7 +304,7 @@ void Pag_WriteLinksToPages (Pag_WhatPaginate_t WhatPaginate,long ThrCod,struct P
}
sprintf (Gbl.Title,Txt_See_page_X_of_Y,
(unsigned) Pagination->LeftPage,(unsigned) Pagination->NumPags);
Act_LinkFormSubmit (Gbl.Title,Font);
Act_LinkFormSubmit (Gbl.Title,Font,NULL);
fprintf (Gbl.F.Out,"%u</a>",
(unsigned) Pagination->LeftPage);
Act_FormEnd ();
@ -371,7 +371,7 @@ void Pag_WriteLinksToPages (Pag_WhatPaginate_t WhatPaginate,long ThrCod,struct P
}
sprintf (Gbl.Title,Txt_See_page_X_of_Y,
(unsigned) NumPage,(unsigned) Pagination->NumPags);
Act_LinkFormSubmit (Gbl.Title,Font);
Act_LinkFormSubmit (Gbl.Title,Font,NULL);
fprintf (Gbl.F.Out,"%u</a>",
(unsigned) NumPage);
Act_FormEnd ();
@ -434,7 +434,7 @@ void Pag_WriteLinksToPages (Pag_WhatPaginate_t WhatPaginate,long ThrCod,struct P
}
sprintf (Gbl.Title,Txt_See_page_X_of_Y,
(unsigned) Pagination->RightPage,(unsigned) Pagination->NumPags);
Act_LinkFormSubmit (Gbl.Title,Font);
Act_LinkFormSubmit (Gbl.Title,Font,NULL);
fprintf (Gbl.F.Out,"%u</a>",(unsigned) Pagination->RightPage);
Act_FormEnd ();
fprintf (Gbl.F.Out,"</td>");
@ -494,7 +494,7 @@ void Pag_WriteLinksToPages (Pag_WhatPaginate_t WhatPaginate,long ThrCod,struct P
}
sprintf (Gbl.Title,Txt_See_page_X_of_Y,
(unsigned) Pagination->NumPags,(unsigned) Pagination->NumPags);
Act_LinkFormSubmit (Gbl.Title,Font);
Act_LinkFormSubmit (Gbl.Title,Font,NULL);
fprintf (Gbl.F.Out,"%u</a>",(unsigned) Pagination->NumPags);
Act_FormEnd ();
fprintf (Gbl.F.Out,"</td>");

View File

@ -1150,7 +1150,7 @@ void Pho_ShowUsrPhoto (const struct UsrData *UsrDat,const char *PhotoURL,
if (FormUnique)
Act_LinkFormSubmitUnique (NULL,NULL);
else
Act_LinkFormSubmit (NULL,NULL);
Act_LinkFormSubmit (NULL,NULL,NULL);
}
/***** Hidden div to pass user's name to Javascript *****/
@ -1929,7 +1929,9 @@ static void Pho_PutLinkToCalculateDegreeStats (void)
Usr_PutParamUsrListType (Gbl.Usrs.Me.ListType);
Usr_PutParamColsClassPhoto ();
Usr_PutParamListWithPhotos ();
Act_LinkFormSubmitAnimated (Txt_Calculate_average_photo_of_a_degree,The_ClassFormBold[Gbl.Prefs.Theme]);
Act_LinkFormSubmitAnimated (Txt_Calculate_average_photo_of_a_degree,
The_ClassFormBold[Gbl.Prefs.Theme],
NULL);
Lay_PutCalculateIconWithText (Txt_Calculate_average_photo_of_a_degree,Txt_Calculate_average_photo_of_THE_DEGREE_X);
/***** Put selector with all the degrees with students *****/
@ -2375,7 +2377,7 @@ static void Pho_ShowDegreeAvgPhotoAndStat (struct Degree *Deg,
Act_FormGoToStart (ActSeeDegInf);
Deg_PutParamDegCod (Deg->DegCod);
sprintf (Gbl.Title,Txt_Go_to_X,Deg->FullName);
Act_LinkFormSubmit (Gbl.Title,NULL);
Act_LinkFormSubmit (Gbl.Title,NULL,NULL);
}
/***** Check if photo of degree can be shown *****/

View File

@ -105,7 +105,7 @@ void Plc_SeePlaces (void)
fprintf (Gbl.F.Out,"<th class=\"LEFT_MIDDLE\">");
Act_FormStart (ActSeePlc);
Par_PutHiddenParamUnsigned ("Order",(unsigned) Order);
Act_LinkFormSubmit (Txt_PLACES_HELP_ORDER[Order],"TIT_TBL");
Act_LinkFormSubmit (Txt_PLACES_HELP_ORDER[Order],"TIT_TBL",NULL);
if (Order == Gbl.Plcs.SelectedOrderType)
fprintf (Gbl.F.Out,"<u>");
fprintf (Gbl.F.Out,"%s",Txt_PLACES_ORDER[Order]);

View File

@ -602,7 +602,8 @@ static void Prf_PutLinkToUpdateAction (Act_Action_t Action,const char *Encrypted
Act_FormStart (Action);
Usr_PutParamUsrCodEncrypted (EncryptedUsrCod);
Act_LinkFormSubmitAnimated (Txt_Calculate,The_ClassForm[Gbl.Prefs.Theme]);
Act_LinkFormSubmitAnimated (Txt_Calculate,The_ClassForm[Gbl.Prefs.Theme],
NULL);
Lay_PutCalculateIconWithText (Txt_Calculate,Txt_Calculate);
Act_FormEnd ();
}
@ -757,7 +758,7 @@ static void Prf_ShowRanking (unsigned long Rank,unsigned long NumUsrs)
Act_FormStart (ActSeeUseGbl);
Sco_PutParamScope ("ScopeSta",Sco_SCOPE_SYS);
Par_PutHiddenParamUnsigned ("FigureType",(unsigned) Sta_USERS_RANKING);
Act_LinkFormSubmit (Gbl.Title,The_ClassForm[Gbl.Prefs.Theme]);
Act_LinkFormSubmit (Gbl.Title,The_ClassForm[Gbl.Prefs.Theme],NULL);
fprintf (Gbl.F.Out,"#%lu</a>",Rank);
Act_FormEnd ();
}
@ -1526,7 +1527,7 @@ void Prf_ShowUsrInRanking (const struct UsrData *UsrDat,unsigned Rank)
{
Act_FormStart (ActSeePubPrf);
Usr_PutParamUsrCodEncrypted (UsrDat->EncryptedUsrCod);
Act_LinkFormSubmit (Txt_View_public_profile,"DAT_SMALL");
Act_LinkFormSubmit (Txt_View_public_profile,"DAT_SMALL",NULL);
Usr_RestrictLengthAndWriteName (UsrDat,8);
fprintf (Gbl.F.Out,"</a>");
Act_FormEnd ();

View File

@ -1389,7 +1389,7 @@ static void Rec_ShowLinkToPrintPreviewOfRecords (void)
extern const char *Txt_record_cards_per_page;
unsigned i;
Act_LinkFormSubmit (Txt_Print,The_ClassFormBold[Gbl.Prefs.Theme]);
Act_LinkFormSubmit (Txt_Print,The_ClassFormBold[Gbl.Prefs.Theme],NULL);
Lay_PutIconWithText ("print64x64.png",Txt_Print,Txt_Print);
fprintf (Gbl.F.Out,"</a>"
"<span class=\"%s\">(</span>"
@ -2422,7 +2422,7 @@ static void Rec_ShowInstitutionInHead (struct Institution *Ins,bool PutFormLinks
{
Act_FormGoToStart (ActSeeInsInf);
Ins_PutParamInsCod (Ins->InsCod);
Act_LinkFormSubmit (Ins->FullName,NULL);
Act_LinkFormSubmit (Ins->FullName,NULL,NULL);
}
Log_DrawLogo (Sco_SCOPE_INS,Ins->InsCod,Ins->ShortName,
Rec_INSTITUTION_LOGO_SIZE,NULL,true);
@ -2443,7 +2443,7 @@ static void Rec_ShowInstitutionInHead (struct Institution *Ins,bool PutFormLinks
{
Act_FormGoToStart (ActSeeInsInf);
Ins_PutParamInsCod (Ins->InsCod);
Act_LinkFormSubmit (Ins->FullName,"REC_HEAD");
Act_LinkFormSubmit (Ins->FullName,"REC_HEAD",NULL);
}
fprintf (Gbl.F.Out,"%s",Ins->FullName);
if (PutFormLinks)
@ -2521,7 +2521,7 @@ static void Rec_ShowNickname (struct UsrData *UsrDat,bool PutFormLinks)
/* Put form to go to public profile */
Act_FormStart (ActSeePubPrf);
Usr_PutParamUsrCodEncrypted (UsrDat->EncryptedUsrCod);
Act_LinkFormSubmit (Txt_View_public_profile,"REC_NICK");
Act_LinkFormSubmit (Txt_View_public_profile,"REC_NICK",NULL);
}
fprintf (Gbl.F.Out,"@%s",UsrDat->Nickname);
if (PutFormLinks)

View File

@ -1556,7 +1556,7 @@ static void Sta_ShowDetailedAccessesList (unsigned long NumRows,MYSQL_RES *mysql
{
sprintf (Gbl.Title,Txt_Show_previous_X_clicks,
Gbl.Stat.RowsPerPage);
Act_LinkFormSubmit (Gbl.Title,"TIT_TBL");
Act_LinkFormSubmit (Gbl.Title,"TIT_TBL",NULL);
fprintf (Gbl.F.Out,"<strong>&lt;%s</strong></a>",
Txt_PAGES_Previous);
}
@ -1592,8 +1592,9 @@ static void Sta_ShowDetailedAccessesList (unsigned long NumRows,MYSQL_RES *mysql
{
sprintf (Gbl.Title,Txt_Show_next_X_clicks,
Gbl.Stat.RowsPerPage);
Act_LinkFormSubmit (Gbl.Title,"TIT_TBL");
fprintf (Gbl.F.Out,"<strong>%s&gt;</strong></a>",
Act_LinkFormSubmit (Gbl.Title,"TIT_TBL",NULL);
fprintf (Gbl.F.Out,"<strong>%s&gt;</strong>"
"</a>",
Txt_PAGES_Next);
}
fprintf (Gbl.F.Out,"</td>");
@ -3675,8 +3676,10 @@ static void Sta_ShowNumHitsPerCourse (unsigned long NumRows,
Act_FormGoToStart (ActSeeCrsInf);
Crs_PutParamCrsCod (Crs.CrsCod);
sprintf (Gbl.Title,Txt_Go_to_X,Crs.FullName);
Act_LinkFormSubmit (Gbl.Title,"LOG");
fprintf (Gbl.F.Out,"%s</a>",Crs.ShortName);
Act_LinkFormSubmit (Gbl.Title,"LOG",NULL);
fprintf (Gbl.F.Out,"%s"
"</a>",
Crs.ShortName);
}
else
fprintf (Gbl.F.Out,"-");
@ -4981,10 +4984,12 @@ static void Sta_GetAndShowInss (const char *Query,const char *TxtFigure)
/* Icon and name of this institution */
Act_FormStart (ActSeeInsInf);
Ins_PutParamInsCod (Ins.InsCod);
Act_LinkFormSubmit (Ins.FullName,The_ClassForm[Gbl.Prefs.Theme]);
Act_LinkFormSubmit (Ins.FullName,The_ClassForm[Gbl.Prefs.Theme],NULL);
Log_DrawLogo (Sco_SCOPE_INS,Ins.InsCod,Ins.FullName,
40,NULL,true);
fprintf (Gbl.F.Out,"<br />%u</a>",NumberThisRow);
fprintf (Gbl.F.Out,"<br />%u"
"</a>",
NumberThisRow);
Act_FormEnd ();
fprintf (Gbl.F.Out,"</td>");
@ -5039,7 +5044,7 @@ static void Sta_GetAndShowInss (const char *Query,const char *TxtFigure)
/* Icon and name of this institution */
Act_FormStart (ActSeeInsInf);
Ins_PutParamInsCod (Ins.InsCod);
Act_LinkFormSubmit (Ins.ShortName,The_ClassForm[Gbl.Prefs.Theme]);
Act_LinkFormSubmit (Ins.ShortName,The_ClassForm[Gbl.Prefs.Theme],NULL);
if (Gbl.Usrs.Listing.WithPhotos)
{
Log_DrawLogo (Sco_SCOPE_INS,Ins.InsCod,Ins.ShortName,

View File

@ -227,7 +227,7 @@ static void Svy_ListAllSurveys (struct SurveyQuestion *SvyQst)
Grp_PutParamWhichGrps ();
Pag_PutHiddenParamPagNum (Gbl.Pag.CurrentPage);
Par_PutHiddenParamUnsigned ("Order",(unsigned) Order);
Act_LinkFormSubmit (Txt_ASG_ATT_OR_SVY_HELP_ORDER[Order],"TIT_TBL");
Act_LinkFormSubmit (Txt_ASG_ATT_OR_SVY_HELP_ORDER[Order],"TIT_TBL",NULL);
if (Order == Gbl.Svys.SelectedOrderType)
fprintf (Gbl.F.Out,"<u>");
fprintf (Gbl.F.Out,"%s",Txt_ASG_ATT_OR_SVY_ORDER[Order]);
@ -445,7 +445,7 @@ static void Svy_ShowOneSurvey (long SvyCod,struct SurveyQuestion *SvyQst,bool Sh
Pag_PutHiddenParamPagNum (Gbl.Pag.CurrentPage);
Act_LinkFormSubmit (Txt_View_survey,
Svy.Status.Visible ? "ASG_TITLE" :
"ASG_TITLE_LIGHT");
"ASG_TITLE_LIGHT",NULL);
fprintf (Gbl.F.Out,"%s</a>",
Svy.Title);
Act_FormEnd ();

View File

@ -125,7 +125,7 @@ void Tab_DrawTabs (void)
Par_PutHiddenParamUnsigned ("NxtTab",(unsigned) NumTab);
Act_LinkFormSubmit (Txt_TABS_FULL_TXT[NumTab],
NumTab == Gbl.Action.Tab ? The_ClassTxtTabOn[Gbl.Prefs.Theme] :
The_ClassTxtTabOff[Gbl.Prefs.Theme]);
The_ClassTxtTabOff[Gbl.Prefs.Theme],NULL);
fprintf (Gbl.F.Out,"<img src=\"%s/%s/%s\""
" alt=\"%s\" title=\"%s\""
" class=\"ICON40x40\" style=\"margin:3px;\" />"
@ -241,7 +241,7 @@ static void Tab_WriteBreadcrumbHome (void)
extern const char *Txt_Home_PAGE;
Act_FormStart (ActHom);
Act_LinkFormSubmit (Txt_Home_PAGE,The_ClassTxtTabOn[Gbl.Prefs.Theme]);
Act_LinkFormSubmit (Txt_Home_PAGE,The_ClassTxtTabOn[Gbl.Prefs.Theme],NULL);
fprintf (Gbl.F.Out,"%s</a>",
Txt_Home_PAGE);
Act_FormEnd ();
@ -259,7 +259,7 @@ static void Tab_WriteBreadcrumbTab (void)
/***** Start form *****/
Act_FormStart (ActMnu);
Par_PutHiddenParamUnsigned ("NxtTab",(unsigned) Gbl.Action.Tab);
Act_LinkFormSubmit (Txt_TABS_FULL_TXT[Gbl.Action.Tab],The_ClassTxtTabOn[Gbl.Prefs.Theme]);
Act_LinkFormSubmit (Txt_TABS_FULL_TXT[Gbl.Action.Tab],The_ClassTxtTabOn[Gbl.Prefs.Theme],NULL);
/***** Title and end of form *****/
fprintf (Gbl.F.Out,"%s</a>",
@ -279,7 +279,7 @@ static void Tab_WriteBreadcrumbAction (void)
/***** Start form *****/
Act_FormStart (Act_Actions[Gbl.Action.Act].SuperAction);
Act_LinkFormSubmit (Title,The_ClassTxtTabOn[Gbl.Prefs.Theme]);
Act_LinkFormSubmit (Title,The_ClassTxtTabOn[Gbl.Prefs.Theme],NULL);
/***** Title and end of form *****/
fprintf (Gbl.F.Out,"%s</a>",

View File

@ -2692,7 +2692,7 @@ static void Tst_ListOneOrMoreQuestionsToEdit (unsigned long NumRows,MYSQL_RES *m
Sta_WriteParamsDatesSeeAccesses ();
Tst_WriteParamEditQst ();
Par_PutHiddenParamUnsigned ("Order",(unsigned) Order);
Act_LinkFormSubmit (Txt_TST_STR_ORDER_FULL[Order],"TIT_TBL");
Act_LinkFormSubmit (Txt_TST_STR_ORDER_FULL[Order],"TIT_TBL",NULL);
if (Order == Gbl.Test.SelectedOrderType)
fprintf (Gbl.F.Out,"<u>");
}
@ -7364,7 +7364,7 @@ static void Tst_ShowDataUsr (struct UsrData *UsrDat,unsigned NumExams)
Act_FormStart (UsrDat->RoleInCurrentCrsDB == Rol_STUDENT ? ActSeeRecOneStd :
ActSeeRecOneTch);
Usr_PutParamUsrCodEncrypted (UsrDat->EncryptedUsrCod);
Act_LinkFormSubmit (UsrDat->FullName,"MSG_AUT");
Act_LinkFormSubmit (UsrDat->FullName,"MSG_AUT",NULL);
/***** Show user's ID *****/
ID_WriteUsrIDs (UsrDat);

View File

@ -1724,7 +1724,7 @@ void Usr_PutFormLogIn (void)
/***** Link to log in form *****/
Act_FormStart (ActFrmLogIn);
Act_LinkFormSubmit (Txt_Log_in,The_ClassHead[Gbl.Prefs.Theme]);
Act_LinkFormSubmit (Txt_Log_in,The_ClassHead[Gbl.Prefs.Theme],NULL);
fprintf (Gbl.F.Out,"<img src=\"%s/login-green64x64.png\""
" alt=\"%s\" title=\"%s\""
" class=\"ICON20x20\" />"
@ -1793,7 +1793,7 @@ void Usr_PutFormLogOut (void)
extern const char *Txt_Log_out;
Act_FormStart (ActLogOut);
Act_LinkFormSubmit (Txt_Log_out,The_ClassHead[Gbl.Prefs.Theme]);
Act_LinkFormSubmit (Txt_Log_out,The_ClassHead[Gbl.Prefs.Theme],NULL);
fprintf (Gbl.F.Out,"<img src=\"%s/logout-red64x64.png\""
" alt=\"%s\" title=\"%s\""
" class=\"ICON20x20\" />"
@ -4905,7 +4905,10 @@ static void Usr_FormToSelectUsrListType (Act_Action_t NextAction,Usr_ShowUsrsTyp
Usr_PutParamListWithPhotos ();
Usr_PutParamUsrListType (ListType);
Usr_PutExtraParamsUsrList (NextAction);
Act_LinkFormSubmit (Txt_USR_LIST_TYPES[ListType],The_ClassFormNoWrap[Gbl.Prefs.Theme]);
Act_LinkFormSubmit (Txt_USR_LIST_TYPES[ListType],
The_ClassFormNoWrap[Gbl.Prefs.Theme],
NextAction == ActReqMsgUsr ? "CopyMessageToHiddenFields()" :
NULL);
fprintf (Gbl.F.Out,"<img src=\"%s/%s\""
" alt=\"%s\" title=\"%s\""
" class=\"ICON20x20\" />"

View File

@ -341,7 +341,7 @@ void ZIP_PutButtonToDownloadZIPOfAFolder (const char *PathInTree,const char *Fil
break;
}
Brw_ParamListFiles (Brw_IS_FOLDER,PathInTree,FileName);
Act_LinkFormSubmit (Txt_Create_ZIP_file,The_ClassForm[Gbl.Prefs.Theme]);
Act_LinkFormSubmit (Txt_Create_ZIP_file,The_ClassForm[Gbl.Prefs.Theme],NULL);
fprintf (Gbl.F.Out,"<img src=\"%s/download64x64.png\""
" alt=\"%s\" title=\"%s\""
" class=\"ICON20x20B\" />"