Version 18.31

This commit is contained in:
Antonio Cañas Vargas 2019-01-11 02:55:01 +01:00
parent 4738643fe6
commit 96e02612d7
73 changed files with 3777 additions and 272 deletions

3426
css/swad18.31.css Normal file

File diff suppressed because it is too large Load Diff

1
icon/angle-down.svg Normal file
View File

@ -0,0 +1 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="angle-down" class="svg-inline--fa fa-angle-down fa-w-10" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path fill="#404040" d="M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z"></path></svg>

After

Width:  |  Height:  |  Size: 408 B

1
icon/angle-up.svg Normal file
View File

@ -0,0 +1 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="angle-up" class="svg-inline--fa fa-angle-up fa-w-10" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path fill="#404040" d="M177 159.7l136 136c9.4 9.4 9.4 24.6 0 33.9l-22.6 22.6c-9.4 9.4-24.6 9.4-33.9 0L160 255.9l-96.4 96.4c-9.4 9.4-24.6 9.4-33.9 0L7 329.7c-9.4-9.4-9.4-24.6 0-33.9l136-136c9.4-9.5 24.6-9.5 34-.1z"></path></svg>

After

Width:  |  Height:  |  Size: 403 B

1
icon/calendar-minus.svg Normal file
View File

@ -0,0 +1 @@
<svg aria-hidden="true" data-prefix="far" data-icon="calendar-minus" class="svg-inline--fa fa-calendar-minus fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="#404040" d="M124 328c-6.6 0-12-5.4-12-12v-24c0-6.6 5.4-12 12-12h200c6.6 0 12 5.4 12 12v24c0 6.6-5.4 12-12 12H124zm324-216v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"></path></svg>

After

Width:  |  Height:  |  Size: 592 B

1
icon/calendar-plus.svg Normal file
View File

@ -0,0 +1 @@
<svg aria-hidden="true" data-prefix="far" data-icon="calendar-plus" class="svg-inline--fa fa-calendar-plus fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="#404040" d="M336 292v24c0 6.6-5.4 12-12 12h-76v76c0 6.6-5.4 12-12 12h-24c-6.6 0-12-5.4-12-12v-76h-76c-6.6 0-12-5.4-12-12v-24c0-6.6 5.4-12 12-12h76v-76c0-6.6 5.4-12 12-12h24c6.6 0 12 5.4 12 12v76h76c6.6 0 12 5.4 12 12zm112-180v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"></path></svg>

After

Width:  |  Height:  |  Size: 694 B

1
icon/check-circle.svg Normal file
View File

@ -0,0 +1 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="check-circle" class="svg-inline--fa fa-check-circle fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="#266702" d="M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"></path></svg>

After

Width:  |  Height:  |  Size: 578 B

1
icon/cut.svg Normal file
View File

@ -0,0 +1 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="cut" class="svg-inline--fa fa-cut fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="#404040" d="M278.06 256L444.48 89.57c4.69-4.69 4.69-12.29 0-16.97-32.8-32.8-85.99-32.8-118.79 0L210.18 188.12l-24.86-24.86c4.31-10.92 6.68-22.81 6.68-35.26 0-53.02-42.98-96-96-96S0 74.98 0 128s42.98 96 96 96c4.54 0 8.99-.32 13.36-.93L142.29 256l-32.93 32.93c-4.37-.61-8.83-.93-13.36-.93-53.02 0-96 42.98-96 96s42.98 96 96 96 96-42.98 96-96c0-12.45-2.37-24.34-6.68-35.26l24.86-24.86L325.69 439.4c32.8 32.8 85.99 32.8 118.79 0 4.69-4.68 4.69-12.28 0-16.97L278.06 256zM96 160c-17.64 0-32-14.36-32-32s14.36-32 32-32 32 14.36 32 32-14.36 32-32 32zm0 256c-17.64 0-32-14.36-32-32s14.36-32 32-32 32 14.36 32 32-14.36 32-32 32z"></path></svg>

After

Width:  |  Height:  |  Size: 810 B

1
icon/edit.svg Normal file
View File

@ -0,0 +1 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="edit" class="svg-inline--fa fa-edit fa-w-18" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path fill="#404040" d="M402.6 83.2l90.2 90.2c3.8 3.8 3.8 10 0 13.8L274.4 405.6l-92.8 10.3c-12.4 1.4-22.9-9.1-21.5-21.5l10.3-92.8L388.8 83.2c3.8-3.8 10-3.8 13.8 0zm162-22.9l-48.8-48.8c-15.2-15.2-39.9-15.2-55.2 0l-35.4 35.4c-3.8 3.8-3.8 10 0 13.8l90.2 90.2c3.8 3.8 10 3.8 13.8 0l35.4-35.4c15.2-15.3 15.2-40 0-55.2zM384 346.2V448H64V128h229.8c3.2 0 6.2-1.3 8.5-3.5l40-40c7.6-7.6 2.2-20.5-8.5-20.5H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V306.2c0-10.7-12.9-16-20.5-8.5l-40 40c-2.2 2.3-3.5 5.3-3.5 8.5z"></path></svg>

After

Width:  |  Height:  |  Size: 713 B

View File

@ -0,0 +1 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="envelope-open-text" class="svg-inline--fa fa-envelope-open-text fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="#660000" d="M176 216h160c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16H176c-8.84 0-16 7.16-16 16v16c0 8.84 7.16 16 16 16zm-16 80c0 8.84 7.16 16 16 16h160c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16H176c-8.84 0-16 7.16-16 16v16zm96 121.13c-16.42 0-32.84-5.06-46.86-15.19L0 250.86V464c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V250.86L302.86 401.94c-14.02 10.12-30.44 15.19-46.86 15.19zm237.61-254.18c-8.85-6.94-17.24-13.47-29.61-22.81V96c0-26.51-21.49-48-48-48h-77.55c-3.04-2.2-5.87-4.26-9.04-6.56C312.6 29.17 279.2-.35 256 0c-23.2-.35-56.59 29.17-73.41 41.44-3.17 2.3-6 4.36-9.04 6.56H96c-26.51 0-48 21.49-48 48v44.14c-12.37 9.33-20.76 15.87-29.61 22.81A47.995 47.995 0 0 0 0 200.72v10.65l96 69.35V96h320v184.72l96-69.35v-10.65c0-14.74-6.78-28.67-18.39-37.77z"></path></svg>

After

Width:  |  Height:  |  Size: 990 B

View File

@ -0,0 +1 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="envelope-open-text" class="svg-inline--fa fa-envelope-open-text fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="#404040" d="M176 216h160c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16H176c-8.84 0-16 7.16-16 16v16c0 8.84 7.16 16 16 16zm-16 80c0 8.84 7.16 16 16 16h160c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16H176c-8.84 0-16 7.16-16 16v16zm96 121.13c-16.42 0-32.84-5.06-46.86-15.19L0 250.86V464c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V250.86L302.86 401.94c-14.02 10.12-30.44 15.19-46.86 15.19zm237.61-254.18c-8.85-6.94-17.24-13.47-29.61-22.81V96c0-26.51-21.49-48-48-48h-77.55c-3.04-2.2-5.87-4.26-9.04-6.56C312.6 29.17 279.2-.35 256 0c-23.2-.35-56.59 29.17-73.41 41.44-3.17 2.3-6 4.36-9.04 6.56H96c-26.51 0-48 21.49-48 48v44.14c-12.37 9.33-20.76 15.87-29.61 22.81A47.995 47.995 0 0 0 0 200.72v10.65l96 69.35V96h320v184.72l96-69.35v-10.65c0-14.74-6.78-28.67-18.39-37.77z"></path></svg>

After

Width:  |  Height:  |  Size: 990 B

1
icon/envelope-red.svg Normal file
View File

@ -0,0 +1 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="envelope" class="svg-inline--fa fa-envelope fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="#660000" d="M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z"></path></svg>

After

Width:  |  Height:  |  Size: 678 B

View File

@ -0,0 +1 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="exclamation-triangle" class="svg-inline--fa fa-exclamation-triangle fa-w-18" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path fill="#f7b617" d="M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"></path></svg>

After

Width:  |  Height:  |  Size: 686 B

1
icon/file-export.svg Normal file
View File

@ -0,0 +1 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="file-export" class="svg-inline--fa fa-file-export fa-w-18" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path fill="#404040" d="M384 121.9c0-6.3-2.5-12.4-7-16.9L279.1 7c-4.5-4.5-10.6-7-17-7H256v128h128v-6.1zM192 336v-32c0-8.84 7.16-16 16-16h176V160H248c-13.2 0-24-10.8-24-24V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V352H208c-8.84 0-16-7.16-16-16zm379.05-28.02l-95.7-96.43c-10.06-10.14-27.36-3.01-27.36 11.27V288H384v64h63.99v65.18c0 14.28 17.29 21.41 27.36 11.27l95.7-96.42c6.6-6.66 6.6-17.4 0-24.05z"></path></svg>

After

Width:  |  Height:  |  Size: 625 B

1
icon/file-import.svg Normal file
View File

@ -0,0 +1 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="file-import" class="svg-inline--fa fa-file-import fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="#404040" d="M16 288c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h112v-64H16zm336-152V0H152c-13.3 0-24 10.7-24 24v264h127.99v-65.18c0-14.28 17.29-21.41 27.36-11.27l95.7 96.43c6.6 6.65 6.6 17.39 0 24.04l-95.7 96.42c-10.06 10.14-27.36 3.01-27.36-11.27V352H128v136c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H376c-13.2 0-24-10.8-24-24zm153-31L407.1 7c-4.5-4.5-10.6-7-17-7H384v128h128v-6.1c0-6.3-2.5-12.4-7-16.9z"></path></svg>

After

Width:  |  Height:  |  Size: 622 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 921 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

1
icon/flag.svg Normal file
View File

@ -0,0 +1 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="flag" class="svg-inline--fa fa-flag fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="#404040" d="M349.565 98.783C295.978 98.783 251.721 64 184.348 64c-24.955 0-47.309 4.384-68.045 12.013a55.947 55.947 0 0 0 3.586-23.562C118.117 24.015 94.806 1.206 66.338.048 34.345-1.254 8 24.296 8 56c0 19.026 9.497 35.825 24 45.945V488c0 13.255 10.745 24 24 24h16c13.255 0 24-10.745 24-24v-94.4c28.311-12.064 63.582-22.122 114.435-22.122 53.588 0 97.844 34.783 165.217 34.783 48.169 0 86.667-16.294 122.505-40.858C506.84 359.452 512 349.571 512 339.045v-243.1c0-23.393-24.269-38.87-45.485-29.016-34.338 15.948-76.454 31.854-116.95 31.854z"></path></svg>

After

Width:  |  Height:  |  Size: 733 B

View File

@ -0,0 +1 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="folder-open" class="svg-inline--fa fa-folder-open fa-w-18" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path fill="#246600" d="M572.694 292.093L500.27 416.248A63.997 63.997 0 0 1 444.989 448H45.025c-18.523 0-30.064-20.093-20.731-36.093l72.424-124.155A64 64 0 0 1 152 256h399.964c18.523 0 30.064 20.093 20.73 36.093zM152 224h328v-48c0-26.51-21.49-48-48-48H272l-64-64H48C21.49 64 0 85.49 0 112v278.046l69.077-118.418C86.214 242.25 117.989 224 152 224z"></path></svg>

After

Width:  |  Height:  |  Size: 542 B

1
icon/folder-red.svg Normal file
View File

@ -0,0 +1 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="folder" class="svg-inline--fa fa-folder fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="#660000" d="M464 128H272l-64-64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V176c0-26.51-21.49-48-48-48z"></path></svg>

After

Width:  |  Height:  |  Size: 337 B

BIN
icon/holiday.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 892 B

1
icon/key.svg Normal file
View File

@ -0,0 +1 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="key" class="svg-inline--fa fa-key fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="#404040" d="M512 176.001C512 273.203 433.202 352 336 352c-11.22 0-22.19-1.062-32.827-3.069l-24.012 27.014A23.999 23.999 0 0 1 261.223 384H224v40c0 13.255-10.745 24-24 24h-40v40c0 13.255-10.745 24-24 24H24c-13.255 0-24-10.745-24-24v-78.059c0-6.365 2.529-12.47 7.029-16.971l161.802-161.802C163.108 213.814 160 195.271 160 176 160 78.798 238.797.001 335.999 0 433.488-.001 512 78.511 512 176.001zM336 128c0 26.51 21.49 48 48 48s48-21.49 48-48-21.49-48-48-48-48 21.49-48 48z"></path></svg>

After

Width:  |  Height:  |  Size: 662 B

1
icon/link.svg Normal file
View File

@ -0,0 +1 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="link" class="svg-inline--fa fa-link fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="#404040" d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"></path></svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

1
icon/lock-open.svg Normal file
View File

@ -0,0 +1 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="lock-open" class="svg-inline--fa fa-lock-open fa-w-18" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path fill="#246600" d="M423.5 0C339.5.3 272 69.5 272 153.5V224H48c-26.5 0-48 21.5-48 48v192c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48h-48v-71.1c0-39.6 31.7-72.5 71.3-72.9 40-.4 72.7 32.1 72.7 72v80c0 13.3 10.7 24 24 24h32c13.3 0 24-10.7 24-24v-80C576 68 507.5-.3 423.5 0z"></path></svg>

After

Width:  |  Height:  |  Size: 493 B

1
icon/lock.svg Normal file
View File

@ -0,0 +1 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="lock" class="svg-inline--fa fa-lock fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="#660000" d="M400 224h-24v-72C376 68.2 307.8 0 224 0S72 68.2 72 152v72H48c-26.5 0-48 21.5-48 48v192c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48zm-104 0H152v-72c0-39.7 32.3-72 72-72s72 32.3 72 72v72z"></path></svg>

After

Width:  |  Height:  |  Size: 418 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 987 B

After

Width:  |  Height:  |  Size: 1.1 KiB

1
icon/play.svg Normal file
View File

@ -0,0 +1 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="play" class="svg-inline--fa fa-play fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="#404040" d="M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z"></path></svg>

After

Width:  |  Height:  |  Size: 317 B

1
icon/recycle.svg Normal file
View File

@ -0,0 +1 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="recycle" class="svg-inline--fa fa-recycle fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="#660000" d="M184.561 261.903c3.232 13.997-12.123 24.635-24.068 17.168l-40.736-25.455-50.867 81.402C55.606 356.273 70.96 384 96.012 384H148c6.627 0 12 5.373 12 12v40c0 6.627-5.373 12-12 12H96.115c-75.334 0-121.302-83.048-81.408-146.88l50.822-81.388-40.725-25.448c-12.081-7.547-8.966-25.961 4.879-29.158l110.237-25.45c8.611-1.988 17.201 3.381 19.189 11.99l25.452 110.237zm98.561-182.915l41.289 66.076-40.74 25.457c-12.051 7.528-9 25.953 4.879 29.158l110.237 25.45c8.672 1.999 17.215-3.438 19.189-11.99l25.45-110.237c3.197-13.844-11.99-24.719-24.068-17.168l-40.687 25.424-41.263-66.082c-37.521-60.033-125.209-60.171-162.816 0l-17.963 28.766c-3.51 5.62-1.8 13.021 3.82 16.533l33.919 21.195c5.62 3.512 13.024 1.803 16.536-3.817l17.961-28.743c12.712-20.341 41.973-19.676 54.257-.022zM497.288 301.12l-27.515-44.065c-3.511-5.623-10.916-7.334-16.538-3.821l-33.861 21.159c-5.62 3.512-7.33 10.915-3.818 16.536l27.564 44.112c13.257 21.211-2.057 48.96-27.136 48.96H320V336.02c0-14.213-17.242-21.383-27.313-11.313l-80 79.981c-6.249 6.248-6.249 16.379 0 22.627l80 79.989C302.689 517.308 320 510.3 320 495.989V448h95.88c75.274 0 121.335-82.997 81.408-146.88z"></path></svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

1
icon/reply.svg Normal file
View File

