Version 16.32.1

This commit is contained in:
Antonio Cañas Vargas 2016-10-22 19:19:06 +02:00
parent 51cf7b51b6
commit 761f1cfa75
3 changed files with 22 additions and 10 deletions

View File

@ -1432,6 +1432,16 @@ table.CELLS_PAD_10 > tbody > tr > td {padding:10px;}
margin:12px; margin:12px;
} }
/******************* Web of institution, centre, degree **********************/
.EXTERNAL_WWW
{
box-sizing:border-box;
max-width:250px;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
}
/****************************** Photo of centre ******************************/ /****************************** Photo of centre ******************************/
.CENTRE_PHOTO_SHOW .CENTRE_PHOTO_SHOW
{ {

View File

@ -150,13 +150,14 @@
/****************************** Public constants *****************************/ /****************************** Public constants *****************************/
/*****************************************************************************/ /*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 16.32 (2016-10-22)" #define Log_PLATFORM_VERSION "SWAD 16.32.1 (2016-10-22)"
#define CSS_FILE "swad16.25.css" #define CSS_FILE "swad16.32.1.css"
#define JS_FILE "swad15.238.1.js" #define JS_FILE "swad15.238.1.js"
// 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 16.32.1: Oct 22, 2016 Width of institution web limited using CSS. (205152 lines)
Version 16.32: Oct 22, 2016 New form in institution configuration to change short name. (205141 lines) Version 16.32: Oct 22, 2016 New form in institution configuration to change short name. (205141 lines)
1 change necessary in database: 1 change necessary in database:
INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1592','es','N','Cambiar nombre breve ins.'); INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1592','es','N','Cambiar nombre breve ins.');

View File

@ -409,17 +409,18 @@ static void Ins_Configuration (bool PrintView)
"<td class=\"%s RIGHT_MIDDLE\">" "<td class=\"%s RIGHT_MIDDLE\">"
"%s:" "%s:"
"</td>" "</td>"
"<td class=\"DAT LEFT_MIDDLE\">" "<td class=\"DAT LEFT_MIDDLE\">",
"<a href=\"%s\" target=\"_blank\" class=\"DAT\">",
The_ClassForm[Gbl.Prefs.Theme], The_ClassForm[Gbl.Prefs.Theme],
Txt_Web, Txt_Web);
Gbl.CurrentIns.Ins.WWW); fprintf (Gbl.F.Out,"<div class=\"EXTERNAL_WWW\">"
Str_LimitLengthHTMLStr (Gbl.CurrentIns.Ins.WWW,20); "<a href=\"%s\" target=\"_blank\" class=\"DAT\">"
fprintf (Gbl.F.Out,"%s" "%s"
"</a>" "</a>"
"</td>" "</div>",
"</tr>", Gbl.CurrentIns.Ins.WWW,
Gbl.CurrentIns.Ins.WWW); Gbl.CurrentIns.Ins.WWW);
fprintf (Gbl.F.Out,"</td>"
"</tr>");
} }
/***** Shortcut to the institution *****/ /***** Shortcut to the institution *****/