Version 16.92.5

This commit is contained in:
Antonio Cañas Vargas 2016-12-10 01:21:02 +01:00
parent cb6947788d
commit 4837c2aa7c
6 changed files with 7674 additions and 14898 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -3,7 +3,17 @@
<head>
<title>SWAD: Source code</title>
<link rel="StyleSheet" href="/swad.css" type="text/css" />
<style type="text/css">
A:link {text-decoration: none;}
A:visited {text-decoration: none;}
A:active {text-decoration: none;}
A:hover {color:#000000;}
body {margin:0px;}
td,p,.h {font-family:Arial,DejaVu LGC Sans,Bitstream Vera Sans,sans-serif;color:#404040;font-size:11pt;}
table {border-width:0px; border-style:none;}
img {border-width:0px; border-style:none;}
.SWAD{font-family:Arial,DejaVu LGC Sans,Bitstream Vera Sans,sans-serif;color:#F8B000;font-size:16pt;font-weight:bold;}
</style>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
@ -40,19 +50,9 @@
<td align="center">
<h1>Source code</h1>
<a href="http://creativecommons.org/licenses/by-sa/3.0/deed.es_ES" title="License of text on this page" class="COPYRIGHT"><img src="/img/cc-by-sa.png" style="width:88px; height=31px; vertical-align:middle;" alt="CC BY-SA" /></a>
<a href="http://www.ugr.es/~acanas/">Antonio Ca&ntilde;as Vargas</a>, 1999-2016
<a href="http://www.ugr.es/~acanas/">Antonio Ca&ntilde;as Vargas</a>, 1999-2014
</td>
</tr>
<tr>
<td align="center">
<cite>
You're frozen<br />
When your heart's not open<br />
</cite>
Frozen, Madonna
</td>
</tr>
<tr>
<td align="left">
@ -100,14 +100,15 @@
This program runs on the <a href="http://swad.ugr.es/server/">server</a>
every time a user clicks a button or link within the platform,
queries database and performs the necessary calculations for the current action,
and generates all the <a href="https://en.wikipedia.org/wiki/HTML5">HTML5</a> code
and generates all the <a href="http://en.wikipedia.org/wiki/XHTML">XHTML</a> code
that is sent to <a href="http://en.wikipedia.org/wiki/Client_%28computing%29">client</a>.
</p>
<h3>Main core (<code>swad-core</code>)</h3>
<a href="img/lineas-codigo-modulo-principal.png"><img src="img/lineas-codigo-modulo-principal.png" width="50%" height="50%" border="0" alt="Main swad core code lines" align="right" hspace="30" vspace="30"></a>
<p align="justify">
Programmed by <a href="https://github.com/acanas">Antonio Ca&ntilde;as Vargas</a>.
Programmed by <a href="http://www.ugr.es/~acanas/">Antonio Ca&ntilde;as Vargas</a>.
</p>
<p align="justify">
@ -122,19 +123,15 @@
<a href="http://en.wikipedia.org/wiki/Database">database management system</a>
<a href="http://www.mysql.com/">MySQL</a> or <a href="https://mariadb.org/">MariaDB</a>.
The reader will probably think &quot;a web application written in C?&quot;
Yes, it is not usual, <a href="http://www.youtube.com/watch?v=1S1fISh-pag">but... ;-)</a>
A little more seriously, we could say that we have developed swad-core
following the philosophy of <a href="http://handmadedev.org/manifesto/">The Handmade Manifesto</a>.
Yes, it is not usual, <a href="http://www.youtube.com/watch?v=1S1fISh-pag">but... ;-)</a>
</p>
<p align="justify">
SWAD core has about 200 000 <a href="http://en.wikipedia.org/wiki/Source_lines_of_code">lines of source code</a>.
SWAD core has more than 170 000 <a href="http://en.wikipedia.org/wiki/Source_lines_of_code">lines of source code</a>.
Each executable program (one for each language) has a size of 1.8 <a href="http://en.wikipedia.org/wiki/Mebibyte">MiB</a>
and in most of the possible actions
generates the <a href="http://en.wikipedia.org/wiki/Web_page">page</a> in few milliseconds.
</p>
<a href="img/lineas-codigo-modulo-principal.png"><img src="img/lineas-codigo-modulo-principal.png" width="100%" height="50%" border="0" alt="Main swad core code lines" align="right" hspace="30" vspace="30"></a>
<p align="justify">
For <a href="http://en.wikipedia.org/wiki/Cryptography">encryption</a> of passwords
@ -208,7 +205,20 @@
<h3>Application for Android devices (SWADroid)</h3>
<a href="/swadroid/">Information about SWADroid</a>.
<p align="justify">
<a href="https://play.google.com/store/apps/details?id=es.ugr.swad.swadroid">SWADroid</a>,
the app for <a href="http://es.wikipedia.org/wiki/Android">Android</a> devices,
is written in <a href="http://es.wikipedia.org/wiki/Java_%28lenguaje_de_programaci%C3%B3n%29">Java</a>
and has been programmed by
<a href="http://es.linkedin.com/pub/juan-miguel-boyero-corral/27/362/163">Juan Miguel Boyero Corral</a>,
<a href="http://www.slideshare.net/antonioaguileramalagon">Antonio Aguilera Malag&oacute;n</a>
and <a href="http://prezi.com/user/7ofwrjzwrfsq/">Helena Rodr&iacute;guez Gij&oacute;n</a>.
</p>
<p align="justify">
You can find more information about SWADroid on the blog
<a href="http://swadroid.wordpress.com/">http://swadroid.wordpress.com/</a>
</p>
</td>
</tr>

View File

@ -235,6 +235,7 @@ void Cal_DrawCurrentMonth (void)
*/
void Cal_DrawCalendar (void)
{
extern const char *Hlp_ASSESSMENT_Calendar;
extern const char *Txt_STR_LANG_ID[1+Txt_NUM_LANGUAGES];
char ParamsStr[256+256+Ses_LENGTH_SESSION_ID+256];
bool PrintView = (Gbl.Action.Act == ActPrnCal);
@ -247,9 +248,11 @@ void Cal_DrawCalendar (void)
}
/***** Start frame *****/
Lay_StartRoundFrame (NULL,NULL,PrintView ? NULL :
Cal_PutIconToPrintCalendar,
NULL);
Lay_StartRoundFrame (NULL,NULL,
PrintView ? NULL :
Cal_PutIconToPrintCalendar,
PrintView ? NULL :
Hlp_ASSESSMENT_Calendar);
Lay_WriteHeaderClassPhoto (PrintView,false,
Gbl.CurrentIns.Ins.InsCod,
Gbl.CurrentDeg.Deg.DegCod,

View File

@ -185,13 +185,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 16.92.4 (2016-12-09)"
#define Log_PLATFORM_VERSION "SWAD 16.92.5 (2016-12-10)"
#define CSS_FILE "swad16.86.5.css"
#define JS_FILE "swad16.90.2.js"
// Number of lines (includes comments but not blank lines) has been got with the following command:
// nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*?.h sql/swad*.sql | tail -1
/*
Version 16.92.5: Dec 10, 2016 Contextual help on calendar. (210318 lines)
Version 16.92.4: Dec 09, 2016 Fixed bug in edition of user's agenda. (210313 lines)
Version 16.92.3: Dec 09, 2016 Contextual help on user's public profile. (210310 lines)
Version 16.92.2: Dec 09, 2016 New icons to view user's profile ant to view user's record card in public agenda. (210308 lines)

View File

@ -121,6 +121,8 @@ const char *Hlp_ASSESSMENT_Works = WIKI "ASSESSMENT.Works";
const char *Hlp_ASSESSMENT_Tests = WIKI "ASSESSMENT.Tests";
const char *Hlp_ASSESSMENT_Tests_test_results = WIKI "ASSESSMENT.Tests#test-results";
const char *Hlp_ASSESSMENT_Calendar = WIKI "ASSESSMENT.Calendar";
const char *Hlp_ASSESSMENT_Marks = WIKI "ASSESSMENT.Marks";
/***** USERS tab *****/