@@ -140,11 +133,13 @@ END_OF_CLOSE;
class index extends cms {
public function display() {
+ $this->scripts = "";
$this->display_head();
$this->display_exhibits();
echo "
";
$this->list_projects();
echo <<
things i've done for others:
@@ -166,7 +161,7 @@ class index extends cms {
- git://dylanstestserver.com
+ "git">git://dylansserver.com
-
some notes:
@@ -282,7 +277,7 @@ class page extends cms {
$datetime_posted = explode(' ', $date_posted[2]);
$day_posted = $datetime_posted[0];
echo "";
- echo "
$year_posted/$month_posted/$day_posted/$title
";
+ echo "
$year_posted/$month_posted/$day_posted/$title
";
echo $entry['text'];
echo "
";
}
@@ -293,7 +288,7 @@ class page extends cms {
private function write_navigation() {
echo "";
- echo "
";
+ echo "";
if($this->page > 1){
$previous_page = $this->page - 1;
echo "prev";
@@ -302,7 +297,7 @@ class page extends cms {
$forward_page = $this->page + 1;
echo " next";
}
- echo "
";
+ echo "";
echo "
";
}
@@ -323,6 +318,11 @@ class note extends cms {
public $number_of_comments;
public function __construct() {
+ if (isset($_GET['comments'])) {
+ $this->scripts = "
+
+ ";
+ }
parent::__construct();
if (isset($_GET['comments'])) {
$this->comments_enabled = true;
@@ -401,7 +401,7 @@ class note extends cms {
private function display_note() {
echo <<
- $this->year_posted/$this->month_posted/$this->day_posted/$this->title
+ $this->year_posted/$this->month_posted/$this->day_posted/$this->title
$this->text
END_OF_NOTE;
@@ -411,14 +411,14 @@ END_OF_NOTE;
echo <<