Beispiel #1
0
 //////////////////////////////////////////////////
 /// @brief Charge les propriétés du composant stockés en base de données
 //////////////////////////////////////////////////
 private void ChargeProprietes(DataTable _composants, string _composantNom)
 {
     MessageEncoding = snippets.ChargeAttribut("MessageEncoding", _composants, _composantNom);
     MessageFrom     = snippets.ChargeAttribut("MessageFrom", _composants, _composantNom);
     MessageSender   = snippets.ChargeAttribut("MessageSender", _composants, _composantNom);
     MessageSubject  = snippets.ChargeAttribut("MessageSubject", _composants, _composantNom);
     MessageTemplate = snippets.ChargeAttribut("MessageTemplate", _composants, _composantNom);
 }
Beispiel #2
0
 //////////////////////////////////////////////////
 /// @brief Charge les propriétés du composant stockés en base de données
 //////////////////////////////////////////////////
 private void ChargeProprietes(DataTable _composants, string _composantNom)
 {
     ServerName     = snippets.ChargeAttribut("ServerName", _composants, _composantNom);
     ServerLogin    = snippets.ChargeAttribut("ServerLogin", _composants, _composantNom);
     ServerPassword = snippets.ChargeAttribut("ServerPassword", _composants, _composantNom);
     ServerPort     = Int32.Parse(snippets.ChargeAttribut("ServerPort", _composants, _composantNom));
     ServerPrivacy  = Convert.ToBoolean(snippets.ChargeAttribut("ServerPrivacy", _composants, _composantNom));
 }
Beispiel #3
0
 //////////////////////////////////////////////////
 /// @brief Desc
 //////////////////////////////////////////////////
 private void ChargeProprietes(DataTable _composants, string _composantNom)
 {
     TransferEmailMessageName    = snippets.ChargeAttribut("TransferEmailMessageName", _composants, _composantNom);
     TransferEmailServerName     = snippets.ChargeAttribut("TransferEmailServerName", _composants, _composantNom);
     TransferRecipientBcc        = snippets.ChargeAttribut("TransferRecipientBcc", _composants, _composantNom);
     TransferRecipientBccDynamic = Convert.ToBoolean(snippets.ChargeAttribut("TransferRecipientBccDynamic", _composants, _composantNom));
     TransferRecipientBccSql     = snippets.ChargeAttribut("TransferRecipientBccSql", _composants, _composantNom);
     TransferRecipientTo         = snippets.ChargeAttribut("TransferRecipientTo", _composants, _composantNom);
     TransferRecipientToDynamic  = Convert.ToBoolean(snippets.ChargeAttribut("TransferRecipientToDynamic", _composants, _composantNom));
     TransferRecipientToSql      = snippets.ChargeAttribut("TransferRecipientToSql", _composants, _composantNom);
 }
Beispiel #4
0
        //////////////////////////////////////////////////
        /// @brief Desc
        //////////////////////////////////////////////////
        public AuthReset(string composantNom, DataTable composants)
        {
            Snippets snippets = new Snippets();

            PasswordAccessErrorText  = snippets.ChargeAttribut("PasswordAccessErrorText", composants, composantNom);
            PasswordButtonText       = snippets.ChargeAttribut("PasswordButtonText", composants, composantNom);
            PasswordEmailTransfer    = snippets.ChargeAttribut("PasswordEmailTransfer", composants, composantNom);
            PasswordIntroductionText = snippets.ChargeAttribut("PasswordIntroductionText", composants, composantNom);
            PasswordJqueryScript     = snippets.ChargeAttribut("PasswordJqueryScript", composants, composantNom);
            PasswordLabel            = snippets.ChargeAttribut("PasswordLabel", composants, composantNom);
            PasswordLabelMatch       = snippets.ChargeAttribut("PasswordLabelMatch", composants, composantNom);
            PasswordNoteResetFailed  = snippets.ChargeAttribut("PasswordNoteResetFailed", composants, composantNom);
            PasswordTargetPage       = snippets.ChargeAttribut("PasswordTargetPage", composants, composantNom);
            PasswordNote1            = snippets.ChargeAttribut("PasswordNote1", composants, composantNom);
            PasswordNote2            = snippets.ChargeAttribut("PasswordNote2", composants, composantNom);
        }
Beispiel #5
0
        //////////////////////////////////////////////////
        /// @brief Desc
        //////////////////////////////////////////////////
        public AuthLogin(string composantNom, DataTable composants)
        {
            Snippets snippets = new Snippets();

            LoginButtonText           = snippets.ChargeAttribut("LoginButtonText", composants, composantNom);
            LoginEmailText            = snippets.ChargeAttribut("LoginEmailText", composants, composantNom);
            LoginNoteLoginFailed      = snippets.ChargeAttribut("LoginNoteLoginFailed", composants, composantNom);
            LoginForgotEmailTransfer1 = snippets.ChargeAttribut("LoginForgotEmailTransfer1", composants, composantNom);
            LoginForgotEmailTransfer2 = snippets.ChargeAttribut("LoginForgotEmailTransfer2", composants, composantNom);
            LoginNotePasswordReset    = snippets.ChargeAttribut("LoginNotePasswordReset", composants, composantNom);
            LoginForgotPage           = snippets.ChargeAttribut("LoginForgotPage", composants, composantNom);
            LoginForgotText           = snippets.ChargeAttribut("LoginForgotText", composants, composantNom);
            LoginHeadText             = snippets.ChargeAttribut("LoginHeadText", composants, composantNom);
            LoginHomepage             = snippets.ChargeAttribut("LoginHomepage", composants, composantNom);
            LoginPasswordText         = snippets.ChargeAttribut("LoginPasswordText", composants, composantNom);
            LoginSSOAccess            = Convert.ToBoolean(snippets.ChargeAttribut("LoginSSOAccess", composants, composantNom));
            LoginSSOApplicationId     = Int32.Parse(snippets.ChargeAttribut("LoginSSOApplicationId", composants, composantNom));
            LoginSSOCallbackPage      = snippets.ChargeAttribut("LoginSSOCallbackPage", composants, composantNom);
            LoginSSOKey          = snippets.ChargeAttribut("LoginSSOKey", composants, composantNom);
            LoginNoteResetFailed = snippets.ChargeAttribut("LoginNoteResetFailed", composants, composantNom);
            LoginJqueryScript    = snippets.ChargeAttribut("LoginJqueryScript", composants, composantNom);
        }