mirror of https://github.com/acanas/swad-core.git
Version 14.52.6
This commit is contained in:
parent
bf4d5a3b07
commit
343244dc9c
|
@ -477,8 +477,8 @@ void ID_ShowFormChangeUsrID (const struct UsrData *UsrDat,bool ItsMe)
|
|||
UsrDat->IDs.List[NumID].ID);
|
||||
fprintf (Gbl.F.Out,"<input type=\"hidden\" name=\"UsrID\" value=\"%s\" />"
|
||||
"<input type=\"image\" src=\"%s/delon16x16.gif\""
|
||||
" alt=\"%s\" title=\"%s\""
|
||||
" class=\"ICON16x16\" style=\"margin-right:2px;\" />"
|
||||
" alt=\"%s\" title=\"%s\" class=\"ICON16x16\""
|
||||
" style=\"margin-right:2px;\" />"
|
||||
"</form>",
|
||||
UsrDat->IDs.List[NumID].ID,
|
||||
Gbl.Prefs.IconsURL,
|
||||
|
|
|
@ -418,8 +418,9 @@ static void Asg_WriteAssignmentFolder (struct Assignment *Asg)
|
|||
Brw_PutParamsPathAndFile (Brw_IS_FOLDER,Brw_INTERNAL_NAME_ROOT_FOLDER_ASSIGNMENTS,Asg->Folder);
|
||||
sprintf (Gbl.Title,Txt_Upload_file_or_create_folder_in_FOLDER,
|
||||
Asg->Folder);
|
||||
fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/folder-open-plus16x16.gif\""
|
||||
" alt=\"%s\" title=\"%s\" class=\"ICON16x16\" />"
|
||||
fprintf (Gbl.F.Out,"<input type=\"image\""
|
||||
" src=\"%s/folder-open-plus16x16.gif\" alt=\"%s\""
|
||||
" title=\"%s\" class=\"ICON16x16\" />"
|
||||
"</form>",
|
||||
Gbl.Prefs.IconsURL,
|
||||
Gbl.Title,
|
||||
|
|
|
@ -35,11 +35,12 @@
|
|||
/****************************** Public constants *****************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 14.52.5 (2015/01/02)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 14.52.6 (2015/01/04)"
|
||||
|
||||
// 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 | tail -1
|
||||
/*
|
||||
Version 14.52.6 :Jan 04, 2014 Fixed bugs for HTML5 validation. (173187 lines)
|
||||
Version 14.52.5 :Jan 02, 2014 Changes in CSS. (173170 lines)
|
||||
Version 14.52.4 :Jan 02, 2014 Removed unnecessary titles in statistics. (173169 lines)
|
||||
Version 14.52.3 :Jan 02, 2014 Titles in statistics. (173258 lines)
|
||||
|
|
|
@ -1363,8 +1363,9 @@ static void Crs_ListCoursesForEdition (void)
|
|||
{
|
||||
Act_FormStart (ActRemCrs);
|
||||
Crs_PutParamOtherCrsCod (Crs->CrsCod);
|
||||
fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/delon16x16.gif\""
|
||||
" alt=\"%s\" title=\"%s\" class=\"ICON16x16\" />"
|
||||
fprintf (Gbl.F.Out,"<input type=\"image\""
|
||||
" src=\"%s/delon16x16.gif\" alt=\"%s\""
|
||||
" title=\"%s\" class=\"ICON16x16\" />"
|
||||
"</form>",
|
||||
Gbl.Prefs.IconsURL,
|
||||
Txt_Remove_course,
|
||||
|
|
|
@ -4150,8 +4150,9 @@ static void Brw_PutIconFolder (unsigned Level,Brw_ExpandTree_t ExpandTree,
|
|||
}
|
||||
Brw_ParamListFiles (Brw_IS_FOLDER,PathInTree,FileName);
|
||||
sprintf (Gbl.Title,Txt_Upload_file_or_create_folder_in_FOLDER,FileNameToShow);
|
||||
fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/folder-%s-plus16x16.gif\""
|
||||
" alt=\"%s\" title=\"%s\" class=\"ICON16x16B\" />"
|
||||
fprintf (Gbl.F.Out,"<input type=\"image\""
|
||||
" src=\"%s/folder-%s-plus16x16.gif\" alt=\"%s\""
|
||||
" title=\"%s\" class=\"ICON16x16B\" />"
|
||||
"</form>",
|
||||
Gbl.Prefs.IconsURL,
|
||||
(ExpandTree == Brw_EXPAND_TREE_PLUS) ? "closed" :
|
||||
|
|
|
@ -1010,8 +1010,8 @@ static void Lay_DrawTabsMobile (void)
|
|||
Par_PutHiddenParamUnsigned ("NxtTab",(unsigned) NumTab);
|
||||
Act_LinkFormSubmit (Txt_TABS_FULL_TXT[NumTab],The_ClassMenuOff[Gbl.Prefs.Theme]);
|
||||
fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/%s/%s64x64.gif\""
|
||||
" alt=\"%s\" title=\"%s\""
|
||||
" class=\"ICON64x64\" style=\"margin:4px;\" />"
|
||||
" alt=\"%s\" title=\"%s\" class=\"ICON64x64\""
|
||||
" style=\"margin:4px;\" />"
|
||||
"<div>%s</div>"
|
||||
"</a>"
|
||||
"</form>"
|
||||
|
@ -1258,14 +1258,15 @@ static void Lay_WriteHorizontalMenuThisTabDesktop (void)
|
|||
Act_FormStart (NumAct);
|
||||
Act_LinkFormSubmit (Title,IsTheSelectedAction ? The_ClassMenuOn[Gbl.Prefs.Theme] :
|
||||
The_ClassMenuOff[Gbl.Prefs.Theme]);
|
||||
fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/%s/%s32x32.gif\""
|
||||
" alt=\"\" class=\"ICON28x28\""
|
||||
fprintf (Gbl.F.Out,"<img src=\"%s/%s/%s32x32.gif\""
|
||||
" alt=\"%s\" class=\"ICON28x28\""
|
||||
" style=\"margin:0;\" />"
|
||||
"<div>%s</div>"
|
||||
"</a>"
|
||||
"</form>",
|
||||
Gbl.Prefs.PathIconSet,Cfg_ICON_ACTION_32x32,
|
||||
Act_Actions[NumAct].Icon,
|
||||
Txt_MENU_TITLE[Gbl.CurrentTab][NumOptInMenu],
|
||||
Txt_MENU_TITLE[Gbl.CurrentTab][NumOptInMenu]);
|
||||
|
||||
/***** End of container used to highlight this option *****/
|
||||
|
@ -1323,7 +1324,7 @@ static void Lay_WriteMenuThisTabMobile (void)
|
|||
(NumAct == Act_Actions[Gbl.CurrentAct].SuperAction) ? The_ClassMenuOn[Gbl.Prefs.Theme] :
|
||||
The_ClassMenuOff[Gbl.Prefs.Theme]);
|
||||
fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/%s/%s64x64.gif\""
|
||||
" alt=\"\" class=\"ICON64x64\""
|
||||
" alt=\"%s\" class=\"ICON64x64\""
|
||||
" style=\"margin:4px;\" />"
|
||||
"<div>%s</div>"
|
||||
"</a>"
|
||||
|
@ -1332,6 +1333,7 @@ static void Lay_WriteMenuThisTabMobile (void)
|
|||
"</td>",
|
||||
Gbl.Prefs.PathIconSet,Cfg_ICON_ACTION_64x64,
|
||||
Act_Actions[NumAct].Icon,
|
||||
Txt_MENU_TITLE[Gbl.CurrentTab][NumOptInMenu],
|
||||
Txt_MENU_TITLE[Gbl.CurrentTab][NumOptInMenu]);
|
||||
|
||||
if ((NumOptVisible % Cfg_LAYOUT_MOBILE_NUM_COLUMNS) ==
|
||||
|
|
|
@ -1073,8 +1073,8 @@ void Mai_ShowFormChangeUsrEmail (void)
|
|||
row[0]);
|
||||
fprintf (Gbl.F.Out,"<input type=\"hidden\" name=\"Email\" value=\"%s\" />"
|
||||
"<input type=\"image\" src=\"%s/delon16x16.gif\""
|
||||
" alt=\"%s\" title=\"%s\""
|
||||
" class=\"ICON16x16\" style=\"margin-right:2px;\" />"
|
||||
" alt=\"%s\" title=\"%s\" class=\"ICON16x16\""
|
||||
" style=\"margin-right:2px;\" />"
|
||||
"</form>",
|
||||
row[0],
|
||||
Gbl.Prefs.IconsURL,
|
||||
|
|
|
@ -3440,8 +3440,9 @@ void Msg_ListBannedUsrs (void)
|
|||
"<td class=\"BM\">");
|
||||
Act_FormStart (ActUnbUsrLst);
|
||||
Usr_PutParamOtherUsrCodEncrypted (UsrDat.EncryptedUsrCod);
|
||||
fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/closed_on16x16.gif\""
|
||||
" alt=\"%s\" title=\"%s\" class=\"ICON16x16\" />"
|
||||
fprintf (Gbl.F.Out,"<input type=\"image\""
|
||||
" src=\"%s/closed_on16x16.gif\" alt=\"%s\""
|
||||
" title=\"%s\" class=\"ICON16x16\" />"
|
||||
"</form>"
|
||||
"</td>",
|
||||
Gbl.Prefs.IconsURL,
|
||||
|
|
|
@ -237,8 +237,8 @@ void Nck_ShowFormChangeUsrNickname (void)
|
|||
row[0]);
|
||||
fprintf (Gbl.F.Out,"<input type=\"hidden\" name=\"Nick\" value=\"%s\" />"
|
||||
"<input type=\"image\" src=\"%s/delon16x16.gif\""
|
||||
" alt=\"%s\" title=\"%s\""
|
||||
" class=\"ICON16x16\" style=\"margin-right:2px;\" />"
|
||||
" alt=\"%s\" title=\"%s\" class=\"ICON16x16\""
|
||||
" style=\"margin-right:2px;\" />"
|
||||
"</form>",
|
||||
row[0],
|
||||
Gbl.Prefs.IconsURL,
|
||||
|
|
|
@ -499,8 +499,9 @@ static void Not_DrawANotice (Not_Listing_t TypeNoticesListing,
|
|||
case Not_ACTIVE_NOTICE:
|
||||
Act_FormStart (ActHidNot);
|
||||
Not_PutHiddenParamNotCod (NotCod);
|
||||
fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/visible_on16x16.gif\""
|
||||
" alt=\"%s\" title=\"%s\" class=\"ICON16x16\" />"
|
||||
fprintf (Gbl.F.Out,"<input type=\"image\""
|
||||
" src=\"%s/visible_on16x16.gif\" alt=\"%s\""
|
||||
" title=\"%s\" class=\"ICON16x16\" />"
|
||||
"</form>",
|
||||
Gbl.Prefs.IconsURL,
|
||||
Txt_NOTICE_Active_Mark_as_obsolete,
|
||||
|
@ -509,8 +510,9 @@ static void Not_DrawANotice (Not_Listing_t TypeNoticesListing,
|
|||
case Not_OBSOLETE_NOTICE:
|
||||
Act_FormStart (ActRevNot);
|
||||
Not_PutHiddenParamNotCod (NotCod);
|
||||
fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/hidden_on16x16.gif\""
|
||||
" alt=\"%s\" title=\"%s\" class=\"ICON16x16\" />"
|
||||
fprintf (Gbl.F.Out,"<input type=\"image\""
|
||||
" src=\"%s/hidden_on16x16.gif\" alt=\"%s\""
|
||||
" title=\"%s\" class=\"ICON16x16\" />"
|
||||
"</form>",
|
||||
Gbl.Prefs.IconsURL,
|
||||
Txt_NOTICE_Obsolete_Mark_as_active,
|
||||
|
|
|
@ -379,8 +379,9 @@ void Prf_PutLeftIconToHideShowCols (void)
|
|||
if (Gbl.Prefs.SideCols & Lay_SHOW_LEFT_COLUMN)
|
||||
{
|
||||
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;\" />",
|
||||
fprintf (Gbl.F.Out,"<input type=\"image\""
|
||||
" src=\"%s/central_left_8x800.gif\" alt=\"%s\""
|
||||
" title=\"%s\" style=\"width:8px;height:800px;\" />",
|
||||
Gbl.Prefs.IconsURL,
|
||||
Txt_Hide_left_column,
|
||||
Txt_Hide_left_column);
|
||||
|
@ -388,8 +389,9 @@ void Prf_PutLeftIconToHideShowCols (void)
|
|||
else
|
||||
{
|
||||
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;\" />",
|
||||
fprintf (Gbl.F.Out,"<input type=\"image\""
|
||||
" src=\"%s/central_right_8x800.gif\" alt=\"%s\""
|
||||
" title=\"%s\" style=\"width:8px;height:800px;\" />",
|
||||
Gbl.Prefs.IconsURL,
|
||||
Txt_Show_left_column,
|
||||
Txt_Show_left_column);
|
||||
|
@ -409,8 +411,9 @@ void Prf_PutRigthIconToHideShowCols (void)
|
|||
if (Gbl.Prefs.SideCols & Lay_SHOW_RIGHT_COLUMN)
|
||||
{
|
||||
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;\" />",
|
||||
fprintf (Gbl.F.Out,"<input type=\"image\""
|
||||
" src=\"%s/central_right_8x800.gif\" alt=\"%s\""
|
||||
" title=\"%s\" style=\"width:8px;height:800px;\" />",
|
||||
Gbl.Prefs.IconsURL,
|
||||
Txt_Hide_right_column,
|
||||
Txt_Hide_right_column);
|
||||
|
@ -418,8 +421,9 @@ void Prf_PutRigthIconToHideShowCols (void)
|
|||
else
|
||||
{
|
||||
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;\" />",
|
||||
fprintf (Gbl.F.Out,"<input type=\"image\""
|
||||
" src=\"%s/central_left_8x800.gif\" alt=\"%s\""
|
||||
" title=\"%s\" style=\"width:8px;height:800px;\" />",
|
||||
Gbl.Prefs.IconsURL,
|
||||
Txt_Show_right_column,
|
||||
Txt_Show_right_column);
|
||||
|
|
|
@ -326,8 +326,8 @@ void Sch_PutFormToSearch (const char *IconURL)
|
|||
|
||||
/***** Send button *****/
|
||||
fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/search16x16.gif\""
|
||||
" alt=\"%s\" title=\"%s\""
|
||||
" class=\"ICON16x16\" style=\"padding-top:3px;vertical-align:top;\" />",
|
||||
" alt=\"%s\" title=\"%s\" class=\"ICON16x16\""
|
||||
" style=\"padding-top:3px;vertical-align:top;\" />",
|
||||
IconURL,
|
||||
Txt_Search,
|
||||
Txt_Search);
|
||||
|
|
|
@ -608,8 +608,9 @@ static void Syl_ShowRowSyllabus (Inf_InfoType_t InfoType,unsigned NumItem,int Le
|
|||
LstItemsSyllabus.Lst[NumItem].HasChildren ? Txt_Move_down_X_and_its_subsections :
|
||||
Txt_Move_down_X,
|
||||
StrItemCod);
|
||||
fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/down_on16x16.gif\""
|
||||
" alt=\"%s\" title=\"%s\" class=\"ICON16x16\" />"
|
||||
fprintf (Gbl.F.Out,"<input type=\"image\""
|
||||
" src=\"%s/down_on16x16.gif\" alt=\"%s\""
|
||||
" title=\"%s\" class=\"ICON16x16\" />"
|
||||
"</form>",
|
||||
Gbl.Prefs.IconsURL,
|
||||
Gbl.Title,
|
||||
|
@ -630,8 +631,9 @@ static void Syl_ShowRowSyllabus (Inf_InfoType_t InfoType,unsigned NumItem,int Le
|
|||
Syl_PutParamNumItem (NumItem);
|
||||
sprintf (Gbl.Title,Txt_Increase_level_of_X,
|
||||
StrItemCod);
|
||||
fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/left_on16x16.gif\""
|
||||
" alt=\"%s\" title=\"%s\" class=\"ICON16x16\" />"
|
||||
fprintf (Gbl.F.Out,"<input type=\"image\""
|
||||
" src=\"%s/left_on16x16.gif\" alt=\"%s\""
|
||||
" title=\"%s\" class=\"ICON16x16\" />"
|
||||
"</form>",
|
||||
Gbl.Prefs.IconsURL,
|
||||
Gbl.Title,
|
||||
|
@ -653,8 +655,9 @@ static void Syl_ShowRowSyllabus (Inf_InfoType_t InfoType,unsigned NumItem,int Le
|
|||
Syl_PutParamNumItem (NumItem);
|
||||
sprintf (Gbl.Title,Txt_Decrease_level_of_X,
|
||||
StrItemCod);
|
||||
fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/right_on16x16.gif\""
|
||||
" alt=\"%s\" title=\"%s\" class=\"ICON16x16\" />"
|
||||
fprintf (Gbl.F.Out,"<input type=\"image\""
|
||||
" src=\"%s/right_on16x16.gif\" alt=\"%s\""
|
||||
" title=\"%s\" class=\"ICON16x16\" />"
|
||||
"</form>",
|
||||
Gbl.Prefs.IconsURL,
|
||||
Gbl.Title,
|
||||
|
|
|
@ -244,8 +244,9 @@ void The_PutIconsToSelectTheme (void)
|
|||
"LAYOUT_OFF");
|
||||
Act_FormStart (ActChgThe);
|
||||
Par_PutHiddenParamString ("Theme",The_ThemeId[Theme]);
|
||||
fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/%s/%s/theme_32x20.gif\""
|
||||
" alt=\"%s\" title=\"%s\" style=\"display:block;"
|
||||
fprintf (Gbl.F.Out,"<input type=\"image\""
|
||||
" src=\"%s/%s/%s/theme_32x20.gif\" alt=\"%s\""
|
||||
" title=\"%s\" style=\"display:block;"
|
||||
" width:32px; height:20px; margin:0 auto;\" />"
|
||||
"</form>"
|
||||
"</td>",
|
||||
|
|
Loading…
Reference in New Issue