######################## ### MAIL FICHE PERSO ### ######################## ### Email du destinataire ### lib.recipientEmail = CASE lib.recipientEmail { key.data = GP:tx_powermail_pi1|field|quevoulez_vousmodifier ### [PRENOM NOM] responsable affectation ### fonction = TEXT fonction { data = TSFE:fe_user|user|tx_ifsttar_service preUserFunc = Wseils\Wseils\Utility\UserFuncs\FichePerso->user_emailResponsableAff } ### [PRENOM NOM] responsable RH ### affectation = CASE affectation { #data = GP:tx_powermail_pi1|field|site_geographique #preUserFunc = Wseils\Wseils\Utility\UserFuncs\FichePerso->user_nameResponsableRF key.data = GP:tx_powermail_pi1|field|site_geographique LVDA = TEXT LVDA { value = {$site.LVDA.email} } MLV = TEXT MLV { value = {$site.MLV.email} } VS = TEXT VS { value = {$site.VS.email} } NB = TEXT NB { value = {$site.NB.email} } LB = TEXT LB { value = {$site.LB.email} } MSP = TEXT MSP { value = {$site.MSP.email} } } } ### Type de demande (Fonction/Affectation) ### lib.typeChange = CASE lib.typeChange { key.data = GP:tx_powermail_pi1|field|quevoulez_vousmodifier fonction = TEXT fonction { value = de fonction } affectation = TEXT affectation { value = d'affectation } } ### [PRENOM NOM] de l'utilisateur faisant la demande ### lib.userNameDemand = TEXT lib.userNameDemand { value = {TSFE:fe_user|user|first_name} {TSFE:fe_user|user|name} insertData = 1 } ### Lien de prévisualisation de validation ### lib.linkPreviewChange = CASE lib.linkPreviewChange { key.data = GP:tx_powermail_pi1|field|quevoulez_vousmodifier fonction = COA fonction { 10 = TEXT 10 { wrap = rawUrlEncode = 1 stdWrap.typolink { parameter = {$userValidateLDAP} addQueryString = 1 addQueryString.exclude = cHash useCacheHash = 1 additionalParams = &type=fonction&userfirstname={GP:tx_powermail_pi1|field|first_name}&userlastname={GP:tx_powermail_pi1|field|name}&email={GP:tx_powermail_pi1|field|email}&fonction_now={GP:tx_powermail_pi1|field|fonction_hide}&fonction_new={GP:tx_powermail_pi1|field|modifiezvotrefonctionprincipale} additionalParams.insertData = 1 no_cache = 1 returnLast = url forceAbsoluteUrl = 1 forceAbsoluteUrl.scheme = https } } 20 < .10 20.wrap = {$site.domain}?redirect_url=| } affectation = COA affectation { 10 = TEXT 10 { wrap = rawUrlEncode = 1 stdWrap.typolink { parameter = {$userValidateLDAP} addQueryString = 1 addQueryString.exclude = cHash useCacheHash = 1 additionalParams = &type=affectation&userfirstname={GP:tx_powermail_pi1|field|first_name}&userlastname={GP:tx_powermail_pi1|field|name}&email={GP:tx_powermail_pi1|field|email}&affectation_now={GP:tx_powermail_pi1|field|affectation_hide}&site={GP:tx_powermail_pi1|field|site_geographique}&affectation_new={GP:tx_powermail_pi1|field|select_affectation} additionalParams.insertData = 1 no_cache = 1 returnLast = url forceAbsoluteUrl = 1 forceAbsoluteUrl.scheme = https } } 20 < .10 20.wrap = {$site.domain}?redirect_url=| } } ### Message - Page de soumission ### lib.submissionMessage = CASE lib.submissionMessage { key.data = GP:tx_powermail_pi1|field|quevoulez_vousmodifier fonction = TEXT fonction { value = à votre responsable hiérarchique } affectation = TEXT affectation { value = au responsable RH local } } ################################ ### FORMULAIRE DE VALIDATION ### ################################ ### Type de demande (Fonction/Affectation) ### lib.typeDemandLDAP = TEXT lib.typeDemandLDAP { value ( ) insertData = 1 } ### Champ [PRENOM NOM] du l'utilisateur faisant la demande ### lib.userNameLDAP = TEXT lib.userNameLDAP { value ( ) insertData = 1 } ### Champ Email de l'utilisateur faisant la demande ### lib.userEmailLDAP = TEXT lib.userEmailLDAP { value ( ) insertData = 1 } ### Champ Fonction actuelle de l'utilisateur faisant la demande ### lib.functionNowLDAP = CASE lib.functionNowLDAP { key.data = GP:type fonction = TEXT fonction { value ( ) insertData = 1 } } ### Champ Nouvelle fonction de l'utilisateur faisant la demande ### lib.functionNewLDAP = CASE lib.functionNewLDAP { key.data = GP:type fonction = TEXT fonction { value ( ) insertData = 1 } } ### Champ site géographique de l'utilisateur faisant la demande ### lib.siteLDAP = CASE lib.siteLDAP { key.data = GP:type affectation = COA affectation { 10 = TEXT 10 { value ( ) } 20 = CASE 20 { key.data = GP:site LVDA = TEXT LVDA { value ( ) insertData = 1 } MLV = TEXT MLV { value ( ) insertData = 1 } VS = TEXT VS { value ( ) insertData = 1 } NB = TEXT NB { value ( ) insertData = 1 } LB = TEXT LB { value ( ) insertData = 1 } MSP = TEXT MSP { value ( ) insertData = 1 } } } } ### Champ Affectation actuelle de l'utilisateur faisant la demande ### lib.affectationNowLDAP = CASE lib.affectationNowLDAP { key.data = GP:type affectation = TEXT affectation { value ( ) insertData = 1 } } ### Champ Nouvelle Affectation de l'utilisateur faisant la demande ### lib.affectationNewLDAP = CASE lib.affectationNewLDAP { key.data = GP:type affectation = TEXT affectation { value ( ) insertData = 1 } } ####################### ### MAIL VALIDATION ### ####################### ### Type de demande (Fonction/Affectation) ### lib.validateType = CASE lib.validateType { key.data = GP:tx_powermail_pi1|field|type_demand_ldap fonction = TEXT fonction { value = de fonction } affectation = TEXT affectation { value = d'affectation } } ### [PRENOM NOM] de l'utilisateur faisant la demande ### lib.validateUsername = TEXT lib.validateUsername { value = {GP:tx_powermail_pi1|field|name_ldap} insertData = 1 } ### Nouvelle demande (Fonction/Affectation) ### lib.validateNewType = CASE lib.validateNewType { key.data = GP:tx_powermail_pi1|field|type_demand_ldap fonction = TEXT fonction { value = Nouvelle fonction } affectation = TEXT affectation { value = Nouvelle affectation } } ### Nouvelle valeur (Fonction/Affectation) ### lib.validateNewValue = CASE lib.validateNewValue { key.data = GP:tx_powermail_pi1|field|type_demand_ldap fonction = TEXT fonction { value = {GP:tx_powermail_pi1|field|function_new_ldap} insertData = 1 } affectation = TEXT affectation { value = {GP:tx_powermail_pi1|field|affectation_new_ldap} insertData = 1 } }