@ -0,0 +1 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="reply" class="svg-inline--fa fa-reply fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="#404040" d="M8.309 189.836L184.313 37.851C199.719 24.546 224 35.347 224 56.015v80.053c160.629 1.839 288 34.032 288 186.258 0 61.441-39.581 122.309-83.333 154.132-13.653 9.931-33.111-2.533-28.077-18.631 45.344-145.012-21.507-183.51-176.59-185.742V360c0 20.7-24.3 31.453-39.687 18.164l-176.004-152c-11.071-9.562-11.086-26.753 0-36.328z"></path></svg>

After

Width:  |  Height:  |  Size: 529 B

1
icon/rss-square.svg Normal file
View File

@ -0,0 +1 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="rss-square" class="svg-inline--fa fa-rss-square fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="#404040" d="M400 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V80c0-26.51-21.49-48-48-48zM112 416c-26.51 0-48-21.49-48-48s21.49-48 48-48 48 21.49 48 48-21.49 48-48 48zm157.533 0h-34.335c-6.011 0-11.051-4.636-11.442-10.634-5.214-80.05-69.243-143.92-149.123-149.123-5.997-.39-10.633-5.431-10.633-11.441v-34.335c0-6.535 5.468-11.777 11.994-11.425 110.546 5.974 198.997 94.536 204.964 204.964.352 6.526-4.89 11.994-11.425 11.994zm103.027 0h-34.334c-6.161 0-11.175-4.882-11.427-11.038-5.598-136.535-115.204-246.161-251.76-251.76C68.882 152.949 64 147.935 64 141.774V107.44c0-6.454 5.338-11.664 11.787-11.432 167.83 6.025 302.21 141.191 308.205 308.205.232 6.449-4.978 11.787-11.432 11.787z"></path></svg>

After

Width:  |  Height:  |  Size: 926 B

1
icon/share-alt-green.svg Normal file
View File

@ -0,0 +1 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="share-alt" class="svg-inline--fa fa-share-alt fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="#246600" d="M352 320c-22.608 0-43.387 7.819-59.79 20.895l-102.486-64.054a96.551 96.551 0 0 0 0-41.683l102.486-64.054C308.613 184.181 329.392 192 352 192c53.019 0 96-42.981 96-96S405.019 0 352 0s-96 42.981-96 96c0 7.158.79 14.13 2.276 20.841L155.79 180.895C139.387 167.819 118.608 160 96 160c-53.019 0-96 42.981-96 96s42.981 96 96 96c22.608 0 43.387-7.819 59.79-20.895l102.486 64.054A96.301 96.301 0 0 0 256 416c0 53.019 42.981 96 96 96s96-42.981 96-96-42.981-96-96-96z"></path></svg>

After

Width:  |  Height:  |  Size: 672 B

1
icon/share-alt.svg Normal file
View File

@ -0,0 +1 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="share-alt" class="svg-inline--fa fa-share-alt fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="#404040" d="M352 320c-22.608 0-43.387 7.819-59.79 20.895l-102.486-64.054a96.551 96.551 0 0 0 0-41.683l102.486-64.054C308.613 184.181 329.392 192 352 192c53.019 0 96-42.981 96-96S405.019 0 352 0s-96 42.981-96 96c0 7.158.79 14.13 2.276 20.841L155.79 180.895C139.387 167.819 118.608 160 96 160c-53.019 0-96 42.981-96 96s42.981 96 96 96c22.608 0 43.387-7.819 59.79-20.895l102.486 64.054A96.301 96.301 0 0 0 256 416c0 53.019 42.981 96 96 96s96-42.981 96-96-42.981-96-96-96z"></path></svg>

After

Width:  |  Height:  |  Size: 672 B

1
icon/share-red.svg Normal file
View File

@ -0,0 +1 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="share" class="svg-inline--fa fa-share fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="#660000" d="M503.691 189.836L327.687 37.851C312.281 24.546 288 35.347 288 56.015v80.053C127.371 137.907 0 170.1 0 322.326c0 61.441 39.581 122.309 83.333 154.132 13.653 9.931 33.111-2.533 28.077-18.631C66.066 312.814 132.917 274.316 288 272.085V360c0 20.7 24.3 31.453 39.687 18.164l176.004-152c11.071-9.562 11.086-26.753 0-36.328z"></path></svg>

After

Width:  |  Height:  |  Size: 525 B

1
icon/share.svg Normal file
View File

@ -0,0 +1 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="share" class="svg-inline--fa fa-share fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="#404040" d="M503.691 189.836L327.687 37.851C312.281 24.546 288 35.347 288 56.015v80.053C127.371 137.907 0 170.1 0 322.326c0 61.441 39.581 122.309 83.333 154.132 13.653 9.931 33.111-2.533 28.077-18.631C66.066 312.814 132.917 274.316 288 272.085V360c0 20.7 24.3 31.453 39.687 18.164l176.004-152c11.071-9.562 11.086-26.753 0-36.328z"></path></svg>

After

Width:  |  Height:  |  Size: 525 B

1
icon/shield-alt.svg Normal file
View File

@ -0,0 +1 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="shield-alt" class="svg-inline--fa fa-shield-alt fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="#404040" d="M496 128c0 221.282-135.934 344.645-221.539 380.308a48 48 0 0 1-36.923 0C130.495 463.713 16 326.487 16 128a48 48 0 0 1 29.539-44.308l192-80a48 48 0 0 1 36.923 0l192 80A48 48 0 0 1 496 128zM256 446.313l.066.034c93.735-46.689 172.497-156.308 175.817-307.729L256 65.333v380.98z"></path></svg>

After

Width:  |  Height:  |  Size: 491 B

View File

@ -0,0 +1 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="sign-in-alt" class="svg-inline--fa fa-sign-in-alt fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="#84ad6f" d="M416 448h-84c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h84c17.7 0 32-14.3 32-32V160c0-17.7-14.3-32-32-32h-84c-6.6 0-12-5.4-12-12V76c0-6.6 5.4-12 12-12h84c53 0 96 43 96 96v192c0 53-43 96-96 96zm-47-201L201 79c-15-15-41-4.5-41 17v96H24c-13.3 0-24 10.7-24 24v96c0 13.3 10.7 24 24 24h136v96c0 21.5 26 32 41 17l168-168c9.3-9.4 9.3-24.6 0-34z"></path></svg>

After

Width:  |  Height:  |  Size: 556 B

View File

@ -0,0 +1 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="sign-out-alt" class="svg-inline--fa fa-sign-out-alt fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="#ad6f6f" d="M497 273L329 441c-15 15-41 4.5-41-17v-96H152c-13.3 0-24-10.7-24-24v-96c0-13.3 10.7-24 24-24h136V88c0-21.4 25.9-32 41-17l168 168c9.3 9.4 9.3 24.6 0 34zM192 436v-40c0-6.6-5.4-12-12-12H96c-17.7 0-32-14.3-32-32V160c0-17.7 14.3-32 32-32h84c6.6 0 12-5.4 12-12V76c0-6.6-5.4-12-12-12H96c-53 0-96 43-96 96v192c0 53 43 96 96 96h84c6.6 0 12-5.4 12-12z"></path></svg>

After

Width:  |  Height:  |  Size: 562 B

1
icon/star-yellow.svg Normal file
View File

@ -0,0 +1 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="star" class="svg-inline--fa fa-star fa-w-18" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path fill="#f8b000" d="M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z"></path></svg>

After

Width:  |  Height:  |  Size: 462 B

1
icon/star.svg Normal file
View File

@ -0,0 +1 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="star" class="svg-inline--fa fa-star fa-w-18" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path fill="#404040" d="M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z"></path></svg>

After

Width:  |  Height:  |  Size: 462 B

1
icon/step-forward.svg Normal file
View File

@ -0,0 +1 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="step-forward" class="svg-inline--fa fa-step-forward fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="#404040" d="M384 44v424c0 6.6-5.4 12-12 12h-48c-6.6 0-12-5.4-12-12V291.6l-195.5 181C95.9 489.7 64 475.4 64 448V64c0-27.4 31.9-41.7 52.5-24.6L312 219.3V44c0-6.6 5.4-12 12-12h48c6.6 0 12 5.4 12 12z"></path></svg>

After

Width:  |  Height:  |  Size: 405 B

View File

@ -243,7 +243,7 @@ void MFU_WriteBigMFUActions (struct MFU_ListMFUActions *ListMFUActions)
TabStr,MenuStr); TabStr,MenuStr);
/* Icon and text */ /* Icon and text */
fprintf (Gbl.F.Out,"<li>"); fprintf (Gbl.F.Out,"<li class=\"ICO_HIGHLIGHT\">");
Frm_StartForm (Action); Frm_StartForm (Action);
Frm_LinkFormSubmit (TabMenuStr,The_ClassFormNoWrap[Gbl.Prefs.Theme],NULL); Frm_LinkFormSubmit (TabMenuStr,The_ClassFormNoWrap[Gbl.Prefs.Theme],NULL);
fprintf (Gbl.F.Out,"<img src=\"%s/%s\" alt=\"%s\" />", fprintf (Gbl.F.Out,"<img src=\"%s/%s\" alt=\"%s\" />",
@ -306,7 +306,7 @@ void MFU_WriteSmallMFUActions (struct MFU_ListMFUActions *ListMFUActions)
TabStr,MenuStr); TabStr,MenuStr);
/* Icon and text */ /* Icon and text */
fprintf (Gbl.F.Out,"<li>"); fprintf (Gbl.F.Out,"<li class=\"ICO_HIGHLIGHT\">");
Frm_StartForm (Action); Frm_StartForm (Action);
Frm_LinkFormSubmit (TabMenuStr,NULL,NULL); Frm_LinkFormSubmit (TabMenuStr,NULL,NULL);
fprintf (Gbl.F.Out,"<img src=\"%s/%s\" alt=\"%s\" />", fprintf (Gbl.F.Out,"<img src=\"%s/%s\" alt=\"%s\" />",

View File

@ -181,8 +181,8 @@ static void Agd_ShowFormToSelPast__FutureEvents (void)
Agd_Past__FutureEvents_t PstFut; Agd_Past__FutureEvents_t PstFut;
static const char *Image[2] = static const char *Image[2] =
{ {
"past64x64.png", // Agd_PAST___EVENTS "calendar-minus.svg", // Agd_PAST___EVENTS
"future64x64.png", // Agd_FUTURE_EVENTS "calendar-plus.svg", // Agd_FUTURE_EVENTS
}; };
fprintf (Gbl.F.Out,"<div class=\"PREF_CONTAINER\">"); fprintf (Gbl.F.Out,"<div class=\"PREF_CONTAINER\">");
@ -201,7 +201,7 @@ static void Agd_ShowFormToSelPast__FutureEvents (void)
-1L); -1L);
fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/%s\"" fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/%s\""
" alt=\"%s\" title=\"%s\" class=\"ICO25x25\"" " alt=\"%s\" title=\"%s\" class=\"ICOx25\""
" style=\"margin:0 auto;\" />", " style=\"margin:0 auto;\" />",
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,
Image[PstFut], Image[PstFut],
@ -223,8 +223,8 @@ static void Agd_ShowFormToSelPrivatPublicEvents (void)
Agd_PrivatPublicEvents_t PrvPub; Agd_PrivatPublicEvents_t PrvPub;
static const char *Image[2] = static const char *Image[2] =
{ {
"lock-on64x64.png", // Agd_PRIVAT_EVENTS "lock.svg", // Agd_PRIVAT_EVENTS
"unlock-on64x64.png", // Agd_PUBLIC_EVENTS "lock-open.svg", // Agd_PUBLIC_EVENTS
}; };
fprintf (Gbl.F.Out,"<div class=\"PREF_CONTAINER\">"); fprintf (Gbl.F.Out,"<div class=\"PREF_CONTAINER\">");
@ -243,7 +243,7 @@ static void Agd_ShowFormToSelPrivatPublicEvents (void)
-1L); -1L);
fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/%s\"" fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/%s\""
" alt=\"%s\" title=\"%s\" class=\"ICO25x25\"" " alt=\"%s\" title=\"%s\" class=\"ICOx25\""
" style=\"margin:0 auto;\" />", " style=\"margin:0 auto;\" />",
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,
Image[PrvPub], Image[PrvPub],
@ -285,7 +285,7 @@ static void Agd_ShowFormToSelHiddenVisiblEvents (void)
-1L); -1L);
fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/%s\"" fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/%s\""
" alt=\"%s\" title=\"%s\" class=\"ICO25x25\"" " alt=\"%s\" title=\"%s\" class=\"ICOx25\""
" style=\"margin:0 auto;\" />", " style=\"margin:0 auto;\" />",
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,
Image[HidVis], Image[HidVis],
@ -866,12 +866,12 @@ static void Agd_PutFormsToRemEditOneEvent (struct AgendaEvent *AgdEvent)
/***** Put form to make event public/private *****/ /***** Put form to make event public/private *****/
if (AgdEvent->Public) if (AgdEvent->Public)
Lay_PutContextualLink (ActPrvEvtMyAgd,NULL,Agd_PutCurrentParamsMyAgenda, Lay_PutContextualLink (ActPrvEvtMyAgd,NULL,Agd_PutCurrentParamsMyAgenda,
"unlock-on64x64.png", "lock-open.svg",
Txt_Event_visible_to_the_users_of_your_courses_click_to_make_it_private,NULL, Txt_Event_visible_to_the_users_of_your_courses_click_to_make_it_private,NULL,
NULL); NULL);
else else
Lay_PutContextualLink (ActPubEvtMyAgd,NULL,Agd_PutCurrentParamsMyAgenda, Lay_PutContextualLink (ActPubEvtMyAgd,NULL,Agd_PutCurrentParamsMyAgenda,
"lock-on64x64.png", "lock.svg",
Txt_Event_private_click_to_make_it_visible_to_the_users_of_your_courses,NULL, Txt_Event_private_click_to_make_it_visible_to_the_users_of_your_courses,NULL,
NULL); NULL);
} }

View File

@ -50,7 +50,7 @@ static const char *Ale_AlertIcons[Ale_NUM_ALERT_TYPES] =
NULL, // Ale_NONE NULL, // Ale_NONE
"clipboard.svg", // Ale_CLIPBOARD "clipboard.svg", // Ale_CLIPBOARD
"info-circle.svg", // Ale_INFO "info-circle.svg", // Ale_INFO
"success64x64.png", // Ale_SUCCESS "check-circle.svg", // Ale_SUCCESS
"question64x64.gif", // Ale_QUESTION animated gif "question64x64.gif", // Ale_QUESTION animated gif
"warning64x64.gif", // Ale_WARNING animated gif "warning64x64.gif", // Ale_WARNING animated gif
"error64x64.gif", // Ale_ERROR animated gif "error64x64.gif", // Ale_ERROR animated gif

View File

@ -427,15 +427,15 @@ static void Asg_ShowOneAssignment (long AsgCod,bool PrintView)
if (!PrintView) if (!PrintView)
fprintf (Gbl.F.Out," COLOR%u",Gbl.RowEvenOdd); fprintf (Gbl.F.Out," COLOR%u",Gbl.RowEvenOdd);
fprintf (Gbl.F.Out,"\">" fprintf (Gbl.F.Out,"\">"
"<img src=\"%s/%s16x16.gif\"" "<img src=\"%s/file.svg\""
" alt=\"%s\" title=\"%s\" class=\"ICO20x20\" />" " alt=\"%s\" title=\"%s\" class=\"%sICO16x16\" />"
"<br />%s" "<br />%s"
"</td>", "</td>",
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,
(Asg.SendWork == Asg_SEND_WORK) ? "file_on" :
"file_off",
Txt_ASSIGNMENT_TYPES[Asg.SendWork], Txt_ASSIGNMENT_TYPES[Asg.SendWork],
Txt_ASSIGNMENT_TYPES[Asg.SendWork], Txt_ASSIGNMENT_TYPES[Asg.SendWork],
(Asg.SendWork == Asg_SEND_WORK) ? "" :
"ICO_HIDDEN ",
(Asg.SendWork == Asg_SEND_WORK) ? Txt_Yes : (Asg.SendWork == Asg_SEND_WORK) ? Txt_Yes :
Txt_No); Txt_No);

