#204 Only show crosshair if location is enabled

This commit is contained in:
Mike Koch 2015-05-19 22:18:12 -04:00
parent 795419e819
commit 480067381c

View File

@ -870,8 +870,11 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
{ {
$locationText = $hesklang['location_unavailable']; $locationText = $hesklang['location_unavailable'];
} }
echo '<i class="fa fa-crosshairs" data-toggle="tooltip" title="'.$locationText.'"></i>&nbsp;'; if ($modsForHesk_settings['request_location'])
// TODO ADD LOCATION CROSSHAIR {
echo '<i class="fa fa-crosshairs" data-toggle="tooltip" title="'.$locationText.'"></i>&nbsp;';
// TODO ADD LOCATION CROSSHAIR
}
echo $ticket['subject']; echo $ticket['subject'];
?></h3> ?></h3>
</div> </div>