Skip to content
This repository was archived by the owner on Dec 6, 2019. It is now read-only.

Commit de3e902

Browse files
committed
refs #71 Added die() line to admin template files
1 parent 5857779 commit de3e902

File tree

99 files changed

+104
-5
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

99 files changed

+104
-5
lines changed

Diff for: admin/templates/awards_allawards.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3>Awards</h3>
23
<?php
34
if(!$awards){ echo 'No awards have been added yet!'; return;}

Diff for: admin/templates/awards_awardform.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3><?php echo $title?></h3>
23
<form id="form" action="<?php echo SITE_URL?>/admin/action.php/pilotranking/awards" method="post">
34
<dl>

Diff for: admin/templates/core_about.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3>About phpVMS</h3>
23
<p>phpVMS and the Codon framework are developed by <a href="http://www.nsslive.net" target="_new">Nabeel Shahzad</a>.</p>
34
<ul>

Diff for: admin/templates/core_error.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<div class="ui-widget" style="margin: 4px 0 4px 0">
23
<div style="padding: 0pt 0.7em;" class="ui-state-error ui-corner-all">
34
<p><span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-alert"></span>

Diff for: admin/templates/core_footer.php

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>

Diff for: admin/templates/core_htmlhead.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<script type="text/javascript">
23
var baseurl="<?php echo SITE_URL;?>";
34
var geourl="<?php echo Config::Get('GEONAME_API_SERVER'); ?>";

Diff for: admin/templates/core_htmlreq.php

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<div class="jqmWindow" id="jqmdialog"></div>

Diff for: admin/templates/core_message.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<div id="messagebox">
23
<?php echo $message;?>
34
</div>

Diff for: admin/templates/core_navigation.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<?php
23

