Version 14.127.4

This commit is contained in:
Antonio Cañas Vargas 2015-09-06 19:51:06 +02:00
parent e07f87181d
commit 5c071e4109
22 changed files with 104 additions and 78 deletions

View File

@ -91,7 +91,7 @@ hr.YELLOW_SEPARA {height:0; border-top:0; border-bottom:#BD4815 dotted 1px;}
/************************* Users connected globally **************************/
.CONNECTED
{
margin:0;
margin:0 auto;
border-style:solid;
border-width:1px;
border-color:#80C040;
@ -391,6 +391,7 @@ hr.YELLOW_SEPARA {height:0; border-top:0; border-bottom:#BD4815 dotted 1px;}
.ICON48x48 {width:48px; height:48px; vertical-align:middle;}
.ICON64x64 {width:64px; height:64px; vertical-align:middle;}
.ICON128x128 {width:128px; height:128px; vertical-align:middle;}
.ICON8x800 {width:8px; height:800px;}
.BANNER {width:120px; height:40px;}
.BANNER_SMALL {width:60px; height:20px;}

View File

@ -142,7 +142,7 @@ void Cal_DrawCalendar (void)
/***** Draw several months *****/
fprintf (Gbl.F.Out,"<tr>"
"<td class=\"CENTER_TOP\">"
"<table style=\"margin:0 auto; border-spacing:5px;\">");
"<table style=\"border-spacing:5px;\">");
for (Row = 0;
Row < 4;
Row++)

View File

@ -1966,7 +1966,8 @@ static void Ctr_PutFormToCreateCentre (void)
/***** Institution *****/
fprintf (Gbl.F.Out,"<td class=\"LEFT_MIDDLE\">"
"<select name=\"OthInsCod\" style=\"width:50px;\" disabled=\"disabled\">"
"<select name=\"OthInsCod\" style=\"width:50px;\""
" disabled=\"disabled\">"
"<option value=\"%ld\" selected=\"selected\">"
"%s"
"</option>"

View File

@ -103,11 +103,12 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 14.127.3 (2015/09/06)"
#define Log_PLATFORM_VERSION "SWAD 14.127.4 (2015/09/06)"
// 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 14.127.4: Sep 06, 2015 Changes in styles. (184245 lines)
Version 14.127.3: Sep 06, 2015 Changes in styles. (184219 lines)
Version 14.127.2: Sep 06, 2015 Changes in styles. (184244 lines)
Version 14.127.1: Sep 06, 2015 Justify alignment is no longer used. (184259 lines)

View File

@ -275,8 +275,7 @@ void Con_ShowGlobalConnectedUsrs (void)
/***** Start table *****/
fprintf (Gbl.F.Out,"<div class=\"CONNECTED\""
" style=\"width:110px;"
" margin-left:auto; margin-right:auto; \">"
" style=\"width:110px; \">"
"<table style=\"width:110px;\">");
/***** Write total number of sessions *****/

View File

@ -757,7 +757,7 @@ void Cty_WriteScriptGoogleGeochart (void)
" height:300,\n"
" backgroundColor:'white',\n"
" datalessRegionColor:'white',\n"
" colorAxis:{colors:['black','black'],minValue:0,maxValue:%u}};\n"
" colorAxis:{colors:['white','black'],minValue:0,maxValue:%u}};\n"
" var chart = new google.visualization.GeoChart(document.getElementById('chart_div'));\n"
" chart.draw(data, options);\n"
" };\n"

View File

@ -563,7 +563,8 @@ static void Crs_WriteListMyCoursesToSelectOne (void)
/***** Table start *****/
Lay_StartRoundFrame (NULL,Txt_My_courses);
fprintf (Gbl.F.Out,"<div style=\"display:inline-block; margin:0 auto;\">"
fprintf (Gbl.F.Out,"<div class=\"CENTER_MIDDLE\""
" style=\"display:inline-block;\">"
"<ul class=\"LIST_LEFT\">");
/***** Write link to platform *****/
@ -1148,7 +1149,8 @@ void Crs_WriteSelectorMyCourses (void)
ActSysReqSch);
/***** Start of selector of courses *****/
fprintf (Gbl.F.Out,"<select name=\"CrsCod\" style=\"width:%upx;margin:1px;\""
fprintf (Gbl.F.Out,"<select name=\"CrsCod\""
" style=\"width:%upx; margin:1px;\""
" onchange=\"javascript:document.getElementById('%s').submit();\">",
SelectorWidth[Gbl.Prefs.Layout],Gbl.FormId);
@ -1451,7 +1453,8 @@ static void Crs_ListCoursesForEdition (void)
{
Act_FormStart (ActChgCrsDeg);
Crs_PutParamOtherCrsCod (Crs->CrsCod);
fprintf (Gbl.F.Out,"<select name=\"OthDegCod\" style=\"width:80px;\""
fprintf (Gbl.F.Out,"<select name=\"OthDegCod\""
" style=\"width:80px;\""
" onchange=\"javascript:document.getElementById('%s').submit();\">",
Gbl.FormId);
for (NumDeg = 0;
@ -1475,7 +1478,8 @@ static void Crs_ListCoursesForEdition (void)
{
Act_FormStart (ActChgCrsYea);
Crs_PutParamOtherCrsCod (Crs->CrsCod);
fprintf (Gbl.F.Out,"<select name=\"OthCrsYear\" style=\"width:40px;\""
fprintf (Gbl.F.Out,"<select name=\"OthCrsYear\""
" style=\"width:40px;\""
" onchange=\"javascript:document.getElementById('%s').submit();\">",
Gbl.FormId);
for (YearAux = 0;
@ -1571,7 +1575,8 @@ static void Crs_ListCoursesForEdition (void)
{
Act_FormStart (ActChgCrsSta);
Crs_PutParamOtherCrsCod (Crs->CrsCod);
fprintf (Gbl.F.Out,"<select name=\"Status\" style=\"width:80px;\""
fprintf (Gbl.F.Out,"<select name=\"Status\""
" style=\"width:80px;\""
" onchange=\"javascript:document.getElementById('%s').submit();\">"
"<option value=\"%u\" selected=\"selected\">%s</option>"
"<option value=\"%u\">%s</option>"
@ -1590,8 +1595,10 @@ static void Crs_ListCoursesForEdition (void)
/* Course requester */
UsrDat.UsrCod = Crs->RequesterUsrCod;
Usr_ChkUsrCodAndGetAllUsrDataFromUsrCod (&UsrDat);
fprintf (Gbl.F.Out,"<td class=\"LEFT_TOP\" style=\"width:100px;\">"
"<table class=\"CELLS_PAD_2\" style=\"width:100px;\">"
fprintf (Gbl.F.Out,"<td class=\"LEFT_TOP\""
" style=\"width:100px;\">"
"<table class=\"CELLS_PAD_2\""
" style=\"width:100px;\">"
"<tr>");
Msg_WriteMsgAuthor (&UsrDat,80,10,"DAT",true,NULL);
fprintf (Gbl.F.Out,"</tr>"

View File

@ -1477,7 +1477,8 @@ static void Deg_ListDegreesForEdition (void)
{
Act_FormStart (ActChgDegTyp);
Deg_PutParamOtherDegCod (Deg->DegCod);
fprintf (Gbl.F.Out,"<select name=\"OthDegTypCod\" style=\"width:50px;\""
fprintf (Gbl.F.Out,"<select name=\"OthDegTypCod\""
" style=\"width:50px;\""
" onchange=\"javascript:document.getElementById('%s').submit();\">",
Gbl.FormId);
for (NumDegTyp = 0;
@ -1807,7 +1808,8 @@ static void Deg_PutFormToCreateDegree (void)
/***** Centre *****/
fprintf (Gbl.F.Out,"<td class=\"LEFT_MIDDLE\">"
"<select name=\"OthCtrCod\" style=\"width:50px;\" disabled=\"disabled\">"
"<select name=\"OthCtrCod\""
" style=\"width:50px;\" disabled=\"disabled\">"
"<option value=\"%ld\" selected=\"selected\">"
"%s"
"</option>"

View File

@ -834,7 +834,8 @@ bool Enr_PutActionsRegRemOneUsr (bool ItsMe)
}
/***** Start list of options *****/
fprintf (Gbl.F.Out,"<div style=\"display:inline-block; margin:0 auto;\">"
fprintf (Gbl.F.Out,"<div class=\"CENTER_MIDDLE\""
" style=\"display:inline-block;\">"
"<ul class=\"LIST_LEFT %s\">",
The_ClassForm[Gbl.Prefs.Theme]);
@ -1051,7 +1052,8 @@ static void Enr_PutActionsRegRemSeveralUsrs (void)
extern const char *Txt_Eliminate_from_the_platform_the_users_indicated_in_step_1;
/***** Start list of options *****/
fprintf (Gbl.F.Out,"<div style=\"display:inline-block; margin:10px auto;\">"
fprintf (Gbl.F.Out,"<div class=\"CENTER_MIDDLE\""
" style=\"display:inline-block;\">"
"<ul class=\"LIST_LEFT %s\">",
The_ClassForm[Gbl.Prefs.Theme]);

View File

@ -906,7 +906,8 @@ static void For_ShowThreadPosts (long ThrCod,char *LastSubject)
For_PutFormWhichForums ();
/* Write a link to top level of forums */
fprintf (Gbl.F.Out,"<div style=\"display:inline-block; margin:0 auto;\">"
fprintf (Gbl.F.Out,"<div class=\"CENTER_MIDDLE\""
" style=\"display:inline-block;\">"
"<ul class=\"LIST_LEFT\">");
For_WriteLinkToTopLevelOfForums ();
@ -1617,7 +1618,8 @@ void For_ShowForumList (void)
For_PutFormWhichForums ();
/***** Write a link to top level of forums *****/
fprintf (Gbl.F.Out,"<div style=\"display:inline-block; margin:0 auto;\">"
fprintf (Gbl.F.Out,"<div class=\"CENTER_MIDDLE\""
" style=\"display:inline-block;\">"
"<ul class=\"LIST_LEFT\">");
For_WriteLinkToTopLevelOfForums ();
@ -2462,7 +2464,8 @@ void For_ShowForumThrs (void)
For_PutFormWhichForums ();
/* Write a link to top level of forums */
fprintf (Gbl.F.Out,"<div style=\"display:inline-block; margin:0 auto;\">"
fprintf (Gbl.F.Out,"<div class=\"CENTER_MIDDLE\""
" style=\"display:inline-block;\">"
"<ul class=\"LIST_LEFT\">");
For_WriteLinkToTopLevelOfForums ();

View File

@ -1158,7 +1158,8 @@ static void Grp_ListGroupTypesForEdition (void)
fprintf (Gbl.F.Out,"<td class=\"CENTER_MIDDLE\">");
Act_FormStart (ActChgMdtGrpTyp);
Grp_PutParamGrpTypCod (Gbl.CurrentCrs.Grps.GrpTypes.LstGrpTypes[NumGrpTyp].GrpTypCod);
fprintf (Gbl.F.Out,"<select name=\"MandatoryEnrollment\" style=\"width:120px;\""
fprintf (Gbl.F.Out,"<select name=\"MandatoryEnrollment\""
" style=\"width:120px;\""
" onchange=\"javascript:document.getElementById('%s').submit();\">"
"<option value=\"N\"",
Gbl.FormId);
@ -1179,7 +1180,8 @@ static void Grp_ListGroupTypesForEdition (void)
fprintf (Gbl.F.Out,"<td class=\"CENTER_MIDDLE\">");
Act_FormStart (ActChgMulGrpTyp);
Grp_PutParamGrpTypCod (Gbl.CurrentCrs.Grps.GrpTypes.LstGrpTypes[NumGrpTyp].GrpTypCod);
fprintf (Gbl.F.Out,"<select name=\"MultipleEnrollment\" style=\"width:120px;\""
fprintf (Gbl.F.Out,"<select name=\"MultipleEnrollment\""
" style=\"width:120px;\""
" onchange=\"javascript:document.getElementById('%s').submit();\">"
"<option value=\"N\"",
Gbl.FormId);
@ -2056,7 +2058,8 @@ static void Grp_PutFormToCreateGroupType (void)
/***** Is it mandatory to register in any groups of this type? *****/
fprintf (Gbl.F.Out,"<td class=\"CENTER_MIDDLE\">"
"<select name=\"MandatoryEnrollment\" style=\"width:120px;\">"
"<select name=\"MandatoryEnrollment\""
" style=\"width:120px;\">"
"<option value=\"N\"");
if (!Gbl.CurrentCrs.Grps.GrpTyp.MandatoryEnrollment)
fprintf (Gbl.F.Out," selected=\"selected\"");
@ -2072,7 +2075,8 @@ static void Grp_PutFormToCreateGroupType (void)
/***** Is it possible to register in multiple groups of this type? *****/
fprintf (Gbl.F.Out,"<td class=\"CENTER_MIDDLE\">"
"<select name=\"MultipleEnrollment\" style=\"width:120px;\">"
"<select name=\"MultipleEnrollment\""
" style=\"width:120px;\">"
"<option value=\"N\"");
if (!Gbl.CurrentCrs.Grps.GrpTyp.MultipleEnrollment)
fprintf (Gbl.F.Out," selected=\"selected\"");

View File

@ -158,7 +158,7 @@ void Hld_SeeHolidays (void)
break;
}
fprintf (Gbl.F.Out,"</td>"
"<td class=\"DAT\" style=\"text-align:center;\">"
"<td class=\"DAT CENTER_MIDDLE\">"
"&nbsp;%s"
"</td>"
"</tr>",

View File

@ -99,7 +99,7 @@ void Ind_ReqIndicatorsCourses (void)
/* Start form */
Act_FormStart (ActReqStaCrs);
fprintf (Gbl.F.Out,"<table class=\"CELLS_PAD_2\" style=\"margin:0 auto;\">"
fprintf (Gbl.F.Out,"<table class=\"CELLS_PAD_2\">"
"<tr>"
"<td class=\"%s RIGHT_MIDDLE\">"
"%s:"
@ -1182,7 +1182,7 @@ static void Ind_ShowTableOfCoursesWithIndicators (Ind_IndicatorsLayout_t Indicat
/***** Write number of courses with each number of indicators valid *****/
fprintf (Gbl.F.Out,"<table class=\"CELLS_PAD_2\""
" style=\"margin-left:auto; margin-right:auto;\">"
" style=\"margin:0 auto;\">"
"<tr>"
"<th class=\"TIT_TBL RIGHT_MIDDLE\">"
"%s"

View File

@ -1039,7 +1039,7 @@ void Inf_FormToSendPage (Inf_InfoSrc_t InfoSrc,Inf_InfoType_t InfoType)
Act_FormStart (Inf_ActionsInfo[InfoSrc][InfoType]);
/***** File *****/
fprintf (Gbl.F.Out,"<table style=\"margin-left:auto; margin-right:auto;\">"
fprintf (Gbl.F.Out,"<table style=\"margin:0 auto;\">"
"<tr>"
"<td class=\"%s RIGHT_MIDDLE\">"
"%s:"
@ -1074,7 +1074,7 @@ void Inf_FormToSendURL (Inf_InfoSrc_t InfoSrc,Inf_InfoType_t InfoType)
Act_FormStart (Inf_ActionsInfo[InfoSrc][InfoType]);
/***** Link *****/
fprintf (Gbl.F.Out,"<table style=\"margin-left:auto; margin-right:auto;\">"
fprintf (Gbl.F.Out,"<table style=\"margin:0 auto;\">"
"<tr>"
"<td class=\"%s RIGHT_MIDDLE\">"
"%s:"

View File

@ -1743,7 +1743,8 @@ static void Ins_PutFormToCreateInstitution (void)
/***** Country *****/
fprintf (Gbl.F.Out,"<td class=\"CENTER_MIDDLE\">"
"<select name=\"OthCtyCod\" style=\"width:80px;\" disabled=\"disabled\">"
"<select name=\"OthCtyCod\""
" style=\"width:80px;\" disabled=\"disabled\">"
"<option value=\"%ld\" selected=\"selected\">"
"%s"
"</option>"

View File

@ -1169,8 +1169,7 @@ void Lay_StartRoundFrameTableShadow (const char *Width,unsigned CellPadding)
fprintf (Gbl.F.Out,"<div class=\"CENTER_MIDDLE\">"
"<div class=\"FRAME10_SHADOW\"");
if (Width)
fprintf (Gbl.F.Out," style=\"width:%s\"",
Width);
fprintf (Gbl.F.Out," style=\"width:%s\"",Width);
fprintf (Gbl.F.Out,">"
"<table class=\"TABLE10");
if (CellPadding)
@ -1577,14 +1576,13 @@ void Lay_PutIconsToSelectLayout (void)
Layout < Lay_NUM_LAYOUTS;
Layout++)
{
fprintf (Gbl.F.Out,"<td class=\"%s\">",
fprintf (Gbl.F.Out,"<td class=\"%s CENTER_MIDDLE\">",
Layout == Gbl.Prefs.Layout ? "LAYOUT_ON" :
"LAYOUT_OFF");
Act_FormStart (ActChgLay);
Par_PutHiddenParamUnsigned ("Layout",(unsigned) Layout);
fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/%s32x32.gif\""
" alt=\"%s\" title=\"%s\" class=\"ICON32x32B\""
" style=\"margin:0 auto;\" />",
" alt=\"%s\" title=\"%s\" class=\"ICON32x32B\" />",
Gbl.Prefs.IconsURL,
Lay_LayoutIcons[Layout],
Txt_LAYOUT_NAMES[Layout],

View File

@ -2861,8 +2861,7 @@ void Msg_WriteMsgAuthor (struct UsrData *UsrDat,unsigned WidthOfNameColumn,unsig
Style);
if (BgColor)
fprintf (Gbl.F.Out," %s",BgColor);
fprintf (Gbl.F.Out,"\" style=\"width:%upx;\">"
"&nbsp;",
fprintf (Gbl.F.Out,"\" style=\"width:%upx;\">",
WidthOfNameColumn);
}

View File

@ -378,7 +378,7 @@ void Pre_PutLeftIconToHideShowCols (void)
Act_FormStart (ActHidLftCol);
fprintf (Gbl.F.Out,"<input type=\"image\""
" src=\"%s/central_left_8x800.gif\" alt=\"%s\""
" title=\"%s\" style=\"width:8px; height:800px;\" />",
" title=\"%s\" class=\"ICON8x800\" />",
Gbl.Prefs.IconsURL,
Txt_Hide_left_column,
Txt_Hide_left_column);
@ -388,7 +388,7 @@ void Pre_PutLeftIconToHideShowCols (void)
Act_FormStart (ActShoLftCol);
fprintf (Gbl.F.Out,"<input type=\"image\""
" src=\"%s/central_right_8x800.gif\" alt=\"%s\""
" title=\"%s\" style=\"width:8px; height:800px;\" />",
" title=\"%s\" class=\"ICON8x800\" />",
Gbl.Prefs.IconsURL,
Txt_Show_left_column,
Txt_Show_left_column);
@ -410,7 +410,7 @@ void Pre_PutRigthIconToHideShowCols (void)
Act_FormStart (ActHidRgtCol);
fprintf (Gbl.F.Out,"<input type=\"image\""
" src=\"%s/central_right_8x800.gif\" alt=\"%s\""
" title=\"%s\" style=\"width:8px; height:800px;\" />",
" title=\"%s\" class=\"ICON8x800\" />",
Gbl.Prefs.IconsURL,
Txt_Hide_right_column,
Txt_Hide_right_column);
@ -420,7 +420,7 @@ void Pre_PutRigthIconToHideShowCols (void)
Act_FormStart (ActShoRgtCol);
fprintf (Gbl.F.Out,"<input type=\"image\""
" src=\"%s/central_left_8x800.gif\" alt=\"%s\""
" title=\"%s\" style=\"width:8px; height:800px;\" />",
" title=\"%s\" class=\"ICON8x800\" />",
Gbl.Prefs.IconsURL,
Txt_Show_right_column,
Txt_Show_right_column);

View File

@ -225,8 +225,7 @@ bool Prf_ShowUserProfile (void)
Gbl.Usrs.Other.UsrDat.Accepted = Usr_GetIfUserHasAcceptedEnrollmentInCurrentCrs (Gbl.Usrs.Other.UsrDat.UsrCod);
}
fprintf (Gbl.F.Out,"<div style=\"margin:0 auto;\">"
"<table style=\"margin:0 auto;\">"
fprintf (Gbl.F.Out,"<table style=\"margin:0 auto;\">"
"<tr>"
"<td rowspan=\"2\" class=\"CENTER_TOP\">");
@ -250,8 +249,7 @@ bool Prf_ShowUserProfile (void)
fprintf (Gbl.F.Out,"</td>"
"</tr>"
"</table>"
"</div>");
"</table>");
return true;
}

View File

@ -2427,12 +2427,10 @@ void Rec_ShowSharedUsrRecord (Rec_RecordViewType_t TypeOfView,
fprintf (Gbl.F.Out,"</td>");
/***** User's web and social networks *****/
fprintf (Gbl.F.Out,"<td style=\"width:%upx;\">"
"<div class=\"CENTER_TOP\" style=\"margin:0 auto;\">",
fprintf (Gbl.F.Out,"<td class=\"CENTER_TOP\" style=\"width:%upx;\">",
TopC3Width);
Net_ShowWebsAndSocialNets (UsrDat);
fprintf (Gbl.F.Out,"</div>"
"</td>"
fprintf (Gbl.F.Out,"</td>"
"</tr>");
if (ShowIDRows ||
@ -2676,10 +2674,11 @@ void Rec_ShowSharedUsrRecord (Rec_RecordViewType_t TypeOfView,
ClassData,Rec_C2_BOTTOM_WIDE);
if (DataForm)
fprintf (Gbl.F.Out,"<input type=\"text\" name=\"Surname1\""
" style=\"width:%upx;\" maxlength=\"%u\" value=\"%s\" />",
Rec_C2_BOTTOM_WIDE - 60,
" maxlength=\"%u\" value=\"%s\""
" style=\"width:%upx;\" />",
Usr_MAX_LENGTH_USR_NAME_OR_SURNAME,
UsrDat->Surname1);
UsrDat->Surname1,
Rec_C2_BOTTOM_WIDE - 60);
else if (UsrDat->Surname1[0])
fprintf (Gbl.F.Out,"<strong>%s</strong>",UsrDat->Surname1);
fprintf (Gbl.F.Out,"</td>"
@ -2698,10 +2697,11 @@ void Rec_ShowSharedUsrRecord (Rec_RecordViewType_t TypeOfView,
ClassData,Rec_C2_BOTTOM_WIDE);
if (DataForm)
fprintf (Gbl.F.Out,"<input type=\"text\" name=\"Surname2\""
" style=\"width:%upx;\" maxlength=\"%u\" value=\"%s\" />",
Rec_C2_BOTTOM_WIDE - 60,
" maxlength=\"%u\" value=\"%s\""
" style=\"width:%upx;\" />",
Usr_MAX_LENGTH_USR_NAME_OR_SURNAME,
UsrDat->Surname2);
UsrDat->Surname2,
Rec_C2_BOTTOM_WIDE - 60);
else if (UsrDat->Surname2[0])
fprintf (Gbl.F.Out,"<strong>%s</strong>",
UsrDat->Surname2);
@ -2722,10 +2722,11 @@ void Rec_ShowSharedUsrRecord (Rec_RecordViewType_t TypeOfView,
ClassData,Rec_C2_BOTTOM_WIDE);
if (DataForm)
fprintf (Gbl.F.Out,"<input type=\"text\" name=\"FirstName\""
" style=\"width:%upx;\" maxlength=\"%u\" value=\"%s\" />",
Rec_C2_BOTTOM_WIDE - 60,
" maxlength=\"%u\" value=\"%s\""
" style=\"width:%upx;\" />",
Usr_MAX_LENGTH_USR_NAME_OR_SURNAME,
UsrDat->FirstName);
UsrDat->FirstName,
Rec_C2_BOTTOM_WIDE - 60);
else if (UsrDat->FirstName[0])
fprintf (Gbl.F.Out,"<strong>%s</strong>",UsrDat->FirstName);
fprintf (Gbl.F.Out,"</td>"
@ -2754,7 +2755,8 @@ void Rec_ShowSharedUsrRecord (Rec_RecordViewType_t TypeOfView,
ClassData,Rec_C2_BOTTOM_WIDE);
/* Selector of country */
fprintf (Gbl.F.Out,"<select name=\"OthCtyCod\" style=\"width:%upx;\">"
fprintf (Gbl.F.Out,"<select name=\"OthCtyCod\""
" style=\"width:%upx;\">"
"<option value=\"-1\">%s</option>"
"<option value=\"0\"",
Rec_C2_BOTTOM_WIDE - 60,
@ -2796,10 +2798,11 @@ void Rec_ShowSharedUsrRecord (Rec_RecordViewType_t TypeOfView,
{
if (DataForm)
fprintf (Gbl.F.Out,"<input type=\"text\" name=\"OriginPlace\""
" style=\"width:%upx;\" maxlength=\"%u\" value=\"%s\" />",
Rec_C2_BOTTOM_WIDE - 60,
" maxlength=\"%u\" value=\"%s\""
" style=\"width:%upx;\" />",
Cns_MAX_LENGTH_STRING,
UsrDat->OriginPlace);
UsrDat->OriginPlace,
Rec_C2_BOTTOM_WIDE - 60);
else if (UsrDat->OriginPlace[0])
fprintf (Gbl.F.Out,"%s",UsrDat->OriginPlace);
}
@ -2844,10 +2847,11 @@ void Rec_ShowSharedUsrRecord (Rec_RecordViewType_t TypeOfView,
{
if (DataForm)
fprintf (Gbl.F.Out,"<input type=\"text\" name=\"LocalAddress\""
" style=\"width:%upx;\" maxlength=\"%u\" value=\"%s\" />",
Rec_C2_BOTTOM_WIDE - 60,
" maxlength=\"%u\" value=\"%s\""
" style=\"width:%upx;\" />",
Cns_MAX_LENGTH_STRING,
UsrDat->LocalAddress);
UsrDat->LocalAddress,
Rec_C2_BOTTOM_WIDE - 60);
else if (UsrDat->LocalAddress[0])
fprintf (Gbl.F.Out,"%s",UsrDat->LocalAddress);
}
@ -2868,10 +2872,11 @@ void Rec_ShowSharedUsrRecord (Rec_RecordViewType_t TypeOfView,
{
if (DataForm)
fprintf (Gbl.F.Out,"<input type=\"text\" name=\"LocalPhone\""
" style=\"width:%upx;\" maxlength=\"%u\" value=\"%s\" />",
Rec_C2_BOTTOM_WIDE - 60,
" maxlength=\"%u\" value=\"%s\""
" style=\"width:%upx;\" />",
Usr_MAX_LENGTH_PHONE,
UsrDat->LocalPhone);
UsrDat->LocalPhone,
Rec_C2_BOTTOM_WIDE - 60);
else if (UsrDat->LocalPhone[0])
fprintf (Gbl.F.Out,"%s",UsrDat->LocalPhone);
}
@ -2892,10 +2897,11 @@ void Rec_ShowSharedUsrRecord (Rec_RecordViewType_t TypeOfView,
{
if (DataForm)
fprintf (Gbl.F.Out,"<input type=\"text\" name=\"FamilyAddress\""
" style=\"width:%upx;\" maxlength=\"%u\" value=\"%s\" />",
Rec_C2_BOTTOM_WIDE - 60,
" maxlength=\"%u\" value=\"%s\""
" style=\"width:%upx;\" />",
Cns_MAX_LENGTH_STRING,
UsrDat->FamilyAddress);
UsrDat->FamilyAddress,
Rec_C2_BOTTOM_WIDE - 60);
else if (UsrDat->FamilyAddress[0])
fprintf (Gbl.F.Out,"%s",UsrDat->FamilyAddress);
}
@ -2916,10 +2922,11 @@ void Rec_ShowSharedUsrRecord (Rec_RecordViewType_t TypeOfView,
{
if (DataForm)
fprintf (Gbl.F.Out,"<input type=\"text\" name=\"FamilyPhone\""
" style=\"width:%upx;\" maxlength=\"%u\" value=\"%s\" />",
Rec_C2_BOTTOM_WIDE - 60,
" maxlength=\"%u\" value=\"%s\""
" style=\"width:%upx;\" />",
Usr_MAX_LENGTH_PHONE,
UsrDat->FamilyPhone);
UsrDat->FamilyPhone,
Rec_C2_BOTTOM_WIDE - 60);
else if (UsrDat->FamilyPhone[0])
fprintf (Gbl.F.Out,"%s",UsrDat->FamilyPhone);
}
@ -3525,7 +3532,8 @@ void Rec_ShowFormMyInsCtrDpt (void)
COL2_WIDTH);
Act_FormGoToStart (ActChgMyOffPho);
fprintf (Gbl.F.Out,"<input type=\"text\" name=\"OfficePhone\""
" style=\"width:400px;\" maxlength=\"%u\" value=\"%s\""
" maxlength=\"%u\" value=\"%s\""
" style=\"width:400px;\""
" onchange=\"javascript:document.getElementById('%s').submit();\" />",
Usr_MAX_LENGTH_PHONE,
Gbl.Usrs.Me.UsrDat.Tch.OfficePhone,

View File

@ -1521,7 +1521,8 @@ static void Sta_ShowDetailedAccessesList (unsigned long NumRows,MYSQL_RES *mysql
Act_FormEnd ();
/* Write number of current page */
fprintf (Gbl.F.Out,"<td class=\"TIT_TBL CENTER_MIDDLE\" style=\"width:60%%;\">"
fprintf (Gbl.F.Out,"<td class=\"TIT_TBL CENTER_MIDDLE\""
" style=\"width:60%%;\">"
"<strong>"
"%s %lu-%lu %s %lu (%s %ld %s %lu)"
"</strong>"

View File

@ -1216,7 +1216,8 @@ static void TT_TimeTableDrawCell (unsigned Day,unsigned Hour,unsigned Column,uns
{
/***** Group *****/
fprintf (Gbl.F.Out,"<br />%s"
"<select name=\"ModTTGrpCod\" style=\"width:88px;\""
"<select name=\"ModTTGrpCod\""
" style=\"width:88px;\""
" onchange=\"javascript:document.getElementById('%s').submit();\">",
Txt_Group,Gbl.FormId);
fprintf (Gbl.F.Out,"<option value=\"-1\"");