Version 14.38.6

This commit is contained in:
Antonio Cañas Vargas 2014-12-17 23:04:35 +01:00
parent 8cfd90e9d8
commit 1e4a8aafdc
9 changed files with 341 additions and 380 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 148 B

After

Width:  |  Height:  |  Size: 145 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 231 B

After

Width:  |  Height:  |  Size: 215 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 424 B

After

Width:  |  Height:  |  Size: 369 B

View File

@ -771,151 +771,151 @@ Messages:
637. ActReqMsgUsr Write message a varios users
638. ActSeeRcvMsg Show the messages received from other users (link in menu)
639. ActSeeSntMsg Show the messages sent to other users
640. ActLstBanUsr List banned users
641. ActMaiStd Send an e-mail to students
642. ActWriAnn Show form to create a new global announcement
643. ActRcvAnn Receive and create a new global announcement
644. ActRemAnn Remove global announcement
645. ActShoNot Show (expand) a notice
646. ActWriNot Write a new notice
647. ActRcvNot Receive and create a new notice
648. ActHidNot Hide a notice that was active
649. ActRevNot Reveal a notice that was hidden
650. ActRemNot Remove a notice
651. ActSeeNewNtf Show my recent notifications (link in top heading)
652. ActMrkNtfSee Mark all my notifications as seen
653. ActSeeForCrsUsr Show top level of forum of users of the course
654. ActSeeForCrsTch Show top level of forum of teachers of the course
655. ActSeeForDegUsr Show top level of forum of users of the degree
656. ActSeeForDegTch Show top level of forum of teachers of the degree
657. ActSeeForCtrUsr Show top level of forum of users of the centre
658. ActSeeForCtrTch Show top level of forum of teachers of the centre
659. ActSeeForInsUsr Show top level of forum of users of the institution
660. ActSeeForInsTch Show top level of forum of teachers of the institution
661. ActSeeForGenUsr Show top level of forum of users general
662. ActSeeForGenTch Show top level of forum of teachers general
663. ActSeeForSWAUsr Show top level of forum of users of the platform
664. ActSeeForSWATch Show top level of forum of teachers of the platform
665. ActSeePstForCrsUsr Show the messages of a thread of the forum of users of the course
666. ActSeePstForCrsTch Show the messages of a thread of the forum of teachers of the course
667. ActSeePstForDegUsr Show the messages of a thread of the forum of users of the degree
668. ActSeePstForDegTch Show the messages of a thread of the forum of teachers of the degree
669. ActSeePstForCtrUsr Show the messages of a thread of the forum of users of the centre
670. ActSeePstForCtrTch Show the messages of a thread of the forum of teachers of the centre
671. ActSeePstForInsUsr Show the messages of a thread of the forum of users of the institution
672. ActSeePstForInsTch Show the messages of a thread of the forum of teachers of the institution
673. ActSeePstForGenUsr Show the messages of a thread of the forum of users general
674. ActSeePstForGenTch Show the messages of a thread of the forum of teachers general
675. ActSeePstForSWAUsr Show the messages of a thread of the forum of users of the platform
676. ActSeePstForSWATch Show the messages of a thread of the forum of teachers of the platform
677. ActRcvThrForCrsUsr Receive the first message of a new thread of forum of users of the course
678. ActRcvThrForCrsTch Receive the first message of a new thread of forum of teachers of the course
679. ActRcvThrForDegUsr Receive the first message of a new thread of forum of users of the degree
680. ActRcvThrForDegTch Receive the first message of a new thread of forum of teachers of the degree
681. ActRcvThrForCtrUsr Receive the first message of a new thread of forum of users of centre
682. ActRcvThrForCtrTch Receive the first message of a new thread of forum of teachers of centre
683. ActRcvThrForInsUsr Receive the first message of a new thread of forum of users of the institution
684. ActRcvThrForInsTch Receive the first message of a new thread of forum of teachers of the institution
685. ActRcvThrForGenUsr Receive the first message of a new thread of forum of users general
686. ActRcvThrForGenTch Receive the first message of a new thread of forum of teachers general
687. ActRcvThrForSWAUsr Receive the first message of a new thread of forum of users of the platform
688. ActRcvThrForSWATch Receive the first message of a new thread of forum of teachers of the platform
689. ActRcvRepForCrsUsr Receive a message of answer in a thread existente in the forum of users of the course
690. ActRcvRepForCrsTch Receive a message of answer in a thread existente in the forum of teachers of the course
691. ActRcvRepForDegUsr Receive a message of answer in a thread existente in the forum of users of the degree
692. ActRcvRepForDegTch Receive a message of answer in a thread existente in the forum of teachers of the degree
693. ActRcvRepForCtrUsr Receive a message of answer in a thread existente in the forum of users of centre
694. ActRcvRepForCtrTch Receive a message of answer in a thread existente in the forum of teachers of centre
695. ActRcvRepForInsUsr Receive a message of answer in a thread existente in the forum of users of the institution
696. ActRcvRepForInsTch Receive a message of answer in a thread existente in the forum of teachers of the institution
697. ActRcvRepForGenUsr Receive a message of answer in a thread existente in the forum of users general
698. ActRcvRepForGenTch Receive a message of answer in a thread existente in the forum of teachers general
699. ActRcvRepForSWAUsr Receive a message of answer in a thread existente in the forum of users of the platform
700. ActRcvRepForSWATch Receive a message of answer in a thread existente in the forum of teachers of the platform
701. ActReqDelThrCrsUsr Request the removal of a thread of forum of users of the course
702. ActReqDelThrCrsTch Request the removal of a thread of forum of teachers of the course
703. ActReqDelThrDegUsr Request the removal of a thread of forum of users of the degree
704. ActReqDelThrDegTch Request the removal of a thread of forum of teachers of the degree
705. ActReqDelThrCtrUsr Request the removal of a thread of forum of users of centre
706. ActReqDelThrCtrTch Request the removal of a thread of forum of teachers of centre
707. ActReqDelThrInsUsr Request the removal of a thread of forum of users of the institution
708. ActReqDelThrInsTch Request the removal of a thread of forum of teachers of the institution
709. ActReqDelThrGenUsr Request the removal of a thread of forum of users general
710. ActReqDelThrGenTch Request the removal of a thread of forum of teachers general
711. ActReqDelThrSWAUsr Request the removal of a thread of forum of users of the platform
712. ActReqDelThrSWATch Request the removal of a thread of forum of teachers of the platform
713. ActDelThrForCrsUsr Remove a thread of forum of users of the course
714. ActDelThrForCrsTch Remove a thread of forum of teachers of the course
715. ActDelThrForDegUsr Remove a thread of forum of users of the degree
716. ActDelThrForDegTch Remove a thread of forum of teachers of the degree
717. ActDelThrForCtrUsr Remove a thread of forum of users of centre
718. ActDelThrForCtrTch Remove a thread of forum of teachers of centre
719. ActDelThrForInsUsr Remove a thread of forum of users of the institution
720. ActDelThrForInsTch Remove a thread of forum of teachers of the institution
721. ActDelThrForGenUsr Remove a thread of forum of users general
722. ActDelThrForGenTch Remove a thread of forum of teachers general
723. ActDelThrForSWAUsr Remove a thread of forum of users of the platform
724. ActDelThrForSWATch Remove a thread of forum of teachers of the platform
725. ActCutThrForCrsUsr Cut a thread of forum of users of the course
726. ActCutThrForCrsTch Cut a thread of forum of teachers of the course
727. ActCutThrForDegUsr Cut a thread of forum of users of the degree
728. ActCutThrForDegTch Cut a thread of forum of teachers of the degree
729. ActCutThrForCtrUsr Cut a thread of forum of users of centre
730. ActCutThrForCtrTch Cut a thread of forum of teachers of centre
731. ActCutThrForInsUsr Cut a thread of forum of users of the institution
732. ActCutThrForInsTch Cut a thread of forum of teachers of the institution
733. ActCutThrForGenUsr Cut a thread of forum of users general
734. ActCutThrForGenTch Cut a thread of forum of teachers general
735. ActCutThrForSWAUsr Cut a thread of forum of users of the platform
736. ActCutThrForSWATch Cut a thread of forum of teachers of the platform
737. ActPasThrForCrsUsr Paste a thread of forum of users of the course
738. ActPasThrForCrsTch Paste a thread of forum of teachers of the course
739. ActPasThrForDegUsr Paste a thread of forum of users of the degree
740. ActPasThrForDegTch Paste a thread of forum of teachers of the degree
741. ActPasThrForCtrUsr Paste a thread of forum of users of centre
742. ActPasThrForCtrTch Paste a thread of forum of teachers of centre
743. ActPasThrForInsUsr Paste a thread of forum of users of the institution
744. ActPasThrForInsTch Paste a thread of forum of teachers of the institution
745. ActPasThrForGenUsr Paste a thread of forum of users general
746. ActPasThrForGenTch Paste a thread of forum of teachers general
747. ActPasThrForSWAUsr Paste a thread of forum of users of the platform
748. ActPasThrForSWATch Paste a thread of forum of teachers of the platform
749. ActDelPstForCrsUsr Remove a message of forum of users of the course
750. ActDelPstForCrsTch Remove a message of forum of teachers of the course
751. ActDelPstForDegUsr Remove a message of forum of users of the degree
752. ActDelPstForDegTch Remove a message of forum of teachers of the degree
753. ActDelPstForCtrUsr Remove a message of forum of users of centre
754. ActDelPstForCtrTch Remove a message of forum of teachers of centre
755. ActDelPstForInsUsr Remove a message of forum of users of the institution
756. ActDelPstForInsTch Remove a message of forum of teachers of the institution
757. ActDelPstForGenUsr Remove a message of forum of users general
640. ActMaiStd Send an e-mail to students
641. ActWriAnn Show form to create a new global announcement
642. ActRcvAnn Receive and create a new global announcement
643. ActRemAnn Remove global announcement
644. ActShoNot Show (expand) a notice
645. ActWriNot Write a new notice
646. ActRcvNot Receive and create a new notice
647. ActHidNot Hide a notice that was active
648. ActRevNot Reveal a notice that was hidden
649. ActRemNot Remove a notice
650. ActSeeNewNtf Show my recent notifications (link in top heading)
651. ActMrkNtfSee Mark all my notifications as seen
652. ActSeeForCrsUsr Show top level of forum of users of the course
653. ActSeeForCrsTch Show top level of forum of teachers of the course
654. ActSeeForDegUsr Show top level of forum of users of the degree
655. ActSeeForDegTch Show top level of forum of teachers of the degree
656. ActSeeForCtrUsr Show top level of forum of users of the centre
657. ActSeeForCtrTch Show top level of forum of teachers of the centre
658. ActSeeForInsUsr Show top level of forum of users of the institution
669. ActSeeForInsTch Show top level of forum of teachers of the institution
660. ActSeeForGenUsr Show top level of forum of users general
661. ActSeeForGenTch Show top level of forum of teachers general
662. ActSeeForSWAUsr Show top level of forum of users of the platform
663. ActSeeForSWATch Show top level of forum of teachers of the platform
664. ActSeePstForCrsUsr Show the messages of a thread of the forum of users of the course
665. ActSeePstForCrsTch Show the messages of a thread of the forum of teachers of the course
666. ActSeePstForDegUsr Show the messages of a thread of the forum of users of the degree
667. ActSeePstForDegTch Show the messages of a thread of the forum of teachers of the degree
668. ActSeePstForCtrUsr Show the messages of a thread of the forum of users of the centre
669. ActSeePstForCtrTch Show the messages of a thread of the forum of teachers of the centre
670. ActSeePstForInsUsr Show the messages of a thread of the forum of users of the institution
671. ActSeePstForInsTch Show the messages of a thread of the forum of teachers of the institution
672. ActSeePstForGenUsr Show the messages of a thread of the forum of users general
673. ActSeePstForGenTch Show the messages of a thread of the forum of teachers general
674. ActSeePstForSWAUsr Show the messages of a thread of the forum of users of the platform
675. ActSeePstForSWATch Show the messages of a thread of the forum of teachers of the platform
676. ActRcvThrForCrsUsr Receive the first message of a new thread of forum of users of the course
677. ActRcvThrForCrsTch Receive the first message of a new thread of forum of teachers of the course
678. ActRcvThrForDegUsr Receive the first message of a new thread of forum of users of the degree
679. ActRcvThrForDegTch Receive the first message of a new thread of forum of teachers of the degree
680. ActRcvThrForCtrUsr Receive the first message of a new thread of forum of users of centre
681. ActRcvThrForCtrTch Receive the first message of a new thread of forum of teachers of centre
682. ActRcvThrForInsUsr Receive the first message of a new thread of forum of users of the institution
683. ActRcvThrForInsTch Receive the first message of a new thread of forum of teachers of the institution
684. ActRcvThrForGenUsr Receive the first message of a new thread of forum of users general
685. ActRcvThrForGenTch Receive the first message of a new thread of forum of teachers general
686. ActRcvThrForSWAUsr Receive the first message of a new thread of forum of users of the platform
687. ActRcvThrForSWATch Receive the first message of a new thread of forum of teachers of the platform
688. ActRcvRepForCrsUsr Receive a message of answer in a thread existente in the forum of users of the course
689. ActRcvRepForCrsTch Receive a message of answer in a thread existente in the forum of teachers of the course
690. ActRcvRepForDegUsr Receive a message of answer in a thread existente in the forum of users of the degree
691. ActRcvRepForDegTch Receive a message of answer in a thread existente in the forum of teachers of the degree
692. ActRcvRepForCtrUsr Receive a message of answer in a thread existente in the forum of users of centre
693. ActRcvRepForCtrTch Receive a message of answer in a thread existente in the forum of teachers of centre
694. ActRcvRepForInsUsr Receive a message of answer in a thread existente in the forum of users of the institution
695. ActRcvRepForInsTch Receive a message of answer in a thread existente in the forum of teachers of the institution
696. ActRcvRepForGenUsr Receive a message of answer in a thread existente in the forum of users general
697. ActRcvRepForGenTch Receive a message of answer in a thread existente in the forum of teachers general
698. ActRcvRepForSWAUsr Receive a message of answer in a thread existente in the forum of users of the platform
699. ActRcvRepForSWATch Receive a message of answer in a thread existente in the forum of teachers of the platform
700. ActReqDelThrCrsUsr Request the removal of a thread of forum of users of the course
701. ActReqDelThrCrsTch Request the removal of a thread of forum of teachers of the course
702. ActReqDelThrDegUsr Request the removal of a thread of forum of users of the degree
703. ActReqDelThrDegTch Request the removal of a thread of forum of teachers of the degree
704. ActReqDelThrCtrUsr Request the removal of a thread of forum of users of centre
705. ActReqDelThrCtrTch Request the removal of a thread of forum of teachers of centre
706. ActReqDelThrInsUsr Request the removal of a thread of forum of users of the institution
707. ActReqDelThrInsTch Request the removal of a thread of forum of teachers of the institution
708. ActReqDelThrGenUsr Request the removal of a thread of forum of users general
789. ActReqDelThrGenTch Request the removal of a thread of forum of teachers general
710. ActReqDelThrSWAUsr Request the removal of a thread of forum of users of the platform
711. ActReqDelThrSWATch Request the removal of a thread of forum of teachers of the platform
712. ActDelThrForCrsUsr Remove a thread of forum of users of the course
713. ActDelThrForCrsTch Remove a thread of forum of teachers of the course
714. ActDelThrForDegUsr Remove a thread of forum of users of the degree
715. ActDelThrForDegTch Remove a thread of forum of teachers of the degree
716. ActDelThrForCtrUsr Remove a thread of forum of users of centre
717. ActDelThrForCtrTch Remove a thread of forum of teachers of centre
718. ActDelThrForInsUsr Remove a thread of forum of users of the institution
719. ActDelThrForInsTch Remove a thread of forum of teachers of the institution
720. ActDelThrForGenUsr Remove a thread of forum of users general
721. ActDelThrForGenTch Remove a thread of forum of teachers general
722. ActDelThrForSWAUsr Remove a thread of forum of users of the platform
723. ActDelThrForSWATch Remove a thread of forum of teachers of the platform
724. ActCutThrForCrsUsr Cut a thread of forum of users of the course
725. ActCutThrForCrsTch Cut a thread of forum of teachers of the course
726. ActCutThrForDegUsr Cut a thread of forum of users of the degree
727. ActCutThrForDegTch Cut a thread of forum of teachers of the degree
728. ActCutThrForCtrUsr Cut a thread of forum of users of centre
729. ActCutThrForCtrTch Cut a thread of forum of teachers of centre
730. ActCutThrForInsUsr Cut a thread of forum of users of the institution
731. ActCutThrForInsTch Cut a thread of forum of teachers of the institution
732. ActCutThrForGenUsr Cut a thread of forum of users general
733. ActCutThrForGenTch Cut a thread of forum of teachers general
734. ActCutThrForSWAUsr Cut a thread of forum of users of the platform
735. ActCutThrForSWATch Cut a thread of forum of teachers of the platform
736. ActPasThrForCrsUsr Paste a thread of forum of users of the course
737. ActPasThrForCrsTch Paste a thread of forum of teachers of the course
738. ActPasThrForDegUsr Paste a thread of forum of users of the degree
739. ActPasThrForDegTch Paste a thread of forum of teachers of the degree
740. ActPasThrForCtrUsr Paste a thread of forum of users of centre
741. ActPasThrForCtrTch Paste a thread of forum of teachers of centre
742. ActPasThrForInsUsr Paste a thread of forum of users of the institution
743. ActPasThrForInsTch Paste a thread of forum of teachers of the institution
744. ActPasThrForGenUsr Paste a thread of forum of users general
745. ActPasThrForGenTch Paste a thread of forum of teachers general
746. ActPasThrForSWAUsr Paste a thread of forum of users of the platform
747. ActPasThrForSWATch Paste a thread of forum of teachers of the platform
748. ActDelPstForCrsUsr Remove a message of forum of users of the course
749. ActDelPstForCrsTch Remove a message of forum of teachers of the course
750. ActDelPstForDegUsr Remove a message of forum of users of the degree
751. ActDelPstForDegTch Remove a message of forum of teachers of the degree
752. ActDelPstForCtrUsr Remove a message of forum of users of centre
753. ActDelPstForCtrTch Remove a message of forum of teachers of centre
754. ActDelPstForInsUsr Remove a message of forum of users of the institution
755. ActDelPstForInsTch Remove a message of forum of teachers of the institution
756. ActDelPstForGenUsr Remove a message of forum of users general
758. ActDelPstForGenTch Remove a message of forum of teachers general
759. ActDelPstForSWAUsr Remove a message of forum of users of the platform
760. ActDelPstForSWATch Remove a message of forum of teachers of the platform
761. ActEnbPstForCrsUsr Enable a message of forum of users of the course
762. ActEnbPstForCrsTch Enable a message of forum of teachers of the course
763. ActEnbPstForDegUsr Enable a message of forum of users of the degree
764. ActEnbPstForDegTch Enable a message of forum of teachers of the degree
765. ActEnbPstForCtrUsr Enable a message of forum of users of centre
766. ActEnbPstForCtrTch Enable a message of forum of teachers of centre
767. ActEnbPstForInsUsr Enable a message of forum of users of the institution
768. ActEnbPstForInsTch Enable a message of forum of teachers of the institution
769. ActEnbPstForGenUsr Enable a message of forum of users general
770. ActEnbPstForGenTch Enable a message of forum of teachers general
771. ActEnbPstForSWAUsr Enable a message of forum of users of the platform
772. ActEnbPstForSWATch Enable a message of forum of teachers of the platform
773. ActDisPstForCrsUsr Disable a message of forum of users of the course
774. ActDisPstForCrsTch Disable a message of forum of teachers of the course
775. ActDisPstForDegUsr Disable a message of forum of users of the degree
776. ActDisPstForDegTch Disable a message of forum of teachers of the degree
777. ActDisPstForCtrUsr Disable a message of forum of users of centre
778. ActDisPstForCtrTch Disable a message of forum of teachers of centre
779. ActDisPstForInsUsr Disable a message of forum of users of the institution
780. ActDisPstForInsTch Disable a message of forum of teachers of the institution
781. ActDisPstForGenUsr Disable a message of forum of users general
782. ActDisPstForGenTch Disable a message of forum of teachers general
783. ActDisPstForSWAUsr Disable a message of forum of users of the platform
784. ActDisPstForSWATch Disable a message of forum of teachers of the platform
758. ActDelPstForSWAUsr Remove a message of forum of users of the platform
759. ActDelPstForSWATch Remove a message of forum of teachers of the platform
760. ActEnbPstForCrsUsr Enable a message of forum of users of the course
761. ActEnbPstForCrsTch Enable a message of forum of teachers of the course
762. ActEnbPstForDegUsr Enable a message of forum of users of the degree
763. ActEnbPstForDegTch Enable a message of forum of teachers of the degree
764. ActEnbPstForCtrUsr Enable a message of forum of users of centre
765. ActEnbPstForCtrTch Enable a message of forum of teachers of centre
766. ActEnbPstForInsUsr Enable a message of forum of users of the institution
767. ActEnbPstForInsTch Enable a message of forum of teachers of the institution
768. ActEnbPstForGenUsr Enable a message of forum of users general
769. ActEnbPstForGenTch Enable a message of forum of teachers general
770. ActEnbPstForSWAUsr Enable a message of forum of users of the platform
771. ActEnbPstForSWATch Enable a message of forum of teachers of the platform
772. ActDisPstForCrsUsr Disable a message of forum of users of the course
773. ActDisPstForCrsTch Disable a message of forum of teachers of the course
774. ActDisPstForDegUsr Disable a message of forum of users of the degree
775. ActDisPstForDegTch Disable a message of forum of teachers of the degree
776. ActDisPstForCtrUsr Disable a message of forum of users of centre
777. ActDisPstForCtrTch Disable a message of forum of teachers of centre
778. ActDisPstForInsUsr Disable a message of forum of users of the institution
779. ActDisPstForInsTch Disable a message of forum of teachers of the institution
780. ActDisPstForGenUsr Disable a message of forum of users general
781. ActDisPstForGenTch Disable a message of forum of teachers general
782. ActDisPstForSWAUsr Disable a message of forum of users of the platform
783. ActDisPstForSWATch Disable a message of forum of teachers of the platform
784. ActLstBanUsr List banned users
785. ActRcvMsgUsr Sent/Receive a message of a user
786. ActReqDelAllSntMsg Request the removal of todos the messages sent to other users
787. ActReqDelAllRcvMsg Request the removal of todos the messages received from other users
@ -1162,8 +1162,7 @@ const struct Act_Menu Act_Menu[Act_NUM_TABS][Act_MAX_OPTIONS_IN_MENU_PER_TAB] =
{ActReqMsgUsr ,false},
{ActSeeRcvMsg ,false},
{ActSeeSntMsg ,false},
{ActLstBanUsr ,true },
{ActSeeSntMsg ,true },
{ActMaiStd ,true },
@ -1966,8 +1965,7 @@ struct Act_Actions Act_Actions[Act_NUM_ACTIONS] =
/* ActReqMsgUsr */{ 26, 5,TabMsg,ActReqMsgUsr ,0x1FC,0x1FC,0x1FC,Act_CONTENT_NORM,Act_MAIN_WINDOW,NULL ,Msg_FormMsgUsrs ,"editnewmsg" },
/* ActSeeRcvMsg */{ 3, 6,TabMsg,ActSeeRcvMsg ,0x1FE,0x1FE,0x1FE,Act_CONTENT_NORM,Act_MAIN_WINDOW,NULL ,Msg_ShowRecMsgs ,"recmsg" },
/* ActSeeSntMsg */{ 70, 7,TabMsg,ActSeeSntMsg ,0x1FE,0x1FE,0x1FE,Act_CONTENT_NORM,Act_MAIN_WINDOW,NULL ,Msg_ShowSntMsgs ,"sntmsg" },
/* ActLstBanUsr */{1017, 8,TabMsg,ActLstBanUsr ,0x1FE,0x1FE,0x1FE,Act_CONTENT_NORM,Act_MAIN_WINDOW,NULL ,Msg_ListBannedUsrs ,"stop" },
/* ActMaiStd */{ 100, 9,TabMsg,ActMaiStd ,0x110,0x100,0x000,Act_CONTENT_NORM,Act_MAIN_WINDOW,NULL ,Msg_ListEMails ,"email" },
/* ActMaiStd */{ 100, 8,TabMsg,ActMaiStd ,0x110,0x100,0x000,Act_CONTENT_NORM,Act_MAIN_WINDOW,NULL ,Msg_ListEMails ,"email" },
// Actions not in menu:
/* ActWriAnn */{1237,-1,TabMsg,ActSeeAnn ,0x100,0x100,0x100,Act_CONTENT_NORM,Act_MAIN_WINDOW,NULL ,Ann_ShowFormAnnouncement ,NULL},
@ -2127,6 +2125,7 @@ struct Act_Actions Act_Actions[Act_NUM_ACTIONS] =
/* ActDisPstForSWAUsr*/{ 625,-1,TabMsg,ActSeeFor ,0x1E0,0x1E0,0x1E0,Act_CONTENT_NORM,Act_MAIN_WINDOW,NULL ,For_DisPst ,NULL},
/* ActDisPstForSWATch*/{ 635,-1,TabMsg,ActSeeFor ,0x1E0,0x1E0,0x1E0,Act_CONTENT_NORM,Act_MAIN_WINDOW,NULL ,For_DisPst ,NULL},
/* ActLstBanUsr */{1017,-1,TabMsg,ActSeeRcvMsg ,0x1FE,0x1FE,0x1FE,Act_CONTENT_NORM,Act_MAIN_WINDOW,NULL ,Msg_ListBannedUsrs ,NULL},
/* ActRcvMsgUsr */{ 27,-1,TabMsg,ActReqMsgUsr ,0x1FC,0x1FC,0x1FC,Act_CONTENT_NORM,Act_MAIN_WINDOW,NULL ,Msg_RecMsgFromUsr ,NULL},
/* ActReqDelAllSntMsg*/{ 604,-1,TabMsg,ActSeeSntMsg ,0x1FE,0x1FE,0x1FE,Act_CONTENT_NORM,Act_MAIN_WINDOW,NULL ,Msg_ReqDelAllSntMsgs ,NULL},
/* ActReqDelAllRcvMsg*/{ 593,-1,TabMsg,ActSeeRcvMsg ,0x1FE,0x1FE,0x1FE,Act_CONTENT_NORM,Act_MAIN_WINDOW,NULL ,Msg_ReqDelAllRecMsgs ,NULL},

