@@ -140,6 +135,7 @@ END_OF_CLOSE;
class index extends cms {
public function display() {
+ $this->scripts = "";
$this->display_head();
$this->display_exhibits();
echo "
+END_NOTE;
}
echo "";
$this->write_navigation();
@@ -324,6 +325,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;
@@ -410,7 +416,7 @@ END_OF_NOTE;
private function write_navigation() {
echo <<