mirror of
https://github.com/acanas/swad-core.git
synced 2024-06-18 14:35:46 +02:00
Version 16.106.11
This commit is contained in:
parent
767ab11590
commit
b5989134f4
|
@ -498,7 +498,7 @@ a:hover /* Default ==> underlined */
|
|||
{
|
||||
display:table-cell;
|
||||
box-sizing:border-box;
|
||||
width:42px;
|
||||
width:44px;
|
||||
height:60px;
|
||||
margin:0;
|
||||
padding:0;
|
||||
|
|
|
@ -188,13 +188,14 @@
|
|||
/****************************** Public constants *****************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 16.106.10 (2016-12-24)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 16.106.11 (2016-12-24)"
|
||||
#define CSS_FILE "swad16.106.5.css"
|
||||
#define JS_FILE "swad16.101.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.106.11:Dec 24, 2016 Changes in behaviour of labels in forms. (211415 lines)
|
||||
Version 16.106.10:Dec 24, 2016 Changes in behaviour of labels in forms. (211412 lines)
|
||||
Version 16.106.9: Dec 24, 2016 Changes in layout of preferences. (211400 lines)
|
||||
Version 16.106.8: Dec 24, 2016 Changes in behaviour of labels in forms. (211404 lines)
|
||||
|
|
|
@ -282,7 +282,7 @@ void Net_PutLinkToChangeMySocialNetworks (void)
|
|||
/********************* Show form to edit my social networks ******************/
|
||||
/*****************************************************************************/
|
||||
|
||||
#define Net_COL2_WIDTH 500
|
||||
#define Net_COL2_WIDTH 300
|
||||
|
||||
void Net_ShowFormMyWebsAndSocialNets (void)
|
||||
{
|
||||
|
@ -296,9 +296,8 @@ void Net_ShowFormMyWebsAndSocialNets (void)
|
|||
char URL[Cns_MAX_BYTES_URL+1];
|
||||
|
||||
/***** Start table *****/
|
||||
Lay_StartRoundFrame (NULL,Txt_Webs_social_networks,
|
||||
Net_PutIconsWebsSocialNetworks,Hlp_PROFILE_Webs);
|
||||
fprintf (Gbl.F.Out,"<table class=\"CELLS_PAD_2\" style=\"margin:0 auto;\">");
|
||||
Lay_StartRoundFrameTable (NULL,Txt_Webs_social_networks,
|
||||
Net_PutIconsWebsSocialNetworks,Hlp_PROFILE_Webs,2);
|
||||
|
||||
for (NumURL = (Net_WebsAndSocialNetworks_t) 0;
|
||||
NumURL < Net_NUM_WEBS_AND_SOCIAL_NETWORKS;
|
||||
|
@ -328,14 +327,17 @@ void Net_ShowFormMyWebsAndSocialNets (void)
|
|||
|
||||
/***** Row for this web / social network *****/
|
||||
fprintf (Gbl.F.Out,"<tr>"
|
||||
"<td class=\"%s LEFT_MIDDLE\">"
|
||||
"<td class=\"LEFT_MIDDLE\">"
|
||||
"<label for=\"URL%u\" class=\"%s\">"
|
||||
"<img src=\"%s/%s\""
|
||||
" alt=\"%s\" title=\"%s\""
|
||||
" class=\"ICO20x20\""
|
||||
" style=\"margin-right:12px;\" />"
|
||||
"%s:</td>"
|
||||
" style=\"margin-right:6px;\" />"
|
||||
"%s:"
|
||||
"</label>"
|
||||
"</td>"
|
||||
"<td class=\"LEFT_MIDDLE\" style=\"width:%upx;\">",
|
||||
The_ClassForm[Gbl.Prefs.Theme],
|
||||
(unsigned) NumURL,The_ClassForm[Gbl.Prefs.Theme],
|
||||
Gbl.Prefs.IconsURL,Net_WebsAndSocialNetworksIcons[NumURL],
|
||||
Net_WebsAndSocialNetworksTitle[NumURL],
|
||||
Net_WebsAndSocialNetworksTitle[NumURL],
|
||||
|
@ -343,10 +345,11 @@ void Net_ShowFormMyWebsAndSocialNets (void)
|
|||
Net_COL2_WIDTH);
|
||||
Act_FormStart (ActChgMyNet);
|
||||
Par_PutHiddenParamUnsigned ("Web",(unsigned) NumURL);
|
||||
fprintf (Gbl.F.Out,"<input type=\"url\" name=\"URL\""
|
||||
" style=\"width:500px;\" maxlength=\"%u\" value=\"%s\""
|
||||
fprintf (Gbl.F.Out,"<input type=\"url\" id=\"URL%u\" name=\"URL\""
|
||||
" maxlength=\"%u\" value=\"%s\" style=\"width:%upx;\""
|
||||
" onchange=\"document.getElementById('%s').submit();\" />",
|
||||
Cns_MAX_LENGTH_URL,URL,
|
||||
(unsigned) NumURL,
|
||||
Cns_MAX_LENGTH_URL,URL,Net_COL2_WIDTH - 20,
|
||||
Gbl.Form.Id);
|
||||
Act_FormEnd ();
|
||||
fprintf (Gbl.F.Out,"</td>"
|
||||
|
@ -354,7 +357,6 @@ void Net_ShowFormMyWebsAndSocialNets (void)
|
|||
}
|
||||
|
||||
/***** End table *****/
|
||||
fprintf (Gbl.F.Out,"</table>");
|
||||
Lay_EndRoundFrameTable ();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user