View File

@ -828,152 +828,152 @@ typedef int Act_Action_t; // Must be a signed type, because -1 is used to indica
#define ActReqMsgUsr (ActRemOldUsr+ 6)
#define ActSeeRcvMsg (ActRemOldUsr+ 7)
#define ActSeeSntMsg (ActRemOldUsr+ 8)
#define ActLstBanUsr (ActRemOldUsr+ 9)
#define ActMaiStd (ActRemOldUsr+ 10)
#define ActMaiStd (ActRemOldUsr+ 9)
// Secondary actions
#define ActWriAnn (ActRemOldUsr+ 11)
#define ActRcvAnn (ActRemOldUsr+ 12)
#define ActRemAnn (ActRemOldUsr+ 13)
#define ActShoNot (ActRemOldUsr+ 14)
#define ActWriNot (ActRemOldUsr+ 15)
#define ActRcvNot (ActRemOldUsr+ 16)
#define ActHidNot (ActRemOldUsr+ 17)
#define ActRevNot (ActRemOldUsr+ 18)
#define ActRemNot (ActRemOldUsr+ 19)
#define ActSeeNewNtf (ActRemOldUsr+ 20)
#define ActMrkNtfSee (ActRemOldUsr+ 21)
#define ActSeeForCrsUsr (ActRemOldUsr+ 22)
#define ActSeeForCrsTch (ActRemOldUsr+ 23)
#define ActSeeForDegUsr (ActRemOldUsr+ 24)
#define ActSeeForDegTch (ActRemOldUsr+ 25)
#define ActSeeForCtrUsr (ActRemOldUsr+ 26)
#define ActSeeForCtrTch (ActRemOldUsr+ 27)
#define ActSeeForInsUsr (ActRemOldUsr+ 28)
#define ActSeeForInsTch (ActRemOldUsr+ 29)
#define ActSeeForGenUsr (ActRemOldUsr+ 30)
#define ActSeeForGenTch (ActRemOldUsr+ 31)
#define ActSeeForSWAUsr (ActRemOldUsr+ 32)
#define ActSeeForSWATch (ActRemOldUsr+ 33)
#define ActSeePstForCrsUsr (ActRemOldUsr+ 34)
#define ActSeePstForCrsTch (ActRemOldUsr+ 35)
#define ActSeePstForDegUsr (ActRemOldUsr+ 36)
#define ActSeePstForDegTch (ActRemOldUsr+ 37)
#define ActSeePstForCtrUsr (ActRemOldUsr+ 38)
#define ActSeePstForCtrTch (ActRemOldUsr+ 39)
#define ActSeePstForInsUsr (ActRemOldUsr+ 40)
#define ActSeePstForInsTch (ActRemOldUsr+ 41)
#define ActSeePstForGenUsr (ActRemOldUsr+ 42)
#define ActSeePstForGenTch (ActRemOldUsr+ 43)
#define ActSeePstForSWAUsr (ActRemOldUsr+ 44)
#define ActSeePstForSWATch (ActRemOldUsr+ 45)
#define ActRcvThrForCrsUsr (ActRemOldUsr+ 46)
#define ActRcvThrForCrsTch (ActRemOldUsr+ 47)
#define ActRcvThrForDegUsr (ActRemOldUsr+ 48)
#define ActRcvThrForDegTch (ActRemOldUsr+ 49)
#define ActRcvThrForCtrUsr (ActRemOldUsr+ 50)
#define ActRcvThrForCtrTch (ActRemOldUsr+ 51)
#define ActRcvThrForInsUsr (ActRemOldUsr+ 52)
#define ActRcvThrForInsTch (ActRemOldUsr+ 53)
#define ActRcvThrForGenUsr (ActRemOldUsr+ 54)
#define ActRcvThrForGenTch (ActRemOldUsr+ 55)
#define ActRcvThrForSWAUsr (ActRemOldUsr+ 56)
#define ActRcvThrForSWATch (ActRemOldUsr+ 57)
#define ActRcvRepForCrsUsr (ActRemOldUsr+ 58)
#define ActRcvRepForCrsTch (ActRemOldUsr+ 59)
#define ActRcvRepForDegUsr (ActRemOldUsr+ 60)
#define ActRcvRepForDegTch (ActRemOldUsr+ 61)
#define ActRcvRepForCtrUsr (ActRemOldUsr+ 62)
#define ActRcvRepForCtrTch (ActRemOldUsr+ 63)
#define ActRcvRepForInsUsr (ActRemOldUsr+ 64)
#define ActRcvRepForInsTch (ActRemOldUsr+ 65)
#define ActRcvRepForGenUsr (ActRemOldUsr+ 66)
#define ActRcvRepForGenTch (ActRemOldUsr+ 67)
#define ActRcvRepForSWAUsr (ActRemOldUsr+ 68)
#define ActRcvRepForSWATch (ActRemOldUsr+ 69)
#define ActReqDelThrCrsUsr (ActRemOldUsr+ 70)
#define ActReqDelThrCrsTch (ActRemOldUsr+ 71)
#define ActReqDelThrDegUsr (ActRemOldUsr+ 72)
#define ActReqDelThrDegTch (ActRemOldUsr+ 73)
#define ActReqDelThrCtrUsr (ActRemOldUsr+ 74)
#define ActReqDelThrCtrTch (ActRemOldUsr+ 75)
#define ActReqDelThrInsUsr (ActRemOldUsr+ 76)
#define ActReqDelThrInsTch (ActRemOldUsr+ 77)
#define ActReqDelThrGenUsr (ActRemOldUsr+ 78)
#define ActReqDelThrGenTch (ActRemOldUsr+ 79)
#define ActReqDelThrSWAUsr (ActRemOldUsr+ 80)
#define ActReqDelThrSWATch (ActRemOldUsr+ 81)
#define ActDelThrForCrsUsr (ActRemOldUsr+ 82)
#define ActDelThrForCrsTch (ActRemOldUsr+ 83)
#define ActDelThrForDegUsr (ActRemOldUsr+ 84)
#define ActDelThrForDegTch (ActRemOldUsr+ 85)
#define ActDelThrForCtrUsr (ActRemOldUsr+ 86)
#define ActDelThrForCtrTch (ActRemOldUsr+ 87)
#define ActDelThrForInsUsr (ActRemOldUsr+ 88)
#define ActDelThrForInsTch (ActRemOldUsr+ 89)
#define ActDelThrForGenUsr (ActRemOldUsr+ 90)
#define ActDelThrForGenTch (ActRemOldUsr+ 91)
#define ActDelThrForSWAUsr (ActRemOldUsr+ 92)
#define ActDelThrForSWATch (ActRemOldUsr+ 93)
#define ActCutThrForCrsUsr (ActRemOldUsr+ 94)
#define ActCutThrForCrsTch (ActRemOldUsr+ 95)
#define ActCutThrForDegUsr (ActRemOldUsr+ 96)
#define ActCutThrForDegTch (ActRemOldUsr+ 97)
#define ActCutThrForCtrUsr (ActRemOldUsr+ 98)
#define ActCutThrForCtrTch (ActRemOldUsr+ 99)
#define ActCutThrForInsUsr (ActRemOldUsr+100)
#define ActCutThrForInsTch (ActRemOldUsr+101)
#define ActCutThrForGenUsr (ActRemOldUsr+102)
#define ActCutThrForGenTch (ActRemOldUsr+103)
#define ActCutThrForSWAUsr (ActRemOldUsr+104)
#define ActCutThrForSWATch (ActRemOldUsr+105)
#define ActPasThrForCrsUsr (ActRemOldUsr+106)
#define ActPasThrForCrsTch (ActRemOldUsr+107)
#define ActPasThrForDegUsr (ActRemOldUsr+108)
#define ActPasThrForDegTch (ActRemOldUsr+109)
#define ActPasThrForCtrUsr (ActRemOldUsr+110)
#define ActPasThrForCtrTch (ActRemOldUsr+111)
#define ActPasThrForInsUsr (ActRemOldUsr+112)
#define ActPasThrForInsTch (ActRemOldUsr+113)
#define ActPasThrForGenUsr (ActRemOldUsr+114)
#define ActPasThrForGenTch (ActRemOldUsr+115)
#define ActPasThrForSWAUsr (ActRemOldUsr+116)
#define ActPasThrForSWATch (ActRemOldUsr+117)
#define ActDelPstForCrsUsr (ActRemOldUsr+118)
#define ActDelPstForCrsTch (ActRemOldUsr+119)
#define ActDelPstForDegUsr (ActRemOldUsr+120)
#define ActDelPstForDegTch (ActRemOldUsr+121)
#define ActDelPstForCtrUsr (ActRemOldUsr+122)
#define ActDelPstForCtrTch (ActRemOldUsr+123)
#define ActDelPstForInsUsr (ActRemOldUsr+124)
#define ActDelPstForInsTch (ActRemOldUsr+125)
#define ActDelPstForGenUsr (ActRemOldUsr+126)
#define ActDelPstForGenTch (ActRemOldUsr+127)
#define ActDelPstForSWAUsr (ActRemOldUsr+128)
#define ActDelPstForSWATch (ActRemOldUsr+129)
#define ActEnbPstForCrsUsr (ActRemOldUsr+130)
#define ActEnbPstForCrsTch (ActRemOldUsr+131)
#define ActEnbPstForDegUsr (ActRemOldUsr+132)
#define ActEnbPstForDegTch (ActRemOldUsr+133)
#define ActEnbPstForCtrUsr (ActRemOldUsr+134)
#define ActEnbPstForCtrTch (ActRemOldUsr+135)
#define ActEnbPstForInsUsr (ActRemOldUsr+136)
#define ActEnbPstForInsTch (ActRemOldUsr+137)
#define ActEnbPstForGenUsr (ActRemOldUsr+138)
#define ActEnbPstForGenTch (ActRemOldUsr+139)
#define ActEnbPstForSWAUsr (ActRemOldUsr+140)
#define ActEnbPstForSWATch (ActRemOldUsr+141)
#define ActDisPstForCrsUsr (ActRemOldUsr+142)
#define ActDisPstForCrsTch (ActRemOldUsr+143)
#define ActDisPstForDegUsr (ActRemOldUsr+144)
#define ActDisPstForDegTch (ActRemOldUsr+145)
#define ActDisPstForCtrUsr (ActRemOldUsr+146)
#define ActDisPstForCtrTch (ActRemOldUsr+147)
#define ActDisPstForInsUsr (ActRemOldUsr+148)
#define ActDisPstForInsTch (ActRemOldUsr+149)
#define ActDisPstForGenUsr (ActRemOldUsr+150)
#define ActDisPstForGenTch (ActRemOldUsr+151)
#define ActDisPstForSWAUsr (ActRemOldUsr+152)
#define ActDisPstForSWATch (ActRemOldUsr+153)
#define ActWriAnn (ActRemOldUsr+ 10)
#define ActRcvAnn (ActRemOldUsr+ 11)
#define ActRemAnn (ActRemOldUsr+ 12)
#define ActShoNot (ActRemOldUsr+ 13)
#define ActWriNot (ActRemOldUsr+ 14)
#define ActRcvNot (ActRemOldUsr+ 15)
#define ActHidNot (ActRemOldUsr+ 16)
#define ActRevNot (ActRemOldUsr+ 17)
#define ActRemNot (ActRemOldUsr+ 18)
#define ActSeeNewNtf (ActRemOldUsr+ 19)
#define ActMrkNtfSee (ActRemOldUsr+ 20)
#define ActSeeForCrsUsr (ActRemOldUsr+ 21)
#define ActSeeForCrsTch (ActRemOldUsr+ 22)
#define ActSeeForDegUsr (ActRemOldUsr+ 23)
#define ActSeeForDegTch (ActRemOldUsr+ 24)
#define ActSeeForCtrUsr (ActRemOldUsr+ 25)
#define ActSeeForCtrTch (ActRemOldUsr+ 26)
#define ActSeeForInsUsr (ActRemOldUsr+ 27)
#define ActSeeForInsTch (ActRemOldUsr+ 28)
#define ActSeeForGenUsr (ActRemOldUsr+ 29)
#define ActSeeForGenTch (ActRemOldUsr+ 30)
#define ActSeeForSWAUsr (ActRemOldUsr+ 31)
#define ActSeeForSWATch (ActRemOldUsr+ 32)
#define ActSeePstForCrsUsr (ActRemOldUsr+ 33)
#define ActSeePstForCrsTch (ActRemOldUsr+ 34)
#define ActSeePstForDegUsr (ActRemOldUsr+ 35)
#define ActSeePstForDegTch (ActRemOldUsr+ 36)
#define ActSeePstForCtrUsr (ActRemOldUsr+ 37)
#define ActSeePstForCtrTch (ActRemOldUsr+ 38)
#define ActSeePstForInsUsr (ActRemOldUsr+ 39)
#define ActSeePstForInsTch (ActRemOldUsr+ 40)
#define ActSeePstForGenUsr (ActRemOldUsr+ 41)
#define ActSeePstForGenTch (ActRemOldUsr+ 42)
#define ActSeePstForSWAUsr (ActRemOldUsr+ 43)
#define ActSeePstForSWATch (ActRemOldUsr+ 44)
#define ActRcvThrForCrsUsr (ActRemOldUsr+ 45)
#define ActRcvThrForCrsTch (ActRemOldUsr+ 46)
#define ActRcvThrForDegUsr (ActRemOldUsr+ 47)
#define ActRcvThrForDegTch (ActRemOldUsr+ 48)
#define ActRcvThrForCtrUsr (ActRemOldUsr+ 49)
#define ActRcvThrForCtrTch (ActRemOldUsr+ 50)
#define ActRcvThrForInsUsr (ActRemOldUsr+ 51)
#define ActRcvThrForInsTch (ActRemOldUsr+ 52)
#define ActRcvThrForGenUsr (ActRemOldUsr+ 53)
#define ActRcvThrForGenTch (ActRemOldUsr+ 54)
#define ActRcvThrForSWAUsr (ActRemOldUsr+ 55)
#define ActRcvThrForSWATch (ActRemOldUsr+ 56)
#define ActRcvRepForCrsUsr (ActRemOldUsr+ 57)
#define ActRcvRepForCrsTch (ActRemOldUsr+ 58)
#define ActRcvRepForDegUsr (ActRemOldUsr+ 59)
#define ActRcvRepForDegTch (ActRemOldUsr+ 60)
#define ActRcvRepForCtrUsr (ActRemOldUsr+ 61)
#define ActRcvRepForCtrTch (ActRemOldUsr+ 62)
#define ActRcvRepForInsUsr (ActRemOldUsr+ 63)
#define ActRcvRepForInsTch (ActRemOldUsr+ 64)
#define ActRcvRepForGenUsr (ActRemOldUsr+ 65)
#define ActRcvRepForGenTch (ActRemOldUsr+ 66)
#define ActRcvRepForSWAUsr (ActRemOldUsr+ 67)
#define ActRcvRepForSWATch (ActRemOldUsr+ 68)
#define ActReqDelThrCrsUsr (ActRemOldUsr+ 69)
#define ActReqDelThrCrsTch (ActRemOldUsr+ 70)
#define ActReqDelThrDegUsr (ActRemOldUsr+ 71)
#define ActReqDelThrDegTch (ActRemOldUsr+ 72)
#define ActReqDelThrCtrUsr (ActRemOldUsr+ 73)
#define ActReqDelThrCtrTch (ActRemOldUsr+ 74)
#define ActReqDelThrInsUsr (ActRemOldUsr+ 75)
#define ActReqDelThrInsTch (ActRemOldUsr+ 76)
#define ActReqDelThrGenUsr (ActRemOldUsr+ 77)
#define ActReqDelThrGenTch (ActRemOldUsr+ 78)
#define ActReqDelThrSWAUsr (ActRemOldUsr+ 79)
#define ActReqDelThrSWATch (ActRemOldUsr+ 80)
#define ActDelThrForCrsUsr (ActRemOldUsr+ 81)
#define ActDelThrForCrsTch (ActRemOldUsr+ 82)
#define ActDelThrForDegUsr (ActRemOldUsr+ 83)
#define ActDelThrForDegTch (ActRemOldUsr+ 84)
#define ActDelThrForCtrUsr (ActRemOldUsr+ 85)
#define ActDelThrForCtrTch (ActRemOldUsr+ 86)
#define ActDelThrForInsUsr (ActRemOldUsr+ 87)
#define ActDelThrForInsTch (ActRemOldUsr+ 88)
#define ActDelThrForGenUsr (ActRemOldUsr+ 89)
#define ActDelThrForGenTch (ActRemOldUsr+ 90)
#define ActDelThrForSWAUsr (ActRemOldUsr+ 91)
#define ActDelThrForSWATch (ActRemOldUsr+ 92)
#define ActCutThrForCrsUsr (ActRemOldUsr+ 93)
#define ActCutThrForCrsTch (ActRemOldUsr+ 94)
#define ActCutThrForDegUsr (ActRemOldUsr+ 95)
#define ActCutThrForDegTch (ActRemOldUsr+ 96)
#define ActCutThrForCtrUsr (ActRemOldUsr+ 97)
#define ActCutThrForCtrTch (ActRemOldUsr+ 98)
#define ActCutThrForInsUsr (ActRemOldUsr+ 99)
#define ActCutThrForInsTch (ActRemOldUsr+100)
#define ActCutThrForGenUsr (ActRemOldUsr+101)
#define ActCutThrForGenTch (ActRemOldUsr+102)
#define ActCutThrForSWAUsr (ActRemOldUsr+103)
#define ActCutThrForSWATch (ActRemOldUsr+104)
#define ActPasThrForCrsUsr (ActRemOldUsr+105)
#define ActPasThrForCrsTch (ActRemOldUsr+106)
#define ActPasThrForDegUsr (ActRemOldUsr+107)
#define ActPasThrForDegTch (ActRemOldUsr+108)
#define ActPasThrForCtrUsr (ActRemOldUsr+109)
#define ActPasThrForCtrTch (ActRemOldUsr+110)
#define ActPasThrForInsUsr (ActRemOldUsr+111)
#define ActPasThrForInsTch (ActRemOldUsr+112)
#define ActPasThrForGenUsr (ActRemOldUsr+113)
#define ActPasThrForGenTch (ActRemOldUsr+114)
#define ActPasThrForSWAUsr (ActRemOldUsr+115)
#define ActPasThrForSWATch (ActRemOldUsr+116)
#define ActDelPstForCrsUsr (ActRemOldUsr+117)
#define ActDelPstForCrsTch (ActRemOldUsr+118)
#define ActDelPstForDegUsr (ActRemOldUsr+119)
#define ActDelPstForDegTch (ActRemOldUsr+120)
#define ActDelPstForCtrUsr (ActRemOldUsr+121)
#define ActDelPstForCtrTch (ActRemOldUsr+122)
#define ActDelPstForInsUsr (ActRemOldUsr+123)
#define ActDelPstForInsTch (ActRemOldUsr+124)
#define ActDelPstForGenUsr (ActRemOldUsr+125)
#define ActDelPstForGenTch (ActRemOldUsr+126)
#define ActDelPstForSWAUsr (ActRemOldUsr+127)
#define ActDelPstForSWATch (ActRemOldUsr+128)
#define ActEnbPstForCrsUsr (ActRemOldUsr+129)
#define ActEnbPstForCrsTch (ActRemOldUsr+130)
#define ActEnbPstForDegUsr (ActRemOldUsr+131)
#define ActEnbPstForDegTch (ActRemOldUsr+132)
#define ActEnbPstForCtrUsr (ActRemOldUsr+133)
#define ActEnbPstForCtrTch (ActRemOldUsr+134)
#define ActEnbPstForInsUsr (ActRemOldUsr+135)
#define ActEnbPstForInsTch (ActRemOldUsr+136)
#define ActEnbPstForGenUsr (ActRemOldUsr+137)
#define ActEnbPstForGenTch (ActRemOldUsr+138)
#define ActEnbPstForSWAUsr (ActRemOldUsr+139)
#define ActEnbPstForSWATch (ActRemOldUsr+140)
#define ActDisPstForCrsUsr (ActRemOldUsr+141)
#define ActDisPstForCrsTch (ActRemOldUsr+142)
#define ActDisPstForDegUsr (ActRemOldUsr+143)
#define ActDisPstForDegTch (ActRemOldUsr+144)
#define ActDisPstForCtrUsr (ActRemOldUsr+145)
#define ActDisPstForCtrTch (ActRemOldUsr+146)
#define ActDisPstForInsUsr (ActRemOldUsr+147)
#define ActDisPstForInsTch (ActRemOldUsr+148)
#define ActDisPstForGenUsr (ActRemOldUsr+149)
#define ActDisPstForGenTch (ActRemOldUsr+150)
#define ActDisPstForSWAUsr (ActRemOldUsr+151)
#define ActDisPstForSWATch (ActRemOldUsr+152)
#define ActLstBanUsr (ActRemOldUsr+153)
#define ActRcvMsgUsr (ActRemOldUsr+154)
#define ActReqDelAllSntMsg (ActRemOldUsr+155)
#define ActReqDelAllRcvMsg (ActRemOldUsr+156)

