Skip to content

Commit 3f3fd48

Browse files
committed
set php as script type
1 parent 8a5cbb2 commit 3f3fd48

File tree

9 files changed

+10
-10
lines changed

9 files changed

+10
-10
lines changed

src/adminGroups.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,6 @@ function showGroups($con) {
4949
?>
5050
<h3><?php echo $title; ?></h3>
5151
<hr />
52-
<? showGroups($con); ?>
52+
<?php showGroups($con); ?>
5353
<a onclick='downloadAndRefresh("insertRecord.php?insert=true&table=user_types&user_type_name=New Type")' href='javascript:void(0);'>New Type</a><br />
5454
<?php include 'footer.php'; ?>

src/adminUsers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,6 @@ function showUsers($con) {
5252
?>
5353
<h3><?php echo $title; ?></h3>
5454
<hr />
55-
<? showUsers($con); ?>
55+
<?php showUsers($con); ?>
5656
<a onclick='downloadAndRefresh("adminAddUser.php?user_name=New User")' href='javascript:void(0);'>New User</a><br />
5757
<?php include 'footer.php'; ?>

src/editDevices.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,6 @@ function showDevices($con) {
6060
?>
6161
<h3><?php echo $title; ?></h3>
6262
<hr />
63-
<? showDevices($con); ?>
63+
<?php showDevices($con); ?>
6464
<a onclick='downloadAndRefresh("insertRecord.php?insert=true&table=gps_device&gps_device_name=New Device")' href='javascript:void(0);'>New Device</a><br />
6565
<?php include 'footer.php'; ?>

src/editMarkers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,6 @@ function buildSetStatusDropDown($selectedOption, $entryID) {
116116

117117
<h3><?php echo $title; ?></h3>
118118
<hr />
119-
<? showMarkers($con, null); ?>
119+
<?php showMarkers($con, null); ?>
120120
<br />
121121
<?php include 'footer.php' ?>

src/editOwners.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ function showOwners($con) {
7575
?>
7676
<h3><?php echo $title; ?></h3>
7777
<hr />
78-
<? showOwners($con); ?>
78+
<?php showOwners($con); ?>
7979
<a onclick='downloadAndRefresh("insertRecord.php?insert=true&table=gps_owner&gps_owner_name=New Owner")' href='javascript:void(0);'>New Owner</a><br />
8080

8181
<?php include 'footer.php'; ?>

src/editPaths.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,6 @@ function buildSetPathStatusDropDown($selectedOption, $pathID) {
8080
?>
8181
<h3><?php echo $title; ?></h3>
8282
<hr />
83-
<? showPaths($con); ?>
83+
<?php showPaths($con); ?>
8484
<a onclick='downloadAndRefresh("insertRecord.php?insert=true&table=gps_path&gps_path_name=New Path")' href='javascript:void(0);'>New Path</a><br />
8585
<?php include 'footer.php'; ?>

src/editTypes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,6 @@ function showTypes($con) {
5151
?>
5252
<h3><?php echo $title; ?></h3>
5353
<hr />
54-
<? showTypes($con); ?>
54+
<?php showTypes($con); ?>
5555
<a onclick='downloadAndRefresh("insertRecord.php?insert=true&table=gps_type&gps_type_name=New Marker Type")' href='javascript:void(0);'>New Marker Type</a><br />
5656
<?php include 'footer.php'; ?>

src/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@
2424
<a href="editMarkers.php">Edit Markers</a><br />
2525
<a href="editMap.php">Edit Map</a><br />
2626
<hr />
27-
<a href="addGpsEntry.php?key=<?php echo phpGPS_Settings::$_secretKey ?>&newEntry=Y&gps_device_id=1&gps_type_id=1&gps_path_id=1&gps_date_dt=11-13-2014&gps_date_time=22.31&gps_status=&gps_latitude=32.86181604&gps_longitude=-96.76354452&gps_altitude=160.0&gps_accuracy=57&gps_name=test spot&gps_comment=test comment&gps_address1=address 1&gps_address2=address 2&gps_address3=address 3&gps_city=city&gps_zipcode=567567&gps_state=state&gps_country=country">Test Update with Info</a><br />
27+
<a href="addGpsEntry.php?key=<?php echo phpGPS_Settings::$_secretKey ?>&newEntry=Y&gps_device_id=1&gps_type_id=1&gps_path_id=1&gps_date_dt=11-13-2014&gps_date_time=22.31&gps_status=D&gps_latitude=32.86181604&gps_longitude=-96.76354452&gps_altitude=160.0&gps_accuracy=57&gps_name=test spot&gps_comment=test comment&gps_address1=address 1&gps_address2=address 2&gps_address3=address 3&gps_city=city&gps_zipcode=567567&gps_state=state&gps_country=country">Test Update with Info</a><br />
2828
<?php } ?>
2929
<?php include 'footer.php'; ?>

src/view.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,12 @@
6666
};
6767

6868
function load(center, zoom) {
69-
if (center == null || center == undefined) center = new google.maps.LatLng(<? echo $center ?>);
69+
if (center == null || center == undefined) center = new google.maps.LatLng(<?php echo $center ?>);
7070
if (zoom == null || zoom == undefined) zoom = <?php echo $zoom == "" ? phpGPS_Settings::$_defaultZoom : $zoom ?>;
7171
map = new google.maps.Map(document.getElementById("map"), {
7272
center: center,
7373
zoom: zoom,
74-
mapTypeId: '<? echo phpGPS_Settings::$_defaultMapType ?>'
74+
mapTypeId: '<?php echo phpGPS_Settings::$_defaultMapType ?>'
7575
});
7676
var infoWindow = new google.maps.InfoWindow;
7777

0 commit comments

Comments
 (0)