Jump to content

Recommended Posts

Posted

Hi,

Today I would like make an little modification to the script : I would like enable PIREP validation only for the other pilots reports (so the validator can't validate his reports).

Is it possible ?

Kind regards,

Gofast

  • Moderators
Posted

Open your admin/templates/pireps_list.tpl and find:

foreach($pireps as $pirep)
{

after that, place this:

if($pirep->pilotid == Auth::$userinfo->pilotid) {
       continue;
   }

Please bare in mind that you will not able to see your own pireps too.

George

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...