View File

@ -372,7 +372,7 @@ void Ban_PutIconToViewBanners (void)
extern const char *Txt_Banners; extern const char *Txt_Banners;
Lay_PutContextualLink (ActSeeBan,NULL,NULL, Lay_PutContextualLink (ActSeeBan,NULL,NULL,
"picture64x64.gif", "flag.svg",
Txt_Banners,NULL, Txt_Banners,NULL,
NULL); NULL);
} }
@ -416,7 +416,7 @@ static void Ban_ListBannersForEdition (void)
ActHidBan); ActHidBan);
Ban_PutParamBanCod (Ban->BanCod); Ban_PutParamBanCod (Ban->BanCod);
fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/%s\"" fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/%s\""
" alt=\"%s\" title=\"%s\" class=\"ICO20x20\" />", " alt=\"%s\" title=\"%s\" class=\"ICO_HIGHLIGHT ICO16x16\" />",
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,
Ban->Hidden ? "eye-slash.svg" : Ban->Hidden ? "eye-slash.svg" :
"eye.svg", "eye.svg",

View File

@ -89,7 +89,7 @@ void Cal_PutIconsToSelectFirstDayOfWeek (void)
Box_StartBox (NULL,Txt_Calendar,Cal_PutIconsFirstDayOfWeek, Box_StartBox (NULL,Txt_Calendar,Cal_PutIconsFirstDayOfWeek,
Hlp_PROFILE_Preferences_calendar,Box_NOT_CLOSABLE); Hlp_PROFILE_Preferences_calendar,Box_NOT_CLOSABLE);
Cal_ShowFormToSelFirstDayOfWeek (ActChg1stDay,NULL,"ICO25x25"); Cal_ShowFormToSelFirstDayOfWeek (ActChg1stDay,NULL,"ICOx25");
Box_EndBox (); Box_EndBox ();
} }
@ -128,7 +128,7 @@ void Cal_ShowFormToSelFirstDayOfWeek (Act_Action_t Action,void (*FuncParams) (),
Par_PutHiddenParamUnsigned ("FirstDayOfWeek",FirstDayOfWeek); Par_PutHiddenParamUnsigned ("FirstDayOfWeek",FirstDayOfWeek);
if (FuncParams) // Extra parameters depending on the action if (FuncParams) // Extra parameters depending on the action
FuncParams (); FuncParams ();
fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/first-day-of-week-%u-64x64.png\"" fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/first-day-of-week-%u.png\""
" alt=\"%s\" title=\"%s: %s\" class=\"%s\" />", " alt=\"%s\" title=\"%s: %s\" class=\"%s\" />",
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,
FirstDayOfWeek, FirstDayOfWeek,
@ -324,7 +324,7 @@ static void Cal_DrawCalendar (Act_Action_t ActionSeeCalendar,
/***** Draw several months *****/ /***** Draw several months *****/
/* Show form to change first day of week */ /* Show form to change first day of week */
if (!PrintView) if (!PrintView)
Cal_ShowFormToSelFirstDayOfWeek (ActionChangeCalendar1stDay,NULL,"ICO25x25"); Cal_ShowFormToSelFirstDayOfWeek (ActionChangeCalendar1stDay,NULL,"ICOx25");
/* JavaScript will write HTML here */ /* JavaScript will write HTML here */
fprintf (Gbl.F.Out,"<div id=\"calendar\">" fprintf (Gbl.F.Out,"<div id=\"calendar\">"
@ -378,7 +378,7 @@ static void Cal_PutIconToPrintCalendarIns (void)
if (Gbl.Hlds.Num || // There are holidays if (Gbl.Hlds.Num || // There are holidays
Gbl.Usrs.Me.Role.Logged >= Rol_INS_ADM) // Institution admin or system admin Gbl.Usrs.Me.Role.Logged >= Rol_INS_ADM) // Institution admin or system admin
Lay_PutContextualLink (ActSeeHld,NULL,NULL, Lay_PutContextualLink (ActSeeHld,NULL,NULL,
"holiday64x64.png", "holiday.png",
Txt_Holidays,NULL, Txt_Holidays,NULL,
NULL); NULL);
} }

View File

@ -251,7 +251,7 @@ void Ctr_DrawCentreLogoAndNameWithLink (struct Centre *Ctr,Act_Action_t Action,
Frm_LinkFormSubmit (Gbl.Title,ClassLink,NULL); Frm_LinkFormSubmit (Gbl.Title,ClassLink,NULL);
/***** Draw centre logo *****/ /***** Draw centre logo *****/
Log_DrawLogo (Sco_SCOPE_CTR,Ctr->CtrCod,Ctr->ShrtName,20,ClassLogo,true); Log_DrawLogo (Sco_SCOPE_CTR,Ctr->CtrCod,Ctr->ShrtName,16,ClassLogo,true);
/***** End link *****/ /***** End link *****/
fprintf (Gbl.F.Out,"&nbsp;%s</a>",Ctr->FullName); fprintf (Gbl.F.Out,"&nbsp;%s</a>",Ctr->FullName);

View File

@ -369,11 +369,52 @@ En OpenSWAD:
ps2pdf source.ps destination.pdf ps2pdf source.ps destination.pdf
*/ */
#define Log_PLATFORM_VERSION "SWAD 18.30.3 (2019-01-10)" #define Log_PLATFORM_VERSION "SWAD 18.31 (2019-01-11)"
#define CSS_FILE "swad18.30.css" #define CSS_FILE "swad18.31.css"
#define JS_FILE "swad17.17.1.js" #define JS_FILE "swad17.17.1.js"
/* /*
Version 18.30.3: Jan 09, 2019 Some new SVG icons. Version 18.31: Jan 11, 2019 Some new SVG icons.
Fixed bug in messages. (239545 lines)
Copy the following icons to icon public directory:
sudo cp icon/envelope-open-text.svg /var/www/html/swad/icon/
sudo cp icon/cut.svg /var/www/html/swad/icon/
sudo cp icon/reply.svg /var/www/html/swad/icon/
sudo cp icon/share.svg /var/www/html/swad/icon/
sudo cp icon/envelope-red.svg /var/www/html/swad/icon/
sudo cp icon/envelope-open-text-red.svg /var/www/html/swad/icon/
sudo cp icon/share-red.svg /var/www/html/swad/icon/
sudo cp icon/edit.svg /var/www/html/swad/icon/
sudo cp icon/star.svg /var/www/html/swad/icon/
sudo cp icon/share-alt.svg /var/www/html/swad/icon/
sudo cp icon/sign-out-alt-red.svg /var/www/html/swad/icon/
sudo cp icon/sign-in-alt-green.svg /var/www/html/swad/icon/
sudo cp icon/key.svg /var/www/html/swad/icon/
sudo cp icon/calendar-minus.svg /var/www/html/swad/icon/
sudo cp icon/calendar-plus.svg /var/www/html/swad/icon/
sudo cp icon/lock.svg /var/www/html/swad/icon/
sudo cp icon/lock-open.svg /var/www/html/swad/icon/
sudo cp icon/first-day-of-week-0.png /var/www/html/swad/icon/
sudo cp icon/first-day-of-week-6.png /var/www/html/swad/icon/
sudo cp icon/check-circle.svg /var/www/html/swad/icon/
sudo cp icon/rss-square.svg /var/www/html/swad/icon/
sudo cp icon/flag.svg /var/www/html/swad/icon/
sudo cp icon/link.svg /var/www/html/swad/icon/
sudo cp icon/shield-alt.svg /var/www/html/swad/icon/
sudo cp icon/holiday.png /var/www/html/swad/icon/
sudo cp icon/exclamation-triangle.svg /var/www/html/swad/icon/
sudo cp icon/recycle.svg /var/www/html/swad/icon/
sudo cp icon/play.svg /var/www/html/swad/icon/
sudo cp icon/step-forward.svg /var/www/html/swad/icon/
sudo cp icon/folder-open-green.svg /var/www/html/swad/icon/
sudo cp icon/folder-red.svg /var/www/html/swad/icon/
sudo cp icon/angle-up.svg /var/www/html/swad/icon/
sudo cp icon/angle-down.svg /var/www/html/swad/icon/
sudo cp icon/share-alt-green.svg /var/www/html/swad/icon/
sudo cp icon/star-yellow.svg /var/www/html/swad/icon/
sudo cp icon/file-import.svg /var/www/html/swad/icon/
sudo cp icon/file-export.svg /var/www/html/swad/icon/
Version 18.30.3: Jan 10, 2019 Some new SVG icons.
Code refactoring in icons to add. (239466 lines) Code refactoring in icons to add. (239466 lines)
Copy the following icons to icon public directory: Copy the following icons to icon public directory:
sudo cp icon/info-circle.svg /var/www/html/swad/icon/ sudo cp icon/info-circle.svg /var/www/html/swad/icon/

View File

@ -133,9 +133,9 @@ void Cht_ShowListOfAvailableChatRooms (void)
/***** Title of top level *****/ /***** Title of top level *****/
fprintf (Gbl.F.Out,"<li class=\"DAT\" style=\"height:25px;\">" fprintf (Gbl.F.Out,"<li class=\"DAT\" style=\"height:25px;\">"
"<img src=\"%s/chat64x64.gif\"" "<img src=\"%s/comments.svg\""
" alt=\"%s\" title=\"%s\"" " alt=\"%s\" title=\"%s\""
" class=\"ICO20x20\" />" " class=\"ICO16x16\" />"
" %s" " %s"
"</li>", "</li>",
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,
@ -150,9 +150,9 @@ void Cht_ShowListOfAvailableChatRooms (void)
"%s (%s)", "%s (%s)",
Txt_General,Txt_SEX_PLURAL_abc[Usr_SEX_ALL]); Txt_General,Txt_SEX_PLURAL_abc[Usr_SEX_ALL]);
Cht_WriteLinkToChat1 ("GBL_USR",Txt_SEX_PLURAL_Abc[Usr_SEX_ALL],ThisRoomFullName,1,IsLastItemInLevel); Cht_WriteLinkToChat1 ("GBL_USR",Txt_SEX_PLURAL_Abc[Usr_SEX_ALL],ThisRoomFullName,1,IsLastItemInLevel);
fprintf (Gbl.F.Out,"<img src=\"%s/chat64x64.gif\"" fprintf (Gbl.F.Out,"<img src=\"%s/comments.svg\""
" alt=\"%s\" title=\"%s\"" " alt=\"%s\" title=\"%s\""
" class=\"ICO20x20\" />", " class=\"ICO16x16\" />",
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,
ThisRoomFullName, ThisRoomFullName,
ThisRoomFullName); ThisRoomFullName);
@ -166,9 +166,9 @@ void Cht_ShowListOfAvailableChatRooms (void)
"%s (%s)", "%s (%s)",
Txt_General,Txt_ROLES_PLURAL_abc[Rol_STD][Usr_SEX_ALL]); Txt_General,Txt_ROLES_PLURAL_abc[Rol_STD][Usr_SEX_ALL]);
Cht_WriteLinkToChat1 ("GBL_STD",Txt_ROLES_PLURAL_BRIEF_Abc[Rol_STD],ThisRoomFullName,1,IsLastItemInLevel); Cht_WriteLinkToChat1 ("GBL_STD",Txt_ROLES_PLURAL_BRIEF_Abc[Rol_STD],ThisRoomFullName,1,IsLastItemInLevel);
fprintf (Gbl.F.Out,"<img src=\"%s/chat64x64.gif\"" fprintf (Gbl.F.Out,"<img src=\"%s/comments.svg\""
" alt=\"%s\" title=\"%s\"" " alt=\"%s\" title=\"%s\""
" class=\"ICO20x20\" />", " class=\"ICO16x16\" />",
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,
ThisRoomFullName,ThisRoomFullName); ThisRoomFullName,ThisRoomFullName);
Cht_WriteLinkToChat2 ("GBL_STD",ThisRoomFullName); Cht_WriteLinkToChat2 ("GBL_STD",ThisRoomFullName);
@ -179,9 +179,9 @@ void Cht_ShowListOfAvailableChatRooms (void)
"%s (%s)", "%s (%s)",
Txt_General,Txt_ROLES_PLURAL_abc[Rol_TCH][Usr_SEX_ALL]); Txt_General,Txt_ROLES_PLURAL_abc[Rol_TCH][Usr_SEX_ALL]);
Cht_WriteLinkToChat1 ("GBL_TCH",Txt_ROLES_PLURAL_BRIEF_Abc[Rol_TCH],ThisRoomFullName,1,IsLastItemInLevel); Cht_WriteLinkToChat1 ("GBL_TCH",Txt_ROLES_PLURAL_BRIEF_Abc[Rol_TCH],ThisRoomFullName,1,IsLastItemInLevel);
fprintf (Gbl.F.Out,"<img src=\"%s/chat64x64.gif\"" fprintf (Gbl.F.Out,"<img src=\"%s/comments.svg\""
" alt=\"%s\" title=\"%s\"" " alt=\"%s\" title=\"%s\""
" class=\"ICO20x20\" />", " class=\"ICO16x16\" />",
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,
ThisRoomFullName,ThisRoomFullName); ThisRoomFullName,ThisRoomFullName);
Cht_WriteLinkToChat2 ("GBL_TCH",ThisRoomFullName); Cht_WriteLinkToChat2 ("GBL_TCH",ThisRoomFullName);
@ -212,7 +212,7 @@ void Cht_ShowListOfAvailableChatRooms (void)
"%s %s", "%s %s",
Txt_Degree,Deg.ShrtName); Txt_Degree,Deg.ShrtName);
Cht_WriteLinkToChat1 (ThisRoomCode,ThisRoomShrtName,ThisRoomFullName,1,IsLastItemInLevel); Cht_WriteLinkToChat1 (ThisRoomCode,ThisRoomShrtName,ThisRoomFullName,1,IsLastItemInLevel);
Log_DrawLogo (Sco_SCOPE_DEG,Deg.DegCod,Deg.ShrtName,20,NULL,true); Log_DrawLogo (Sco_SCOPE_DEG,Deg.DegCod,Deg.ShrtName,16,NULL,true);
Cht_WriteLinkToChat2 (ThisRoomCode,ThisRoomFullName); Cht_WriteLinkToChat2 (ThisRoomCode,ThisRoomFullName);
/* Get my courses in this degree from database */ /* Get my courses in this degree from database */
@ -242,9 +242,9 @@ void Cht_ShowListOfAvailableChatRooms (void)
"%s %s", "%s %s",
Txt_Course,Crs.ShrtName); Txt_Course,Crs.ShrtName);
Cht_WriteLinkToChat1 (ThisRoomCode,ThisRoomShrtName,ThisRoomFullName,2,IsLastItemInLevel); Cht_WriteLinkToChat1 (ThisRoomCode,ThisRoomShrtName,ThisRoomFullName,2,IsLastItemInLevel);
fprintf (Gbl.F.Out,"<img src=\"%s/dot64x64.png\"" fprintf (Gbl.F.Out,"<img src=\"%s/list-ol.svg\""
" alt=\"%s\" title=\"%s\"" " alt=\"%s\" title=\"%s\""
" class=\"ICO20x20\" />", " class=\"ICO16x16\" />",
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,
ThisRoomFullName,ThisRoomFullName); ThisRoomFullName,ThisRoomFullName);
Cht_WriteLinkToChat2 (ThisRoomCode,ThisRoomFullName); Cht_WriteLinkToChat2 (ThisRoomCode,ThisRoomFullName);

View File

