disinclined.org
/
git
/
dylansserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
class archive pages now from view/archive.php
[dylansserver.git]
/
cms.php
diff --git
a/cms.php
b/cms.php
index
00a8d7c
..
845eda9
100644
(file)
--- a/
cms.php
+++ b/
cms.php
@@
-583,7
+583,10
@@
class archive extends cms {
}
public function display() {
}
public function display() {
- $this->display_head();
+ require_once("view/archive.php");
+ }
+
+ public function display_notes() {
switch (true) {
case (isset($_GET['year']) && !isset($_GET['month'])
&& !isset($_GET['day'])):
switch (true) {
case (isset($_GET['year']) && !isset($_GET['month'])
&& !isset($_GET['day'])):
@@
-632,20
+635,11
@@
class archive extends cms {
echo "</div>";
}
echo "</div>";
echo "</div>";
}
echo "</div>";
- $this->write_navigation();
} else {
echo "<br>";
echo "<h1>sorry, nothing here</h2>";
echo "<pre>Empty set (0.00 sec)</pre>";
}
} else {
echo "<br>";
echo "<h1>sorry, nothing here</h2>";
echo "<pre>Empty set (0.00 sec)</pre>";
}
- $this->display_close();
- }
-
- private function write_navigation() {
- echo "<br>";
- echo "<div id='navigation'>";
- // fill me in!
- echo "</div>";
}
}
}
}