mirror of https://github.com/acanas/swad-core.git
Version 15.6.1
This commit is contained in:
parent
19eee8c2ac
commit
2c79ebb5b1
|
@ -98,12 +98,13 @@
|
|||
/****************************** Public constants *****************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 15.6 (2015/10/02)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 15.6.1 (2015/10/03)"
|
||||
|
||||
// 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 15.6 : Oct 02, 2015 Now a click in a form can go to a part of the destination page. (184959 lines)
|
||||
Version 15.6.1: Oct 03, 2015 Changes in layout of file browsers. (184956 lines)
|
||||
Version 15.6 : Oct 02, 2015 Now a click in a form may go to a part of the destination page. (184959 lines)
|
||||
Version 15.5.2: Oct 02, 2015 Changes in layout of tests exams. (184934 lines)
|
||||
Version 15.5.1: Oct 02, 2015 Changes in layout of forms with initial and final dates. (184938 lines)
|
||||
Version 15.5: Oct 01, 2015 Changes in layout of selectors classphoto/list. (184909 lines)
|
||||
|
|
|
@ -2967,7 +2967,7 @@ static void Brw_ShowFileBrowsersAsgWrkCrs (void)
|
|||
Brw_WriteTopBeforeShowingFileBrowser ();
|
||||
|
||||
/***** Header of the table with the list of users *****/
|
||||
Lay_StartRoundFrameTable (NULL,0,NULL);
|
||||
Lay_StartRoundFrameTable ("95%",0,"Actividades y otros trabajos"); // TODO: Need translation!
|
||||
|
||||
/***** List the assignments and works of the selected users *****/
|
||||
Ptr = Gbl.Usrs.Select.All;
|
||||
|
@ -3311,8 +3311,9 @@ static void Brw_ShowFileBrowser (void)
|
|||
/***** Check if the clipboard is in this tree *****/
|
||||
Gbl.FileBrowser.Clipboard.IsThisTree = Brw_CheckIfClipboardIsInThisTree ();
|
||||
|
||||
/***** Start of table *****/
|
||||
Lay_StartRoundFrameTable (NULL,0,Brw_TitleOfFileBrowser[Gbl.FileBrowser.Type]);
|
||||
/***** Start frame *****/
|
||||
fprintf (Gbl.F.Out,"<section id=\"file_browser\">");
|
||||
Lay_StartRoundFrameTable ("95%",0,Brw_TitleOfFileBrowser[Gbl.FileBrowser.Type]);
|
||||
|
||||
/***** Title *****/
|
||||
fprintf (Gbl.F.Out,"<tr>"
|
||||
|
@ -3336,6 +3337,7 @@ static void Brw_ShowFileBrowser (void)
|
|||
|
||||
/***** End of table *****/
|
||||
Lay_EndRoundFrameTable ();
|
||||
fprintf (Gbl.F.Out,"</section>");
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
|
@ -5201,8 +5203,6 @@ static void Brw_IndentAndWriteIconExpandContract (unsigned Level,Brw_ExpandTree_
|
|||
{
|
||||
extern const char *Txt_Expand_FOLDER_X;
|
||||
extern const char *Txt_Contract_FOLDER_X;
|
||||
static unsigned NumAnchor = 0;
|
||||
char StrAnchor[32];
|
||||
|
||||
fprintf (Gbl.F.Out,"<td class=\"LEFT_MIDDLE\">"
|
||||
"<table>"
|
||||
|
@ -5220,10 +5220,7 @@ static void Brw_IndentAndWriteIconExpandContract (unsigned Level,Brw_ExpandTree_
|
|||
break;
|
||||
case Brw_EXPAND_TREE_PLUS:
|
||||
/***** Form to expand folder *****/
|
||||
sprintf (StrAnchor,"folder_%u",++NumAnchor);
|
||||
fprintf (Gbl.F.Out,"<section id=\"%s\">",StrAnchor);
|
||||
// Act_FormStartAnchor (Brw_ActExpandFolder[Gbl.FileBrowser.Type],StrAnchor);
|
||||
Act_FormStart (Brw_ActExpandFolder[Gbl.FileBrowser.Type]);
|
||||
Act_FormStartAnchor (Brw_ActExpandFolder[Gbl.FileBrowser.Type],"file_browser");
|
||||
switch (Gbl.FileBrowser.Type)
|
||||
{
|
||||
case Brw_SHOW_DOCUM_GRP:
|
||||
|
@ -5254,10 +5251,7 @@ static void Brw_IndentAndWriteIconExpandContract (unsigned Level,Brw_ExpandTree_
|
|||
break;
|
||||
case Brw_EXPAND_TREE_MINUS:
|
||||
/***** Form to contract folder *****/
|
||||
sprintf (StrAnchor,"folder_%u",++NumAnchor);
|
||||
fprintf (Gbl.F.Out,"<section id=\"%s\">",StrAnchor);
|
||||
// Act_FormStartAnchor (Brw_ActContractFolder[Gbl.FileBrowser.Type],StrAnchor);
|
||||
Act_FormStart (Brw_ActContractFolder[Gbl.FileBrowser.Type]);
|
||||
Act_FormStartAnchor (Brw_ActContractFolder[Gbl.FileBrowser.Type],"file_browser");
|
||||
switch (Gbl.FileBrowser.Type)
|
||||
{
|
||||
case Brw_SHOW_DOCUM_GRP:
|
||||
|
|
|
@ -1153,10 +1153,11 @@ void Lay_StartRoundFrameTable (const char *Width,unsigned CellPadding,const char
|
|||
|
||||
void Lay_StartRoundFrame (const char *Width,const char *Title)
|
||||
{
|
||||
fprintf (Gbl.F.Out,"<div class=\"CENTER_MIDDLE\">"
|
||||
"<div class=\"FRAME10\"");
|
||||
fprintf (Gbl.F.Out,"<div class=\"CENTER_MIDDLE\""
|
||||
" style=\"width:100%%;\">"
|
||||
"<div class=\"FRAME10\"");
|
||||
if (Width)
|
||||
fprintf (Gbl.F.Out," style=\"width:%s;\"",Width);
|
||||
fprintf (Gbl.F.Out," style=\"width:%s;\"",Width);
|
||||
fprintf (Gbl.F.Out,">");
|
||||
|
||||
if (Title)
|
||||
|
@ -1170,10 +1171,11 @@ void Lay_StartRoundFrame (const char *Width,const char *Title)
|
|||
|
||||
void Lay_StartRoundFrameTableShadow (const char *Width,unsigned CellPadding)
|
||||
{
|
||||
fprintf (Gbl.F.Out,"<div class=\"CENTER_MIDDLE\">"
|
||||
"<div class=\"FRAME10_SHADOW\"");
|
||||
fprintf (Gbl.F.Out,"<div class=\"CENTER_MIDDLE\""
|
||||
" style=\"width:100%%;\">"
|
||||
"<div class=\"FRAME10_SHADOW\"");
|
||||
if (Width)
|
||||
fprintf (Gbl.F.Out," style=\"width:%s\"",Width);
|
||||
fprintf (Gbl.F.Out," style=\"width:%s;\"",Width);
|
||||
fprintf (Gbl.F.Out,">"
|
||||
"<table class=\"TABLE10");
|
||||
if (CellPadding)
|
||||
|
|
Loading…
Reference in New Issue