diff --git a/blocks/html/interments/findForm-skinny.inc b/blocks/html/interments/findForm-skinny.inc new file mode 100644 index 0000000..37eec10 --- /dev/null +++ b/blocks/html/interments/findForm-skinny.inc @@ -0,0 +1,61 @@ + + */ +?> +

Search Burial Records

+
+ + + + + + + + + + + +
+ +
+ +
+
+ +
+
\ No newline at end of file diff --git a/html/interments/home.php b/html/interments/home.php index 9b4a212..a7b29fa 100644 --- a/html/interments/home.php +++ b/html/interments/home.php @@ -20,7 +20,12 @@ $template = isset($_GET['format']) ? new Template('default',$_GET['format']) : n // Only the HTML version will include the findForm, addForm, and the about page. if ($template->outputFormat=='html') { - $template->blocks[] = new Block('interments/findForm.inc'); + if (!count($search)) { + $template->blocks[] = new Block('interments/findForm.inc'); + } + else { + $template->blocks[] = new Block('interments/findForm-skinny.inc'); + } if (userIsAllowed('Interments') && !count($search)) { $return_url = new URL($_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI']);