34
if(PilotGroups::group_has_perm(Auth::$usergroups, EDIT_NEWS)

Diff for: admin/templates/core_sidebar.php

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<div id="sidecolumn"><?php echo $sidebar;?></div>

Diff for: admin/templates/core_success.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<?php
23
echo '<div id="success" class="messagebar" style="float: right; margin-top: 30px;">'.$message.'</div>';
34
?>

Diff for: admin/templates/dashboard.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3>VA Stats:</h3>
23
<table width="100%">
34
<tr>

Diff for: admin/templates/diff_showdiff.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3>File Diffs</h3>
23

34
<p>This is the diff between the two files. Red means deleted. Green means changed. Lines with diffs will show - the top line the stock template (in /core/templates), the one below in the current active skin. You can use this to get an approximate of what is different. </p>

Diff for: admin/templates/downloads_categoryform.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3><?php echo $title?></h3>
23
<form id="form" method="post" action="<?php echo adminaction('/downloads/overview'); ?>">
34
<dl>

Diff for: admin/templates/downloads_downloadform.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3><?php echo $title?></h3>
23
<form id="form" method="post" action="<?php echo adminaction('/downloads/overview');?>">
34
<dl>

Diff for: admin/templates/downloads_overview.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3>Downloads</h3>
23
<?php
34
if(!$allcategories)

Diff for: admin/templates/email_commentadded.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
Dear <?php echo $firstname. ' ' .$lastname?>,
23

34
A comment has been added to your flight report.

Diff for: admin/templates/export_form.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3>Export Schedules</h3>
23
<p>This allows you mass export your schedules, and then reimport them with all your modifications.</p>
34
<p><a class="button" href="<?php echo adminaction('/import/processexport');?>">Click to export</a></p>

Diff for: admin/templates/finance_balancesheet.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3><?php echo $title?></h3>
23
<?php
34
Template::Show('finance_header.tpl');

Diff for: admin/templates/finance_expenseform.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3><?php echo $title;?></h3>
23
<form id="form" action="<?php echo adminaction('/finance/viewexpenses');?>" method="post">
34
<dl>

Diff for: admin/templates/finance_expenselist.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3>Current Expenses</h3>
23
<?php
34
if(!$allexpenses)

Diff for: admin/templates/finance_header.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<div style="float: right;">
23
<table width="100%">
34
<tr>

Diff for: admin/templates/finance_summarysheet.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<?php
23
/*
34
* DO NOT EDIT THIS TEMPLATE UNLESS:

Diff for: admin/templates/groups_groupform.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3><?php echo $title; ?></h3>
23
<form id="dialogform" action="<?php echo adminaction('/pilotadmin/pilotgroups');?>" method="post">
34

Diff for: admin/templates/groups_grouplist.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3>User Groups</h3>
23
<?php
34
if(!$allgroups) {

Diff for: admin/templates/import_aircraftform.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3>Aircraft Import</h3>
23
<form enctype="multipart/form-data" action="<?php echo adminurl('/import/importaircraft');?>" method="post">
34
Choose your import file (*.csv): <br />

Diff for: admin/templates/import_form.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3>CSV Import</h3>
23
<p><strong>Instructions</strong> - You can import your flight plans from CSV. You can download
34
a template CSV from <a href="<?php echo SITE_URL ?>/admin/lib/template.csv">here</a>. The following

Diff for: admin/templates/logs_index.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3>Admin Activity Logs</h3>
23

34
<?php

Diff for: admin/templates/mailer_form.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3>Mass Mailer</h3>
23
<form method="post" action="<?php echo adminurl('/massmailer/sendmail');?>">
34
<p>

Diff for: admin/templates/maintenance_changepilotid.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<p><b>NOTE:</b> Be VERY cautioned when changing a pilot ID. Even though this is 'controlled', problems can still occur. If you change the pilot ID to a number which is HIGHER than the highest pilot ID, all new registered pilots will have an ID starting after that. This WILL change their login ID. <b>This user cannot be logged in while doing the change.</b></p>
23
<p>The PILOT ID is shown in the following format below:<br />
34
<pre>FORMATTED_PILOT_ID - DATABASE_ID - NAME</pre>

Diff for: admin/templates/maintenance_options.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3>Maintenance Options</h3>
23

34
<table class="tablesorter">

Diff for: admin/templates/news_additem.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3><?php echo $title?></h3>
23

34
<form action="<?php echo adminurl('/sitecms/viewnews');?>" method="post">

Diff for: admin/templates/news_list.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3>Posted News</h3>
23
<?php
34
if(!$allnews) {

Diff for: admin/templates/ops_aircraftform.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3><?php echo $title;?></h3>
23
<p>* Denotes required fields</p>
34
<form action="<?php echo adminurl('/operations/aircraft');?>" method="post">

Diff for: admin/templates/ops_aircraftlist.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3>Aircraft List</h3>
23
<p>These are all the aircraft that your airline operates.</p>
34
<?php

Diff for: admin/templates/ops_airlineform.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3><?php echo $title;?></h3>
23
<form id="form" action="<?php echo adminaction('/operations/airlines');?>" method="post">
34
<dl>

Diff for: admin/templates/ops_airlineslist.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3>Airlines List</h3>
23
<?php
34
if(!$allairlines)

Diff for: admin/templates/ops_airportform.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3><?php echo $title?></h3>
23
<form id="flashForm" action="<?php echo adminaction('/operations/airports');?>" method="post">
34
<dl>

Diff for: admin/templates/ops_airportlist.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3>Airports List</h3>
23
<div id="results"></div>
34
<table id="grid"></table>

Diff for: admin/templates/ops_scheduleform.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<div id="wrapper">
23
<h3><?php echo $title?></h3>
34
<form action="<?php echo adminurl('/operations/schedules');?>" method="post">

Diff for: admin/templates/ops_schedules.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3><?php echo $title?></h3>
23

34
<table id="grid"></table>

Diff for: admin/templates/pages_allpages.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3>All Pages</h3>
23
<?php
34
if(!$allpages)

Diff for: admin/templates/pages_editpage.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3>Edit Page</h3>
23
<form action="<?php echo adminurl('/sitecms/viewpages');?>" method="post">
34

Diff for: admin/templates/pilots_addawards.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3>Give Award</h3>
23
<?php
34
$allawards = AwardsData::GetAllAwards();

Diff for: admin/templates/pilots_addtogroup.php

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>

Diff for: admin/templates/pilots_awards.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<div id="awardslist">
23
<h3>Pilot Awards</h3>
34
<?php

Diff for: admin/templates/pilots_details.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<form id="dialogform" action="<?php echo adminaction('/pilotadmin/viewpilots');?>" method="post">
23
<table id="tabledlist" class="tablesorter" style="float: left">
34
<thead>

Diff for: admin/templates/pilots_detailtabs.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<div id="wrapper">
23
<h3><?php echo $pilotinfo->firstname . ' ' . $pilotinfo->lastname; ?></h3>
34
<div id="dialogresult"></div>

Diff for: admin/templates/pilots_groups.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<?php
23
if(!$pilotgroups) {
34
echo '<br />This user is not in any groups!<br /><br />';

Diff for: admin/templates/pilots_list.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3>Pilots List</h3>
23

34
<table id="grid"></table>

Diff for: admin/templates/pilots_options.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<?php
23
if(PilotGroups::group_has_perm(Auth::$usergroups, FULL_ADMIN)) {
34
$pilotid = $_GET['pilotid'];

Diff for: admin/templates/pilots_pending.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3>Pending Pilots</h3>
23
<?php
34
if(!$allpilots) {

Diff for: admin/templates/pilots_viewallbids.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3>Current Open Bids</h3>
23
<?php /*echo '<pre>'; print_r($allbids); echo '</pre>';*/
34
if(!$allbids)

Diff for: admin/templates/pirep_addcomment.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3>Add Comment</h3>
23
<p>This comment will be emailed to the submitter of the PIREP. You can ask for specifics on the report, and get an answer, prior to accepting or rejecting the report.</p>
34
<form id="flashForm" action="<?php echo SITE_URL?>/admin/action.php/pirepadmin/addcomment" method="post">

Diff for: admin/templates/pirep_edit.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3>Edit a flight report</h3>
23
<?php
34
if(isset($message))

Diff for: admin/templates/pirep_log.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h2>Log for <?php echo $report->code.$report->pirepid?></h2>
23
<div style="overflow: scroll; height: 300px">
34
<?php

Diff for: admin/templates/pirep_reject.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3>Reject PIREP</h3>
23
<p>Please enter a comment for why you are rejecting this report. It'll be entered in the comments for the report. You do have the option later on to accept this report.</p>
34
<form id="form" action="<?php echo SITE_URL?>/admin/action.php/pirepadmin/viewpending" method="post">

Diff for: admin/templates/pirepadmin_approved.php

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
<h2>PIREP Approved</h2>
2-
3-
PIREP #<?php echo $pirep->pirepid;?> has been approved<br />
4-
Flight #<?php echo $pirep->code.$pirep->flightnum?> (<?php echo $pirep->depicao.' to '.$pirep->arricao?>)
5-
<br /><br />
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
2+
<h2>PIREP Approved</h2>
3+
4+
PIREP #<?php echo $pirep->pirepid;?> has been approved<br />
5+
Flight #<?php echo $pirep->code.$pirep->flightnum?> (<?php echo $pirep->depicao.' to '.$pirep->arricao?>)
6+
<br /><br />
67
<a href="<?php echo adminurl('/pirepadmin/viewpending');?>">Click to go to the pending PIREPS page</a>

Diff for: admin/templates/pireps_comments.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<?php
23
if(!$comments)
34
{

Diff for: admin/templates/pireps_filter.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<form action="<?php echo SITE_URL.'/admin/index.php/pirepadmin/viewall';?>" method="get">
23
<strong>Filter schedules: </strong>
34
<input type="text" name="query" value="<?php if($_GET['query']) { echo $_GET['query'];} else { echo '(Use % for wildcard)';}?>" onClick="this.value='';" />

Diff for: admin/templates/pireps_list.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<div id="pireplist">
23
<?php if($title!='') echo "<h3>$title</h3>"; ?>
34
<p><?php if(isset($descrip)) { echo $descrip; }?></p>

Diff for: admin/templates/ranks_allranks.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3>Pilot Ranks</h3>
23
<table id="tabledlist" class="tablesorter">
34
<thead>

Diff for: admin/templates/ranks_rankform.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3><?php echo $title?></h3>
23
<form id="form" action="<?php echo SITE_URL?>/admin/action.php/pilotranking/pilotranks" method="post">
34
<dl>

Diff for: admin/templates/reports_aircraft.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3>Aircraft Reports</h3>
23
<?php
34
if(!is_array($acstats))

Diff for: admin/templates/reports_main.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3>Reports</h3>
23

34
<h4>VA Stats: At a Glance</h4>

Diff for: admin/templates/route_map.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3>Route Map</h3>
23
<div class="mapcenter" align="center">
34
<div id="routemap" style="width:600px; height: 480px"></div>

Diff for: admin/templates/settings_addcustomfield.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3><?php echo $title ?></h3>
23
<p>Add a custom field, that a registrar can fill out on registration, or an admin can add information to.</p>
34
<form id="form" method="post" action="<?php echo SITE_URL?>/admin/action.php/settings/customfields">

Diff for: admin/templates/settings_addpirepfield.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3><?php echo $title ?></h3>
23
<p>Add a custom PIREP field, which a pilot can enter information to when filing a PIREP.</p>
34
<form id="form" method="post" action="<?php echo SITE_URL?>/admin/action.php/settings/pirepfields">

Diff for: admin/templates/settings_addsetting.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3>Add Setting</h3>
23
<form id="form" action="<?php echo SITE_URL?>/admin/action.php/settings/settings" method="post">
34
<p>Name's are converted to upper case. Values of "true" or "false" are converted to boolean, and the setting above will have "Enabled" or "Disabled" as options</p>

Diff for: admin/templates/settings_customfieldsform.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3>Custom Fields</h3>
23
<?php
34
if(!$allfields)

Diff for: admin/templates/settings_mainform.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3>Site Settings</h3>
23
<p>Select available site options from this page. Don't forget to save!</p>
34
<form id="form" method="post" action="<?php echo SITE_URL?>/admin/action.php/settings/settings">

Diff for: admin/templates/settings_pirepfieldsform.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3>Custom PIREP Fields</h3>
23
<?php
34
if(!$allfields)

Diff for: admin/templates/sidebar_addpage.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3>Tasks</h3>
23
<ul class="filetree treeview-famfamfam">
34
<li><span class="file">

Diff for: admin/templates/sidebar_aircraft.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3>Tasks</h3>
23
<ul class="filetree treeview-famfamfam">
34
<li><span class="file">

Diff for: admin/templates/sidebar_airlines.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3>Tasks</h3>
23
<ul class="filetree treeview-famfamfam">
34
<li><span class="file">

Diff for: admin/templates/sidebar_airports.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3>Tasks</h3>
23
<ul class="filetree treeview-famfamfam">
34
<li><span class="file">

Diff for: admin/templates/sidebar_awards.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3>Tasks</h3>
23
<ul class="filetree treeview-famfamfam">
34
<li><span class="file">

Diff for: admin/templates/sidebar_central.php

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>

Diff for: admin/templates/sidebar_customfields.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?>
12
<h3>Tasks</h3>
23
<ul class="filetree treeview-famfamfam">
34
<li><span class="file">

0 commit comments

Comments
 (0)