From: Dylan Lloyd Date: Sun, 6 Mar 2011 16:34:04 +0000 (-0500) Subject: Separated #contact_me method to fix CSS issue on index.php X-Git-Url: https://disinclined.org/git/?a=commitdiff_plain;h=6f04d2b1c7461b1c50dd3c9f895baabafc4d6db4;hp=f7025d5e13262ba32a86b04ced7a3ed47cf70f18;p=dylansserver.git Separated #contact_me method to fix CSS issue on index.php --- 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() {