SAV_Brian_CEO Posted September 24, 2011 Report Share Posted September 24, 2011 In Admin side when i installed pilot store i lost my Change Pilot ID button. What the code to get the Change Pilot ID back Thank you Brian Quote Link to comment Share on other sites More sharing options...
Jeff Posted September 24, 2011 Report Share Posted September 24, 2011 <li style="padding: 0; margin: 0;"><a class="menu" href="#"> <img src="<?php echo SITE_URL?>/admin/lib/layout/images/pilots_icon.png" />Pilots & Groups</a> <ul style="padding: 0; margin: 0;"> <?php if(PilotGroups::group_has_perm(Auth::$usergroups, MODERATE_REGISTRATIONS)) { ?> <li><a href="<?php echo adminurl('/pilotadmin/pendingpilots');?>">Pending Registrations</a></li> <?php } if(PilotGroups::group_has_perm(Auth::$usergroups, EDIT_PILOTS)) { ?> <li><a href="<?php echo adminurl('/pilotadmin/viewpilots');?>">View All Pilots</a></li> <?php } if(PilotGroups::group_has_perm(Auth::$usergroups, FULL_ADMIN)) { ?> <li><a href="<?php echo adminurl('/PilotLogins/');?>">View All Pilot Logins</a></li> <?php } if(PilotGroups::group_has_perm(Auth::$usergroups, EDIT_GROUPS)) { ?> <li><a href="<?php echo adminurl('/pilotadmin/pilotgroups');?>">Pilot Groups</a></li> <?php } if(PilotGroups::group_has_perm(Auth::$usergroups, EDIT_RANKS)) { ?> <li><a href="<?php echo adminurl('/pilotranking/pilotranks');?>">Pilot Ranks</a></li> <?php } if(PilotGroups::group_has_perm(Auth::$usergroups, EMAIL_PILOTS)) { ?> <li><a href="<?php echo adminurl('/massmailer'); ?>">Email all Pilots</a></li> <?php } if(PilotGroups::group_has_perm(Auth::$usergroups, EDIT_AWARDS)) { ?> <li><a href="<?php echo adminurl('/pilotranking/awards'); ?>">Awards</a></li> <?php } if(PilotGroups::group_has_perm(Auth::$usergroups, EDIT_TYPERATING)) { ?> <li><a href="<?php echo adminurl('/pilotranking/awards'); ?>">Typerating</a></li> <?php } if(PilotGroups::group_has_perm(Auth::$usergroups, FULL_ADMIN)) { ?> <li><a href="<?php echo adminurl('/maintenance/changepilotid'); ?>">Change a Pilot's ID</a></li> <?php } if(PilotGroups::group_has_perm(Auth::$usergroups, MODERATE_PIREPS)) { ?> <li><a href="<?php echo adminurl('/pilotadmin/viewbids'); ?>">View Bids</a></li> <?php } ?> <li></li> </ul> </li> You're going to use this one: <?php } if(PilotGroups::group_has_perm(Auth::$usergroups, FULL_ADMIN)) { ?> <li><a href="<?php echo adminurl('/maintenance/changepilotid'); ?>">Change a Pilot's ID</a></li> 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.