@ -459,11 +459,11 @@ static void Crs_Configuration (bool PrintView)
Frm_LinkFormSubmit (Gbl.Title,"DAT",NULL); Frm_LinkFormSubmit (Gbl.Title,"DAT",NULL);
fprintf (Gbl.F.Out,"%s " fprintf (Gbl.F.Out,"%s "
"<img src=\"%s/%s\" alt=\"%s\"" "<img src=\"%s/%s\" alt=\"%s\""
" class=\"ICO20x20\" />", " class=\"ICO16x16\" />",
Gbl.Title, Gbl.Title,
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,
(Indicators.NumIndicators == Ind_NUM_INDICATORS) ? "ok_green16x16.gif" : (Indicators.NumIndicators == Ind_NUM_INDICATORS) ? "check-circle.svg" :
"warning64x64.png", "exclamation-triangle.svg",
Gbl.Title); Gbl.Title);
Frm_EndForm (); Frm_EndForm ();
fprintf (Gbl.F.Out,"</td>" fprintf (Gbl.F.Out,"</td>"
@ -748,9 +748,9 @@ static void Crs_WriteListMyCoursesToSelectOne (void)
Frm_LinkFormSubmit (Gbl.Title, Frm_LinkFormSubmit (Gbl.Title,
Highlight ? ClassHighlight : Highlight ? ClassHighlight :
ClassNormal,NULL); ClassNormal,NULL);
fprintf (Gbl.F.Out,"<img src=\"%s/dot64x64.png\"" fprintf (Gbl.F.Out,"<img src=\"%s/list-ol.svg\""
" alt=\"%s\" title=\"%s\"" " alt=\"%s\" title=\"%s\""
" class=\"ICO20x20\" />" " class=\"ICO16x16\" />"
"&nbsp;%s" "&nbsp;%s"
"</a>", "</a>",
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,
@ -1261,7 +1261,7 @@ static bool Crs_ListCoursesOfAYearForSeeing (unsigned Year)
"<td class=\"CENTER_MIDDLE %s\">" "<td class=\"CENTER_MIDDLE %s\">"
"<img src=\"%s/%s16x16.gif\"" "<img src=\"%s/%s16x16.gif\""
" alt=\"%s\" title=\"%s\"" " alt=\"%s\" title=\"%s\""
" class=\"ICO20x20\" />" " class=\"ICO16x16\" />"
"</td>", "</td>",
BgColor, BgColor,
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,

View File

@ -254,7 +254,7 @@ void Deg_DrawDegreeLogoAndNameWithLink (struct Degree *Deg,Act_Action_t Action,
Frm_LinkFormSubmit (Gbl.Title,ClassLink,NULL); Frm_LinkFormSubmit (Gbl.Title,ClassLink,NULL);
/***** Draw degree logo *****/ /***** Draw degree logo *****/
Log_DrawLogo (Sco_SCOPE_DEG,Deg->DegCod,Deg->ShrtName,20,ClassLogo,true); Log_DrawLogo (Sco_SCOPE_DEG,Deg->DegCod,Deg->ShrtName,16,ClassLogo,true);
/***** End link *****/ /***** End link *****/
fprintf (Gbl.F.Out,"&nbsp;%s</a>",Deg->FullName); fprintf (Gbl.F.Out,"&nbsp;%s</a>",Deg->FullName);
@ -1295,7 +1295,7 @@ static void Deg_ListOneDegreeForSeeing (struct Degree *Deg,unsigned NumDeg)
"<td class=\"CENTER_MIDDLE %s\">" "<td class=\"CENTER_MIDDLE %s\">"
"<img src=\"%s/%s16x16.gif\"" "<img src=\"%s/%s16x16.gif\""
" alt=\"%s\" title=\"%s\"" " alt=\"%s\" title=\"%s\""
" class=\"ICO20x20\" />" " class=\"ICO16x16\" />"
"</td>", "</td>",
BgColor, BgColor,
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,
@ -2516,9 +2516,9 @@ void Hie_GetAndWriteInsCtrDegAdminBy (long UsrCod,unsigned ColSpan)
switch (Sco_GetScopeFromUnsignedStr (row[0])) switch (Sco_GetScopeFromUnsignedStr (row[0]))
{ {
case Sco_SCOPE_SYS: // System case Sco_SCOPE_SYS: // System
fprintf (Gbl.F.Out,"<img src=\"%s/swad64x64.gif\"" fprintf (Gbl.F.Out,"<img src=\"%s/swad64x64.png\""
" alt=\"%s\" title=\"%s\"" " alt=\"%s\" title=\"%s\""
" class=\"ICO20x20\" />" " class=\"ICO16x16\" />"
"&nbsp;%s", "&nbsp;%s",
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,
Txt_all_degrees, Txt_all_degrees,

View File

@ -6587,9 +6587,9 @@ static void Brw_WriteFileName (unsigned Level,bool IsPublic,
/* Put icon to make public/private file */ /* Put icon to make public/private file */
if (IsPublic) if (IsPublic)
fprintf (Gbl.F.Out,"&nbsp;<img src=\"%s/unlock-on64x64.png\"" fprintf (Gbl.F.Out,"&nbsp;<img src=\"%s/lock-open.svg\""
" alt=\"%s\" title=\"%s\"" " alt=\"%s\" title=\"%s\""
" class=\"ICO20x20\" />", " class=\"ICO16x16\" />",
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,
Txt_Public_open_educational_resource_OER_for_everyone, Txt_Public_open_educational_resource_OER_for_everyone,
Txt_Public_open_educational_resource_OER_for_everyone); Txt_Public_open_educational_resource_OER_for_everyone);

View File

@ -1182,15 +1182,15 @@ static void For_ShowAForumPost (unsigned PstNum,long PstCod,
/***** Put an icon with post status *****/ /***** Put an icon with post status *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"
"<td class=\"CONTEXT_COL %s\">" "<td class=\"CONTEXT_COL %s\">"
"<img src=\"%s/%s16x16.gif\"" "<img src=\"%s/%s\""
" alt=\"%s\" title=\"%s\"" " alt=\"%s\" title=\"%s\""
" class=\"ICO20x20\" />" " class=\"ICO16x16\" />"
"</td>", "</td>",
NewPst ? "MSG_TIT_BG_NEW" : NewPst ? "MSG_TIT_BG_NEW" :
"MSG_TIT_BG", "MSG_TIT_BG",
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,
NewPst ? "msg-unread" : NewPst ? "envelope.svg" :
"msg-open", "envelope-open-text.svg",
NewPst ? Txt_MSG_New : NewPst ? Txt_MSG_New :
Txt_MSG_Open, Txt_MSG_Open,
NewPst ? Txt_MSG_New : NewPst ? Txt_MSG_New :
@ -1239,12 +1239,12 @@ static void For_ShowAForumPost (unsigned PstNum,long PstCod,
Enabled ? Txt_Post_X_allowed_Click_to_ban_it : Enabled ? Txt_Post_X_allowed_Click_to_ban_it :
Txt_Post_X_banned_Click_to_unban_it, Txt_Post_X_banned_Click_to_unban_it,
PstNum); PstNum);
fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/%s-on64x64.png\"" fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/%s\""
" alt=\"%s\" title=\"%s\"" " alt=\"%s\" title=\"%s\""
" class=\"ICO20x20\" />", " class=\"ICO16x16\" />",
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,
Enabled ? "eye" : Enabled ? "eye.svg" :
"eye-slash", "eye-slash.svg",
Gbl.Title, Gbl.Title,
Gbl.Title); Gbl.Title);
Frm_EndForm (); Frm_EndForm ();
@ -1256,14 +1256,14 @@ static void For_ShowAForumPost (unsigned PstNum,long PstCod,
Txt_Post_X_banned, Txt_Post_X_banned,
PstNum); PstNum);
fprintf (Gbl.F.Out,"<span title=\"%s\">" fprintf (Gbl.F.Out,"<span title=\"%s\">"
"<img src=\"%s/%s-off64x64.png\"" "<img src=\"%s/%s\""
" alt=\"%s\" title=\"%s\"" " alt=\"%s\" title=\"%s\""
" class=\"ICO20x20\" />" " class=\"ICO_HIDDEN ICO16x16\" />"
"</span>", "</span>",
Gbl.Title, Gbl.Title,
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,
Enabled ? "eye" : Enabled ? "eye.svg" :
"eye-slash", "eye-slash.svg",
Gbl.Title, Gbl.Title,
Gbl.Title); Gbl.Title);
} }
@ -2039,7 +2039,6 @@ static void For_WriteLinkToForum (struct Forum *Forum,
extern const char *The_ClassForm[The_NUM_THEMES]; extern const char *The_ClassForm[The_NUM_THEMES];
extern const char *The_ClassFormBold[The_NUM_THEMES]; extern const char *The_ClassFormBold[The_NUM_THEMES];
extern const char *Txt_Copy_not_allowed; extern const char *Txt_Copy_not_allowed;
extern const char *Txt_Paste_thread;
unsigned NumThrs; unsigned NumThrs;
unsigned NumThrsWithNewPosts; unsigned NumThrsWithNewPosts;
unsigned NumPosts; unsigned NumPosts;
@ -2067,9 +2066,9 @@ static void For_WriteLinkToForum (struct Forum *Forum,
{ {
/* Check if thread to move is yet in current forum */ /* Check if thread to move is yet in current forum */
if (For_CheckIfThrBelongsToForum (Gbl.Forum.ThreadToMove,Forum)) if (For_CheckIfThrBelongsToForum (Gbl.Forum.ThreadToMove,Forum))
fprintf (Gbl.F.Out,"<img src=\"%s/paste_off16x16.gif\"" fprintf (Gbl.F.Out,"<img src=\"%s/paste.svg\""
" alt=\"%s\" title=\"%s\"" " alt=\"%s\" title=\"%s\""
" class=\"ICO20x20\" />", " class=\"CONTEXT_OPT ICO_HIDDEN ICO16x16\" />",
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,
Txt_Copy_not_allowed,Txt_Copy_not_allowed); Txt_Copy_not_allowed,Txt_Copy_not_allowed);
else else
@ -2083,12 +2082,7 @@ static void For_WriteLinkToForum (struct Forum *Forum,
Forum->Location, Forum->Location,
Gbl.Forum.ThreadToMove, Gbl.Forum.ThreadToMove,
-1L); -1L);
fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/paste_on16x16.gif\"" Ico_PutIconPaste ();
" alt=\"%s\" title=\"%s\""
" class=\"ICO20x20\" />",
Gbl.Prefs.URLIcons,
Txt_Paste_thread,
Txt_Paste_thread);
Frm_EndForm (); Frm_EndForm ();
} }
} }
@ -2117,7 +2111,7 @@ static void For_WriteLinkToForum (struct Forum *Forum,
break; break;
case For_FORUM__SWAD__USRS: case For_FORUM__SWAD__USRS:
case For_FORUM__SWAD__TCHS: case For_FORUM__SWAD__TCHS:
fprintf (Gbl.F.Out,"<img src=\"%s/swad64x64.gif\"" fprintf (Gbl.F.Out,"<img src=\"%s/swad64x64.png\""
" alt=\"%s\" title=\"%s\"" " alt=\"%s\" title=\"%s\""
" class=\"ICO16x16\" />", " class=\"ICO16x16\" />",
Gbl.Prefs.URLIcons,ForumName,ForumName); Gbl.Prefs.URLIcons,ForumName,ForumName);
@ -2136,7 +2130,7 @@ static void For_WriteLinkToForum (struct Forum *Forum,
break; break;
case For_FORUM_COURSE_USRS: case For_FORUM_COURSE_USRS:
case For_FORUM_COURSE_TCHS: case For_FORUM_COURSE_TCHS:
fprintf (Gbl.F.Out,"<img src=\"%s/dot64x64.png\"" fprintf (Gbl.F.Out,"<img src=\"%s/list-ol.svg\""
" alt=\"%s\" title=\"%s\"" " alt=\"%s\" title=\"%s\""
" class=\"ICO16x16\" />", " class=\"ICO16x16\" />",
Gbl.Prefs.URLIcons,ForumName,ForumName); Gbl.Prefs.URLIcons,ForumName,ForumName);
@ -3379,7 +3373,6 @@ static void For_ListForumThrs (long ThrCods[Pag_ITEMS_PER_PAGE],
extern const char *Txt_Thread_with_posts_from_you; extern const char *Txt_Thread_with_posts_from_you;
extern const char *Txt_There_are_new_posts; extern const char *Txt_There_are_new_posts;
extern const char *Txt_No_new_posts; extern const char *Txt_No_new_posts;
extern const char *Txt_Move_thread;
extern const char *Txt_Today; extern const char *Txt_Today;
unsigned NumThr; unsigned NumThr;
unsigned NumThrInScreen; // From 0 to Pag_ITEMS_PER_PAGE-1 unsigned NumThrInScreen; // From 0 to Pag_ITEMS_PER_PAGE-1
@ -3441,13 +3434,13 @@ static void For_ListForumThrs (long ThrCods[Pag_ITEMS_PER_PAGE],
/***** Put an icon with thread status *****/ /***** Put an icon with thread status *****/
fprintf (Gbl.F.Out,"<td class=\"CONTEXT_COL %s\">" fprintf (Gbl.F.Out,"<td class=\"CONTEXT_COL %s\">"
"<img src=\"%s/%s16x16.gif\"" "<img src=\"%s/%s\""
" alt=\"%s\" title=\"%s\"" " alt=\"%s\" title=\"%s\""
" class=\"ICO20x20\" />", " class=\"ICO16x16\" />",
BgColor, BgColor,
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,
Thr.NumUnreadPosts ? "msg-unread" : Thr.NumUnreadPosts ? "envelope.svg" :
"msg-open", "envelope-open-text.svg",
Thr.NumUnreadPosts ? Txt_There_are_new_posts : Thr.NumUnreadPosts ? Txt_There_are_new_posts :
Txt_No_new_posts, Txt_No_new_posts,
Thr.NumUnreadPosts ? Txt_There_are_new_posts : Thr.NumUnreadPosts ? Txt_There_are_new_posts :
@ -3484,12 +3477,7 @@ static void For_ListForumThrs (long ThrCods[Pag_ITEMS_PER_PAGE],
Gbl.Forum.ForumSelected.Location, Gbl.Forum.ForumSelected.Location,
Thr.ThrCod, Thr.ThrCod,
-1L); -1L);
fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/cut16x16.gif\"" Ico_PutIconCut ();
" alt=\"%s\" title=\"%s\""
" class=\"ICO20x20\" />",
Gbl.Prefs.URLIcons,
Txt_Move_thread,
Txt_Move_thread);
Frm_EndForm (); Frm_EndForm ();
} }

View File

@ -825,7 +825,7 @@ static void Gam_PutFormsToRemEditOneGame (long GamCod,bool Visible,
/***** Put icon to reset game *****/ /***** Put icon to reset game *****/
Lay_PutContextualLink (ActReqRstGam,NULL,Gam_PutParams, Lay_PutContextualLink (ActReqRstGam,NULL,Gam_PutParams,
"recycle64x64.png", "recycle.svg",
Txt_Reset,NULL, Txt_Reset,NULL,
NULL); NULL);
@ -841,13 +841,13 @@ static void Gam_PutFormsToRemEditOneGame (long GamCod,bool Visible,
if (ShowOnlyThisGame) if (ShowOnlyThisGame)
/***** Put icon to show first question *****/ /***** Put icon to show first question *****/
Lay_PutContextualLink (ActPlyGam1stQst,NULL,Gam_PutParamsToPlayGame1stQst, Lay_PutContextualLink (ActPlyGam1stQst,NULL,Gam_PutParamsToPlayGame1stQst,
"play64x64.png", "play.svg",
Txt_Play,NULL, Txt_Play,NULL,
NULL); NULL);
else else
/***** Put icon to play game *****/ /***** Put icon to play game *****/
Lay_PutContextualLink (ActPlyGam,NULL,Gam_PutParams, Lay_PutContextualLink (ActPlyGam,NULL,Gam_PutParams,
"play64x64.png", "play.svg",
Txt_Play,NULL, Txt_Play,NULL,
NULL); NULL);
} }
@ -2902,12 +2902,12 @@ static void Gam_ListOneOrMoreQuestionsForEdition (struct Game *Game,
Txt_Move_up_X, Txt_Move_up_X,
StrNumQst); StrNumQst);
Lay_PutContextualLink (ActUp_GamQst,NULL,Gam_PutParamsOneQst, Lay_PutContextualLink (ActUp_GamQst,NULL,Gam_PutParamsOneQst,
"up_on16x16.gif", "arrow-up.svg",
Gbl.Title,NULL, Gbl.Title,NULL,
NULL); NULL);
} }
else else
Ico_PutIconOff ("up_off16x16.gif",Txt_Movement_not_allowed); Ico_PutIconOff ("arrow-up.svg",Txt_Movement_not_allowed);
/* Put icon to move down the question */ /* Put icon to move down the question */
if (NumQst + 1 < NumQsts) if (NumQst + 1 < NumQsts)
@ -2916,12 +2916,12 @@ static void Gam_ListOneOrMoreQuestionsForEdition (struct Game *Game,
Txt_Move_down_X, Txt_Move_down_X,
StrNumQst); StrNumQst);
Lay_PutContextualLink (ActDwnGamQst,NULL,Gam_PutParamsOneQst, Lay_PutContextualLink (ActDwnGamQst,NULL,Gam_PutParamsOneQst,
"down_on16x16.gif", "arrow-down.svg",
Gbl.Title,NULL, Gbl.Title,NULL,
NULL); NULL);
} }
else else
Ico_PutIconOff ("down_off16x16.gif",Txt_Movement_not_allowed); Ico_PutIconOff ("arrow-down.svg",Txt_Movement_not_allowed);
/* Put icon to edit the question */ /* Put icon to edit the question */
Gbl.Test.QstCod = QstCod; Gbl.Test.QstCod = QstCod;
@ -3509,7 +3509,8 @@ static void Gam_PutBigButtonToStartGame (long GamCod)
/***** Put icon with link *****/ /***** Put icon with link *****/
Frm_LinkFormSubmit (Txt_Play,NULL,NULL); Frm_LinkFormSubmit (Txt_Play,NULL,NULL);
fprintf (Gbl.F.Out,"<img src=\"%s/play64x64.png\" alt=\"%s\" title=\"%s\"" fprintf (Gbl.F.Out,"<img src=\"%s/play.svg\""
" alt=\"%s\" title=\"%s\""
" class=\"CONTEXT_OPT ICO_HIGHLIGHT ICO64x64\" />", " class=\"CONTEXT_OPT ICO_HIGHLIGHT ICO64x64\" />",
Gbl.Prefs.URLIcons,Txt_Play,Txt_Play); Gbl.Prefs.URLIcons,Txt_Play,Txt_Play);
fprintf (Gbl.F.Out,"</a>"); fprintf (Gbl.F.Out,"</a>");
@ -3656,7 +3657,7 @@ static void Gam_PutBigButtonToContinue (Act_Action_t NextAction,
/***** Put icon with link *****/ /***** Put icon with link *****/
Frm_LinkFormSubmit (Txt_Continue,"GAM_PLAY_CONTINUE ICO_HIGHLIGHT",NULL); Frm_LinkFormSubmit (Txt_Continue,"GAM_PLAY_CONTINUE ICO_HIGHLIGHT",NULL);
fprintf (Gbl.F.Out,"<img src=\"%s/step-forward64x64.png\"" fprintf (Gbl.F.Out,"<img src=\"%s/step-forward.svg\""
" alt=\"%s\" title=\"%s\" class=\"ICO64x64\" />" " alt=\"%s\" title=\"%s\" class=\"ICO64x64\" />"
"<br />" "<br />"
"%s", "%s",

View File

@ -1545,12 +1545,12 @@ static void Grp_ListGroupsForEdition (void)
Grp->Open ? Txt_Group_X_open_click_to_close_it : Grp->Open ? Txt_Group_X_open_click_to_close_it :
Txt_Group_X_closed_click_to_open_it, Txt_Group_X_closed_click_to_open_it,
Grp->GrpName); Grp->GrpName);
fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/%s-on64x64.png\"" fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/%s\""
" alt=\"%s\" title=\"%s\"" " alt=\"%s\" title=\"%s\""
" class=\"ICO20x20\" />", " class=\"ICOx16\" />",
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,
Grp->Open ? "unlock" : Grp->Open ? "lock-open.svg" :
"lock", "lock.svg",
Gbl.Title, Gbl.Title,
Gbl.Title); Gbl.Title);
Frm_EndForm (); Frm_EndForm ();
@ -1566,12 +1566,12 @@ static void Grp_ListGroupsForEdition (void)
Grp->FileZones ? Txt_File_zones_of_the_group_X_enabled_click_to_disable_them : Grp->FileZones ? Txt_File_zones_of_the_group_X_enabled_click_to_disable_them :
Txt_File_zones_of_the_group_X_disabled_click_to_enable_them, Txt_File_zones_of_the_group_X_disabled_click_to_enable_them,
Grp->GrpName); Grp->GrpName);
fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/%s16x16.gif\"" fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/%s\""
" alt=\"%s\" title=\"%s\"" " alt=\"%s\" title=\"%s\""
" class=\"ICO20x20\" />", " class=\"ICOx16\" />",
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,
Grp->FileZones ? "folder-yes" : Grp->FileZones ? "folder-open-green.svg" :
"folder-no", "folder-red.svg",
Gbl.Title, Gbl.Title,
Gbl.Title); Gbl.Title);
Frm_EndForm (); Frm_EndForm ();
@ -2467,14 +2467,14 @@ static void Grp_WriteRowGrp (struct Group *Grp,bool Highlight)
fprintf (Gbl.F.Out,"<td class=\"LEFT_MIDDLE"); fprintf (Gbl.F.Out,"<td class=\"LEFT_MIDDLE");
if (Highlight) if (Highlight)
fprintf (Gbl.F.Out," LIGHT_BLUE"); fprintf (Gbl.F.Out," LIGHT_BLUE");
fprintf (Gbl.F.Out,"\" style=\"width:15px;\">" fprintf (Gbl.F.Out,"\" style=\"width:20px;\">"
"<img src=\"%s/%s-off64x64.png\"" "<img src=\"%s/%s\""
" alt=\"%s\" title=\"%s\"" " alt=\"%s\" title=\"%s\""
" class=\"ICO20x20\" />" " class=\"ICO_HIDDEN ICOx16\" />"
"</td>", "</td>",
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,
Grp->Open ? "unlock" : Grp->Open ? "lock-open.svg" :
"lock", "lock.svg",
Gbl.Title,Gbl.Title); Gbl.Title,Gbl.Title);
/***** Group name *****/ /***** Group name *****/
@ -2612,7 +2612,7 @@ static void Grp_PutFormToCreateGroupType (void)
fprintf (Gbl.F.Out,"<td class=\"LEFT_MIDDLE\">"); fprintf (Gbl.F.Out,"<td class=\"LEFT_MIDDLE\">");
Tbl_StartTable (2); Tbl_StartTable (2);
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"
"<td class=\"LEFT_MIDDLE\" style=\"width:16px;\">" "<td class=\"LEFT_MIDDLE\" style=\"width:20px;\">"
"<img src=\"%s/clock.svg\"" "<img src=\"%s/clock.svg\""
" alt=\"%s\" title=\"%s\"" " alt=\"%s\" title=\"%s\""
" class=\"%sICO16x16\" />" " class=\"%sICO16x16\" />"
@ -2683,14 +2683,14 @@ static void Grp_PutFormToCreateGroup (void)
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"
"<td class=\"BM\"></td>" "<td class=\"BM\"></td>"
"<td class=\"BM\">" "<td class=\"BM\">"
"<img src=\"%s/lock-off64x64.png\"" "<img src=\"%s/lock.svg\""
" alt=\"%s\" title=\"%s\"" " alt=\"%s\" title=\"%s\""
" class=\"ICO20x20\" />" " class=\"ICO_HIDDEN ICOx16\" />"
"</td>" "</td>"
"<td class=\"BM\">" "<td class=\"BM\">"
"<img src=\"%s/folder-no_off16x16.gif\"" "<img src=\"%s/folder-red.svg\""
" alt=\"%s\" title=\"%s\"" " alt=\"%s\" title=\"%s\""
" class=\"ICO20x20\" />" " class=\"ICO_HIDDEN ICOx16\" />"
"</td>", "</td>",
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,
Txt_Group_closed, Txt_Group_closed,
@ -5096,7 +5096,7 @@ void Grp_ShowFormToSelWhichGrps (Act_Action_t Action,void (*FuncParams) ())
if (FuncParams) // Extra parameters depending on the action if (FuncParams) // Extra parameters depending on the action
FuncParams (); FuncParams ();
fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/%s\"" fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/%s\""
" alt=\"%s\" title=\"%s\" class=\"ICO25x25\"" " alt=\"%s\" title=\"%s\" class=\"ICOx25\""
" style=\"margin:0 auto;\" />", " style=\"margin:0 auto;\" />",
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,
WhichGrps == Grp_ONLY_MY_GROUPS ? "mysitemap.png" : WhichGrps == Grp_ONLY_MY_GROUPS ? "mysitemap.png" :

