imnemina Posted April 13, 2014 Report 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
Moderators mark1million Posted April 13, 2014 Moderators Report 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
imnemina Posted April 15, 2014 Author Report 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
Moderators mark1million Posted April 15, 2014 Moderators Report 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
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.