diff --git a/css/swad18.29.css b/css/swad18.29.css deleted file mode 100644 index 5c1369cb..00000000 --- a/css/swad18.29.css +++ /dev/null @@ -1,3375 +0,0 @@ -/* swad_desktop.css:style-sheet for desktop layout of SWAD */ - -/* - SWAD (Shared Workspace At a Distance), - is a web platform developed at the University of Granada (Spain), - and used to support university teaching. - - This file is part of SWAD core. - Copyright (C) 1999-2019 Antonio Caņas Vargas - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Affero General 3 License as - published by the Free Software Foundation,either version 3 of the - License,or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Affero General Public License for more details. - - You should have received a copy of the GNU Affero General Public License - along with this program. If not,see . -*/ -/********************************* Body **************************************/ -body - { - margin:0; - background-color:white; - font-family:"Helvetica Neue",Helvetica,Arial,sans-serif; - font-size:1em; - overflow-y:scroll; /* force vertical scrollbar */ - } -input - { - font-size:12pt; - } -select - { - font-size:12pt; - } -textarea - { - font-size:13pt; - font-family:"Helvetica Neue",Helvetica,Arial,sans-serif; - } -table - { - box-sizing:border-box; - border-width:0; - border-style:none; - border-spacing:0; - } -table th - { - box-sizing:border-box; - padding:0; - color:#4D88A1; - font-weight:bold; - } -table td - { - box-sizing:border-box; - padding:0; - } -img - { - border-width:0; - border-style:none; - } -form - { - display:inline; - margin:0; - } -address - { - font-style: normal; - } - -/*********************** Text decoration of links ****************************/ -a - { - color:#4D88A1; - } -a:link, a:visited, a:active - { - text-decoration:none; - } -a:hover /* Default ==> underlined */ - { - text-decoration:underline; - } -.TAB_OFF a, .TAB_ON a, .MENU_LIST_ITEM a /* Tabs and menus are the exceptions */ - { - text-decoration:none; - } - -/****************** Layout (the whole page with a background) ****************/ -#whole_page - { - display:table; - box-sizing:border-box; - width:100%; - /* - background-color:black; - background-image:url('/swad/background.jpg'); - background-repeat:no-repeat; - background-size:100%; - */ - } - -/************************* Layout (first heading row) ************************/ -#head_row_1 - { - display:table; - box-sizing:border-box; - width:100%; - height:40px; - } -.HEAD_ROW_1_WHITE - { - background-color:black; - } -.HEAD_ROW_1_GREY - { - background-image:-webkit-linear-gradient(#383838 0,#383838 26px,#404040 100%); /* Safari */ - background-image:linear-gradient(#383838 0,#383838 26px,#404040 100%); - background-repeat:no-repeat; - } -.HEAD_ROW_1_BLUE - { - background-image:-webkit-linear-gradient(#5fa5df 0,#4f90c8 26px,#4f90c8 100%); /* Safari */ - background-image:linear-gradient(#5fa5df 0,#4f90c8 26px,#4f90c8 100%); - background-repeat:no-repeat; - } -.HEAD_ROW_1_YELLOW - { - background-color:#201420; - } - -#head_row_1_left - { - display:table-cell; - text-align:left; - vertical-align:middle; - } -@media only screen and (max-width: 1024px) - { /* For mobile-phones */ - #head_row_1_logo_small - { - display:inline-block; - } - #head_row_1_logo_big - { - display:none; - } - #head_row_1_tagline - { - display:none; - } - } -@media only screen and (min-width: 1024px) - { /* For tablets and desktop */ - #head_row_1_logo_small - { - display:none; - } - #head_row_1_logo_big - { - display:inline-block; - } - #head_row_1_tagline - { - display:inline-block; - box-sizing:border-box; - padding:0 4px; - font-size:11pt; - font-weight:bold; - line-height:110%; - white-space:nowrap; - text-align:left; - vertical-align:middle; - } - } -.WHITE_TAGLINE {color:#B0B0B0;} -.GREY_TAGLINE {color:#E0E0E0;} -.BLUE_TAGLINE {color:#BAD2DA;} -.YELLOW_TAGLINE {color:#B3B0B3;} - -#head_row_1_search - { - display:inline-block; - padding:0 10px; - } -@media only screen and (max-width: 1280px) - { /* For mobile phones and tablets */ - #head_search_text - { - display:none; - } - } - -@media only screen and (max-width: 480px) - { /* For mobile phones */ - .SEL_ROLE {width:55px;} - .HEAD_USR - { - display:inline-block; - box-sizing:border-box; - max-width:200px; - text-align:left; - vertical-align:middle; - white-space:nowrap; - overflow:hidden; - text-overflow:ellipsis; - } - } -@media only screen and (min-width: 480px) - { /* For mobile phones */ - .SEL_ROLE {width:130px;} - .HEAD_USR - { - display:inline-block; - box-sizing:border-box; - max-width:320px; - text-align:left; - vertical-align:middle; - white-space:nowrap; - overflow:hidden; - text-overflow:ellipsis; - } - } -.WHITE_USR {color:#E0E0E0; font-size:15pt; font-weight:bold; white-space:nowrap;} -.GREY_USR {color:#E0E0E0; font-size:15pt; font-weight:bold; white-space:nowrap;} -.BLUE_USR {color:white; font-size:15pt; font-weight:bold; white-space:nowrap;} -.YELLOW_USR {color:#B3B0B3; font-size:15pt; font-weight:bold; white-space:nowrap;} - -#head_row_1_right - { - display:table-cell; - text-align:right; - vertical-align:middle; - } -#login_box - { - display:inline; - padding:0 10px; - } -@media only screen and (max-width: 1024px) - { /* For mobile phones and tablets */ - #login_txt - { - display:none; - } - } -.WHITE_HEAD {color:#E0E0E0; font-size:12pt; white-space:nowrap;} -.GREY_HEAD {color:#E0E0E0; font-size:12pt; white-space:nowrap;} -.BLUE_HEAD {color:white; font-size:12pt; white-space:nowrap;} -.YELLOW_HEAD {color:#B3B0B3; font-size:12pt; white-space:nowrap;} - -/************************ Layout (second heading row) ************************/ -#head_row_2 - { - display:table; - box-sizing:border-box; - width:100%; - vertical-align:top; - } -.HEAD_ROW_2_WHITE - { - background-image:-webkit-linear-gradient(#cfcfce 0,white 40px,white 100%); /* Safari */ - background-image:linear-gradient(#cfcfce 0,white 40px,white 100%); - } -.HEAD_ROW_2_GREY - { - background-color:#404040; - } -.HEAD_ROW_2_BLUE - { - background-color:#4f90c8; - } -.HEAD_ROW_2_YELLOW - { - background-color:#201420; - } - -/******************************* Current time ********************************/ -#head_row_2_time - { - display:table-cell; - box-sizing:border-box; - width:160px; - text-align:center; - vertical-align:middle; - } -#current_date - { - box-sizing:border-box; - background-color:rgba(255, 255, 255, 0.8); - width:80px; - margin-left:6px; - border-radius:4px; - box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 2px 1px -2px rgba(0,0,0,0.2), 0 1px 5px 0 rgba(0,0,0,0.12); - } -#current_month - { - border-radius:4px 4px 0 0; - background-color:rgba(222, 33, 33, 0.8); - color:white; - font-size:10pt; - font-weight:bold; - white-space:nowrap; - overflow:hidden; - } -.CURRENT_MONTH - { - color:white; - } -#current_day - { - color:#606060; - margin:2px 0 -2px 0; - font-size:20pt; - font-weight:bold; - line-height:100%; - } -.CURRENT_DAY - { - color:#606060; - } -#current_time - { - border-radius:0 0 4px 4px; - color:#606060; - font-size:12pt; - font-weight:bold; - } - -@media only screen and (max-width: 1024px) - { /* For mobile phones */ - #head_row_2_time - { - display:none; - } - } - -/****** Breadcrumb (platform/country/institution/centre/degree/course) *******/ -#head_row_2_hierarchy - { - display:table-cell; - text-align:center; - vertical-align:middle; - } -.TOP_LOGO /* Institution / Centre / Degree logo in top title */ - { - height:40px; - margin-right:10px; - text-align:left; - vertical-align:top !important; - } -@media only screen and (max-width: 480px) - { /* For mobile-phones */ - #breadcrumb - { - display:table; - margin:0 auto; - font-size:6pt; - font-weight:bold; - white-space:nowrap; - } - .BC - { - display:table-cell; - max-width:28px; - overflow:hidden; - } - } -@media only screen and (min-width: 480px) and (max-width: 800px) - { /* For mobile-phones */ - #breadcrumb - { - display:table; - margin:0 auto; - font-size:8pt; - font-weight:bold; - white-space:nowrap; - } - .BC - { - display:table-cell; - max-width:60px; - overflow:hidden; - } - } -@media only screen and (min-width: 800px) and (max-width: 1024px) - { /* For tablets */ - #breadcrumb - { - display:table; - margin:0 auto; - font-size:10pt; - font-weight:bold; - white-space:nowrap; - } - .BC - { - display:table-cell; - max-width:100px; - overflow:hidden; - } - } -@media only screen and (min-width: 1024px) - { /* For desktop */ - #breadcrumb - { - display:table; - margin:0 auto; - font-size:12pt; - font-weight:bold; - white-space:nowrap; - } - .BC - { - display:table-cell; - max-width:150px; - overflow:hidden; - } - } - -.BC_SEMIOFF {opacity:0.67;} -.BC_OFF {opacity:0.33;} - -.BC_WHITE {color:#707070;} -.BC_GREY {color:#FFB42E;} -.BC_BLUE {color:#FFE880;} -.BC_YELLOW {color:#FFC040;} - -.BC_ICON - { - display:inline-block; - width:20px; - height:20px; - vertical-align:middle; - margin:-1px 0 1px 0; - } - -/******** Big name of country, institution, centre, degree or course *********/ -#main_title - { - margin:0; - padding:0; - font-size:24pt; - font-weight:normal; - line-height:100%; - white-space:nowrap; - } -#big_name_container - { - display:inline-block; - } -@media only screen and (max-width: 1024px) - { /* For mobile-phones */ - #big_short_name - { - display:table-cell; - max-width:560px; - height:40px; - white-space:nowrap; - overflow:hidden; - text-overflow:ellipsis; - margin:0 auto; - vertical-align:middle; - } - #big_full_name - { - display:none; - } - } -@media only screen and (min-width: 1024px) - { /* For tablets and desktop */ - #big_short_name - { - display:none; - } - #big_full_name - { - display:table-cell; - max-width:899px; - height:40px; - white-space:nowrap; - overflow:hidden; - text-overflow:ellipsis; - margin:0 auto; - vertical-align:middle; - } - } -.WHITE_COURSE {color:#4D88A1;} -.GREY_COURSE {color:#F7F6F5;} -.BLUE_COURSE {color:white;} -.YELLOW_COURSE {color:white;} -#my_courses - { - width:130px; - margin:1px; - } - -/***************************** Notifications *********************************/ -#msg /* Notifications, used for AJAX based refresh */ - { - display:table-cell; - box-sizing:border-box; - width:160px; - text-align:center; - vertical-align:top; - padding-top:10px; - } -@media only screen and (max-width: 1024px) - { /* For mobile phones */ - #msg - { - display:none; - } - } -@media only screen and (min-width: 1024px) and (max-width: 1280px) - { /* For tablets */ - #notif_all - { - display:none; - } - } -.WHITE_NOTIF {color:#707070; font-size:12pt; white-space:nowrap;} -.GREY_NOTIF {color:#E0E0E0; font-size:12pt; white-space:nowrap;} -.BLUE_NOTIF {color:white; font-size:12pt; white-space:nowrap;} -.YELLOW_NOTIF {color:#B3B0B3; font-size:12pt; white-space:nowrap;} - -/******************* Layout (third heading row with tabs) ********************/ -.HEAD_ROW_3_WHITE - { - background-color:white; - } -.HEAD_ROW_3_GREY - { - background-image:-webkit-linear-gradient(#404040 0,#404040 54px,white 54px,white 100%); /* Safari */ - background-image:linear-gradient(#404040 0,#404040 54px,white 54px,white 100%); - } -.HEAD_ROW_3_BLUE - { - background-image:-webkit-linear-gradient(#4f90c8 0,#4f90c8 54px,white 54px,white 100%); /* Safari */ - background-image:linear-gradient(#4f90c8 0,#4f90c8 54px,white 54px,white 100%); - } -.HEAD_ROW_3_YELLOW - { - background-image:-webkit-linear-gradient(#201420 0,#201420 54px,white 54px,white 100%); /* Safari */ - background-image:linear-gradient(#201420 0,#201420 54px,white 54px,white 100%); - } -@media only screen and (max-width: 480px) - { /* For mobile-phones */ - #tabs - { - display:table; - box-sizing:border-box; - margin:0 auto; - border-spacing:1px 0; - } - .TAB_OFF - { - display:table-cell; - box-sizing:border-box; - width:38px; - height:60px; - margin:0; - padding:0; - border-radius:4px 4px 0 0; - box-shadow:inset 0 -1px 1px 0 rgba(50,50,50,0.2); - text-align:center; - vertical-align:top; - overflow:hidden; - } - .TAB_ON - { - display:table-cell; - box-sizing:border-box; - width:38px; - height:60px; - margin:0; - padding:0; - border-radius:4px 4px 0 0; - box-shadow:inset 0 -1px 1px 0 rgba(50,50,50,0.2); - text-align:center; - vertical-align:top; - overflow:hidden; - } - .TAB_TXT - { - font-size:9pt; - font-weight:bold; - line-height:100%; - max-width:30px; - white-space:nowrap; - overflow:hidden; - margin:0 auto; - text-transform:uppercase; - } - } -@media only screen and (min-width: 480px) and (max-width: 800px) - { /* For mobile-phones */ - #tabs - { - display:table; - box-sizing:border-box; - margin:0 auto; - border-spacing:1px 0; - } - .TAB_OFF - { - display:table-cell; - box-sizing:border-box; - width:58px; - height:60px; - margin:0; - padding:0; - border-radius:4px 4px 0 0; - box-shadow:inset 0 -1px 1px 0 rgba(50,50,50,0.2); - text-align:center; - vertical-align:top; - overflow:hidden; - } - .TAB_ON - { - display:table-cell; - box-sizing:border-box; - width:58px; - height:60px; - margin:0; - padding:0; - border-radius:4px 4px 0 0; - box-shadow:inset 0 -1px 1px 0 rgba(50,50,50,0.2); - text-align:center; - vertical-align:top; - overflow:hidden; - } - .TAB_TXT - { - font-size:9pt; - font-weight:bold; - line-height:100%; - max-width:50px; - white-space:nowrap; - overflow:hidden; - margin:0 auto; - text-transform:uppercase; - } - } -@media only screen and (min-width: 800px) - { /* For tablets and desktop */ - #tabs - { - display:table; - box-sizing:border-box; - margin:0 auto; - border-spacing:1px 0; - } - .TAB_OFF - { - display:table-cell; - box-sizing:border-box; - width:98px; - height:60px; - margin:0; - padding:0; - border-radius:4px 4px 0 0; - box-shadow:inset 0 -1px 1px 0 rgba(50,50,50,0.2); - text-align:center; - vertical-align:top; - overflow:hidden; - } - .TAB_ON - { - display:table-cell; - box-sizing:border-box; - width:98px; - height:60px; - margin:0; - padding:0; - border-radius:4px 4px 0 0; - box-shadow:inset 0 -1px 1px 0 rgba(50,50,50,0.2); - text-align:center; - vertical-align:top; - overflow:hidden; - } - .TAB_TXT - { - font-size:9pt; - font-weight:bold; - line-height:100%; - max-width:90px; - white-space:nowrap; - overflow:hidden; - margin:0 auto; - text-transform:uppercase; - } - } - -.TAB_ON_WHITE {background-color:rgba(247, 246, 245, 0.99);} -.TAB_ON_GREY {background-color:rgba(247, 246, 245, 0.99);} -.TAB_ON_BLUE {background-color:rgba(232, 243, 246, 0.99);} -.TAB_ON_YELLOW {background-color:rgba(255, 242, 189, 0.99);} - -.TAB_OFF_WHITE {background-color:#D4D4D4;} -.TAB_OFF_GREY {background-color:#AEA79F;} -.TAB_OFF_BLUE {background-color:#CAE1E8;} -.TAB_OFF_YELLOW {background-color:#FADE94;} - -.WHITE_TAB_OFF {color:#707070;} -.GREY_TAB_OFF {color:#505050;} -.BLUE_TAB_OFF {color:#365E6E;} -.YELLOW_TAB_OFF {color:#4A2E19;} - -.WHITE_TAB_ON {color:#4D88A1;} -.GREY_TAB_ON {color:#606060;} -.BLUE_TAB_ON {color:#4D88A1;} -.YELLOW_TAB_ON {color:#BD4815;} - -.TAB_ICO - { - width:36px; - height:36px; - vertical-align:middle; - margin-top:2px; - } - -/*********************** Layout (fourth row, main zone) **********************/ -#main_zone - { - display:table; - box-sizing:border-box; - width:100%; - } -.LEFT_RIGHT_CELL - { - padding:0 6px 6px 6px; - text-align:center; - vertical-align:top; - } - -@media only screen and (max-width: 1280px) - { /* For mobile phones and tablets */ - #main_zone_central_none, #main_zone_central_left, #main_zone_central_right, #main_zone_central_both - { - display:table-cell; - text-align:center; - vertical-align:top; - } - #left_col - { - display:none; - } - #right_col - { - display:none; - } - } -@media only screen and (min-width: 1280px) - { /* For desktop */ - #main_zone_central_none /* Hide left and right columns */ - { - display:table-cell; - text-align:center; - vertical-align:top; - } - #main_zone_central_left /* Show left column, hide right column */ - { - display:table-cell; - text-align:center; - vertical-align:top; - } - #main_zone_central_right /* Hide left column, show right column */ - { - display:table-cell; - text-align:center; - vertical-align:top; - padding-right:160px; - } - #main_zone_central_both /* Show both columns */ - { - display:table-cell; - text-align:center; - vertical-align:top; - padding-right:160px; - } - #left_col - { - display:table-cell; - box-sizing:border-box; - width:160px; - text-align:center; - vertical-align:top; - } - #right_col - { - display:table-cell; - box-sizing:border-box; - width:160px; - text-align:center; - vertical-align:top; - position:absolute; - right:0; - } - } - -@media only screen and (max-width: 800px) - { /* For mobile-phones */ - #main_zone_central_container - { - box-sizing:border-box; - margin:-6px 0 0 0; - padding:4px 0; - border-radius:4px; - box-shadow:inset 0 -1px 1px 0 rgba(50,50,50,0.2); - text-align:center; - vertical-align:top; - position:relative; - } - } -@media only screen and (min-width: 800px) - { /* For tablets and desktop */ - #main_zone_central_container - { - box-sizing:border-box; - min-height:900px; - margin:-6px 0 0 0; - padding:4px 0; - border-radius:4px; - box-shadow:inset 0 -1px 1px 0 rgba(50,50,50,0.2); - text-align:center; - vertical-align:top; - position:relative; - } - } - -/************* Main central zone with horizontal menu and canvas *************/ -#main_horizontal - { - box-sizing:border-box; - width:100%; - } -#main_horizontal .MENU_LIST_CONTAINER - { - width:100%; - } -#main_horizontal .MENU_LIST - { - display:table; - box-sizing:border-box; - height:60px; - margin:0 auto; - padding:0 8px; - list-style-type:none; - } -#main_horizontal .MENU_LIST_ITEM - { - display:table-cell; - width:128px; - height:60px; - margin:0 auto; - text-align:center; - vertical-align:middle; - } -#main_horizontal .MENU_OPT_OFF - { - opacity:0.67; - } -#main_horizontal .MENU_OPT_OFF:hover, #main_horizontal .MENU_OPT_ON - { - opacity:1; - transform:scale(1.286,1.286); - } -#main_horizontal .MENU_ICO - { - box-sizing:border-box; - padding:28px 0 0 0; - background-size:28px 28px; - background-repeat:no-repeat; - background-position:center top; - } -#main_horizontal .MAIN_ZONE_CANVAS /* Where content for each action is written */ - { - box-sizing:border-box; - width:100%; - padding:4px 8px; - margin:0 auto; - text-align:left; - vertical-align:top; - } - -/************** Main central zone with vertical menu and canvas **************/ -@media only screen and (max-width: 1024px) - { /* For mobile phones */ - /* Mobile phone will display menu always in horizontal - so the CSS must draw menu really in horizontal */ - #main_vertical - { - box-sizing:border-box; - width:100%; - } - #main_vertical .MENU_LIST_CONTAINER - { - width:100%; - } - #main_vertical .MENU_LIST - { - display:table; - box-sizing:border-box; - height:60px; - margin:0 auto; - padding:0 8px; - list-style-type:none; - } - #main_vertical .MENU_LIST_ITEM - { - display:table-cell; - width:128px; - height:60px; - margin:0 auto; - text-align:center; - vertical-align:middle; - } - #main_vertical .MENU_OPT_OFF - { - opacity:0.67; - } - #main_vertical .MENU_OPT_OFF:hover, #main_vertical .MENU_OPT_ON - { - opacity:1; - transform:scale(1.286,1.286); - } - #main_vertical .MENU_ICO - { - box-sizing:border-box; - padding:28px 0 0 0; - background-size:28px 28px; - background-repeat:no-repeat; - background-position:center top; - } - #main_vertical .MAIN_ZONE_CANVAS /* Where content for each action is written */ - { - box-sizing:border-box; - width:100%; - padding:4px 8px; - margin:0 auto; - text-align:left; - vertical-align:top; - } - #action_title /* Do not display action title */ - { - display:none; - } - } - -@media only screen and (min-width: 1024px) - { /* For tablets and desktop */ - #main_vertical - { - display:table; - box-sizing:border-box; - width:100%; - } - #main_vertical .MENU_LIST_CONTAINER - { - display:table-cell; - box-sizing:border-box; - width:170px; - } - #main_vertical .MENU_LIST - { - display:table; - margin:0; - padding-left:8px; - list-style-type:none; - } - #main_vertical .MENU_LIST_ITEM - { - text-align:left; - } - #main_vertical .MENU_OPT_OFF - { - opacity:0.67; - } - #main_vertical .MENU_OPT_OFF:hover, #main_vertical .MENU_OPT_ON - { - opacity:1; - } - #main_vertical .MENU_ICO - { - display:table-cell; - height:40px; - vertical-align:middle; - padding:2px 2px 2px 46px; - background-size:36px 36px; - background-repeat:no-repeat; - background-position:2px 2px; - } - #main_vertical .MAIN_ZONE_CANVAS /* Where content for each action is written */ - { - display:table-cell; - box-sizing:border-box; - padding:4px 8px; - margin:0 auto; - text-align:left; - vertical-align:top; - } - #action_title - { - box-sizing:border-box; - width:400px; - min-height:64px; - clear:both; - margin:0 auto; - text-align:left; - background-size:60px 60px; - background-position:0 0; - background-repeat:no-repeat; - padding:4px 0 8px 70px; - overflow:hidden; - } - } - -/********************************* Menu fonts ********************************/ -@media only screen and (max-width: 800px) - { /* For mobile-phones */ - .MENU_TEXT - { - font-size:12pt; - font-weight:bold; - line-height:110%; - white-space:nowrap; - overflow:hidden; - width:30px; - margin:0 auto; - } - } -@media only screen and (min-width: 800px) - { /* For tablets and desktop */ - .MENU_TEXT - { - font-size:12pt; - font-weight:bold; - line-height:110%; - margin:0 auto; - } - } - -.WHITE_MENU_OFF {color:#4D88A1;} -.GREY_MENU_OFF {color:#707070;} -.BLUE_MENU_OFF {color:#4D88A1;} -.YELLOW_MENU_OFF {color:#BD4815;} - -.WHITE_MENU_ON {color:#4D88A1;} -.GREY_MENU_ON {color:#606060;} -.BLUE_MENU_ON {color:#4D88A1;} -.YELLOW_MENU_ON {color:#BD4815;} - -/****************** Title of current action in main block ********************/ -.WHITE_TITLE_ACTION {color:#606060; font-size:20pt;} -.GREY_TITLE_ACTION {color:#606060; font-size:20pt;} -.BLUE_TITLE_ACTION {color:#4D88A1; font-size:20pt;} -.YELLOW_TITLE_ACTION {color:#BD4815; font-size:20pt;} - -.WHITE_SUBTITLE_ACTION {color:#606060; font-size:12pt;} -.GREY_SUBTITLE_ACTION {color:#606060; font-size:12pt;} -.BLUE_SUBTITLE_ACTION {color:#4D88A1; font-size:12pt;} -.YELLOW_SUBTITLE_ACTION {color:#BD4815; font-size:12pt;} - -/***************************** Users connected *******************************/ -.CONNECTED - { - box-sizing:border-box; - margin:0 auto; - background:white; - border-style:solid; - border-width:1px; - border-color:#80C040; - padding:5px; - border-radius:4px; - font-size:12pt; - color:#398000; - white-space:nowrap; - overflow:hidden; - text-overflow:ellipsis; - } -.CONNECTED_LIST - { - box-sizing:border-box; - margin-top:2px; - padding-top:2px; - border-style:solid; - border-width:1px 0 0 0; - border-color:#BFDF9F; - white-space:nowrap; - overflow:hidden; - } -.CONNECTED_TXT - { - color:#398000; - font-size:12pt; - } -.CON_USR_NARROW_TIT - { - max-width:136px; - white-space:nowrap; - overflow:hidden; - text-overflow:ellipsis; - text-align:center; - vertical-align:middle; - } -.CON_USR_NARROW - { - width:68px; - text-align:left; - vertical-align:middle; - } -.CON_USR_WIDE - { - width:320px; - text-align:left; - vertical-align:middle; - } -.CON_NAME_NARROW - { - max-width:68px; - white-space:nowrap; - overflow:hidden; - text-overflow:ellipsis; - } -.CON_NAME_WIDE - { - max-width:320px; - white-space:nowrap; - overflow:hidden; - text-overflow:ellipsis; - } -.CON_NO_CRS {color:#B8D070; font-size:11pt; line-height:110%; white-space:nowrap;} -.CON_CRS {color:#398000; font-size:11pt; line-height:110%; white-space:nowrap;} - -/*************************** Most frequent actions ***************************/ -#MFU_actions - { - box-sizing:border-box; - width:148px; - margin:0; - background:white; - border-style:solid; - border-width:1px; - border-color:#8CBCCE; - padding:5px; - border-radius:4px; - font-size:11pt; - color:#4D88A1; - } -#MFU_actions ul - { - box-sizing:border-box; - width:138px; - margin-top:2px; - padding-top:2px; - border-style:solid; - border-width:1px 0 0 0; - border-color:#DDECF1; - } -#MFU_actions li - { - width:138px; - white-space:nowrap; - overflow:hidden; - text-overflow:ellipsis; - } -#MFU_actions img - { - width:20px; - height:20px; - margin:1px; - vertical-align:middle; - } - -#MFU_actions_big - { - padding:5px; - } -#MFU_actions_big img - { - width:40px; - height:40px; - margin:1px 4px 1px 0; - vertical-align:middle; - } - -/*********************************** Month ***********************************/ -.MONTH_CONTAINER - { - box-sizing:border-box; - width:148px; - margin:0; - padding:5px; - background:white; - border-style:solid; - border-width:1px; - border-color:#8CBCCE; - border-radius:4px; - text-align:center; - overflow:hidden; - } -.MONTH_TABLE_DAYS - { - box-sizing:border-box; - width:138px; - margin-top:2px; - padding-top:2px; - border-style:solid; - border-width:1px 0 0 0; - border-color:#DDECF1; - } -.MONTH - { - color:#4D88A1; - font-size:9pt; - white-space:nowrap; - text-transform:uppercase; - } -.DAY_WRK_HEAD - { - color:#4D88A1; - font-size:9pt; - text-align:center; - } -.DAY_NO_WRK_HEAD - { - color:red; - font-size:9pt; - text-align:center; - } -.DAY_WRK - { - color:#202020; - font-size:9pt; - text-align:center; - } -.DAY_NO_WORK - { - color:#C04080; - font-size:9pt; - text-align:center; - } -.DAY_HLD - { - color:red; - font-size:9pt; - text-align:center; - } -.DAY_WRK_LIGHT - { - color:#E0E0E0; - font-size:9pt; - text-align:center; - } -.DAY_NO_WORK_LIGHT - { - color:#FFE0FF; - font-size:9pt; - text-align:center; - } -.DAY_HLD_LIGHT - { - color:#FFE0E0; - font-size:9pt; - text-align:center; - } -.DAY - { - border:solid 1px; - border-color:white; - text-align:center; - } -.TODAY - { - border:solid 1px; - border-color:#50B800; - text-align:center; - } -.DAY_EVENT - { - border:solid 1px; - border-color:white; - background-color:#FFF080; - text-align:center; - } -.TODAY_EVENT - { - border:solid 1px; - border-color:#50B800; - background-color:#FFF080; - text-align:center; - } - -/********************************* Buttons ***********************************/ -.BT_CREATE - { - background-color:#5BC33B; - border:1px solid #518741; - } -.BT_CONFIRM - { - background-color:#55ACEE; - border:1px solid #3B88C3; - } -.BT_REMOVE - { - background-color:#EF5555; - border:1px solid #C33B3B; - } -.BT_SUBMIT - { - margin:8px auto; - padding:10px 20px; - border-radius:4px; - box-shadow:0 1px 0 rgba(255,255,255,0.15) inset; - color:white; - font-size:20px; - font-weight:bold; - line-height:normal; - white-space:nowrap; - } -.BT_SUBMIT_INLINE - { - box-sizing:border-box; - min-width:170px; - margin:0 10px; - padding:2px 4px; - border-radius:4px; - box-shadow:0 1px 0 rgba(255,255,255,0.15) inset; - color:white; - font-size:15px; - font-weight:bold; - line-height:normal; - white-space:nowrap; - vertical-align:middle; - } -.BT_SUBMIT:hover - { - background-image:-webkit-linear-gradient(rgba(0,0,0,0),rgba(0,0,0,0.2)); /* Safari */ - background-image:linear-gradient(rgba(0,0,0,0),rgba(0,0,0,0.2)); - } -.BT_SUBMIT_INLINE:hover - { - background-image:-webkit-linear-gradient(rgba(0,0,0,0),rgba(0,0,0,0.2)); /* Safari */ - background-image:linear-gradient(rgba(0,0,0,0),rgba(0,0,0,0.2)); - } - -/********************************** Notice ***********************************/ -.NOTICE_CONTAINER_ACTIVE - { - box-sizing:border-box; - margin:0 auto 10px auto; - padding:10px; - background-image:-webkit-linear-gradient(rgba(238,216,108,0.8) 0%,rgba(248,237,149,0.8) 15%,rgba(250,240,152,0.8) 100%); /* Safari */ - background-image:linear-gradient(rgba(238,216,108,0.8) 0%,rgba(248,237,149,0.8) 15%,rgba(250,240,152,0.8) 100%); - box-shadow:0 8px 10px -5px rgba(125,113,0,0.8); - text-align:left; - overflow:hidden; - } -.NOTICE_CONTAINER_OBSOLETE - { - box-sizing:border-box; - margin:0 auto 10px auto; - padding:10px; - background-image:-webkit-linear-gradient(rgba(238,216,108,0.4) 0%,rgba(248,237,149,0.4) 15%,rgba(250,240,152,0.4) 100%); /* Safari */ - background-image:linear-gradient(rgba(238,216,108,0.4) 0%,rgba(248,237,149,0.4) 15%,rgba(250,240,152,0.4) 100%); - box-shadow:0 8px 10px -5px rgba(125,113,0,0.4); - text-align:left; - overflow:hidden; - } -.NOTICE_DATE_ACTIVE - { - float:right; - font-size:12pt; - color:#404040; - text-align:right; - overflow:hidden; - } -.NOTICE_DATE_OBSOLETE - { - float:right; - font-size:12pt; - color:#808080; - text-align:right; - overflow:hidden; - } -.NOTICE_SUBJECT_ACTIVE - { - margin:12px auto; - font-size:15pt; - font-weight:bold; - color:#404040; - text-align:center; - overflow:hidden; - } -.NOTICE_SUBJECT_OBSOLETE - { - margin:12px auto; - font-size:15pt; - font-weight:bold; - color:#808080; - text-align:center; - overflow:hidden; - } -.NOTICE_TEXT_BRIEF - { - clear:both; - font-size:12pt; - color:#204080; - overflow:hidden; - } -.NOTICE_TEXT_ACTIVE - { - padding:10px 20px; - clear:both; - font-size:12pt; - color:#204080; - overflow:hidden; - } -.NOTICE_TEXT_OBSOLETE - { - padding:10px 20px; - clear:both; - font-size:12pt; - color:#4070A0; - overflow:hidden; - } -.NOTICE_AUTHOR - { - box-sizing:border-box; - float:right; - max-width:120px; - text-align:right; - vertical-align:middle; - white-space:nowrap; - overflow:hidden; - text-overflow:ellipsis; - font-size:12pt; - } -.NOTICE_AUTHOR_ACTIVE - { - color:#404040; - } -.NOTICE_AUTHOR_OBSOLETE - { - color:#808080; - } - -/**************************** Institutional links ****************************/ -#institutional_links - { - box-sizing:border-box; - width:148px; - margin:0; - background:white; - border-style:solid; - border-width:1px; - border-color:#8CBCCE; - padding:5px; - border-radius:4px; - font-size:11pt; - color:#4D88A1; - } -#institutional_links ul - { - box-sizing:border-box; - width:138px; - margin-top:2px; - padding-top:2px; - border-style:solid; - border-width:1px 0 0 0; - border-color:#DDECF1; - } -#institutional_links li - { - width:138px; - white-space:nowrap; - overflow:hidden; - text-overflow:ellipsis; - } -.INS_LNK - { - padding:1px; - font-size:11pt; - color:#4D88A1; - } - -/*********************************** Alerts **********************************/ -.ALERT - { - display:inline-block; - box-sizing:border-box; - margin:8px auto; - padding:12px; - background-color:#FFF9EA; - border-radius:2px; - box-shadow: 0 2px 2px 0 rgba(124,121,109,0.14), 0 2px 1px -2px rgba(124,121,109,0.2), 0 1px 5px 0 rgba(124,121,109,0.12); - } -.ALERT_CLOSE - { - float:right; - margin:-8px -8px 8px 8px; - opacity:0.3; - } -.ALERT_CLOSE:hover - { - opacity:1; - } -.ALERT_TXT - { - box-sizing:border-box; - padding:8px 0 8px 40px; - background-position:8px 8px; - background-size:20px 20px; - background-repeat:no-repeat; - font-size:12pt; - color:#632921; - text-align:left; - overflow:hidden; - } - -/*********************************** Icons ***********************************/ -.ICO20x15 {width:20px; height:15px; vertical-align:middle;} -.ICO16x16 {width:16px; height:16px; vertical-align:middle;} -.ICO20x20 {width:20px; height:20px; vertical-align:middle;} -.ICO25x25 {width:25px; height:25px; vertical-align:middle;} -.ICO40x25 {width:40px; height:25px; vertical-align:middle;} -.ICO40x40 {width:40px; height:40px; vertical-align:middle;} -.ICO64x64 {width:64px; height:64px; vertical-align:middle;} -.ICO160x160 {width:160px; height:160px; vertical-align:middle;} -.BANNER {width:150px; height:50px;} -.BANNER_SMALL {width:75px; height:25px;} - -/****** Contextual links with small icons and text to go to some action ******/ -.CONTEXT_MENU - { - margin:4px auto 6px auto; - text-align:center; - } -.CONTEXT_OPT - { - display:inline-block; - margin-left:2px; - margin-right:2px; - white-space:nowrap; - } -.CONTEXT_COL - { - width:36px; - text-align:center; - vertical-align:top; - } - -/********************************** Frame ************************************/ -.FRAME_INLINE - { - display:inline-block; - margin:0 8px; - vertical-align:top; - } -.FRAME_CONTAINER - { - box-sizing:border-box; - width:100%; - text-align:center; - vertical-align:middle; - } -.FRAME - { - display:inline-block; - box-sizing:border-box; - margin:5px 0; - padding:8px 12px 20px 12px; - background-color:white; - border-radius:2px; - box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 2px 1px -2px rgba(0,0,0,0.2), 0 1px 5px 0 rgba(0,0,0,0.12); - text-align:center; - overflow:hidden; - } -.FRAME_SHADOW - { - display:inline-block; - box-sizing:border-box; - margin:5px 0 18px 0; - padding:12px; - background-color:rgba(255,255,255,0.95); - border-width:1px; - border-style:solid; - border-color:#C0C0C0; - border-radius:4px; - box-shadow:2px 5px 15px #888; - text-align:center; - overflow:hidden; - } -.FRAME_ICO - { - box-sizing:border-box; - height:20px; - text-align:left; - } -.FRAME_ICO_LEFT - { - display:inline-block; - } -.FRAME_ICO_RIGHT - { - float:right; - } -.FRAME_TBL_WIDE - { - box-sizing:border-box; - width:100%; - } -.FRAME_TBL_WIDE_MARGIN - { - box-sizing:border-box; - width:100%; - margin-bottom:20px; - } -.FRAME_TBL_CENTER - { - margin:0 auto; - } -.FRAME_TBL_CENTER_MARGIN - { - margin:0 auto; - margin-bottom:20px; - } -.FRAME_TITLE - { - display:table; - box-sizing:border-box; - width:100%; - margin:0 auto; - padding:0 12px 12px 12px; - } -.FRAME_TITLE_BIG - { - color:#606060; - font-size:22pt; - } -.FRAME_TITLE_SMALL - { - color:#808080; - font-size:18pt; - } - -/* Apply only to the first level of th and td */ -table.CELLS_PAD_1 > tbody > tr > th {padding: 1px;} -table.CELLS_PAD_1 > tbody > tr > td {padding: 1px;} -table.CELLS_PAD_2 > tbody > tr > th {padding: 2px;} -table.CELLS_PAD_2 > tbody > tr > td {padding: 2px;} -table.CELLS_PAD_5 > tbody > tr > th {padding: 5px;} -table.CELLS_PAD_5 > tbody > tr > td {padding: 5px;} -table.CELLS_PAD_10 > tbody > tr > th {padding:10px;} -table.CELLS_PAD_10 > tbody > tr > td {padding:10px;} - -/******************** Selector below the title of a frame ********************/ -.SEL_BELOW_TITLE - { - text-align:center; - vertical-align:middle; - margin-bottom:8px; - } -.SEL_BELOW_TITLE ul - { - display:inline-block; - list-style-type:none; - padding:0; - margin:0; - text-align:left; - vertical-align:middle; - } -.SEL_BELOW_TITLE li - { - display:inline; - text-align:left; - vertical-align:middle; - } -.SEL_BELOW_TITLE label - { - color:#404040; - font-size:13pt; - } - -/*********************************** Title ***********************************/ -.TIT - { - margin:13px auto 0 auto; - font-size:13pt; - font-weight:bold; - color:#94745C; - text-align:center; - } - -/********** Title of country, institution, centre, degree, course ************/ -.TITLE_LOCATION - { - color:#808080; - font-size:20pt; - font-weight:bold; - } - -/************************** Map and name of country **************************/ -.COUNTRY_SMALL - { - display:inline-block; - box-sizing:border-box; - max-width:300px; - text-align:left; - vertical-align:middle; - white-space:nowrap; - overflow:hidden; - text-overflow:ellipsis; - } -.COUNTRY_TINY - { - display:inline-block; - box-sizing:border-box; - max-width:120px; - text-align:left; - vertical-align:middle; - white-space:nowrap; - overflow:hidden; - text-overflow:ellipsis; - } -.COUNTRY_MAP_TITLE - { - box-sizing:border-box; - width:40px; - height:40px; - margin-right:10px; - vertical-align:top; - } -.COUNTRY_MAP_SMALL - { - box-sizing:border-box; - width:64px; - height:64px; - vertical-align:middle; - } -.COUNTRY_MAP_TINY - { - box-sizing:border-box; - width:20px; - height:20px; - vertical-align:middle; - } -.COUNTRY_MAP_SHOW - { - box-sizing:border-box; - width:320px; - height:320px; - margin:10px; - } -.COUNTRY_MAP_PRINT - { - box-sizing:border-box; - width:625px; - height:625px; - margin:12px; - } - -/********************* List of my courses ************************************/ -.MY_CRSS_LNK - { - box-sizing:border-box; - max-width:500px; - text-align:left; - vertical-align:middle; - white-space:nowrap; - overflow:hidden; - text-overflow:ellipsis; - } - -/******************* Web of institution, centre, degree **********************/ -.EXTERNAL_WWW_SHORT - { - box-sizing:border-box; - max-width:100px; - white-space:nowrap; - overflow:hidden; - text-overflow:ellipsis; - } -.EXTERNAL_WWW_LONG - { - box-sizing:border-box; - max-width:250px; - white-space:nowrap; - overflow:hidden; - text-overflow:ellipsis; - } - -/****************************** Photo of centre ******************************/ -.CENTRE_PHOTO_SHOW - { - box-sizing:border-box; - width:480px; - padding:6px; margin:9px; - border:solid 1px #EEE; - } -a:hover img.CENTRE_PHOTO_SHOW - { - border:solid 1px #CCC; - box-shadow:1px 1px 6px #999; - } -.CENTRE_PHOTO_PRINT - { - box-sizing:border-box; - width:600px; - padding:10px; margin:15px; - border:solid 1px #EEE; - box-shadow:1px 1px 6px #999; - } - -/**************** Attribution (author and license) of images *****************/ -#AttributionArea - { - box-sizing:border-box; - width:480px; - } -.ATTRIBUTION - { - box-sizing:border-box; - margin-bottom:15px; - color:#A0A0A0; - font-size:8pt; - text-align:center; - } - -/******************************* User's photo ********************************/ -.PHOTO15x20 {width: 15px; height: 20px; border-radius:2px; vertical-align:middle;} -.PHOTO15x20B {width: 15px; height: 20px; border-radius:2px; display:block; margin:0 auto;} -.PHOTO18x24 {width: 18px; height: 24px; border-radius:2px; vertical-align:middle;} -.PHOTO21x28 {width: 21px; height: 28px; border-radius:2px; vertical-align:middle;} -.PHOTO30x40 {width: 30px; height: 40px; border-radius:2px; vertical-align:middle;} -.PHOTO42x56 {width: 42px; height: 56px; border-radius:3px; vertical-align:middle;} -.PHOTO45x60 {width: 45px; height: 60px; border-radius:3px; vertical-align:middle;} -.PHOTO60x80 {width: 60px; height: 80px; border-radius:3px; vertical-align:middle;} -.PHOTO186x248 {width:186px; height:248px; border-radius:8px; vertical-align:middle;} -.IMG_USR - { - box-sizing:border-box; - width:186px; - height:248px; - border-radius:4px; - } -.ZOOM - { - box-sizing:border-box; - position:absolute; - z-index:1000; - left:-300px; - top:-400px; - padding:6px; - background-color:rgba(255,255,255,0.95); - border-width:1px; - border-style:solid; - border-color:#C0C0C0; - border-radius:6px; - box-shadow:2px 5px 15px #888; - } -.ZOOM_TXT_LINE - { - box-sizing:border-box; - display:block; - width:186px; - margin:0 auto; - white-space:nowrap; - overflow:hidden; - text-overflow:ellipsis; - } - -.NO_BR {white-space:nowrap;} - -/********************************* Messages **********************************/ -.MSG_RECIPIENTS, .MSG_SUBJECT, .MSG_CONTENT - { - box-sizing:border-box; - width:640px; - } -.BG_MSG_BLUE - { - background-image:-webkit-linear-gradient(#eaf3f6 0,#eaf3f6 80%,white 100%); /* Safari */ - background-image:linear-gradient(#eaf3f6 0,#eaf3f6 80%,white 100%); - background-repeat:no-repeat; - } -.BG_MSG_GREEN - { - background-image:-webkit-linear-gradient(#f5ffd7 0,#f5ffd7 80%,white 100%); /* Safari */ - background-image:linear-gradient(#f5ffd7 0,#f5ffd7 80%,white 100%); - background-repeat:no-repeat; - } - -/************************** Listing of users *********************************/ -.USR_LIST_NUM {color:#A0A0A0; font-size:15pt; font-weight:bold;} -.USR_LIST_NUM_N {color:#404040; font-size:15pt; font-weight:bold;} - -/*****************************************************************************/ -.WHITE_TITLE {color:#505050; font-size:18pt;} -.GREY_TITLE {color:#505050; font-size:18pt;} -.BLUE_TITLE {color:#4D88A1; font-size:18pt;} -.YELLOW_TITLE {color:#BD4815; font-size:18pt;} - -/*********************** Icon and checkbox highlighting **********************/ -.ICO_HIDDEN - { - opacity:0.2; - } -.ICO_HIGHLIGHT, .CHECKBOX_UNCHECKED - { - opacity:0.7; - } -.ICO_HIGHLIGHT:hover, .CHECKBOX_UNCHECKED:hover, .CHECKBOX_CHECKED - { - opacity:1; - } - -.HLP_HIGHLIGHT - { - opacity:0.3; - } -.HLP_HIGHLIGHT:hover - { - opacity:1; - } - -/********************************* Form fonts ********************************/ -.WHITE_FORM {color:#4D88A1; font-size:13pt;} -.GREY_FORM {color:#4D88A1; font-size:13pt;} -.BLUE_FORM {color:#4D88A1; font-size:13pt;} -.YELLOW_FORM {color:#7C4D2A; font-size:13pt;} - -.WHITE_FORM_DARK {color:#365E6E; font-size:13pt;} -.GREY_FORM_DARK {color:#365E6E; font-size:13pt;} -.BLUE_FORM_DARK {color:#365E6E; font-size:13pt;} -.YELLOW_FORM_DARK {color:#4A2E19; font-size:13pt;} - -.WHITE_FORM_NOWRAP {color:#4D88A1; font-size:13pt; white-space:nowrap;} -.GREY_FORM_NOWRAP {color:#4D88A1; font-size:13pt; white-space:nowrap;} -.BLUE_FORM_NOWRAP {color:#4D88A1; font-size:13pt; white-space:nowrap;} -.YELLOW_FORM_NOWRAP {color:#7C4D2A; font-size:13pt; white-space:nowrap;} - -.WHITE_FORM_BOLD {color:#4D88A1; font-size:13pt; font-weight:bold;} -.GREY_FORM_BOLD {color:#4D88A1; font-size:13pt; font-weight:bold;} -.BLUE_FORM_BOLD {color:#4D88A1; font-size:13pt; font-weight:bold;} -.YELLOW_FORM_BOLD {color:#7C4D2A; font-size:13pt; font-weight:bold;} - -/****************************** Placing of objects ***************************/ -.LEFT_TOP {text-align:left; vertical-align:top;} -.LEFT_MIDDLE {text-align:left; vertical-align:middle;} -.LEFT_BOTTOM {text-align:left; vertical-align:bottom;} -.CENTER_TOP {text-align:center; vertical-align:top;} -.CENTER_MIDDLE {text-align:center; vertical-align:middle;} -.CENTER_BOTTOM {text-align:center; vertical-align:bottom;} -.RIGHT_TOP {text-align:right; vertical-align:top;} -.RIGHT_MIDDLE {text-align:right; vertical-align:middle;} -.RIGHT_BOTTOM {text-align:right; vertical-align:bottom;} - -/***************** Colors used in headers,backgrounds,etc. *****************/ -.COLOR0 {background-color:#F4F2EA;} -.COLOR1 {background-color:#FBFAF7;} -.LIGHT_GREEN {background-color:#C0FF40;} -.LIGHT_BLUE {background-color:#DDECF1;} -.VERY_LIGHT_BLUE {background-color:#EAF3F6;} - -/********************************* Course info *******************************/ -#crs_info - { - margin:0; - padding:0 12px; - color:inherit; - } -#crs_info table - { - border:1px solid grey; - } -#crs_info th - { - border:1px solid grey; - background-color:#F0F0F0; - padding:6px; - } -#crs_info td - { - border:1px solid grey; - padding:6px; - } - -/************************ Help for the text editor ***************************/ -.HELP_EDIT - { - margin:10px; - text-align:center; - color:#808080; - font-size:8pt; - } - -/*********************************** Lists ***********************************/ -.LIST_LEFT - { - display:inline-block; - list-style-type:none; - padding:0; - margin:0; - text-align:left; - vertical-align:middle; - } - -/******************************* File browsers *******************************/ -.FILENAME - { - display:inline-block; - box-sizing:border-box; - width:260px; /* width of LST_EDIT + 10 */ - text-align:left; - vertical-align:middle; - white-space:nowrap; - overflow:hidden; - text-overflow:ellipsis; - } -.FILENAME_TXT - { - color:#404040; - font-size:18pt; - font-weight:bold; - } -.BROWSER_TITLE {color:#94745C; font-size:13pt; font-weight:bold;} -.BROWSER_TITLE_LIGHT {color:#D5C6BB; font-size:13pt; font-weight:bold;} -.BROWSER_SUBTITLE {color:#94745C; font-size:12pt;} -.BROWSER_TABLE - { - box-sizing:border-box; - width:100%; - } -.LST {color:#404040; font-size:11pt; white-space:nowrap;} -.LST_HID {color:#A0A0A0; font-size:11pt; white-space:nowrap;} -.LST_REC {color:#008000; font-size:11pt; white-space:nowrap;} -.LST_REC_HID {color:#89BE87; font-size:11pt; white-space:nowrap;} -.LST_EDIT {width:250px; color:#404040; font-weight:bold; font-size:11pt; height:20px; padding:0; margin:-1px; border-width:1px; border-style:solid; border-color:#ECE9D8;} -.LST_EDIT_HID {width:250px; color:#A0A0A0; font-weight:bold; font-size:11pt; height:20px; padding:0; margin:-1px; border-width:1px; border-style:solid; border-color:#ECE9D8;} -.LST_EDIT_REC {width:250px; color:#008000; font-weight:bold; font-size:11pt; height:20px; padding:0; margin:-1px; border-width:1px; border-style:solid; border-color:#ECE9D8;} -.LST_EDIT_REC_HID {width:250px; color:#89BE87; font-weight:bold; font-size:11pt; height:20px; padding:0; margin:-1px; border-width:1px; border-style:solid; border-color:#ECE9D8;} -.LST_EDIT_ROWS {width:30px; color:#404040; font-weight:bold; font-size:11pt; height:20px; padding:0; margin:-1px; border-width:1px; border-style:solid; border-color:#ECE9D8;} - -/************** Paragraph (margin on top and bottom of a div) ****************/ -.PAR - { - margin-top:1em; - margin-bottom:1em; - } - -/*****************************************************************************/ - -.T1 {color:#404040; font-size:15pt;} -.T2 {color:#404040; font-size:13pt;} -.T3 {color:#404040; font-size:12pt;} - -.DAT {color:#606060; font-size:13pt;} -.DAT_NOBR {color:#606060; font-size:13pt; white-space:nowrap;} -.DAT_BOLD {color:#606060; font-size:13pt; font-weight:bold;} -.DAT_GREEN {color:#008000; font-size:13pt;} -.DAT_LIGHT {color:#A0A0A0; font-size:13pt;} -.DAT_N {color:black; font-size:13pt;} -.DAT_NOBR_N {color:black; font-size:13pt; white-space:nowrap;} -.DAT_N_BOLD {color:black; font-size:13pt; font-weight:bold;} - -/*********************** Line in top part of a table row *********************/ -.DAT_N_LINE_TOP - { - color:black; - font-size:13pt; - border-style:solid none none none; - border-width:1px; - } - -.DAT_SMALL {font-family:"Arial Narrow","Nimbus Sans L","DejaVu LGC Sans Condensed",sans-serif; color:#606060; font-size:12pt;} -.DAT_SMALL_LIGHT {font-family:"Arial Narrow","Nimbus Sans L","DejaVu LGC Sans Condensed",sans-serif; color:#A0A0A0; font-size:12pt;} -.DAT_SMALL_NOBR {font-family:"Arial Narrow","Nimbus Sans L","DejaVu LGC Sans Condensed",sans-serif; color:#606060; font-size:12pt; white-space:nowrap;} -.DAT_SMALL_N {font-family:"Arial Narrow","Nimbus Sans L","DejaVu LGC Sans Condensed",sans-serif; color:black; font-size:12pt;} -.DAT_SMALL_NOBR_N {font-family:"Arial Narrow","Nimbus Sans L","DejaVu LGC Sans Condensed",sans-serif; color:black; font-size:12pt; white-space:nowrap;} - -.DAT_SMALL_GREY {font-family:"Arial Narrow","Nimbus Sans L","DejaVu LGC Sans Condensed",sans-serif; color:#707070; font-size:12pt;} -.DAT_SMALL_RED {font-family:"Arial Narrow","Nimbus Sans L","DejaVu LGC Sans Condensed",sans-serif; color:red; font-size:12pt;} -.DAT_SMALL_GREEN {font-family:"Arial Narrow","Nimbus Sans L","DejaVu LGC Sans Condensed",sans-serif; color:#008000; font-size:12pt;} -.DAT_SMALL_BLUE {font-family:"Arial Narrow","Nimbus Sans L","DejaVu LGC Sans Condensed",sans-serif; color:#0080FF; font-size:12pt;} -.DAT_SMALL_YELLOW {font-family:"Arial Narrow","Nimbus Sans L","DejaVu LGC Sans Condensed",sans-serif; color:#C0C000; font-size:12pt;} - -/******************************** User's IDs *********************************/ -.USR_ID {font-size:18pt; font-weight:bold;} -.USR_ID_C {color:#408020} -.USR_ID_NC {color:#A02020} - -/******************************* Record card *********************************/ -.REC_USR - { - display:block; - margin:0 0 12px 0; - text-align:center; - } -.REC_LEFT, .REC_RIGHT - { - display:inline-block; - margin:0 6px; - vertical-align:top; - } - -.REC_C1_TOP - { - box-sizing:border-box; - width:68px; - padding-top:8px !important; - vertical-align:top; - } -.REC_C2_TOP - { - box-sizing:border-box; - width:278px; - height:68px; - padding-top:8px !important; - } -.REC_C3_TOP - { - box-sizing:border-box; - width:190px; - } - -.REC_C1_MID - { - box-sizing:border-box; - width:68px; - } -.REC_C2_MID - { - box-sizing:border-box; - width:278px; - } -.REC_C3_MID - { - box-sizing:border-box; - width:190px; - } - -.REC_C1_BOT - { - box-sizing:border-box; - width:170px; - } -.REC_C2_BOT - { - box-sizing:border-box; - width:362px; - } -.REC_C2_BOT_INPUT - { - box-sizing:border-box; - width:358px; - } - -.REC_HEAD {font-family:Georgia,"DejaVu LGC Serif","Bitstream Vera Serif",serif; color:#808080; font-size:12pt;} -.REC_NAME - { - box-sizing:border-box; - max-width:274px; - white-space:nowrap; - overflow:hidden; - text-overflow:ellipsis; - color:#808080; - font-size:20pt; - font-weight:bold; - } -.REC_NICK - { - color:#808080; - font-size:15pt; - font-weight:bold; - } -.REC_WEBS - { - width:180px; - margin:0 auto; - } -.REC_EMAIL - { - box-sizing:border-box; - max-width:358px; - white-space:nowrap; - overflow:hidden; - text-overflow:ellipsis; - } -.REC_DAT - { - color:#808080; - font-size:13pt; - line-height:110%; - } -.REC_DAT_BOLD - { - color:black; - font-size:13pt; - line-height:110%; - } - -/******************************** Class photo ********************************/ -.CLASSPHOTO_TITLE - { - color:#606060; - font-family:Georgia,"DejaVu LGC Serif","Bitstream Vera Serif",serif; - font-size:13pt; - } -.CLASSPHOTO - { - color:#606060; - font-size:10pt; - line-height:110%; - white-space:nowrap; - } -.CLASSPHOTO_CAPTION - { - display:block; - box-sizing:border-box; - max-width:60px; - white-space:nowrap; - overflow:hidden; - text-overflow:ellipsis; - margin:0 auto; - } - -/*****************************************************************************/ -.MSJ_AVISO {color:#632921; font-size:12pt;} -.TIT_TBL {color:#4D88A1; font-size:12pt; font-weight:bold;} - -.GRP_TITLE {color:#4D88A1; font-size:15pt; font-weight:bold;} - -.ASG_TITLE {color:#4D88A1; font-size:15pt; font-weight:bold;} -.ASG_TITLE_LIGHT {color:#AFC4CC; font-size:15pt; font-weight:bold;} -.ASG_LABEL {color:#4D88A1; font-size:13pt;} -.ASG_LABEL_LIGHT {color:#AFC4CC; font-size:13pt;} -.ASG_GRP {color:#4D88A1; font-size:12pt;} -.ASG_GRP_LIGHT {color:#AFC4CC; font-size:12pt;} - -.DATE_RED {color:red; font-size:13pt;} -.DATE_RED_LIGHT {color:#F98A8A; font-size:13pt;} -.DATE_GREEN {color:#008000; font-size:13pt;} -.DATE_GREEN_LIGHT {color:#89BE87; font-size:13pt;} -.DATE_BLUE {color:#4D88A1; font-size:13pt;} -.DATE_BLUE_LIGHT {color:#AFC4CC; font-size:13pt;} - -.ASG_LST_DATE_GREEN {color:#008000; font-size:11pt; white-space:nowrap;} -.ASG_LST_DATE_RED {color:red; font-size:11pt; white-space:nowrap;} - -.STATUS_GREEN {color:#008000; font-size:12pt;} -.STATUS_GREEN_LIGHT {color:#89BE87; font-size:12pt;} -.STATUS_RED {color:red; font-size:12pt;} -.STATUS_RED_LIGHT {color:#F98A8A; font-size:12pt;} - -/********************** Number of question, project, etc. ********************/ -.BIG_INDEX {color:#808080; font-size:20pt; font-weight:bold;} - -/******************************** Projects ***********************************/ -.PRJ_LST_USR - { - margin:0; - padding-left:1em; - } -.PRJ_INPUT - { - max-width:500px; - } - -/********************************** Tests ************************************/ -.TAG_SEL {box-sizing:border-box; width:346px;} -.TAG_TXT {box-sizing:border-box; width:346px;} -.STEM {box-sizing:border-box; width:700px;} -.ANS_TXT {color:#404040; font-size:12pt;} -.ANS_0 {color:#404040; font-size:12pt; font-weight:bold;} -.ANS_OK {color:#008000; font-size:12pt; font-weight:bold;} -.ANS_BAD {color:red; font-size:12pt; font-weight:bold;} -.ANS_STR {box-sizing:border-box; width:600px;} -.TEST_SUBTITLE - { - margin:10px; - color:#404040; - font-size:13pt; - text-align:center; - vertical-align:middle; - } -.TEST_EXA {color:#404040; font-size:12pt;} -.TEST_EXA_LIGHT {color:#A0A0A0; font-size:12pt;} -.TEST_EDI {color:#404040; font-size:12pt;} -.TEST_EDI_LIGHT {color:#A0A0A0; font-size:12pt;} - -.TEST_TAG_LIST - { - padding:0; - margin:0 0 0 1em; - } - -.TEST_IMG_SHOW_STEM_CONTAINER - { - box-sizing:border-box; - width:100%; - margin:10px 0; - } -.TEST_IMG_SHOW_STEM - { - box-sizing:border-box; - width:100%; - border-radius:4px; - } -.TEST_IMG_SHOW_ANS_CONTAINER - { - box-sizing:border-box; - width:100%; - margin:10px 0; - } -.TEST_IMG_SHOW_ANS - { - box-sizing:border-box; - width:100%; - border-radius:4px; - } -.TEST_IMG_EDIT_LIST_STEM_CONTAINER - { - box-sizing:border-box; - width:100%; - margin:5px 0; - } -.TEST_IMG_EDIT_LIST_STEM - { - box-sizing:border-box; - width:100%; - border-radius:2px; - } -.TEST_IMG_EDIT_LIST_ANS_CONTAINER - { - box-sizing:border-box; - width:100%; - margin:5px 0; - } -.TEST_IMG_EDIT_LIST_ANS - { - box-sizing:border-box; - width:100%; - border-radius:2px; - } - -.TEST_FORM_EDIT_IMG - { - box-sizing:border-box; - margin:15px 0; - text-align:left; - vertical-align:top; - } - -.TEST_IMG_EDIT_ONE_STEM_CONTAINER - { - box-sizing:border-box; - width:100%; - } -.TEST_IMG_EDIT_ONE_STEM - { - box-sizing:border-box; - width:100%; - border-radius:4px; - } -.TEST_IMG_EDIT_ONE_ANS_CONTAINER - { - box-sizing:border-box; - width:100%; - } -.TEST_IMG_EDIT_ONE_ANS - { - box-sizing:border-box; - width:100%; - border-radius:4px; - } - -.TEST_EDI_ANS_LEFT_COL - { - box-sizing:border-box; - width:50px; - text-align:left; - vertical-align:top; - } -.TEST_EDI_ANS_CENTER_COL - { - box-sizing:border-box; - width:50px; - text-align:right; - vertical-align:top; - } -.TEST_EDI_ANS_RIGHT_COL - { - box-sizing:border-box; - width:604px; - text-align:left; - vertical-align:top; - } - -/********************************** Games ************************************/ -.GAM_PLAY_CONTAINER - { - box-sizing:border-box; - display:table; - margin:5%; - } -.GAM_PLAY_NUM_QST - { - width:10%; - float:left; - /* position:relative; */ - padding-bottom:24pt; - color:#808080; - font-size:48pt; - font-weight:bold; - } -.GAM_PLAY_QST_CONTAINER - { - width:80%; - float:left; - /* position:relative; */ - } -.GAM_PLAY_NXT_CONTAINER - { - width:10%; - float:left; - /* position:relative; */ - } -.GAM_PLAY_QST - { - color:#404040; - font-size:24pt; - } -.GAM_PLAY_CONTINUE_CONTAINER - { - clear:all; - text-align:center; - } -.GAM_PLAY_CONTINUE_CONTAINER a - { - text-decoration:none; - } -.GAM_PLAY_CONTINUE - { - font-size:16pt; - } - -/******************************* Time table **********************************/ -#timetable - { - width:100%; - margin:0 auto; - } -.TT_CELL - { - box-sizing:border-box; - max-width:80px; - white-space:nowrap; - overflow:hidden; - text-overflow:ellipsis; - margin:0 auto; - } -.TT_TXT - { - font-family:"Arial Narrow","Nimbus Sans L","DejaVu LGC Sans Condensed",sans-serif; - color:#345C6C; - font-size:10pt; - line-height:100%; - letter-spacing:0; - } -.TT_DAY - { - font-family:"Arial Narrow","Nimbus Sans L","DejaVu LGC Sans Condensed",sans-serif; - color:#404040; - font-size:10pt; - letter-spacing:0; - } -.TT_SUNDAY - { - font-family:"Arial Narrow","Nimbus Sans L","DejaVu LGC Sans Condensed",sans-serif; - color:red; - font-size:10pt; - letter-spacing:0; - } -.TT_HOUR_BIG - { - /* font-family:"Arial Narrow","Nimbus Sans L","DejaVu LGC Sans Condensed",sans-serif; */ - color:#808080; - font-size:10pt; - font-weight:bold; - line-height:100%; - letter-spacing:0; - } -.TT_HOUR_SMALL - { - font-family:"Arial Narrow","Nimbus Sans L","DejaVu LGC Sans Condensed",sans-serif; - color:#A0A0A0; - font-size:10pt; - line-height:100%; - letter-spacing:0; - } -.TT_HOURCOL {box-sizing:border-box; height:16px; width:7%;} -.TT_HOUR {box-sizing:border-box; height:32px; width:7%;} -.TT_MINICOL {box-sizing:border-box; height:16px; width:2%;} -.TT_ALIGN {box-sizing:border-box; height:16px; width:1%;} -.TT_FREE0 {box-sizing:border-box; height:16px; background-color:#F4F2EA; border:solid 1px; border-color:#F4F2EA #E0D9C2 #EEEADC #F4F2EA;} -.TT_FREE1 {box-sizing:border-box; height:16px; background-color:#F4F2EA; border:solid 1px; border-color:#F4F2EA #E0D9C2 #E0D9C2 #F4F2EA;} -.TT_FREE2 {box-sizing:border-box; height:16px; background-color:#FBFAF7; border:solid 1px; border-color:#FBFAF7 #E0D9C2 #F5F2E9 #FBFAF7;} -.TT_FREE3 {box-sizing:border-box; height:16px; background-color:#FBFAF7; border:solid 1px; border-color:#FBFAF7 #E0D9C2 #E0D9C2 #FBFAF7;} -.TT_LECT {box-sizing:border-box; height:16px; background-color:#C0DAE4; border:solid 2px; border-color:#D5F1FC #AAC1C9 #AAC1C9 #D5F1FC;} -.TT_PRAC {box-sizing:border-box; height:16px; background-color:#DBE5E9; border:solid 2px; border-color:#EDF8FC #C7D0D4 #C7D0D4 #EDF8FC;} -.TT_TUTO {box-sizing:border-box; height:16px; background-color:#D6E9C3; border:solid 2px; border-color:#E8FCD3 #C2D4B1 #C2D4B1 #E8FCD3;} - -/********************************* Preference ********************************/ -.PREF_CONTAINER - { - display:inline-block; - margin:0 10px; - } -.PREF_OFF - { - display:table-cell; - box-sizing:border-box; - padding:6px; - text-align:center; - vertical-align:middle; - border:solid 1px; - border-color:transparent; - } -.PREF_ON - { - display:table-cell; - box-sizing:border-box; - padding:6px; - text-align:center; - vertical-align:middle; - border:solid 1px; - border-color:#C0DAE4; - background-color:#DDECF1; - } - -/************************************* Log ***********************************/ -.LOG - { - font-family:"Arial Narrow","Nimbus Sans L","DejaVu LGC Sans Condensed",sans-serif; - font-size:11pt; - color:#606060; - } -.LOG_R - { - font-family:"Arial Narrow","Nimbus Sans L","DejaVu LGC Sans Condensed",sans-serif; - font-size:11pt; - color:red; - } - -/***************************** Exam announcement *****************************/ -/* Bottom space is used for signatures */ -.EXA_ANN_VISIBLE - { - box-sizing:border-box; - width:100%; - padding:25px 25px 125px 25px; - } -.EXA_ANN_HIDDEN - { - box-sizing:border-box; - width:100%; - padding:25px 25px 125px 25px; - opacity:0.33; - } - -/****************************** Image uploading ******************************/ -.IMG_UPLOAD_CONTAINER - { - vertical-align:top; - margin-bottom:10px; - } -.IMG_UPLOAD_BUTTON - { - cursor:pointer; - } -.IMG_UPLOAD_ICO - { - width:20px; - height:20px; - margin:0 5px; - vertical-align:middle; - } -.IMG_UPLOAD_FILE - { - display:none; - } -.IMG_UPLOAD_FILENAME - { - color:#808080; - font-size:12pt; - } - -/********** Author of assignments, attendance, messages, surveys... **********/ -.AUTHOR_1_LINE - { - display:inline-block; - box-sizing:border-box; - max-width:100px; - height:20px; - text-align:left; - vertical-align:middle; - white-space:nowrap; - overflow:hidden; - text-overflow:ellipsis; - } -.AUTHOR_2_LINES - { - display:inline-block; - box-sizing:border-box; - max-width:60px; - height:40px; - text-align:left; - vertical-align:middle; - white-space:nowrap; - overflow:hidden; - text-overflow:ellipsis; - } -.AUTHOR_TXT {color:#4D88A1; font-size:11pt;} -.AUTHOR_TXT_LIGHT {color:#AFC4CC; font-size:11pt;} -.AUTHOR_TXT_NEW {color:#4D88A1; font-size:11pt; font-weight:bold;} - -/************************** Owner of assignments and works *******************/ -.OWNER_WORKS_PHOTO - { - box-sizing:border-box; - width:64px; - text-align:left; - vertical-align:top; - } -.OWNER_WORKS_DATA - { - display:inline-block; - box-sizing:border-box; - width:100px; - text-align:left; - vertical-align:top; - white-space:nowrap; - overflow:hidden; - text-overflow:ellipsis; - } - -/***************************** Listing of users ******************************/ -.USR_DAT - { - box-sizing:border-box; - max-width:120px; - overflow:hidden; - text-overflow:ellipsis; - } - -/**************************** Enrolment requests *****************************/ -.REQUESTER_NAME - { - box-sizing:border-box; - max-width:100px; - white-space:nowrap; - overflow:hidden; - text-overflow:ellipsis; - } - -/******************************** Social activity ****************************/ -#view_new_posts_container,#view_old_posts_container - { - display:table-cell; - height:50px; - text-align:center; - vertical-align:middle; - } -#just_now_timeline_list,#new_timeline_list,#old_timeline_list - { - display:none; - margin:0; - padding:0; - } -#old_timeline_list - { - margin:0; - padding:0; - } - -.SOCIAL_PUB - { - width:536px; - border-top:1px solid silver; - } -.SOCIAL_NEW_PUB - { - background-color:#DDECF1; - animation: fadein 2s linear forwards; - } -@keyframes fadein - { - to {background-color:white;} - } - -.SOCIAL_FORM_NEW_POST - { - padding:10px 0; - width:480px; - text-align:center; - } -.SOCIAL_TOP_CONTAINER - { - box-sizing:border-box; - width:536px; - padding-top:10px; - text-align:left; - white-space:nowrap; - overflow:hidden; - text-overflow:ellipsis; - } -.SOCIAL_TOP_PUBLISHER - { - color:#808080; - font-size:13pt; - } - -.SOCIAL_NOTE_LEFT_PHOTO - { - display:inline-block; - box-sizing:border-box; - width:56px; - height:70px; - padding:10px 0; - text-align:left; - vertical-align:top; - } -.SOCIAL_NOTE_RIGHT_CONTAINER - { - display:inline-block; - box-sizing:border-box; - width:480px; - padding-top:10px; - } -.SOCIAL_RIGHT_AUTHOR - { - display:inline-block; - box-sizing:border-box; - width:320px; - text-align:left; - vertical-align:top; - white-space:nowrap; - overflow:hidden; - text-overflow:ellipsis; - } -.SOCIAL_RIGHT_TIME - { - display:inline-block; - box-sizing:border-box; - width:160px; - text-align:right; - vertical-align:top; - } -.SOCIAL_BOTTOM_LEFT /* Container for button used to toggle new comment form */ - { - display:inline-block; - box-sizing:border-box; - width:56px; - vertical-align:bottom; - } -.SOCIAL_BOTTOM_RIGHT /* Container for fav, share, remove and comments */ - { - display:inline-block; - box-sizing:border-box; - width:480px; - vertical-align:top; - } -.SOCIAL_ICOS_FAV_SHA_REM /* Container for fav, share and remove */ - { - padding-bottom:10px; - } -.SOCIAL_TEXTAREA_POST - { - box-sizing:border-box; - width:480px; - margin:0; - resize:none; - } -.SOCIAL_TXT - { - padding:5px 0; - color:#404040; - font-size:13pt; - } -.SOCIAL_POST_IMG_CONTAINER - { - box-sizing:border-box; - width:480px; - margin:10px 0; - } -.SOCIAL_POST_IMG - { - box-sizing:border-box; - width:480px; - border-radius:4px; - } -.SOCIAL_POST_IMG_TIT_URL - { - box-sizing:border-box; - width:440px; - } -.SOCIAL_ICO_COMMENT - { - display:inline-block; - padding-bottom:10px; - } -.SOCIAL_ICO_COMMENT_DISABLED - { - display:inline-block; - padding-bottom:10px; - opacity:0.1; - } -.SOCIAL_ICO_FAV - { - display:inline-block; - vertical-align:bottom; - } -.SOCIAL_ICO_SHARE - { - display:inline-block; - padding-left:20px; - vertical-align:bottom; - } -.SOCIAL_ICO_FAV_DISABLED - { - display:inline-block; - vertical-align:bottom; - opacity:0.1; - } -.SOCIAL_ICO_SHARE_DISABLED - { - display:inline-block; - padding-left:20px; - vertical-align:bottom; - opacity:0.1; - } -.SOCIAL_ICO_REMOVE - { - vertical-align:bottom; - float:right; - } -.SOCIAL_NUM_SHARES_FAVS - { - color:#A0A0A0; - font-size:12pt; - font-weight:bold; - } -.SOCIAL_SHARER - { - display:inline-block; - padding-left:4px; - vertical-align:bottom; - } -.SOCIAL_COMMENT - { - border-top:1px solid silver; - } -.SOCIAL_COMMENT_PHOTO - { - display:inline-block; - box-sizing:border-box; - width:40px; - height:54px; - padding:10px 0; - text-align:left; - vertical-align:top; - } -.SOCIAL_COMMENT_RIGHT_CONTAINER - { - display:inline-block; - box-sizing:border-box; - width:440px; - padding:10px 0; - } -.SOCIAL_COMMENT_RIGHT_AUTHOR - { - display:inline-block; - box-sizing:border-box; - width:280px; - text-align:left; - vertical-align:top; - white-space:nowrap; - overflow:hidden; - text-overflow:ellipsis; - } -.SOCIAL_FORM_NEW_COMMENT - { - display:inline-block; - margin-left:56px; - border-top:1px solid silver; - padding-bottom:10px; - width:480px; - text-align:center; - } -.SOCIAL_TEXTAREA_COMMENT - { - box-sizing:border-box; - width:440px; - margin:0; - resize:none; - } -.SOCIAL_COMMENT_IMG_CONTAINER - { - box-sizing:border-box; - width:440px; - margin:10px 0; - } -.SOCIAL_COMMENT_IMG - { - box-sizing:border-box; - width:440px; - border-radius:4px; - } -.SOCIAL_COMMENT_IMG_TIT_URL - { - box-sizing:border-box; - width:440px; - } - -/************************************ Forum **********************************/ -.FOR_IMG_CONTAINER - { - box-sizing:border-box; - width:100%; - margin:10px 0; - } -.FOR_IMG - { - box-sizing:border-box; - width:100%; - border-radius:4px; - } -.FOR_IMG_TIT_URL - { - box-sizing:border-box; - width:480px; - } - -/*********************************** Messages ********************************/ -.MSG_TO_ONE_RCP - { - display:inline-block; - padding-left:4px; - text-align:left; - vertical-align:middle; - } -.MSG_IMG_CONTAINER - { - box-sizing:border-box; - width:100%; - margin:10px 0; - } -.MSG_IMG - { - box-sizing:border-box; - width:100%; - border-radius:4px; - } -.MSG_IMG_TIT_URL - { - box-sizing:border-box; - width:480px; - } -.MSG_TXT {color:#404040; font-size:13pt;} -.MSG_TIT {color:#4D88A1; font-size:13pt;} -.MSG_TIT_NEW {color:#4D88A1; font-size:13pt; font-weight:bold;} -.MSG_TIT_REM {color:#AFC4CC; font-size:13pt;} -.MSG_TIT_BG - { - background-image:-webkit-linear-gradient(#eaf3f6 0,#eaf3f6 80%,white 100%); /* Safari */ - background-image:linear-gradient(#eaf3f6 0,#eaf3f6 80%,white 100%); - background-repeat:no-repeat; - color:#4D88A1; - font-size:13pt; - } -.MSG_TIT_BG_NEW - { - background-image:-webkit-linear-gradient(#f5ffd7 0,#f5ffd7 80%,white 100%); /* Safari */ - background-image:linear-gradient(#f5ffd7 0,#f5ffd7 80%,white 100%); - background-repeat:no-repeat; - color:#4D88A1; - font-size:13pt; - font-weight:bold; - } -.MSG_TIT_BG_REM - { - background-image:-webkit-linear-gradient(#f3fcff 0,#f3fcff 80%,white 100%); /* Safari */ - background-image:linear-gradient(#f3fcff 0,#f3fcff 80%,white 100%); - background-repeat:no-repeat; - color:#AFC4CC; - font-size:13pt; - } -.MSG_AUT_BG - { - background-image:-webkit-linear-gradient(#eaf3f6 0,#eaf3f6 80%,white 100%); /* Safari */ - background-image:linear-gradient(#eaf3f6 0,#eaf3f6 80%,white 100%); - background-repeat:no-repeat; - color:#4D88A1; - font-size:11pt; - } -.MSG_AUT_BG_NEW - { - background-image:-webkit-linear-gradient(#f5ffd7 0,#f5ffd7 80%,white 100%); /* Safari */ - background-image:linear-gradient(#f5ffd7 0,#f5ffd7 80%,white 100%); - background-repeat:no-repeat; - color:#4D88A1; - font-size:11pt; - font-weight:bold; - } -.MSG_AUT_BG_REM - { - background-image:-webkit-linear-gradient(#f3fcff 0,#f3fcff 80%,white 100%); /* Safari */ - background-image:linear-gradient(#f3fcff 0,#f3fcff 80%,white 100%); - background-repeat:no-repeat; - color:#AFC4CC; - font-size:11pt; - } -.MSG_DATE {color:#4D88A1; font-size:11pt;} -.MSG_DATE_NEW {color:#4D88A1; font-size:11pt; font-weight:bold;} - -.BT {width:20px; text-align:center; vertical-align:top;} -.BT0 {width:20px; text-align:center; vertical-align:top; background-color:#F4F2EA;} -.BT1 {width:20px; text-align:center; vertical-align:top; background-color:#FBFAF7;} -.BM {width:20px; text-align:center; vertical-align:middle;} -.BM_SEL {width:20px; text-align:center; vertical-align:middle; background-color:#C0FF40;} -.BM0 {width:20px; text-align:center; vertical-align:middle; background-color:#F4F2EA;} -.BM1 {width:20px; text-align:center; vertical-align:middle; background-color:#FBFAF7;} - -/******************************** Pagination *********************************/ -.PAG - { - display:inline-block; - box-sizing:border-box; - margin:4px 2px; - padding:2px 8px; - border-style:solid; - border-width:1px; - border-radius:4px; - border-color:#C0DAE4; - } -a.PAG:hover, .PAG_CUR - { - display:inline-block; - box-sizing:border-box; - margin:4px 2px; - padding:2px 8px; - border-style:solid; - border-width:1px; - border-radius:4px; - border-color:#C0DAE4; - background-color:#DDECF1; - text-decoration:none; - } -.PAG_TXT - { - font-size:13pt; - font-weight:bold; - color:#4D88A1; - } - -/***************************** Calls for exams *******************************/ -.CONV_TIT - { - font-family:Garamond,"DejaVu LGC Serif","Bitstream Vera Serif",serif; - color:#404040; - font-weight:bold; - font-size:18pt; - } -.CONV_TIT_IMPR - { - font-family:Garamond,"DejaVu LGC Serif","Bitstream Vera Serif",serif; - color:#202020; - font-weight:bold; - font-size:18pt; - } -.CONV_NEG - { - font-family:Garamond,"DejaVu LGC Serif","Bitstream Vera Serif",serif; - color:#404040; - font-weight:bold; - font-size:13pt; - white-space:nowrap; - } -.CONV_NEG_IMPR - { - font-family:Garamond,"DejaVu LGC Serif","Bitstream Vera Serif",serif; - color:#202020; - font-weight:bold; - font-size:13pt; - white-space:nowrap; - text-align:right; - } -.CONV - { - font-family:Garamond,"DejaVu LGC Serif","Bitstream Vera Serif",serif; - color:#404040; - font-size:13pt; - } -.CONV_IMPR - { - font-family:Garamond,"DejaVu LGC Serif","Bitstream Vera Serif",serif; - color:#202020; - font-size:13pt; - } - -/***************************** Public user's profile *************************/ -.PRF_FIG_LEFT_CONTAINER - { - display:inline-block; - box-sizing:border-box; - width:50%; - padding-right:10px; - text-align:right; - vertical-align:top; - } -.PRF_FIG_RIGHT_CONTAINER - { - display:inline-block; - box-sizing:border-box; - width:50%; - padding-left:10px; - text-align:left; - vertical-align:top; - } -.PRF_FIG_UL - { - display:inline-block; - list-style-type:none; - padding:0; - margin:0; - text-align:left; - vertical-align:middle; - } -.PRF_FIG_LI - { - padding:0 0 0 24px; - background-size:20px 20px; - background-repeat:no-repeat; - background-position:left center; - opacity:0.67; - } - -#following_side - { - display:inline-block; - box-sizing:border-box; - width:50%; - padding-right:10px; - } -#followers_side - { - display:inline-block; - box-sizing:border-box; - width:50%; - padding-left:10px; - } -.FOLLOW_SIDE - { - display:table; - box-sizing:border-box; - width:100%; - } -#follows_me - { - display:table-cell; - box-sizing:border-box; - padding-right:20px; - text-align:right; - vertical-align:middle; - } -#follow_usr - { - display:table-cell; - height:60px; - box-sizing:border-box; - padding-left:20px; - text-align:left; - vertical-align:middle; - } -.FOLLOW_BOX - { - display:table-cell; - width:140px; - text-align:center; - vertical-align:middle; - } -.FOLLOW_NUM - { - color:#404040; - font-size:30pt; - font-weight:bold; - opacity:0.5; - } -.FOLLOW_NUM_B - { - color:#404040; - font-size:30pt; - font-weight:bold; - } -.FOLLOW_PHOTO - { - box-sizing:border-box; - width:72px; - height:90px; - text-align:left; - vertical-align:bottom; - } -.FOLLOW_USR - { - box-sizing:border-box; - width:100px; - height:90px; - } -.FOLLOW_USR_NAME - { - box-sizing:border-box; - max-width:100px; - text-align:left; - vertical-align:bottom; - white-space:nowrap; - overflow:hidden; - text-overflow:ellipsis; - } -.FOLLOW_USR_ICO - { - padding:4px; - } - -/****************************** Users ranking ********************************/ -.RANK_USR - { - box-sizing:border-box; - max-width:50px; - text-align:left; - vertical-align:middle; - white-space:nowrap; - overflow:hidden; - text-overflow:ellipsis; - } - -/************************* Indicators about courses **************************/ -.INDICATORS td,.INDICATORS th - { - border:1px solid silver; - border-collapse:collapse; - padding:1px; - } -.INDICATORS th - { - color:#4D88A1; - font-size:12pt; - font-weight:bold; - } -.INDICATORS_INPUT - { - max-width:500px; - } - -/************* Forms to edit institution, centre, degree, course *************/ -.CODE - { - min-width:60px; - text-align:right; - vertical-align:middle; - } -.INPUT_INS_CODE - { - width:90px; - } -.INPUT_SHORT_NAME - { - width:90px; - } -.INPUT_FULL_NAME - { - width:180px; - } -.INPUT_WWW - { - width:90px; - } - -.INPUT_STATUS - { - width:80px; - } -.INPUT_REQUESTER - { - width:90px; - } - -/********************************* Page foot *********************************/ -@media only screen and (max-width: 800px) - { /* For mobile-phones */ - #foot_zone, #about_zone - { - display:none; - } - } -@media only screen and (min-width: 800px) - { /* For tablets and desktop */ - #foot_zone - { - padding:20px; - } - #about_zone - { - padding:20px; - text-align:center; - } - } -.FOOT_LIST_CONTAINER - { - position:relative; - float:left; - text-align:left; - padding-bottom:20px; - background:white; - } -.FOOT_LIST_TITLE - { - color:#666; - font-size:14pt; - font-weight:bold; - white-space:nowrap; - } -.FOOT_LIST - { - box-sizing:border-box; - list-style-type:none; - margin:0; - padding:0; - border-width:0; - font-size:12pt; - white-space:nowrap; - line-height:140%; - } -.FOOT_LINK - { - color:#2C90C9; - } -.ABOUT - { - color:#A0A0A0; - font-size:12pt; - } - -/************** Something that does not take up space and is not shown *******/ -.NOT_SHOWN - { - display:none; - } - -/************ Something that takes up space but which is invisible ***********/ -.HIDDEN - { - visibility:hidden; - } diff --git a/icon/at.svg b/icon/at.svg new file mode 100644 index 00000000..d1d0f775 --- /dev/null +++ b/icon/at.svg @@ -0,0 +1 @@ + diff --git a/icon/building.svg b/icon/building.svg new file mode 100644 index 00000000..9b6eccbf --- /dev/null +++ b/icon/building.svg @@ -0,0 +1 @@ + diff --git a/icon/calendar.svg b/icon/calendar.svg new file mode 100644 index 00000000..d26b929e --- /dev/null +++ b/icon/calendar.svg @@ -0,0 +1 @@ + diff --git a/icon/camera.svg b/icon/camera.svg new file mode 100644 index 00000000..3f8beb06 --- /dev/null +++ b/icon/camera.svg @@ -0,0 +1 @@ + diff --git a/icon/card.svg b/icon/card.svg new file mode 100644 index 00000000..352e473f --- /dev/null +++ b/icon/card.svg @@ -0,0 +1 @@ + diff --git a/icon/envelope.svg b/icon/envelope.svg new file mode 100644 index 00000000..4e7a6b0e --- /dev/null +++ b/icon/envelope.svg @@ -0,0 +1 @@ + diff --git a/icon/globe.svg b/icon/globe.svg new file mode 100644 index 00000000..de2770f1 --- /dev/null +++ b/icon/globe.svg @@ -0,0 +1 @@ + diff --git a/icon/graduation-cap.svg b/icon/graduation-cap.svg new file mode 100644 index 00000000..2ff8174c --- /dev/null +++ b/icon/graduation-cap.svg @@ -0,0 +1 @@ + diff --git a/icon/iconset/awesome/at.svg b/icon/iconset/awesome/at.svg new file mode 100644 index 00000000..d1d0f775 --- /dev/null +++ b/icon/iconset/awesome/at.svg @@ -0,0 +1 @@ + diff --git a/icon/iconset/awesome/building.svg b/icon/iconset/awesome/building.svg new file mode 100644 index 00000000..9b6eccbf --- /dev/null +++ b/icon/iconset/awesome/building.svg @@ -0,0 +1 @@ + diff --git a/icon/iconset/awesome/calendar.svg b/icon/iconset/awesome/calendar.svg new file mode 100644 index 00000000..d26b929e --- /dev/null +++ b/icon/iconset/awesome/calendar.svg @@ -0,0 +1 @@ + diff --git a/icon/iconset/awesome/card.svg b/icon/iconset/awesome/card.svg new file mode 100644 index 00000000..352e473f --- /dev/null +++ b/icon/iconset/awesome/card.svg @@ -0,0 +1 @@ + diff --git a/icon/iconset/awesome/envelope.svg b/icon/iconset/awesome/envelope.svg new file mode 100644 index 00000000..4e7a6b0e --- /dev/null +++ b/icon/iconset/awesome/envelope.svg @@ -0,0 +1 @@ + diff --git a/icon/iconset/awesome/globe.svg b/icon/iconset/awesome/globe.svg new file mode 100644 index 00000000..de2770f1 --- /dev/null +++ b/icon/iconset/awesome/globe.svg @@ -0,0 +1 @@ + diff --git a/icon/iconset/awesome/graduation-cap.svg b/icon/iconset/awesome/graduation-cap.svg new file mode 100644 index 00000000..2ff8174c --- /dev/null +++ b/icon/iconset/awesome/graduation-cap.svg @@ -0,0 +1 @@ + diff --git a/icon/iconset/awesome/list-ol.svg b/icon/iconset/awesome/list-ol.svg new file mode 100644 index 00000000..2823b83d --- /dev/null +++ b/icon/iconset/awesome/list-ol.svg @@ -0,0 +1 @@ + diff --git a/icon/iconset/awesome/sitemap.svg b/icon/iconset/awesome/sitemap.svg new file mode 100644 index 00000000..e3822892 --- /dev/null +++ b/icon/iconset/awesome/sitemap.svg @@ -0,0 +1 @@ + diff --git a/icon/iconset/awesome/university.svg b/icon/iconset/awesome/university.svg new file mode 100644 index 00000000..54f17281 --- /dev/null +++ b/icon/iconset/awesome/university.svg @@ -0,0 +1 @@ + diff --git a/icon/iconset/awesome/user.svg b/icon/iconset/awesome/user.svg new file mode 100644 index 00000000..a52b1161 --- /dev/null +++ b/icon/iconset/awesome/user.svg @@ -0,0 +1 @@ + diff --git a/icon/iconset/nuvola/at.png b/icon/iconset/nuvola/at.png new file mode 100644 index 00000000..d90ff71f Binary files /dev/null and b/icon/iconset/nuvola/at.png differ diff --git a/icon/iconset/nuvola/building.svg b/icon/iconset/nuvola/building.svg new file mode 100644 index 00000000..40af0666 --- /dev/null +++ b/icon/iconset/nuvola/building.svg @@ -0,0 +1,183 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/icon/iconset/nuvola/calendar.svg b/icon/iconset/nuvola/calendar.svg new file mode 100644 index 00000000..5df1f31f --- /dev/null +++ b/icon/iconset/nuvola/calendar.svg @@ -0,0 +1,419 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/icon/iconset/nuvola/card.svg b/icon/iconset/nuvola/card.svg new file mode 100644 index 00000000..cd75c532 --- /dev/null +++ b/icon/iconset/nuvola/card.svg @@ -0,0 +1,1216 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/icon/iconset/nuvola/envelope.png b/icon/iconset/nuvola/envelope.png new file mode 100644 index 00000000..eafc86b5 Binary files /dev/null and b/icon/iconset/nuvola/envelope.png differ diff --git a/icon/iconset/nuvola/globe.svg b/icon/iconset/nuvola/globe.svg new file mode 100644 index 00000000..fd2ee444 --- /dev/null +++ b/icon/iconset/nuvola/globe.svg @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/icon/iconset/nuvola/graduation-cap.png b/icon/iconset/nuvola/graduation-cap.png new file mode 100644 index 00000000..51ec4014 Binary files /dev/null and b/icon/iconset/nuvola/graduation-cap.png differ diff --git a/icon/iconset/nuvola/list-ol.png b/icon/iconset/nuvola/list-ol.png new file mode 100644 index 00000000..f7ec49e8 Binary files /dev/null and b/icon/iconset/nuvola/list-ol.png differ diff --git a/icon/iconset/nuvola/sitemap.svg b/icon/iconset/nuvola/sitemap.svg new file mode 100644 index 00000000..ab95d978 --- /dev/null +++ b/icon/iconset/nuvola/sitemap.svg @@ -0,0 +1,62 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/icon/iconset/nuvola/university.png b/icon/iconset/nuvola/university.png new file mode 100644 index 00000000..780699e2 Binary files /dev/null and b/icon/iconset/nuvola/university.png differ diff --git a/icon/iconset/nuvola/user.svg b/icon/iconset/nuvola/user.svg new file mode 100644 index 00000000..02773ae9 --- /dev/null +++ b/icon/iconset/nuvola/user.svg @@ -0,0 +1,456 @@ + + + + + + + image/svg+xml + + + User icon + + + STyx + + + Nuvola_apps_edu_languages.svg + + + User + Utilisateur + namespace + + + + + + GFDL + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/icon/list-ol.svg b/icon/list-ol.svg new file mode 100644 index 00000000..2823b83d --- /dev/null +++ b/icon/list-ol.svg @@ -0,0 +1 @@ + diff --git a/icon/mysitemap.png b/icon/mysitemap.png new file mode 100644 index 00000000..b75eca8e Binary files /dev/null and b/icon/mysitemap.png differ diff --git a/icon/pen.svg b/icon/pen.svg new file mode 100644 index 00000000..01c7e253 --- /dev/null +++ b/icon/pen.svg @@ -0,0 +1 @@ + diff --git a/icon/qrcode.svg b/icon/qrcode.svg new file mode 100644 index 00000000..b2f75ea0 --- /dev/null +++ b/icon/qrcode.svg @@ -0,0 +1 @@ + diff --git a/icon/sitemap.svg b/icon/sitemap.svg new file mode 100644 index 00000000..e3822892 --- /dev/null +++ b/icon/sitemap.svg @@ -0,0 +1 @@ + diff --git a/icon/theme/blue/sitemap.svg b/icon/theme/blue/sitemap.svg new file mode 100644 index 00000000..e027b420 --- /dev/null +++ b/icon/theme/blue/sitemap.svg @@ -0,0 +1 @@ + diff --git a/icon/theme/grey/sitemap.svg b/icon/theme/grey/sitemap.svg new file mode 100644 index 00000000..3422d25c --- /dev/null +++ b/icon/theme/grey/sitemap.svg @@ -0,0 +1 @@ + diff --git a/icon/theme/white/sitemap.svg b/icon/theme/white/sitemap.svg new file mode 100644 index 00000000..5ea77ddc --- /dev/null +++ b/icon/theme/white/sitemap.svg @@ -0,0 +1 @@ + diff --git a/icon/theme/yellow/sitemap.svg b/icon/theme/yellow/sitemap.svg new file mode 100644 index 00000000..3a2c9493 --- /dev/null +++ b/icon/theme/yellow/sitemap.svg @@ -0,0 +1 @@ + diff --git a/icon/university.svg b/icon/university.svg new file mode 100644 index 00000000..54f17281 --- /dev/null +++ b/icon/university.svg @@ -0,0 +1 @@ + diff --git a/icon/user-cog.svg b/icon/user-cog.svg new file mode 100644 index 00000000..d56d352e --- /dev/null +++ b/icon/user-cog.svg @@ -0,0 +1 @@ + diff --git a/icon/user.svg b/icon/user.svg new file mode 100644 index 00000000..a52b1161 --- /dev/null +++ b/icon/user.svg @@ -0,0 +1 @@ + diff --git a/icon/users-cog.svg b/icon/users-cog.svg new file mode 100644 index 00000000..dc61d692 --- /dev/null +++ b/icon/users-cog.svg @@ -0,0 +1 @@ + diff --git a/swad_ID.c b/swad_ID.c index a4db05d0..d6ab3a03 100644 --- a/swad_ID.c +++ b/swad_ID.c @@ -672,7 +672,7 @@ static void ID_ShowFormChangeUsrID (const struct UsrData *UsrDat, fprintf (Gbl.F.Out,"\"%s\"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Gbl.Title,Gbl.Title); } diff --git a/swad_MFU.c b/swad_MFU.c index ab9a1b3d..ac5fc0d1 100644 --- a/swad_MFU.c +++ b/swad_MFU.c @@ -247,7 +247,7 @@ void MFU_WriteBigMFUActions (struct MFU_ListMFUActions *ListMFUActions) Frm_StartForm (Action); Frm_LinkFormSubmit (TabMenuStr,The_ClassFormNoWrap[Gbl.Prefs.Theme],NULL); fprintf (Gbl.F.Out,"\"%s\"", - Gbl.Prefs.PathIconSet, + Gbl.Prefs.URLIconSet, Act_GetIcon (Action), MenuStr); fprintf (Gbl.F.Out," %s",TabMenuStr); @@ -310,7 +310,7 @@ void MFU_WriteSmallMFUActions (struct MFU_ListMFUActions *ListMFUActions) Frm_StartForm (Action); Frm_LinkFormSubmit (TabMenuStr,NULL,NULL); fprintf (Gbl.F.Out,"\"%s\"", - Gbl.Prefs.PathIconSet, + Gbl.Prefs.URLIconSet, Act_GetIcon (Action), MenuStr); fprintf (Gbl.F.Out," %s",MenuStr); diff --git a/swad_QR.c b/swad_QR.c index 9fdac523..d78e522b 100644 --- a/swad_QR.c +++ b/swad_QR.c @@ -70,7 +70,7 @@ void QR_PutLinkToPrintQRCode (Act_Action_t Action,void (*FuncParams) ()) /***** Link to print QR *****/ Lay_PutContextualLink (Action,NULL,FuncParams, - "qr64x64.gif", + "qrcode.svg", Txt_QR_code,NULL, NULL); } diff --git a/swad_RSS.c b/swad_RSS.c index 72dbaa37..49d8b073 100644 --- a/swad_RSS.c +++ b/swad_RSS.c @@ -103,7 +103,7 @@ void RSS_UpdateRSSFileForACrs (struct Course *Crs) fprintf (FileRSS,"\n"); fprintf (FileRSS,"%s/swad112x32.png\n", - Gbl.Prefs.IconsURL); + Gbl.Prefs.URLIcons); fprintf (FileRSS,"%s: %s\n", Cfg_PLATFORM_SHORT_NAME,Crs->ShrtName); fprintf (FileRSS,"%s/?crs=%ld\n", diff --git a/swad_account.c b/swad_account.c index fd61b80e..e7f9da47 100644 --- a/swad_account.c +++ b/swad_account.c @@ -98,7 +98,7 @@ void Acc_PutLinkToCreateAccount (void) extern const char *Txt_Create_account; Lay_PutContextualLink (ActFrmMyAcc,NULL,NULL, - "arroba64x64.gif", + "at.svg", Txt_Create_account,Txt_Create_account, NULL); } @@ -1214,7 +1214,7 @@ void Acc_PutIconToChangeUsrAccount (void) /***** Link for changing the account *****/ if (ItsMe) Lay_PutContextualLink (ActFrmMyAcc,NULL,NULL, - "arroba64x64.gif", + "at.svg", Txt_Change_account,NULL, NULL); else // Not me @@ -1234,7 +1234,7 @@ void Acc_PutIconToChangeUsrAccount (void) break; } Lay_PutContextualLink (NextAction,NULL,Rec_PutParamUsrCodEncrypted, - "arroba64x64.gif", + "at.svg", Txt_Change_account,NULL, NULL); } diff --git a/swad_action.c b/swad_action.c index 81a4d486..7bfe60a0 100644 --- a/swad_action.c +++ b/swad_action.c @@ -1630,13 +1630,13 @@ struct Act_Actions Act_Actions[Act_NUM_ACTIONS] = // TabSys ****************************************************************** // Actions in menu: - /* ActSysReqSch */{ 627, 0,TabSys,ActSysReqSch , 0, 0, 0, 0, 0, 0,0x3C7,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Sch_ReqSysSearch ,"search.svg" }, - /* ActSeeCty */{ 862, 1,TabSys,ActSeeCty , 0, 0, 0, 0, 0, 0,0x3C7,Act_CONT_NORM,Act_BRW_1ST_TAB,Cty_ListCountries1 ,Cty_ListCountries2 ,"earth64x64.gif" }, - /* ActSeePen */{1060, 2,TabSys,ActSeePen , 0, 0, 0, 0, 0, 0,0x3C0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Hie_SeePending ,"hierarchy64x64.png" }, - /* ActSeeLnk */{ 748, 3,TabSys,ActSeeLnk , 0, 0, 0, 0, 0, 0,0x3C7,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Lnk_SeeLinks ,"link64x64.gif" }, - /* ActLstPlg */{ 777, 4,TabSys,ActLstPlg , 0, 0, 0, 0, 0, 0,0x200,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Plg_ListPlugins ,"blocks64x64.gif" }, - /* ActSetUp */{ 840, 5,TabSys,ActSetUp , 0, 0, 0, 0, 0, 0,0x200,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Set_Setup ,"lightning64x64.gif" }, - /* ActSeeCalSys */{1622, 6,TabSys,ActSeeCalSys , 0, 0, 0, 0, 0, 0,0x3C7,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Cal_DrawCalendarSys ,"calendar64x64.png" }, + /* ActSysReqSch */{ 627, 0,TabSys,ActSysReqSch , 0, 0, 0, 0, 0, 0,0x3C7,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Sch_ReqSysSearch ,"search" }, + /* ActSeeCty */{ 862, 1,TabSys,ActSeeCty , 0, 0, 0, 0, 0, 0,0x3C7,Act_CONT_NORM,Act_BRW_1ST_TAB,Cty_ListCountries1 ,Cty_ListCountries2 ,"globe" }, + /* ActSeePen */{1060, 2,TabSys,ActSeePen , 0, 0, 0, 0, 0, 0,0x3C0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Hie_SeePending ,"sitemap" }, + /* ActSeeLnk */{ 748, 3,TabSys,ActSeeLnk , 0, 0, 0, 0, 0, 0,0x3C7,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Lnk_SeeLinks ,"link64x64" }, + /* ActLstPlg */{ 777, 4,TabSys,ActLstPlg , 0, 0, 0, 0, 0, 0,0x200,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Plg_ListPlugins ,"blocks64x64" }, + /* ActSetUp */{ 840, 5,TabSys,ActSetUp , 0, 0, 0, 0, 0, 0,0x200,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Set_Setup ,"lightning64x64" }, + /* ActSeeCalSys */{1622, 6,TabSys,ActSeeCalSys , 0, 0, 0, 0, 0, 0,0x3C7,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Cal_DrawCalendarSys ,"calendar" }, // Actions not in menu: /* ActSysSch */{ 628,-1,TabUnk,ActSysReqSch , 0, 0, 0, 0, 0, 0,0x3C7,Act_CONT_NORM,Act_BRW_1ST_TAB,Sch_GetParamsSearch ,Sch_SysSearch ,NULL}, @@ -1684,10 +1684,10 @@ struct Act_Actions Act_Actions[Act_NUM_ACTIONS] = // TabCty ****************************************************************** // Actions in menu: - /* ActCtyReqSch */{1176, 0,TabCty,ActCtyReqSch , 0, 0, 0, 0, 0,0x3C7, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Sch_ReqCtySearch ,"search.svg" }, - /* ActSeeCtyInf */{1155, 1,TabCty,ActSeeCtyInf , 0, 0, 0, 0, 0,0x3C7, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Cty_ShowConfiguration ,"info64x64.gif" }, - /* ActSeeIns */{ 696, 2,TabCty,ActSeeIns , 0, 0, 0, 0, 0,0x3C7, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Ins_ShowInssOfCurrentCty ,"institution64x64.gif" }, - /* ActSeeCalCty */{1625, 3,TabCty,ActSeeCalCty , 0, 0, 0, 0, 0,0x3C7, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Cal_DrawCalendarCty ,"calendar64x64.png" }, + /* ActCtyReqSch */{1176, 0,TabCty,ActCtyReqSch , 0, 0, 0, 0, 0,0x3C7, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Sch_ReqCtySearch ,"search" }, + /* ActSeeCtyInf */{1155, 1,TabCty,ActSeeCtyInf , 0, 0, 0, 0, 0,0x3C7, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Cty_ShowConfiguration ,"info64x64" }, + /* ActSeeIns */{ 696, 2,TabCty,ActSeeIns , 0, 0, 0, 0, 0,0x3C7, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Ins_ShowInssOfCurrentCty ,"university" }, + /* ActSeeCalCty */{1625, 3,TabCty,ActSeeCalCty , 0, 0, 0, 0, 0,0x3C7, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Cal_DrawCalendarCty ,"calendar" }, // Actions not in menu: /* ActCtySch */{1181,-1,TabUnk,ActCtyReqSch , 0, 0, 0, 0, 0,0x3C7, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,Sch_GetParamsSearch ,Sch_CtySearch ,NULL}, @@ -1709,12 +1709,12 @@ struct Act_Actions Act_Actions[Act_NUM_ACTIONS] = // TabIns ****************************************************************** // Actions in menu: - /* ActInsReqSch */{1177, 0,TabIns,ActInsReqSch , 0, 0, 0, 0,0x3C7, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Sch_ReqInsSearch ,"search.svg" }, - /* ActSeeInsInf */{1153, 1,TabIns,ActSeeInsInf , 0, 0, 0, 0,0x3C7, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Ins_ShowConfiguration ,"info64x64.gif" }, - /* ActSeeCtr */{ 676, 2,TabIns,ActSeeCtr , 0, 0, 0, 0,0x3C7, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Ctr_ShowCtrsOfCurrentIns ,"house64x64.gif" }, - /* ActSeePlc */{ 703, 3,TabIns,ActSeePlc , 0, 0, 0, 0,0x3C7, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Plc_SeePlaces ,"mapmarker64x64.png" }, - /* ActSeeDpt */{ 675, 4,TabIns,ActSeeDpt , 0, 0, 0, 0,0x3C7, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Dpt_SeeDepts ,"houseteachers64x64.gif"}, - /* ActSeeCalIns */{1628, 5,TabIns,ActSeeCalIns , 0, 0, 0, 0,0x3C7, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Cal_DrawCalendarIns ,"calendar64x64.png" }, + /* ActInsReqSch */{1177, 0,TabIns,ActInsReqSch , 0, 0, 0, 0,0x3C7, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Sch_ReqInsSearch ,"search" }, + /* ActSeeInsInf */{1153, 1,TabIns,ActSeeInsInf , 0, 0, 0, 0,0x3C7, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Ins_ShowConfiguration ,"info64x64" }, + /* ActSeeCtr */{ 676, 2,TabIns,ActSeeCtr , 0, 0, 0, 0,0x3C7, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Ctr_ShowCtrsOfCurrentIns ,"building" }, + /* ActSeePlc */{ 703, 3,TabIns,ActSeePlc , 0, 0, 0, 0,0x3C7, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Plc_SeePlaces ,"mapmarker64x64" }, + /* ActSeeDpt */{ 675, 4,TabIns,ActSeeDpt , 0, 0, 0, 0,0x3C7, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Dpt_SeeDepts ,"houseteachers64x64" }, + /* ActSeeCalIns */{1628, 5,TabIns,ActSeeCalIns , 0, 0, 0, 0,0x3C7, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Cal_DrawCalendarIns ,"calendar" }, // Actions not in menu: /* ActInsSch */{1182,-1,TabUnk,ActInsReqSch , 0, 0, 0, 0,0x3C7, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,Sch_GetParamsSearch ,Sch_InsSearch ,NULL}, @@ -1767,11 +1767,11 @@ struct Act_Actions Act_Actions[Act_NUM_ACTIONS] = // TabCtr ****************************************************************** // Actions in menu: - /* ActCtrReqSch */{1178, 0,TabCtr,ActCtrReqSch , 0, 0, 0,0x3C7, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Sch_ReqCtrSearch ,"search.svg" }, - /* ActSeeCtrInf */{1151, 1,TabCtr,ActSeeCtrInf , 0, 0, 0,0x3C7, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Ctr_ShowConfiguration ,"info64x64.gif" }, - /* ActSeeDeg */{1011, 2,TabCtr,ActSeeDeg , 0, 0, 0,0x3C7, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Deg_ShowDegsOfCurrentCtr ,"deg64x64.gif" }, - /* ActSeeCla */{1744, 3,TabCtr,ActSeeCla , 0, 0, 0,0x3C7, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Cla_SeeClassrooms ,"classroom.svg" }, - /* ActSeeCalCtr */{1631, 4,TabCtr,ActSeeCalCtr , 0, 0, 0,0x3C7, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Cal_DrawCalendarCtr ,"calendar64x64.png" }, + /* ActCtrReqSch */{1178, 0,TabCtr,ActCtrReqSch , 0, 0, 0,0x3C7, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Sch_ReqCtrSearch ,"search" }, + /* ActSeeCtrInf */{1151, 1,TabCtr,ActSeeCtrInf , 0, 0, 0,0x3C7, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Ctr_ShowConfiguration ,"info64x64" }, + /* ActSeeDeg */{1011, 2,TabCtr,ActSeeDeg , 0, 0, 0,0x3C7, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Deg_ShowDegsOfCurrentCtr ,"graduation-cap" }, + /* ActSeeCla */{1744, 3,TabCtr,ActSeeCla , 0, 0, 0,0x3C7, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Cla_SeeClassrooms ,"classroom" }, + /* ActSeeCalCtr */{1631, 4,TabCtr,ActSeeCalCtr , 0, 0, 0,0x3C7, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Cal_DrawCalendarCtr ,"calendar" }, // Actions not in menu: /* ActCtrSch */{1183,-1,TabUnk,ActCtrReqSch , 0, 0, 0,0x3C7, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,Sch_GetParamsSearch ,Sch_CtrSearch ,NULL}, @@ -1818,10 +1818,10 @@ struct Act_Actions Act_Actions[Act_NUM_ACTIONS] = // TabDeg ****************************************************************** // Actions in menu: - /* ActDegReqSch */{1179, 0,TabDeg,ActDegReqSch , 0, 0,0x3C7, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Sch_ReqDegSearch ,"search.svg" }, - /* ActSeeDegInf */{1149, 1,TabDeg,ActSeeDegInf , 0, 0,0x3C7, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Deg_ShowConfiguration ,"info64x64.gif" }, - /* ActSeeCrs */{1009, 2,TabDeg,ActSeeCrs , 0, 0,0x3C7, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Crs_ShowCrssOfCurrentDeg ,"crs64x64.gif" }, - /* ActSeeCalDeg */{1634, 3,TabDeg,ActSeeCalDeg , 0, 0,0x3C7, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Cal_DrawCalendarDeg ,"calendar64x64.png" }, + /* ActDegReqSch */{1179, 0,TabDeg,ActDegReqSch , 0, 0,0x3C7, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Sch_ReqDegSearch ,"search" }, + /* ActSeeDegInf */{1149, 1,TabDeg,ActSeeDegInf , 0, 0,0x3C7, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Deg_ShowConfiguration ,"info64x64" }, + /* ActSeeCrs */{1009, 2,TabDeg,ActSeeCrs , 0, 0,0x3C7, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Crs_ShowCrssOfCurrentDeg ,"list-ol" }, + /* ActSeeCalDeg */{1634, 3,TabDeg,ActSeeCalDeg , 0, 0,0x3C7, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Cal_DrawCalendarDeg ,"calendar" }, // Actions not in menu: /* ActDegSch */{1184,-1,TabUnk,ActDegReqSch , 0, 0,0x3C7, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,Sch_GetParamsSearch ,Sch_DegSearch ,NULL}, @@ -1850,15 +1850,15 @@ struct Act_Actions Act_Actions[Act_NUM_ACTIONS] = // TabCrs ****************************************************************** // Actions in menu: - /* ActCrsReqSch */{1180, 0,TabCrs,ActCrsReqSch ,0x3F8,0x3C7, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Sch_ReqCrsSearch ,"search.svg" }, - /* ActSeeCrsInf */{ 847, 1,TabCrs,ActSeeCrsInf ,0x3F8,0x3C7, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Crs_ShowIntroduction ,"info64x64.gif" }, - /* ActSeeTchGui */{ 784, 2,TabCrs,ActSeeTchGui ,0x3F8,0x3C7, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Inf_ShowInfo ,"guide64x64.png" }, - /* ActSeeSyl */{1242, 3,TabCrs,ActSeeSyl ,0x3F8,0x3C7, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Inf_ShowInfo ,"presentation64x64.gif"}, - /* ActSeeBib */{ 32, 4,TabCrs,ActSeeBib ,0x3F8,0x3C7, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Inf_ShowInfo ,"books64x64.gif" }, - /* ActSeeFAQ */{ 54, 5,TabCrs,ActSeeFAQ ,0x238,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Inf_ShowInfo ,"faq64x64.gif" }, - /* ActSeeCrsLnk */{ 9, 6,TabCrs,ActSeeCrsLnk ,0x238,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Inf_ShowInfo ,"link64x64.gif" }, - /* ActSeeCrsTT */{ 25, 7,TabCrs,ActSeeCrsTT ,0x3F8,0x3C7, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,TT_ShowClassTimeTable ,"clock64x64.gif" }, - /* ActSeeCalCrs */{ 16, 8,TabCrs,ActSeeCalCrs ,0x3F8,0x3C7, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Cal_DrawCalendarCrs ,"calendar64x64.png" }, + /* ActCrsReqSch */{1180, 0,TabCrs,ActCrsReqSch ,0x3F8,0x3C7, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Sch_ReqCrsSearch ,"search" }, + /* ActSeeCrsInf */{ 847, 1,TabCrs,ActSeeCrsInf ,0x3F8,0x3C7, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Crs_ShowIntroduction ,"info64x64" }, + /* ActSeeTchGui */{ 784, 2,TabCrs,ActSeeTchGui ,0x3F8,0x3C7, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Inf_ShowInfo ,"guide64x64" }, + /* ActSeeSyl */{1242, 3,TabCrs,ActSeeSyl ,0x3F8,0x3C7, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Inf_ShowInfo ,"list-ol" }, + /* ActSeeBib */{ 32, 4,TabCrs,ActSeeBib ,0x3F8,0x3C7, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Inf_ShowInfo ,"books64x64" }, + /* ActSeeFAQ */{ 54, 5,TabCrs,ActSeeFAQ ,0x238,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Inf_ShowInfo ,"faq64x64" }, + /* ActSeeCrsLnk */{ 9, 6,TabCrs,ActSeeCrsLnk ,0x238,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Inf_ShowInfo ,"link64x64" }, + /* ActSeeCrsTT */{ 25, 7,TabCrs,ActSeeCrsTT ,0x3F8,0x3C7, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,TT_ShowClassTimeTable ,"clock64x64" }, + /* ActSeeCalCrs */{ 16, 8,TabCrs,ActSeeCalCrs ,0x3F8,0x3C7, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Cal_DrawCalendarCrs ,"calendar" }, // Actions not in menu: /* ActCrsSch */{1185,-1,TabUnk,ActCrsReqSch ,0x3F8,0x3C7, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,Sch_GetParamsSearch ,Sch_CrsSearch ,NULL}, @@ -1986,13 +1986,13 @@ struct Act_Actions Act_Actions[Act_NUM_ACTIONS] = // TabAss ****************************************************************** // Actions in menu: - /* ActSeeAss */{ 15, 0,TabAss,ActSeeAss ,0x3F8,0x3C7, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Inf_ShowInfo ,"infogrades64x64.gif" }, - /* ActSeeAsg */{ 801, 1,TabAss,ActSeeAsg ,0x238,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Asg_SeeAssignments ,"desk64x64.gif" }, - /* ActSeePrj */{1674, 2,TabAss,ActSeePrj ,0x238,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Prj_SeeProjects ,"project64x64.png" }, - /* ActReqTst */{ 103, 3,TabAss,ActReqTst ,0x238,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Tst_ShowFormAskTst ,"test64x64.gif" }, - /* ActSeeAllGam */{1649, 4,TabAss,ActSeeAllGam ,0x200,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Gam_SeeAllGames ,"remote64x64.png" }, - /* ActSeeAllSvy */{ 966, 5,TabAss,ActSeeAllSvy ,0x3F8,0x3C0,0x3C0,0x3C0,0x3C0,0x3C0,0x3C0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Svy_SeeAllSurveys ,"survey64x64.gif" }, - /* ActSeeAllExaAnn */{ 85, 6,TabAss,ActSeeAllExaAnn ,0x3F8,0x3C7, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Exa_ListExamAnnouncementsSee ,"announce64x64.gif" }, + /* ActSeeAss */{ 15, 0,TabAss,ActSeeAss ,0x3F8,0x3C7, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Inf_ShowInfo ,"infogrades64x64" }, + /* ActSeeAsg */{ 801, 1,TabAss,ActSeeAsg ,0x238,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Asg_SeeAssignments ,"desk64x64" }, + /* ActSeePrj */{1674, 2,TabAss,ActSeePrj ,0x238,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Prj_SeeProjects ,"project64x64" }, + /* ActReqTst */{ 103, 3,TabAss,ActReqTst ,0x238,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Tst_ShowFormAskTst ,"test64x64" }, + /* ActSeeAllGam */{1649, 4,TabAss,ActSeeAllGam ,0x200,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Gam_SeeAllGames ,"remote64x64" }, + /* ActSeeAllSvy */{ 966, 5,TabAss,ActSeeAllSvy ,0x3F8,0x3C0,0x3C0,0x3C0,0x3C0,0x3C0,0x3C0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Svy_SeeAllSurveys ,"survey64x64" }, + /* ActSeeAllExaAnn */{ 85, 6,TabAss,ActSeeAllExaAnn ,0x3F8,0x3C7, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Exa_ListExamAnnouncementsSee ,"announce64x64" }, // Actions not in menu: /* ActEdiAss */{ 69,-1,TabUnk,ActSeeAss ,0x220,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Inf_FormsToSelSendInfo ,NULL}, @@ -2159,19 +2159,19 @@ struct Act_Actions Act_Actions[Act_NUM_ACTIONS] = // TabFil ****************************************************************** // Actions in menu: - /* ActSeeAdmDocIns */{1249, 0,TabFil,ActSeeAdmDocIns , 0, 0, 0, 0,0x3C7, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Brw_ShowFileBrowserOrWorks ,"folder64x64.gif" }, - /* ActAdmShaIns */{1382, 1,TabFil,ActAdmShaIns , 0, 0, 0, 0,0x3C7, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Brw_ShowFileBrowserOrWorks ,"folderusers64x64.gif" }, - /* ActSeeAdmDocCtr */{1248, 2,TabFil,ActSeeAdmDocCtr , 0, 0, 0,0x3C7, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Brw_ShowFileBrowserOrWorks ,"folder64x64.gif" }, - /* ActAdmShaCtr */{1363, 3,TabFil,ActAdmShaCtr , 0, 0, 0,0x3C7, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Brw_ShowFileBrowserOrWorks ,"folderusers64x64.gif" }, - /* ActSeeAdmDocDeg */{1247, 4,TabFil,ActSeeAdmDocDeg , 0, 0,0x3C7, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Brw_ShowFileBrowserOrWorks ,"folder64x64.gif" }, - /* ActAdmShaDeg */{1344, 5,TabFil,ActAdmShaDeg , 0, 0,0x3C7, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Brw_ShowFileBrowserOrWorks ,"folderusers64x64.gif" }, - /* ActSeeAdmDocCrsGrp*/{ 0, 6,TabFil,ActSeeAdmDocCrsGrp ,0x3F8,0x3C7, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Brw_ShowFileBrowserOrWorks ,"folder64x64.gif" }, - /* ActAdmTchCrsGrp */{1525, 7,TabFil,ActAdmTchCrsGrp ,0x3F0,0x3C0, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Brw_ShowFileBrowserOrWorks ,"folder64x64.gif" }, - /* ActAdmShaCrsGrp */{ 461, 8,TabFil,ActAdmShaCrsGrp ,0x3F8,0x3C7, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Brw_ShowFileBrowserOrWorks ,"folderusers64x64.gif" }, - /* ActAdmAsgWrkUsr */{ 792, 9,TabFil,ActAdmAsgWrkUsr ,0x008, 0, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Brw_ShowFileBrowserOrWorks ,"editfolderuser64x64.gif"}, - /* ActReqAsgWrkCrs */{ 899,10,TabFil,ActReqAsgWrkCrs ,0x230,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Brw_AskEditWorksCrs ,"folderusers64x64.gif" }, - /* ActSeeAdmMrk */{ 17,11,TabFil,ActSeeAdmMrk ,0x238,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Brw_ShowFileBrowserOrWorks ,"grades64x64.gif" }, - /* ActAdmBrf */{ 23,12,TabFil,ActAdmBrf ,0x3F8,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Brw_ShowFileBrowserOrWorks ,"pendrive64x64.gif" }, + /* ActSeeAdmDocIns */{1249, 0,TabFil,ActSeeAdmDocIns , 0, 0, 0, 0,0x3C7, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Brw_ShowFileBrowserOrWorks ,"folder64x64" }, + /* ActAdmShaIns */{1382, 1,TabFil,ActAdmShaIns , 0, 0, 0, 0,0x3C7, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Brw_ShowFileBrowserOrWorks ,"folderusers64x64" }, + /* ActSeeAdmDocCtr */{1248, 2,TabFil,ActSeeAdmDocCtr , 0, 0, 0,0x3C7, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Brw_ShowFileBrowserOrWorks ,"folder64x64" }, + /* ActAdmShaCtr */{1363, 3,TabFil,ActAdmShaCtr , 0, 0, 0,0x3C7, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Brw_ShowFileBrowserOrWorks ,"folderusers64x64" }, + /* ActSeeAdmDocDeg */{1247, 4,TabFil,ActSeeAdmDocDeg , 0, 0,0x3C7, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Brw_ShowFileBrowserOrWorks ,"folder64x64" }, + /* ActAdmShaDeg */{1344, 5,TabFil,ActAdmShaDeg , 0, 0,0x3C7, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Brw_ShowFileBrowserOrWorks ,"folderusers64x64" }, + /* ActSeeAdmDocCrsGrp*/{ 0, 6,TabFil,ActSeeAdmDocCrsGrp ,0x3F8,0x3C7, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Brw_ShowFileBrowserOrWorks ,"folder64x64" }, + /* ActAdmTchCrsGrp */{1525, 7,TabFil,ActAdmTchCrsGrp ,0x3F0,0x3C0, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Brw_ShowFileBrowserOrWorks ,"folder64x64" }, + /* ActAdmShaCrsGrp */{ 461, 8,TabFil,ActAdmShaCrsGrp ,0x3F8,0x3C7, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Brw_ShowFileBrowserOrWorks ,"folderusers64x64" }, + /* ActAdmAsgWrkUsr */{ 792, 9,TabFil,ActAdmAsgWrkUsr ,0x008, 0, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Brw_ShowFileBrowserOrWorks ,"editfolderuser64x64" }, + /* ActReqAsgWrkCrs */{ 899,10,TabFil,ActReqAsgWrkCrs ,0x230,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Brw_AskEditWorksCrs ,"folderusers64x64" }, + /* ActSeeAdmMrk */{ 17,11,TabFil,ActSeeAdmMrk ,0x238,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Brw_ShowFileBrowserOrWorks ,"grades64x64" }, + /* ActAdmBrf */{ 23,12,TabFil,ActAdmBrf ,0x3F8,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Brw_ShowFileBrowserOrWorks ,"pendrive64x64" }, // Actions not in menu: /* ActChgToSeeDocIns */{1308,-1,TabUnk,ActSeeAdmDocIns , 0, 0, 0, 0,0x300, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Brw_ShowFileBrowserOrWorks ,NULL}, @@ -2639,14 +2639,14 @@ struct Act_Actions Act_Actions[Act_NUM_ACTIONS] = // TabUsr ****************************************************************** // Actions in menu: - /* ActReqSelGrp */{ 116, 0,TabUsr,ActReqSelGrp ,0x238,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Grp_ReqRegisterInGrps ,"hierarchy64x64.png" }, - /* ActLstStd */{ 678, 1,TabUsr,ActLstStd ,0x3F8,0x3C0,0x3C0,0x3C0,0x3C0,0x3C0,0x3C0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Usr_SeeStudents ,"usrs64x64.gif" }, - /* ActLstTch */{ 679, 2,TabUsr,ActLstTch ,0x3F8,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Usr_SeeTeachers ,"tch64x64.gif" }, - /* ActLstOth */{1186, 3,TabUsr,ActLstOth ,0x3F8,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Usr_ListDataAdms ,"adm64x64.gif" }, - /* ActSeeAtt */{ 861, 4,TabUsr,ActSeeAtt ,0x238,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Att_SeeAttEvents ,"rollcall64x64.png" }, - /* ActReqSignUp */{1054, 5,TabUsr,ActReqSignUp , 0,0x006, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Enr_ReqSignUpInCrs ,"enrollmentrequest64x64.gif"}, - /* ActSeeSignUpReq */{1057, 6,TabUsr,ActSeeSignUpReq ,0x3E0,0x3C0,0x3C0,0x3C0,0x3C0,0x3C0,0x3C0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Enr_ShowEnrolmentRequests ,"enrollmentrequest64x64.gif"}, - /* ActLstCon */{ 995, 7,TabUsr,ActLstCon ,0x3F8,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Con_ShowConnectedUsrs ,"userplugged64x64.gif" }, + /* ActReqSelGrp */{ 116, 0,TabUsr,ActReqSelGrp ,0x238,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Grp_ReqRegisterInGrps ,"sitemap" }, + /* ActLstStd */{ 678, 1,TabUsr,ActLstStd ,0x3F8,0x3C0,0x3C0,0x3C0,0x3C0,0x3C0,0x3C0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Usr_SeeStudents ,"usrs64x64" }, + /* ActLstTch */{ 679, 2,TabUsr,ActLstTch ,0x3F8,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Usr_SeeTeachers ,"tch64x64" }, + /* ActLstOth */{1186, 3,TabUsr,ActLstOth ,0x3F8,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Usr_ListDataAdms ,"adm64x64" }, + /* ActSeeAtt */{ 861, 4,TabUsr,ActSeeAtt ,0x238,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Att_SeeAttEvents ,"rollcall64x64" }, + /* ActReqSignUp */{1054, 5,TabUsr,ActReqSignUp , 0,0x006, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Enr_ReqSignUpInCrs ,"enrollmentrequest64x64"}, + /* ActSeeSignUpReq */{1057, 6,TabUsr,ActSeeSignUpReq ,0x3E0,0x3C0,0x3C0,0x3C0,0x3C0,0x3C0,0x3C0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Enr_ShowEnrolmentRequests ,"enrollmentrequest64x64"}, + /* ActLstCon */{ 995, 7,TabUsr,ActLstCon ,0x3F8,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Con_ShowConnectedUsrs ,"userplugged64x64" }, // Actions not in menu: /* ActChgGrp */{ 118,-1,TabUnk,ActReqSelGrp ,0x238,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Grp_ChangeMyGrpsAndShowChanges ,NULL}, @@ -2816,9 +2816,9 @@ struct Act_Actions Act_Actions[Act_NUM_ACTIONS] = /* ActNewID_Std */{1454,-1,TabUnk,ActLstStd ,0x3C0,0x3C0,0x3C0,0x3C0,0x3C0,0x3C0,0x3C0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,ID_NewOtherUsrID ,NULL}, /* ActNewID_Tch */{1455,-1,TabUnk,ActLstTch ,0x3C0,0x3C0,0x3C0,0x3C0,0x3C0,0x3C0,0x3C0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,ID_NewOtherUsrID ,NULL}, - /* ActChgPwdOth */{1467,-1,TabUnk,ActLstOth ,0x3C0,0x3C0,0x3C0,0x3C0,0x3C0,0x3C0,0x3C0,Act_CONT_NORM,Act_BRW_1ST_TAB,Pwd_UpdateOtherUsrPwd ,Acc_ShowFormChgOtherUsrAccount ,NULL}, - /* ActChgPwdStd */{1468,-1,TabUnk,ActLstStd ,0x3C0,0x3C0,0x3C0,0x3C0,0x3C0,0x3C0,0x3C0,Act_CONT_NORM,Act_BRW_1ST_TAB,Pwd_UpdateOtherUsrPwd ,Acc_ShowFormChgOtherUsrAccount ,NULL}, - /* ActChgPwdTch */{1469,-1,TabUnk,ActLstTch ,0x3C0,0x3C0,0x3C0,0x3C0,0x3C0,0x3C0,0x3C0,Act_CONT_NORM,Act_BRW_1ST_TAB,Pwd_UpdateOtherUsrPwd ,Acc_ShowFormChgOtherUsrAccount ,NULL}, + /* ActChgPwdOth */{1467,-1,TabUnk,ActLstOth ,0x3C0,0x3C0,0x3C0,0x3C0,0x3C0,0x3C0,0x3C0,Act_CONT_NORM,Act_BRW_1ST_TAB,Pwd_UpdateOtherUsrPwd ,Acc_ShowFormChgOtherUsrAccount ,NULL}, + /* ActChgPwdStd */{1468,-1,TabUnk,ActLstStd ,0x3C0,0x3C0,0x3C0,0x3C0,0x3C0,0x3C0,0x3C0,Act_CONT_NORM,Act_BRW_1ST_TAB,Pwd_UpdateOtherUsrPwd ,Acc_ShowFormChgOtherUsrAccount ,NULL}, + /* ActChgPwdTch */{1469,-1,TabUnk,ActLstTch ,0x3C0,0x3C0,0x3C0,0x3C0,0x3C0,0x3C0,0x3C0,Act_CONT_NORM,Act_BRW_1ST_TAB,Pwd_UpdateOtherUsrPwd ,Acc_ShowFormChgOtherUsrAccount ,NULL}, /* ActRemMaiOth */{1478,-1,TabUnk,ActLstOth ,0x3C0,0x3C0,0x3C0,0x3C0,0x3C0,0x3C0,0x3C0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Mai_RemoveOtherUsrEmail ,NULL}, /* ActRemMaiStd */{1479,-1,TabUnk,ActLstStd ,0x3C0,0x3C0,0x3C0,0x3C0,0x3C0,0x3C0,0x3C0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Mai_RemoveOtherUsrEmail ,NULL}, @@ -2846,10 +2846,10 @@ struct Act_Actions Act_Actions[Act_NUM_ACTIONS] = /* ActLstClk */{ 989,-1,TabUnk,ActLstCon ,0x3F8,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Con_ShowLastClicks ,NULL}, // TabSoc ****************************************************************** - /* ActSeeSocTmlGbl */{1490, 0,TabSoc,ActSeeSocTmlGbl ,0x3F8,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,Act_CONT_NORM,Act_BRW_1ST_TAB,Soc_ShowTimelineGbl1 ,Soc_ShowTimelineGbl2 ,"soc64x64.png" }, - /* ActSeeSocPrf */{1520, 1,TabSoc,ActSeeSocPrf ,0x3F8,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Prf_SeeSocialProfiles ,"prf64x64.gif" }, - /* ActSeeFor */{ 95, 2,TabSoc,ActSeeFor ,0x3F8,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,For_ShowForumTheads ,"forum64x64.gif" }, - /* ActSeeChtRms */{ 51, 3,TabSoc,ActSeeChtRms ,0x3F8,0x3C4,0x3C4,0x3C4,0x3C4,0x3C4,0x3C4,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Cht_ShowChatRooms ,"chat64x64.gif" }, + /* ActSeeSocTmlGbl */{1490, 0,TabSoc,ActSeeSocTmlGbl ,0x3F8,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,Act_CONT_NORM,Act_BRW_1ST_TAB,Soc_ShowTimelineGbl1 ,Soc_ShowTimelineGbl2 ,"soc64x64" }, + /* ActSeeSocPrf */{1520, 1,TabSoc,ActSeeSocPrf ,0x3F8,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Prf_SeeSocialProfiles ,"prf64x64" }, + /* ActSeeFor */{ 95, 2,TabSoc,ActSeeFor ,0x3F8,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,For_ShowForumTheads ,"forum64x64" }, + /* ActSeeChtRms */{ 51, 3,TabSoc,ActSeeChtRms ,0x3F8,0x3C4,0x3C4,0x3C4,0x3C4,0x3C4,0x3C4,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Cht_ShowChatRooms ,"chat64x64" }, /* ActRcvSocPstGbl */{1492,-1,TabUnk,ActSeeSocTmlGbl ,0x3F8,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,Act_CONT_DATA,Act_BRW_1ST_TAB,Soc_ShowTimelineGbl1 ,Soc_ReceiveSocialPostGbl ,NULL}, /* ActRcvSocComGbl */{1503,-1,TabUnk,ActSeeSocTmlGbl ,0x3F8,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,Act_CONT_DATA,Act_BRW_1ST_TAB,Soc_ShowTimelineGbl1 ,Soc_ReceiveCommentGbl ,NULL}, @@ -3038,13 +3038,13 @@ struct Act_Actions Act_Actions[Act_NUM_ACTIONS] = // TabMsg ****************************************************************** // Actions in menu: - /* ActSeeNtf */{ 990, 0,TabMsg,ActSeeNtf ,0x3F8,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Ntf_ShowMyNotifications ,"bell.svg" }, - /* ActSeeAnn */{1235, 1,TabMsg,ActSeeAnn ,0x3F8,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Ann_ShowAllAnnouncements ,"announcement64x64.png"}, - /* ActSeeAllNot */{ 762, 2,TabMsg,ActSeeAllNot ,0x3F8,0x3C7, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Not_ListFullNotices ,"notice64x64.png" }, - /* ActReqMsgUsr */{ 26, 3,TabMsg,ActReqMsgUsr ,0x3F8,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Msg_FormMsgUsrs ,"editnewmsg64x64.gif" }, - /* ActSeeRcvMsg */{ 3, 4,TabMsg,ActSeeRcvMsg ,0x3F8,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Msg_ShowRecMsgs ,"recmsg64x64.gif" }, - /* ActSeeSntMsg */{ 70, 5,TabMsg,ActSeeSntMsg ,0x3F8,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Msg_ShowSntMsgs ,"sntmsg64x64.gif" }, - /* ActMaiStd */{ 100, 6,TabMsg,ActMaiStd ,0x220,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Mai_ListEmails ,"email64x64.gif" }, + /* ActSeeNtf */{ 990, 0,TabMsg,ActSeeNtf ,0x3F8,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Ntf_ShowMyNotifications ,"bell" }, + /* ActSeeAnn */{1235, 1,TabMsg,ActSeeAnn ,0x3F8,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Ann_ShowAllAnnouncements ,"announcement64x64" }, + /* ActSeeAllNot */{ 762, 2,TabMsg,ActSeeAllNot ,0x3F8,0x3C7, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Not_ListFullNotices ,"notice64x64" }, + /* ActReqMsgUsr */{ 26, 3,TabMsg,ActReqMsgUsr ,0x3F8,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Msg_FormMsgUsrs ,"editnewmsg64x64" }, + /* ActSeeRcvMsg */{ 3, 4,TabMsg,ActSeeRcvMsg ,0x3F8,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Msg_ShowRecMsgs ,"recmsg64x64" }, + /* ActSeeSntMsg */{ 70, 5,TabMsg,ActSeeSntMsg ,0x3F8,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Msg_ShowSntMsgs ,"sntmsg64x64" }, + /* ActMaiStd */{ 100, 6,TabMsg,ActMaiStd ,0x220,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Mai_ListEmails ,"email64x64" }, // Actions not in menu: /* ActWriAnn */{1237,-1,TabUnk,ActSeeAnn ,0x200,0x200,0x200,0x200,0x200,0x200,0x200,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Ann_ShowFormAnnouncement ,NULL}, @@ -3090,12 +3090,12 @@ struct Act_Actions Act_Actions[Act_NUM_ACTIONS] = // TabAna ****************************************************************** // Actions in menu: - /* ActReqUseGbl */{ 761, 0,TabAna,ActReqUseGbl ,0x3F8,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Sta_ReqShowFigures ,"pie64x64.gif" }, - /* ActSeePhoDeg */{ 447, 1,TabAna,ActSeePhoDeg ,0x3F8,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Pho_ShowPhotoDegree ,"classphoto64x64.gif" }, - /* ActReqStaCrs */{ 767, 2,TabAna,ActReqStaCrs ,0x3F8,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Ind_ReqIndicatorsCourses ,"tablestats64x64.gif" }, - /* ActReqAccGbl */{ 591, 3,TabAna,ActReqAccGbl ,0x3F8,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,Act_CONT_NORM,Act_BRW_1ST_TAB,Sta_SetIniEndDates ,Sta_AskShowGblHits ,"stats64x64.gif" }, - /* ActReqMyUsgRep */{1586, 4,TabAna,ActReqMyUsgRep ,0x3F8,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Rep_ReqMyUsageReport ,"report64x64.png" }, - /* ActMFUAct */{ 993, 5,TabAna,ActMFUAct ,0x3F8,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,MFU_ShowMyMFUActions ,"star64x64.gif" }, + /* ActReqUseGbl */{ 761, 0,TabAna,ActReqUseGbl ,0x3F8,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Sta_ReqShowFigures ,"pie64x64" }, + /* ActSeePhoDeg */{ 447, 1,TabAna,ActSeePhoDeg ,0x3F8,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Pho_ShowPhotoDegree ,"classphoto64x64" }, + /* ActReqStaCrs */{ 767, 2,TabAna,ActReqStaCrs ,0x3F8,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Ind_ReqIndicatorsCourses ,"tablestats64x64" }, + /* ActReqAccGbl */{ 591, 3,TabAna,ActReqAccGbl ,0x3F8,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,Act_CONT_NORM,Act_BRW_1ST_TAB,Sta_SetIniEndDates ,Sta_AskShowGblHits ,"stats64x64" }, + /* ActReqMyUsgRep */{1586, 4,TabAna,ActReqMyUsgRep ,0x3F8,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Rep_ReqMyUsageReport ,"report64x64" }, + /* ActMFUAct */{ 993, 5,TabAna,ActMFUAct ,0x3F8,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,MFU_ShowMyMFUActions ,"star64x64" }, // Actions not in menu: /* ActSeeUseGbl */{ 84,-1,TabUnk,ActReqUseGbl ,0x3F8,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Sta_ShowFigures ,NULL}, @@ -3110,14 +3110,14 @@ struct Act_Actions Act_Actions[Act_NUM_ACTIONS] = // TabPrf ****************************************************************** // Actions in menu: - /* ActFrmLogIn */{1521, 0,TabPrf,ActFrmLogIn , 0,0x001,0x001,0x001,0x001,0x001,0x001,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Usr_WriteLandingPage ,"keyuser64x64.gif" }, - /* ActFrmRolSes */{ 843, 1,TabPrf,ActFrmRolSes ,0x3F8,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Usr_WriteFormLogout ,"keyuser64x64.gif" }, - /* ActMyCrs */{ 987, 2,TabPrf,ActMyCrs ,0x3F8,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Crs_ReqSelectOneOfMyCourses ,"hierarchy64x64.png" }, - /* ActSeeMyTT */{ 408, 3,TabPrf,ActSeeMyTT ,0x3F8,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,TT_ShowClassTimeTable ,"clock64x64.gif" }, - /* ActSeeMyAgd */{1602, 4,TabPrf,ActSeeMyAgd ,0x3F8,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Agd_ShowMyAgenda ,"calendar64x64.png" }, - /* ActFrmMyAcc */{ 36, 5,TabPrf,ActFrmMyAcc ,0x3F8,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Acc_ShowFormMyAccount ,"arroba64x64.gif" }, - /* ActReqEdiRecSha */{ 285, 6,TabPrf,ActReqEdiRecSha ,0x3F8,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Rec_ShowMySharedRecordAndMore ,"card64x64.gif" }, - /* ActEdiPrf */{ 673, 7,TabPrf,ActEdiPrf ,0x3F8,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Pre_EditPrefs ,"heart64x64.gif" }, + /* ActFrmLogIn */{1521, 0,TabPrf,ActFrmLogIn , 0,0x001,0x001,0x001,0x001,0x001,0x001,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Usr_WriteLandingPage ,"keyuser64x64" }, + /* ActFrmRolSes */{ 843, 1,TabPrf,ActFrmRolSes ,0x3F8,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Usr_WriteFormLogout ,"keyuser64x64" }, + /* ActMyCrs */{ 987, 2,TabPrf,ActMyCrs ,0x3F8,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Crs_ReqSelectOneOfMyCourses ,"sitemap" }, + /* ActSeeMyTT */{ 408, 3,TabPrf,ActSeeMyTT ,0x3F8,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,TT_ShowClassTimeTable ,"clock64x64" }, + /* ActSeeMyAgd */{1602, 4,TabPrf,ActSeeMyAgd ,0x3F8,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Agd_ShowMyAgenda ,"calendar" }, + /* ActFrmMyAcc */{ 36, 5,TabPrf,ActFrmMyAcc ,0x3F8,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Acc_ShowFormMyAccount ,"at" }, + /* ActReqEdiRecSha */{ 285, 6,TabPrf,ActReqEdiRecSha ,0x3F8,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Rec_ShowMySharedRecordAndMore ,"card" }, + /* ActEdiPrf */{ 673, 7,TabPrf,ActEdiPrf ,0x3F8,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Pre_EditPrefs ,"heart64x64" }, // Actions not in menu: /* ActReqSndNewPwd */{ 665,-1,TabUnk,ActFrmLogIn , 0,0x001,0x001,0x001,0x001,0x001,0x001,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Pwd_ShowFormSendNewPwd ,NULL}, @@ -5106,7 +5106,7 @@ const char *Act_GetIcon (Act_Action_t Action) if (Action < 0 || Action >= Act_NUM_ACTIONS) return NULL; - return Act_Actions[Action].Icon; + return Ico_GetIcon (Act_Actions[Action].Icon); } /*****************************************************************************/ diff --git a/swad_agenda.c b/swad_agenda.c index d9093090..cf09f099 100644 --- a/swad_agenda.c +++ b/swad_agenda.c @@ -203,7 +203,7 @@ static void Agd_ShowFormToSelPast__FutureEvents (void) fprintf (Gbl.F.Out,"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Image[PstFut], Txt_AGENDA_PAST___FUTURE_EVENTS[PstFut], Txt_AGENDA_PAST___FUTURE_EVENTS[PstFut]); @@ -245,7 +245,7 @@ static void Agd_ShowFormToSelPrivatPublicEvents (void) fprintf (Gbl.F.Out,"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Image[PrvPub], Txt_AGENDA_PRIVAT_PUBLIC_EVENTS[PrvPub], Txt_AGENDA_PRIVAT_PUBLIC_EVENTS[PrvPub]); @@ -287,7 +287,7 @@ static void Agd_ShowFormToSelHiddenVisiblEvents (void) fprintf (Gbl.F.Out,"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Image[HidVis], Txt_AGENDA_HIDDEN_VISIBL_EVENTS[HidVis], Txt_AGENDA_HIDDEN_VISIBL_EVENTS[HidVis]); @@ -689,7 +689,7 @@ static void Agd_PutIconsOtherPublicAgenda (void) &Gbl.Usrs.Other.UsrDat)) Lay_PutContextualLink (ActSeeOthPubPrf,NULL, Usr_PutParamOtherUsrCodEncrypted, - "usr64x64.png", + "user.svg", Txt_Another_user_s_profile,NULL, NULL); @@ -698,13 +698,13 @@ static void Agd_PutIconsOtherPublicAgenda (void) /* View student's records: common record card and course record card */ Lay_PutContextualLink (ActSeeRecOneStd,NULL, Usr_PutParamOtherUsrCodEncrypted, - "card64x64.gif", + "card.svg", Txt_View_record_for_this_course,NULL, NULL); else if (Usr_CheckIfICanViewRecordTch (&Gbl.Usrs.Other.UsrDat)) Lay_PutContextualLink (ActSeeRecOneTch,NULL, Usr_PutParamOtherUsrCodEncrypted, - "card64x64.gif", + "card.svg", Txt_View_record_and_office_hours,NULL, NULL); } diff --git a/swad_alert.c b/swad_alert.c index 2a009ea0..d07b29a4 100644 --- a/swad_alert.c +++ b/swad_alert.c @@ -154,14 +154,14 @@ void Ale_ShowAlertAndButton1 (Ale_AlertType_t AlertType,const char *Txt) "" "", IdAlert, - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_Close,Txt_Close); /***** Write message *****/ fprintf (Gbl.F.Out,"
"); if (Txt) fprintf (Gbl.F.Out,"%s",Txt); diff --git a/swad_assignment.c b/swad_assignment.c index 53690b61..adba6029 100644 --- a/swad_assignment.c +++ b/swad_assignment.c @@ -433,7 +433,7 @@ static void Asg_ShowOneAssignment (long AsgCod,bool PrintView) " alt=\"%s\" title=\"%s\" class=\"ICO20x20\" />" "
%s" "", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, (Asg.SendWork == Asg_SEND_WORK) ? "file_on" : "file_off", Txt_ASSIGNMENT_TYPES[Asg.SendWork], @@ -529,7 +529,7 @@ static void Asg_WriteAssignmentFolder (struct Assignment *Asg,bool PrintView) fprintf (Gbl.F.Out,"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Gbl.Title, Gbl.Title); Frm_EndForm (); @@ -537,7 +537,7 @@ static void Asg_WriteAssignmentFolder (struct Assignment *Asg,bool PrintView) else // I can't send files to this assignment folder fprintf (Gbl.F.Out,"\"%s\"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, ICanSendFiles ? "folder-open16x16.gif" : "folder-closed16x16.gif", Txt_Folder,Txt_Folder); diff --git a/swad_attendance.c b/swad_attendance.c index 9d166be6..ba038857 100644 --- a/swad_attendance.c +++ b/swad_attendance.c @@ -2099,7 +2099,7 @@ static void Att_WriteRowStdToCallTheRoll (unsigned NumStd, "" "", Gbl.RowEvenOdd,NumStd, - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Present ? "check" : "check-empty", Present ? Txt_Present : @@ -3500,7 +3500,7 @@ static void Att_WriteRowStdSeveralAttEvents (unsigned NumStd,struct UsrData *Usr " alt=\"%s\" title=\"%s\" class=\"ICO20x20\" />" "", Gbl.RowEvenOdd, - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Present ? "check" : "check-empty", Present ? Txt_Present : @@ -3671,7 +3671,7 @@ static void Att_ListAttEventsForAStd (unsigned NumStd,struct UsrData *UsrDat) Gbl.RowEvenOdd, NumAttEvent + 1, Gbl.RowEvenOdd, - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Present ? "check" : "check-empty", Present ? Txt_Present : diff --git a/swad_banner.c b/swad_banner.c index 289dcfad..e5dd968f 100644 --- a/swad_banner.c +++ b/swad_banner.c @@ -417,7 +417,7 @@ static void Ban_ListBannersForEdition (void) Ban_PutParamBanCod (Ban->BanCod); fprintf (Gbl.F.Out,"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Ban->Hidden ? "eye-slash-on64x64.png" : "eye-on64x64.png", Ban->Hidden ? Txt_Show : diff --git a/swad_box.c b/swad_box.c index 87cfe432..1215ec51 100644 --- a/swad_box.c +++ b/swad_box.c @@ -150,13 +150,13 @@ static void Box_StartBoxInternal (const char *Width,const char *Title, if (HelpLink) // Link to help fprintf (Gbl.F.Out,"" "
" - "\"%s\"" + " class=\"ICO16x16\" />" "
" "
", Hlp_WIKI,HelpLink, - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_Help,Txt_Help); if (Closable == Box_CLOSABLE) // Icon to close the box @@ -169,7 +169,7 @@ static void Box_StartBoxInternal (const char *Width,const char *Title, "
" "", IdFrame, - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_Close,Txt_Close); fprintf (Gbl.F.Out,""); diff --git a/swad_calendar.c b/swad_calendar.c index a2dcadff..f3e883fa 100644 --- a/swad_calendar.c +++ b/swad_calendar.c @@ -130,7 +130,7 @@ void Cal_ShowFormToSelFirstDayOfWeek (Act_Action_t Action,void (*FuncParams) (), FuncParams (); fprintf (Gbl.F.Out,"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, FirstDayOfWeek, Txt_DAYS_SMALL[FirstDayOfWeek], Txt_First_day_of_the_week,Txt_DAYS_SMALL[FirstDayOfWeek], diff --git a/swad_centre.c b/swad_centre.c index f9e76cfc..987c46b3 100644 --- a/swad_centre.c +++ b/swad_centre.c @@ -723,7 +723,7 @@ static void Ctr_PutIconToChangePhoto (void) (unsigned) Gbl.CurrentCtr.Ctr.CtrCod); PhotoExists = Fil_CheckIfPathExists (PathPhoto); Lay_PutContextualLink (ActReqCtrPho,NULL,NULL, - "photo64x64.gif", + "camera.svg", PhotoExists ? Txt_Change_photo : Txt_Upload_photo,NULL, NULL); @@ -1035,7 +1035,7 @@ void Ctr_PutIconToViewCentres (void) extern const char *Txt_Centres; Lay_PutContextualLink (ActSeeCtr,NULL,NULL, - "ctr64x64.gif", + "building.svg", Txt_Centres,NULL, NULL); } diff --git a/swad_changelog.h b/swad_changelog.h index 1b78c32e..78670a59 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -365,11 +365,60 @@ En OpenSWAD: ps2pdf source.ps destination.pdf */ -#define Log_PLATFORM_VERSION "SWAD 18.29 (2019-01-07)" -#define CSS_FILE "swad18.29.css" +#define Log_PLATFORM_VERSION "SWAD 18.30 (2019-01-09)" +#define CSS_FILE "swad18.30.css" #define JS_FILE "swad17.17.1.js" /* - Version 18.29: Jan 07, 2019 Some new SVG icons. (239251 lines) + Version 18.30: Jan 09, 2019 Some new SVG icons. (239341 lines) + Copy the following icons to icon public directory: +sudo cp icon/question.svg /var/www/html/swad/icon/ +sudo cp icon/pen.svg /var/www/html/swad/icon/ +sudo cp icon/user.svg /var/www/html/swad/icon/ +sudo cp icon/card.svg /var/www/html/swad/icon/ +sudo cp icon/calendar.svg /var/www/html/swad/icon/ +sudo cp icon/user-cog.svg /var/www/html/swad/icon/ +sudo cp icon/users-cog.svg /var/www/html/swad/icon/ +sudo cp icon/qrcode.svg /var/www/html/swad/icon/ +sudo cp icon/envelope.svg /var/www/html/swad/icon/ +sudo cp icon/camera.svg /var/www/html/swad/icon/ +sudo cp icon/at.svg /var/www/html/swad/icon/ +sudo cp icon/university.svg /var/www/html/swad/icon/ +sudo cp icon/sitemap.svg /var/www/html/swad/icon/ +sudo cp icon/theme/blue/sitemap.svg /var/www/html/swad/icon/theme/blue/ +sudo cp icon/theme/grey/sitemap.svg /var/www/html/swad/icon/theme/grey/ +sudo cp icon/theme/white/sitemap.svg /var/www/html/swad/icon/theme/white/ +sudo cp icon/theme/yellow/sitemap.svg /var/www/html/swad/icon/theme/yellow/ +sudo cp icon/mysitemap.png /var/www/html/swad/icon/ +sudo cp icon/globe.svg /var/www/html/swad/icon/ +sudo cp icon/building.svg /var/www/html/swad/icon/ +sudo cp icon/graduation-cap.svg /var/www/html/swad/icon/ +sudo cp icon/list-ol.svg /var/www/html/swad/icon/ + +sudo cp icon/iconset/awesome/user.svg /var/www/html/swad/icon/iconset/awesome/ +sudo cp icon/iconset/awesome/card.svg /var/www/html/swad/icon/iconset/awesome/ +sudo cp icon/iconset/awesome/calendar.svg /var/www/html/swad/icon/iconset/awesome/ +sudo cp icon/iconset/awesome/envelope.svg /var/www/html/swad/icon/iconset/awesome/ +sudo cp icon/iconset/awesome/at.svg /var/www/html/swad/icon/iconset/awesome/ +sudo cp icon/iconset/awesome/university.svg /var/www/html/swad/icon/iconset/awesome/ +sudo cp icon/iconset/awesome/sitemap.svg /var/www/html/swad/icon/iconset/awesome/ +sudo cp icon/iconset/awesome/globe.svg /var/www/html/swad/icon/iconset/awesome/ +sudo cp icon/iconset/awesome/building.svg /var/www/html/swad/icon/iconset/awesome/ +sudo cp icon/iconset/awesome/graduation-cap.svg /var/www/html/swad/icon/iconset/awesome/ +sudo cp icon/iconset/awesome/list-ol.svg /var/www/html/swad/icon/iconset/awesome/ + +sudo cp icon/iconset/nuvola/user.svg /var/www/html/swad/icon/iconset/nuvola/ +sudo cp icon/iconset/nuvola/card.svg /var/www/html/swad/icon/iconset/nuvola/ +sudo cp icon/iconset/nuvola/calendar.svg /var/www/html/swad/icon/iconset/nuvola/ +sudo cp icon/iconset/nuvola/envelope.png /var/www/html/swad/icon/iconset/nuvola/ +sudo cp icon/iconset/nuvola/at.png /var/www/html/swad/icon/iconset/nuvola/ +sudo cp icon/iconset/nuvola/university.png /var/www/html/swad/icon/iconset/nuvola/ +sudo cp icon/iconset/nuvola/sitemap.svg /var/www/html/swad/icon/iconset/nuvola/ +sudo cp icon/iconset/nuvola/globe.svg /var/www/html/swad/icon/iconset/nuvola/ +sudo cp icon/iconset/nuvola/building.svg /var/www/html/swad/icon/iconset/nuvola/ +sudo cp icon/iconset/nuvola/graduation-cap.png /var/www/html/swad/icon/iconset/nuvola/ +sudo cp icon/iconset/nuvola/list-ol.png /var/www/html/swad/icon/iconset/nuvola/ + + Version 18.29: Jan 08, 2019 Some new SVG icons. (239251 lines) Copy the following icons to icon public directory: sudo cp icon/trash.svg /var/www/html/swad/icon/ sudo cp icon/copy.svg /var/www/html/swad/icon/ diff --git a/swad_chat.c b/swad_chat.c index dbd04024..4779128e 100644 --- a/swad_chat.c +++ b/swad_chat.c @@ -138,7 +138,7 @@ void Cht_ShowListOfAvailableChatRooms (void) " class=\"ICO20x20\" />" " %s" "", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_Chat_rooms, Txt_Chat_rooms, Txt_Chat_rooms); @@ -153,7 +153,7 @@ void Cht_ShowListOfAvailableChatRooms (void) fprintf (Gbl.F.Out,"\"%s\"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, ThisRoomFullName, ThisRoomFullName); Cht_WriteLinkToChat2 ("GBL_USR",ThisRoomFullName); @@ -169,7 +169,7 @@ void Cht_ShowListOfAvailableChatRooms (void) fprintf (Gbl.F.Out,"\"%s\"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, ThisRoomFullName,ThisRoomFullName); Cht_WriteLinkToChat2 ("GBL_STD",ThisRoomFullName); break; @@ -182,7 +182,7 @@ void Cht_ShowListOfAvailableChatRooms (void) fprintf (Gbl.F.Out,"\"%s\"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, ThisRoomFullName,ThisRoomFullName); Cht_WriteLinkToChat2 ("GBL_TCH",ThisRoomFullName); break; @@ -245,7 +245,7 @@ void Cht_ShowListOfAvailableChatRooms (void) fprintf (Gbl.F.Out,"\"%s\"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, ThisRoomFullName,ThisRoomFullName); Cht_WriteLinkToChat2 (ThisRoomCode,ThisRoomFullName); } diff --git a/swad_connected.c b/swad_connected.c index f8d856f7..508dabb5 100644 --- a/swad_connected.c +++ b/swad_connected.c @@ -626,7 +626,7 @@ static void Con_ShowConnectedUsrsWithARoleBelongingToCurrentCrsOnRightColumn (Ro fprintf (Gbl.F.Out,"\"%s\"" "", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_Connected_users,Txt_Connected_users); Frm_EndForm (); fprintf (Gbl.F.Out,"" diff --git a/swad_country.c b/swad_country.c index 4a6fa7ae..808ba017 100644 --- a/swad_country.c +++ b/swad_country.c @@ -842,12 +842,12 @@ void Cty_DrawCountryMap (struct Country *Cty,const char *Class) fprintf (Gbl.F.Out,"Alpha2, Cty->Alpha2); else fprintf (Gbl.F.Out,"%s/tr16x16.gif", // TODO: Change for a 1x1 image or a generic image - Gbl.Prefs.IconsURL); + Gbl.Prefs.URLIcons); fprintf (Gbl.F.Out,"\" alt=\"%s\" title=\"%s\" class=\"%s\" />", Cty->Alpha2, Cty->Name[Gbl.Prefs.Language], @@ -1002,7 +1002,7 @@ static void Cty_PutIconToViewCountries (void) extern const char *Txt_Countries; Lay_PutContextualLink (ActSeeCty,NULL,NULL, - "cty64x64.gif", + "globe.svg", Txt_Countries,NULL, NULL); } diff --git a/swad_course.c b/swad_course.c index 1a3a5c74..38202a5a 100644 --- a/swad_course.c +++ b/swad_course.c @@ -461,7 +461,7 @@ static void Crs_Configuration (bool PrintView) "\"%s\""", Gbl.Title, - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, (Indicators.NumIndicators == Ind_NUM_INDICATORS) ? "ok_green16x16.gif" : "warning64x64.png", Gbl.Title); @@ -569,10 +569,10 @@ static void Crs_WriteListMyCoursesToSelectOne (void) Frm_LinkFormSubmit (Txt_System, Highlight ? ClassHighlight : ClassNormal,NULL); - fprintf (Gbl.F.Out,"\"%s\" %s", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_System, Txt_System, Txt_System); @@ -610,7 +610,7 @@ static void Crs_WriteListMyCoursesToSelectOne (void) fprintf (Gbl.F.Out,"\"%s\" %s", - Gbl.Prefs.IconsURL,Cfg_ICON_FOLDER_COUNTRIES, + Gbl.Prefs.URLIcons,Cfg_ICON_FOLDER_COUNTRIES, Cty.Alpha2, Cty.Alpha2, Cty.Alpha2, @@ -753,7 +753,7 @@ static void Crs_WriteListMyCoursesToSelectOne (void) " class=\"ICO20x20\" />" " %s" "", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Crs.ShrtName, Crs.FullName, Crs.FullName); @@ -1264,7 +1264,7 @@ static bool Crs_ListCoursesOfAYearForSeeing (unsigned Year) " class=\"ICO20x20\" />" "", BgColor, - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Crs->NumUsrs[Rol_UNK] ? "ok_green" : "tr", Crs->NumUsrs[Rol_UNK] ? Txt_COURSE_With_users : @@ -1394,7 +1394,7 @@ static void Crs_PutIconToViewCourses (void) extern const char *Txt_Courses; Lay_PutContextualLink (ActSeeCrs,NULL,NULL, - "crs64x64.gif", + "list-ol.svg", Txt_Courses,NULL, NULL); } @@ -3005,11 +3005,11 @@ void Crs_PutIconToSelectMyCoursesInBreadcrumb (void) /***** Put icon with link *****/ Frm_LinkFormSubmit (Txt_My_courses,NULL,NULL); - fprintf (Gbl.F.Out,"\"%s\"" "", - Gbl.Prefs.PathTheme, + Gbl.Prefs.URLTheme, Txt_My_courses,Txt_My_courses); /***** End form *****/ @@ -3028,7 +3028,7 @@ void Crs_PutIconToSelectMyCourses (void) /***** Put form to search / select courses *****/ Lay_PutContextualLink (ActMyCrs,NULL,NULL, - "hierarchy64x64.gif", + "sitemap.svg", Txt_My_courses,NULL, NULL); } diff --git a/swad_degree.c b/swad_degree.c index 558c5674..1bc9e8bf 100644 --- a/swad_degree.c +++ b/swad_degree.c @@ -1298,7 +1298,7 @@ static void Deg_ListOneDegreeForSeeing (struct Degree *Deg,unsigned NumDeg) " class=\"ICO20x20\" />" "", BgColor, - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, NumCrss ? "ok_green" : "tr", NumCrss ? Txt_DEGREE_With_courses : @@ -1424,7 +1424,7 @@ void Deg_PutIconToViewDegrees (void) extern const char *Txt_Degrees; Lay_PutContextualLink (ActSeeDeg,NULL,NULL, - "deg64x64.gif", + "graduation-cap.svg", Txt_Degrees,NULL, NULL); } @@ -2500,7 +2500,7 @@ void Hie_GetAndWriteInsCtrDegAdminBy (long UsrCod,unsigned ColSpan) " alt=\"\" title=\"\"" " class=\"ICO25x25\" />" "", - Gbl.RowEvenOdd,Gbl.Prefs.IconsURL, + Gbl.RowEvenOdd,Gbl.Prefs.URLIcons, NumRow == NumRows ? "subend" : "submid"); @@ -2520,7 +2520,7 @@ void Hie_GetAndWriteInsCtrDegAdminBy (long UsrCod,unsigned ColSpan) " alt=\"%s\" title=\"%s\"" " class=\"ICO20x20\" />" " %s", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_all_degrees, Txt_all_degrees, Txt_all_degrees); diff --git a/swad_degree_type.c b/swad_degree_type.c index 9197ffae..ee810c58 100644 --- a/swad_degree_type.c +++ b/swad_degree_type.c @@ -289,7 +289,7 @@ void DT_PutIconToViewDegreeTypes (void) extern const char *Txt_Types_of_degree; Lay_PutContextualLink (ActSeeDegTyp,NULL,NULL, - "hierarchy64x64.png", + "sitemap.svg", Txt_Types_of_degree,NULL, NULL); } diff --git a/swad_enrolment.c b/swad_enrolment.c index c0df03c4..41cd3023 100644 --- a/swad_enrolment.c +++ b/swad_enrolment.c @@ -3089,7 +3089,7 @@ void Enr_PutLinkToAdminOneUsr (Act_Action_t NextAction) Txt_Administer_me; Lay_PutContextualLink (NextAction,NULL,NULL, - "config64x64.gif", + "user-cog.svg", TitleText,TitleText, NULL); } @@ -3126,7 +3126,7 @@ void Enr_PutLinkToAdminSeveralUsrs (Rol_Role_t Role) Lay_ShowErrorAndExit ("Wrong role."); } Lay_PutContextualLink (NextAction,NULL,NULL, - "config64x64.gif", + "users-cog.svg", TitleText,TitleText, NULL); } diff --git a/swad_file_browser.c b/swad_file_browser.c index 5bc616a9..1e5b3c74 100644 --- a/swad_file_browser.c +++ b/swad_file_browser.c @@ -3383,7 +3383,7 @@ static void Brw_FormToChangeCrsGrpZone (void) (IsGroupZone && GrpDat.GrpCod == Gbl.CurrentCrs.Grps.GrpCod) ? "BROWSER_TITLE" : "BROWSER_TITLE_LIGHT", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, NumGrp < LstMyGrps.NumGrps - 1 ? "submid" : "subend", GrpDat.GrpCod); @@ -5880,7 +5880,7 @@ static void Brw_PutIconRemoveFile (const char PathInTree[PATH_MAX + 1], fprintf (Gbl.F.Out,"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Gbl.Title, Gbl.Title); Frm_EndForm (); @@ -5915,7 +5915,7 @@ static void Brw_PutIconRemoveDir (const char PathInTree[PATH_MAX + 1], fprintf (Gbl.F.Out,"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Gbl.Title, Gbl.Title); Frm_EndForm (); @@ -5948,7 +5948,7 @@ static void Brw_PutIconCopy (const char PathInTree[PATH_MAX + 1], fprintf (Gbl.F.Out,"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Gbl.Title, Gbl.Title); Frm_EndForm (); @@ -5978,7 +5978,7 @@ static void Brw_PutIconPasteOn (const char PathInTree[PATH_MAX + 1], fprintf (Gbl.F.Out,"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Gbl.Title, Gbl.Title); Frm_EndForm (); @@ -5998,7 +5998,7 @@ static void Brw_PutIconPasteOff (void) " alt=\"%s\" title=\"%s\"" " class=\"CONTEXT_OPT ICO_HIDDEN ICO16x16\" />" "", - Gbl.RowEvenOdd,Gbl.Prefs.IconsURL, + Gbl.RowEvenOdd,Gbl.Prefs.URLIcons, Txt_Copy_not_allowed, Txt_Copy_not_allowed); } @@ -6027,7 +6027,7 @@ static void Brw_IndentAndWriteIconExpandContract (unsigned Level, fprintf (Gbl.F.Out,"\"\"", - Gbl.Prefs.IconsURL); + Gbl.Prefs.URLIcons); break; case Brw_ICON_TREE_EXPAND: /***** Visible icon to expand folder *****/ @@ -6075,7 +6075,7 @@ static void Brw_IndentDependingOnLevel (unsigned Level) " alt=\"\" title=\"\"" " class=\"ICO20x20\" />" "", - Gbl.Prefs.IconsURL); + Gbl.Prefs.URLIcons); } /*****************************************************************************/ @@ -6114,7 +6114,7 @@ static void Brw_PutIconToExpandFolder (const char *FileBrowserId,const char *Row fprintf (Gbl.F.Out,"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Gbl.Title, Gbl.Title); Frm_EndForm (); @@ -6159,7 +6159,7 @@ static void Brw_PutIconToContractFolder (const char *FileBrowserId,const char *R fprintf (Gbl.F.Out,"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Gbl.Title, Gbl.Title); Frm_EndForm (); @@ -6187,7 +6187,7 @@ static void Brw_PutIconShow (unsigned Level,const char *PathInTree,const char *F fprintf (Gbl.F.Out,"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Brw_CheckIfAnyUpperLevelIsHidden (Level) ? "off" : "on", Gbl.Title, @@ -6215,7 +6215,7 @@ static void Brw_PutIconHide (unsigned Level,const char *PathInTree,const char *F fprintf (Gbl.F.Out,"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Brw_CheckIfAnyUpperLevelIsHidden (Level) ? "off" : "on", Gbl.Title, @@ -6344,7 +6344,7 @@ static void Brw_PutIconFolderWithoutPlus (const char *FileBrowserId,const char * fprintf (Gbl.F.Out,"\"%s\"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Open ? "open" : "closed", Txt_Folder, @@ -6387,7 +6387,7 @@ static void Brw_PutIconFolderWithPlus (const char *FileBrowserId,const char *Row " src=\"%s/folder-%s-plus16x16.gif\"" " alt=\"%s\" title=\"%s\"" " class=\"ICO20x20\" />", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Open ? "open" : "closed", Gbl.Title, @@ -6412,7 +6412,7 @@ static void Brw_PutIconNewFileOrFolder (void) " alt=\"%s\" title=\"%s\"" " class=\"ICO20x20\" />" "", - Gbl.RowEvenOdd,Gbl.Prefs.IconsURL, + Gbl.RowEvenOdd,Gbl.Prefs.URLIcons, Txt_New_FILE_OR_FOLDER, Txt_New_FILE_OR_FOLDER); } @@ -6465,7 +6465,7 @@ static void Brw_PutIconFile (unsigned Size,Brw_FileType_t FileType,const char *F /***** Icon depending on the file extension *****/ fprintf (Gbl.F.Out,"\"%s\"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_Public_open_educational_resource_OER_for_everyone, Txt_Public_open_educational_resource_OER_for_everyone); @@ -6684,7 +6684,7 @@ static void Brw_WriteDatesAssignment (void) fprintf (Gbl.F.Out,"\"\"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Gbl.FileBrowser.Asg.Open ? "green" : "red"); @@ -6783,7 +6783,7 @@ static void Brw_WriteFileOrFolderPublisher (unsigned Level,unsigned long UsrCod) fprintf (Gbl.F.Out,"\"%s\"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_Unknown_or_without_photo, Txt_Unknown_or_without_photo); @@ -8740,7 +8740,7 @@ static void Brw_PutFormToUploadFilesUsingDropzone (const char *FileNameToShow) " background:url('%s/upload320x320.gif') no-repeat center;\">", Cfg_URL_SWAD_CGI, Lan_STR_LANG_ID[Gbl.Prefs.Language], - Gbl.Prefs.IconsURL); + Gbl.Prefs.URLIcons); Par_PutHiddenParamLong ("act",Act_GetActCod (Brw_ActUploadFileDropzone[Gbl.FileBrowser.Type])); Par_PutHiddenParamString ("ses",Gbl.Session.Id); Brw_PutParamsFileBrowser (Brw_ActUploadFileDropzone[Gbl.FileBrowser.Type], @@ -10453,7 +10453,7 @@ static void Brw_WriteBigLinkToDownloadFile (const char *URL, " alt=\"%s\" title=\"%s\"" " class=\"ICO40x40\" />" "", - FileNameToShow,Gbl.Prefs.IconsURL, + FileNameToShow,Gbl.Prefs.URLIcons, Gbl.Title,Gbl.Title); Frm_EndForm (); } @@ -10472,7 +10472,7 @@ static void Brw_WriteBigLinkToDownloadFile (const char *URL, " class=\"ICO40x40\" />" "", FileNameToShow, - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_Download,Txt_Download); } } @@ -12557,7 +12557,7 @@ static void Brw_WriteRowDocData (unsigned long *NumDocsNotHidden,MYSQL_ROW row) fprintf (Gbl.F.Out,"\"%s\"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_Folder,Txt_Folder); else /* Icon with file type or link */ diff --git a/swad_follow.c b/swad_follow.c index 250b3c7d..7e49ec87 100644 --- a/swad_follow.c +++ b/swad_follow.c @@ -544,7 +544,7 @@ void Fol_ShowFollowingAndFollowers (const struct UsrData *UsrDat, " class=\"ICO40x40\" />" "" "", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_Unfollow,Txt_Following_unfollow); Frm_EndForm (); } @@ -560,7 +560,7 @@ void Fol_ShowFollowingAndFollowers (const struct UsrData *UsrDat, " class=\"ICO40x40\" />" "" "", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_Follow,Txt_Follow); Frm_EndForm (); } @@ -947,11 +947,11 @@ static void Fol_PutInactiveIconToFollowUnfollow (void) { /***** Inactive icon to follow/unfollow *****/ fprintf (Gbl.F.Out,"
" - "\"\""" + " class=\"ICO16x16\" />" "
", - Gbl.Prefs.IconsURL); + Gbl.Prefs.URLIcons); } /*****************************************************************************/ @@ -972,7 +972,7 @@ static void Fol_PutIconToFollow (struct UsrData *UsrDat) " class=\"ICO20x20\" />" "" "", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_Follow,Txt_Follow); Frm_EndForm (); } @@ -995,7 +995,7 @@ static void Fol_PutIconToUnfollow (struct UsrData *UsrDat) " class=\"ICO20x20\" />" "" "", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_Unfollow,Txt_Unfollow); Frm_EndForm (); } diff --git a/swad_forum.c b/swad_forum.c index dca794da..dc568691 100644 --- a/swad_forum.c +++ b/swad_forum.c @@ -1189,7 +1189,7 @@ static void For_ShowAForumPost (unsigned PstNum,long PstCod, "", NewPst ? "MSG_TIT_BG_NEW" : "MSG_TIT_BG", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, NewPst ? "msg-unread" : "msg-open", NewPst ? Txt_MSG_New : @@ -1243,7 +1243,7 @@ static void For_ShowAForumPost (unsigned PstNum,long PstCod, fprintf (Gbl.F.Out,"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Enabled ? "eye" : "eye-slash", Gbl.Title, @@ -1262,7 +1262,7 @@ static void For_ShowAForumPost (unsigned PstNum,long PstCod, " class=\"ICO20x20\" />" "", Gbl.Title, - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Enabled ? "eye" : "eye-slash", Gbl.Title, @@ -2071,7 +2071,7 @@ static void For_WriteLinkToForum (struct Forum *Forum, fprintf (Gbl.F.Out,"\"%s\"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_Copy_not_allowed,Txt_Copy_not_allowed); else { @@ -2087,7 +2087,7 @@ static void For_WriteLinkToForum (struct Forum *Forum, fprintf (Gbl.F.Out,"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_Paste_thread, Txt_Paste_thread); Frm_EndForm (); @@ -2114,14 +2114,14 @@ static void For_WriteLinkToForum (struct Forum *Forum, fprintf (Gbl.F.Out,"\"%s\"", - Gbl.Prefs.IconsURL,ForumName,ForumName); + Gbl.Prefs.URLIcons,ForumName,ForumName); break; case For_FORUM__SWAD__USRS: case For_FORUM__SWAD__TCHS: fprintf (Gbl.F.Out,"\"%s\"", - Gbl.Prefs.IconsURL,ForumName,ForumName); + Gbl.Prefs.URLIcons,ForumName,ForumName); break; case For_FORUM_INSTIT_USRS: case For_FORUM_INSTIT_TCHS: @@ -2140,7 +2140,7 @@ static void For_WriteLinkToForum (struct Forum *Forum, fprintf (Gbl.F.Out,"\"%s\"", - Gbl.Prefs.IconsURL,ForumName,ForumName); + Gbl.Prefs.URLIcons,ForumName,ForumName); break; default: break; @@ -3429,7 +3429,7 @@ static void For_ListForumThrs (long ThrCods[Pag_ITEMS_PER_PAGE], Gbl.Usrs.Me.PhotoURL); else fprintf (Gbl.F.Out,"%s/usr_bl.jpg", - Gbl.Prefs.IconsURL); + Gbl.Prefs.URLIcons); fprintf (Gbl.F.Out,"\" alt=\"%s\" title=\"", Txt_Thread_with_posts_from_you); if (Thr.NumMyPosts == 1) @@ -3447,7 +3447,7 @@ static void For_ListForumThrs (long ThrCods[Pag_ITEMS_PER_PAGE], " alt=\"%s\" title=\"%s\"" " class=\"ICO20x20\" />", BgColor, - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Thr.NumUnreadPosts ? "msg-unread" : "msg-open", Thr.NumUnreadPosts ? Txt_There_are_new_posts : @@ -3489,7 +3489,7 @@ static void For_ListForumThrs (long ThrCods[Pag_ITEMS_PER_PAGE], fprintf (Gbl.F.Out,"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_Move_thread, Txt_Move_thread); Frm_EndForm (); diff --git a/swad_game.c b/swad_game.c index ac1436c6..a38d1466 100644 --- a/swad_game.c +++ b/swad_game.c @@ -3205,7 +3205,7 @@ static void Gam_DrawBarNumUsrs (unsigned NumUsrs,unsigned MaxUsrs) " class=\"LEFT_TOP\"" " style=\"width:%upx; height:20px;\" />" " ", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Gbl.Title, Gbl.Title, BarWidth); @@ -3515,7 +3515,7 @@ static void Gam_PutBigButtonToStartGame (long GamCod) Frm_LinkFormSubmit (Txt_Play,NULL,NULL); fprintf (Gbl.F.Out,"\"%s\"", - Gbl.Prefs.IconsURL,Txt_Play,Txt_Play); + Gbl.Prefs.URLIcons,Txt_Play,Txt_Play); fprintf (Gbl.F.Out,""); /***** End form *****/ @@ -3664,7 +3664,7 @@ static void Gam_PutBigButtonToContinue (Act_Action_t NextAction, " alt=\"%s\" title=\"%s\" class=\"ICO64x64\" />" "
" "%s", - Gbl.Prefs.IconsURL,Txt_Continue,Txt_Continue, + Gbl.Prefs.URLIcons,Txt_Continue,Txt_Continue, Txt_Continue); fprintf (Gbl.F.Out,""); diff --git a/swad_global.c b/swad_global.c index 0c15bf06..714e4335 100644 --- a/swad_global.c +++ b/swad_global.c @@ -136,15 +136,15 @@ void Gbl_InitializeGlobals (void) Gbl.Prefs.Menu = Mnu_MENU_DEFAULT; // Default menu Gbl.Prefs.Theme = The_THEME_DEFAULT; // Default theme Gbl.Prefs.IconSet = Ico_ICON_SET_DEFAULT; // Default icon set - snprintf (Gbl.Prefs.IconsURL,sizeof (Gbl.Prefs.IconsURL), + snprintf (Gbl.Prefs.URLIcons,sizeof (Gbl.Prefs.URLIcons), "%s/%s", Cfg_URL_SWAD_PUBLIC,Cfg_FOLDER_PUBLIC_ICON); - snprintf (Gbl.Prefs.PathTheme,sizeof (Gbl.Prefs.PathTheme), + snprintf (Gbl.Prefs.URLTheme,sizeof (Gbl.Prefs.URLTheme), "%s/%s/%s/%s", Cfg_URL_SWAD_PUBLIC,Cfg_FOLDER_PUBLIC_ICON, Cfg_ICON_FOLDER_THEMES, The_ThemeId[Gbl.Prefs.Theme]); - snprintf (Gbl.Prefs.PathIconSet,sizeof (Gbl.Prefs.PathIconSet), + snprintf (Gbl.Prefs.URLIconSet,sizeof (Gbl.Prefs.URLIconSet), "%s/%s/%s/%s", Cfg_URL_SWAD_PUBLIC,Cfg_FOLDER_PUBLIC_ICON, Cfg_ICON_FOLDER_ICON_SETS, diff --git a/swad_global.h b/swad_global.h index b30122b9..f0e60f9b 100644 --- a/swad_global.h +++ b/swad_global.h @@ -164,10 +164,10 @@ struct Globals Mnu_Menu_t Menu; unsigned SideCols; The_Theme_t Theme; - char PathTheme[PATH_MAX + 1]; Ico_IconSet_t IconSet; - char PathIconSet[PATH_MAX + 1]; - char IconsURL[PATH_MAX + 1]; + char URLIcons[PATH_MAX + 1]; + char URLTheme[PATH_MAX + 1]; + char URLIconSet[PATH_MAX + 1]; } Prefs; struct diff --git a/swad_group.c b/swad_group.c index bad6eebd..4d6d0974 100644 --- a/swad_group.c +++ b/swad_group.c @@ -1390,7 +1390,7 @@ static void Grp_ListGroupTypesForEdition (void) " class=\"ICO20x20\" />" "" "", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Gbl.CurrentCrs.Grps.GrpTypes.LstGrpTypes[NumGrpTyp].MustBeOpened ? "time" : "time-off", Gbl.CurrentCrs.Grps.GrpTypes.LstGrpTypes[NumGrpTyp].MustBeOpened ? Txt_The_groups_will_automatically_open : @@ -1552,7 +1552,7 @@ static void Grp_ListGroupsForEdition (void) fprintf (Gbl.F.Out,"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Grp->Open ? "unlock" : "lock", Gbl.Title, @@ -1573,7 +1573,7 @@ static void Grp_ListGroupsForEdition (void) fprintf (Gbl.F.Out,"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Grp->FileZones ? "folder-yes" : "folder-no", Gbl.Title, @@ -2476,7 +2476,7 @@ static void Grp_WriteRowGrp (struct Group *Grp,bool Highlight) " alt=\"%s\" title=\"%s\"" " class=\"ICO20x20\" />" "", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Grp->Open ? "unlock" : "lock", Gbl.Title,Gbl.Title); @@ -2622,7 +2622,7 @@ static void Grp_PutFormToCreateGroupType (void) " class=\"ICO20x20\" />" "" "", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Gbl.CurrentCrs.Grps.GrpTyp.MustBeOpened ? "time" : "time-off", Gbl.CurrentCrs.Grps.GrpTyp.MustBeOpened ? Txt_The_groups_will_automatically_open : @@ -2696,10 +2696,10 @@ static void Grp_PutFormToCreateGroup (void) " alt=\"%s\" title=\"%s\"" " class=\"ICO20x20\" />" "", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_Group_closed, Txt_Group_closed, - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_File_zones_disabled, Txt_File_zones_disabled); @@ -5102,9 +5102,9 @@ void Grp_ShowFormToSelWhichGrps (Act_Action_t Action,void (*FuncParams) ()) fprintf (Gbl.F.Out,"", - Gbl.Prefs.IconsURL, - WhichGrps == Grp_ONLY_MY_GROUPS ? "myhierarchy64x64.png" : - "hierarchy64x64.png", + Gbl.Prefs.URLIcons, + WhichGrps == Grp_ONLY_MY_GROUPS ? "mysitemap.png" : + "sitemap.svg", Txt_GROUP_WHICH_GROUPS[WhichGrps], Txt_GROUP_WHICH_GROUPS[WhichGrps]); Frm_EndForm (); diff --git a/swad_hierarchy.c b/swad_hierarchy.c index 85683683..c79ec3d1 100644 --- a/swad_hierarchy.c +++ b/swad_hierarchy.c @@ -407,7 +407,7 @@ void Hie_WriteBigNameCtyInsCtrDegCrs (void) fprintf (Gbl.F.Out,"\"%s\"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Cfg_PLATFORM_SHORT_NAME,Cfg_PLATFORM_FULL_NAME); /***** Text *****/ diff --git a/swad_icon.c b/swad_icon.c index 0606485d..e01ba622 100644 --- a/swad_icon.c +++ b/swad_icon.c @@ -69,6 +69,43 @@ const char *Ico_IconSetNames[Ico_NUM_ICON_SETS] = static void Ico_PutIconsIconSet (void); +/*****************************************************************************/ +/*********** Get icon with extension from icon without extension *************/ +/*****************************************************************************/ + +#define Ico_NUM_ICON_EXTENSIONS 3 + +const char *Ico_GetIcon (const char *IconWithoutExtension) + { + static const char *Ico_IconExtensions[Ico_NUM_ICON_EXTENSIONS] = + { // In order of preference + "svg", + "png", + "gif", + }; + static char IconWithExtension[NAME_MAX + 1]; + char PathIcon[PATH_MAX + 1]; + unsigned NumExt; + + for (NumExt = 0; + NumExt < Ico_NUM_ICON_EXTENSIONS; + NumExt++) + { + snprintf (IconWithExtension,sizeof (IconWithExtension), + "%s.%s", + IconWithoutExtension,Ico_IconExtensions[NumExt]); + snprintf (PathIcon,sizeof (PathIcon), + "%s/%s/%s/%s/%s", + Cfg_PATH_SWAD_PUBLIC,Cfg_FOLDER_PUBLIC_ICON, + Cfg_ICON_FOLDER_ICON_SETS,Ico_IconSetId[Gbl.Prefs.IconSet], + IconWithExtension); + if (Fil_CheckIfPathExists (PathIcon)) + return IconWithExtension; + } + + return "default.svg"; + } + /*****************************************************************************/ /************************ Put icons to select a IconSet **********************/ /*****************************************************************************/ @@ -93,7 +130,7 @@ void Ico_PutIconsToSelectIconSet (void) Par_PutHiddenParamString ("IconSet",Ico_IconSetId[IconSet]); fprintf (Gbl.F.Out,"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Cfg_ICON_FOLDER_ICON_SETS, Ico_IconSetId[IconSet], Ico_IconSetNames[IconSet], @@ -124,7 +161,7 @@ void Ico_ChangeIconSet (void) { /***** Get param with icon set *****/ Gbl.Prefs.IconSet = Ico_GetParamIconSet (); - snprintf (Gbl.Prefs.PathIconSet,sizeof (Gbl.Prefs.PathIconSet), + snprintf (Gbl.Prefs.URLIconSet,sizeof (Gbl.Prefs.URLIconSet), "%s/%s/%s/%s", Cfg_URL_SWAD_PUBLIC,Cfg_FOLDER_PUBLIC_ICON, Cfg_ICON_FOLDER_ICON_SETS, @@ -196,7 +233,7 @@ void Ico_PutContextualIconToEdit (Act_Action_t NextAction,void (*FuncParams) ()) extern const char *Txt_Edit; Lay_PutContextualLink (NextAction,NULL,FuncParams, - "edit64x64.png", + "pen.svg", Txt_Edit,NULL, NULL); } @@ -264,7 +301,7 @@ void Ico_PutIconLink (const char *Icon,const char *Title,const char *Text, else fprintf (Gbl.F.Out,"\"%s\"", - Gbl.Prefs.IconsURL,Icon,Title,Title); + Gbl.Prefs.URLIcons,Icon,Title,Title); fprintf (Gbl.F.Out,""); } @@ -276,7 +313,7 @@ void Ico_PutIconOff (const char *Icon,const char *Alt) { fprintf (Gbl.F.Out,"\"%s\"", - Gbl.Prefs.IconsURL,Icon,Alt,Alt); + Gbl.Prefs.URLIcons,Icon,Alt,Alt); } /*****************************************************************************/ @@ -289,7 +326,7 @@ void Ico_PutIconWithText (const char *Icon,const char *Alt,const char *Text) fprintf (Gbl.F.Out,"
" "\"%s\"", - Gbl.Prefs.IconsURL,Icon,Alt,Text ? Text : + Gbl.Prefs.URLIcons,Icon,Alt,Text ? Text : Alt); if (Text) if (Text[0]) @@ -313,8 +350,8 @@ void Ico_PutCalculateIcon (const char *Alt) " class=\"ICO20x20\" style=\"display:none;\" />" // Animated icon hidden "
" "", - Gbl.Form.Num,Gbl.Prefs.IconsURL,Alt,Alt, - Gbl.Form.Num,Gbl.Prefs.IconsURL,Alt,Alt); + Gbl.Form.Num,Gbl.Prefs.URLIcons,Alt,Alt, + Gbl.Form.Num,Gbl.Prefs.URLIcons,Alt,Alt); } /*****************************************************************************/ @@ -335,8 +372,8 @@ void Ico_PutCalculateIconWithText (const char *Alt,const char *Text) " %s" "" "", - Gbl.Form.Num,Gbl.Prefs.IconsURL,Alt,Text, - Gbl.Form.Num,Gbl.Prefs.IconsURL,Alt,Text, + Gbl.Form.Num,Gbl.Prefs.URLIcons,Alt,Text, + Gbl.Form.Num,Gbl.Prefs.URLIcons,Alt,Text, Text); } @@ -362,7 +399,7 @@ void Ico_PutIconRemove (void) fprintf (Gbl.F.Out,"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_Remove, Txt_Remove); } diff --git a/swad_icon.h b/swad_icon.h index a973f136..20c22808 100644 --- a/swad_icon.h +++ b/swad_icon.h @@ -48,6 +48,8 @@ typedef enum /***************************** Public prototypes *****************************/ /*****************************************************************************/ +const char *Ico_GetIcon (const char *IconWithoutExtension); + void Ico_PutIconsToSelectIconSet (void); void Ico_ChangeIconSet (void); Ico_IconSet_t Ico_GetParamIconSet (void); diff --git a/swad_image.c b/swad_image.c index 096a1997..d0e213ef 100644 --- a/swad_image.c +++ b/swad_image.c @@ -214,7 +214,7 @@ void Img_PutImageUploader (int NumImgInForm,const char *ClassImgTitURL) /***** Image file *****/ fprintf (Gbl.F.Out,"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_Image,Txt_Image,Txt_optional, ParamUploadImg.File, Id,Id); diff --git a/swad_institution.c b/swad_institution.c index 57390788..365c0b81 100644 --- a/swad_institution.c +++ b/swad_institution.c @@ -983,7 +983,7 @@ static void Ins_PutIconToViewInstitutions (void) extern const char *Txt_Institutions; Lay_PutContextualLink (ActSeeIns,NULL,NULL, - "ins64x64.gif", + "university.svg", Txt_Institutions,NULL, NULL); } diff --git a/swad_language.c b/swad_language.c index 0cf9f66e..67769c70 100644 --- a/swad_language.c +++ b/swad_language.c @@ -78,7 +78,7 @@ static void Lan_PutParamLanguage (void); void Lan_PutLinkToChangeLanguage (void) { Lay_PutContextualLink (ActEdiPrf,NULL,NULL, - "cty64x64.gif", + "globe.svg", "Change language","Change language", NULL); } diff --git a/swad_layout.c b/swad_layout.c index 30e0abdd..12ba4667 100644 --- a/swad_layout.c +++ b/swad_layout.c @@ -190,8 +190,8 @@ void Lay_WriteStartOfPage (void) /* Favicon */ fprintf (Gbl.F.Out,"\n" "\n", - Gbl.Prefs.IconsURL, - Gbl.Prefs.IconsURL); + Gbl.Prefs.URLIcons, + Gbl.Prefs.URLIcons); /* Style sheet for SWAD */ fprintf (Gbl.F.Out,"\n", @@ -261,7 +261,7 @@ void Lay_WriteStartOfPage (void) "
" "
" "", - Gbl.Prefs.IconsURL); + Gbl.Prefs.URLIcons); else { fprintf (Gbl.F.Out,"\n"); @@ -872,7 +872,7 @@ static void Lay_WritePageTopHeading (void) " class=\"CENTER_MIDDLE\"" " style=\"width:%upx; height:%upx;\" />" "", // head_row_1_logo_small - Gbl.Prefs.IconsURL,Cfg_PLATFORM_LOGO_SMALL_FILENAME, + Gbl.Prefs.URLIcons,Cfg_PLATFORM_LOGO_SMALL_FILENAME, Cfg_PLATFORM_SHORT_NAME,Cfg_PLATFORM_FULL_NAME, Cfg_PLATFORM_LOGO_SMALL_WIDTH,Cfg_PLATFORM_LOGO_SMALL_HEIGHT); fprintf (Gbl.F.Out,"" @@ -882,7 +882,7 @@ static void Lay_WritePageTopHeading (void) " class=\"CENTER_MIDDLE\"" " style=\"width:%upx; height:%upx;\" />" "", // head_row_1_logo_big - Gbl.Prefs.IconsURL,Cfg_PLATFORM_LOGO_BIG_FILENAME, + Gbl.Prefs.URLIcons,Cfg_PLATFORM_LOGO_BIG_FILENAME, Cfg_PLATFORM_SHORT_NAME,Cfg_PLATFORM_FULL_NAME, Cfg_PLATFORM_LOGO_BIG_WIDTH,Cfg_PLATFORM_LOGO_BIG_HEIGHT); fprintf (Gbl.F.Out,"" @@ -976,7 +976,7 @@ static void Lay_WriteTitleAction (void) /***** Container start *****/ fprintf (Gbl.F.Out,"
", - Gbl.Prefs.PathIconSet, + Gbl.Prefs.URLIconSet, Act_GetIcon (Act_GetSuperAction (Gbl.Action.Act))); /***** Title *****/ @@ -1082,7 +1082,7 @@ static void Lay_ShowRightColumn (void) "" "
", Txt_If_you_have_an_Android_device_try_SWADroid, - Gbl.Prefs.IconsURL); + Gbl.Prefs.URLIcons); } /*****************************************************************************/ @@ -1314,7 +1314,7 @@ static void Lay_WriteAboutZone (void) "
%s
" "", Cfg_ABOUT_URL, - Gbl.Prefs.IconsURL,Cfg_ABOUT_LOGO, + Gbl.Prefs.URLIcons,Cfg_ABOUT_LOGO, Cfg_ABOUT_NAME,Cfg_ABOUT_NAME, Cfg_ABOUT_LOGO_WIDTH,Cfg_ABOUT_LOGO_HEIGHT, Cfg_ABOUT_NAME); @@ -1557,7 +1557,7 @@ void Lay_AdvertisementMobile (void) "" "", Txt_Stay_connected_with_SWADroid, - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_Stay_connected_with_SWADroid); /***** End table and box *****/ @@ -1583,7 +1583,7 @@ void Lay_IndentDependingOnLevel (unsigned Level,bool IsLastItemInLevel[]) fprintf (Gbl.F.Out,"\"\"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, IsLastItemInLevel[i] ? "tr" : "subleft"); @@ -1592,7 +1592,7 @@ void Lay_IndentDependingOnLevel (unsigned Level,bool IsLastItemInLevel[]) fprintf (Gbl.F.Out,"\"\"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, IsLastItemInLevel[Level] ? "subend" : "submid"); } diff --git a/swad_logo.c b/swad_logo.c index dc5ea1bb..f22e5bee 100644 --- a/swad_logo.c +++ b/swad_logo.c @@ -69,13 +69,13 @@ void Log_DrawLogo (Sco_Scope_t Scope,long Cod,const char *AltText, { static const char *Icon[Sco_NUM_SCOPES] = { - NULL, // Sco_SCOPE_UNK - NULL, // Sco_SCOPE_SYS - NULL, // Sco_SCOPE_CTY - Cfg_FOLDER_INS, // Sco_SCOPE_INS - Cfg_FOLDER_CTR, // Sco_SCOPE_CTR - Cfg_FOLDER_DEG, // Sco_SCOPE_DEG - NULL, // Sco_SCOPE_CRS + NULL, // Sco_SCOPE_UNK + NULL, // Sco_SCOPE_SYS + NULL, // Sco_SCOPE_CTY + "university.svg", // Sco_SCOPE_INS + "building.svg", // Sco_SCOPE_CTR + "graduation-cap.svg", // Sco_SCOPE_DEG + NULL, // Sco_SCOPE_CRS }; const char *Folder = NULL; // To avoid warning char PathLogo[PATH_MAX + 1]; @@ -156,8 +156,8 @@ void Log_DrawLogo (Sco_Scope_t Scope,long Cod,const char *AltText, (unsigned) Cod, (unsigned) Cod); else if (Icon[Scope]) - fprintf (Gbl.F.Out,"%s/%s64x64.gif", - Gbl.Prefs.IconsURL,Icon[Scope]); + fprintf (Gbl.F.Out,"%s/%s", + Gbl.Prefs.URLIcons,Icon[Scope]); fprintf (Gbl.F.Out,"\"" " alt=\"%s\" title=\"%s\"" " class=\"ICO%ux%u", diff --git a/swad_mail.c b/swad_mail.c index 4af1542c..8aefdde1 100644 --- a/swad_mail.c +++ b/swad_mail.c @@ -1329,7 +1329,7 @@ static void Mai_ShowFormChangeUsrEmail (const struct UsrData *UsrDat,bool ItsMe, fprintf (Gbl.F.Out,"\"%s\"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Gbl.Title,Gbl.Title); } diff --git a/swad_menu.c b/swad_menu.c index 3d6f2c42..72f574cb 100644 --- a/swad_menu.c +++ b/swad_menu.c @@ -374,7 +374,7 @@ void Mnu_WriteMenuThisTab (void) /***** Icon *****/ fprintf (Gbl.F.Out,"
", - Gbl.Prefs.PathIconSet, + Gbl.Prefs.URLIconSet, Act_GetIcon (NumAct)); /***** Text *****/ @@ -428,7 +428,7 @@ void Mnu_PutIconsToSelectMenu (void) Par_PutHiddenParamUnsigned ("Menu",(unsigned) Menu); fprintf (Gbl.F.Out,"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Mnu_MenuIcons[Menu], Txt_MENU_NAMES[Menu], Txt_MENU_NAMES[Menu]); diff --git a/swad_message.c b/swad_message.c index 025c2455..3626d4a7 100644 --- a/swad_message.c +++ b/swad_message.c @@ -2967,7 +2967,7 @@ static void Msg_ShowASentOrReceivedMessage (long MsgNum,long MsgCod) "BG_MSG_GREEN") : "BG_MSG_BLUE", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Gbl.Msg.TypeOfMessages == Msg_MESSAGES_RECEIVED ? (Open ? (Replied ? "replied" : "open") : "unread") : @@ -3237,7 +3237,7 @@ void Msg_WriteMsgAuthor (struct UsrData *UsrDat,bool Enabled,const char *BgColor " class=\"PHOTO30x40\" />" "" "" "", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Deleted ? "msg-fwd-del" : "msg-fwd", Deleted ? Txt_MSG_Sent_and_deleted : @@ -3524,7 +3524,7 @@ static void Msg_WriteMsgTo (long MsgCod) " alt=\"%s\" title=\"%s\"" " class=\"ICO20x20\" />" "", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, OpenByDst ? (Deleted ? "msg-open-del" : "msg-open") : (Deleted ? "msg-unread-del" : @@ -3676,7 +3676,7 @@ static void Msg_PutFormToBanSender (struct UsrData *UsrDat) fprintf (Gbl.F.Out,"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_Sender_permitted_click_to_ban_him, Txt_Sender_permitted_click_to_ban_him); Frm_EndForm (); @@ -3698,7 +3698,7 @@ static void Msg_PutFormToUnbanSender (struct UsrData *UsrDat) fprintf (Gbl.F.Out,"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_Sender_banned_click_to_unban_him, Txt_Sender_banned_click_to_unban_him); Frm_EndForm (); @@ -3878,7 +3878,7 @@ void Msg_ListBannedUsrs (void) " src=\"%s/lock-on64x64.png\"" " alt=\"%s\" title=\"%s\"" " class=\"ICO20x20\" />", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_Sender_banned_click_to_unban_him, Txt_Sender_banned_click_to_unban_him); Frm_EndForm (); diff --git a/swad_network.c b/swad_network.c index 56fe18ff..559efdf2 100644 --- a/swad_network.c +++ b/swad_network.c @@ -265,7 +265,7 @@ static void Net_ShowAWebOrSocialNet (const char *URL, "" "
", URL,Title, - Gbl.Prefs.IconsURL,Icon, + Gbl.Prefs.URLIcons,Icon, Title,Title); } @@ -332,7 +332,7 @@ void Net_ShowFormMyWebsAndSocialNets (void) "" "", (unsigned) NumURL,The_ClassForm[Gbl.Prefs.Theme], - Gbl.Prefs.IconsURL,Net_WebsAndSocialNetworksIcons[NumURL], + Gbl.Prefs.URLIcons,Net_WebsAndSocialNetworksIcons[NumURL], Net_WebsAndSocialNetworksTitle[NumURL], Net_WebsAndSocialNetworksTitle[NumURL], Net_WebsAndSocialNetworksTitle[NumURL]); @@ -592,7 +592,7 @@ void Net_ShowWebAndSocialNetworksStats (void) "%.2f%%" "" "", - Gbl.Prefs.IconsURL,Net_WebsAndSocialNetworksIcons[Web], + Gbl.Prefs.URLIcons,Net_WebsAndSocialNetworksIcons[Web], Net_WebsAndSocialNetworksTitle[Web], Net_WebsAndSocialNetworksTitle[Web], Net_WebsAndSocialNetworksTitle[Web], diff --git a/swad_notice.c b/swad_notice.c index 16506a3f..cca943c6 100644 --- a/swad_notice.c +++ b/swad_notice.c @@ -466,7 +466,7 @@ void Not_ShowNotices (Not_Listing_t TypeNoticesListing) " class=\"ICO20x20\" />" "" "", - Gbl.Prefs.IconsURL); + Gbl.Prefs.URLIcons); break; case Not_LIST_FULL_NOTICES: /***** Button to add new notice *****/ @@ -679,7 +679,7 @@ static void Not_DrawANotice (Not_Listing_t TypeNoticesListing, " class=\"ICO20x20\" />" "", Txt_NOTICE_Active_SINGULAR, - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_NOTICE_Active_SINGULAR, Txt_NOTICE_Active_SINGULAR); break; @@ -690,7 +690,7 @@ static void Not_DrawANotice (Not_Listing_t TypeNoticesListing, " class=\"ICO20x20\" />" "", Txt_NOTICE_Obsolete_SINGULAR, - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_NOTICE_Obsolete_SINGULAR, Txt_NOTICE_Obsolete_SINGULAR); break; diff --git a/swad_notification.c b/swad_notification.c index 98d13050..edd230a5 100644 --- a/swad_notification.c +++ b/swad_notification.c @@ -252,14 +252,14 @@ static const char *Ntf_Icons[Ntf_NUM_NOTIFY_EVENTS] = "soc64x64.png", // Ntf_EVENT_TIMELINE_COMMENT "fav64x64.png", // Ntf_EVENT_TIMELINE_FAV "share64x64.png", // Ntf_EVENT_TIMELINE_SHARE - "arroba64x64.gif", // Ntf_EVENT_TIMELINE_MENTION + "at.svg", // Ntf_EVENT_TIMELINE_MENTION "follow64x64.png", // Ntf_EVENT_FOLLOWER "forum64x64.gif", // Ntf_EVENT_FORUM_POST_COURSE "forum64x64.gif", // Ntf_EVENT_FORUM_REPLY /* Messages tab */ "notice64x64.png", // Ntf_EVENT_NOTICE - "msg64x64.gif", // Ntf_EVENT_MESSAGE + "envelope.svg", // Ntf_EVENT_MESSAGE /* Statistics tab */ @@ -385,7 +385,7 @@ void Ntf_ShowMyNotifications (void) /* Put form to view allowed mail domains */ Lay_PutContextualLink (ActSeeMai,NULL,NULL, - "msg64x64.gif", + "envelope.svg", Txt_Email_domains_allowed_for_notifications,Txt_Domains, NULL); @@ -512,7 +512,7 @@ void Ntf_ShowMyNotifications (void) fprintf (Gbl.F.Out,"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Ntf_Icons[NotifyEvent], Txt_NOTIFY_EVENTS_SINGULAR[NotifyEvent], Txt_NOTIFY_EVENTS_SINGULAR[NotifyEvent]); @@ -522,7 +522,7 @@ void Ntf_ShowMyNotifications (void) fprintf (Gbl.F.Out,"\"%s\"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Ntf_Icons[NotifyEvent], Txt_NOTIFY_EVENTS_SINGULAR[NotifyEvent], Txt_NOTIFY_EVENTS_SINGULAR[NotifyEvent]); @@ -2097,7 +2097,7 @@ void Ntf_WriteNumberOfNewNtfs (void) " alt=\"%s\" title=\"%s\"" " class=\"ICO20x20\" />" " %u %s", - Gbl.Prefs.PathTheme, + Gbl.Prefs.URLTheme, Txt_Notifications, Txt_Notifications, NumNewNtfs, diff --git a/swad_parameter.c b/swad_parameter.c index a5fd226a..767b49c6 100644 --- a/swad_parameter.c +++ b/swad_parameter.c @@ -798,16 +798,16 @@ void Par_GetMainParameters (void) /***** Set path of theme *****/ snprintf (Path,sizeof (Path), "%s/%s/%s", - Gbl.Prefs.IconsURL,Cfg_ICON_FOLDER_THEMES,The_ThemeId[Gbl.Prefs.Theme]); - Str_Copy (Gbl.Prefs.PathTheme,Path, + Gbl.Prefs.URLIcons,Cfg_ICON_FOLDER_THEMES,The_ThemeId[Gbl.Prefs.Theme]); + Str_Copy (Gbl.Prefs.URLTheme,Path, PATH_MAX); /***** Set path of icon set *****/ snprintf (Path,sizeof (Path), "%s/%s/%s", - Gbl.Prefs.IconsURL,Cfg_ICON_FOLDER_ICON_SETS, + Gbl.Prefs.URLIcons,Cfg_ICON_FOLDER_ICON_SETS, Ico_IconSetId[Gbl.Prefs.IconSet]); - Str_Copy (Gbl.Prefs.PathIconSet,Path, + Str_Copy (Gbl.Prefs.URLIconSet,Path, PATH_MAX); } diff --git a/swad_photo.c b/swad_photo.c index 4fbe9356..45662ed6 100644 --- a/swad_photo.c +++ b/swad_photo.c @@ -183,7 +183,7 @@ void Pho_PutIconToChangeUsrPhoto (void) TitleText = Gbl.Usrs.Me.MyPhotoExists ? Txt_Change_photo : Txt_Upload_photo; Lay_PutContextualLink (ActReqMyPho,NULL,NULL, - "photo64x64.gif", + "camera.svg", TitleText,NULL, NULL); } @@ -207,7 +207,7 @@ void Pho_PutIconToChangeUsrPhoto (void) break; } Lay_PutContextualLink (NextAction,NULL,Rec_PutParamUsrCodEncrypted, - "photo64x64.gif", + "camera.svg", TitleText,NULL, NULL); } @@ -1290,7 +1290,7 @@ void Pho_ShowUsrPhoto (const struct UsrData *UsrDat,const char *PhotoURL, if (PhotoExists) fprintf (Gbl.F.Out,"%s",PhotoURL); else - fprintf (Gbl.F.Out,"%s/usr_bl.jpg",Gbl.Prefs.IconsURL); + fprintf (Gbl.F.Out,"%s/usr_bl.jpg",Gbl.Prefs.URLIcons); fprintf (Gbl.F.Out,"\" alt=\"%s\" title=\"%s\"" " class=\"%s\"", UsrDat->FullName,UsrDat->FullName, @@ -1303,7 +1303,7 @@ void Pho_ShowUsrPhoto (const struct UsrData *UsrDat,const char *PhotoURL, if (PhotoExists) fprintf (Gbl.F.Out,"%s",PhotoURL); else - fprintf (Gbl.F.Out,"%s/usr_bl.jpg",Gbl.Prefs.IconsURL); + fprintf (Gbl.F.Out,"%s/usr_bl.jpg",Gbl.Prefs.URLIcons); fprintf (Gbl.F.Out,"','%s');\" onmouseout=\"noZoom();\"", IdCaption); } @@ -2522,7 +2522,7 @@ static void Pho_ShowDegreeAvgPhotoAndStat (struct Degree *Deg, PhotoURL,IdCaption); } else - fprintf (Gbl.F.Out,"%s/usr_bl.jpg\"",Gbl.Prefs.IconsURL); + fprintf (Gbl.F.Out,"%s/usr_bl.jpg\"",Gbl.Prefs.URLIcons); fprintf (Gbl.F.Out," alt=\"%s\"" " style=\"width:%upx; height:%upx;\" />", Deg->ShrtName, diff --git a/swad_plugin.c b/swad_plugin.c index 8e9b2988..df1c4695 100644 --- a/swad_plugin.c +++ b/swad_plugin.c @@ -137,7 +137,7 @@ void Plg_ListPlugins (void) "" "", URL,Plg->Name, - Gbl.Prefs.IconsURL,Cfg_ICON_FOLDER_PLUGINS,Gbl.Plugins.Lst[NumPlg].Logo, + Gbl.Prefs.URLIcons,Cfg_ICON_FOLDER_PLUGINS,Gbl.Plugins.Lst[NumPlg].Logo, Plg->Name,Plg->Name, URL,Plg->Name, Plg->Name); @@ -383,7 +383,7 @@ static void Plg_ListPluginsForEdition (void) " alt=\"%s\" title=\"%s\"" " class=\"ICO40x40\" />" "", - Gbl.Prefs.IconsURL,Cfg_ICON_FOLDER_PLUGINS, + Gbl.Prefs.URLIcons,Cfg_ICON_FOLDER_PLUGINS, Gbl.Plugins.Lst[NumPlg].Logo, Gbl.Plugins.Lst[NumPlg].Name, Gbl.Plugins.Lst[NumPlg].Name); diff --git a/swad_preference.c b/swad_preference.c index 006355a7..725e568f 100644 --- a/swad_preference.c +++ b/swad_preference.c @@ -247,7 +247,7 @@ static void Pre_PutIconsToSelectSideCols (void) Par_PutHiddenParamUnsigned ("SideCols",SideCols); fprintf (Gbl.F.Out,"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, SideCols >> 1,SideCols & 1, Txt_LAYOUT_SIDE_COLUMNS[SideCols], Txt_LAYOUT_SIDE_COLUMNS[SideCols]); diff --git a/swad_profile.c b/swad_profile.c index 53cdfba3..3d71734d 100644 --- a/swad_profile.c +++ b/swad_profile.c @@ -137,7 +137,7 @@ void Prf_PutLinkMyPublicProfile (void) extern const char *Txt_My_public_profile; Lay_PutContextualLink (ActSeeOthPubPrf,NULL,Usr_PutParamMyUsrCodEncrypted, - "usr64x64.png", + "user.svg", Txt_My_public_profile,Txt_My_public_profile, NULL); } @@ -151,7 +151,7 @@ void Prf_PutLinkRequestAnotherUserProfile (void) extern const char *Txt_Another_user_s_profile; Lay_PutContextualLink (ActReqOthPubPrf,NULL,NULL, - "usr64x64.png", + "user.svg", Txt_Another_user_s_profile,Txt_Another_user_s_profile, NULL); } @@ -396,7 +396,7 @@ void Prf_ShowDetailsUserProfile (const struct UsrData *UsrDat) " style=\"background-image:url('%s/tch64x64.gif');\">" "%u %s", Txt_ROLES_SINGUL_Abc[Rol_TCH][UsrDat->Sex], - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, NumCrssUsrIsTeacher, Txt_courses_ABBREVIATION); if (NumCrssUsrIsTeacher) @@ -413,7 +413,7 @@ void Prf_ShowDetailsUserProfile (const struct UsrData *UsrDat) " style=\"background-image:url('%s/std64x64.gif');\">" "%u %s", Txt_ROLES_SINGUL_Abc[Rol_STD][UsrDat->Sex], - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, NumCrssUsrIsStudent, Txt_courses_ABBREVIATION); if (NumCrssUsrIsStudent) @@ -434,7 +434,7 @@ void Prf_ShowDetailsUserProfile (const struct UsrData *UsrDat) "%u %s (%u %s)" "", Txt_Files_uploaded, - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, NumFiles, (NumFiles == 1) ? Txt_file : Txt_files, @@ -447,7 +447,7 @@ void Prf_ShowDetailsUserProfile (const struct UsrData *UsrDat) fprintf (Gbl.F.Out,"
  • ", Txt_TIME_Since, - Gbl.Prefs.IconsURL); + Gbl.Prefs.URLIcons); if (UsrFigures.FirstClickTimeUTC) { /* Create unique id for new comment */ @@ -486,7 +486,7 @@ void Prf_ShowDetailsUserProfile (const struct UsrData *UsrDat) fprintf (Gbl.F.Out,"
  • ", Txt_Clicks, - Gbl.Prefs.IconsURL); + Gbl.Prefs.URLIcons); if (UsrFigures.NumClicks >= 0) { @@ -515,7 +515,7 @@ void Prf_ShowDetailsUserProfile (const struct UsrData *UsrDat) fprintf (Gbl.F.Out,"
  • ", Txt_Downloads, - Gbl.Prefs.IconsURL); + Gbl.Prefs.URLIcons); if (UsrFigures.NumFileViews >= 0) { fprintf (Gbl.F.Out,"%ld %s ", @@ -542,7 +542,7 @@ void Prf_ShowDetailsUserProfile (const struct UsrData *UsrDat) fprintf (Gbl.F.Out,"
  • ", Txt_Forums, - Gbl.Prefs.IconsURL); + Gbl.Prefs.URLIcons); if (UsrFigures.NumForPst >= 0) { fprintf (Gbl.F.Out,"%ld %s ", @@ -568,9 +568,9 @@ void Prf_ShowDetailsUserProfile (const struct UsrData *UsrDat) /***** Number of messages sent *****/ fprintf (Gbl.F.Out,"
  • ", + " style=\"background-image:url('%s/envelope.svg');\">", Txt_Messages, - Gbl.Prefs.IconsURL); + Gbl.Prefs.URLIcons); if (UsrFigures.NumMsgSnt >= 0) { fprintf (Gbl.F.Out,"%ld %s ", diff --git a/swad_project.c b/swad_project.c index 90ad5849..edcd3935 100644 --- a/swad_project.c +++ b/swad_project.c @@ -359,8 +359,8 @@ static void Prj_ShowFormToFilterByMy_All (void) Prj_WhoseProjects_t My_All; static const char *WhoseProjectsImage[Prj_NUM_WHOSE_PROJECTS] = { - "myhierarchy64x64.png", // Prj_MY__PROJECTS - "hierarchy64x64.png", // Prj_ALL_PROJECTS + "mysitemap.png", // Prj_MY__PROJECTS + "sitemap.svg", // Prj_ALL_PROJECTS }; fprintf (Gbl.F.Out,"
    "); @@ -383,7 +383,7 @@ static void Prj_ShowFormToFilterByMy_All (void) fprintf (Gbl.F.Out,"", - Gbl.Prefs.IconsURL,WhoseProjectsImage[My_All], + Gbl.Prefs.URLIcons,WhoseProjectsImage[My_All], Txt_PROJECT_MY_ALL_PROJECTS[My_All], Txt_PROJECT_MY_ALL_PROJECTS[My_All]); Frm_EndForm (); @@ -422,7 +422,7 @@ static void Prj_ShowFormToFilterByPreassignedNonPreassig (void) fprintf (Gbl.F.Out,"", - Gbl.Prefs.IconsURL,PreassignedNonpreassigImage[PreNon], + Gbl.Prefs.URLIcons,PreassignedNonpreassigImage[PreNon], Txt_PROJECT_PREASSIGNED_NONPREASSIGNED_PLURAL[PreNon], Txt_PROJECT_PREASSIGNED_NONPREASSIGNED_PLURAL[PreNon]); Frm_EndForm (); @@ -466,7 +466,7 @@ static void Prj_ShowFormToFilterByHidden (void) fprintf (Gbl.F.Out,"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, HiddenVisiblImage[HidVis], Txt_PROJECT_HIDDEN_VISIBL_PROJECTS[HidVis], Txt_PROJECT_HIDDEN_VISIBL_PROJECTS[HidVis]); @@ -1070,7 +1070,7 @@ static void Prj_ShowOneProject (unsigned NumIndex,struct Project *Prj, "DAT", (Prj->Preassigned == Prj_PREASSIGNED) ? Txt_Yes : Txt_No, - Gbl.Prefs.IconsURL,PreassignedNonpreassigImage[Prj->Preassigned], + Gbl.Prefs.URLIcons,PreassignedNonpreassigImage[Prj->Preassigned], Txt_PROJECT_PREASSIGNED_NONPREASSIGNED_SINGUL[Prj->Preassigned], Txt_PROJECT_PREASSIGNED_NONPREASSIGNED_SINGUL[Prj->Preassigned]); diff --git a/swad_record.c b/swad_record.c index e9ddf152..66e4d3f9 100644 --- a/swad_record.c +++ b/swad_record.c @@ -996,7 +996,7 @@ void Rec_PutLinkToEditRecordFields (void) /***** Link to edit record fields *****/ Lay_PutContextualLink (ActEdiRecFie,NULL,NULL, - "edit64x64.png", + "pen.svg", Txt_Edit_record_fields,Txt_Edit_record_fields, NULL); } @@ -2550,14 +2550,14 @@ static void Rec_PutIconsCommands (void) if (ItsMe) /***** Button to edit my record card *****/ Lay_PutContextualLink (ActReqEdiRecSha,NULL,NULL, - "edit64x64.png", + "pen.svg", Txt_Edit_my_personal_data,NULL, NULL); if (ICanViewUsrProfile) /***** Button to view user's profile *****/ Lay_PutContextualLink (ActSeeOthPubPrf,NULL, Rec_PutParamUsrCodEncrypted, - "usr64x64.png", + "user.svg", ItsMe ? Txt_My_public_profile : Txt_Another_user_s_profile,NULL, NULL); @@ -2567,25 +2567,25 @@ static void Rec_PutIconsCommands (void) /* View student's records: common record card and course record card */ Lay_PutContextualLink (ActSeeRecOneStd,NULL, Rec_PutParamUsrCodEncrypted, - "card64x64.gif", + "card.svg", Txt_View_record_for_this_course,NULL, NULL); else if (Usr_CheckIfICanViewRecordTch (Gbl.Record.UsrDat)) Lay_PutContextualLink (ActSeeRecOneTch,NULL, Rec_PutParamUsrCodEncrypted, - "card64x64.gif", + "card.svg", Txt_View_record_and_office_hours,NULL, NULL); /***** Button to view user's agenda *****/ if (ItsMe) Lay_PutContextualLink (ActSeeMyAgd,NULL,NULL, - "calendar64x64.png", + "calendar.svg", Txt_Show_agenda,NULL, NULL); else if (Usr_CheckIfICanViewUsrAgenda (Gbl.Record.UsrDat)) Lay_PutContextualLink (ActSeeUsrAgd,NULL,Rec_PutParamUsrCodEncrypted, - "calendar64x64.png", + "calendar.svg", Txt_Show_agenda,NULL, NULL); @@ -2614,7 +2614,7 @@ static void Rec_PutIconsCommands (void) } Lay_PutContextualLink (NextAction,NULL, Rec_PutParamUsrCodEncrypted, - "config64x64.gif", + "user-cog.svg", Txt_Administer_user,NULL, NULL); } @@ -2675,7 +2675,7 @@ static void Rec_PutIconsCommands (void) /***** Button to send a message *****/ Lay_PutContextualLink (ActReqMsgUsr,NULL,Rec_PutParamsMsgUsr, - "msg64x64.gif", + "envelope.svg", Txt_Write_a_message,NULL, NULL); diff --git a/swad_report.c b/swad_report.c index 19598fbf..eda795e1 100644 --- a/swad_report.c +++ b/swad_report.c @@ -283,7 +283,7 @@ static void Rep_PutLinkToMyUsageReport (struct Rep_Report *Report) "
    ", Report->Permalink, Txt_Report, - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_Report, Report->FilenameReport); fprintf (Gbl.F.Out,"
    %s
    ", diff --git a/swad_search.c b/swad_search.c index c2bbfadc..baf95593 100644 --- a/swad_search.c +++ b/swad_search.c @@ -336,7 +336,7 @@ void Sch_PutMagnifyingGlassButton (const char *Icon) fprintf (Gbl.F.Out,"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Icon, Txt_Search, Txt_Search); diff --git a/swad_social.c b/swad_social.c index 6b7ff1da..7fb92c2e 100644 --- a/swad_social.c +++ b/swad_social.c @@ -1256,8 +1256,8 @@ static void Soc_PutLinkToViewOldPublishings (void) "" "", The_ClassFormBold[Gbl.Prefs.Theme], - Gbl.Prefs.IconsURL,Txt_See_more,Txt_See_more, - Gbl.Prefs.IconsURL,Txt_See_more,Txt_See_more, + Gbl.Prefs.URLIcons,Txt_See_more,Txt_See_more, + Gbl.Prefs.URLIcons,Txt_See_more,Txt_See_more, Txt_See_more); } @@ -1882,7 +1882,7 @@ static void Soc_PutFormGoToAction (const struct SocialNote *SocNot) " class=\"ICO20x20\" />" " %s" "", - Gbl.Prefs.IconsURL,Soc_Icons[SocNot->NoteType], + Gbl.Prefs.URLIcons,Soc_Icons[SocNot->NoteType], Txt_SOCIAL_NOTE[SocNot->NoteType], Txt_SOCIAL_NOTE[SocNot->NoteType], Txt_SOCIAL_NOTE[SocNot->NoteType]); @@ -2364,7 +2364,7 @@ static void Soc_PutIconToToggleCommentSocialNote (const char UniqueId[Frm_MAX_BY "" "", UniqueId, - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_Comment,Txt_Comment); } @@ -2382,7 +2382,7 @@ static void Soc_PutIconCommentDisabled (void) " alt=\"%s\" title=\"%s\"" " class=\"ICO20x20\" />" "", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_Comment,Txt_Comment); } @@ -2678,7 +2678,7 @@ static void Soc_PutFormToRemoveComment (long PubCod) " alt=\"%s\" title=\"%s\"" " class=\"ICO16x16\" />" "", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_Remove, Txt_Remove); Frm_EndForm (); @@ -2702,7 +2702,7 @@ static void Soc_PutFormToFavSocialComment (long PubCod) " alt=\"%s\" title=\"%s\"" " class=\"ICO20x20\" />" "", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_Mark_as_favourite,Txt_Mark_as_favourite); Frm_EndForm (); } @@ -2730,7 +2730,7 @@ static void Soc_PutDisabledIconShare (unsigned NumShared) " alt=\"%s\" title=\"%s\"" " class=\"ICO20x20\" />" "", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Gbl.Title,Gbl.Title); } @@ -2757,7 +2757,7 @@ static void Soc_PutDisabledIconFav (unsigned NumFavs) " alt=\"%s\" title=\"%s\"" " class=\"ICO20x20\" />" "", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Gbl.Title,Gbl.Title); } @@ -2779,7 +2779,7 @@ static void Soc_PutFormToShareSocialNote (long NotCod) " alt=\"%s\" title=\"%s\"" " class=\"ICO20x20\" />" "", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_Share,Txt_Share); Frm_EndForm (); } @@ -2802,7 +2802,7 @@ static void Soc_PutFormToFavSocialNote (long NotCod) " alt=\"%s\" title=\"%s\"" " class=\"ICO20x20\" />" "", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_Mark_as_favourite,Txt_Mark_as_favourite); Frm_EndForm (); } @@ -2825,7 +2825,7 @@ static void Soc_PutFormToUnshareSocialNote (long NotCod) " alt=\"%s\" title=\"%s\"" " class=\"ICO20x20\" />" "", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_SOCIAL_NOTE_Shared,Txt_SOCIAL_NOTE_Shared); Frm_EndForm (); } @@ -2848,7 +2848,7 @@ static void Soc_PutFormToUnfavSocialNote (long NotCod) " alt=\"%s\" title=\"%s\"" " class=\"ICO20x20\" />" "", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_SOCIAL_NOTE_Favourite,Txt_SOCIAL_NOTE_Favourite); Frm_EndForm (); } @@ -2871,7 +2871,7 @@ static void Soc_PutFormToUnfavSocialComment (long PubCod) " alt=\"%s\" title=\"%s\"" " class=\"ICO20x20\" />" "", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_SOCIAL_NOTE_Favourite,Txt_SOCIAL_NOTE_Favourite); Frm_EndForm (); } @@ -2894,7 +2894,7 @@ static void Soc_PutFormToRemoveSocialPublishing (long NotCod) " alt=\"%s\" title=\"%s\"" " class=\"ICO16x16\" />" "", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_Remove, Txt_Remove); Frm_EndForm (); @@ -4508,7 +4508,7 @@ static void Soc_ShowSharersOrFavers (MYSQL_RES **mysql_res, " alt=\"%u\" title=\"%u\"" " class=\"ICO20x20\" />" "", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, NumUsrs - NumUsrsShown, NumUsrs - NumUsrsShown); } diff --git a/swad_statistic.c b/swad_statistic.c index 0cfbc015..3924d0de 100644 --- a/swad_statistic.c +++ b/swad_statistic.c @@ -1987,7 +1987,7 @@ static void Sta_ShowNumHitsPerUsr (unsigned long NumRows,MYSQL_RES *mysql_res) " class=\"LEFT_TOP\"" " style=\"width:%upx; height:10px; padding-top:4px;\" />" " ", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, UsrDat.Roles.InCurrentCrs.Role == Rol_STD ? 'o' : // Student 'r', // Non-editing teacher or teacher BarWidth); @@ -2478,7 +2478,7 @@ static void Sta_DrawBarColors (Sta_ColorType_t ColorType,float HitsMax) "\"\"" "", - R,G,B,Gbl.Prefs.IconsURL); + R,G,B,Gbl.Prefs.URLIcons); } fprintf (Gbl.F.Out,""); Tbl_EndTable (); @@ -2976,7 +2976,7 @@ static void Sta_WriteAccessHour (unsigned Hour,struct Sta_Hits *Hits,unsigned Co fprintf (Gbl.F.Out,"\"\"", - Gbl.Prefs.IconsURL,BarHeight); + Gbl.Prefs.URLIcons,BarHeight); } else fprintf (Gbl.F.Out,"0%%
    0"); @@ -3078,7 +3078,7 @@ static void Sta_ShowAverageAccessesPerMinute (unsigned long NumRows,MYSQL_RES *m " alt=\"\" title=\"\"" " style=\"display:block; width:%upx; height:1px;\" />" "", - Sta_WIDTH_SEMIDIVISION_GRAPHIC,Gbl.Prefs.IconsURL, + Sta_WIDTH_SEMIDIVISION_GRAPHIC,Gbl.Prefs.URLIcons, Sta_WIDTH_SEMIDIVISION_GRAPHIC); /* All the intermediate divisions */ for (i = 0; @@ -3090,7 +3090,7 @@ static void Sta_ShowAverageAccessesPerMinute (unsigned long NumRows,MYSQL_RES *m " style=\"display:block;" " width:%upx; height:1px;\" />" "", - Sta_WIDTH_SEMIDIVISION_GRAPHIC,Gbl.Prefs.IconsURL, + Sta_WIDTH_SEMIDIVISION_GRAPHIC,Gbl.Prefs.URLIcons, Sta_WIDTH_SEMIDIVISION_GRAPHIC); /* Last division (right) */ fprintf (Gbl.F.Out,"" @@ -3099,7 +3099,7 @@ static void Sta_ShowAverageAccessesPerMinute (unsigned long NumRows,MYSQL_RES *m " style=\"display:block; width:%upx; height:1px;\" />" "" "", - Sta_WIDTH_SEMIDIVISION_GRAPHIC,Gbl.Prefs.IconsURL, + Sta_WIDTH_SEMIDIVISION_GRAPHIC,Gbl.Prefs.URLIcons, Sta_WIDTH_SEMIDIVISION_GRAPHIC); /***** Write again the labels of the X axis *****/ @@ -3155,7 +3155,7 @@ static void Sta_WriteAccessMinute (unsigned Minute,float HitsNum,float MaxX) " background-repeat:repeat;\">" "00h" "", - Sta_WIDTH_SEMIDIVISION_GRAPHIC,Gbl.Prefs.IconsURL); + Sta_WIDTH_SEMIDIVISION_GRAPHIC,Gbl.Prefs.URLIcons); else if (Minute == (Sta_NUM_MINUTES_PER_DAY - 30)) // If 23:30 fprintf (Gbl.F.Out,"" "24h" "", - Sta_WIDTH_SEMIDIVISION_GRAPHIC,Gbl.Prefs.IconsURL); + Sta_WIDTH_SEMIDIVISION_GRAPHIC,Gbl.Prefs.URLIcons); else if (!(Minute % 30) && (Minute % 60)) // If minute is multiple of 30 but not of 60 (i.e.: 30, 90, 150...) fprintf (Gbl.F.Out,"" "%02uh" "", - Sta_WIDTH_SEMIDIVISION_GRAPHIC,Gbl.Prefs.IconsURL,(Minute + 30) / 60); + Sta_WIDTH_SEMIDIVISION_GRAPHIC,Gbl.Prefs.URLIcons,(Minute + 30) / 60); /***** Start cell for the graphic *****/ fprintf (Gbl.F.Out,"", - Sta_NUM_DIVISIONS_X * 2,Sta_WIDTH_GRAPHIC,Gbl.Prefs.IconsURL, + Sta_NUM_DIVISIONS_X * 2,Sta_WIDTH_GRAPHIC,Gbl.Prefs.URLIcons, (Minute % 60) == 0 ? 'v' : 'h'); @@ -3194,7 +3194,7 @@ static void Sta_WriteAccessMinute (unsigned Minute,float HitsNum,float MaxX) " alt=\"\" title=\"\"" " style=\"display:block;" " width:%upx; height:1px;\" />", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, (Minute % 60) == 0 ? 'r' : // red background 'o', // orange background BarWidth); @@ -3995,7 +3995,7 @@ static void Sta_DrawBarNumHits (char Color, " class=\"LEFT_MIDDLE\"" " style=\"width:%upx; height:10px;\" />" " ", - Gbl.Prefs.IconsURL,Color,BarWidth); + Gbl.Prefs.URLIcons,Color,BarWidth); /***** Write the number of hits *****/ Str_WriteFloatNum (Gbl.F.Out,HitsNum); @@ -4573,9 +4573,9 @@ static void Sta_GetAndShowNumCtysInSWAD (void) /***** Write number of countries *****/ fprintf (Gbl.F.Out,"" "" - "\"%s\"" + " class=\"ICO16x16\" />" " %s:" "" "" @@ -4603,7 +4603,7 @@ static void Sta_GetAndShowNumCtysInSWAD (void) "%u" "" "", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_Countries, Txt_Countries, Txt_Countries, @@ -4709,9 +4709,9 @@ static void Sta_GetAndShowNumInssInSWAD (void) /***** Write number of institutions *****/ fprintf (Gbl.F.Out,"" "" - "\"%s\"" + " class=\"ICO16x16\" />" " %s:" "" "" @@ -4737,7 +4737,7 @@ static void Sta_GetAndShowNumInssInSWAD (void) "%u" "" "", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_Institutions, Txt_Institutions, Txt_Institutions, @@ -4835,9 +4835,9 @@ static void Sta_GetAndShowNumCtrsInSWAD (void) /***** Write number of centres *****/ fprintf (Gbl.F.Out,"" "" - "\"%s\"" + " class=\"ICO16x16\" />" " %s:" "" "" @@ -4861,7 +4861,7 @@ static void Sta_GetAndShowNumCtrsInSWAD (void) "%u" "" "", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_Centres, Txt_Centres, Txt_Centres, @@ -4951,9 +4951,9 @@ static void Sta_GetAndShowNumDegsInSWAD (void) /***** Write number of degrees *****/ fprintf (Gbl.F.Out,"" "" - "\"%s\"" + " class=\"ICO16x16\" />" " %s:" "" "" @@ -4975,7 +4975,7 @@ static void Sta_GetAndShowNumDegsInSWAD (void) "%u" "" "", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_Degrees, Txt_Degrees, Txt_Degrees, @@ -5057,9 +5057,9 @@ static void Sta_GetAndShowNumCrssInSWAD (void) /***** Write number of courses *****/ fprintf (Gbl.F.Out,"" "" - "\"%s\"" + " class=\"ICO16x16\" />" " %s:" "" "" @@ -5079,7 +5079,7 @@ static void Sta_GetAndShowNumCrssInSWAD (void) "%u" "" "", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_Courses, Txt_Courses, Txt_Courses, @@ -7967,7 +7967,7 @@ static void Sta_GetAndShowForumStats (void) "%s" "" "", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_Scope, Txt_Scope, Txt_Forums, @@ -8084,42 +8084,42 @@ static void Sta_ShowStatOfAForumType (For_ForumType_t ForumType, break; case For_FORUM_INSTIT_USRS: Sta_WriteForumTitleAndStats (ForumType,CtyCod,InsCod,CtrCod,DegCod,CrsCod, - "ins64x64.gif",StatsForum, + "university.svg",StatsForum, Txt_Institutions,""); break; case For_FORUM_INSTIT_TCHS: Sta_WriteForumTitleAndStats (ForumType,CtyCod,InsCod,CtrCod,DegCod,CrsCod, - "ins64x64.gif",StatsForum, + "university.svg",StatsForum, Txt_Institutions,Txt_only_teachers); break; case For_FORUM_CENTRE_USRS: Sta_WriteForumTitleAndStats (ForumType,CtyCod,InsCod,CtrCod,DegCod,CrsCod, - "ctr64x64.gif",StatsForum, + "building.svg",StatsForum, Txt_Centres,""); break; case For_FORUM_CENTRE_TCHS: Sta_WriteForumTitleAndStats (ForumType,CtyCod,InsCod,CtrCod,DegCod,CrsCod, - "ctr64x64.gif",StatsForum, + "building.svg",StatsForum, Txt_Centres,Txt_only_teachers); break; case For_FORUM_DEGREE_USRS: Sta_WriteForumTitleAndStats (ForumType,CtyCod,InsCod,CtrCod,DegCod,CrsCod, - "deg64x64.gif",StatsForum, + "graduation-cap.svg",StatsForum, Txt_Degrees,""); break; case For_FORUM_DEGREE_TCHS: Sta_WriteForumTitleAndStats (ForumType,CtyCod,InsCod,CtrCod,DegCod,CrsCod, - "deg64x64.gif",StatsForum, + "graduation-cap.svg",StatsForum, Txt_Degrees,Txt_only_teachers); break; case For_FORUM_COURSE_USRS: Sta_WriteForumTitleAndStats (ForumType,CtyCod,InsCod,CtrCod,DegCod,CrsCod, - "crs64x64.gif",StatsForum, + "list-ol.svg",StatsForum, Txt_Courses,""); break; case For_FORUM_COURSE_TCHS: Sta_WriteForumTitleAndStats (ForumType,CtyCod,InsCod,CtrCod,DegCod,CrsCod, - "crs64x64.gif",StatsForum, + "list-ol.svg",StatsForum, Txt_Courses,Txt_only_teachers); break; default: @@ -8195,7 +8195,7 @@ static void Sta_WriteForumTitleAndStats (For_ForumType_t ForumType, "%.2f" "" "", - Gbl.Prefs.IconsURL,Icon, + Gbl.Prefs.URLIcons,Icon, ForumName1,ForumName2, ForumName1,ForumName2, ForumName1,ForumName2, @@ -9015,7 +9015,7 @@ static void Sta_GetAndShowNumUsrsPerFirstDayOfWeek (void) "%5.2f%%" "" "", - Gbl.Prefs.IconsURL,FirstDayOfWeek, + Gbl.Prefs.URLIcons,FirstDayOfWeek, Txt_DAYS_SMALL[FirstDayOfWeek], Txt_First_day_of_the_week,Txt_DAYS_SMALL[FirstDayOfWeek], NumUsrs[FirstDayOfWeek], @@ -9177,7 +9177,7 @@ static void Sta_GetAndShowNumUsrsPerIconSet (void) "%5.2f%%" "" "", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Cfg_ICON_FOLDER_ICON_SETS, Ico_IconSetId[IconSet], Ico_IconSetNames[IconSet], @@ -9262,7 +9262,7 @@ static void Sta_GetAndShowNumUsrsPerMenu (void) "%5.2f%%" "" "", - Gbl.Prefs.IconsURL,Mnu_MenuIcons[Menu], + Gbl.Prefs.URLIcons,Mnu_MenuIcons[Menu], Txt_MENU_NAMES[Menu], Txt_MENU_NAMES[Menu], NumUsrs[Menu], @@ -9345,7 +9345,7 @@ static void Sta_GetAndShowNumUsrsPerTheme (void) "%5.2f%%" "" "", - Gbl.Prefs.IconsURL,Cfg_ICON_FOLDER_THEMES,The_ThemeId[Theme], + Gbl.Prefs.URLIcons,Cfg_ICON_FOLDER_THEMES,The_ThemeId[Theme], The_ThemeNames[Theme], The_ThemeNames[Theme], NumUsrs[Theme], @@ -9427,7 +9427,7 @@ static void Sta_GetAndShowNumUsrsPerSideColumns (void) "%5.2f%%" "" "", - Gbl.Prefs.IconsURL,SideCols >> 1,SideCols & 1, + Gbl.Prefs.URLIcons,SideCols >> 1,SideCols & 1, Txt_LAYOUT_SIDE_COLUMNS[SideCols], Txt_LAYOUT_SIDE_COLUMNS[SideCols], NumUsrs[SideCols], diff --git a/swad_survey.c b/swad_survey.c index 7ae7ce04..a3b9ab57 100644 --- a/swad_survey.c +++ b/swad_survey.c @@ -3513,7 +3513,7 @@ static void Svy_DrawBarNumUsrs (unsigned NumUsrs,unsigned MaxUsrs) " class=\"LEFT_TOP\"" " style=\"width:%upx; height:20px;\" />" " ", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Gbl.Title, Gbl.Title, BarWidth); diff --git a/swad_tab.c b/swad_tab.c index 6d211dc8..ae3d695d 100644 --- a/swad_tab.c +++ b/swad_tab.c @@ -43,19 +43,19 @@ extern struct Globals Gbl; const char *Tab_TabIcons[Tab_NUM_TABS] = { /* TabUnk */ NULL, - /* TabSys */ "sys64x64.gif", - /* TabCty */ "cty64x64.gif", - /* TabIns */ "ins64x64.gif", - /* TabCtr */ "ctr64x64.gif", - /* TabDeg */ "deg64x64.gif", - /* TabCrs */ "crs64x64.gif", - /* TabAss */ "ass64x64.gif", - /* TabFil */ "fil64x64.gif", - /* TabUsr */ "usr64x64.gif", - /* TabSoc */ "soc64x64.png", - /* TabMsg */ "msg64x64.gif", - /* TabAna */ "ana64x64.gif", - /* TabPrf */ "prf64x64.gif", + /* TabSys */ "sitemap", + /* TabCty */ "globe", + /* TabIns */ "university", + /* TabCtr */ "building", + /* TabDeg */ "graduation-cap", + /* TabCrs */ "list-ol", + /* TabAss */ "ass64x64", + /* TabFil */ "fil64x64", + /* TabUsr */ "usr64x64", + /* TabSoc */ "soc64x64", + /* TabMsg */ "envelope", + /* TabAna */ "ana64x64", + /* TabPrf */ "user", }; /*****************************************************************************/ @@ -71,6 +71,7 @@ const char *Tab_TabIcons[Tab_NUM_TABS] = /*****************************************************************************/ static bool Tab_CheckIfICanViewTab (Tab_Tab_t Tab); +static const char *Tab_GetIcon (Tab_Tab_t Tab); static void Tab_WriteBreadcrumbHome (void); static void Tab_WriteBreadcrumbTab (void); @@ -141,8 +142,8 @@ void Tab_DrawTabs (void) " class=\"TAB_ICO\" />" "
    %s
    " "", - Gbl.Prefs.PathIconSet, - Tab_TabIcons[NumTab], + Gbl.Prefs.URLIconSet, + Tab_GetIcon (NumTab), Txt_TABS_TXT[NumTab], Txt_TABS_TXT[NumTab], NumTab == Gbl.Action.Tab ? The_ClassTxtTabOn[Gbl.Prefs.Theme] : @@ -198,6 +199,17 @@ static bool Tab_CheckIfICanViewTab (Tab_Tab_t Tab) } } +/*****************************************************************************/ +/********************** Get icon associated to an action *********************/ +/*****************************************************************************/ + +static const char *Tab_GetIcon (Tab_Tab_t NumTab) + { + if (NumTab < (Tab_Tab_t) 1 || NumTab >= Tab_NUM_TABS) + return NULL; + + return Ico_GetIcon (Tab_TabIcons[NumTab]); + } /*****************************************************************************/ /********************* Draw breadcrumb with tab and action *******************/ diff --git a/swad_test.c b/swad_test.c index 0212e7a3..d3c279cb 100644 --- a/swad_test.c +++ b/swad_test.c @@ -1776,7 +1776,7 @@ static void Tst_ShowFormSelTags (unsigned long NumRows,MYSQL_RES *mysql_res, TagHidden = (row[2][0] == 'Y'); fprintf (Gbl.F.Out,"" "\"%s\"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Gbl.Title, Gbl.Title); Frm_EndForm (); @@ -1917,7 +1917,7 @@ static void Tst_PutIconDisable (long TagCod,const char *TagTxt) fprintf (Gbl.F.Out,"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Gbl.Title, Gbl.Title); Frm_EndForm (); @@ -3456,7 +3456,7 @@ static void Tst_WriteAnswersEdit (long QstCod) fprintf (Gbl.F.Out,"\"%s\"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_TST_Answer_given_by_the_teachers, Txt_TST_Answer_given_by_the_teachers); fprintf (Gbl.F.Out,""); @@ -5300,7 +5300,7 @@ static void Tst_PutFormEditOneQst (char Stem[Cns_MAX_BYTES_TEXT + 1], "\"%s\"" "", - NumOpt,Gbl.Prefs.IconsURL, + NumOpt,Gbl.Prefs.URLIcons, Gbl.Title,Gbl.Title); /* Icon to contract (hide the answer) */ @@ -5314,7 +5314,7 @@ static void Tst_PutFormEditOneQst (char Stem[Cns_MAX_BYTES_TEXT + 1], "\"%s\"" "", - NumOpt,Gbl.Prefs.IconsURL, + NumOpt,Gbl.Prefs.URLIcons, Gbl.Title,Gbl.Title); fprintf (Gbl.F.Out,""); @@ -7971,7 +7971,7 @@ static void Tst_ShowTestResults (struct UsrData *UsrDat) fprintf (Gbl.F.Out,"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_View_test, Txt_View_test); Frm_EndForm (); diff --git a/swad_test_import.c b/swad_test_import.c index 749f5128..2dc3e45c 100644 --- a/swad_test_import.c +++ b/swad_test_import.c @@ -1032,7 +1032,7 @@ static void TsI_WriteRowImportedQst (struct XMLElement *StemElem, " class=\"ICO20x20\" />" "", Gbl.RowEvenOdd, - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, QuestionExists ? "tr" : "ok_green", QuestionExists ? Txt_Existing_question : @@ -1092,7 +1092,7 @@ static void TsI_WriteRowImportedQst (struct XMLElement *StemElem, fprintf (Gbl.F.Out,"\"%s\"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, QuestionExists ? "ok_off" : "ok_on", Txt_TST_Answer_given_by_the_teachers, @@ -1161,7 +1161,7 @@ static void TsI_WriteRowImportedQst (struct XMLElement *StemElem, fprintf (Gbl.F.Out,"\"%s\"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, QuestionExists ? "ok_off" : "ok_on", Txt_TST_Answer_given_by_the_teachers, diff --git a/swad_theme.c b/swad_theme.c index 202d4b17..ec7eeed4 100644 --- a/swad_theme.c +++ b/swad_theme.c @@ -249,7 +249,7 @@ void The_PutIconsToSelectTheme (void) fprintf (Gbl.F.Out,"", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Cfg_ICON_FOLDER_THEMES, The_ThemeId[Theme], The_ThemeNames[Theme], @@ -286,10 +286,10 @@ void The_ChangeTheme (void) Gbl.Prefs.Theme = The_GetParamTheme (); snprintf (Path,sizeof (Path), "%s/%s/%s", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Cfg_ICON_FOLDER_THEMES, The_ThemeId[Gbl.Prefs.Theme]); - Str_Copy (Gbl.Prefs.PathTheme,Path, + Str_Copy (Gbl.Prefs.URLTheme,Path, PATH_MAX); /***** Store theme in database *****/ diff --git a/swad_user.c b/swad_user.c index 37c7b79b..ea79034a 100644 --- a/swad_user.c +++ b/swad_user.c @@ -2469,7 +2469,7 @@ void Usr_WriteFormLogin (Act_Action_t NextAction,void (*FuncParams) ()) " autofocus=\"autofocus\" required=\"required\" />" "" "", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_User[Usr_SEX_UNKNOWN], Txt_User[Usr_SEX_UNKNOWN], Cns_MAX_CHARS_EMAIL_ADDRESS, @@ -2485,7 +2485,7 @@ void Usr_WriteFormLogin (Act_Action_t NextAction,void (*FuncParams) ()) " size=\"18\" maxlength=\"%u\" placeholder=\"%s\" />" "" "", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_Password, Txt_Password, Pwd_MAX_CHARS_PLAIN_PASSWORD, @@ -2533,7 +2533,7 @@ void Usr_WelcomeUsr (void) fprintf (Gbl.F.Out,"\"%s\"", - Gbl.Prefs.PathIconSet,Cfg_ICON_128x128, + Gbl.Prefs.URLIconSet,Cfg_ICON_128x128, Txt_Happy_birthday, Txt_Happy_birthday); snprintf (Gbl.Alert.Txt,sizeof (Gbl.Alert.Txt), @@ -2658,7 +2658,7 @@ void Usr_PutFormLogIn (void) " class=\"ICO20x20\" />" " %s" "", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_Log_in, Txt_Log_in, Txt_Log_in); @@ -2727,7 +2727,7 @@ void Usr_PutFormLogOut (void) " class=\"ICO20x20\" />" " %s" "", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_Log_out, Txt_Log_out, Txt_Log_out); @@ -3298,17 +3298,17 @@ static void Usr_SetMyPrefsAndRoles (void) Gbl.Prefs.Theme = Gbl.Usrs.Me.UsrDat.Prefs.Theme; snprintf (Path,sizeof (Path), "%s/%s/%s", - Gbl.Prefs.IconsURL,Cfg_ICON_FOLDER_THEMES, + Gbl.Prefs.URLIcons,Cfg_ICON_FOLDER_THEMES, The_ThemeId[Gbl.Prefs.Theme]); - Str_Copy (Gbl.Prefs.PathTheme,Path, + Str_Copy (Gbl.Prefs.URLTheme,Path, PATH_MAX); Gbl.Prefs.IconSet = Gbl.Usrs.Me.UsrDat.Prefs.IconSet; snprintf (Path,sizeof (Path), "%s/%s/%s", - Gbl.Prefs.IconsURL,Cfg_ICON_FOLDER_ICON_SETS, + Gbl.Prefs.URLIcons,Cfg_ICON_FOLDER_ICON_SETS, Ico_IconSetId[Gbl.Prefs.IconSet]); - Str_Copy (Gbl.Prefs.PathIconSet,Path, + Str_Copy (Gbl.Prefs.URLIconSet,Path, PATH_MAX); /***** Construct the path to my directory *****/ @@ -5984,7 +5984,7 @@ static void Usr_FormToSelectUsrListType (Act_Action_t NextAction,Usr_ShowUsrsTyp " alt=\"%s\" title=\"%s\"" " class=\"ICO20x20\" />" " %s", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Usr_IconsClassPhotoOrList[ListType], Txt_USR_LIST_TYPES[ListType], Txt_USR_LIST_TYPES[ListType], diff --git a/swad_zip.c b/swad_zip.c index 036ffcad..92b95d14 100644 --- a/swad_zip.c +++ b/swad_zip.c @@ -387,7 +387,7 @@ void ZIP_PutButtonToDownloadZIPOfAFolder (const char *PathInTree,const char *Fil " alt=\"%s\" title=\"%s\"" " class=\"ICO16x16\" />" "", - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_Create_ZIP_file, Txt_Create_ZIP_file); Frm_EndForm (); @@ -652,11 +652,11 @@ static void ZIP_ShowLinkToDownloadZIP (const char *FileName,const char *URL, "" "", URL,FileName, - Gbl.Prefs.IconsURL,Cfg_ICON_FOLDER_FILEXT, + Gbl.Prefs.URLIcons,Cfg_ICON_FOLDER_FILEXT, Txt_ZIP_file, Txt_ZIP_file, FileName, - Gbl.Prefs.IconsURL, + Gbl.Prefs.URLIcons, Txt_Download, Txt_Download);