View File

@ -35,12 +35,12 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 14.38.5 (2014/12/16)"
#define Log_PLATFORM_VERSION "SWAD 14.38.6 (2014/12/17)"
// 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 | tail -1
/*
Version 14.38.6 :Dic 17, 2014 Banned users option is integrated in received messages option. (170776 lines)
Version 14.38.5 :Dic 16, 2014 User's institution option is integrated in record card option. (170819 lines)
Version 14.38.4 :Dic 16, 2014 User's photo option is integrated in record card option. (170941 lines)
Version 14.38.3 :Dic 16, 2014 Lost password option is integrated in session option.

View File

@ -69,6 +69,7 @@ extern struct Act_Actions Act_Actions[Act_NUM_ACTIONS];
static void Msg_PutFormMsgUsrs (const char *Content);
static void Msg_ShowSentOrReceivedMessages (Msg_TypeOfMessages_t TypeOfMessages);
static void Msg_PutLinkToViewBannedUsers(void);
static void Msg_ConstructQueryToSelectSentOrReceivedMsgs (char *Query,Msg_TypeOfMessages_t TypeOfMessages,long UsrCod,
long FilterCrsCod,const char *FilterFromToSubquery);
static void Msg_ShowFormToShowOnlyUnreadMessages (void);
@ -696,26 +697,6 @@ void Msg_RecMsgFromUsr (void)
}
}
/*****************************************************************************/
/********************* Show messages sent to other users *********************/
/*****************************************************************************/
void Msg_ShowSntMsgs (void)
{
/***** Show the sent messages *****/
Msg_ShowSentOrReceivedMessages (Msg_MESSAGES_SENT);
}
/*****************************************************************************/
/******************* Show messages received from other users *****************/
/*****************************************************************************/
void Msg_ShowRecMsgs (void)
{
/***** Show the received messages *****/
Msg_ShowSentOrReceivedMessages (Msg_MESSAGES_RECEIVED);
}
/*****************************************************************************/
/***************** Request deletion of all received messages *****************/
/*****************************************************************************/
@ -1461,6 +1442,31 @@ static unsigned Msg_GetNumUnreadMsgs (long FilterCrsCod,const char *FilterFromTo
return (unsigned) DB_QueryCOUNT (Query,"can not get number of unread messages");
}
/*****************************************************************************/
/********************* Show messages sent to other users *********************/
/*****************************************************************************/
void Msg_ShowSntMsgs (void)
{
/***** Show the sent messages *****/
Msg_ShowSentOrReceivedMessages (Msg_MESSAGES_SENT);
}
/*****************************************************************************/
/******************* Show messages received from other users *****************/
/*****************************************************************************/
void Msg_ShowRecMsgs (void)
{
/***** Link to view banned users *****/
fprintf (Gbl.F.Out,"<div align=\"center\" style=\"margin-bottom:10px;\">");
Msg_PutLinkToViewBannedUsers ();
fprintf (Gbl.F.Out,"</div>");
/***** Show the received messages *****/
Msg_ShowSentOrReceivedMessages (Msg_MESSAGES_RECEIVED);
}
/*****************************************************************************/
/************************ Show sent or received messages *********************/
/*****************************************************************************/
@ -1595,6 +1601,21 @@ static void Msg_ShowSentOrReceivedMessages (Msg_TypeOfMessages_t TypeOfMessages)
DB_FreeMySQLResult (&mysql_res);
}
/*****************************************************************************/
/****************** Put a link (form) to view banned users *******************/
/*****************************************************************************/
static void Msg_PutLinkToViewBannedUsers(void)
{
extern const char *The_ClassFormul[The_NUM_THEMES];
extern const char *Txt_Banned_users;
Act_FormStart (ActLstBanUsr);
Act_LinkFormSubmit (Txt_Banned_users,The_ClassFormul[Gbl.Prefs.Theme]);
Lay_PutSendIcon ("stop",Txt_Banned_users,Txt_Banned_users);
fprintf (Gbl.F.Out,"</form>");
}
/*****************************************************************************/
/********* Generate a query to select messages received or sent **************/
/*****************************************************************************/

