diff --git a/css/swad15.63.css b/css/swad15.64.css
similarity index 98%
rename from css/swad15.63.css
rename to css/swad15.64.css
index c259cca0..b6ad6f8c 100644
--- a/css/swad15.63.css
+++ b/css/swad15.64.css
@@ -1749,11 +1749,25 @@ a:hover img.CENTRE_PHOTO_SHOW
}
/***************************** Public user's profile *************************/
-#prf_fig_container
+#prf_fig_left_container
{
- text-align:center;
+ display:inline-block;
+ box-sizing:border-box;
+ width:50%;
+ padding-right:10px;
+ text-align:right;
+ vertical-align:top;
}
-#prf_fig_list
+#prf_fig_right_container
+ {
+ display:inline-block;
+ box-sizing:border-box;
+ width:50%;
+ padding-left:10px;
+ text-align:left;
+ vertical-align:top;
+ }
+.PRF_FIG_LIST
{
display:inline-block;
list-style-type:none;
@@ -1771,14 +1785,37 @@ a:hover img.CENTRE_PHOTO_SHOW
vertical-align:middle;
opacity:0.33;
}
+
+#num_following
+ {
+ display:inline-block;
+ box-sizing:border-box;
+ width:50%;
+ padding-right:10px;
+ text-align:right;
+ }
+#num_followers
+ {
+ display:inline-block;
+ box-sizing:border-box;
+ width:50%;
+ padding-left:10px;
+ text-align:left;
+ }
.FOLLOW
+ {
+ display:inline-block;
+ min-width:125px;
+ text-align:center;
+ }
+.FOLLOW_NUM
{
color:#404040;
font-size:30pt;
font-weight:bold;
opacity:0.5;
}
-.FOLLOW_B
+.FOLLOW_NUM_B
{
color:#404040;
font-size:30pt;
diff --git a/icon/card64x64.gif b/icon/card64x64.gif
new file mode 100644
index 00000000..2e8c36e6
Binary files /dev/null and b/icon/card64x64.gif differ
diff --git a/icon/config64x64.gif b/icon/config64x64.gif
new file mode 100644
index 00000000..3478c5b7
Binary files /dev/null and b/icon/config64x64.gif differ
diff --git a/icon/folder64x64.gif b/icon/folder64x64.gif
new file mode 100644
index 00000000..b63a9c31
Binary files /dev/null and b/icon/folder64x64.gif differ
diff --git a/icon/qr64x64.gif b/icon/qr64x64.gif
new file mode 100644
index 00000000..d79b2606
Binary files /dev/null and b/icon/qr64x64.gif differ
diff --git a/icon/rollcall64x64.gif b/icon/rollcall64x64.gif
new file mode 100644
index 00000000..edd90f25
Binary files /dev/null and b/icon/rollcall64x64.gif differ
diff --git a/icon/unfollow64x64.gif b/icon/unfollow64x64.gif
new file mode 100644
index 00000000..636151f7
Binary files /dev/null and b/icon/unfollow64x64.gif differ
diff --git a/js/swad.js b/js/swad.js
index 76d7c1b6..5d0f70c1 100644
--- a/js/swad.js
+++ b/js/swad.js
@@ -34,7 +34,10 @@ var NumUsrsCon;
var ListSeconds = [];
var countClockConnected = 0;
-// Write a date in client local time
+/****************** Write a date in client local time ************************/
+//id is the id of the HTML element in which date will be written
+//TimeUTC is the date-time to write in UTC UNIX time format
+
function writeLocalDateFromUTC(id,TimeUTC) {
var d = new Date;
var Yea;
@@ -53,9 +56,9 @@ function writeLocalDateFromUTC(id,TimeUTC) {
}
/*************** Write a date-time in client local time **********************/
-// - id is the id of the HTML element in which date-time will be written
-// - TimeUTC is the date-time to write in UTC UNIX time format
-// - separator is HTML code to write between date and time
+// id is the id of the HTML element in which date-time will be written
+// TimeUTC is the date-time to write in UTC UNIX time format
+// separator is HTML code to write between date and time
function writeLocalDateTimeFromUTC(id,TimeUTC,separator) {
var d = new Date;
diff --git a/swad_QR.c b/swad_QR.c
index ee5b49b0..7f6e3059 100644
--- a/swad_QR.c
+++ b/swad_QR.c
@@ -80,7 +80,7 @@ void QR_PutLinkToPrintQRCode (struct UsrData *UsrDat,bool PrintText)
sprintf (NicknameWithArroba,"@%s",UsrDat->Nickname);
Par_PutHiddenParamString ("QRString",NicknameWithArroba);
Act_LinkFormSubmit (Txt_QR_code,The_ClassFormBold[Gbl.Prefs.Theme]);
- Lay_PutIconWithText ("qr16x16.gif",Txt_QR_code,PrintText ? Txt_QR_code :
+ Lay_PutIconWithText ("qr64x64.gif",Txt_QR_code,PrintText ? Txt_QR_code :
NULL);
Act_FormEnd ();
}
diff --git a/swad_changelog.h b/swad_changelog.h
index b7d064bc..301c9d79 100644
--- a/swad_changelog.h
+++ b/swad_changelog.h
@@ -117,12 +117,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
-#define Log_PLATFORM_VERSION "SWAD 15.63 (2015/12/12)"
-#define CSS_FILE "swad15.63.css"
+#define Log_PLATFORM_VERSION "SWAD 15.64 (2015/12/12)"
+#define CSS_FILE "swad15.64.css"
// 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 15.64: Dec 12, 2015 Changes in layout of user's public profile.
+ Changes in some small icons. (187004 lines)
Version 15.63: Dec 12, 2015 New layout for user's public profile.
Fixed bug when removing user's account. (186932 lines)
2 changes necessary in database:
diff --git a/swad_degree.c b/swad_degree.c
index 29618c98..7a200d22 100644
--- a/swad_degree.c
+++ b/swad_degree.c
@@ -3872,7 +3872,7 @@ void Deg_GetAndWriteInsCtrDegAdminBy (long UsrCod,unsigned ColSpan)
switch (Sco_GetScopeFromUnsignedStr (row[0]))
{
case Sco_SCOPE_SYS: // System
- fprintf (Gbl.F.Out,""
" %s",
diff --git a/swad_follow.c b/swad_follow.c
index 598d8c57..9bdf0cf6 100644
--- a/swad_follow.c
+++ b/swad_follow.c
@@ -44,7 +44,7 @@
/***************************** Private constants *****************************/
/*****************************************************************************/
-#define Fol_NUM_COLUMNS_FOLLOW 5
+#define Fol_NUM_COLUMNS_FOLLOW 3
/*****************************************************************************/
/****************************** Internal types *******************************/
@@ -99,25 +99,25 @@ void Fol_ShowFollowingAndFollowers (const struct UsrData *UsrDat)
extern const char *Txt_Following;
extern const char *Txt_Followers;
- /***** Start table *****/
- fprintf (Gbl.F.Out,""
- "
"
- "");
+ /***** Start section *****/
+ fprintf (Gbl.F.Out," "
- "