MySQL q's are now prepared. Added includes/cms.php
authorDylan Lloyd <dylan@psu.edu>
Thu, 24 Feb 2011 01:02:10 +0000 (20:02 -0500)
committerDylan Lloyd <dylan@psu.edu>
Thu, 24 Feb 2011 01:11:24 +0000 (20:11 -0500)
commita6fc8a7a21a0063db905737365e9daa149554665
tree077c4fc1bda986835e34b0e1a29461564d9924d9
parent0d5b65dd317eda7cd09d208c634067c4a9acb6fd
MySQL q's are now prepared. Added includes/cms.php

All MySQL queries from $_GET are now prepared. This logic has been placed in `$this->query($sql, $data_types, $dirty_data, $dirty_data...)`.

Projects are now also handled by includes/cms.php.

I still don't feel as though the code is entirely DRY, and the object schema still feels somewhat procedural.

The publish_* scripts need to be updated or gotten rid of for a nice interface.

The date_posted storage needs to be switched to datetime, that was a silly decision to start with.
index.php
notes/index.php
publish.py [deleted file]
publish_notes.py [new file with mode: 0755]