View File

@ -129,7 +129,7 @@ void Ico_PutIconsToSelectIconSet (void)
Frm_StartForm (ActChgIco); Frm_StartForm (ActChgIco);
Par_PutHiddenParamString ("IconSet",Ico_IconSetId[IconSet]); Par_PutHiddenParamString ("IconSet",Ico_IconSetId[IconSet]);
fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/%s/%s/cog.svg\"" fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/%s/%s/cog.svg\""
" alt=\"%s\" title=\"%s\" class=\"ICO25x25\" />", " alt=\"%s\" title=\"%s\" class=\"ICOx25\" />",
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,
Cfg_ICON_FOLDER_ICON_SETS, Cfg_ICON_FOLDER_ICON_SETS,
Ico_IconSetId[IconSet], Ico_IconSetId[IconSet],
@ -399,7 +399,7 @@ void Ico_PutIconRemovalNotAllowed (void)
} }
/*****************************************************************************/ /*****************************************************************************/
/******** Put an icon indicating that removal is not allowed *********/ /************************ Put an icon to remove ******************************/
/*****************************************************************************/ /*****************************************************************************/
void Ico_PutIconRemove (void) void Ico_PutIconRemove (void)
@ -413,3 +413,35 @@ void Ico_PutIconRemove (void)
Txt_Remove, Txt_Remove,
Txt_Remove); Txt_Remove);
} }
/*****************************************************************************/
/*************************** Put an icon to cut ******************************/
/*****************************************************************************/
void Ico_PutIconCut (void)
{
extern const char *Txt_Cut;
fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/cut.svg\""
" alt=\"%s\" title=\"%s\""
" class=\"CONTEXT_OPT ICO_HIGHLIGHT ICO16x16\" />",
Gbl.Prefs.URLIcons,
Txt_Cut,
Txt_Cut);
}
/*****************************************************************************/
/************************** Put an icon to paste *****************************/
/*****************************************************************************/
void Ico_PutIconPaste (void)
{
extern const char *Txt_Paste;
fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/paste.svg\""
" alt=\"%s\" title=\"%s\""
" class=\"CONTEXT_OPT ICO_HIGHLIGHT ICO16x16\" />",
Gbl.Prefs.URLIcons,
Txt_Paste,
Txt_Paste);
}

View File

@ -77,4 +77,7 @@ void Ico_PutCalculateIconWithText (const char *Alt,const char *Text);
void Ico_PutIconRemovalNotAllowed (void); void Ico_PutIconRemovalNotAllowed (void);
void Ico_PutIconRemove (void); void Ico_PutIconRemove (void);
void Ico_PutIconCut (void);
void Ico_PutIconPaste (void);
#endif #endif

View File

