Version19.133

This commit is contained in:
Antonio Cañas Vargas 2020-02-25 00:22:05 +01:00
parent 93a7b42b3c
commit 634fc0509a
6 changed files with 331 additions and 153 deletions

View File

@ -400,7 +400,6 @@ const struct Act_Actions Act_Actions[Act_NUM_ACTIONS] =
[ActFrmNewPrgIte ] = {1822,-1,TabUnk,ActSeePrg ,0x220,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Prg_RequestCreatOrEditPrgItem ,NULL},
[ActEdiOnePrgIte ] = {1823,-1,TabUnk,ActSeePrg ,0x220,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Prg_RequestCreatOrEditPrgItem ,NULL},
[ActPrnOnePrgIte ] = {1824,-1,TabUnk,ActSeePrg ,0x3F8,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_NEW_TAB,NULL ,Prg_PrintOnePrgItem ,NULL},
[ActNewPrgIte ] = {1825,-1,TabUnk,ActSeePrg ,0x220,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Prg_RecFormPrgItem ,NULL},
[ActChgPrgIte ] = {1826,-1,TabUnk,ActSeePrg ,0x220,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Prg_RecFormPrgItem ,NULL},
[ActReqRemPrgIte ] = {1827,-1,TabUnk,ActSeePrg ,0x220,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Prg_ReqRemPrgItem ,NULL},
@ -3550,7 +3549,7 @@ Act_Action_t Act_FromActCodToAction[1 + Act_MAX_ACTION_COD] = // Do not reuse un
ActSeePrg, // #1821
ActFrmNewPrgIte, // #1822
ActEdiOnePrgIte, // #1823
ActPrnOnePrgIte, // #1824
-1, // #1824
ActNewPrgIte, // #1825
ActChgPrgIte, // #1826
ActReqRemPrgIte, // #1827

View File

