mirror of https://github.com/acanas/swad-core.git
Version 16.51
This commit is contained in:
parent
0b5bbbe1d9
commit
8199c09afa
|
@ -1339,8 +1339,18 @@ a:hover /* Default ==> underlined */
|
|||
}
|
||||
.FRAME_ICONS
|
||||
{
|
||||
display:table;
|
||||
box-sizing:border-box;
|
||||
height:20px;
|
||||
text-align:left;
|
||||
}
|
||||
.FRAME_ICONS_LEFT
|
||||
{
|
||||
display:inline-block;
|
||||
}
|
||||
.FRAME_ICONS_RIGHT
|
||||
{
|
||||
display:inline-block;
|
||||
float:right;
|
||||
}
|
||||
.FRAME_TABLE
|
||||
{
|
Binary file not shown.
After Width: | Height: | Size: 979 B |
|
@ -156,13 +156,16 @@
|
|||
/****************************** Public constants *****************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 16.50.2 (2016-11-12)"
|
||||
#define CSS_FILE "swad16.50.2.css"
|
||||
#define Log_PLATFORM_VERSION "SWAD 16.51 (2016-11-12)"
|
||||
#define CSS_FILE "swad16.51.css"
|
||||
#define JS_FILE "swad16.46.1.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.51: Nov 12, 2016 Contextual help on the top right corner of frames. (206606 lines)
|
||||
Copy icon/help64x64.png to icon directory
|
||||
|
||||
Version 16.50.2: Nov 12, 2016 Changes in layout of record cards. (206556 lines)
|
||||
Version 16.50.1: Nov 12, 2016 Minor corrections in some messages. (206559 lines)
|
||||
Version 16.50: Nov 10, 2016 My frequent actions are moved from PROFILE tab to STATS tab.
|
||||
|
|
|
@ -1236,7 +1236,8 @@ void Lay_WriteTitle (const char *Title)
|
|||
/*****************************************************************************/
|
||||
// CellPadding must be 0, 1, 2, 4 or 8
|
||||
|
||||
void Lay_StartRoundFrameTable (const char *Width,unsigned CellPadding,const char *Title)
|
||||
void Lay_StartRoundFrameTable (const char *Width,unsigned CellPadding,
|
||||
const char *Title)
|
||||
{
|
||||
Lay_StartRoundFrame (Width,Title,NULL);
|
||||
|
||||
|
@ -1246,8 +1247,11 @@ void Lay_StartRoundFrameTable (const char *Width,unsigned CellPadding,const char
|
|||
fprintf (Gbl.F.Out,"\">");
|
||||
}
|
||||
|
||||
void Lay_StartRoundFrame (const char *Width,const char *Title,void (*FunctionToDrawContextualIcons) (void))
|
||||
void Lay_StartRoundFrame (const char *Width,const char *Title,
|
||||
void (*FunctionToDrawContextualIcons) (void))
|
||||
{
|
||||
extern const char *Txt_Help;
|
||||
|
||||
fprintf (Gbl.F.Out,"<div class=\"CENTER_MIDDLE\""
|
||||
" style=\"box-sizing:border-box; width:100%%;\">"
|
||||
"<div class=\"FRAME\"");
|
||||
|
@ -1257,7 +1261,22 @@ void Lay_StartRoundFrame (const char *Width,const char *Title,void (*FunctionToD
|
|||
|
||||
fprintf (Gbl.F.Out,"<div class=\"FRAME_ICONS\">");
|
||||
if (FunctionToDrawContextualIcons)
|
||||
{
|
||||
fprintf (Gbl.F.Out,"<div class=\"FRAME_ICONS_LEFT\">");
|
||||
FunctionToDrawContextualIcons ();
|
||||
fprintf (Gbl.F.Out,"</div>");
|
||||
}
|
||||
// if (HelpLink)
|
||||
// {
|
||||
fprintf (Gbl.F.Out,"<div class=\"FRAME_ICONS_RIGHT\">");
|
||||
|
||||
fprintf (Gbl.F.Out,"<a href=\"%s\" target=\"_blank\">",
|
||||
"https://github.com/acanas/swad-core/wiki/User%20guide");
|
||||
Lay_PutIconWithText ("help64x64.png",Txt_Help,NULL);
|
||||
fprintf (Gbl.F.Out,"</a>");
|
||||
|
||||
fprintf (Gbl.F.Out,"</div>");
|
||||
// }
|
||||
fprintf (Gbl.F.Out,"</div>");
|
||||
|
||||
if (Title)
|
||||
|
|
|
@ -94,8 +94,10 @@ void Lay_PutConfirmButtonInline (const char *Text);
|
|||
void Lay_PutRemoveButton (const char *Text);
|
||||
void Lay_PutRemoveButtonInline (const char *Text);
|
||||
|
||||
void Lay_StartRoundFrameTable (const char *Width,unsigned CellPadding,const char *Title);
|
||||
void Lay_StartRoundFrame (const char *Width,const char *Title,void (*FunctionToDrawContextualIcons) (void));
|
||||
void Lay_StartRoundFrameTable (const char *Width,unsigned CellPadding,
|
||||
const char *Title);
|
||||
void Lay_StartRoundFrame (const char *Width,const char *Title,
|
||||
void (*FunctionToDrawContextualIcons) (void));
|
||||
void Lay_StartRoundFrameTableShadow (const char *Width,unsigned CellPadding);
|
||||
void Lay_EndRoundFrameTable (void);
|
||||
void Lay_EndRoundFrame (void);
|
||||
|
|
21
swad_text.c
21
swad_text.c
|
@ -13762,6 +13762,27 @@ const char *Txt_Happy_birthday =
|
|||
"Feliz aniversário!";
|
||||
#endif
|
||||
|
||||
const char *Txt_Help =
|
||||
#if L==1
|
||||
"Ajuda";
|
||||
#elif L==2
|
||||
"Hilfe";
|
||||
#elif L==3
|
||||
"Help";
|
||||
#elif L==4
|
||||
"Ayuda";
|
||||
#elif L==5
|
||||
"Aide";
|
||||
#elif L==6
|
||||
"Pytyvõ";
|
||||
#elif L==7
|
||||
"Aiuto";
|
||||
#elif L==8
|
||||
"Pomoc";
|
||||
#elif L==9
|
||||
"Ajuda";
|
||||
#endif
|
||||
|
||||
const char *Txt_HELP_email =
|
||||
#if L==1
|
||||
"Exemple: garcia@exemplemail.com";
|
||||
|
|
Loading…
Reference in New Issue