@ -264,7 +264,7 @@ void Ins_DrawInstitutionLogoAndNameWithLink (struct Instit *Ins,Act_Action_t Act
Frm_LinkFormSubmit (Gbl.Title,ClassLink,NULL); Frm_LinkFormSubmit (Gbl.Title,ClassLink,NULL);
/***** Draw institution logo *****/ /***** Draw institution logo *****/
Log_DrawLogo (Sco_SCOPE_INS,Ins->InsCod,Ins->ShrtName,20,ClassLogo,true); Log_DrawLogo (Sco_SCOPE_INS,Ins->InsCod,Ins->ShrtName,16,ClassLogo,true);
/***** End link *****/ /***** End link *****/
fprintf (Gbl.F.Out,"&nbsp;%s</a>",Ins->FullName); fprintf (Gbl.F.Out,"&nbsp;%s</a>",Ins->FullName);

View File

@ -220,7 +220,7 @@ void Log_PutIconToChangeLogo (Sco_Scope_t Scope)
/***** Link for changing / uploading the logo *****/ /***** Link for changing / uploading the logo *****/
Lay_PutContextualLink (Action,NULL,NULL, Lay_PutContextualLink (Action,NULL,NULL,
"logo64x64.png", "shield-alt.svg",
LogoExists ? Txt_Change_logo : LogoExists ? Txt_Change_logo :
Txt_Upload_logo,NULL, Txt_Upload_logo,NULL,
NULL); NULL);

View File

@ -427,7 +427,7 @@ void Mnu_PutIconsToSelectMenu (void)
Frm_StartForm (ActChgMnu); Frm_StartForm (ActChgMnu);
Par_PutHiddenParamUnsigned ("Menu",(unsigned) Menu); Par_PutHiddenParamUnsigned ("Menu",(unsigned) Menu);
fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/%s\"" fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/%s\""
" alt=\"%s\" title=\"%s\" class=\"ICO25x25\" />", " alt=\"%s\" title=\"%s\" class=\"ICOx25\" />",
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,
Mnu_MenuIcons[Menu], Mnu_MenuIcons[Menu],
Txt_MENU_NAMES[Menu], Txt_MENU_NAMES[Menu],

View File

@ -365,7 +365,7 @@ static void Msg_PutLinkToShowMorePotentialRecipients (void)
fprintf (Gbl.F.Out,"<div class=\"CONTEXT_MENU\">"); fprintf (Gbl.F.Out,"<div class=\"CONTEXT_MENU\">");
Lay_PutContextualLink (ActReqMsgUsr,NULL, Lay_PutContextualLink (ActReqMsgUsr,NULL,
Msg_PutParamsShowMorePotentialRecipients, Msg_PutParamsShowMorePotentialRecipients,
"users", "users.svg",
Txt_Show_more_recipients,Txt_Show_more_recipients, Txt_Show_more_recipients,Txt_Show_more_recipients,
"CopyMessageToHiddenFields()"); "CopyMessageToHiddenFields()");
fprintf (Gbl.F.Out,"</div>"); fprintf (Gbl.F.Out,"</div>");
@ -1873,7 +1873,7 @@ static void Msg_PutLinkToViewBannedUsers(void)
extern const char *Txt_Banned_users; extern const char *Txt_Banned_users;
Lay_PutContextualLink (ActLstBanUsr,NULL,NULL, Lay_PutContextualLink (ActLstBanUsr,NULL,NULL,
"stop16x16.gif", "lock.svg",
Txt_Banned_users,Txt_Banned_users, Txt_Banned_users,Txt_Banned_users,
NULL); NULL);
} }
@ -2960,18 +2960,18 @@ static void Msg_ShowASentOrReceivedMessage (long MsgNum,long MsgCod)
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"
"<td class=\"CONTEXT_COL %s\">" "<td class=\"CONTEXT_COL %s\">"
"<img src=\"%s/msg-%s16x16.gif\"" "<img src=\"%s/%s\""
" alt=\"%s\" title=\"%s\"" " alt=\"%s\" title=\"%s\""
" class=\"ICO20x20\" />", " class=\"ICO16x16\" />",
Gbl.Msg.TypeOfMessages == Msg_MESSAGES_RECEIVED ? (Open ? "BG_MSG_BLUE" : Gbl.Msg.TypeOfMessages == Msg_MESSAGES_RECEIVED ? (Open ? "BG_MSG_BLUE" :
"BG_MSG_GREEN") : "BG_MSG_GREEN") :
"BG_MSG_BLUE", "BG_MSG_BLUE",
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,
Gbl.Msg.TypeOfMessages == Msg_MESSAGES_RECEIVED ? (Open ? (Replied ? "replied" : Gbl.Msg.TypeOfMessages == Msg_MESSAGES_RECEIVED ? (Open ? (Replied ? "reply.svg" :
"open") : "envelope-open-text.svg") :
"unread") : "envelope.svg") :
"fwd", "share.svg",
Title,Title); Title,Title);
/***** Form to delete message *****/ /***** Form to delete message *****/
@ -3336,12 +3336,13 @@ static void Msg_WriteFormToReply (long MsgCod,long CrsCod,
Par_PutHiddenParamChar ("ShowOnlyOneRecipient",'Y'); Par_PutHiddenParamChar ("ShowOnlyOneRecipient",'Y');
/****** Link and form end *****/ /****** Link and form end *****/
Ico_PutIconLink ("reply16x16.gif", Ico_PutIconLink ("reply.svg",
FromThisCrs ? (Replied ? Txt_Reply_again : FromThisCrs ? (Replied ? Txt_Reply_again :
Txt_Reply) : Txt_Reply) :
(Replied ? Txt_Go_to_course_and_reply_again : (Replied ? Txt_Go_to_course_and_reply_again :
Txt_Go_to_course_and_reply), Txt_Go_to_course_and_reply),
NULL,NULL,NULL); NULL,NULL,NULL);
Frm_EndForm ();
} }
/*****************************************************************************/ /*****************************************************************************/
@ -3360,13 +3361,13 @@ static void Msg_WriteMsgFrom (struct UsrData *UsrDat,bool Deleted)
fprintf (Gbl.F.Out,"<table>" fprintf (Gbl.F.Out,"<table>"
"<tr>" "<tr>"
"<td class=\"LEFT_MIDDLE\" style=\"width:20px;\">" "<td class=\"LEFT_MIDDLE\" style=\"width:20px;\">"
"<img src=\"%s/%s16x16.gif\"" "<img src=\"%s/%s\""
" alt=\"%s\" title=\"%s\"" " alt=\"%s\" title=\"%s\""
" class=\"ICO20x20\" />" " class=\"ICO16x16\" />"
"</td>", "</td>",
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,
Deleted ? "msg-fwd-del" : Deleted ? "share-red.svg" :
"msg-fwd", "share.svg",
Deleted ? Txt_MSG_Sent_and_deleted : Deleted ? Txt_MSG_Sent_and_deleted :
Txt_MSG_Sent, Txt_MSG_Sent,
Deleted ? Txt_MSG_Sent_and_deleted : Deleted ? Txt_MSG_Sent_and_deleted :
@ -3520,15 +3521,15 @@ static void Msg_WriteMsgTo (long MsgCod)
Txt_MSG_Unopened); Txt_MSG_Unopened);
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"
"<td class=\"LEFT_MIDDLE\" style=\"width:20px;\">" "<td class=\"LEFT_MIDDLE\" style=\"width:20px;\">"
"<img src=\"%s/%s16x16.gif\"" "<img src=\"%s/%s\""
" alt=\"%s\" title=\"%s\"" " alt=\"%s\" title=\"%s\""
" class=\"ICO20x20\" />" " class=\"ICO16x16\" />"
"</td>", "</td>",
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,
OpenByDst ? (Deleted ? "msg-open-del" : OpenByDst ? (Deleted ? "envelope-open-text-red.svg" :
"msg-open") : "envelope-open-text.svg") :
(Deleted ? "msg-unread-del" : (Deleted ? "envelope-red.svg" :
"msg-unread"), "envelope.svg"),
Title,Title); Title,Title);
/* Put user's photo */ /* Put user's photo */
@ -3673,9 +3674,9 @@ static void Msg_PutFormToBanSender (struct UsrData *UsrDat)
Gbl.Msg.CurrentPage); Gbl.Msg.CurrentPage);
Usr_PutParamUsrCodEncrypted (UsrDat->EncryptedUsrCod); Usr_PutParamUsrCodEncrypted (UsrDat->EncryptedUsrCod);
Msg_PutHiddenParamsMsgsFilters (); Msg_PutHiddenParamsMsgsFilters ();
fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/unlock-on64x64.png\"" fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/lock-open.svg\""
" alt=\"%s\" title=\"%s\"" " alt=\"%s\" title=\"%s\""
" class=\"ICO20x20\" style=\"margin-left:12px;\" />", " class=\"ICOx16\" style=\"margin-left:12px;\" />",
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,
Txt_Sender_permitted_click_to_ban_him, Txt_Sender_permitted_click_to_ban_him,
Txt_Sender_permitted_click_to_ban_him); Txt_Sender_permitted_click_to_ban_him);
@ -3695,9 +3696,9 @@ static void Msg_PutFormToUnbanSender (struct UsrData *UsrDat)
Gbl.Msg.CurrentPage); Gbl.Msg.CurrentPage);
Usr_PutParamUsrCodEncrypted (UsrDat->EncryptedUsrCod); Usr_PutParamUsrCodEncrypted (UsrDat->EncryptedUsrCod);
Msg_PutHiddenParamsMsgsFilters (); Msg_PutHiddenParamsMsgsFilters ();
fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/lock-on64x64.png\"" fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/lock.svg\""
" alt=\"%s\" title=\"%s\"" " alt=\"%s\" title=\"%s\""
" class=\"ICO20x20\" style=\"margin-left:12px;\" />", " class=\"ICOx16\" style=\"margin-left:12px;\" />",
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,
Txt_Sender_banned_click_to_unban_him, Txt_Sender_banned_click_to_unban_him,
Txt_Sender_banned_click_to_unban_him); Txt_Sender_banned_click_to_unban_him);
@ -3875,9 +3876,9 @@ void Msg_ListBannedUsrs (void)
Frm_StartForm (ActUnbUsrLst); Frm_StartForm (ActUnbUsrLst);
Usr_PutParamUsrCodEncrypted (UsrDat.EncryptedUsrCod); Usr_PutParamUsrCodEncrypted (UsrDat.EncryptedUsrCod);
fprintf (Gbl.F.Out,"<input type=\"image\"" fprintf (Gbl.F.Out,"<input type=\"image\""
" src=\"%s/lock-on64x64.png\"" " src=\"%s/lock.svg\""
" alt=\"%s\" title=\"%s\"" " alt=\"%s\" title=\"%s\""
" class=\"ICO20x20\" />", " class=\"ICOx16\" />",
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,
Txt_Sender_banned_click_to_unban_him, Txt_Sender_banned_click_to_unban_him,
Txt_Sender_banned_click_to_unban_him); Txt_Sender_banned_click_to_unban_him);

View File

