imnemina Posted April 13, 2014 Report Share Posted April 13, 2014 Dear people Each time a pilot entering a PIREP, staff members comes a mail in English saying "A PIREP has-been submitted by ...." Where is the TPL file is to translate this to my language? How is the name of the TPL? Best regards Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted April 13, 2014 Moderators Report Share Posted April 13, 2014 Its in the core>common>PIREPData.class,php Its about line 756 in my file, it looks like this, thats not the whole section. if (Config::Get('EMAIL_SEND_PIREP') === true) { # Send an email to the admin that a PIREP was submitted $sub = "A PIREP has been submitted by {$pilotcode} ({$pirepdata['depicao']} - {$pirepdata['arricao']})"; $message = "A PIREP has been submitted by {$pilotcode} " ."({$pilotinfo->firstname} {$pilotinfo->lastname})\n\n" Quote Link to comment Share on other sites More sharing options...
imnemina Posted April 14, 2014 Author Report Share Posted April 14, 2014 Thank you Mark!!! Quote Link to comment Share on other sites More sharing options...
imnemina Posted April 15, 2014 Author Report Share Posted April 15, 2014 One more question when a pilot enter a PIREP, the mail will reach only the administrator or to all members of staff whit administrator rights? Thanks Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted April 15, 2014 Moderators Report Share Posted April 15, 2014 Only the defined admin email, If you want others to monitor pireps then get them to add the rss feed to their client. yoursiteurl then /lib/rss/latestpireps.rss Quote Link to comment Share on other sites More sharing options...
imnemina Posted April 15, 2014 Author Report Share Posted April 15, 2014 Thank you very much Mark! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.