mirror of
https://github.com/acanas/swad-core.git
synced 2024-09-22 00:00:40 +02:00
Version18.83
This commit is contained in:
parent
ae81b75313
commit
689227fa44
|
@ -3054,12 +3054,29 @@ a:hover img.CENTRE_PHOTO_SHOW
|
||||||
{
|
{
|
||||||
padding-bottom:10px;
|
padding-bottom:10px;
|
||||||
}
|
}
|
||||||
|
.TL_FORM
|
||||||
|
{
|
||||||
|
padding-top:8px;
|
||||||
|
overflow:hidden;
|
||||||
|
text-overflow:ellipsis;
|
||||||
|
}
|
||||||
|
.TL_FORM_OFF,
|
||||||
|
.TL_LOC
|
||||||
|
{
|
||||||
|
padding-top:8px;
|
||||||
|
color:#808080;
|
||||||
|
font-size:13pt;
|
||||||
|
overflow:hidden;
|
||||||
|
text-overflow:ellipsis;
|
||||||
|
}
|
||||||
.TL_TXT
|
.TL_TXT
|
||||||
{
|
{
|
||||||
padding:5px 0;
|
padding:5px 0;
|
||||||
color:#202020;
|
color:#202020;
|
||||||
font-size:13pt;
|
font-size:13pt;
|
||||||
line-height:1.4;
|
line-height:1.4;
|
||||||
|
overflow:hidden;
|
||||||
|
text-overflow:ellipsis;
|
||||||
}
|
}
|
||||||
.TL_EXPAND_COMMENTS
|
.TL_EXPAND_COMMENTS
|
||||||
{
|
{
|
|
@ -459,13 +459,13 @@ En OpenSWAD:
|
||||||
ps2pdf source.ps destination.pdf
|
ps2pdf source.ps destination.pdf
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define Log_PLATFORM_VERSION "SWAD 18.83 (2019-03-19)"
|
#define Log_PLATFORM_VERSION "SWAD 18.83 (2019-03-20)"
|
||||||
#define CSS_FILE "swad18.80.css"
|
#define CSS_FILE "swad18.83.css"
|
||||||
#define JS_FILE "swad18.80.js"
|
#define JS_FILE "swad18.80.js"
|
||||||
/*
|
/*
|
||||||
Version 18.83: Mar 19, 2019 Important optimization on removing of temporary files to increase speed.
|
Version 18.83: Mar 20, 2019 Important optimization on removing of temporary files to increase speed.
|
||||||
Code refactoring related to paths and URL.
|
Code refactoring related to paths and URL.
|
||||||
Fixing in CSS to hide overflow in timeline. (240536 lines)
|
Fixing in CSS to hide overflow in timeline. (240554 lines)
|
||||||
Version 18.82: Mar 19, 2019 User preferences are retrieved from database only when they are needed. (240630 lines)
|
Version 18.82: Mar 19, 2019 User preferences are retrieved from database only when they are needed. (240630 lines)
|
||||||
Version 18.81.5: Mar 19, 2019 Code refactoring related to media. (240594 lines)
|
Version 18.81.5: Mar 19, 2019 Code refactoring related to media. (240594 lines)
|
||||||
Version 18.81.4: Mar 19, 2019 Code refactoring related to media. (240586 lines)
|
Version 18.81.4: Mar 19, 2019 Code refactoring related to media. (240586 lines)
|
||||||
|
|
|
@ -1564,19 +1564,19 @@ static void TL_WriteNote (const struct TL_Note *SocNot,
|
||||||
case TL_NOTE_INS_DOC_PUB_FILE:
|
case TL_NOTE_INS_DOC_PUB_FILE:
|
||||||
case TL_NOTE_INS_SHA_PUB_FILE:
|
case TL_NOTE_INS_SHA_PUB_FILE:
|
||||||
/* Write location (institution) in hierarchy */
|
/* Write location (institution) in hierarchy */
|
||||||
fprintf (Gbl.F.Out,"<div class=\"DAT\">%s: %s</div>",
|
fprintf (Gbl.F.Out,"<div class=\"TL_LOC\">%s: %s</div>",
|
||||||
Txt_Institution,Ins.ShrtName);
|
Txt_Institution,Ins.ShrtName);
|
||||||
break;
|
break;
|
||||||
case TL_NOTE_CTR_DOC_PUB_FILE:
|
case TL_NOTE_CTR_DOC_PUB_FILE:
|
||||||
case TL_NOTE_CTR_SHA_PUB_FILE:
|
case TL_NOTE_CTR_SHA_PUB_FILE:
|
||||||
/* Write location (centre) in hierarchy */
|
/* Write location (centre) in hierarchy */
|
||||||
fprintf (Gbl.F.Out,"<div class=\"DAT\">%s: %s</div>",
|
fprintf (Gbl.F.Out,"<div class=\"TL_LOC\">%s: %s</div>",
|
||||||
Txt_Centre,Ctr.ShrtName);
|
Txt_Centre,Ctr.ShrtName);
|
||||||
break;
|
break;
|
||||||
case TL_NOTE_DEG_DOC_PUB_FILE:
|
case TL_NOTE_DEG_DOC_PUB_FILE:
|
||||||
case TL_NOTE_DEG_SHA_PUB_FILE:
|
case TL_NOTE_DEG_SHA_PUB_FILE:
|
||||||
/* Write location (degree) in hierarchy */
|
/* Write location (degree) in hierarchy */
|
||||||
fprintf (Gbl.F.Out,"<div class=\"DAT\">%s: %s</div>",
|
fprintf (Gbl.F.Out,"<div class=\"TL_LOC\">%s: %s</div>",
|
||||||
Txt_Degree,Deg.ShrtName);
|
Txt_Degree,Deg.ShrtName);
|
||||||
break;
|
break;
|
||||||
case TL_NOTE_CRS_DOC_PUB_FILE:
|
case TL_NOTE_CRS_DOC_PUB_FILE:
|
||||||
|
@ -1584,12 +1584,12 @@ static void TL_WriteNote (const struct TL_Note *SocNot,
|
||||||
case TL_NOTE_EXAM_ANNOUNCEMENT:
|
case TL_NOTE_EXAM_ANNOUNCEMENT:
|
||||||
case TL_NOTE_NOTICE:
|
case TL_NOTE_NOTICE:
|
||||||
/* Write location (course) in hierarchy */
|
/* Write location (course) in hierarchy */
|
||||||
fprintf (Gbl.F.Out,"<div class=\"DAT\">%s: %s</div>",
|
fprintf (Gbl.F.Out,"<div class=\"TL_LOC\">%s: %s</div>",
|
||||||
Txt_Course,Crs.ShrtName);
|
Txt_Course,Crs.ShrtName);
|
||||||
break;
|
break;
|
||||||
case TL_NOTE_FORUM_POST:
|
case TL_NOTE_FORUM_POST:
|
||||||
/* Write forum name */
|
/* Write forum name */
|
||||||
fprintf (Gbl.F.Out,"<div class=\"DAT\">%s: %s</div>",
|
fprintf (Gbl.F.Out,"<div class=\"TL_LOC\">%s: %s</div>",
|
||||||
Txt_Forum,ForumName);
|
Txt_Forum,ForumName);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
@ -1598,7 +1598,7 @@ static void TL_WriteNote (const struct TL_Note *SocNot,
|
||||||
|
|
||||||
/* Write note summary */
|
/* Write note summary */
|
||||||
TL_GetNoteSummary (SocNot,SummaryStr);
|
TL_GetNoteSummary (SocNot,SummaryStr);
|
||||||
fprintf (Gbl.F.Out,"<div class=\"DAT\">%s</div>",SummaryStr);
|
fprintf (Gbl.F.Out,"<div class=\"TL_TXT\">%s</div>",SummaryStr);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* End of right part */
|
/* End of right part */
|
||||||
|
@ -1875,7 +1875,7 @@ static void TL_GetAndWritePost (long PstCod)
|
||||||
static void TL_PutFormGoToAction (const struct TL_Note *SocNot)
|
static void TL_PutFormGoToAction (const struct TL_Note *SocNot)
|
||||||
{
|
{
|
||||||
extern const Act_Action_t For_ActionsSeeFor[For_NUM_TYPES_FORUM];
|
extern const Act_Action_t For_ActionsSeeFor[For_NUM_TYPES_FORUM];
|
||||||
extern const char *The_ClassFormOutBoxBold[The_NUM_THEMES];
|
extern const char *The_ClassFormInBoxBold[The_NUM_THEMES];
|
||||||
extern const char *Txt_TIMELINE_NOTE[TL_NUM_NOTE_TYPES];
|
extern const char *Txt_TIMELINE_NOTE[TL_NUM_NOTE_TYPES];
|
||||||
extern const char *Txt_not_available;
|
extern const char *Txt_not_available;
|
||||||
char Class[64];
|
char Class[64];
|
||||||
|
@ -1958,7 +1958,8 @@ static void TL_PutFormGoToAction (const struct TL_Note *SocNot)
|
||||||
Gbl.Form.Inside) // Inside another form
|
Gbl.Form.Inside) // Inside another form
|
||||||
{
|
{
|
||||||
/***** Do not put form *****/
|
/***** Do not put form *****/
|
||||||
fprintf (Gbl.F.Out,"<div class=\"DAT_LIGHT\">%s",
|
fprintf (Gbl.F.Out,"<div class=\"TL_FORM_OFF\">"
|
||||||
|
"%s",
|
||||||
Txt_TIMELINE_NOTE[SocNot->NoteType]);
|
Txt_TIMELINE_NOTE[SocNot->NoteType]);
|
||||||
if (SocNot->Unavailable)
|
if (SocNot->Unavailable)
|
||||||
fprintf (Gbl.F.Out," (%s)",Txt_not_available);
|
fprintf (Gbl.F.Out," (%s)",Txt_not_available);
|
||||||
|
@ -1966,7 +1967,7 @@ static void TL_PutFormGoToAction (const struct TL_Note *SocNot)
|
||||||
}
|
}
|
||||||
else // Not inside another form
|
else // Not inside another form
|
||||||
{
|
{
|
||||||
fprintf (Gbl.F.Out,"<div>");
|
fprintf (Gbl.F.Out,"<div class=\"TL_FORM\">");
|
||||||
|
|
||||||
/***** Parameters depending on the type of note *****/
|
/***** Parameters depending on the type of note *****/
|
||||||
switch (SocNot->NoteType)
|
switch (SocNot->NoteType)
|
||||||
|
@ -2032,7 +2033,7 @@ static void TL_PutFormGoToAction (const struct TL_Note *SocNot)
|
||||||
/***** Link and end form *****/
|
/***** Link and end form *****/
|
||||||
snprintf (Class,sizeof (Class),
|
snprintf (Class,sizeof (Class),
|
||||||
"%s ICO_HIGHLIGHT",
|
"%s ICO_HIGHLIGHT",
|
||||||
The_ClassFormOutBoxBold[Gbl.Prefs.Theme]);
|
The_ClassFormInBoxBold[Gbl.Prefs.Theme]);
|
||||||
Frm_LinkFormSubmitUnique (Txt_TIMELINE_NOTE[SocNot->NoteType],Class);
|
Frm_LinkFormSubmitUnique (Txt_TIMELINE_NOTE[SocNot->NoteType],Class);
|
||||||
fprintf (Gbl.F.Out,"<img src=\"%s/%s\""
|
fprintf (Gbl.F.Out,"<img src=\"%s/%s\""
|
||||||
" alt=\"%s\" title=\"%s\""
|
" alt=\"%s\" title=\"%s\""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user