Skip to content

Commit a24749a

Browse files
committed
Google Maps issue fixed
1 parent 2347542 commit a24749a

File tree

3 files changed

+18
-11
lines changed

3 files changed

+18
-11
lines changed

config/acl.config.php

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@
3333
),
3434
),
3535
'SA' => array(
36+
'Application\\Controller\\Common' => array(
37+
'audit-locations' => 'allow',
38+
),
3639
'Application\\Controller\\Index' => array(
3740
'index' => 'allow',
3841
),
@@ -56,17 +59,21 @@
5659
),
5760
'Application\\Controller\\SpiV3' => array(
5861
'index' => 'allow',
59-
'manage-facility' => 'allow',
6062
'approve-status' => 'allow',
63+
'corrective-action-pdf' => 'allow',
6164
'delete' => 'allow',
62-
'download-pdf' => 'allow',
6365
'edit' => 'allow',
66+
'manage-facility' => 'allow',
67+
'download-pdf' => 'allow',
6468
),
6569
'Application\\Controller\\Users' => array(
6670
'index' => 'allow',
6771
'add' => 'allow',
6872
'edit' => 'allow',
6973
),
74+
'Application\\Controller\\SpiV3Reports' => array(
75+
'facility-report' => 'allow',
76+
),
7077
),
7178
'US' => array(
7279
'Application\\Controller\\Index' => array(

module/Application/view/application/index/audit-locations.phtml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919

2020
?>
2121
{
22-
lat: <?php echo $row['Latitude'] ?>,
23-
lon: <?php echo $row['Longitude'] ?>,
24-
title: '<?php echo addslashes($row['facilityname']); ?>',
22+
lat: "<?php echo $row['Latitude'] ?>",
23+
lon: "<?php echo $row['Longitude'] ?>",
24+
title: "<?php echo addslashes($row['facilityname']); ?>",
2525
animation: google.maps.Animation.DROP,
26-
icon : '<?php echo $icon; ?>'
26+
icon : "<?php echo $icon; ?>"
2727
},
2828
<?php }
2929
}?>

module/Application/view/application/spi-v3/audit-locations.phtml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@
1919

2020
?>
2121
{
22-
lat: <?php echo $row['Latitude'] ?>,
23-
lon: <?php echo $row['Longitude'] ?>,
24-
title: '<?php echo addslashes($row['facilityname']); ?>',
25-
html: '<strong><?php echo addslashes($row['facilityname']); ?></strong>',
22+
lat: "<?php echo $row['Latitude'] ?>",
23+
lon: "<?php echo $row['Longitude'] ?>",
24+
title: "<?php echo addslashes($row['facilityname']); ?>",
25+
html: "<strong><?php echo addslashes($row['facilityname']); ?></strong>",
2626
animation: google.maps.Animation.DROP,
27-
icon : '<?php echo $icon; ?>'
27+
icon : "<?php echo $icon; ?>"
2828
},
2929
<?php }
3030
}?>

0 commit comments

Comments
 (0)