Version 15.65

This commit is contained in:
Antonio Cañas Vargas 2015-12-13 22:45:57 +01:00
parent 72166d58e9
commit 34b1e157f6
3 changed files with 11 additions and 5 deletions

View File

@ -1171,7 +1171,7 @@ a:hover /* Default ==> underlined */
/****** Contextual links with small icons and text to go to some action ******/ /****** Contextual links with small icons and text to go to some action ******/
.CONTEXT_MENU .CONTEXT_MENU
{ {
margin:6px 0 8px 0; margin:6px auto 8px auto;
text-align:center; text-align:center;
} }
.CONTEXT_OPT .CONTEXT_OPT

View File

@ -117,12 +117,13 @@
/****************************** Public constants *****************************/ /****************************** Public constants *****************************/
/*****************************************************************************/ /*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 15.64.18 (2015/12/13)" #define Log_PLATFORM_VERSION "SWAD 15.65 (2015/12/13)"
#define CSS_FILE "swad15.64.5.css" #define CSS_FILE "swad15.65.css"
// 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.65: Dec 13, 2015 Change in layout of contextual links. (187009 lines)
Version 15.64.18: Dec 13, 2015 Code refactoring in contextual links. (187004 lines) Version 15.64.18: Dec 13, 2015 Code refactoring in contextual links. (187004 lines)
Version 15.64.17: Dec 13, 2015 Code refactoring in contextual links. Version 15.64.17: Dec 13, 2015 Code refactoring in contextual links.
Fixed minor bug in tests. (187009 lines) Fixed minor bug in tests. (187009 lines)

View File

@ -951,8 +951,9 @@ void Lay_PutContextualLink (Act_Action_t NextAction,void (*FuncParams) (),
{ {
extern const char *The_ClassFormBold[The_NUM_THEMES]; extern const char *The_ClassFormBold[The_NUM_THEMES];
//if (Text) if (Text)
// fprintf (Gbl.F.Out,"<div class=>"); fprintf (Gbl.F.Out," "); // This space is necessary to enable
// jumping to the next line on narrow screens
Act_FormStart (NextAction); Act_FormStart (NextAction);
if (FuncParams) if (FuncParams)
@ -961,6 +962,10 @@ void Lay_PutContextualLink (Act_Action_t NextAction,void (*FuncParams) (),
Text ? The_ClassFormBold[Gbl.Prefs.Theme] : Text ? The_ClassFormBold[Gbl.Prefs.Theme] :
NULL); NULL);
Act_FormEnd (); Act_FormEnd ();
if (Text)
fprintf (Gbl.F.Out," "); // This space is necessary to enable
// jumping to the next line on narrow screens
} }
/*****************************************************************************/ /*****************************************************************************/