@ -216,7 +216,7 @@ void Net_ShowWebsAndSocialNets (const struct UsrData *UsrDat)
/***** Show link to public profile *****/ /***** Show link to public profile *****/
Net_ShowAWebOrSocialNet (Prf_GetURLPublicProfile (URL,UsrDat->Nickname), Net_ShowAWebOrSocialNet (Prf_GetURLPublicProfile (URL,UsrDat->Nickname),
"swad64x64.gif",Cfg_PLATFORM_SHORT_NAME); "swad64x64.png",Cfg_PLATFORM_SHORT_NAME);
/***** Show the rest of webs / social networks *****/ /***** Show the rest of webs / social networks *****/
for (NumURL = (Net_WebsAndSocialNetworks_t) 0; for (NumURL = (Net_WebsAndSocialNetworks_t) 0;

View File

@ -461,9 +461,9 @@ void Not_ShowNotices (Not_Listing_t TypeNoticesListing)
"<a href=\""); "<a href=\"");
RSS_WriteRSSLink (Gbl.F.Out,Gbl.CurrentCrs.Crs.CrsCod); RSS_WriteRSSLink (Gbl.F.Out,Gbl.CurrentCrs.Crs.CrsCod);
fprintf (Gbl.F.Out,"\" target=\"_blank\">" fprintf (Gbl.F.Out,"\" target=\"_blank\">"
"<img src=\"%s/rss16x16.gif\"" "<img src=\"%s/rss-square.svg\""
" alt=\"RSS\" title=\"RSS\"" " alt=\"RSS\" title=\"RSS\""
" class=\"ICO20x20\" />" " class=\"ICO16x16\" />"
"</a>" "</a>"
"</div>", "</div>",
Gbl.Prefs.URLIcons); Gbl.Prefs.URLIcons);
@ -672,9 +672,9 @@ static void Not_DrawANotice (Not_Listing_t TypeNoticesListing,
{ {
case Not_ACTIVE_NOTICE: case Not_ACTIVE_NOTICE:
fprintf (Gbl.F.Out,"<span title=\"%s\">" fprintf (Gbl.F.Out,"<span title=\"%s\">"
"<img src=\"%s/eye-off64x64.png\"" "<img src=\"%s/eye.svg\""
" alt=\"%s\" title=\"%s\"" " alt=\"%s\" title=\"%s\""
" class=\"ICO20x20\" />" " class=\"ICO_HIDDEN ICO16x16\" />"
"</span>", "</span>",
Txt_NOTICE_Active_SINGULAR, Txt_NOTICE_Active_SINGULAR,
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,
@ -683,9 +683,9 @@ static void Not_DrawANotice (Not_Listing_t TypeNoticesListing,
break; break;
case Not_OBSOLETE_NOTICE: case Not_OBSOLETE_NOTICE:
fprintf (Gbl.F.Out,"<span title=\"%s\">" fprintf (Gbl.F.Out,"<span title=\"%s\">"
"<img src=\"%s/eye-slash-off64x64.png\"" "<img src=\"%s/eye-slash.svg\""
" alt=\"%s\" title=\"%s\"" " alt=\"%s\" title=\"%s\""
" class=\"ICO20x20\" />" " class=\"ICO_HIDDEN ICO16x16\" />"
"</span>", "</span>",
Txt_NOTICE_Obsolete_SINGULAR, Txt_NOTICE_Obsolete_SINGULAR,
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,

View File

@ -231,42 +231,42 @@ static const char *Ntf_ParamEmailMeAboutNotifyEvents[Ntf_NUM_NOTIFY_EVENTS] =
// Icons for notification events // Icons for notification events
static const char *Ntf_Icons[Ntf_NUM_NOTIFY_EVENTS] = static const char *Ntf_Icons[Ntf_NUM_NOTIFY_EVENTS] =
{ {
"question.svg", // Ntf_EVENT_UNKNOWN "question.svg", // Ntf_EVENT_UNKNOWN
/* Course tab */ /* Course tab */
"file.svg", // Ntf_EVENT_DOCUMENT_FILE "file.svg", // Ntf_EVENT_DOCUMENT_FILE
"file.svg", // Ntf_EVENT_TEACHERS_FILE "file.svg", // Ntf_EVENT_TEACHERS_FILE
"file.svg", // Ntf_EVENT_SHARED_FILE "file.svg", // Ntf_EVENT_SHARED_FILE
/* Assessment tab */ /* Assessment tab */
"desk16x16.gif", // Ntf_EVENT_ASSIGNMENT "edit.svg", // Ntf_EVENT_ASSIGNMENT
"bullhorn.svg", // Ntf_EVENT_EXAM_ANNOUNCEMENT "bullhorn.svg", // Ntf_EVENT_EXAM_ANNOUNCEMENT
"grades16x16.gif", // Ntf_EVENT_MARKS_FILE "clipboard-list.svg",// Ntf_EVENT_MARKS_FILE
/* Users tab */ /* Users tab */
"adduser16x16.gif", // Ntf_EVENT_ENROLMENT_STD "user.svg", // Ntf_EVENT_ENROLMENT_STD
"adduser16x16.gif", // Ntf_EVENT_ENROLMENT_TCH "user-tie.svg", // Ntf_EVENT_ENROLMENT_TCH
"enrollmentrequest16x16.gif",// Ntf_EVENT_ENROLMENT_REQUEST "hand-point-up.svg", // Ntf_EVENT_ENROLMENT_REQUEST
/* Social tab */ /* Social tab */
"comment-dots.svg", // Ntf_EVENT_TIMELINE_COMMENT "comment-dots.svg", // Ntf_EVENT_TIMELINE_COMMENT
"fav64x64.png", // Ntf_EVENT_TIMELINE_FAV "star.svg", // Ntf_EVENT_TIMELINE_FAV
"share64x64.png", // Ntf_EVENT_TIMELINE_SHARE "share-alt.svg", // Ntf_EVENT_TIMELINE_SHARE
"at.svg", // Ntf_EVENT_TIMELINE_MENTION "at.svg", // Ntf_EVENT_TIMELINE_MENTION
"user-plus.svg", // Ntf_EVENT_FOLLOWER "user-plus.svg", // Ntf_EVENT_FOLLOWER
"comments.svg", // Ntf_EVENT_FORUM_POST_COURSE "comments.svg", // Ntf_EVENT_FORUM_POST_COURSE
"comments.svg", // Ntf_EVENT_FORUM_REPLY "comments.svg", // Ntf_EVENT_FORUM_REPLY
/* Messages tab */ /* Messages tab */
"sticky-note.svg", // Ntf_EVENT_NOTICE "sticky-note.svg", // Ntf_EVENT_NOTICE
"envelope.svg", // Ntf_EVENT_MESSAGE "envelope.svg", // Ntf_EVENT_MESSAGE
/* Statistics tab */ /* Statistics tab */
/* Profile tab */ /* Profile tab */
"poll.svg", // Ntf_EVENT_SURVEY // TODO: Move to assessment tab (also necessary in database) !!!!!!!!! "poll.svg", // Ntf_EVENT_SURVEY // TODO: Move to assessment tab (also necessary in database) !!!!!!!!!
"adduser16x16.gif", // Ntf_EVENT_ENROLMENT_NET // TODO: Move to users tab (also necessary in database) !!!!!!!!! "user-tie.svg", // Ntf_EVENT_ENROLMENT_NET // TODO: Move to users tab (also necessary in database) !!!!!!!!!
}; };
/*****************************************************************************/ /*****************************************************************************/
@ -511,7 +511,7 @@ void Ntf_ShowMyNotifications (void)
{ {
fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/%s\"" fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/%s\""
" alt=\"%s\" title=\"%s\"" " alt=\"%s\" title=\"%s\""
" class=\"ICO20x20\" />", " class=\"ICO16x16\" />",
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,
Ntf_Icons[NotifyEvent], Ntf_Icons[NotifyEvent],
Txt_NOTIFY_EVENTS_SINGULAR[NotifyEvent], Txt_NOTIFY_EVENTS_SINGULAR[NotifyEvent],
@ -521,7 +521,7 @@ void Ntf_ShowMyNotifications (void)
else else
fprintf (Gbl.F.Out,"<img src=\"%s/%s\"" fprintf (Gbl.F.Out,"<img src=\"%s/%s\""
" alt=\"%s\" title=\"%s\"" " alt=\"%s\" title=\"%s\""
" class=\"ICO20x20\" />", " class=\"ICO16x16\" />",
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,
Ntf_Icons[NotifyEvent], Ntf_Icons[NotifyEvent],
Txt_NOTIFY_EVENTS_SINGULAR[NotifyEvent], Txt_NOTIFY_EVENTS_SINGULAR[NotifyEvent],
@ -2095,7 +2095,7 @@ void Ntf_WriteNumberOfNewNtfs (void)
if (NumNewNtfs) if (NumNewNtfs)
fprintf (Gbl.F.Out,"<img src=\"%s/bell.svg\"" fprintf (Gbl.F.Out,"<img src=\"%s/bell.svg\""
" alt=\"%s\" title=\"%s\"" " alt=\"%s\" title=\"%s\""
" class=\"ICO20x20\" />" " class=\"ICO16x16\" />"
"&nbsp;%u<span id=\"notif_new\">&nbsp;%s</span>", "&nbsp;%u<span id=\"notif_new\">&nbsp;%s</span>",
Gbl.Prefs.URLTheme, Gbl.Prefs.URLTheme,
Txt_Notifications, Txt_Notifications,

View File

@ -261,7 +261,7 @@ void Pwd_PutLinkToSendNewPasswd (void)
Lay_PutContextualLink (ActReqSndNewPwd,NULL, Lay_PutContextualLink (ActReqSndNewPwd,NULL,
Pwd_PutLinkToSendNewPasswdParams, Pwd_PutLinkToSendNewPasswdParams,
"key64x64.gif", "key.svg",
Txt_Forgotten_password,Txt_Forgotten_password, Txt_Forgotten_password,Txt_Forgotten_password,
NULL); NULL);
} }

View File

@ -90,8 +90,8 @@ static const char *Prj_Proposal_DB[Prj_NUM_PROPOSAL_TYPES] =
/***** Image for preassigned and non-preassigned projects *****/ /***** Image for preassigned and non-preassigned projects *****/
static const char *PreassignedNonpreassigImage[Prj_NUM_PREASSIGNED_NONPREASSIG] = static const char *PreassignedNonpreassigImage[Prj_NUM_PREASSIGNED_NONPREASSIG] =
{ {
"lock-on64x64.png", // Prj_PREASSIGNED "lock.svg", // Prj_PREASSIGNED
"unlock-on64x64.png", // Prj_NONPREASSIG "lock-open.svg", // Prj_NONPREASSIG
}; };
/*****************************************************************************/ /*****************************************************************************/
@ -381,7 +381,7 @@ static void Prj_ShowFormToFilterByMy_All (void)
Gbl.Prjs.CurrentPage, Gbl.Prjs.CurrentPage,
-1L); -1L);
fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/%s\"" fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/%s\""
" alt=\"%s\" title=\"%s\" class=\"ICO25x25\"" " alt=\"%s\" title=\"%s\" class=\"ICOx25\""
" style=\"margin:0 auto;\" />", " style=\"margin:0 auto;\" />",
Gbl.Prefs.URLIcons,WhoseProjectsImage[My_All], Gbl.Prefs.URLIcons,WhoseProjectsImage[My_All],
Txt_PROJECT_MY_ALL_PROJECTS[My_All], Txt_PROJECT_MY_ALL_PROJECTS[My_All],
@ -420,7 +420,7 @@ static void Prj_ShowFormToFilterByPreassignedNonPreassig (void)
Gbl.Prjs.CurrentPage, Gbl.Prjs.CurrentPage,
-1L); -1L);
fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/%s\"" fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/%s\""
" alt=\"%s\" title=\"%s\" class=\"ICO25x25\"" " alt=\"%s\" title=\"%s\" class=\"ICOx25\""
" style=\"margin:0 auto;\" />", " style=\"margin:0 auto;\" />",
Gbl.Prefs.URLIcons,PreassignedNonpreassigImage[PreNon], Gbl.Prefs.URLIcons,PreassignedNonpreassigImage[PreNon],
Txt_PROJECT_PREASSIGNED_NONPREASSIGNED_PLURAL[PreNon], Txt_PROJECT_PREASSIGNED_NONPREASSIGNED_PLURAL[PreNon],
@ -464,7 +464,7 @@ static void Prj_ShowFormToFilterByHidden (void)
Gbl.Prjs.CurrentPage, Gbl.Prjs.CurrentPage,
-1L); -1L);
fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/%s\"" fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/%s\""
" alt=\"%s\" title=\"%s\" class=\"ICO25x25\"" " alt=\"%s\" title=\"%s\" class=\"ICOx25\""
" style=\"margin:0 auto;\" />", " style=\"margin:0 auto;\" />",
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,
HiddenVisiblImage[HidVis], HiddenVisiblImage[HidVis],
@ -1119,7 +1119,7 @@ static void Prj_ShowOneProject (unsigned NumIndex,struct Project *Prj,
"<td colspan=\"6\" class=\"CENTER_MIDDLE COLOR%u\">", "<td colspan=\"6\" class=\"CENTER_MIDDLE COLOR%u\">",
UniqueId, UniqueId,
Gbl.RowEvenOdd); Gbl.RowEvenOdd);
Prj_PutIconToToggleProject (UniqueId,"more64x64.png",Txt_See_more); Prj_PutIconToToggleProject (UniqueId,"angle-down.svg",Txt_See_more);
fprintf (Gbl.F.Out,"</td>" fprintf (Gbl.F.Out,"</td>"
"</tr>"); "</tr>");
@ -1127,7 +1127,7 @@ static void Prj_ShowOneProject (unsigned NumIndex,struct Project *Prj,
"<td colspan=\"6\" class=\"CENTER_MIDDLE COLOR%u\">", "<td colspan=\"6\" class=\"CENTER_MIDDLE COLOR%u\">",
UniqueId, UniqueId,
Gbl.RowEvenOdd); Gbl.RowEvenOdd);
Prj_PutIconToToggleProject (UniqueId,"less64x64.png",Txt_See_less); Prj_PutIconToToggleProject (UniqueId,"angle-up.svg",Txt_See_less);
fprintf (Gbl.F.Out,"</td>" fprintf (Gbl.F.Out,"</td>"
"</tr>"); "</tr>");
break; break;
@ -1135,14 +1135,14 @@ static void Prj_ShowOneProject (unsigned NumIndex,struct Project *Prj,
fprintf (Gbl.F.Out,"<tr id=\"prj_exp_%u\">" fprintf (Gbl.F.Out,"<tr id=\"prj_exp_%u\">"
"<td colspan=\"5\" class=\"CENTER_MIDDLE\">", "<td colspan=\"5\" class=\"CENTER_MIDDLE\">",
UniqueId); UniqueId);
Prj_PutIconToToggleProject (UniqueId,"more64x64.png",Txt_See_more); Prj_PutIconToToggleProject (UniqueId,"angle-down.svg",Txt_See_more);
fprintf (Gbl.F.Out,"</td>" fprintf (Gbl.F.Out,"</td>"
"</tr>"); "</tr>");
fprintf (Gbl.F.Out,"<tr id=\"prj_con_%u\" style=\"display:none;\">" fprintf (Gbl.F.Out,"<tr id=\"prj_con_%u\" style=\"display:none;\">"
"<td colspan=\"5\" class=\"CENTER_MIDDLE\">", "<td colspan=\"5\" class=\"CENTER_MIDDLE\">",
UniqueId); UniqueId);
Prj_PutIconToToggleProject (UniqueId,"less64x64.png",Txt_See_less); Prj_PutIconToToggleProject (UniqueId,"angle-up.svg",Txt_See_less);
fprintf (Gbl.F.Out,"</td>" fprintf (Gbl.F.Out,"</td>"
"</tr>"); "</tr>");
break; break;

View File

@ -1879,7 +1879,7 @@ static void Soc_PutFormGoToAction (const struct SocialNote *SocNot)
Frm_LinkFormSubmitUnique (Txt_SOCIAL_NOTE[SocNot->NoteType],Class); Frm_LinkFormSubmitUnique (Txt_SOCIAL_NOTE[SocNot->NoteType],Class);
fprintf (Gbl.F.Out,"<img src=\"%s/%s\"" fprintf (Gbl.F.Out,"<img src=\"%s/%s\""
" alt=\"%s\" title=\"%s\"" " alt=\"%s\" title=\"%s\""
" class=\"ICO20x20\" />" " class=\"CONTEXT_ICO\" />"
"&nbsp;%s" "&nbsp;%s"
"</a>", "</a>",
Gbl.Prefs.URLIcons,Soc_Icons[SocNot->NoteType], Gbl.Prefs.URLIcons,Soc_Icons[SocNot->NoteType],
@ -2358,9 +2358,9 @@ static void Soc_PutIconToToggleCommentSocialNote (const char UniqueId[Frm_MAX_BY
fprintf (Gbl.F.Out,"<div class=\"SOCIAL_ICO_COMMENT ICO_HIGHLIGHT\">" fprintf (Gbl.F.Out,"<div class=\"SOCIAL_ICO_COMMENT ICO_HIGHLIGHT\">"
"<a href=\"\"" "<a href=\"\""
" onclick=\"toggleDisplay('%s');return false;\" />" " onclick=\"toggleDisplay('%s');return false;\" />"
"<img src=\"%s/write64x64.gif\"" "<img src=\"%s/edit.svg\""
" alt=\"%s\" title=\"%s\"" " alt=\"%s\" title=\"%s\""
" class=\"ICO20x20\" />" " class=\"CONTEXT_ICO\" />"
"</a>" "</a>"
"</div>", "</div>",
UniqueId, UniqueId,
@ -2378,9 +2378,9 @@ static void Soc_PutIconCommentDisabled (void)
/***** Disabled icon to comment a social note *****/ /***** Disabled icon to comment a social note *****/
fprintf (Gbl.F.Out,"<div class=\"SOCIAL_ICO_COMMENT_DISABLED\">" fprintf (Gbl.F.Out,"<div class=\"SOCIAL_ICO_COMMENT_DISABLED\">"
"<img src=\"%s/write64x64.gif\"" "<img src=\"%s/edit.svg\""
" alt=\"%s\" title=\"%s\"" " alt=\"%s\" title=\"%s\""
" class=\"ICO20x20\" />" " class=\"ICO16x16\" />"
"</div>", "</div>",
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,
Txt_Comment,Txt_Comment); Txt_Comment,Txt_Comment);
@ -2676,7 +2676,7 @@ static void Soc_PutFormToRemoveComment (long PubCod)
"<input type=\"image\"" "<input type=\"image\""
" src=\"%s/trash.svg\"" " src=\"%s/trash.svg\""
" alt=\"%s\" title=\"%s\"" " alt=\"%s\" title=\"%s\""
" class=\"ICO16x16\" />" " class=\"CONTEXT_ICO\" />"
"</div>", "</div>",
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,
Txt_Remove, Txt_Remove,
@ -2698,9 +2698,9 @@ static void Soc_PutFormToFavSocialComment (long PubCod)
Soc_PutHiddenParamPubCod (PubCod); Soc_PutHiddenParamPubCod (PubCod);
fprintf (Gbl.F.Out,"<div class=\"SOCIAL_ICO_FAV ICO_HIGHLIGHT\">" fprintf (Gbl.F.Out,"<div class=\"SOCIAL_ICO_FAV ICO_HIGHLIGHT\">"
"<input type=\"image\"" "<input type=\"image\""
" src=\"%s/fav64x64.png\"" " src=\"%s/star.svg\""
" alt=\"%s\" title=\"%s\"" " alt=\"%s\" title=\"%s\""
" class=\"ICO20x20\" />" " class=\"CONTEXT_ICO\" />"
"</div>", "</div>",
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,
Txt_Mark_as_favourite,Txt_Mark_as_favourite); Txt_Mark_as_favourite,Txt_Mark_as_favourite);
@ -2726,9 +2726,9 @@ static void Soc_PutDisabledIconShare (unsigned NumShared)
/***** Disabled icon to share *****/ /***** Disabled icon to share *****/
fprintf (Gbl.F.Out,"<div class=\"SOCIAL_ICO_SHARE_DISABLED\">" fprintf (Gbl.F.Out,"<div class=\"SOCIAL_ICO_SHARE_DISABLED\">"
"<img src=\"%s/share64x64.png\"" "<img src=\"%s/share-alt.svg\""
" alt=\"%s\" title=\"%s\"" " alt=\"%s\" title=\"%s\""
" class=\"ICO20x20\" />" " class=\"CONTEXT_ICO\" />"
"</div>", "</div>",
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,
Gbl.Title,Gbl.Title); Gbl.Title,Gbl.Title);
@ -2753,9 +2753,9 @@ static void Soc_PutDisabledIconFav (unsigned NumFavs)
/***** Disabled icon to mark as favourite *****/ /***** Disabled icon to mark as favourite *****/
fprintf (Gbl.F.Out,"<div class=\"SOCIAL_ICO_FAV_DISABLED\">" fprintf (Gbl.F.Out,"<div class=\"SOCIAL_ICO_FAV_DISABLED\">"
"<img src=\"%s/fav64x64.png\"" "<img src=\"%s/star.svg\""
" alt=\"%s\" title=\"%s\"" " alt=\"%s\" title=\"%s\""
" class=\"ICO20x20\" />" " class=\"CONTEXT_ICO\" />"
"</div>", "</div>",
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,
Gbl.Title,Gbl.Title); Gbl.Title,Gbl.Title);
@ -2775,9 +2775,9 @@ static void Soc_PutFormToShareSocialNote (long NotCod)
Soc_PutHiddenParamNotCod (NotCod); Soc_PutHiddenParamNotCod (NotCod);
fprintf (Gbl.F.Out,"<div class=\"SOCIAL_ICO_SHARE ICO_HIGHLIGHT\">" fprintf (Gbl.F.Out,"<div class=\"SOCIAL_ICO_SHARE ICO_HIGHLIGHT\">"
"<input type=\"image\"" "<input type=\"image\""
" src=\"%s/share64x64.png\"" " src=\"%s/share-alt.svg\""
" alt=\"%s\" title=\"%s\"" " alt=\"%s\" title=\"%s\""
" class=\"ICO20x20\" />" " class=\"CONTEXT_ICO\" />"
"</div>", "</div>",
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,
Txt_Share,Txt_Share); Txt_Share,Txt_Share);
@ -2798,9 +2798,9 @@ static void Soc_PutFormToFavSocialNote (long NotCod)
Soc_PutHiddenParamNotCod (NotCod); Soc_PutHiddenParamNotCod (NotCod);
fprintf (Gbl.F.Out,"<div class=\"SOCIAL_ICO_FAV ICO_HIGHLIGHT\">" fprintf (Gbl.F.Out,"<div class=\"SOCIAL_ICO_FAV ICO_HIGHLIGHT\">"
"<input type=\"image\"" "<input type=\"image\""
" src=\"%s/fav64x64.png\"" " src=\"%s/star.svg\""
" alt=\"%s\" title=\"%s\"" " alt=\"%s\" title=\"%s\""
" class=\"ICO20x20\" />" " class=\"CONTEXT_ICO\" />"
"</div>", "</div>",
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,
Txt_Mark_as_favourite,Txt_Mark_as_favourite); Txt_Mark_as_favourite,Txt_Mark_as_favourite);
@ -2821,9 +2821,9 @@ static void Soc_PutFormToUnshareSocialNote (long NotCod)
Soc_PutHiddenParamNotCod (NotCod); Soc_PutHiddenParamNotCod (NotCod);
fprintf (Gbl.F.Out,"<div class=\"SOCIAL_ICO_SHARE ICO_HIGHLIGHT\">" fprintf (Gbl.F.Out,"<div class=\"SOCIAL_ICO_SHARE ICO_HIGHLIGHT\">"
"<input type=\"image\"" "<input type=\"image\""
" src=\"%s/shared64x64.png\"" " src=\"%s/share-alt-green.svg\""
" alt=\"%s\" title=\"%s\"" " alt=\"%s\" title=\"%s\""
" class=\"ICO20x20\" />" " class=\"CONTEXT_ICO\" />"
"</div>", "</div>",
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,
Txt_SOCIAL_NOTE_Shared,Txt_SOCIAL_NOTE_Shared); Txt_SOCIAL_NOTE_Shared,Txt_SOCIAL_NOTE_Shared);
@ -2844,9 +2844,9 @@ static void Soc_PutFormToUnfavSocialNote (long NotCod)
Soc_PutHiddenParamNotCod (NotCod); Soc_PutHiddenParamNotCod (NotCod);
fprintf (Gbl.F.Out,"<div class=\"SOCIAL_ICO_FAV ICO_HIGHLIGHT\">" fprintf (Gbl.F.Out,"<div class=\"SOCIAL_ICO_FAV ICO_HIGHLIGHT\">"
"<input type=\"image\"" "<input type=\"image\""
" src=\"%s/faved64x64.png\"" " src=\"%s/star-yellow.svg\""
" alt=\"%s\" title=\"%s\"" " alt=\"%s\" title=\"%s\""
" class=\"ICO20x20\" />" " class=\"CONTEXT_ICO\" />"
"</div>", "</div>",
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,
Txt_SOCIAL_NOTE_Favourite,Txt_SOCIAL_NOTE_Favourite); Txt_SOCIAL_NOTE_Favourite,Txt_SOCIAL_NOTE_Favourite);
@ -2867,9 +2867,9 @@ static void Soc_PutFormToUnfavSocialComment (long PubCod)
Soc_PutHiddenParamPubCod (PubCod); Soc_PutHiddenParamPubCod (PubCod);
fprintf (Gbl.F.Out,"<div class=\"SOCIAL_ICO_FAV ICO_HIGHLIGHT\">" fprintf (Gbl.F.Out,"<div class=\"SOCIAL_ICO_FAV ICO_HIGHLIGHT\">"
"<input type=\"image\"" "<input type=\"image\""
" src=\"%s/faved64x64.png\"" " src=\"%s/star-yellow.svg\""
" alt=\"%s\" title=\"%s\"" " alt=\"%s\" title=\"%s\""
" class=\"ICO20x20\" />" " class=\"CONTEXT_ICO\" />"
"</div>", "</div>",
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,
Txt_SOCIAL_NOTE_Favourite,Txt_SOCIAL_NOTE_Favourite); Txt_SOCIAL_NOTE_Favourite,Txt_SOCIAL_NOTE_Favourite);
@ -2892,7 +2892,7 @@ static void Soc_PutFormToRemoveSocialPublishing (long NotCod)
"<input type=\"image\"" "<input type=\"image\""
" src=\"%s/trash.svg\"" " src=\"%s/trash.svg\""
" alt=\"%s\" title=\"%s\"" " alt=\"%s\" title=\"%s\""
" class=\"ICO16x16\" />" " class=\"CONTEXT_ICO\" />"
"</div>", "</div>",
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,
Txt_Remove, Txt_Remove,

View File

@ -8074,12 +8074,12 @@ static void Sta_ShowStatOfAForumType (For_ForumType_t ForumType,
break; break;
case For_FORUM__SWAD__USRS: case For_FORUM__SWAD__USRS:
Sta_WriteForumTitleAndStats (ForumType,CtyCod,InsCod,CtrCod,DegCod,CrsCod, Sta_WriteForumTitleAndStats (ForumType,CtyCod,InsCod,CtrCod,DegCod,CrsCod,
"swad64x64.gif",StatsForum, "swad64x64.png",StatsForum,
Cfg_PLATFORM_SHORT_NAME,""); Cfg_PLATFORM_SHORT_NAME,"");
break; break;
case For_FORUM__SWAD__TCHS: case For_FORUM__SWAD__TCHS:
Sta_WriteForumTitleAndStats (ForumType,CtyCod,InsCod,CtrCod,DegCod,CrsCod, Sta_WriteForumTitleAndStats (ForumType,CtyCod,InsCod,CtrCod,DegCod,CrsCod,
"swad64x64.gif",StatsForum, "swad64x64.png",StatsForum,
Cfg_PLATFORM_SHORT_NAME,Txt_only_teachers); Cfg_PLATFORM_SHORT_NAME,Txt_only_teachers);
break; break;
case For_FORUM_INSTIT_USRS: case For_FORUM_INSTIT_USRS:
@ -9004,7 +9004,7 @@ static void Sta_GetAndShowNumUsrsPerFirstDayOfWeek (void)
if (Cal_DayIsValidAsFirstDayOfWeek[FirstDayOfWeek]) if (Cal_DayIsValidAsFirstDayOfWeek[FirstDayOfWeek])
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"
"<td class=\"CENTER_MIDDLE\">" "<td class=\"CENTER_MIDDLE\">"
"<img src=\"%s/first-day-of-week-%u-64x64.png\"" "<img src=\"%s/first-day-of-week-%u.png\""
" alt=\"%s\" title=\"%s: %s\"" " alt=\"%s\" title=\"%s: %s\""
" class=\"ICO40x40\" />" " class=\"ICO40x40\" />"
"</td>" "</td>"
@ -9251,7 +9251,7 @@ static void Sta_GetAndShowNumUsrsPerMenu (void)
Menu++) Menu++)
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"
"<td class=\"CENTER_MIDDLE\">" "<td class=\"CENTER_MIDDLE\">"
"<img src=\"%s/%s32x32.gif\"" "<img src=\"%s/%s\""
" alt=\"%s\" title=\"%s\"" " alt=\"%s\" title=\"%s\""
" class=\"ICO40x40\" />" " class=\"ICO40x40\" />"
"</td>" "</td>"

View File

@ -812,7 +812,7 @@ static void Svy_PutFormsToRemEditOneSvy (long SvyCod,bool Visible)
/***** Put form to reset survey *****/ /***** Put form to reset survey *****/
Lay_PutContextualLink (ActReqRstSvy,NULL,Svy_PutParams, Lay_PutContextualLink (ActReqRstSvy,NULL,Svy_PutParams,
"recycle64x64.png", "recycle.svg",
Txt_Reset,NULL, Txt_Reset,NULL,
NULL); NULL);

View File

@ -1776,14 +1776,14 @@ static void Tst_ShowFormSelTags (unsigned long NumRows,MYSQL_RES *mysql_res,
"<img src=\"%s/", "<img src=\"%s/",
Gbl.Prefs.URLIcons); Gbl.Prefs.URLIcons);
if (TagHidden) if (TagHidden)
fprintf (Gbl.F.Out,"eye-slash-off64x64.png\" alt=\"%s\" title=\"%s", fprintf (Gbl.F.Out,"eye-slash.svg\" alt=\"%s\" title=\"%s",
Txt_Tag_not_allowed, Txt_Tag_not_allowed,
Txt_Tag_not_allowed); Txt_Tag_not_allowed);
else else
fprintf (Gbl.F.Out,"eye-off64x64.png\" alt=\"%s\" title=\"%s", fprintf (Gbl.F.Out,"eye.svg\" alt=\"%s\" title=\"%s",
Txt_Tag_allowed, Txt_Tag_allowed,
Txt_Tag_allowed); Txt_Tag_allowed);
fprintf (Gbl.F.Out,"\" class=\"ICO20x20\" />" fprintf (Gbl.F.Out,"\" class=\"ICO_HIDDEN ICO16x16\" />"
"</td>"); "</td>");
} }
fprintf (Gbl.F.Out,"<td class=\"LEFT_MIDDLE\">" fprintf (Gbl.F.Out,"<td class=\"LEFT_MIDDLE\">"

View File

@ -92,7 +92,7 @@ void TsI_PutFormToExportQuestions (void)
/***** Put a link to create a file with questions *****/ /***** Put a link to create a file with questions *****/
Lay_PutContextualLink (ActLstTstQst,NULL,TsI_PutParamsExportQsts, Lay_PutContextualLink (ActLstTstQst,NULL,TsI_PutParamsExportQsts,
"export16x16.gif", "file-import.svg",
Txt_Export_questions_to_XML_file,Txt_Export_questions, Txt_Export_questions_to_XML_file,Txt_Export_questions,
NULL); NULL);
} }
@ -121,7 +121,7 @@ void TsI_PutFormToImportQuestions (void)
/***** Put a link to create a file with questions *****/ /***** Put a link to create a file with questions *****/
Lay_PutContextualLink (ActReqImpTstQst,NULL,NULL, Lay_PutContextualLink (ActReqImpTstQst,NULL,NULL,
"import16x16.gif", "file-export.svg",
Txt_Import_questions_from_XML_file, Txt_Import_questions_from_XML_file,
Txt_Import_questions, Txt_Import_questions,
NULL); NULL);

View File

@ -6752,6 +6752,27 @@ const char *Txt_Current_password =
"Senha atual"; "Senha atual";
#endif #endif
const char *Txt_Cut = // First part of "Cut-Paste"
#if L==1 // ca
"Tallar";
#elif L==2 // de
"Ausschneiden";
#elif L==3 // en
"Cut";
#elif L==4 // es
"Cortar";
#elif L==5 // fr
"Couper";
#elif L==6 // gn
"Ikyt&itilde;";
#elif L==7 // it
"Taglia";
#elif L==8 // pl
"Wytnij";
#elif L==9 // pt
"Cortar";
#endif
const char *Txt_Data = // Project data const char *Txt_Data = // Project data
#if L==1 // ca #if L==1 // ca
"Dades"; "Dades";
@ -22859,27 +22880,6 @@ const char *Txt_Move_down_X_and_its_subsections = // Warning: it is very importa
"Mover %s e suas subse&ccedil;&otilde;es para baixo"; "Mover %s e suas subse&ccedil;&otilde;es para baixo";
#endif #endif
const char *Txt_Move_thread =
#if L==1 // ca
"Mover discusi&oacute;n"; // Necessita traduccio
#elif L==2 // de
"Verschieben Thread";
#elif L==3 // en
"Move thread";
#elif L==4 // es
"Mover discusi&oacute;n";
#elif L==5 // fr
"D&eacute;placer fil";
#elif L==6 // gn
"Mover discusi&oacute;n"; // Okoteve traducción
#elif L==7 // it
"Sposta discussione";
#elif L==8 // pl
"Przenies watku";
#elif L==9 // pt
"Mover discuss&atilde;o";
#endif
const char *Txt_Movement_not_allowed = const char *Txt_Movement_not_allowed =
#if L==1 // ca #if L==1 // ca
"Moviment no perm&egrave;s"; "Moviment no perm&egrave;s";
@ -28557,27 +28557,6 @@ const char *Txt_Paste_in_X = // Warning: it is very important to include %s in t
"Colar em %s"; "Colar em %s";
#endif #endif
const char *Txt_Paste_thread =
#if L==1 // ca
"Pegar discusi&oacute;n"; // Necessita traduccio
#elif L==2 // de
"Einf&uuml;gen Thread";
#elif L==3 // en
"Paste thread";
#elif L==4 // es
"Pegar discusi&oacute;n";
#elif L==5 // fr
"Coller fil";
#elif L==6 // gn
"Pegar discusi&oacute;n"; // Okoteve traducción
#elif L==7 // it
"Incolla discussione";
#elif L==8 // pl
"Wklej watku";
#elif L==9 // pt
"Colar discuss&atilde;o";
#endif
const char *Txt_PERCENT_of_users = const char *Txt_PERCENT_of_users =
#if L==1 // ca #if L==1 // ca
"% de usuarios"; // Necessita traduccio "% de usuarios"; // Necessita traduccio

View File

@ -379,7 +379,7 @@ void TT_ShowClassTimeTable (void)
/***** Show form to change first day of week *****/ /***** Show form to change first day of week *****/
Cal_ShowFormToSelFirstDayOfWeek (ActChgTT1stDay[Gbl.TimeTable.Type], Cal_ShowFormToSelFirstDayOfWeek (ActChgTT1stDay[Gbl.TimeTable.Type],
Grp_PutParamWhichGrps, Grp_PutParamWhichGrps,
"ICO25x25"); "ICOx25");
} }
/***** Show the time table *****/ /***** Show the time table *****/

View File

@ -2420,7 +2420,7 @@ void Usr_PutLinkToLogin (void)
extern const char *Txt_Log_in; extern const char *Txt_Log_in;
Lay_PutContextualLink (ActFrmLogIn,NULL,NULL, Lay_PutContextualLink (ActFrmLogIn,NULL,NULL,
"login-green64x64.png", "sign-in-alt-green.svg",
Txt_Log_in,Txt_Log_in, Txt_Log_in,Txt_Log_in,
NULL); NULL);
} }
@ -2460,14 +2460,14 @@ void Usr_WriteFormLogin (Act_Action_t NextAction,void (*FuncParams) ())
/***** User's ID/nickname *****/ /***** User's ID/nickname *****/
fprintf (Gbl.F.Out,"<div class=\"LEFT_MIDDLE\">" fprintf (Gbl.F.Out,"<div class=\"LEFT_MIDDLE\">"
"<label>" "<label for=\"UsrId\">"
"<img src=\"%s/user64x64.gif\" alt=\"%s\" title=\"%s\"" "<img src=\"%s/user.svg\" alt=\"%s\" title=\"%s\""
" class=\"ICO20x20\" />" " class=\"CONTEXT_ICO\" />"
"<input type=\"text\" name=\"UsrId\"" "</label>"
"<input type=\"text\" id=\"UsrId\" name=\"UsrId\""
" size=\"18\" maxlength=\"%u\" placeholder=\"%s\"" " size=\"18\" maxlength=\"%u\" placeholder=\"%s\""
" value=\"%s\"" " value=\"%s\""
" autofocus=\"autofocus\" required=\"required\" />" " autofocus=\"autofocus\" required=\"required\" />"
"</label>"
"</div>", "</div>",
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,
Txt_User[Usr_SEX_UNKNOWN], Txt_User[Usr_SEX_UNKNOWN],
@ -2478,12 +2478,12 @@ void Usr_WriteFormLogin (Act_Action_t NextAction,void (*FuncParams) ())
/***** User's password *****/ /***** User's password *****/
fprintf (Gbl.F.Out,"<div class=\"LEFT_MIDDLE\">" fprintf (Gbl.F.Out,"<div class=\"LEFT_MIDDLE\">"
"<label>" "<label for=\"UsrPwd\">"
"<img src=\"%s/key64x64.gif\" alt=\"%s\" title=\"%s\"" "<img src=\"%s/key.svg\" alt=\"%s\" title=\"%s\""
" class=\"ICO20x20\" />" " class=\"CONTEXT_ICO\" />"
"<input type=\"password\" name=\"UsrPwd\""
" size=\"18\" maxlength=\"%u\" placeholder=\"%s\" />"
"</label>" "</label>"
"<input type=\"password\" id=\"UsrPwd\" name=\"UsrPwd\""
" size=\"18\" maxlength=\"%u\" placeholder=\"%s\" />"
"</div>", "</div>",
Gbl.Prefs.URLIcons, Gbl.Prefs.URLIcons,
Txt_Password, Txt_Password,
@ -2653,7 +2653,7 @@ void Usr_PutFormLogIn (void)
/***** Link to log in form *****/ /***** Link to log in form *****/
Frm_StartForm (ActFrmLogIn); Frm_StartForm (ActFrmLogIn);
Frm_LinkFormSubmit (Txt_Log_in,The_ClassHead[Gbl.Prefs.Theme],NULL); Frm_LinkFormSubmit (Txt_Log_in,The_ClassHead[Gbl.Prefs.Theme],NULL);
fprintf (Gbl.F.Out,"<img src=\"%s/login-green64x64.png\"" fprintf (Gbl.F.Out,"<img src=\"%s/sign-in-alt-green.svg\""
" alt=\"%s\" title=\"%s\"" " alt=\"%s\" title=\"%s\""
" class=\"ICO20x20\" />" " class=\"ICO20x20\" />"
"<span id=\"login_txt\">&nbsp;%s</span>" "<span id=\"login_txt\">&nbsp;%s</span>"
@ -2722,7 +2722,7 @@ void Usr_PutFormLogOut (void)
Frm_StartForm (ActLogOut); Frm_StartForm (ActLogOut);
Frm_LinkFormSubmit (Txt_Log_out,The_ClassHead[Gbl.Prefs.Theme],NULL); Frm_LinkFormSubmit (Txt_Log_out,The_ClassHead[Gbl.Prefs.Theme],NULL);
fprintf (Gbl.F.Out,"<img src=\"%s/logout-red64x64.png\"" fprintf (Gbl.F.Out,"<img src=\"%s/sign-out-alt-red.svg\""
" alt=\"%s\" title=\"%s\"" " alt=\"%s\" title=\"%s\""
" class=\"ICO20x20\" />" " class=\"ICO20x20\" />"
"<span id=\"login_txt\">&nbsp;%s</span>" "<span id=\"login_txt\">&nbsp;%s</span>"
@ -3402,7 +3402,7 @@ static void Usr_PutLinkToLogOut (void)
/***** Put form to log out *****/ /***** Put form to log out *****/
Lay_PutContextualLink (ActLogOut,NULL,NULL, Lay_PutContextualLink (ActLogOut,NULL,NULL,
"logout-red64x64.png", "sign-out-alt-red.svg",
Txt_Log_out,NULL, Txt_Log_out,NULL,
NULL); NULL);
} }