Added the middle initial display to the Interment list

git-svn-id: https://rosehill.googlecode.com/svn/trunk@52 100bd78a-fc82-11de-b5bc-ffd2847a4b57
This commit is contained in:
inghamn 2010-01-26 18:42:12 +00:00
parent 0e04676298
commit 2db2e54062
1 changed files with 3 additions and 0 deletions

View File

@ -34,6 +34,7 @@ $return_url = $url->__toString();
echo "<a href=\"$url\" class=\"sorting\">Last Name</a>"; echo "<a href=\"$url\" class=\"sorting\">Last Name</a>";
?> ?>
</th> </th>
<th>M</th>
<th><?php <th><?php
$url->sort = $previousSort=='firstname' ? 'firstname desc' : 'firstname'; $url->sort = $previousSort=='firstname' ? 'firstname desc' : 'firstname';
echo "<a href=\"$url\" class=\"sorting\">First Name</a>"; echo "<a href=\"$url\" class=\"sorting\">First Name</a>";
@ -63,6 +64,7 @@ $return_url = $url->__toString();
"; ";
} }
$last = View::escape($interment->getLastname()); $last = View::escape($interment->getLastname());
$middle = View::escape($interment->getMiddleInitial());
$first = View::escape($interment->getFirstname()); $first = View::escape($interment->getFirstname());
$date = $interment->getDeceasedDate('n/j/Y'); $date = $interment->getDeceasedDate('n/j/Y');
$cemetery = View::escape($interment->getCemetery()); $cemetery = View::escape($interment->getCemetery());
@ -79,6 +81,7 @@ $return_url = $url->__toString();
echo " echo "
<tr><td>$editButton</td> <tr><td>$editButton</td>
<td><a href=\"{$interment->getURL()}\">$last</a></td> <td><a href=\"{$interment->getURL()}\">$last</a></td>
<td>$middle</td>
<td>$first</td> <td>$first</td>
<td>$date</td> <td>$date</td>
<td>$cemetery</td> <td>$cemetery</td>