@ -386,114 +386,113 @@ typedef signed int Act_Action_t; // Must be a signed type, because -1 is used to
#define ActEdiCrsInf (ActChgCrsSta + 15)
#define ActFrmNewPrgIte (ActChgCrsSta + 16)
#define ActEdiOnePrgIte (ActChgCrsSta + 17)
#define ActPrnOnePrgIte (ActChgCrsSta + 18)
#define ActNewPrgIte (ActChgCrsSta + 19)
#define ActChgPrgIte (ActChgCrsSta + 20)
#define ActReqRemPrgIte (ActChgCrsSta + 21)
#define ActRemPrgIte (ActChgCrsSta + 22)
#define ActHidPrgIte (ActChgCrsSta + 23)
#define ActShoPrgIte (ActChgCrsSta + 24)
#define ActEdiTchGui (ActChgCrsSta + 25)
#define ActSeeSylLec (ActChgCrsSta + 26)
#define ActSeeSylPra (ActChgCrsSta + 27)
#define ActEdiSylLec (ActChgCrsSta + 28)
#define ActEdiSylPra (ActChgCrsSta + 29)
#define ActDelItmSylLec (ActChgCrsSta + 30)
#define ActDelItmSylPra (ActChgCrsSta + 31)
#define ActUp_IteSylLec (ActChgCrsSta + 32)
#define ActUp_IteSylPra (ActChgCrsSta + 33)
#define ActDwnIteSylLec (ActChgCrsSta + 34)
#define ActDwnIteSylPra (ActChgCrsSta + 35)
#define ActRgtIteSylLec (ActChgCrsSta + 36)
#define ActRgtIteSylPra (ActChgCrsSta + 37)
#define ActLftIteSylLec (ActChgCrsSta + 38)
#define ActLftIteSylPra (ActChgCrsSta + 39)
#define ActInsIteSylLec (ActChgCrsSta + 40)
#define ActInsIteSylPra (ActChgCrsSta + 41)
#define ActModIteSylLec (ActChgCrsSta + 42)
#define ActModIteSylPra (ActChgCrsSta + 43)
#define ActNewPrgIte (ActChgCrsSta + 18)
#define ActChgPrgIte (ActChgCrsSta + 19)
#define ActReqRemPrgIte (ActChgCrsSta + 20)
#define ActRemPrgIte (ActChgCrsSta + 21)
#define ActHidPrgIte (ActChgCrsSta + 22)
#define ActShoPrgIte (ActChgCrsSta + 23)
#define ActEdiTchGui (ActChgCrsSta + 24)
#define ActSeeSylLec (ActChgCrsSta + 25)
#define ActSeeSylPra (ActChgCrsSta + 26)
#define ActEdiSylLec (ActChgCrsSta + 27)
#define ActEdiSylPra (ActChgCrsSta + 28)
#define ActDelItmSylLec (ActChgCrsSta + 29)
#define ActDelItmSylPra (ActChgCrsSta + 30)
#define ActUp_IteSylLec (ActChgCrsSta + 31)
#define ActUp_IteSylPra (ActChgCrsSta + 32)
#define ActDwnIteSylLec (ActChgCrsSta + 33)
#define ActDwnIteSylPra (ActChgCrsSta + 34)
#define ActRgtIteSylLec (ActChgCrsSta + 35)
#define ActRgtIteSylPra (ActChgCrsSta + 36)
#define ActLftIteSylLec (ActChgCrsSta + 37)
#define ActLftIteSylPra (ActChgCrsSta + 38)
#define ActInsIteSylLec (ActChgCrsSta + 39)
#define ActInsIteSylPra (ActChgCrsSta + 40)
#define ActModIteSylLec (ActChgCrsSta + 41)
#define ActModIteSylPra (ActChgCrsSta + 42)
#define ActEdiBib (ActChgCrsSta + 44)
#define ActEdiFAQ (ActChgCrsSta + 45)
#define ActEdiCrsLnk (ActChgCrsSta + 46)
#define ActEdiBib (ActChgCrsSta + 43)
#define ActEdiFAQ (ActChgCrsSta + 44)
#define ActEdiCrsLnk (ActChgCrsSta + 45)
#define ActChgFrcReaCrsInf (ActChgCrsSta + 47)
#define ActChgFrcReaTchGui (ActChgCrsSta + 48)
#define ActChgFrcReaSylLec (ActChgCrsSta + 49)
#define ActChgFrcReaSylPra (ActChgCrsSta + 50)
#define ActChgFrcReaBib (ActChgCrsSta + 51)
#define ActChgFrcReaFAQ (ActChgCrsSta + 52)
#define ActChgFrcReaCrsLnk (ActChgCrsSta + 53)
#define ActChgFrcReaCrsInf (ActChgCrsSta + 46)
#define ActChgFrcReaTchGui (ActChgCrsSta + 47)
#define ActChgFrcReaSylLec (ActChgCrsSta + 48)
#define ActChgFrcReaSylPra (ActChgCrsSta + 49)
#define ActChgFrcReaBib (ActChgCrsSta + 50)
#define ActChgFrcReaFAQ (ActChgCrsSta + 51)
#define ActChgFrcReaCrsLnk (ActChgCrsSta + 52)
#define ActChgHavReaCrsInf (ActChgCrsSta + 54)
#define ActChgHavReaTchGui (ActChgCrsSta + 55)
#define ActChgHavReaSylLec (ActChgCrsSta + 56)
#define ActChgHavReaSylPra (ActChgCrsSta + 57)
#define ActChgHavReaBib (ActChgCrsSta + 58)
#define ActChgHavReaFAQ (ActChgCrsSta + 59)
#define ActChgHavReaCrsLnk (ActChgCrsSta + 60)
#define ActChgHavReaCrsInf (ActChgCrsSta + 53)
#define ActChgHavReaTchGui (ActChgCrsSta + 54)
#define ActChgHavReaSylLec (ActChgCrsSta + 55)
#define ActChgHavReaSylPra (ActChgCrsSta + 56)
#define ActChgHavReaBib (ActChgCrsSta + 57)
#define ActChgHavReaFAQ (ActChgCrsSta + 58)
#define ActChgHavReaCrsLnk (ActChgCrsSta + 59)
#define ActSelInfSrcCrsInf (ActChgCrsSta + 61)
#define ActSelInfSrcTchGui (ActChgCrsSta + 62)
#define ActSelInfSrcSylLec (ActChgCrsSta + 63)
#define ActSelInfSrcSylPra (ActChgCrsSta + 64)
#define ActSelInfSrcBib (ActChgCrsSta + 65)
#define ActSelInfSrcFAQ (ActChgCrsSta + 66)
#define ActSelInfSrcCrsLnk (ActChgCrsSta + 67)
#define ActRcvURLCrsInf (ActChgCrsSta + 68)
#define ActRcvURLTchGui (ActChgCrsSta + 69)
#define ActRcvURLSylLec (ActChgCrsSta + 70)
#define ActRcvURLSylPra (ActChgCrsSta + 71)
#define ActRcvURLBib (ActChgCrsSta + 72)
#define ActRcvURLFAQ (ActChgCrsSta + 73)
#define ActRcvURLCrsLnk (ActChgCrsSta + 74)
#define ActRcvPagCrsInf (ActChgCrsSta + 75)
#define ActRcvPagTchGui (ActChgCrsSta + 76)
#define ActRcvPagSylLec (ActChgCrsSta + 77)
#define ActRcvPagSylPra (ActChgCrsSta + 78)
#define ActRcvPagBib (ActChgCrsSta + 79)
#define ActRcvPagFAQ (ActChgCrsSta + 80)
#define ActRcvPagCrsLnk (ActChgCrsSta + 81)
#define ActEditorCrsInf (ActChgCrsSta + 82)
#define ActEditorTchGui (ActChgCrsSta + 83)
#define ActEditorSylLec (ActChgCrsSta + 84)
#define ActEditorSylPra (ActChgCrsSta + 85)
#define ActEditorBib (ActChgCrsSta + 86)
#define ActEditorFAQ (ActChgCrsSta + 87)
#define ActEditorCrsLnk (ActChgCrsSta + 88)
#define ActPlaTxtEdiCrsInf (ActChgCrsSta + 89)
#define ActPlaTxtEdiTchGui (ActChgCrsSta + 90)
#define ActPlaTxtEdiSylLec (ActChgCrsSta + 91)
#define ActPlaTxtEdiSylPra (ActChgCrsSta + 92)
#define ActPlaTxtEdiBib (ActChgCrsSta + 93)
#define ActPlaTxtEdiFAQ (ActChgCrsSta + 94)
#define ActPlaTxtEdiCrsLnk (ActChgCrsSta + 95)
#define ActRchTxtEdiCrsInf (ActChgCrsSta + 96)
#define ActRchTxtEdiTchGui (ActChgCrsSta + 97)
#define ActRchTxtEdiSylLec (ActChgCrsSta + 98)
#define ActRchTxtEdiSylPra (ActChgCrsSta + 99)
#define ActRchTxtEdiBib (ActChgCrsSta + 100)
#define ActRchTxtEdiFAQ (ActChgCrsSta + 101)
#define ActRchTxtEdiCrsLnk (ActChgCrsSta + 102)
#define ActRcvPlaTxtCrsInf (ActChgCrsSta + 103)
#define ActRcvPlaTxtTchGui (ActChgCrsSta + 104)
#define ActRcvPlaTxtSylLec (ActChgCrsSta + 105)
#define ActRcvPlaTxtSylPra (ActChgCrsSta + 106)
#define ActRcvPlaTxtBib (ActChgCrsSta + 107)
#define ActRcvPlaTxtFAQ (ActChgCrsSta + 108)
#define ActRcvPlaTxtCrsLnk (ActChgCrsSta + 109)
#define ActRcvRchTxtCrsInf (ActChgCrsSta + 110)
#define ActRcvRchTxtTchGui (ActChgCrsSta + 111)
#define ActRcvRchTxtSylLec (ActChgCrsSta + 112)
#define ActRcvRchTxtSylPra (ActChgCrsSta + 113)
#define ActRcvRchTxtBib (ActChgCrsSta + 114)
#define ActRcvRchTxtFAQ (ActChgCrsSta + 115)
#define ActRcvRchTxtCrsLnk (ActChgCrsSta + 116)
#define ActSelInfSrcCrsInf (ActChgCrsSta + 60)
#define ActSelInfSrcTchGui (ActChgCrsSta + 61)
#define ActSelInfSrcSylLec (ActChgCrsSta + 62)
#define ActSelInfSrcSylPra (ActChgCrsSta + 63)
#define ActSelInfSrcBib (ActChgCrsSta + 64)
#define ActSelInfSrcFAQ (ActChgCrsSta + 65)
#define ActSelInfSrcCrsLnk (ActChgCrsSta + 66)
#define ActRcvURLCrsInf (ActChgCrsSta + 67)
#define ActRcvURLTchGui (ActChgCrsSta + 68)
#define ActRcvURLSylLec (ActChgCrsSta + 69)
#define ActRcvURLSylPra (ActChgCrsSta + 70)
#define ActRcvURLBib (ActChgCrsSta + 71)
#define ActRcvURLFAQ (ActChgCrsSta + 72)
#define ActRcvURLCrsLnk (ActChgCrsSta + 73)
#define ActRcvPagCrsInf (ActChgCrsSta + 74)
#define ActRcvPagTchGui (ActChgCrsSta + 75)
#define ActRcvPagSylLec (ActChgCrsSta + 76)
#define ActRcvPagSylPra (ActChgCrsSta + 77)
#define ActRcvPagBib (ActChgCrsSta + 78)
#define ActRcvPagFAQ (ActChgCrsSta + 79)
#define ActRcvPagCrsLnk (ActChgCrsSta + 80)
#define ActEditorCrsInf (ActChgCrsSta + 81)
#define ActEditorTchGui (ActChgCrsSta + 82)
#define ActEditorSylLec (ActChgCrsSta + 83)
#define ActEditorSylPra (ActChgCrsSta + 84)
#define ActEditorBib (ActChgCrsSta + 85)
#define ActEditorFAQ (ActChgCrsSta + 86)
#define ActEditorCrsLnk (ActChgCrsSta + 87)
#define ActPlaTxtEdiCrsInf (ActChgCrsSta + 88)
#define ActPlaTxtEdiTchGui (ActChgCrsSta + 89)
#define ActPlaTxtEdiSylLec (ActChgCrsSta + 90)
#define ActPlaTxtEdiSylPra (ActChgCrsSta + 91)
#define ActPlaTxtEdiBib (ActChgCrsSta + 92)
#define ActPlaTxtEdiFAQ (ActChgCrsSta + 93)
#define ActPlaTxtEdiCrsLnk (ActChgCrsSta + 94)
#define ActRchTxtEdiCrsInf (ActChgCrsSta + 95)
#define ActRchTxtEdiTchGui (ActChgCrsSta + 96)
#define ActRchTxtEdiSylLec (ActChgCrsSta + 97)
#define ActRchTxtEdiSylPra (ActChgCrsSta + 98)
#define ActRchTxtEdiBib (ActChgCrsSta + 99)
#define ActRchTxtEdiFAQ (ActChgCrsSta + 100)
#define ActRchTxtEdiCrsLnk (ActChgCrsSta + 101)
#define ActRcvPlaTxtCrsInf (ActChgCrsSta + 102)
#define ActRcvPlaTxtTchGui (ActChgCrsSta + 103)
#define ActRcvPlaTxtSylLec (ActChgCrsSta + 104)
#define ActRcvPlaTxtSylPra (ActChgCrsSta + 105)
#define ActRcvPlaTxtBib (ActChgCrsSta + 106)
#define ActRcvPlaTxtFAQ (ActChgCrsSta + 107)
#define ActRcvPlaTxtCrsLnk (ActChgCrsSta + 108)
#define ActRcvRchTxtCrsInf (ActChgCrsSta + 109)
#define ActRcvRchTxtTchGui (ActChgCrsSta + 110)
#define ActRcvRchTxtSylLec (ActChgCrsSta + 111)
#define ActRcvRchTxtSylPra (ActChgCrsSta + 112)
#define ActRcvRchTxtBib (ActChgCrsSta + 113)
#define ActRcvRchTxtFAQ (ActChgCrsSta + 114)
#define ActRcvRchTxtCrsLnk (ActChgCrsSta + 115)
#define ActPrnCrsTT (ActChgCrsSta + 117)
#define ActEdiCrsTT (ActChgCrsSta + 118)
#define ActChgCrsTT (ActChgCrsSta + 119)
#define ActChgCrsTT1stDay (ActChgCrsSta + 120)
#define ActPrnCrsTT (ActChgCrsSta + 116)
#define ActEdiCrsTT (ActChgCrsSta + 117)
#define ActChgCrsTT (ActChgCrsSta + 118)
#define ActChgCrsTT1stDay (ActChgCrsSta + 119)
/*****************************************************************************/
/***************************** Assessment tab ********************************/

