From 6f04d2b1c7461b1c50dd3c9f895baabafc4d6db4 Mon Sep 17 00:00:00 2001 From: Dylan Lloyd Date: Sun, 6 Mar 2011 11:34:04 -0500 Subject: [PATCH 1/1] Separated #contact_me method to fix CSS issue on index.php --- index.php | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/index.php b/index.php index 0f23b80..29e4076 100644 --- a/index.php +++ b/index.php @@ -93,12 +93,20 @@ abstract class cms { END_OF_HEAD; } - public function display_close(){ - echo <<

dylan

@psu.edu +END_OF_CONTACT; + } + + public function display_close($show_contact = true) { + if ($show_contact) { + $this->display_contact(); + } + echo <<

@@ -151,9 +159,13 @@ class index extends cms {
  • - OTHER_PROJECTS; - $this->display_close(); + // Because of the CSS necessary for the animations, + // the contact link needs to be in #portfolio to clear + // the floats. + $this->display_contact(); + echo ""; + $this->display_close($show_contact = false); } protected function display_exhibits() { -- 2.30.2