Fixed the map titles on IE.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@843 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
@@ -6,6 +6,19 @@
|
||||
{// for indentation purposes
|
||||
// Go through each unit, adding a clickable region for the unit
|
||||
foreach ($info['units'] AS $unit){
|
||||
$title = ('Unit #' .
|
||||
$unit['name'] .
|
||||
(empty($unit['data']['CurrentLease']['id'])
|
||||
? ''
|
||||
: ('; ' .
|
||||
/* 'Lease #' . */
|
||||
/* $unit['data']['CurrentLease']['id'] . */
|
||||
/* '; ' . */
|
||||
$unit['data']['Customer']['name'] .
|
||||
'; Paid Through ' .
|
||||
$unit['data']['CurrentLease']['paid_through_date'])
|
||||
));
|
||||
|
||||
echo(' <area shape="rect"' .
|
||||
' coords="' .
|
||||
$unit['left'] . ',' .
|
||||
@@ -16,20 +29,8 @@
|
||||
$html->url(array('controller' => 'units',
|
||||
'action' => 'view',
|
||||
$unit['id'])) .
|
||||
'" alt="Unit #' .
|
||||
$unit['name'] .
|
||||
'" title="Unit #' .
|
||||
$unit['name'] .
|
||||
(empty($unit['data']['CurrentLease']['id'])
|
||||
? ''
|
||||
: ('; ' .
|
||||
/* 'Lease #' . */
|
||||
/* $unit['data']['CurrentLease']['id'] . */
|
||||
/* '; ' . */
|
||||
$unit['data']['Customer']['name'] .
|
||||
'; Paid Through ' .
|
||||
$unit['data']['CurrentLease']['paid_through_date'])
|
||||
) .
|
||||
'" alt="' . $title .
|
||||
'" title="' . $title .
|
||||
'">' . "\n");
|
||||
}
|
||||
}// for indentation purposes
|
||||
|
||||
Reference in New Issue
Block a user