root / deleteLocation.php

View | Annotate | Download (2 KB)

# Date Author Comment
6ebba44e 02/18/2010 06:59 PM Cameron Fackler

Update copyright date to 2010

1cb6369e 12/25/2009 11:18 PM Josh Elser

Use single $db object

897d0bb1 12/23/2009 01:25 AM Josh Elser

Update deleteLocation to use library functions

003cadf9 10/23/2009 07:34 PM Josh Elser

Make sure you can't delete locations of inventory on loan/checkout

fd389ac4 09/16/2009 12:17 PM Colin Sullivan

Fixed permissions back to the way they were before I messed them up :)

856037c4 09/16/2009 10:38 AM Colin Sullivan

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).

bd279a60 06/02/2009 01:51 PM Josh Elser

Updated the copyright to be the current year.

3a95c5cb 05/11/2009 05:18 PM Josh Elser

Fixed the rest of the sanitation issues. Did not sanitize input that was cast as an (int), (double), or the like since strings will be turned to zero.

978cad61 05/11/2009 03:20 PM Josh Elser

Don't show pagination links unless it's necessary. Fixed the action cells in manageLocations and added pagination for that page. More sql injection prevention as well.

90a3eeac 03/20/2009 11:13 PM Cameron Fackler

Change database and custom template class includes. HUGE change. If anything breaks, blame Cameron.

1bd7d0a5 03/18/2009 11:22 AM Cameron Fackler

Move auth.php into lib directory, renamed to auth.lib.php. Update require statements.

74121ab3 02/11/2009 01:20 PM Josh Elser

My bad, wrong logical operator.

d8dafac0 02/11/2009 01:19 PM Josh Elser

Put a catch to not allow locations to be deleted that are in use.

285a870b 02/11/2009 11:25 AM Cameron Fackler

Cleaned up formatting. Capitalize SQL keywords. Check authentication before establishing database connection.

3c7cee64 12/02/2008 11:58 PM Cameron Fackler

Changed 'Foobar' to 'RPInventory' in license text, done with git because svn is dumb.

5c4db27d 12/01/2008 12:27 PM Daniel Delaney

Added GPL license to all code files.

f8716de9 11/21/2008 12:38 PM Daniel Delaney

Added location management.