mirror of
https://github.com/acanas/swad-core.git
synced 2024-06-20 07:25:42 +02:00
Version 15.46.1
This commit is contained in:
parent
34f5b98ba8
commit
26cf9e52a1
|
@ -135,6 +135,18 @@ hr.YELLOW_SEPARA {height:0; border-top:0; border-bottom:#BD4815 dotted 1px;}
|
||||||
text-align:left;
|
text-align:left;
|
||||||
vertical-align:middle;
|
vertical-align:middle;
|
||||||
}
|
}
|
||||||
|
@media only screen and (max-width: 1279px) { /* For mobile phones and tablets */
|
||||||
|
#head_search_text
|
||||||
|
{
|
||||||
|
display:none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media only screen and (min-width: 1280px) { /* For desktop */
|
||||||
|
#head_search_text
|
||||||
|
{
|
||||||
|
display:initial;
|
||||||
|
}
|
||||||
|
}
|
||||||
#head_row_1_usr_lang
|
#head_row_1_usr_lang
|
||||||
{
|
{
|
||||||
display:table-cell;
|
display:table-cell;
|
||||||
|
@ -331,7 +343,7 @@ hr.YELLOW_SEPARA {height:0; border-top:0; border-bottom:#BD4815 dotted 1px;}
|
||||||
width:138px;
|
width:138px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (max-width: 1280px) { /* For mobile phones: */
|
@media only screen and (max-width: 1279px) { /* For mobile phones and tablets */
|
||||||
#main_zone_central_none, #main_zone_central_left, #main_zone_central_right, #main_zone_central_both
|
#main_zone_central_none, #main_zone_central_left, #main_zone_central_right, #main_zone_central_both
|
||||||
{
|
{
|
||||||
display:table-cell;
|
display:table-cell;
|
||||||
|
@ -339,7 +351,7 @@ hr.YELLOW_SEPARA {height:0; border-top:0; border-bottom:#BD4815 dotted 1px;}
|
||||||
vertical-align:top;
|
vertical-align:top;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@media only screen and (min-width: 1280px) { /* For desktop: */
|
@media only screen and (min-width: 1280px) { /* For desktop */
|
||||||
#main_zone_central_none /* Hide left and right columns */
|
#main_zone_central_none /* Hide left and right columns */
|
||||||
{
|
{
|
||||||
display:table-cell;
|
display:table-cell;
|
||||||
|
|
|
@ -115,11 +115,12 @@
|
||||||
/****************************** Public constants *****************************/
|
/****************************** Public constants *****************************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
#define Log_PLATFORM_VERSION "SWAD 15.46 (2015/11/27)"
|
#define Log_PLATFORM_VERSION "SWAD 15.46.1 (2015/11/27)"
|
||||||
|
|
||||||
// Number of lines (includes comments but not blank lines) has been got with the following command:
|
// 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
|
// nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*.h sql/swad*.sql | tail -1
|
||||||
/*
|
/*
|
||||||
|
Version 15.46.1: Nov 27, 2015 Responsive design in search box (top of the page). (188094 lines)
|
||||||
Version 15.46: Nov 27, 2015 First version with responsive design: both side columns are hidden when screen size is small. (188078 lines)
|
Version 15.46: Nov 27, 2015 First version with responsive design: both side columns are hidden when screen size is small. (188078 lines)
|
||||||
Version 15.45.15: Nov 25, 2015 Some CSS styles related to layout are moved to CSS file. (188021 lines)
|
Version 15.45.15: Nov 25, 2015 Some CSS styles related to layout are moved to CSS file. (188021 lines)
|
||||||
Version 15.45.14: Nov 25, 2015 Some CSS styles related to layout are moved to CSS file. (188037 lines)
|
Version 15.45.14: Nov 25, 2015 Some CSS styles related to layout are moved to CSS file. (188037 lines)
|
||||||
|
|
|
@ -760,7 +760,7 @@ static void Lay_WritePageTopHeadingDesktop (void)
|
||||||
(Gbl.CurrentCty.Cty.CtyCod > 0 ? ActCtySch :
|
(Gbl.CurrentCty.Cty.CtyCod > 0 ? ActCtySch :
|
||||||
ActSysSch)))));
|
ActSysSch)))));
|
||||||
Sco_PutParamScope (Sco_SCOPE_SYS);
|
Sco_PutParamScope (Sco_SCOPE_SYS);
|
||||||
Sch_PutFormToSearch (Gbl.Prefs.PathTheme);
|
Sch_PutFormToSearch (Gbl.Prefs.PathTheme,"head_search_text");
|
||||||
Act_FormEnd ();
|
Act_FormEnd ();
|
||||||
fprintf (Gbl.F.Out,"</div>");
|
fprintf (Gbl.F.Out,"</div>");
|
||||||
|
|
||||||
|
|
|
@ -266,7 +266,7 @@ static void Sch_PutFormToSearchWithWhatToSearchAndScope (Act_Action_t Action,Sco
|
||||||
fprintf (Gbl.F.Out,"</select>");
|
fprintf (Gbl.F.Out,"</select>");
|
||||||
|
|
||||||
/***** String to find *****/
|
/***** String to find *****/
|
||||||
Sch_PutFormToSearch (Gbl.Prefs.IconsURL);
|
Sch_PutFormToSearch (Gbl.Prefs.IconsURL,NULL);
|
||||||
|
|
||||||
/***** Send button and end frame *****/
|
/***** Send button and end frame *****/
|
||||||
Lay_EndRoundFrameWithButton (Lay_CONFIRM_BUTTON,Txt_Search);
|
Lay_EndRoundFrameWithButton (Lay_CONFIRM_BUTTON,Txt_Search);
|
||||||
|
@ -304,12 +304,15 @@ static bool Sch_CheckIfIHavePermissionToSearch (Sch_WhatToSearch_t WhatToSearch)
|
||||||
/*********** Put form to search courses, teachers, documents... **************/
|
/*********** Put form to search courses, teachers, documents... **************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
void Sch_PutFormToSearch (const char *IconURL)
|
void Sch_PutFormToSearch (const char *IconURL,const char *IdInputText)
|
||||||
{
|
{
|
||||||
extern const char *Txt_Search;
|
extern const char *Txt_Search;
|
||||||
|
|
||||||
/***** String to find *****/
|
/***** String to find *****/
|
||||||
fprintf (Gbl.F.Out,"<input type=\"text\" name=\"Search\""
|
fprintf (Gbl.F.Out,"<input");
|
||||||
|
if (IdInputText)
|
||||||
|
fprintf (Gbl.F.Out," id=\"%s\"",IdInputText);
|
||||||
|
fprintf (Gbl.F.Out," type=\"text\" name=\"Search\""
|
||||||
" size=\"30\" maxlength=\"%u\" value=\"%s\"",
|
" size=\"30\" maxlength=\"%u\" value=\"%s\"",
|
||||||
Sch_MAX_LENGTH_STRING_TO_FIND,
|
Sch_MAX_LENGTH_STRING_TO_FIND,
|
||||||
Gbl.Search.Str);
|
Gbl.Search.Str);
|
||||||
|
|
|
@ -63,7 +63,7 @@ void Sch_ReqInsSearch (void);
|
||||||
void Sch_ReqCtrSearch (void);
|
void Sch_ReqCtrSearch (void);
|
||||||
void Sch_ReqDegSearch (void);
|
void Sch_ReqDegSearch (void);
|
||||||
void Sch_ReqCrsSearch (void);
|
void Sch_ReqCrsSearch (void);
|
||||||
void Sch_PutFormToSearch (const char *IconURL);
|
void Sch_PutFormToSearch (const char *IconURL,const char *IdInputText);
|
||||||
void Sch_GetParamWhatToSearch (void);
|
void Sch_GetParamWhatToSearch (void);
|
||||||
void Sch_GetParamsSearch (void);
|
void Sch_GetParamsSearch (void);
|
||||||
void Sch_SysSearch (void);
|
void Sch_SysSearch (void);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user