mirror of https://github.com/acanas/swad-core.git
Version 14.40.7
This commit is contained in:
parent
0710e95ab7
commit
baeccede87
|
@ -28,7 +28,7 @@ A:active {text-decoration:none;}
|
|||
A:hover {text-decoration:underline;}
|
||||
body
|
||||
{
|
||||
margin:0px;
|
||||
margin:0;
|
||||
background-color:white;
|
||||
}
|
||||
input {font-family:Arial, Nimbus Sans L, DejaVu LGC Sans, Bitstream Vera Sans, sans-serif; font-size:10pt;}
|
||||
|
@ -36,25 +36,25 @@ select {font-family:Arial, Nimbus Sans L, DejaVu LGC Sans, Bitstream Vera Sans
|
|||
textarea {font-size:8pt;}
|
||||
table
|
||||
{
|
||||
border-width:0px;
|
||||
border-width:0;
|
||||
border-style:none;
|
||||
border-spacing:0px;
|
||||
border-spacing:0;
|
||||
}
|
||||
table th
|
||||
{
|
||||
padding:0px;
|
||||
padding:0;
|
||||
}
|
||||
table td
|
||||
{
|
||||
padding:0px;
|
||||
padding:0;
|
||||
}
|
||||
img {border-width:0px; border-style:none;}
|
||||
form {margin:0px; display:inline;}
|
||||
p {margin:0px;}
|
||||
hr.WHITE_SEPARA {height:0px; border-top:0px; border-bottom:#707070 dotted 1px;}
|
||||
hr.GREY_SEPARA {height:0px; border-top:0px; border-bottom:#707070 dotted 1px;}
|
||||
hr.BLUE_SEPARA {height:0px; border-top:0px; border-bottom:#4D88A1 dotted 1px;}
|
||||
hr.YELLOW_SEPARA {height:0px; border-top:0px; border-bottom:#BD4815 dotted 1px;}
|
||||
img {border-width:0; border-style:none;}
|
||||
form {margin:0; display:inline;}
|
||||
p {margin:0;}
|
||||
hr.WHITE_SEPARA {height:0; border-top:0; border-bottom:#707070 dotted 1px;}
|
||||
hr.GREY_SEPARA {height:0; border-top:0; border-bottom:#707070 dotted 1px;}
|
||||
hr.BLUE_SEPARA {height:0; border-top:0; border-bottom:#4D88A1 dotted 1px;}
|
||||
hr.YELLOW_SEPARA {height:0; border-top:0; border-bottom:#BD4815 dotted 1px;}
|
||||
|
||||
/****************** Title of current action in main block ********************/
|
||||
#action_title
|
||||
|
@ -64,7 +64,7 @@ hr.YELLOW_SEPARA {height:0px; border-top:0px; border-bottom:#BD4815 dotted 1px;}
|
|||
clear:both;
|
||||
margin:0 auto;
|
||||
background-repeat:no-repeat;
|
||||
background-position:10px 0px;
|
||||
background-position:10px 0;
|
||||
padding:10px 10px 10px 84px;
|
||||
overflow:hidden;
|
||||
}
|
||||
|
@ -177,9 +177,9 @@ hr.YELLOW_SEPARA {height:0px; border-top:0px; border-bottom:#BD4815 dotted 1px;}
|
|||
color-stop(1, #EED86C)
|
||||
);
|
||||
|
||||
-moz-box-shadow:0px 6px 8px -4px rgba(125, 113, 0, 0.8);
|
||||
-webkit-box-shadow:0px 6px 8px -4px rgba(125, 113, 0, 0.8);
|
||||
box-shadow:0px 6px 8px -4px rgba(125, 113, 0, 0.8);
|
||||
-moz-box-shadow:0 6px 8px -4px rgba(125, 113, 0, 0.8);
|
||||
-webkit-box-shadow:0 6px 8px -4px rgba(125, 113, 0, 0.8);
|
||||
box-shadow:0 6px 8px -4px rgba(125, 113, 0, 0.8);
|
||||
|
||||
text-align:left;
|
||||
overflow:hidden;
|
||||
|
@ -255,13 +255,13 @@ hr.YELLOW_SEPARA {height:0px; border-top:0px; border-bottom:#BD4815 dotted 1px;}
|
|||
{
|
||||
float:left;
|
||||
width:86px;height:61px;
|
||||
margin:1px 1px 0px 1px;
|
||||
padding:0px 1px 0 1px;
|
||||
margin:1px 1px 0 1px;
|
||||
padding:0 1px 0 1px;
|
||||
border-radius:6px 6px 0 0;
|
||||
-moz-border-radius:6px 6px 0 0;
|
||||
box-shadow:inset -2px -2px 1px 0px rgba(50, 50, 50, 0.2);
|
||||
-moz-box-shadow:inset -2px -2px 1px 0px rgba(50, 50, 50, 0.2);
|
||||
-webkit-box-shadow:inset -2px -2px 1px 0px rgba(50, 50, 50, 0.2);
|
||||
box-shadow:inset -2px -2px 1px 0 rgba(50, 50, 50, 0.2);
|
||||
-moz-box-shadow:inset -2px -2px 1px 0 rgba(50, 50, 50, 0.2);
|
||||
-webkit-box-shadow:inset -2px -2px 1px 0 rgba(50, 50, 50, 0.2);
|
||||
text-align:center;
|
||||
overflow:hidden;
|
||||
display:inline-block;
|
||||
|
@ -274,9 +274,9 @@ hr.YELLOW_SEPARA {height:0px; border-top:0px; border-bottom:#BD4815 dotted 1px;}
|
|||
padding:1px 1px 0 1px;
|
||||
border-radius:6px 6px 0 0;
|
||||
-moz-border-radius:6px 6px 0 0;
|
||||
box-shadow:inset -2px -2px 1px 0px rgba(50, 50, 50, 0.2);
|
||||
-moz-box-shadow:inset -2px -2px 1px 0px rgba(50, 50, 50, 0.2);
|
||||
-webkit-box-shadow:inset -2px -2px 1px 0px rgba(50, 50, 50, 0.2);
|
||||
box-shadow:inset -2px -2px 1px 0 rgba(50, 50, 50, 0.2);
|
||||
-moz-box-shadow:inset -2px -2px 1px 0 rgba(50, 50, 50, 0.2);
|
||||
-webkit-box-shadow:inset -2px -2px 1px 0 rgba(50, 50, 50, 0.2);
|
||||
text-align:center;
|
||||
overflow:hidden;
|
||||
display:inline-block;
|
||||
|
@ -369,9 +369,9 @@ hr.YELLOW_SEPARA {height:0px; border-top:0px; border-bottom:#BD4815 dotted 1px;}
|
|||
padding:10px 0;
|
||||
border-radius:6px;
|
||||
-moz-border-radius:6px;
|
||||
box-shadow:inset -2px -2px 1px 0px rgba(50, 50, 50, 0.2);
|
||||
-moz-box-shadow:inset -2px -2px 1px 0px rgba(50, 50, 50, 0.2);
|
||||
-webkit-box-shadow:inset -2px -2px 1px 0px rgba(50, 50, 50, 0.2);
|
||||
box-shadow:inset -2px -2px 1px 0 rgba(50, 50, 50, 0.2);
|
||||
-moz-box-shadow:inset -2px -2px 1px 0 rgba(50, 50, 50, 0.2);
|
||||
-webkit-box-shadow:inset -2px -2px 1px 0 rgba(50, 50, 50, 0.2);
|
||||
text-align:center;
|
||||
overflow:hidden;
|
||||
vertical-align:top;
|
||||
|
@ -639,8 +639,8 @@ a:hover img.CENTRE_PHOTO_SHOW
|
|||
#menu
|
||||
{
|
||||
list-style-type:none;
|
||||
padding:0px;
|
||||
margin:0px;
|
||||
padding:0;
|
||||
margin:0;
|
||||
}
|
||||
.MENU_OPTION
|
||||
{
|
||||
|
@ -718,10 +718,10 @@ a:hover img.CENTRE_PHOTO_SHOW
|
|||
.LST_HID {font-family:Arial, Nimbus Sans L, DejaVu LGC Sans, Bitstream Vera Sans, sans-serif; color:#A0A0A0; font-size:9pt; white-space:nowrap;}
|
||||
.LST_REC {font-family:Arial, Nimbus Sans L, DejaVu LGC Sans, Bitstream Vera Sans, sans-serif; color:#008000; font-size:9pt; white-space:nowrap;}
|
||||
.LST_REC_HID {font-family:Arial, Nimbus Sans L, DejaVu LGC Sans, Bitstream Vera Sans, sans-serif; color:#89BE87; font-size:9pt; white-space:nowrap;}
|
||||
.LST_EDIT {font-family:Arial, Nimbus Sans L, DejaVu LGC Sans, Bitstream Vera Sans, sans-serif; color:#404040; font-weight:bold; font-size:9pt; height:16px; padding-top:0px; padding-bottom:0px; margin-top:-1px; margin-bottom:-1px; border-width:1px; border-style:solid; border-color:#ECE9D8;}
|
||||
.LST_EDIT_HID {font-family:Arial, Nimbus Sans L, DejaVu LGC Sans, Bitstream Vera Sans, sans-serif; color:#A0A0A0; font-weight:bold; font-size:9pt; height:16px; padding-top:0px; padding-bottom:0px; margin-top:-1px; margin-bottom:-1px; border-width:1px; border-style:solid; border-color:#ECE9D8;}
|
||||
.LST_EDIT_REC {font-family:Arial, Nimbus Sans L, DejaVu LGC Sans, Bitstream Vera Sans, sans-serif; color:#008000; font-weight:bold; font-size:9pt; height:16px; padding-top:0px; padding-bottom:0px; margin-top:-1px; margin-bottom:-1px; border-width:1px; border-style:solid; border-color:#ECE9D8;}
|
||||
.LST_EDIT_REC_HID {font-family:Arial, Nimbus Sans L, DejaVu LGC Sans, Bitstream Vera Sans, sans-serif; color:#89BE87; font-weight:bold; font-size:9pt; height:16px; padding-top:0px; padding-bottom:0px; margin-top:-1px; margin-bottom:-1px; border-width:1px; border-style:solid; border-color:#ECE9D8;}
|
||||
.LST_EDIT {font-family:Arial, Nimbus Sans L, DejaVu LGC Sans, Bitstream Vera Sans, sans-serif; color:#404040; font-weight:bold; font-size:9pt; height:16px; padding-top:0; padding-bottom:0; margin-top:-1px; margin-bottom:-1px; border-width:1px; border-style:solid; border-color:#ECE9D8;}
|
||||
.LST_EDIT_HID {font-family:Arial, Nimbus Sans L, DejaVu LGC Sans, Bitstream Vera Sans, sans-serif; color:#A0A0A0; font-weight:bold; font-size:9pt; height:16px; padding-top:0; padding-bottom:0; margin-top:-1px; margin-bottom:-1px; border-width:1px; border-style:solid; border-color:#ECE9D8;}
|
||||
.LST_EDIT_REC {font-family:Arial, Nimbus Sans L, DejaVu LGC Sans, Bitstream Vera Sans, sans-serif; color:#008000; font-weight:bold; font-size:9pt; height:16px; padding-top:0; padding-bottom:0; margin-top:-1px; margin-bottom:-1px; border-width:1px; border-style:solid; border-color:#ECE9D8;}
|
||||
.LST_EDIT_REC_HID {font-family:Arial, Nimbus Sans L, DejaVu LGC Sans, Bitstream Vera Sans, sans-serif; color:#89BE87; font-weight:bold; font-size:9pt; height:16px; padding-top:0; padding-bottom:0; margin-top:-1px; margin-bottom:-1px; border-width:1px; border-style:solid; border-color:#ECE9D8;}
|
||||
|
||||
.USR_ID {font-family:Arial, Nimbus Sans L, DejaVu LGC Sans, Bitstream Vera Sans, sans-serif; color:#404040; font-size:14pt; font-weight:bold;}
|
||||
|
||||
|
@ -751,7 +751,7 @@ a:hover img.CENTRE_PHOTO_SHOW
|
|||
.MSJ_AVISO {font-family:Arial, Nimbus Sans L, DejaVu LGC Sans, Bitstream Vera Sans, sans-serif; color:#632921; font-size:10pt;}
|
||||
.TIT_TBL {font-family:Arial, Nimbus Sans L, DejaVu LGC Sans, Bitstream Vera Sans, sans-serif; color:#4D88A1; font-size:10pt;}
|
||||
.TIT_CLASSPHOTO {font-family:Georgia, DejaVu LGC Serif, Bitstream Vera Serif, serif; color:#606060; font-size:11pt;}
|
||||
.CLASSPHOTO {font-family:Arial, Nimbus Sans L, DejaVu LGC Sans, Bitstream Vera Sans, sans-serif; color:#606060; font-size:8pt; line-height:100%; letter-spacing:0px; white-space:nowrap;}
|
||||
.CLASSPHOTO {font-family:Arial, Nimbus Sans L, DejaVu LGC Sans, Bitstream Vera Sans, sans-serif; color:#606060; font-size:8pt; line-height:100%; letter-spacing:0; white-space:nowrap;}
|
||||
|
||||
.GRP_TITLE {font-family:Arial, Nimbus Sans L, DejaVu LGC Sans, Bitstream Vera Sans, sans-serif; color:#4D88A1; font-size:12pt; font-weight:bold;}
|
||||
|
||||
|
@ -782,7 +782,7 @@ a:hover img.CENTRE_PHOTO_SHOW
|
|||
.TEST_EDI {font-family:Courier New, DejaVu LGC Sans Mono, Bitstream Vera Sans Mono, monospace; color:#404040; font-size:10pt;}
|
||||
.TEST_EDI_LIGHT {font-family:Courier New, DejaVu LGC Sans Mono, Bitstream Vera Sans Mono, monospace; color:#A0A0A0; font-size:10pt;}
|
||||
|
||||
.HOR {font-family:Arial Narrow, Nimbus Sans L, DejaVu LGC Sans Condensed, sans-serif; color:#345C6C; font-size:8pt; line-height:110%; letter-spacing:0px;}
|
||||
.HOR {font-family:Arial Narrow, Nimbus Sans L, DejaVu LGC Sans Condensed, sans-serif; color:#345C6C; font-size:8pt; line-height:110%; letter-spacing:0;}
|
||||
.FREE0 {background-color:#F4F2EA; border:solid 1px; border-color:#F4F2EA #E0D9C2 #EEEADC #F4F2EA;}
|
||||
.FREE1 {background-color:#F4F2EA; border:solid 1px; border-color:#F4F2EA #E0D9C2 #E0D9C2 #F4F2EA;}
|
||||
.FREE2 {background-color:#FBFAF7; border:solid 1px; border-color:#FBFAF7 #E0D9C2 #F5F2E9 #FBFAF7;}
|
||||
|
@ -794,7 +794,7 @@ a:hover img.CENTRE_PHOTO_SHOW
|
|||
.USR_LIST_TYPE_OFF {border:solid 1px; border-color:#FFFFFF;}
|
||||
.USR_LIST_TYPE_ON {border:solid 1px; border-color:#50B800;}
|
||||
|
||||
.LAYOUT_OFF {border:solid; border-width:0px;}
|
||||
.LAYOUT_OFF {border:solid; border-width:0;}
|
||||
.LAYOUT_ON {border:solid; border-width:1px; border-color:#80E000;}
|
||||
|
||||
.LOG {font-family:Arial Narrow, Nimbus Sans L, DejaVu LGC Sans Condensed, sans-serif; color:#606060; font-size:9pt;}
|
||||
|
|
|
@ -28,7 +28,7 @@ A:active {text-decoration:none;}
|
|||
A:hover {text-decoration:underline;}
|
||||
body
|
||||
{
|
||||
margin:0px;
|
||||
margin:0;
|
||||
background-color:white;
|
||||
}
|
||||
input {font-Family:Arial, Nimbus Sans L, DejaVu LGC Sans, Bitstream Vera Sans, sans-serif; font-size:16pt;}
|
||||
|
@ -36,21 +36,21 @@ select {font-Family:Arial, Nimbus Sans L, DejaVu LGC Sans, Bitstream Vera Sans
|
|||
textarea {font-size:12pt;}
|
||||
table
|
||||
{
|
||||
border-width:0px;
|
||||
border-width:0;
|
||||
border-style:none;
|
||||
border-spacing:0px;
|
||||
border-spacing:0;
|
||||
}
|
||||
table th
|
||||
{
|
||||
padding:0px;
|
||||
padding:0;
|
||||
}
|
||||
table td
|
||||
{
|
||||
padding:0px;
|
||||
padding:0;
|
||||
}
|
||||
img {border-width:0px; border-style:none;}
|
||||
form {margin:0px; display:inline;}
|
||||
p {margin:0px;}
|
||||
img {border-width:0; border-style:none;}
|
||||
form {margin:0; display:inline;}
|
||||
p {margin:0;}
|
||||
|
||||
/************************* Users connected globally **************************/
|
||||
.CONNECTED
|
||||
|
@ -127,9 +127,9 @@ p {margin:0px;}
|
|||
color-stop(1, #EED86C)
|
||||
);
|
||||
|
||||
-moz-box-shadow:0px 6px 8px -4px rgba(125, 113, 0, 0.8);
|
||||
-webkit-box-shadow:0px 6px 8px -4px rgba(125, 113, 0, 0.8);
|
||||
box-shadow:0px 6px 8px -4px rgba(125, 113, 0, 0.8);
|
||||
-moz-box-shadow:0 6px 8px -4px rgba(125, 113, 0, 0.8);
|
||||
-webkit-box-shadow:0 6px 8px -4px rgba(125, 113, 0, 0.8);
|
||||
box-shadow:0 6px 8px -4px rgba(125, 113, 0, 0.8);
|
||||
|
||||
text-align:center;
|
||||
overflow:hidden;
|
||||
|
@ -204,9 +204,9 @@ p {margin:0px;}
|
|||
padding:0 20px;
|
||||
border-radius:8px 10px 0 0;
|
||||
-moz-border-radius:8px 10px 0 0;
|
||||
box-shadow:inset -2px -2px 1px 0px rgba(50, 50, 50, 0.2);
|
||||
-moz-box-shadow:inset -2px -2px 1px 0px rgba(50, 50, 50, 0.2);
|
||||
-webkit-box-shadow:inset -2px -2px 1px 0px rgba(50, 50, 50, 0.2);
|
||||
box-shadow:inset -2px -2px 1px 0 rgba(50, 50, 50, 0.2);
|
||||
-moz-box-shadow:inset -2px -2px 1px 0 rgba(50, 50, 50, 0.2);
|
||||
-webkit-box-shadow:inset -2px -2px 1px 0 rgba(50, 50, 50, 0.2);
|
||||
text-align:center;
|
||||
vertical-align:middle;
|
||||
overflow:hidden;
|
||||
|
@ -220,9 +220,9 @@ p {margin:0px;}
|
|||
padding:10px 0;
|
||||
border-radius:8px;
|
||||
-moz-border-radius:8px;
|
||||
box-shadow:inset -2px -2px 1px 0px rgba(50, 50, 50, 0.2);
|
||||
-moz-box-shadow:inset -2px -2px 1px 0px rgba(50, 50, 50, 0.2);
|
||||
-webkit-box-shadow:inset -2px -2px 1px 0px rgba(50, 50, 50, 0.2);
|
||||
box-shadow:inset -2px -2px 1px 0 rgba(50, 50, 50, 0.2);
|
||||
-moz-box-shadow:inset -2px -2px 1px 0 rgba(50, 50, 50, 0.2);
|
||||
-webkit-box-shadow:inset -2px -2px 1px 0 rgba(50, 50, 50, 0.2);
|
||||
text-align:center;
|
||||
overflow:hidden;
|
||||
display:inline-block;
|
||||
|
@ -549,10 +549,10 @@ a:hover img.CENTRE_PHOTO_SHOW
|
|||
.LST_HID {font-Family:Arial, Nimbus Sans L, DejaVu LGC Sans, Bitstream Vera Sans, sans-serif; color:#A0A0A0; font-size:12pt; white-space:nowrap;}
|
||||
.LST_REC {font-Family:Arial, Nimbus Sans L, DejaVu LGC Sans, Bitstream Vera Sans, sans-serif; color:#008000; font-size:12pt; white-space:nowrap;}
|
||||
.LST_REC_HID {font-Family:Arial, Nimbus Sans L, DejaVu LGC Sans, Bitstream Vera Sans, sans-serif; color:#89BE87; font-size:12pt; white-space:nowrap;}
|
||||
.LST_EDIT {font-Family:Arial, Nimbus Sans L, DejaVu LGC Sans, Bitstream Vera Sans, sans-serif; color:#404040; font-weight:bold; font-size:9pt; height:16px; padding-top:0px; padding-bottom:0px; margin-top:-1px; margin-bottom:-1px; border-width:1px; border-style:solid; border-color:#ECE9D8;}
|
||||
.LST_EDIT_HID {font-Family:Arial, Nimbus Sans L, DejaVu LGC Sans, Bitstream Vera Sans, sans-serif; color:#A0A0A0; font-weight:bold; font-size:9pt; height:16px; padding-top:0px; padding-bottom:0px; margin-top:-1px; margin-bottom:-1px; border-width:1px; border-style:solid; border-color:#ECE9D8;}
|
||||
.LST_EDIT_REC {font-Family:Arial, Nimbus Sans L, DejaVu LGC Sans, Bitstream Vera Sans, sans-serif; color:#008000; font-weight:bold; font-size:9pt; height:16px; padding-top:0px; padding-bottom:0px; margin-top:-1px; margin-bottom:-1px; border-width:1px; border-style:solid; border-color:#ECE9D8;}
|
||||
.LST_EDIT_REC_HID {font-Family:Arial, Nimbus Sans L, DejaVu LGC Sans, Bitstream Vera Sans, sans-serif; color:#89BE87; font-weight:bold; font-size:9pt; height:16px; padding-top:0px; padding-bottom:0px; margin-top:-1px; margin-bottom:-1px; border-width:1px; border-style:solid; border-color:#ECE9D8;}
|
||||
.LST_EDIT {font-Family:Arial, Nimbus Sans L, DejaVu LGC Sans, Bitstream Vera Sans, sans-serif; color:#404040; font-weight:bold; font-size:9pt; height:16px; padding-top:0; padding-bottom:0; margin-top:-1px; margin-bottom:-1px; border-width:1px; border-style:solid; border-color:#ECE9D8;}
|
||||
.LST_EDIT_HID {font-Family:Arial, Nimbus Sans L, DejaVu LGC Sans, Bitstream Vera Sans, sans-serif; color:#A0A0A0; font-weight:bold; font-size:9pt; height:16px; padding-top:0; padding-bottom:0; margin-top:-1px; margin-bottom:-1px; border-width:1px; border-style:solid; border-color:#ECE9D8;}
|
||||
.LST_EDIT_REC {font-Family:Arial, Nimbus Sans L, DejaVu LGC Sans, Bitstream Vera Sans, sans-serif; color:#008000; font-weight:bold; font-size:9pt; height:16px; padding-top:0; padding-bottom:0; margin-top:-1px; margin-bottom:-1px; border-width:1px; border-style:solid; border-color:#ECE9D8;}
|
||||
.LST_EDIT_REC_HID {font-Family:Arial, Nimbus Sans L, DejaVu LGC Sans, Bitstream Vera Sans, sans-serif; color:#89BE87; font-weight:bold; font-size:9pt; height:16px; padding-top:0; padding-bottom:0; margin-top:-1px; margin-bottom:-1px; border-width:1px; border-style:solid; border-color:#ECE9D8;}
|
||||
|
||||
.USR_ID {font-family:Arial, Nimbus Sans L, DejaVu LGC Sans, Bitstream Vera Sans, sans-serif; color:#404040; font-size:16pt; font-weight:bold;}
|
||||
|
||||
|
@ -582,7 +582,7 @@ a:hover img.CENTRE_PHOTO_SHOW
|
|||
.MSJ_AVISO {font-Family:Arial, Nimbus Sans L, DejaVu LGC Sans, Bitstream Vera Sans, sans-serif; color:#632921; font-size:12pt;}
|
||||
.TIT_TBL {font-Family:Arial, Nimbus Sans L, DejaVu LGC Sans, Bitstream Vera Sans, sans-serif; color:#4D88A1; font-size:14pt;}
|
||||
.TIT_CLASSPHOTO {font-Family:Georgia, DejaVu LGC Serif, Bitstream Vera Serif, serif; color:#606060; font-size:11pt;}
|
||||
.CLASSPHOTO {font-Family:Arial, Nimbus Sans L, DejaVu LGC Sans, Bitstream Vera Sans, sans-serif; color:#606060; font-size:11pt; line-height:100%; letter-spacing:0px; white-space:nowrap;}
|
||||
.CLASSPHOTO {font-Family:Arial, Nimbus Sans L, DejaVu LGC Sans, Bitstream Vera Sans, sans-serif; color:#606060; font-size:11pt; line-height:100%; letter-spacing:0; white-space:nowrap;}
|
||||
|
||||
.GRP_TITLE {font-Family:Arial, Nimbus Sans L, DejaVu LGC Sans, Bitstream Vera Sans, sans-serif; color:#4D88A1; font-size:16pt; font-weight:bold;}
|
||||
|
||||
|
@ -613,7 +613,7 @@ a:hover img.CENTRE_PHOTO_SHOW
|
|||
.TEST_EDI {font-Family:Courier New, DejaVu LGC Sans Mono, Bitstream Vera Sans Mono, monospace; color:#404040; font-size:14pt;}
|
||||
.TEST_EDI_LIGHT {font-Family:Courier New, DejaVu LGC Sans Mono, Bitstream Vera Sans Mono, monospace; color:#A0A0A0; font-size:14pt;}
|
||||
|
||||
.HOR {font-Family:Arial Narrow, Nimbus Sans L, DejaVu LGC Sans Condensed, sans-serif; color:#345C6C; font-size:12pt; line-height:110%; letter-spacing:0px;}
|
||||
.HOR {font-Family:Arial Narrow, Nimbus Sans L, DejaVu LGC Sans Condensed, sans-serif; color:#345C6C; font-size:12pt; line-height:110%; letter-spacing:0;}
|
||||
.FREE0 {background-color:#F4F2EA; border:solid 1px; border-color:#F4F2EA #E0D9C2 #EEEADC #F4F2EA;}
|
||||
.FREE1 {background-color:#F4F2EA; border:solid 1px; border-color:#F4F2EA #E0D9C2 #E0D9C2 #F4F2EA;}
|
||||
.FREE2 {background-color:#FBFAF7; border:solid 1px; border-color:#FBFAF7 #E0D9C2 #F5F2E9 #FBFAF7;}
|
||||
|
@ -627,7 +627,7 @@ a:hover img.CENTRE_PHOTO_SHOW
|
|||
.USR_LIST_TYPE_OFF {border:solid 1px; border-color:#FFFFFF;}
|
||||
.USR_LIST_TYPE_ON {border:solid 1px; border-color:#50B800;}
|
||||
|
||||
.LAYOUT_OFF {border:solid; border-width:0px;}
|
||||
.LAYOUT_OFF {border:solid; border-width:0;}
|
||||
.LAYOUT_ON {border:solid; border-width:1px; border-color:#80E000;}
|
||||
|
||||
.LOG {font-Family:Arial Narrow, Nimbus Sans L, DejaVu LGC Sans Condensed, sans-serif; color:#606060; font-size:9pt;}
|
||||
|
|
|
@ -35,11 +35,12 @@
|
|||
/****************************** Public constants *****************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 14.40.6 (2014/12/23)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 14.40.7 (2014/12/23)"
|
||||
|
||||
// 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 | tail -1
|
||||
/*
|
||||
Version 14.40.7 :Dic 23, 2014 Changes in HTML and CSS to validate HTML5 in W3C validator. (172552 lines)
|
||||
Version 14.40.6 :Dic 23, 2014 Changes in HTML and CSS to validate HTML5 in W3C validator. (172400 lines)
|
||||
Version 14.40.5 :Dic 23, 2014 Changes in HTML and CSS to validate HTML5 in W3C validator. (172269 lines)
|
||||
Version 14.40.4 :Dic 23, 2014 Changes in HTML and CSS to validate HTML5 in W3C validator. (172112 lines)
|
||||
|
|
|
@ -591,7 +591,8 @@ static void Lay_WritePageTopHeading (void)
|
|||
},
|
||||
};
|
||||
|
||||
fprintf (Gbl.F.Out,"<tr style=\"background-image:url('%s/head_row1_1x48.gif'); background-repeat:repeat-x;\">",
|
||||
fprintf (Gbl.F.Out,"<tr style=\"background-image:url('%s/head_row1_1x48.gif');"
|
||||
" background-repeat:repeat-x;\">",
|
||||
Gbl.Prefs.PathTheme);
|
||||
|
||||
/***** 1st. row, 1st. column: logo *****/
|
||||
|
@ -656,7 +657,9 @@ static void Lay_WritePageTopHeading (void)
|
|||
"</tr>");
|
||||
|
||||
/***** 2nd. row *****/
|
||||
fprintf (Gbl.F.Out,"<tr style=\"height:64px; background-image: url('%s/head_row2_1x64.gif'); background-repeat: repeat-x;\">",
|
||||
fprintf (Gbl.F.Out,"<tr style=\"height:64px;"
|
||||
" background-image:url('%s/head_row2_1x64.gif');"
|
||||
" background-repeat:repeat-x;\">",
|
||||
Gbl.Prefs.PathTheme);
|
||||
|
||||
switch (Gbl.Prefs.Layout)
|
||||
|
@ -670,7 +673,8 @@ static void Lay_WritePageTopHeading (void)
|
|||
fprintf (Gbl.F.Out,"</td>"); // End of first column
|
||||
|
||||
/***** 2nd. row, 2nd. column: degree and course *****/
|
||||
fprintf (Gbl.F.Out,"<td style=\"height:64px; text-align:center; vertical-align:top;\">"
|
||||
fprintf (Gbl.F.Out,"<td style=\"height:64px;"
|
||||
" text-align:center; vertical-align:top;\">"
|
||||
"<div align=\"center\" style=\"padding-top:4px;\">");
|
||||
Deg_WriteCtyInsCtrDeg ();
|
||||
Crs_WriteSelectorMyCourses ();
|
||||
|
@ -692,8 +696,8 @@ static void Lay_WritePageTopHeading (void)
|
|||
case Lay_LAYOUT_MOBILE:
|
||||
fprintf (Gbl.F.Out,"<td colspan=\"3\" style=\"height:32px;"
|
||||
" text-align:center; vertical-align:middle;"
|
||||
" background-image: url('%s/head_row2_1x64.gif');"
|
||||
" background-repeat: repeat-x;\">",
|
||||
" background-image:url('%s/head_row2_1x64.gif');"
|
||||
" background-repeat:repeat-x;\">",
|
||||
Gbl.Prefs.PathTheme);
|
||||
Deg_WriteCtyInsCtrDeg ();
|
||||
Crs_WriteSelectorMyCourses ();
|
||||
|
@ -714,8 +718,8 @@ static void Lay_WritePageTopHeading (void)
|
|||
if (Gbl.Prefs.SideCols & 2) // Left column visible
|
||||
fprintf (Gbl.F.Out,"<td style=\"width:128px;"
|
||||
" text-align:center; vertical-align:top;"
|
||||
" background-image: url('%s/head_base_background_1x56.gif');"
|
||||
" background-repeat: repeat-x;\">"
|
||||
" background-image:url('%s/head_base_background_1x56.gif');"
|
||||
" background-repeat:repeat-x;\">"
|
||||
"</td>",
|
||||
Gbl.Prefs.PathTheme);
|
||||
|
||||
|
@ -1419,9 +1423,9 @@ static void Lay_ShowRightColumn (void)
|
|||
/***** Connected users *****/
|
||||
fprintf (Gbl.F.Out,"<table style=\"width:100%%;\">"
|
||||
"<tr>"
|
||||
"<td style=\"text-align:right; vertical-align:top;\""
|
||||
" background-image: url('%s/head_base_background_1x56.gif');"
|
||||
" background-repeat: repeat-x;\">"
|
||||
"<td style=\"text-align:right; vertical-align:top;"
|
||||
" background-image:url('%s/head_base_background_1x56.gif');"
|
||||
" background-repeat:repeat-x;\">"
|
||||
"<table style=\"width:100%%; padding-top:56px;"
|
||||
" border-spacing:4px;\">",
|
||||
Gbl.Prefs.PathTheme);
|
||||
|
|
|
@ -2513,10 +2513,11 @@ static void Msg_ShowASentOrReceivedMessage (Msg_TypeOfMessages_t TypeOfMessages,
|
|||
" text-align:center; vertical-align:top;\">"
|
||||
"<table style=\"width:16px;\">"
|
||||
"<tr>"
|
||||
"<td style=\"width:16px;"
|
||||
"<td style=\"width:16px; padding:0;"
|
||||
" text-align:center; vertical-align:top;\">"
|
||||
"<img src=\"%s/msg-%s16x16.gif\""
|
||||
" alt=\"\" title=\"%s\" class=\"ICON16x16\" />"
|
||||
" alt=\"\" title=\"%s\" class=\"ICON16x16\""
|
||||
" style=\"display:block;\" />"
|
||||
"</td>"
|
||||
"</tr>",
|
||||
TypeOfMessages == Msg_MESSAGES_RECEIVED ? (Open ? "BG_MSG_BLUE" :
|
||||
|
@ -2802,7 +2803,7 @@ void Msg_WriteMsgAuthor (struct UsrData *UsrDat,unsigned WidthOfNameColumn,unsig
|
|||
|
||||
bool Msg_WriteCrsOrgMsg (long CrsCod)
|
||||
{
|
||||
extern const char *Txt_from_this_BR_course;
|
||||
extern const char *Txt_from_this_course;
|
||||
extern const char *Txt_Go_to_X;
|
||||
extern const char *Txt_no_course_of_origin;
|
||||
struct Course Crs;
|
||||
|
@ -2819,8 +2820,8 @@ bool Msg_WriteCrsOrgMsg (long CrsCod)
|
|||
{
|
||||
ThereIsOrgCrs = true;
|
||||
if ((FromThisCrs = (CrsCod == Gbl.CurrentCrs.Crs.CrsCod))) // Message sent from current course
|
||||
fprintf (Gbl.F.Out,"<span class=\"MSG_AUT\">(%s)</span>",
|
||||
Txt_from_this_BR_course);
|
||||
fprintf (Gbl.F.Out,"<div class=\"MSG_AUT\">(%s)</div>",
|
||||
Txt_from_this_course);
|
||||
else // Message sent from another course
|
||||
{
|
||||
/* Write course, including link */
|
||||
|
@ -3153,7 +3154,7 @@ static void Msg_PutFormToDeleteMessage (long MsgCod,Msg_TypeOfMessages_t TypeOfM
|
|||
{
|
||||
extern const char *Txt_Delete_message;
|
||||
|
||||
fprintf (Gbl.F.Out,"<td style=\"width:18px;"
|
||||
fprintf (Gbl.F.Out,"<td style=\"width:18px; padding:0;"
|
||||
" text-align:center; vertical-align:top;\">");
|
||||
Act_FormStart (TypeOfMessages == Msg_MESSAGES_RECEIVED ? ActDelRcvMsg :
|
||||
ActDelSntMsg);
|
||||
|
@ -3161,7 +3162,7 @@ static void Msg_PutFormToDeleteMessage (long MsgCod,Msg_TypeOfMessages_t TypeOfM
|
|||
Msg_PutHiddenParamMsgCod (MsgCod);
|
||||
Msg_PutHiddenParamsMsgsFilters ();
|
||||
fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/delon16x16.gif\""
|
||||
" alt=\"%s\" title=\"%s\" class=\"ICON16x16\" />"
|
||||
" alt=\"%s\" title=\"%s\" class=\"ICON16x16\" style=\"display:block;\" />"
|
||||
"</form>"
|
||||
"</td>",
|
||||
Gbl.Prefs.IconsURL,
|
||||
|
|
|
@ -224,12 +224,12 @@ void Net_ShowFormMyWebsAndSocialNets (void)
|
|||
|
||||
/***** Row for this web / social network *****/
|
||||
fprintf (Gbl.F.Out,"<tr>"
|
||||
"<td align=\"left\" class=\"%s\">"
|
||||
"<td class=\"%s\" style=\"text-align:left;\">"
|
||||
"<img src=\"%s/%s16x16.gif\""
|
||||
" style=\"width:16px;height:16px;margin-right:10px;vertical-align:middle;\""
|
||||
" alt=\"\" title=\"%s\" />"
|
||||
"%s:</td>"
|
||||
"<td align=\"left\" width=\"%u\">",
|
||||
"<td style=\"width:%u; text-align:left;\">",
|
||||
ClassForm,
|
||||
Gbl.Prefs.IconsURL,Net_WebsAndSocialNetworksDB[NumURL],
|
||||
Net_TitleWebsAndSocialNetworks[NumURL],
|
||||
|
@ -420,13 +420,17 @@ void Net_ShowWebAndSocialNetworksStats (void)
|
|||
Lay_ShowErrorAndExit ("Error when getting number of files.");
|
||||
|
||||
fprintf (Gbl.F.Out,"<tr>"
|
||||
"<td align=\"left\" class=\"DAT\">"
|
||||
"<td class=\"DAT\" style=\"text-align:left;\">"
|
||||
"<img src=\"%s/%s16x16.gif\""
|
||||
" style=\"width:16px;height:16px;margin:0 2px;vertical-align:middle;\""
|
||||
" alt=\"\" title=\"%s\" />"
|
||||
"%s</td>"
|
||||
"<td align=\"right\" class=\"DAT\">%u</td>"
|
||||
"<td align=\"right\" class=\"DAT\">%.2f%%</td>"
|
||||
"<td class=\"DAT\" style=\"text-align:right;\">"
|
||||
"%u"
|
||||
"</td>"
|
||||
"<td class=\"DAT\" style=\"text-align:right;\">"
|
||||
"%.2f%%"
|
||||
"</td>"
|
||||
"</tr>",
|
||||
Gbl.Prefs.IconsURL,Net_WebsAndSocialNetworksDB[Web],
|
||||
Net_TitleWebsAndSocialNetworks[Web],
|
||||
|
|
|
@ -210,15 +210,23 @@ void Nck_ShowFormChangeUsrNickname (void)
|
|||
if (NumNick == 1)
|
||||
/* The first nickname is the current one */
|
||||
fprintf (Gbl.F.Out,"<tr>"
|
||||
"<td align=\"right\" valign=\"middle\" width=\"40%%\" class=\"%s\">%s:</td>"
|
||||
"<td align=\"left\" valign=\"middle\" width=\"60%%\">",
|
||||
"<td class=\"%s\" style=\"width:40%%;"
|
||||
" text-align:right; vertical-align:middle;\">"
|
||||
"%s:"
|
||||
"</td>"
|
||||
"<td style=\"width:60%%;"
|
||||
" text-align:left; vertical-align:middle;\">",
|
||||
The_ClassFormul[Gbl.Prefs.Theme],Txt_Current_nickname);
|
||||
else // NumNick >= 2
|
||||
{
|
||||
if (NumNick == 2)
|
||||
fprintf (Gbl.F.Out,"<tr>"
|
||||
"<td align=\"right\" valign=\"top\" width=\"40%%\" class=\"%s\">%s:</td>"
|
||||
"<td align=\"left\" valign=\"top\" width=\"60%%\">",
|
||||
"<td class=\"%s\" style=\"width:40%%;"
|
||||
" text-align:right; vertical-align:top;\">"
|
||||
"%s:"
|
||||
"</td>"
|
||||
"<td style=\"width:60%%;"
|
||||
" text-align:left; vertical-align:top;\">",
|
||||
The_ClassFormul[Gbl.Prefs.Theme],Txt_Other_nicknames);
|
||||
else // NumNick >= 3
|
||||
fprintf (Gbl.F.Out,"<br />");
|
||||
|
@ -268,8 +276,12 @@ void Nck_ShowFormChangeUsrNickname (void)
|
|||
|
||||
/***** Form to enter new nickname *****/
|
||||
fprintf (Gbl.F.Out,"<tr>"
|
||||
"<td align=\"right\" valign=\"middle\" width=\"40%%\" class=\"%s\">%s:</td>"
|
||||
"<td align=\"left\" valign=\"middle\" width=\"60%%\">",
|
||||
"<td class=\"%s\" style=\"width:40%%;"
|
||||
" text-align:right; vertical-align:middle;\">"
|
||||
"%s:"
|
||||
"</td>"
|
||||
"<td style=\"width:60%%;"
|
||||
" text-align:left; vertical-align:middle;\">",
|
||||
The_ClassFormul[Gbl.Prefs.Theme],
|
||||
NumNicks ? Txt_New_nickname : // A new nickname
|
||||
Txt_Nickname); // The first nickname
|
||||
|
|
|
@ -100,12 +100,17 @@ void Not_ShowFormNotice (void)
|
|||
Act_FormStart (ActRcvNot);
|
||||
fprintf (Gbl.F.Out,"<table>"
|
||||
"<tr>"
|
||||
"<td align=\"left\"></td>"
|
||||
"<td align=\"left\" class=\"%s\">%s</td>"
|
||||
"<td></td>"
|
||||
"<td class=\"%s\" style=\"text-align:left;\">"
|
||||
"%s"
|
||||
"</td>"
|
||||
"</tr>"
|
||||
"<tr>"
|
||||
"<td align=\"right\" valign=\"top\" class=\"%s\">%s: </td>"
|
||||
"<td align=\"left\">"
|
||||
"<td class=\"%s\" style=\"text-align:right;"
|
||||
" vertical-align:top;\">"
|
||||
"%s: "
|
||||
"</td>"
|
||||
"<td style=\"text-align:left;\">"
|
||||
"<textarea name=\"Content\" cols=\"30\" rows=\"10\"></textarea>"
|
||||
"</td>"
|
||||
"</tr>"
|
||||
|
@ -386,7 +391,7 @@ void Not_ShowNotices (Not_Listing_t TypeNoticesListing)
|
|||
Not_ContainerWidth[Not_LIST_FULL_NOTICES] + 40);
|
||||
Lay_StartRoundFrameTable10 (StrWidth,2,Txt_All_notices);
|
||||
fprintf (Gbl.F.Out,"<tr>"
|
||||
"<td align=\"center\">");
|
||||
"<td style=\"text-align:center;\">");
|
||||
}
|
||||
else
|
||||
Lay_ShowAlert (Lay_INFO,Txt_No_notices);
|
||||
|
|
|
@ -398,7 +398,8 @@ void Ntf_ShowMyNotifications (void)
|
|||
/***** Write row for this notification *****/
|
||||
/* Write event icon */
|
||||
fprintf (Gbl.F.Out,"<tr>"
|
||||
"<td valign=\"top\" align=\"left\" width=\"20\" class=\"%s\">",
|
||||
"<td class=\"%s\" style=\"width:20px;"
|
||||
" text-align:left; vertical-align:top;\">",
|
||||
ClassBackground);
|
||||
if (PutLink)
|
||||
{
|
||||
|
@ -420,7 +421,8 @@ void Ntf_ShowMyNotifications (void)
|
|||
fprintf (Gbl.F.Out,"</td>");
|
||||
|
||||
/* Write event type */
|
||||
fprintf (Gbl.F.Out,"<td valign=\"top\" align=\"left\" class=\"%s\">",
|
||||
fprintf (Gbl.F.Out,"<td class=\"%s\" style=\"text-align:left;"
|
||||
" vertical-align:top;\">",
|
||||
ClassBackground);
|
||||
if (PutLink)
|
||||
{
|
||||
|
@ -439,7 +441,9 @@ void Ntf_ShowMyNotifications (void)
|
|||
Msg_WriteMsgAuthor (&UsrDat,80,11,ClassAuthorBg,true,NULL);
|
||||
|
||||
/* Write location */
|
||||
fprintf (Gbl.F.Out,"<td valign=\"top\" align=\"left\" class=\"%s\">",ClassBackground);
|
||||
fprintf (Gbl.F.Out,"<td class=\"%s\" style=\"text-align:left;"
|
||||
" vertical-align:top;\">",
|
||||
ClassBackground);
|
||||
if (NotifyEvent == Ntf_EVENT_FORUM_POST_COURSE ||
|
||||
NotifyEvent == Ntf_EVENT_FORUM_REPLY)
|
||||
{
|
||||
|
@ -493,7 +497,10 @@ void Ntf_ShowMyNotifications (void)
|
|||
Msg_WriteMsgDate (DateTime,ClassBackground);
|
||||
|
||||
/* Write status (sent by email / pending to be sent by email) */
|
||||
fprintf (Gbl.F.Out,"<td valign=\"top\" align=\"left\" class=\"%s\">%s</td>" \
|
||||
fprintf (Gbl.F.Out,"<td class=\"%s\" style=\"text-align:left;"
|
||||
" vertical-align:top;\">"
|
||||
"%s"
|
||||
"</td>" \
|
||||
"</tr>",
|
||||
ClassBackground,Txt_NOTIFICATION_STATUS[StatusTxt]);
|
||||
|
||||
|
@ -505,7 +512,9 @@ void Ntf_ShowMyNotifications (void)
|
|||
Cod,Crs.CrsCod,Gbl.Usrs.Me.UsrDat.UsrCod,Cfg_MAX_CHARS_NOTIF_SUMMARY_SWAD,false);
|
||||
fprintf (Gbl.F.Out,"<tr>"
|
||||
"<td colspan=\"2\"></td>"
|
||||
"<td valign=\"top\" align=\"left\" colspan=\"5\" class=\"DAT\" style=\"padding-bottom:10px;\">"
|
||||
"<td colspan=\"5\" class=\"DAT\""
|
||||
" style=\"text-align:left; vertical-align:top;"
|
||||
" padding-bottom:10px;\">"
|
||||
"%s"
|
||||
"</td>"
|
||||
"</tr>",
|
||||
|
@ -1636,7 +1645,7 @@ void Ntf_PutFormChangeNotifSentByEMail (void)
|
|||
/***** Start table *****/
|
||||
Lay_StartRoundFrameTable10 (NULL,0,NULL);
|
||||
fprintf (Gbl.F.Out,"<tr>"
|
||||
"<td align=\"center\">");
|
||||
"<td style=\"text-align:center;\">");
|
||||
|
||||
/***** Start form *****/
|
||||
Act_FormStart (ActChgNtfPrf);
|
||||
|
@ -1657,21 +1666,25 @@ void Ntf_PutFormChangeNotifSentByEMail (void)
|
|||
NotifyEvent++) // O is reserved for Ntf_EVENT_UNKNOWN
|
||||
{
|
||||
fprintf (Gbl.F.Out,"<tr>"
|
||||
"<td align=\"right\" class=\"%s\">%s:</td>"
|
||||
"<td align=\"center\">"
|
||||
"<td class=\"%s\" style=\"text-align:right;\">"
|
||||
"%s:"
|
||||
"</td>"
|
||||
"<td style=\"text-align:center;\">"
|
||||
"<input type=\"checkbox\" name=\"%s\" value=\"Y\"",
|
||||
The_ClassFormul[Gbl.Prefs.Theme],
|
||||
Txt_NOTIFY_EVENTS_PLURAL[NotifyEvent],
|
||||
Ntf_ParamNotifMeAboutNotifyEvents[NotifyEvent]);
|
||||
if ((Gbl.Usrs.Me.UsrDat.Prefs.NotifNtfEvents & (1 << NotifyEvent)))
|
||||
fprintf (Gbl.F.Out," checked=\"checked\"");
|
||||
fprintf (Gbl.F.Out," /></td>"
|
||||
"<td align=\"center\">"
|
||||
fprintf (Gbl.F.Out," />"
|
||||
"</td>"
|
||||
"<td style=\"text-align:center;\">"
|
||||
"<input type=\"checkbox\" name=\"%s\" value=\"Y\"",
|
||||
Ntf_ParamEmailMeAboutNotifyEvents[NotifyEvent]);
|
||||
if ((Gbl.Usrs.Me.UsrDat.Prefs.EmailNtfEvents & (1 << NotifyEvent)))
|
||||
fprintf (Gbl.F.Out," checked=\"checked\"");
|
||||
fprintf (Gbl.F.Out," /></td>"
|
||||
fprintf (Gbl.F.Out," />"
|
||||
"</td>"
|
||||
"</tr>");
|
||||
}
|
||||
|
||||
|
|
|
@ -187,14 +187,19 @@ void Pag_WriteLinksToPages (Pag_WhatPaginate_t WhatPaginate,long ThrCod,struct P
|
|||
/***** Links to several pages start here *****/
|
||||
fprintf (Gbl.F.Out,"<table style=\"border-spacing:5px;\">"
|
||||
"<tr>"
|
||||
"<td align=\"left\" class=\"%s\">[</td>"
|
||||
"<td align=\"left\" class=\"%s\">%s</td>",
|
||||
"<td class=\"%s\" style=\"text-align:left;\">"
|
||||
"["
|
||||
"</td>"
|
||||
"<td class=\"%s\" style=\"text-align:left;\">"
|
||||
"%s"
|
||||
"</td>",
|
||||
Font,Font,Txt_Page);
|
||||
|
||||
/***** Possible link to page 1 *****/
|
||||
if (Pagination->StartPage > 1)
|
||||
{
|
||||
fprintf (Gbl.F.Out,"<td align=\"left\" class=\"%s\">",Font);
|
||||
fprintf (Gbl.F.Out,"<td class=\"%s\" style=\"text-align:left;\">",
|
||||
Font);
|
||||
switch (WhatPaginate)
|
||||
{
|
||||
case Pag_ASSIGNMENTS:
|
||||
|
@ -244,13 +249,17 @@ void Pag_WriteLinksToPages (Pag_WhatPaginate_t WhatPaginate,long ThrCod,struct P
|
|||
"</form>"
|
||||
"</td>");
|
||||
if (Pagination->LeftPage > 2)
|
||||
fprintf (Gbl.F.Out,"<td align=\"left\" class=\"%s\">...</td>",Font);
|
||||
fprintf (Gbl.F.Out,"<td class=\"%s\" style=\"text-align:left;\">"
|
||||
"..."
|
||||
"</td>",
|
||||
Font);
|
||||
}
|
||||
|
||||
/***** Posible link to page left *****/
|
||||
if (Pagination->LeftPage > 1 && Pagination->LeftPage < Pagination->StartPage)
|
||||
{
|
||||
fprintf (Gbl.F.Out,"<td align=\"left\" class=\"%s\">",Font);
|
||||
fprintf (Gbl.F.Out,"<td class=\"%s\" style=\"text-align:left;\">",
|
||||
Font);
|
||||
switch (WhatPaginate)
|
||||
{
|
||||
case Pag_ASSIGNMENTS:
|
||||
|
@ -301,7 +310,10 @@ void Pag_WriteLinksToPages (Pag_WhatPaginate_t WhatPaginate,long ThrCod,struct P
|
|||
"</td>",
|
||||
(unsigned) Pagination->LeftPage);
|
||||
if (Pagination->LeftPage < Pagination->StartPage-1)
|
||||
fprintf (Gbl.F.Out,"<td align=\"left\" class=\"%s\">...</td>",Font);
|
||||
fprintf (Gbl.F.Out,"<td class=\"%s\" style=\"text-align:left;\">"
|
||||
"..."
|
||||
"</td>",
|
||||
Font);
|
||||
}
|
||||
|
||||
/***** Loop to put links to the pages around the current one *****/
|
||||
|
@ -309,7 +321,8 @@ void Pag_WriteLinksToPages (Pag_WhatPaginate_t WhatPaginate,long ThrCod,struct P
|
|||
NumPage <= Pagination->EndPage;
|
||||
NumPage++)
|
||||
{
|
||||
fprintf (Gbl.F.Out,"<td align=\"left\" class=\"%s\">",Font);
|
||||
fprintf (Gbl.F.Out,"<td class=\"%s\" style=\"text-align:left;\">",
|
||||
Font);
|
||||
if (!LinkToPagCurrent && NumPage == Pagination->CurrentPage)
|
||||
fprintf (Gbl.F.Out,"<u>%u</u>",(unsigned) NumPage);
|
||||
else
|
||||
|
@ -370,8 +383,12 @@ void Pag_WriteLinksToPages (Pag_WhatPaginate_t WhatPaginate,long ThrCod,struct P
|
|||
if (Pagination->RightPage > Pagination->EndPage && Pagination->RightPage < Pagination->NumPags)
|
||||
{
|
||||
if (Pagination->RightPage > Pagination->EndPage+1)
|
||||
fprintf (Gbl.F.Out,"<td align=\"left\" class=\"%s\">...</td>",Font);
|
||||
fprintf (Gbl.F.Out,"<td align=\"left\" class=\"%s\">",Font);
|
||||
fprintf (Gbl.F.Out,"<td class=\"%s\" style=\"text-align:left;\">"
|
||||
"..."
|
||||
"</td>",
|
||||
Font);
|
||||
fprintf (Gbl.F.Out,"<td class=\"%s\" style=\"text-align:left;\">",
|
||||
Font);
|
||||
switch (WhatPaginate)
|
||||
{
|
||||
case Pag_ASSIGNMENTS:
|
||||
|
@ -427,8 +444,12 @@ void Pag_WriteLinksToPages (Pag_WhatPaginate_t WhatPaginate,long ThrCod,struct P
|
|||
if (Pagination->EndPage < Pagination->NumPags)
|
||||
{
|
||||
if (Pagination->NumPags > Pagination->RightPage+1)
|
||||
fprintf (Gbl.F.Out,"<td align=\"left\" class=\"%s\">...</td>",Font);
|
||||
fprintf (Gbl.F.Out,"<td align=\"left\" class=\"%s\">",Font);
|
||||
fprintf (Gbl.F.Out,"<td class=\"%s\" style=\"text-align:left;\">"
|
||||
"..."
|
||||
"</td>",
|
||||
Font);
|
||||
fprintf (Gbl.F.Out,"<td class=\"%s\" style=\"text-align:left;\">",
|
||||
Font);
|
||||
switch (WhatPaginate)
|
||||
{
|
||||
case Pag_ASSIGNMENTS:
|
||||
|
@ -479,7 +500,9 @@ void Pag_WriteLinksToPages (Pag_WhatPaginate_t WhatPaginate,long ThrCod,struct P
|
|||
"</td>",
|
||||
(unsigned) Pagination->NumPags);
|
||||
}
|
||||
fprintf (Gbl.F.Out,"<td align=\"left\" class=\"%s\">]</td>"
|
||||
fprintf (Gbl.F.Out,"<td class=\"%s\" style=\"text-align:left;\">"
|
||||
"]"
|
||||
"</td>"
|
||||
"</tr>"
|
||||
"</table>",
|
||||
Font);
|
||||
|
|
|
@ -661,8 +661,10 @@ void Pwd_ShowFormChgPwd (void)
|
|||
|
||||
if (IHaveAPasswordInDB) // If I have a password in database...
|
||||
fprintf (Gbl.F.Out,"<tr>"
|
||||
"<td align=\"right\" class=\"%s\">%s: </td>"
|
||||
"<td align=\"left\">"
|
||||
"<td class=\"%s\" style=\"text-align:right;\">"
|
||||
"%s: "
|
||||
"</td>"
|
||||
"<td style=\"text-align:left;\">"
|
||||
"<input type=\"password\" name=\"UsrPwd\" size=\"%u\" maxlength=\"%u\" />"
|
||||
"</td>"
|
||||
"</tr>",
|
||||
|
@ -673,7 +675,7 @@ void Pwd_ShowFormChgPwd (void)
|
|||
|
||||
/***** Send button and end form *****/
|
||||
fprintf (Gbl.F.Out,"<tr>"
|
||||
"<td colspan=\"2\" align=\"center\">"
|
||||
"<td colspan=\"2\" style=\"text-align:center;\">"
|
||||
"<input type=\"submit\" value=\"%s\" />"
|
||||
"</td>"
|
||||
"</tr>",
|
||||
|
@ -693,14 +695,18 @@ void Pwd_PutFormToGetNewPasswordTwice (void)
|
|||
extern const char *Txt_Retype_new_password;
|
||||
|
||||
fprintf (Gbl.F.Out,"<tr>"
|
||||
"<td align=\"right\" class=\"%s\">%s: </td>"
|
||||
"<td align=\"left\">"
|
||||
"<td class=\"%s\" style=\"text-align:right;\">"
|
||||
"%s: "
|
||||
"</td>"
|
||||
"<td style=\"text-align:left;\">"
|
||||
"<input type=\"password\" name=\"Paswd1\" size=\"%u\" maxlength=\"%u\" />"
|
||||
"</td>"
|
||||
"</tr>"
|
||||
"<tr>"
|
||||
"<td align=\"right\" class=\"%s\">%s: </td>"
|
||||
"<td align=\"left\">"
|
||||
"<td class=\"%s\" style=\"text-align:right;\">"
|
||||
"%s: "
|
||||
"</td>"
|
||||
"<td style=\"text-align:left;\">"
|
||||
"<input type=\"password\" name=\"Paswd2\" size=\"%u\" maxlength=\"%u\" />"
|
||||
"</td>"
|
||||
"</tr>",
|
||||
|
@ -740,7 +746,7 @@ void Pwd_ShowFormOthPwd (void)
|
|||
/* Show user's record */
|
||||
fprintf (Gbl.F.Out,"<table>"
|
||||
"<tr>"
|
||||
"<td colspan=\"2\" align=\"center\">");
|
||||
"<td colspan=\"2\" style=\"text-align:center;\">");
|
||||
Rec_ShowCommonRecord (Rec_RECORD_LIST,&Gbl.Usrs.Other.UsrDat);
|
||||
fprintf (Gbl.F.Out,"</td>"
|
||||
"</tr>");
|
||||
|
|
61
swad_photo.c
61
swad_photo.c
|
@ -253,15 +253,15 @@ void Pho_ReqPhoto (const struct UsrData *UsrDat,bool PhotoExists,const char *Pho
|
|||
}
|
||||
fprintf (Gbl.F.Out,"<table>"
|
||||
"<tr>"
|
||||
"<td align=\"right\" class=\"%s\">"
|
||||
"<td class=\"%s\" style=\"text-align:right;\">"
|
||||
"%s:"
|
||||
"</td>"
|
||||
"<td align=\"left\">"
|
||||
"<td style=\"text-align:left;\">"
|
||||
"<input type=\"file\" name=\"%s\" size=\"40\" maxlength=\"100\" value=\"%ld.jpg\" />"
|
||||
"</td>"
|
||||
"</tr>"
|
||||
"<tr>"
|
||||
"<td colspan=\"2\" align=\"center\">"
|
||||
"<td colspan=\"2\" style=\"text-align:center;\">"
|
||||
"<input type=\"submit\" value=\"%s\" accept=\"image/jpeg\" />"
|
||||
"</td>"
|
||||
"</tr>"
|
||||
|
@ -681,9 +681,11 @@ static void Pho_UpdatePhoto2 (void)
|
|||
for (NumPhoto = 0;
|
||||
NumPhoto < 3;
|
||||
NumPhoto++)
|
||||
fprintf (Gbl.F.Out,"<td align=\"center\" valign=\"top\" width=\"33%%\" class=\"DAT\">"
|
||||
fprintf (Gbl.F.Out,"<td class=\"DAT\" style=\"width:33%%;"
|
||||
" text-align:center; vertical-align:top;\">"
|
||||
"<img src=\"%s/%s/%s/%s_paso%u.jpg\" width=\"%u\" height=\"%u\" />"
|
||||
"<br />%s</td>",
|
||||
"<br />%s"
|
||||
"</td>",
|
||||
Cfg_HTTPS_URL_SWAD_PUBLIC,Cfg_FOLDER_PHOTO,Cfg_FOLDER_PHOTO_TMP,
|
||||
Gbl.Usrs.FileNamePhoto,NumPhoto + 1,
|
||||
Pho_PHOTO_REAL_WIDTH,Pho_PHOTO_REAL_HEIGHT,
|
||||
|
@ -1450,8 +1452,11 @@ static void Pho_PutSelectorForTypeOfAvg (void)
|
|||
Pho_AvgPhotoTypeOfAverage_t TypeOfAvg;
|
||||
|
||||
fprintf (Gbl.F.Out,"<tr>"
|
||||
"<td align=\"right\" valign=\"middle\" class=\"%s\">%s:</td>"
|
||||
"<td align=\"left\" valign=\"middle\">",
|
||||
"<td class=\"%s\" style=\"text-align:right;"
|
||||
" vertical-align:middle;\">"
|
||||
"%s:"
|
||||
"</td>"
|
||||
"<td style=\"text-align:left; vertical-align:middle;\">",
|
||||
The_ClassFormul[Gbl.Prefs.Theme],Txt_Average_type);
|
||||
Act_FormStart (ActSeePhoDeg);
|
||||
Pho_PutHiddenParamPhotoSize ();
|
||||
|
@ -1517,8 +1522,11 @@ static void Pho_PutSelectorForHowComputePhotoSize (void)
|
|||
Pho_HowComputePhotoSize_t PhoSi;
|
||||
|
||||
fprintf (Gbl.F.Out,"<tr>"
|
||||
"<td align=\"right\" valign=\"middle\" class=\"%s\">%s:</td>"
|
||||
"<td align=\"left\" valign=\"middle\">",
|
||||
"<td class=\"%s\" style=\"text-align:right;"
|
||||
" vertical-align:middle;\">"
|
||||
"%s:"
|
||||
"</td>"
|
||||
"<td style=\"text-align:left; vertical-align:middle;\">",
|
||||
The_ClassFormul[Gbl.Prefs.Theme],Txt_Size_of_photos);
|
||||
Act_FormStart (ActSeePhoDeg);
|
||||
Pho_PutHiddenParamTypeOfAvg ();
|
||||
|
@ -1584,8 +1592,11 @@ static void Pho_PutSelectorForHowOrderDegrees (void)
|
|||
Pho_HowOrderDegrees_t Order;
|
||||
|
||||
fprintf (Gbl.F.Out,"<tr>"
|
||||
"<td align=\"right\" valign=\"middle\" class=\"%s\">%s:</td>"
|
||||
"<td align=\"left\" valign=\"middle\">",
|
||||
"<td class=\"%s\" style=\"text-align:right;"
|
||||
" vertical-align:middle;\">"
|
||||
"%s:"
|
||||
"</td>"
|
||||
"<td style=\"text-align:left; vertical-align:middle;\">",
|
||||
The_ClassFormul[Gbl.Prefs.Theme],Txt_Sort_degrees_by);
|
||||
Act_FormStart (ActSeePhoDeg);
|
||||
Pho_PutHiddenParamTypeOfAvg ();
|
||||
|
@ -1831,7 +1842,7 @@ static void Pho_ShowOrPrintClassPhotoDegrees (Pho_AvgPhotoSeeOrPrint_t SeeOrPrin
|
|||
}
|
||||
|
||||
/***** Show average photo of students belonging to this degree *****/
|
||||
fprintf (Gbl.F.Out,"<td align=\"center\">");
|
||||
fprintf (Gbl.F.Out,"<td style=\"text-align:center;\">");
|
||||
Pho_ShowDegreeAvgPhotoAndStat (&Deg,SeeOrPrint,Usr_SEX_ALL,NumStds,NumStdsWithPhoto,&DateAvgPhoto);
|
||||
fprintf (Gbl.F.Out,"</td>");
|
||||
|
||||
|
@ -1879,14 +1890,22 @@ static void Pho_ShowOrPrintListDegrees (Pho_AvgPhotoSeeOrPrint_t SeeOrPrint)
|
|||
|
||||
/***** Write heading *****/
|
||||
fprintf (Gbl.F.Out,"<tr>"
|
||||
"<td align=\"right\" valign=\"top\" class=\"TIT_TBL\">%s</td>"
|
||||
"<td align=\"center\" valign=\"top\" class=\"TIT_TBL\">%s </td>",
|
||||
"<td class=\"TIT_TBL\" style=\"text-align:right;"
|
||||
" vertical-align:top;\">"
|
||||
"%s"
|
||||
"</td>"
|
||||
"<td class=\"TIT_TBL\" style=\"text-align:center;"
|
||||
" vertical-align:top;\">"
|
||||
"%s "
|
||||
"</td>",
|
||||
Txt_No_INDEX,
|
||||
Txt_Degree);
|
||||
for (Sex = (Usr_Sex_t) 0;
|
||||
Sex < Usr_NUM_SEXS;
|
||||
Sex++)
|
||||
fprintf (Gbl.F.Out,"<td align=\"center\" valign=\"top\" class=\"TIT_TBL\">%s </td>",
|
||||
fprintf (Gbl.F.Out,"<td class=\"TIT_TBL\" style=\"text-align:center; vertical-align:top;\">"
|
||||
"%s "
|
||||
"</td>",
|
||||
Txt_SEX_PLURAL_Abc[Sex]);
|
||||
fprintf (Gbl.F.Out,"</tr>");
|
||||
|
||||
|
@ -1915,11 +1934,15 @@ static void Pho_ShowOrPrintListDegrees (Pho_AvgPhotoSeeOrPrint_t SeeOrPrint)
|
|||
|
||||
/***** Show logo and name of this degree *****/
|
||||
fprintf (Gbl.F.Out,"<tr>"
|
||||
"<td align=\"right\" class=\"DAT\" bgcolor=\"%s\">%u </td>",
|
||||
"<td class=\"DAT\" style=\"text-align:right;"
|
||||
" background-color:%s;\">"
|
||||
"%u "
|
||||
"</td>",
|
||||
Gbl.ColorRows[Gbl.RowEvenOdd],++NumDegsNotEmpty);
|
||||
|
||||
/***** Show logo and name of this degree *****/
|
||||
fprintf (Gbl.F.Out,"<td align=\"left\" class=\"DAT\" bgcolor=\"%s\">",
|
||||
fprintf (Gbl.F.Out,"<td class=\"DAT\" style=\"text-align:left;"
|
||||
" background-color:%s;\">",
|
||||
Gbl.ColorRows[Gbl.RowEvenOdd]);
|
||||
if (SeeOrPrint == Pho_DEGREES_SEE)
|
||||
fprintf (Gbl.F.Out,"<a href=\"%s\" title=\"%s\" class=\"DAT\" target=\"_blank\">",
|
||||
|
@ -1937,7 +1960,9 @@ static void Pho_ShowOrPrintListDegrees (Pho_AvgPhotoSeeOrPrint_t SeeOrPrint)
|
|||
{
|
||||
/***** Show average photo of students belonging to this degree *****/
|
||||
Pho_GetNumStdsInDegree (Deg.DegCod,Sex,&NumStds,&NumStdsWithPhoto);
|
||||
fprintf (Gbl.F.Out,"<td align=\"center\" bgcolor=\"%s\">",Gbl.ColorRows[Gbl.RowEvenOdd]);
|
||||
fprintf (Gbl.F.Out,"<td style=\"text-align:center;"
|
||||
" background-color:%s;\">",
|
||||
Gbl.ColorRows[Gbl.RowEvenOdd]);
|
||||
if (Gbl.Usrs.Listing.WithPhotos)
|
||||
Pho_ShowDegreeAvgPhotoAndStat (&Deg,SeeOrPrint,Sex,NumStds,NumStdsWithPhoto,&DateAvgPhoto);
|
||||
else
|
||||
|
|
75
swad_place.c
75
swad_place.c
|
@ -103,7 +103,8 @@ void Plc_SeePlaces (void)
|
|||
Order <= Plc_ORDER_BY_NUM_CTRS;
|
||||
Order++)
|
||||
{
|
||||
fprintf (Gbl.F.Out,"<td align=\"center\" class=\"TIT_TBL\">");
|
||||
fprintf (Gbl.F.Out,"<td class=\"TIT_TBL\""
|
||||
" style=\"text-align:left;\">");
|
||||
Act_FormStart (ActSeePlc);
|
||||
Par_PutHiddenParamUnsigned ("Order",(unsigned) Order);
|
||||
Act_LinkFormSubmit (Txt_PLACES_HELP_ORDER[Order],"TIT_TBL");
|
||||
|
@ -125,9 +126,13 @@ void Plc_SeePlaces (void)
|
|||
{
|
||||
/* Write data of this place */
|
||||
fprintf (Gbl.F.Out,"<tr>"
|
||||
"<td align=\"left\" class=\"DAT\">%s</td>",
|
||||
"<td class=\"DAT\" style=\"text-align:left;\">"
|
||||
"%s"
|
||||
"</td>",
|
||||
Gbl.Plcs.Lst[NumPlc].FullName);
|
||||
fprintf (Gbl.F.Out,"<td align=\"right\" class=\"DAT\"> %u </td>"
|
||||
fprintf (Gbl.F.Out,"<td class=\"DAT\" style=\"text-align:right;\">"
|
||||
" %u "
|
||||
"</td>"
|
||||
"</tr>",
|
||||
Gbl.Plcs.Lst[NumPlc].NumCtrs);
|
||||
NumCtrsWithPlc += Gbl.Plcs.Lst[NumPlc].NumCtrs;
|
||||
|
@ -135,22 +140,32 @@ void Plc_SeePlaces (void)
|
|||
|
||||
/***** Separation row *****/
|
||||
fprintf (Gbl.F.Out,"<tr>"
|
||||
"<td align=\"left\" class=\"DAT\" colspan=\"2\"> </td>"
|
||||
"<td colspan=\"2\" class=\"DAT\">"
|
||||
" "
|
||||
"</td>"
|
||||
"</tr>");
|
||||
|
||||
/***** Write centres with other place *****/
|
||||
NumCtrsInOtherPlcs = Ctr_GetNumCtrsInPlc (0);
|
||||
fprintf (Gbl.F.Out,"<tr>"
|
||||
"<td align=\"left\" class=\"DAT\">%s</td>"
|
||||
"<td align=\"right\" class=\"DAT\"> %u </td>"
|
||||
"<td class=\"DAT\" style=\"text-align:left;\">"
|
||||
"%s"
|
||||
"</td>"
|
||||
"<td class=\"DAT\" style=\"text-align:right;\">"
|
||||
" %u "
|
||||
"</td>"
|
||||
"</tr>",
|
||||
Txt_Other_places,NumCtrsInOtherPlcs);
|
||||
NumCtrsWithPlc += NumCtrsInOtherPlcs;
|
||||
|
||||
/***** Write centres with no place *****/
|
||||
fprintf (Gbl.F.Out,"<tr>"
|
||||
"<td align=\"left\" class=\"DAT\">%s</td>"
|
||||
"<td align=\"right\" class=\"DAT\"> %u </td>"
|
||||
"<td class=\"DAT\" style=\"text-align:left;\">"
|
||||
"%s"
|
||||
"</td>"
|
||||
"<td class=\"DAT\" style=\"text-align:right;\">"
|
||||
" %u "
|
||||
"</td>"
|
||||
"</tr>",
|
||||
Txt_Place_unspecified,
|
||||
Ctr_GetNumCtrsTotal () - NumCtrsWithPlc);
|
||||
|
@ -431,11 +446,14 @@ static void Plc_ListPlacesForEdition (void)
|
|||
fprintf (Gbl.F.Out,"</td>");
|
||||
|
||||
/* Place code */
|
||||
fprintf (Gbl.F.Out,"<td align=\"right\" class=\"DAT\">%ld </td>",
|
||||
fprintf (Gbl.F.Out,"<td class=\"DAT\" style=\"text-align:right;\">"
|
||||
"%ld "
|
||||
"</td>",
|
||||
Plc->PlcCod);
|
||||
|
||||
/* Place short name */
|
||||
fprintf (Gbl.F.Out,"<td align=\"center\" valign=\"middle\">");
|
||||
fprintf (Gbl.F.Out,"<td style=\"text-align:center;"
|
||||
" vertical-align:middle;\">");
|
||||
Act_FormStart (ActRenPlcSho);
|
||||
Plc_PutParamPlcCod (Plc->PlcCod);
|
||||
fprintf (Gbl.F.Out,"<input type=\"text\" name=\"ShortName\" size=\"15\" maxlength=\"%u\" value=\"%s\""
|
||||
|
@ -445,7 +463,8 @@ static void Plc_ListPlacesForEdition (void)
|
|||
Plc_MAX_LENGTH_PLACE_SHORT_NAME,Plc->ShortName,Gbl.FormId);
|
||||
|
||||
/* Place full name */
|
||||
fprintf (Gbl.F.Out,"<td align=\"center\" valign=\"middle\">");
|
||||
fprintf (Gbl.F.Out,"<td style=\"text-align:center;"
|
||||
" vertical-align:middle;\">");
|
||||
Act_FormStart (ActRenPlcFul);
|
||||
Plc_PutParamPlcCod (Plc->PlcCod);
|
||||
fprintf (Gbl.F.Out,"<input type=\"text\" name=\"FullName\" size=\"40\" maxlength=\"%u\" value=\"%s\""
|
||||
|
@ -455,7 +474,9 @@ static void Plc_ListPlacesForEdition (void)
|
|||
Plc_MAX_LENGTH_PLACE_FULL_NAME,Plc->FullName,Gbl.FormId);
|
||||
|
||||
/* Number of centres */
|
||||
fprintf (Gbl.F.Out,"<td align=\"right\" class=\"DAT\"> %u </td>"
|
||||
fprintf (Gbl.F.Out,"<td class=\"DAT\" style=\"text-align:right;\">"
|
||||
" %u "
|
||||
"</td>"
|
||||
"</tr>",
|
||||
Plc->NumCtrs);
|
||||
}
|
||||
|
@ -669,21 +690,25 @@ static void Plc_PutFormToCreatePlace (void)
|
|||
|
||||
/***** Write heading *****/
|
||||
fprintf (Gbl.F.Out,"<tr>"
|
||||
"<td align=\"left\" class=\"TIT_TBL\">%s</td>"
|
||||
"<td align=\"left\" class=\"TIT_TBL\">%s</td>"
|
||||
"<td class=\"TIT_TBL\" style=\"text-align:left;\">"
|
||||
"%s"
|
||||
"</td>"
|
||||
"<td class=\"TIT_TBL\" style=\"text-align:left;\">"
|
||||
"%s"
|
||||
"</td>"
|
||||
"</tr>",
|
||||
Txt_Short_Name,
|
||||
Txt_Full_Name);
|
||||
|
||||
/***** Place short name *****/
|
||||
fprintf (Gbl.F.Out,"<tr>"
|
||||
"<td align=\"center\" valign=\"middle\">"
|
||||
"<td style=\"text-align:center; vertical-align:middle;\">"
|
||||
"<input type=\"text\" name=\"ShortName\" size=\"15\" maxlength=\"%u\" value=\"%s\" />"
|
||||
"</td>",
|
||||
Plc_MAX_LENGTH_PLACE_SHORT_NAME,Plc->ShortName);
|
||||
|
||||
/***** Place full name *****/
|
||||
fprintf (Gbl.F.Out,"<td align=\"center\" valign=\"middle\">"
|
||||
fprintf (Gbl.F.Out,"<td style=\"text-align:center; vertical-align:middle;\">"
|
||||
"<input type=\"text\" name=\"FullName\" size=\"40\" maxlength=\"%u\" value=\"%s\" />"
|
||||
"</td>"
|
||||
"<td></td>"
|
||||
|
@ -692,7 +717,7 @@ static void Plc_PutFormToCreatePlace (void)
|
|||
|
||||
/***** Send button *****/
|
||||
fprintf (Gbl.F.Out,"<tr>"
|
||||
"<td align=\"center\" colspan=\"2\">"
|
||||
"<td colspan=\"2\" style=\"text-align:center;\">"
|
||||
"<input type=\"submit\" value=\"%s\" />"
|
||||
"</td>"
|
||||
"</tr>",
|
||||
|
@ -718,10 +743,18 @@ static void Plc_PutHeadPlaces (void)
|
|||
|
||||
fprintf (Gbl.F.Out,"<tr>"
|
||||
"<td class=\"BM\"></td>"
|
||||
"<td align=\"right\" class=\"TIT_TBL\">%s</td>"
|
||||
"<td align=\"left\" class=\"TIT_TBL\">%s</td>"
|
||||
"<td align=\"left\" class=\"TIT_TBL\">%s</td>"
|
||||
"<td align=\"right\" class=\"TIT_TBL\">%s</td>"
|
||||
"<td class=\"TIT_TBL\" style=\"text-align:right;\">"
|
||||
"%s"
|
||||
"</td>"
|
||||
"<td class=\"TIT_TBL\" style=\"text-align:left;\">"
|
||||
"%s"
|
||||
"</td>"
|
||||
"<td class=\"TIT_TBL\" style=\"text-align:left;\">"
|
||||
"%s"
|
||||
"</td>"
|
||||
"<td class=\"TIT_TBL\" style=\"text-align:right;\">"
|
||||
"%s"
|
||||
"</td>"
|
||||
"</tr>",
|
||||
Txt_Code,
|
||||
Txt_Short_Name,
|
||||
|
|
|
@ -99,8 +99,11 @@ void Plg_ListPlugins (void)
|
|||
|
||||
/***** Write table heading *****/
|
||||
fprintf (Gbl.F.Out,"<tr>"
|
||||
"<td align=\"left\" class=\"TIT_TBL\" width=\"32\"></td>"
|
||||
"<td align=\"left\" class=\"TIT_TBL\">%s</td>"
|
||||
"<td style=\"width:32px;\">"
|
||||
"</td>"
|
||||
"<td class=\"TIT_TBL\" style=\"text-align:left;\">"
|
||||
"%s"
|
||||
"</td>"
|
||||
"</tr>",
|
||||
Txt_Plugin);
|
||||
|
||||
|
@ -115,14 +118,17 @@ void Plg_ListPlugins (void)
|
|||
|
||||
/* Plugin logo */
|
||||
fprintf (Gbl.F.Out,"<tr>"
|
||||
"<td align=\"left\" class=\"DAT\" width=\"32\">"
|
||||
"<td class=\"DAT\" style=\"width:32px;"
|
||||
" text-align:left;\">"
|
||||
"<a href=\"%s\" title=\"%s\" class=\"DAT\" target=\"_blank\">"
|
||||
"<img src=\"%s/%s/%s24x24.gif\" width=\"24\" height=\"24\" alt=\"%s\" />"
|
||||
"</a>"
|
||||
"</td>"
|
||||
"<td align=\"left\" class=\"DAT\">"
|
||||
"<td class=\"DAT\" style=\"text-align:left;\">"
|
||||
"<a href=\"%s\" title=\"%s\" class=\"DAT\" target=\"_blank\">"
|
||||
"%s</a></td>"
|
||||
"%s"
|
||||
"</a>"
|
||||
"</td>"
|
||||
"</tr>",
|
||||
URL,Plg->Name,
|
||||
Gbl.Prefs.IconsURL,Cfg_ICON_FOLDER_PLUGINS,Gbl.Plugins.Lst[NumPlg].Logo,Plg->Name,
|
||||
|
@ -373,11 +379,13 @@ static void Plg_ListPluginsForEdition (void)
|
|||
Txt_Remove_plugin);
|
||||
|
||||
/* Plugin code */
|
||||
fprintf (Gbl.F.Out,"<td align=\"right\" class=\"DAT\">%ld </td>",
|
||||
fprintf (Gbl.F.Out,"<td class=\"DAT\" style=\"text-align:right;\">"
|
||||
"%ld "
|
||||
"</td>",
|
||||
Plg->PlgCod);
|
||||
|
||||
/* Plugin logo */
|
||||
fprintf (Gbl.F.Out,"<td align=\"left\" width=\"20\">"
|
||||
fprintf (Gbl.F.Out,"<td style=\"width:28px; text-align:center;\">"
|
||||
"<img src=\"%s/%s/%s24x24.gif\" width=\"24\" height=\"24\" alt=\"%s\" />"
|
||||
"</td>",
|
||||
Gbl.Prefs.IconsURL,Cfg_ICON_FOLDER_PLUGINS,Gbl.Plugins.Lst[NumPlg].Logo,Gbl.Plugins.Lst[NumPlg].Name);
|
||||
|
@ -393,7 +401,8 @@ static void Plg_ListPluginsForEdition (void)
|
|||
Plg_MAX_LENGTH_PLUGIN_NAME,Plg->Name,Gbl.FormId);
|
||||
|
||||
/* Plugin description */
|
||||
fprintf (Gbl.F.Out,"<td align=\"center\" valign=\"middle\">");
|
||||
fprintf (Gbl.F.Out,"<td style=\"text-align:center;"
|
||||
" vertical-align:middle;\">");
|
||||
Act_FormStart (ActChgPlgDes);
|
||||
Plg_PutParamPlgCod (Plg->PlgCod);
|
||||
fprintf (Gbl.F.Out,"<input type=\"text\" name=\"Description\" size=\"30\" maxlength=\"%u\" value=\"%s\""
|
||||
|
@ -403,7 +412,8 @@ static void Plg_ListPluginsForEdition (void)
|
|||
Plg_MAX_LENGTH_PLUGIN_DESCRIPTION,Plg->Description,Gbl.FormId);
|
||||
|
||||
/* Plugin logo */
|
||||
fprintf (Gbl.F.Out,"<td align=\"center\" valign=\"middle\">");
|
||||
fprintf (Gbl.F.Out,"<td style=\"text-align:center;"
|
||||
" vertical-align:middle;\">");
|
||||
Act_FormStart (ActChgPlgLog);
|
||||
Plg_PutParamPlgCod (Plg->PlgCod);
|
||||
fprintf (Gbl.F.Out,"<input type=\"text\" name=\"Logo\" size=\"4\" maxlength=\"%u\" value=\"%s\""
|
||||
|
@ -413,7 +423,8 @@ static void Plg_ListPluginsForEdition (void)
|
|||
Plg_MAX_LENGTH_PLUGIN_LOGO,Plg->Logo,Gbl.FormId);
|
||||
|
||||
/* Plugin application key */
|
||||
fprintf (Gbl.F.Out,"<td align=\"center\" valign=\"middle\">");
|
||||
fprintf (Gbl.F.Out,"<td style=\"text-align:center;"
|
||||
" vertical-align:middle;\">");
|
||||
Act_FormStart (ActChgPlgAppKey);
|
||||
Plg_PutParamPlgCod (Plg->PlgCod);
|
||||
fprintf (Gbl.F.Out,"<input type=\"text\" name=\"AppKey\" size=\"16\" maxlength=\"%u\" value=\"%s\""
|
||||
|
@ -423,7 +434,8 @@ static void Plg_ListPluginsForEdition (void)
|
|||
Plg_MAX_LENGTH_PLUGIN_APP_KEY,Plg->AppKey,Gbl.FormId);
|
||||
|
||||
/* Plugin URL */
|
||||
fprintf (Gbl.F.Out,"<td align=\"center\" valign=\"middle\">");
|
||||
fprintf (Gbl.F.Out,"<td style=\"text-align:center;"
|
||||
" vertical-align:middle;\">");
|
||||
Act_FormStart (ActChgPlgURL);
|
||||
Plg_PutParamPlgCod (Plg->PlgCod);
|
||||
fprintf (Gbl.F.Out,"<input type=\"text\" name=\"URL\" size=\"15\" maxlength=\"%u\" value=\"%s\""
|
||||
|
@ -433,7 +445,8 @@ static void Plg_ListPluginsForEdition (void)
|
|||
Cns_MAX_LENGTH_WWW,Plg->URL,Gbl.FormId);
|
||||
|
||||
/* Plugin IP */
|
||||
fprintf (Gbl.F.Out,"<td align=\"center\" valign=\"middle\">");
|
||||
fprintf (Gbl.F.Out,"<td style=\"text-align:center;"
|
||||
" vertical-align:middle;\">");
|
||||
Act_FormStart (ActChgPlgIP);
|
||||
Plg_PutParamPlgCod (Plg->PlgCod);
|
||||
fprintf (Gbl.F.Out,"<input type=\"text\" name=\"IP\" size=\"10\" maxlength=\"%u\" value=\"%s\""
|
||||
|
@ -844,37 +857,37 @@ static void Plg_PutFormToCreatePlugin (void)
|
|||
Txt_IP);
|
||||
|
||||
/***** Plugin name *****/
|
||||
fprintf (Gbl.F.Out,"<td align=\"center\" valign=\"middle\">"
|
||||
fprintf (Gbl.F.Out,"<td style=\"text-align:center; vertical-align:middle;\">"
|
||||
"<input type=\"text\" name=\"Name\" size=\"10\" maxlength=\"%u\" value=\"%s\" />"
|
||||
"</td>",
|
||||
Plg_MAX_LENGTH_PLUGIN_NAME,Plg->Name);
|
||||
|
||||
/***** Plugin description *****/
|
||||
fprintf (Gbl.F.Out,"<td align=\"center\" valign=\"middle\">"
|
||||
fprintf (Gbl.F.Out,"<td style=\"text-align:center; vertical-align:middle;\">"
|
||||
"<input type=\"text\" name=\"Description\" size=\"30\" maxlength=\"%u\" value=\"%s\" />"
|
||||
"</td>",
|
||||
Plg_MAX_LENGTH_PLUGIN_DESCRIPTION,Plg->Description);
|
||||
|
||||
/***** Plugin logo *****/
|
||||
fprintf (Gbl.F.Out,"<td align=\"center\" valign=\"middle\">"
|
||||
fprintf (Gbl.F.Out,"<td style=\"text-align:center; vertical-align:middle;\">"
|
||||
"<input type=\"text\" name=\"Logo\" size=\"4\" maxlength=\"%u\" value=\"%s\" />"
|
||||
"</td>",
|
||||
Plg_MAX_LENGTH_PLUGIN_LOGO,Plg->Logo);
|
||||
|
||||
/***** Plugin application key *****/
|
||||
fprintf (Gbl.F.Out,"<td align=\"center\" valign=\"middle\">"
|
||||
fprintf (Gbl.F.Out,"<td style=\"text-align:center; vertical-align:middle;\">"
|
||||
"<input type=\"text\" name=\"AppKey\" size=\"16\" maxlength=\"%u\" value=\"%s\" />"
|
||||
"</td>",
|
||||
Plg_MAX_LENGTH_PLUGIN_APP_KEY,Plg->AppKey);
|
||||
|
||||
/***** Plugin URL *****/
|
||||
fprintf (Gbl.F.Out,"<td align=\"center\" valign=\"middle\">"
|
||||
fprintf (Gbl.F.Out,"<td style=\"text-align:center; vertical-align:middle;\">"
|
||||
"<input type=\"text\" name=\"URL\" size=\"15\" maxlength=\"%u\" value=\"%s\" />"
|
||||
"</td>",
|
||||
Cns_MAX_LENGTH_WWW,Plg->URL);
|
||||
|
||||
/***** Plugin IP address *****/
|
||||
fprintf (Gbl.F.Out,"<td align=\"center\" valign=\"middle\">"
|
||||
fprintf (Gbl.F.Out,"<td style=\"text-align:center; vertical-align:middle;\">"
|
||||
"<input type=\"text\" name=\"IP\" size=\"10\" maxlength=\"%u\" value=\"%s\" />"
|
||||
"</td>"
|
||||
"</tr>",
|
||||
|
@ -882,7 +895,7 @@ static void Plg_PutFormToCreatePlugin (void)
|
|||
|
||||
/***** Send button *****/
|
||||
fprintf (Gbl.F.Out,"<tr>"
|
||||
"<td align=\"center\" colspan=\"6\">"
|
||||
"<td colspan=\"6\" style=\"text-align:center;\">"
|
||||
"<input type=\"submit\" value=\"%s\" />"
|
||||
"</td>"
|
||||
"</tr>",
|
||||
|
|
|
@ -73,10 +73,12 @@ void Prf_EditPrefs (void)
|
|||
/***** Language selection *****/
|
||||
Lay_StartRoundFrameTable10 (NULL,0,NULL);
|
||||
fprintf (Gbl.F.Out,"<tr>"
|
||||
"<td align=\"center\" class=\"TIT_TBL\">%s</td>"
|
||||
"<td class=\"TIT_TBL\" style=\"text-align:center;\">"
|
||||
"%s"
|
||||
"</td>"
|
||||
"</tr>"
|
||||
"<tr>"
|
||||
"<td align=\"center\">",
|
||||
"<td style=\"text-align:center;\">",
|
||||
Txt_Language);
|
||||
Prf_PutSelectorToSelectLanguage ();
|
||||
fprintf (Gbl.F.Out,"</td>"
|
||||
|
@ -86,10 +88,12 @@ void Prf_EditPrefs (void)
|
|||
/***** Layout selection *****/
|
||||
Lay_StartRoundFrameTable10 (NULL,0,NULL);
|
||||
fprintf (Gbl.F.Out,"<tr>"
|
||||
"<td align=\"center\" class=\"TIT_TBL\">%s</td>"
|
||||
"<td class=\"TIT_TBL\" style=\"text-align:center;\">"
|
||||
"%s"
|
||||
"</td>"
|
||||
"</tr>"
|
||||
"<tr>"
|
||||
"<td align=\"center\">",
|
||||
"<td style=\"text-align:center;\">",
|
||||
Txt_Layout);
|
||||
Lay_PutIconsToSelectLayout ();
|
||||
fprintf (Gbl.F.Out,"</td>"
|
||||
|
@ -99,10 +103,12 @@ void Prf_EditPrefs (void)
|
|||
/***** Theme selection *****/
|
||||
Lay_StartRoundFrameTable10 (NULL,0,NULL);
|
||||
fprintf (Gbl.F.Out,"<tr>"
|
||||
"<td align=\"center\" class=\"TIT_TBL\">%s</td>"
|
||||
"<td class=\"TIT_TBL\" style=\"text-align:center;\">"
|
||||
"%s"
|
||||
"</td>"
|
||||
"</tr>"
|
||||
"<tr>"
|
||||
"<td align=\"center\">",
|
||||
"<td style=\"text-align:center;\">",
|
||||
Txt_Theme_SKIN);
|
||||
The_PutIconsToSelectTheme ();
|
||||
fprintf (Gbl.F.Out,"</td>"
|
||||
|
@ -112,10 +118,12 @@ void Prf_EditPrefs (void)
|
|||
/***** Side columns selection *****/
|
||||
Lay_StartRoundFrameTable10 (NULL,0,NULL);
|
||||
fprintf (Gbl.F.Out,"<tr>"
|
||||
"<td align=\"center\" class=\"TIT_TBL\">%s</td>"
|
||||
"<td class=\"TIT_TBL\" style=\"text-align:center;\">"
|
||||
"%s"
|
||||
"</td>"
|
||||
"</tr>"
|
||||
"<tr>"
|
||||
"<td align=\"center\">",
|
||||
"<td style=\"text-align:center;\">",
|
||||
Txt_Columns);
|
||||
Prf_PutIconsToSelectSideCols ();
|
||||
fprintf (Gbl.F.Out,"</td>"
|
||||
|
@ -125,10 +133,12 @@ void Prf_EditPrefs (void)
|
|||
/***** Icons selection *****/
|
||||
Lay_StartRoundFrameTable10 (NULL,0,NULL);
|
||||
fprintf (Gbl.F.Out,"<tr>"
|
||||
"<td align=\"center\" class=\"TIT_TBL\">%s</td>"
|
||||
"<td class=\"TIT_TBL\" style=\"text-align:center;\">"
|
||||
"%s"
|
||||
"</td>"
|
||||
"</tr>"
|
||||
"<tr>"
|
||||
"<td align=\"center\">",
|
||||
"<td style=\"text-align:center;\">",
|
||||
Txt_Icons);
|
||||
Ico_PutIconsToSelectIconSet ();
|
||||
fprintf (Gbl.F.Out,"</td>"
|
||||
|
@ -140,7 +150,7 @@ void Prf_EditPrefs (void)
|
|||
/***** Public / private photo *****/
|
||||
Lay_StartRoundFrameTable10 (NULL,0,NULL);
|
||||
fprintf (Gbl.F.Out,"<tr>"
|
||||
"<td align=\"center\">");
|
||||
"<td style=\"text-align:center;\">");
|
||||
Prf_PutFormPublicPhoto ();
|
||||
fprintf (Gbl.F.Out,"</td>"
|
||||
"</tr>");
|
||||
|
@ -383,13 +393,13 @@ void Prf_PutIconsToSelectSideCols (void)
|
|||
SideCols <= 3;
|
||||
SideCols++)
|
||||
{
|
||||
fprintf (Gbl.F.Out,"<td align=\"center\" class=\"%s\">",
|
||||
fprintf (Gbl.F.Out,"<td class=\"%s\" style=\"text-align:center;\">",
|
||||
SideCols == Gbl.Prefs.SideCols ? "LAYOUT_ON" :
|
||||
"LAYOUT_OFF");
|
||||
Act_FormStart (ActChgCol);
|
||||
Par_PutHiddenParamUnsigned ("SideCols",SideCols);
|
||||
fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/layout%u%u_32x20.gif\""
|
||||
" alt=\"%s\" title=\"%s\" style=\"width:32px;height:20px;\" />"
|
||||
" alt=\"%s\" title=\"%s\" style=\"display:block; width:32px; height:20px;\" />"
|
||||
"</form>"
|
||||
"</td>",
|
||||
Gbl.Prefs.IconsURL,
|
||||
|
@ -585,14 +595,16 @@ static void Prf_PutFormPublicPhoto (void)
|
|||
"<tr>");
|
||||
|
||||
/***** Checkbox to select between public or private photo *****/
|
||||
fprintf (Gbl.F.Out,"<td align=\"right\">"
|
||||
fprintf (Gbl.F.Out,"<td style=\"text-align:right;\">"
|
||||
"<input type=\"checkbox\" name=\"PublicPhoto\" value=\"Y\"");
|
||||
if (Gbl.Usrs.Me.UsrDat.PublicPhoto)
|
||||
fprintf (Gbl.F.Out," checked=\"checked\"");
|
||||
fprintf (Gbl.F.Out," onchange=\"javascript:document.getElementById('%s').submit();\" />"
|
||||
"</td>",
|
||||
Gbl.FormId);
|
||||
fprintf (Gbl.F.Out,"<td align=\"left\" class=\"%s\">%s</td>",
|
||||
fprintf (Gbl.F.Out,"<td class=\"%s\" style=\"text-align:left;\">"
|
||||
"%s"
|
||||
"</td>",
|
||||
The_ClassFormul[Gbl.Prefs.Theme],Txt_Public_photo);
|
||||
|
||||
/***** End form *****/
|
||||
|
|
38
swad_text.c
38
swad_text.c
|
@ -11741,25 +11741,25 @@ const char *Txt_From_now_on_the_number_of_editing_lines_of_the_field_X_is_Y = //
|
|||
"From now on the number of editing lines of the field <strong>%s</strong> is <strong>%u</strong>."; // Necessita de tradução
|
||||
#endif
|
||||
|
||||
const char *Txt_from_this_BR_course =
|
||||
const char *Txt_from_this_course =
|
||||
#if L==0
|
||||
"desde esta<br />asignatura"; // Necessita traduccio
|
||||
"desde esta asignatura"; // Necessita traduccio
|
||||
#elif L==1
|
||||
"von dieser<br />Kurs";
|
||||
"von dieser Kurs";
|
||||
#elif L==2
|
||||
"from this<br />course";
|
||||
"from this course";
|
||||
#elif L==3
|
||||
"desde esta<br />asignatura";
|
||||
"desde esta asignatura";
|
||||
#elif L==4
|
||||
"de cette<br />matière";
|
||||
"de cette matière";
|
||||
#elif L==5
|
||||
"desde esta<br />asignatura"; // Okoteve traducción
|
||||
"desde esta asignatura"; // Okoteve traducción
|
||||
#elif L==6
|
||||
"da questo<br />corso";
|
||||
"da questo corso";
|
||||
#elif L==7
|
||||
"z tego<br />kursu";
|
||||
"z tego kursu";
|
||||
#elif L==8
|
||||
"desta<br />disciplina";
|
||||
"desta disciplina";
|
||||
#endif
|
||||
|
||||
const char *Txt_From_this_time_you_can_receive_messages_from_X = // Warning: it is very important to include %s in the following sentences
|
||||
|
@ -28054,23 +28054,23 @@ const char *Txt_PLACES_ORDER[2] =
|
|||
#endif
|
||||
,
|
||||
#if L==0
|
||||
"Nombre de<br />titulacions"
|
||||
"Titulacions"
|
||||
#elif L==1
|
||||
"Anzahl der<br />Studiengänge"
|
||||
"Studiengänge"
|
||||
#elif L==2
|
||||
"No. of<br />degrees"
|
||||
"Degrees"
|
||||
#elif L==3
|
||||
"Nº de<br />titulaciones"
|
||||
"Titulaciones"
|
||||
#elif L==4
|
||||
"Nombre<br />d'études"
|
||||
"Études"
|
||||
#elif L==5
|
||||
"Nº de<br />titulaciones" // Okoteve traducción
|
||||
"Titulaciones" // Okoteve traducción
|
||||
#elif L==6
|
||||
"Numero di<br />lauree"
|
||||
"Lauree"
|
||||
#elif L==7
|
||||
"Numery of<br />stopni"
|
||||
"Stopni"
|
||||
#elif L==8
|
||||
"Nº de<br />titulaçoes"
|
||||
"Titulaçoes"
|
||||
#endif
|
||||
};
|
||||
|
||||
|
|
|
@ -238,13 +238,13 @@ void The_PutIconsToSelectTheme (void)
|
|||
Theme < The_NUM_THEMES;
|
||||
Theme++)
|
||||
{
|
||||
fprintf (Gbl.F.Out,"<td align=\"center\" class=\"%s\">",
|
||||
fprintf (Gbl.F.Out,"<td class=\"%s\" style=\"text-align:center;\">",
|
||||
Theme == Gbl.Prefs.Theme ? "LAYOUT_ON" :
|
||||
"LAYOUT_OFF");
|
||||
Act_FormStart (ActChgThe);
|
||||
Par_PutHiddenParamString ("Theme",The_ThemeId[Theme]);
|
||||
fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/%s/%s/theme_32x20.gif\""
|
||||
" alt=\"%s\" title=\"%s\" style=\"width:32px;height:20px;\" />"
|
||||
" alt=\"%s\" title=\"%s\" style=\"display:block; width:32px; height:20px;\" />"
|
||||
"</form>"
|
||||
"</td>",
|
||||
Gbl.Prefs.IconsURL,
|
||||
|
|
Loading…
Reference in New Issue