View File

@ -497,7 +497,7 @@ enscript -2 --landscape --color --file-align=2 --highlight --line-numbers -o - *
En OpenSWAD:
ps2pdf source.ps destination.pdf
*/
#define Log_PLATFORM_VERSION "SWAD 19.132.1 (2020-02-24)"
#define Log_PLATFORM_VERSION "SWAD 19.133 (2020-02-25)"
#define CSS_FILE "swad19.118.css"
#define JS_FILE "swad19.91.1.js"
/*
@ -523,6 +523,8 @@ Param
// TODO: Miguel Damas: por defecto, marcar "Permitir que los profesores..." en los test (que ya esté marcado en lugar de desmarcado)
// TODO: Si el alumno ha marcado "Permitir que los profesores...", entonces pedir confirmación al pulsar el botón azul, para evitar que se envíe por error antes de tiempo
Version 19.133: Feb 25, 2020 Removed icon to print a course program item.
New buttons to move up and down a course program item. (281608 lines)
Version 19.132.1: Feb 24, 2020 Change in columns of course program. (281427 lines)
Version 19.132: Feb 24, 2020 Stats on course program items. (281426 lines)
Version 19.131.1: Feb 24, 2020 Fixed bug in API. (281360 lines)

View File

@ -77,11 +77,14 @@ static void Prg_PutIconsListPrgItems (void);
static void Prg_PutIconToCreateNewPrgItem (void);
static void Prg_PutButtonToCreateNewPrgItem (void);
static void Prg_ParamsWhichGroupsToShow (void);
static void Prg_ShowOnePrgItem (long PrgIteCod,bool PrintView);
static void Prg_ShowOnePrgItem (long PrgIteCod,
unsigned ItemIndex,unsigned MaxItemIndex,
bool PrintView);
static void Prg_WritePrgItemAuthor (struct ProgramItem *PrgItem);
static void Prg_GetParamPrgOrder (void);
static void Prg_PutFormsToRemEditOnePrgItem (const struct ProgramItem *PrgItem,
unsigned ItemIndex,unsigned MaxItemIndex,
const char *Anchor);
static void Prg_PutParams (void);
static void Prg_GetDataOfPrgItem (struct ProgramItem *PrgItem,
@ -125,7 +128,7 @@ static void Prg_ShowAllPrgItems (void)
extern const char *Txt_Course_program;
extern const char *Txt_No_items;
struct Pagination Pagination;
unsigned NumAsg;
unsigned NumItem;
/***** Get list of program items *****/
Prg_GetListPrgItems ();
@ -160,11 +163,12 @@ static void Prg_ShowAllPrgItems (void)
Prg_PutHeadForSeeing (false); // Not print view
/***** Write all the program items *****/
for (NumAsg = Pagination.FirstItemVisible;
NumAsg <= Pagination.LastItemVisible;
NumAsg++)
Prg_ShowOnePrgItem (Gbl.Prg.LstPrgIteCods[NumAsg - 1],
false); // Not print view
for (NumItem = Pagination.FirstItemVisible;
NumItem <= Pagination.LastItemVisible;
NumItem++)
Prg_ShowOnePrgItem (Gbl.Prg.LstPrgIteCods[NumItem - 1],
NumItem,Gbl.Prg.Num,
false); // Not print view
/***** End table *****/
HTM_TABLE_End ();
@ -298,40 +302,13 @@ static void Prg_ParamsWhichGroupsToShow (void)
Pag_PutHiddenParamPagNum (Pag_COURSE_PROGRAM,Gbl.Prg.CurrentPage);
}
/*****************************************************************************/
/******************* Show print view of one program item *********************/
/*****************************************************************************/
void Prg_PrintOnePrgItem (void)
{
long PrgIteCod;
/***** Get the code of the program item *****/
PrgIteCod = Prg_GetParamPrgItemCod ();
/***** Write header *****/
Lay_WriteHeaderClassPhoto (true,false,
Gbl.Hierarchy.Ins.InsCod,
Gbl.Hierarchy.Deg.DegCod,
Gbl.Hierarchy.Crs.CrsCod);
/***** Table head *****/
HTM_TABLE_BeginWideMarginPadding (2);
Prg_PutHeadForSeeing (true); // Print view
/***** Write program item *****/
Prg_ShowOnePrgItem (PrgIteCod,
true); // Print view
/***** End table *****/
HTM_TABLE_End ();
}
/*****************************************************************************/
/************************** Show one program item ****************************/
/*****************************************************************************/
static void Prg_ShowOnePrgItem (long PrgIteCod,bool PrintView)
static void Prg_ShowOnePrgItem (long PrgIteCod,
unsigned ItemIndex,unsigned MaxItemIndex,
bool PrintView)
{
char *Anchor = NULL;
static unsigned UniqueId = 0;
@ -356,7 +333,9 @@ static void Prg_ShowOnePrgItem (long PrgIteCod,bool PrintView)
else
{
HTM_TD_Begin ("rowspan=\"2\" class=\"CONTEXT_COL COLOR%u\"",Gbl.RowEvenOdd);
Prg_PutFormsToRemEditOnePrgItem (&PrgItem,Anchor);
Prg_PutFormsToRemEditOnePrgItem (&PrgItem,
ItemIndex,MaxItemIndex,
Anchor);
}
HTM_TD_End ();
@ -485,31 +464,63 @@ void Prg_PutHiddenParamPrgOrder (void)
/*****************************************************************************/
static void Prg_PutFormsToRemEditOnePrgItem (const struct ProgramItem *PrgItem,
unsigned ItemIndex,unsigned MaxItemIndex,
const char *Anchor)
{
extern const char *Txt_Move_up_X;
extern const char *Txt_Move_down_X;
extern const char *Txt_Movement_not_allowed;
char StrItemIndex[Cns_MAX_DECIMAL_DIGITS_UINT + 1];
Gbl.Prg.PrgIteCodToEdit = PrgItem->PrgIteCod; // Used as parameter in contextual links
/***** Initialize item index string *****/
snprintf (StrItemIndex,sizeof (StrItemIndex),
"%u",
ItemIndex);
switch (Gbl.Usrs.Me.Role.Logged)
{
case Rol_TCH:
case Rol_SYS_ADM:
/***** Put form to remove program item *****/
Ico_PutContextualIconToRemove (ActReqRemAsg,Prg_PutParams);
Ico_PutContextualIconToRemove (ActReqRemPrgIte,Prg_PutParams);
/***** Put form to hide/show program item *****/
if (PrgItem->Hidden)
Ico_PutContextualIconToUnhide (ActShoAsg,Anchor,Prg_PutParams);
Ico_PutContextualIconToUnhide (ActShoPrgIte,Anchor,Prg_PutParams);
else
Ico_PutContextualIconToHide (ActHidAsg,Anchor,Prg_PutParams);
Ico_PutContextualIconToHide (ActHidPrgIte,Anchor,Prg_PutParams);
/***** Put icon to move up the question *****/
if (ItemIndex > 1)
{
Lay_PutContextualLinkOnlyIcon (ActUp_GamQst,NULL,Prg_PutParams, // TODO: Change action
"arrow-up.svg",
Str_BuildStringStr (Txt_Move_up_X,
StrItemIndex));
Str_FreeString ();
}
else
Ico_PutIconOff ("arrow-up.svg",Txt_Movement_not_allowed);
/***** Put icon to move down the question *****/
if (ItemIndex < MaxItemIndex)
{
Lay_PutContextualLinkOnlyIcon (ActDwnGamQst,NULL,Prg_PutParams, // TODO: Change action
"arrow-down.svg",
Str_BuildStringStr (Txt_Move_down_X,
StrItemIndex));
Str_FreeString ();
}
else
Ico_PutIconOff ("arrow-down.svg",Txt_Movement_not_allowed);
/***** Put form to edit program item *****/
Ico_PutContextualIconToEdit (ActEdiOneAsg,Prg_PutParams);
/* falls through */
/* no break */
Ico_PutContextualIconToEdit (ActEdiOnePrgIte,Prg_PutParams);
break;
case Rol_STD:
case Rol_NET:
/***** Put form to print program item *****/
Ico_PutContextualIconToPrint (ActPrnOneAsg,Prg_PutParams);
break;
default:
break;

View File

@ -60,7 +60,6 @@ struct ProgramItem
/*****************************************************************************/
void Prg_SeeCourseProgram (void);
void Prg_PrintOnePrgItem (void);
void Prg_PutHiddenParamPrgOrder (void);
void Prg_RequestCreatOrEditPrgItem (void);

View File

@ -4785,6 +4785,174 @@ const char *Txt_Actions[Act_NUM_ACTIONS] =
"" // Potrzebujesz tlumaczenie
#elif L==9 // pt
"" // Precisa de tradução
#endif
,
[ActFrmNewPrgIte] =
#if L==1 // ca
"" // Necessita traducció
#elif L==2 // de
"" // Need Übersetzung
#elif L==3 // en
"Request new program item"
#elif L==4 // es
"Solicitar nuevo &iacute;tem del programa"
#elif L==5 // fr
"" // Besoin de traduction
#elif L==6 // gn
"" // Okoteve traducción
#elif L==7 // it
"" // Bisogno di traduzione
#elif L==8 // pl
"" // Potrzebujesz tlumaczenie
#elif L==9 // pt
"" // Precisa de tradução
#endif
,
[ActEdiOnePrgIte] =
#if L==1 // ca
"" // Necessita traducció
#elif L==2 // de
"" // Need Übersetzung
#elif L==3 // en
"Edit program item"
#elif L==4 // es
"Editar &iacute;tem del programa"
#elif L==5 // fr
"" // Besoin de traduction
#elif L==6 // gn
"" // Okoteve traducción
#elif L==7 // it
"" // Bisogno di traduzione
#elif L==8 // pl
"" // Potrzebujesz tlumaczenie
#elif L==9 // pt
"" // Precisa de tradução
#endif
,
[ActNewPrgIte] =
#if L==1 // ca
"" // Necessita traducció
#elif L==2 // de
"" // Need Übersetzung
#elif L==3 // en
"Create new program item"
#elif L==4 // es
"Crear nuevo &iacute;tem del programa"
#elif L==5 // fr
"" // Besoin de traduction
#elif L==6 // gn
"" // Okoteve traducción
#elif L==7 // it
"" // Bisogno di traduzione
#elif L==8 // pl
"" // Potrzebujesz tlumaczenie
#elif L==9 // pt
"" // Precisa de tradução
#endif
,
[ActChgPrgIte] =
#if L==1 // ca
"" // Necessita traducció
#elif L==2 // de
"" // Need Übersetzung
#elif L==3 // en
"Change program item"
#elif L==4 // es
"Cambiar &iacute;tem del programa"
#elif L==5 // fr
"" // Besoin de traduction
#elif L==6 // gn
"" // Okoteve traducción
#elif L==7 // it
"" // Bisogno di traduzione
#elif L==8 // pl
"" // Potrzebujesz tlumaczenie
#elif L==9 // pt
"" // Precisa de tradução
#endif
,
[ActReqRemPrgIte] =
#if L==1 // ca
"" // Necessita traducció
#elif L==2 // de
"" // Need Übersetzung
#elif L==3 // en
"Request the removal of program item"
#elif L==4 // es
"Solicitar la eliminaci&oacute;n de &iacute;tem del programa"
#elif L==5 // fr
"" // Besoin de traduction
#elif L==6 // gn
"" // Okoteve traducción
#elif L==7 // it
"" // Bisogno di traduzione
#elif L==8 // pl
"" // Potrzebujesz tlumaczenie
#elif L==9 // pt
"" // Precisa de tradução
#endif
,
[ActRemPrgIte] =
#if L==1 // ca
"" // Necessita traducció
#elif L==2 // de
"" // Need Übersetzung
#elif L==3 // en
"Remove of program item"
#elif L==4 // es
"Eliminar &iacute;tem del programa"
#elif L==5 // fr
"" // Besoin de traduction
#elif L==6 // gn
"" // Okoteve traducción
#elif L==7 // it
"" // Bisogno di traduzione
#elif L==8 // pl
"" // Potrzebujesz tlumaczenie
#elif L==9 // pt
"" // Precisa de tradução
#endif
,
[ActHidPrgIte] =
#if L==1 // ca
"" // Necessita traducció
#elif L==2 // de
"" // Need Übersetzung
#elif L==3 // en
"Hide program item"
#elif L==4 // es
"Ocultar &iacute;tem del programa"
#elif L==5 // fr
"" // Besoin de traduction
#elif L==6 // gn
"" // Okoteve traducción
#elif L==7 // it
"" // Bisogno di traduzione
#elif L==8 // pl
"" // Potrzebujesz tlumaczenie
#elif L==9 // pt
"" // Precisa de tradução
#endif
,
[ActShoPrgIte] =
#if L==1 // ca
"" // Necessita traducció
#elif L==2 // de
"" // Need Übersetzung
#elif L==3 // en
"Show program item"
#elif L==4 // es
"Mostrar &iacute;tem del programa"
#elif L==5 // fr
"" // Besoin de traduction
#elif L==6 // gn
"" // Okoteve traducción
#elif L==7 // it
"" // Bisogno di traduzione
#elif L==8 // pl
"" // Potrzebujesz tlumaczenie
#elif L==9 // pt
"" // Precisa de tradução
#endif
,
[ActSeeTchGui] =