mirror of
https://github.com/acanas/swad-core.git
synced 2024-06-12 03:35:27 +02:00
Version 15.116.1
This commit is contained in:
parent
c836c63318
commit
abe455b5f4
|
@ -1484,7 +1484,7 @@ a:hover img.CENTRE_PHOTO_SHOW
|
||||||
margin:10px;
|
margin:10px;
|
||||||
text-align:center;
|
text-align:center;
|
||||||
color:#808080;
|
color:#808080;
|
||||||
font-size:8pt;
|
font-size:9pt;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*********************************** Lists ***********************************/
|
/*********************************** Lists ***********************************/
|
||||||
|
|
|
@ -122,13 +122,14 @@
|
||||||
/****************************** Public constants *****************************/
|
/****************************** Public constants *****************************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
#define Log_PLATFORM_VERSION "SWAD 15.116 (2016-01-17)"
|
#define Log_PLATFORM_VERSION "SWAD 15.116.1 (2016-01-17)"
|
||||||
#define CSS_FILE "swad15.115.css"
|
#define CSS_FILE "swad15.115.css"
|
||||||
#define JS_FILE "swad15.115.js"
|
#define JS_FILE "swad15.115.js"
|
||||||
|
|
||||||
// Number of lines (includes comments but not blank lines) has been got with the following command:
|
// 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
|
// nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*.h sql/swad*.sql | tail -1
|
||||||
/*
|
/*
|
||||||
|
Version 15.116.1: Jan 17, 2016 Help when writing social posts or comments. (192877 lines)
|
||||||
Version 15.116: Jan 17, 2016 Optimization in the query to get timeline. (192878 lines)
|
Version 15.116: Jan 17, 2016 Optimization in the query to get timeline. (192878 lines)
|
||||||
Version 15.115.2: Jan 17, 2016 Code refactoring in timeline. (192860 lines)
|
Version 15.115.2: Jan 17, 2016 Code refactoring in timeline. (192860 lines)
|
||||||
Version 15.115.1: Jan 17, 2016 Code refactoring in timeline. (192857 lines)
|
Version 15.115.1: Jan 17, 2016 Code refactoring in timeline. (192857 lines)
|
||||||
|
|
|
@ -1738,13 +1738,13 @@ void Lay_HelpPlainEditor (void)
|
||||||
|
|
||||||
Lay_HelpTextEditor (Txt_TEXT_plain,
|
Lay_HelpTextEditor (Txt_TEXT_plain,
|
||||||
"\\(LaTeX\\)",
|
"\\(LaTeX\\)",
|
||||||
"$$LaTeX$$, \\[LaTeX\\]");
|
"$$LaTeX$$, \\[LaTeX\\]");
|
||||||
}
|
}
|
||||||
|
|
||||||
void Lay_HelpRichEditor (void)
|
void Lay_HelpRichEditor (void)
|
||||||
{
|
{
|
||||||
Lay_HelpTextEditor ("<a href=\"http://johnmacfarlane.net/pandoc/README.html#pandocs-markdown\""
|
Lay_HelpTextEditor ("<a href=\"http://johnmacfarlane.net/pandoc/README.html#pandocs-markdown\""
|
||||||
" target=\"_blank\">Markdown + Pandoc</a>",
|
" target=\"_blank\">Markdown+Pandoc</a>",
|
||||||
"$LaTeX$",
|
"$LaTeX$",
|
||||||
"$$LaTeX$$");
|
"$$LaTeX$$");
|
||||||
}
|
}
|
||||||
|
@ -1756,13 +1756,11 @@ static void Lay_HelpTextEditor (const char *Text,const char *InlineMath,const ch
|
||||||
extern const char *Txt_Equation_centered;
|
extern const char *Txt_Equation_centered;
|
||||||
|
|
||||||
fprintf (Gbl.F.Out,"<div class=\"HELP_EDIT\">"
|
fprintf (Gbl.F.Out,"<div class=\"HELP_EDIT\">"
|
||||||
"<code>"
|
"%s: %s"
|
||||||
"%s: %s"
|
" "
|
||||||
" "
|
"%s: <code>%s</code>"
|
||||||
"%s: %s"
|
" "
|
||||||
" "
|
"%s: <code>%s</code>"
|
||||||
"%s: %s"
|
|
||||||
"</code>"
|
|
||||||
"</div>",
|
"</div>",
|
||||||
Txt_Text,Text,
|
Txt_Text,Text,
|
||||||
Txt_Inline_math,InlineMath,
|
Txt_Inline_math,InlineMath,
|
||||||
|
|
|
@ -1043,9 +1043,7 @@ static void Soc_WriteSocialNote (const struct SocialNote *SocNot,
|
||||||
Crs.CrsCod = -1L;
|
Crs.CrsCod = -1L;
|
||||||
|
|
||||||
/***** Write sharer/commenter if distinct to author *****/
|
/***** Write sharer/commenter if distinct to author *****/
|
||||||
// if (!ShowNoteAlone && // Listing, not note alone
|
if (SocPub) // SocPub may be NULL
|
||||||
// SocPub) // SocPub may be NULL
|
|
||||||
if (SocPub) // SocPub may be NULL
|
|
||||||
Soc_WriteTopPublisher (SocPub);
|
Soc_WriteTopPublisher (SocPub);
|
||||||
|
|
||||||
/***** Initialize structure with user's data *****/
|
/***** Initialize structure with user's data *****/
|
||||||
|
@ -1832,20 +1830,22 @@ static void Soc_PutTextarea (const char *Placeholder)
|
||||||
fprintf (Gbl.F.Out,"<textarea name=\"Content\" rows=\"1\" maxlength=\"%u\""
|
fprintf (Gbl.F.Out,"<textarea name=\"Content\" rows=\"1\" maxlength=\"%u\""
|
||||||
" placeholder=\"%s…\""
|
" placeholder=\"%s…\""
|
||||||
" class=\"SOCIAL_TEXTAREA\""
|
" class=\"SOCIAL_TEXTAREA\""
|
||||||
" onfocus=\"expandTextarea(this,'%s','10');\""
|
" onfocus=\"expandTextarea(this,'%s','5');\""
|
||||||
" onblur=\"contractTextarea(this,'%s','1');\">"
|
" onblur=\"contractTextarea(this,'%s','1');\">"
|
||||||
"</textarea>",
|
"</textarea>",
|
||||||
Soc_MAX_CHARS_IN_POST,
|
Soc_MAX_CHARS_IN_POST,
|
||||||
Placeholder,
|
Placeholder,
|
||||||
IdButton,IdButton);
|
IdButton,IdButton);
|
||||||
|
|
||||||
/***** Submit button *****/
|
/***** Help on editor and submit button *****/
|
||||||
fprintf (Gbl.F.Out,"<button id=\"%s\" type=\"submit\""
|
fprintf (Gbl.F.Out,"<div id=\"%s\" style=\"display:none;\">",
|
||||||
" class=\"BT_SUBMIT_INLINE BT_CREATE\""
|
IdButton);
|
||||||
" style=\"display:none;\">"
|
Lay_HelpPlainEditor ();
|
||||||
|
fprintf (Gbl.F.Out,"<button type=\"submit\""
|
||||||
|
" class=\"BT_SUBMIT_INLINE BT_CREATE\">"
|
||||||
"%s"
|
"%s"
|
||||||
"</button>",
|
"</button>"
|
||||||
IdButton,
|
"</div>",
|
||||||
Txt_Post);
|
Txt_Post);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user