View File

@ -62,8 +62,6 @@ void Msg_FormMsgUsrs (void);
void Msg_WriteFormUsrsIDsOrNicksOtherRecipients (bool IsReply);
void Msg_RecMsgFromUsr (void);
void Msg_ShowSntMsgs (void);
void Msg_ShowRecMsgs (void);
void Msg_ReqDelAllRecMsgs (void);
void Msg_ReqDelAllSntMsgs (void);
void Msg_DelAllRecMsgs (void);
@ -85,6 +83,9 @@ long Msg_InsertNewMsg (long CrsCod,long UsrCod,const char *Subject,const char *C
void Msg_DelAllRecAndSntMsgsUsr (long UsrCod);
void Msg_MoveUnusedMsgsContentToDeleted (void);
void Msg_ShowSntMsgs (void);
void Msg_ShowRecMsgs (void);
unsigned Msg_GetNumMsgsSentByTchsCrs (long CrsCod);
unsigned Msg_GetNumMsgsSent (Sco_Scope_t Scope,Msg_Status_t MsgStatus);
unsigned Msg_GetNumMsgsReceived (Sco_Scope_t Scope,Msg_Status_t MsgStatus);

View File

@ -17197,27 +17197,6 @@ const char *Txt_MENU_BR[Act_NUM_TABS][Act_MAX_OPTIONS_IN_MENU_PER_TAB] =
"Wyslana"
#elif L==8
"Enviadas"
#endif
,
// ActLstBanUsr
#if L==0
"Blocats"
#elif L==1
"Verboten"
#elif L==2
"Banned"
#elif L==3
"Bloqueados"
#elif L==4
"Bloqu&eacute;s"
#elif L==5
"Bloqueados" // Okoteve traducción
#elif L==6
"Vietati"
#elif L==7
"Zakazane"
#elif L==8
"Bloqueados"
#endif
,
// ActMaiStd
@ -17251,6 +17230,7 @@ const char *Txt_MENU_BR[Act_NUM_TABS][Act_MAX_OPTIONS_IN_MENU_PER_TAB] =
NULL,
NULL,
NULL,
NULL,
},
{
// TabSta *****************************************************
@ -19131,27 +19111,6 @@ const char *Txt_MENU_NO_BR[Act_NUM_TABS][Act_MAX_OPTIONS_IN_MENU_PER_TAB] =
"Wysylane"
#elif L==8
"Enviadas"
#endif
,
// ActLstBanUsr
#if L==0
"Blocats"
#elif L==1
"Verboten"
#elif L==2
"Banned"
#elif L==3
"Bloqueados"
#elif L==4
"Bloqu&eacute;s"
#elif L==5
"Bloqueados" // Okoteve traducción
#elif L==6
"Vietati"
#elif L==7
"Zakazane"
#elif L==8
"Bloqueados"
#endif
,
// ActMaiStd
@ -19185,6 +19144,7 @@ const char *Txt_MENU_NO_BR[Act_NUM_TABS][Act_MAX_OPTIONS_IN_MENU_PER_TAB] =
NULL,
NULL,
NULL,
NULL,
},
{
// TabSta **********************************************************************
@ -21110,27 +21070,6 @@ const char *Txt_MENU_SUBTITLE[Act_NUM_TABS][Act_MAX_OPTIONS_IN_MENU_PER_TAB] =
"Wiadomo&sacute;ci odebrane"
#elif L==8
"Mensagens enviadas"
#endif
,
// ActLstBanUsr
#if L==0
"Llista d'usuaris que no poden enviar missatges a vost&egrave;"
#elif L==1
"Liste der Benutzer, die keine Nachrichten senden Sie k&ouml;nnen"
#elif L==2
"List of users who can not send messages to you"
#elif L==3
"Lista de usuarios que no pueden enviarle mensajes"
#elif L==4
"Liste d'utilisateurs qui ne peuvent pas envoyer de messages &agrave; vous"
#elif L==5
"Lista de usuarios que no pueden enviarle mensajes"// Okoteve traducción
#elif L==6
"Elenco degli utenti che non possono inviare messaggi a voi"
#elif L==7
"Zakazane nadawc&oacute;w"
#elif L==8
"Lista de usu&aacute;rios que n&atilde;o podem enviar mensagens para voc&ecirc;"
#endif
,
// ActMaiStd
@ -21170,6 +21109,7 @@ const char *Txt_MENU_SUBTITLE[Act_NUM_TABS][Act_MAX_OPTIONS_IN_MENU_PER_TAB] =
NULL,
NULL,
NULL,
NULL,
},
{
// TabSta *****************************************************