disinclined.org
/
git
/
dylansserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f7025d5
)
Separated #contact_me method to fix CSS issue on index.php
author
Dylan Lloyd
<dylan@psu.edu>
Sun, 6 Mar 2011 16:34:04 +0000
(11:34 -0500)
committer
Dylan Lloyd
<dylan@psu.edu>
Sun, 6 Mar 2011 16:34:04 +0000
(11:34 -0500)
index.php
patch
|
blob
|
history
diff --git
a/index.php
b/index.php
index
0f23b80
..
29e4076
100644
(file)
--- a/
index.php
+++ b/
index.php
@@
-93,12
+93,20
@@
abstract class cms {
END_OF_HEAD;
}
END_OF_HEAD;
}
- public function display_c
lose()
{
- echo <<<END_OF_C
LOSE
+ public function display_c
ontact()
{
+ echo <<<END_OF_C
ONTACT
<div id="contact_me"><h1><a href=
"mailto:dylan@psu.edu">dylan</a></h1><a href=
"mailto:dylan@psu.edu">@psu.edu</a>
</div>
<div id="contact_me"><h1><a href=
"mailto:dylan@psu.edu">dylan</a></h1><a href=
"mailto:dylan@psu.edu">@psu.edu</a>
</div>
+END_OF_CONTACT;
+ }
+
+ public function display_close($show_contact = true) {
+ if ($show_contact) {
+ $this->display_contact();
+ }
+ echo <<<END_OF_CLOSE
</div>
<br>
<br>
</div>
<br>
<br>
@@
-151,9
+159,13
@@
class index extends cms {
<li>
</li>
<li>
</li>
- </ul>
OTHER_PROJECTS;
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 "</ul>";
+ $this->display_close($show_contact = false);
}
protected function display_exhibits() {
}
protected function display_exhibits() {