mirror of https://github.com/acanas/swad-core.git
Version 16.139.6
This commit is contained in:
parent
9560e561da
commit
cce14db1c4
|
@ -1551,6 +1551,34 @@ 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:12px;
|
||||
}
|
||||
.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
|
||||
{
|
|
@ -201,13 +201,14 @@
|
|||
/****************************** Public constants *****************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 16.139.5 (2017-02-22)"
|
||||
#define CSS_FILE "swad16.136.css"
|
||||
#define Log_PLATFORM_VERSION "SWAD 16.139.6 (2017-02-24)"
|
||||
#define CSS_FILE "swad16.139.6.css"
|
||||
#define JS_FILE "swad16.123.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.139.6: Feb 24, 2017 Code refactoring in selector of which forums to display. (? lines)
|
||||
Version 16.139.5: Feb 22, 2017 Changed contextual links in my profile. (212832 lines)
|
||||
Version 16.139.4: Feb 17, 2017 Fixed bug in social timeline. (212835 lines)
|
||||
Version 16.139.3: Feb 17, 2017 Fixed bug in social timeline. (212835 lines)
|
||||
|
|
19
swad_forum.c
19
swad_forum.c
|
@ -1894,7 +1894,7 @@ void For_ShowForumList (void)
|
|||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
/**************** Write title and link to top level of forums ****************/
|
||||
/*************** Put form to select which forums I want to see ***************/
|
||||
/*****************************************************************************/
|
||||
|
||||
static void For_PutFormWhichForums (void)
|
||||
|
@ -1902,22 +1902,23 @@ static void For_PutFormWhichForums (void)
|
|||
extern const char *Txt_FORUM_WHICH_FORUM[For_NUM_WHICH_FORUMS];
|
||||
For_WhichForums_t WhichForums;
|
||||
|
||||
/***** Form to select which forums I want to see
|
||||
(all my forums or only the forums of current institution/degree/course) *****/
|
||||
/***** Form to select which forums I want to see:
|
||||
- all my forums
|
||||
- only the forums of current institution/degree/course *****/
|
||||
Act_FormStart (ActSeeFor);
|
||||
For_PutParamForumOrder ();
|
||||
For_PutParamsForumInsDegCrs ();
|
||||
fprintf (Gbl.F.Out,"<div class=\"CENTER_MIDDLE\">"
|
||||
"<ul class=\"LIST_LEFT\" style=\"margin:12px;\">");
|
||||
fprintf (Gbl.F.Out,"<div class=\"SEL_BELOW_TITLE\">"
|
||||
"<ul>");
|
||||
|
||||
for (WhichForums = (For_WhichForums_t) 0;
|
||||
WhichForums < For_NUM_WHICH_FORUMS;
|
||||
WhichForums++)
|
||||
{
|
||||
fprintf (Gbl.F.Out,"<li class=\"LEFT_MIDDLE\""
|
||||
" style=\"display:inline;\">"
|
||||
"<label class=\"DAT\">"
|
||||
"<input type=\"radio\" name=\"WhichForum\" value=\"%u\"",
|
||||
fprintf (Gbl.F.Out,"<li>"
|
||||
"<label>"
|
||||
"<input type=\"radio\" name=\"WhichForum\""
|
||||
" value=\"%u\"",
|
||||
(unsigned) WhichForums);
|
||||
if (WhichForums == Gbl.Forum.WhichForums)
|
||||
fprintf (Gbl.F.Out," checked=\"checked\"");
|
||||
|
|
Loading…
Reference in New Issue