View | Annotate | Download (2.4 KB)
Update, if necessary, the custom fields
Add the customfields for editing inventory items
Update copyright date to 2010
Use one $db object
Make editItem use library functions
Migrate the editItem page and fix the table width
Add a stripslashes function and a function to get an array of objects
Bug fix.
Categories are now working properly.
Progress on categories, categories now show up on front page correctly (when not logged in)
Categories can now be edited through the "Edit Item" page. Still, only one category per item.
Fixed permissions back to the way they were before I messed them up :)
Proper escaping of characters when inserted into database
This was only happening for the '&' character (upon inserting a new business), because the values were being passed along via $_GET over AJAX. I changed it to use $_POST instead, using the jQuery ajax framework (since I don't know how to use the prototype one).
Updated the copyright to be the current year.
Change database and custom template class includes. HUGE change. If anything breaks, blame Cameron.
Move auth.php into lib directory, renamed to auth.lib.php. Update require statements.
Clean up formatting. Check authentication before opening database connection.
Remove config.php require_once from remaining files
Refactor smarty setup, inc/setup.php contains a new Smarty_Inv definition to set directory locations
Changed 'Foobar' to 'RPInventory' in license text, done with git because svn is dumb.
Added GPL license to all code files.
Finished edit page. You can now edit multiple items at once.
Added "Edit Inventory" ability.