diff --git a/blocks/html/cemeteries/addCemeteryForm.inc b/blocks/html/cemeteries/addCemeteryForm.inc
new file mode 100644
index 0000000..08064d1
--- /dev/null
+++ b/blocks/html/cemeteries/addCemeteryForm.inc
@@ -0,0 +1,25 @@
+
+ */
+?>
+
Add Cemetery
+
\ No newline at end of file
diff --git a/blocks/html/cemeteries/cemeteryList.inc b/blocks/html/cemeteries/cemeteryList.inc
new file mode 100644
index 0000000..bd3a9d6
--- /dev/null
+++ b/blocks/html/cemeteries/cemeteryList.inc
@@ -0,0 +1,38 @@
+
+ */
+?>
+
+
+
+ Add
+
+ ";
+ }
+ ?>
+ Cemeteries
+
+
cemeteryList as $cemetery) {
+ $editButton = '';
+ if (userIsAllowed('Cemeteries')) {
+ $url = new URL(BASE_URL.'/cemeteries/updateCemetery.php');
+ $url->cemetery_id = $cemetery->getId();
+ $editButton = "
+
+ Edit
+
+ ";
+ }
+ $name = View::escape($cemetery->getName());
+ echo "$editButton $name ";
+ }
+ ?>
+
+
\ No newline at end of file
diff --git a/blocks/html/cemeteries/updateCemeteryForm.inc b/blocks/html/cemeteries/updateCemeteryForm.inc
new file mode 100644
index 0000000..713dfeb
--- /dev/null
+++ b/blocks/html/cemeteries/updateCemeteryForm.inc
@@ -0,0 +1,28 @@
+
+ * @param Cemetery $this->cemetery
+ */
+?>
+Update Cemetery
+
\ No newline at end of file
diff --git a/blocks/html/deeds/addDeedForm.inc b/blocks/html/deeds/addDeedForm.inc
index 3aafcb9..7572676 100644
--- a/blocks/html/deeds/addDeedForm.inc
+++ b/blocks/html/deeds/addDeedForm.inc
@@ -10,84 +10,60 @@
Deed Info
Submit
diff --git a/blocks/html/deeds/deedList.inc b/blocks/html/deeds/deedList.inc
index 9076c14..fba6417 100644
--- a/blocks/html/deeds/deedList.inc
+++ b/blocks/html/deeds/deedList.inc
@@ -34,7 +34,7 @@
$editButton = '';
if (userIsAllowed('Deeds')) {
$url = new URL(BASE_URL.'/deeds/updateDeed.php');
- $url->id = $deed->getId();
+ $url->deed_id = $deed->getId();
$editButton = "
Edit
@@ -46,13 +46,25 @@
$owner1 = View::escape($deed->getOwner(1));
$owner2 = View::escape($deed->getOwner(2));
$date = $deed->getIssueDate('n/j/Y');
+ $cemetery = $deed->getCemetery() ? View::escape($deed->getCemetery()->getName()) : '';
echo "
$editButton
{$deed->getSection()}, {$deed->getLot()}
-
+ $owner1
+ $owner2
+ $date
+ $cemetery
+
";
}
?>
-
\ No newline at end of file
+
+deedList->getPaginator()) {
+ $pageNavigation = new Block('pageNavigation.inc',
+ array('pages'=>$this->deedList->getPaginator()->getPages()));
+ echo $pageNavigation->render('html');
+ }
+?>
\ No newline at end of file
diff --git a/blocks/html/deeds/findForm.inc b/blocks/html/deeds/findForm.inc
new file mode 100644
index 0000000..f26a170
--- /dev/null
+++ b/blocks/html/deeds/findForm.inc
@@ -0,0 +1,54 @@
+
+ */
+?>
+
\ No newline at end of file
diff --git a/blocks/html/deeds/updateDeedForm.inc b/blocks/html/deeds/updateDeedForm.inc
index 3470484..6c064ef 100644
--- a/blocks/html/deeds/updateDeedForm.inc
+++ b/blocks/html/deeds/updateDeedForm.inc
@@ -3,92 +3,80 @@
* @copyright 2009 City of Bloomington, Indiana
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.txt
* @author Cliff Ingham
+ @param Deed $this->deed
*/
?>
Update Deed