mirror of
https://github.com/acanas/swad-core.git
synced 2024-06-18 06:25:42 +02:00
Version 16.146.3
This commit is contained in:
parent
21c1307e4e
commit
4158ab6a71
|
@ -1636,7 +1636,15 @@ table.CELLS_PAD_10 > tbody > tr > td {padding:10px;}
|
|||
}
|
||||
|
||||
/******************* Web of institution, centre, degree **********************/
|
||||
.EXTERNAL_WWW
|
||||
.EXTERNAL_WWW_SHORT
|
||||
{
|
||||
box-sizing:border-box;
|
||||
max-width:100px;
|
||||
white-space:nowrap;
|
||||
overflow:hidden;
|
||||
text-overflow:ellipsis;
|
||||
}
|
||||
.EXTERNAL_WWW_LONG
|
||||
{
|
||||
box-sizing:border-box;
|
||||
max-width:250px;
|
||||
|
|
|
@ -500,7 +500,7 @@ static void Ctr_Configuration (bool PrintView)
|
|||
Act_FormEnd ();
|
||||
}
|
||||
else // I can not change centre WWW
|
||||
fprintf (Gbl.F.Out,"<div class=\"EXTERNAL_WWW\">"
|
||||
fprintf (Gbl.F.Out,"<div class=\"EXTERNAL_WWW_LONG\">"
|
||||
"<a href=\"%s\" target=\"_blank\" class=\"DAT\">"
|
||||
"%s"
|
||||
"</a>"
|
||||
|
@ -1366,8 +1366,6 @@ void Ctr_WriteSelectorOfCentre (void)
|
|||
/*************************** List all the centres ****************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
#define Ctr_MAX_LENGTH_WWW_ON_SCREEN 15
|
||||
|
||||
static void Ctr_ListCentresForEdition (void)
|
||||
{
|
||||
extern const char *Hlp_INSTITUTION_Centres;
|
||||
|
@ -1515,11 +1513,12 @@ static void Ctr_ListCentresForEdition (void)
|
|||
{
|
||||
Str_Copy (WWW,Ctr->WWW,
|
||||
Cns_MAX_LENGTH_WWW);
|
||||
Str_LimitLengthHTMLStr (WWW,Ctr_MAX_LENGTH_WWW_ON_SCREEN);
|
||||
fprintf (Gbl.F.Out,"<a href=\"%s\" target=\"_blank\""
|
||||
fprintf (Gbl.F.Out,"<div class=\"EXTERNAL_WWW_SHORT\">"
|
||||
"<a href=\"%s\" target=\"_blank\""
|
||||
" class=\"DAT\" title=\"%s\">"
|
||||
"%s"
|
||||
"</a>",
|
||||
"</a>"
|
||||
"</div>",
|
||||
Ctr->WWW,Ctr->WWW,WWW);
|
||||
}
|
||||
fprintf (Gbl.F.Out,"</td>");
|
||||
|
|
|
@ -197,13 +197,14 @@
|
|||
/****************************** Public constants *****************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 16.146.2 (2017-03-04)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 16.146.3 (2017-03-04)"
|
||||
#define CSS_FILE "swad16.146.css"
|
||||
#define JS_FILE "swad16.144.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 16.146.3: Mar 04, 2017 Changes in layout of edition of institutions, centres and degrees. (216363 lines)
|
||||
Version 16.146.2: Mar 04, 2017 Changes in layout of authors. (216354 lines)
|
||||
Version 16.146.1: Mar 03, 2017 Changes in layout of assigments. (216350 lines)
|
||||
Version 16.146: Mar 03, 2017 Changes in layout of class photos. (216351 lines)
|
||||
|
|
|
@ -457,7 +457,7 @@ static void Deg_Configuration (bool PrintView)
|
|||
Act_FormEnd ();
|
||||
}
|
||||
else // I can not change degree WWW
|
||||
fprintf (Gbl.F.Out,"<div class=\"EXTERNAL_WWW\">"
|
||||
fprintf (Gbl.F.Out,"<div class=\"EXTERNAL_WWW_LONG\">"
|
||||
"<a href=\"%s\" target=\"_blank\" class=\"DAT\">"
|
||||
"%s"
|
||||
"</a>"
|
||||
|
@ -676,8 +676,6 @@ void Deg_ShowDegsOfCurrentCtr (void)
|
|||
/********************* List current degrees for edition **********************/
|
||||
/*****************************************************************************/
|
||||
|
||||
#define Deg_MAX_LENGTH_WWW_ON_SCREEN 15
|
||||
|
||||
static void Deg_ListDegreesForEdition (void)
|
||||
{
|
||||
extern const char *Hlp_CENTRE_Degrees;
|
||||
|
@ -823,11 +821,12 @@ static void Deg_ListDegreesForEdition (void)
|
|||
{
|
||||
Str_Copy (WWW,Deg->WWW,
|
||||
Cns_MAX_LENGTH_WWW);
|
||||
Str_LimitLengthHTMLStr (WWW,Deg_MAX_LENGTH_WWW_ON_SCREEN);
|
||||
fprintf (Gbl.F.Out,"<a href=\"%s\" target=\"_blank\""
|
||||
fprintf (Gbl.F.Out,"<div class=\"EXTERNAL_WWW_SHORT\">"
|
||||
"<a href=\"%s\" target=\"_blank\""
|
||||
" class=\"DAT\" title=\"%s\">"
|
||||
"%s"
|
||||
"</a>",
|
||||
"</a>"
|
||||
"</div>",
|
||||
Deg->WWW,Deg->WWW,WWW);
|
||||
}
|
||||
fprintf (Gbl.F.Out,"</td>");
|
||||
|
|
|
@ -449,7 +449,7 @@ static void Ins_Configuration (bool PrintView)
|
|||
Act_FormEnd ();
|
||||
}
|
||||
else // I can not change institution WWW
|
||||
fprintf (Gbl.F.Out,"<div class=\"EXTERNAL_WWW\">"
|
||||
fprintf (Gbl.F.Out,"<div class=\"EXTERNAL_WWW_LONG\">"
|
||||
"<a href=\"%s\" target=\"_blank\" class=\"DAT\">"
|
||||
"%s"
|
||||
"</a>"
|
||||
|
@ -1383,8 +1383,6 @@ void Ins_WriteSelectorOfInstitution (void)
|
|||
/************************* List all the institutions *************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
#define Ins_MAX_LENGTH_WWW_ON_SCREEN 15
|
||||
|
||||
static void Ins_ListInstitutionsForEdition (void)
|
||||
{
|
||||
extern const char *Hlp_COUNTRY_Institutions;
|
||||
|
@ -1502,11 +1500,12 @@ static void Ins_ListInstitutionsForEdition (void)
|
|||
{
|
||||
Str_Copy (WWW,Ins->WWW,
|
||||
Cns_MAX_LENGTH_WWW);
|
||||
Str_LimitLengthHTMLStr (WWW,Ins_MAX_LENGTH_WWW_ON_SCREEN);
|
||||
fprintf (Gbl.F.Out,"<a href=\"%s\" target=\"_blank\""
|
||||
fprintf (Gbl.F.Out,"<div class=\"EXTERNAL_WWW_SHORT\">"
|
||||
"<a href=\"%s\" target=\"_blank\""
|
||||
" class=\"DAT\" title=\"%s\">"
|
||||
"%s"
|
||||
"</a>",
|
||||
"</a>"
|
||||
"</div>",
|
||||
Ins->WWW,Ins->WWW,WWW);
|
||||
}
|
||||
fprintf (Gbl.F.Out,"</td>");
|
||||
|
|
Loading…
Reference in New Issue
Block a user