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:
f870b65
)
Fixed validation errors
author
Dylan Lloyd
<dylan@psu.edu>
Sun, 6 Mar 2011 21:52:37 +0000
(16:52 -0500)
committer
Dylan Lloyd
<dylan@psu.edu>
Sun, 6 Mar 2011 21:52:37 +0000
(16:52 -0500)
404.php
patch
|
blob
|
history
index.php
patch
|
blob
|
history
diff --git
a/404.php
b/404.php
index
157d02d
..
1b17517
100644
(file)
--- a/
404.php
+++ b/
404.php
@@
-4,6
+4,7
@@
<head>
<meta name="generator" content=
"HTML Tidy for Linux (vers 25 March 2009), see www.w3.org">
<head>
<meta name="generator" content=
"HTML Tidy for Linux (vers 25 March 2009), see www.w3.org">
+ <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
<title>404: not found</title>
</head>
<title>404: not found</title>
</head>
diff --git
a/index.php
b/index.php
index
700f69a
..
f151a74
100644
(file)
--- a/
index.php
+++ b/
index.php
@@
-63,7
+63,7
@@
abstract class cms {
$scripts = "";
$stylesheets = "<link href=\"/includes/style.css\" rel=\"stylesheet\" type=\"text/css\">";
if (cms::determine_type() == "index") {
$scripts = "";
$stylesheets = "<link href=\"/includes/style.css\" rel=\"stylesheet\" type=\"text/css\">";
if (cms::determine_type() == "index") {
- $scripts = "<script type=\"text/javascript\" src=\"/includes/all.js\">
";
+ $scripts = "<script type=\"text/javascript\" src=\"/includes/all.js\">
</script>";
$home_link = "http://validator.w3.org/unicorn/check?ucn_uri=dylanstestserver.com&ucn_task=conformance#";
}
echo <<<END_OF_HEAD
$home_link = "http://validator.w3.org/unicorn/check?ucn_uri=dylanstestserver.com&ucn_task=conformance#";
}
echo <<<END_OF_HEAD
@@
-80,7
+80,6
@@
abstract class cms {
<link rel="icon" href="favicon.ico" type="image/png">
$stylesheets
$scripts
<link rel="icon" href="favicon.ico" type="image/png">
$stylesheets
$scripts
-</script>
</head>
<body>
</head>
<body>
@@
-123,11
+122,11
@@
END_OF_CLOSE;
class index extends cms {
public function display() {
class index extends cms {
public function display() {
-
$this->display_head();
-
$this->display_exhibits();
-
echo "<ul id=\"portfolio\" style=\"text-align:right\">";
-
$this->list_projects();
-
echo <<<OTHER_PROJECTS
+ $this->display_head();
+ $this->display_exhibits();
+ echo "<ul id=\"portfolio\" style=\"text-align:right\">";
+ $this->list_projects();
+ echo <<<OTHER_PROJECTS
<li>
<h3>things i've done for others:</h3>
</li>
<li>
<h3>things i've done for others:</h3>
</li>
@@
-162,12
+161,14
@@
class index extends cms {
<li>
</li>
OTHER_PROJECTS;
<li>
</li>
OTHER_PROJECTS;
- // Because of the CSS necessary for the animations,
- // the contact link needs to be in #portfolio to clear
- // the floats.
- $this->display_contact();
+ // Because of the CSS necessary for the animations,
+ // the contact link needs to be in #portfolio to clear
+ // the floats.
+ echo "<li>";
+ $this->display_contact();
+ echo "</li>";
echo "</ul>";
echo "</ul>";
-
$this->display_close($show_contact = false);
+ $this->display_close($show_contact = false);
}
protected function display_exhibits() {
}
protected function display_exhibits() {
@@
-181,7
+182,6
@@
OTHER_PROJECTS;
}
private function list_projects() {
}
private function list_projects() {
- echo "<div id=\"exhibit\">";
echo <<<HEREDOC
<li>
<h3>my projects:</h3>
echo <<<HEREDOC
<li>
<h3>my projects:</h3>