Chris Morgan
854df987c6
Clean up includes. Make 'path.php' and 'incl.php' required includes. Switch to using
...
require_once() for including files in /include so we can have include/*.php files include
their own dependencies rather than figuring out that to include A.php we need to include B.php
2006-07-07 18:14:53 +00:00
Jonathan Ernst
7bb4c3db4e
Enable filtering in appbrowse.php
2006-07-07 16:23:42 +00:00
Jonathan Ernst
3096e63828
Rename util_show_error_page() to util_show_error_page_and_exit() and redirect() to util_redirect_and_exit()
...
so it is explicit that we exit in those functions that so we know it isn't necessary to put an exit after
we call them
2006-07-06 18:44:56 +00:00
Jonathan Ernst
a34058b924
Update the comments in some files
2006-07-06 18:37:34 +00:00
Jonathan Ernst
54c484de8c
Remove unnecessary exit calls after redirect() and util_show_error_page() calls
2006-07-06 17:59:52 +00:00
Jonathan Ernst
735a2bc65f
Prefix all GPC variables according to our coding standard
2006-07-06 17:27:54 +00:00
Jonathan Ernst
6d019b918a
Rename errorpage() to util_show_error_page() and move util_show_error_page() into include/util.php
2006-06-29 16:13:35 +00:00
Chris Morgan
034ea689bc
Clean up application and version classes. Move class related functions into the class as static member functions
2006-06-29 16:07:19 +00:00
Chris Morgan
baa92fba38
Retrieve iCatId from $_REQUEST(), we can't use $aClean[] because it isn't in scope.
...
Fixes editing categories
2006-06-24 03:05:16 +00:00
EA Durbin
f982c8459e
Filter all user input to reduce the security impact of manipulated data
2006-06-17 06:10:10 +00:00
Chris Morgan
cdc1c129bd
Recursively compute application counts for categories so the correct number of applications is
...
displayed.
2005-05-11 02:26:11 +00:00
Jonathan Ernst
faf301fed1
- improve existing category class
...
- use category class in category admin and appbrowse
=> fix adding a category which was broken
=> fix deleting a category which was broken
=> fix editing a category which was broken
2005-02-09 02:20:21 +00:00
Jonathan Ernst
2083bf521b
- OO version of user class
...
- no more duplicated functions
- improved performances (much less duplicated mysql queries)
- less code and better error handling
2005-01-30 23:12:48 +00:00
Jonathan Ernst
dfec5cb9b0
Replaced mysql_query() with query_appdb()
2005-01-10 22:24:15 +00:00
Eric Blade
ffeeaef807
Clean up HTML and PHP, remove extranious checks for loggedin()
2004-12-29 20:21:31 +00:00
Paul van Schayck
9412e9aaec
Indentation cleanup, remove unused line.
2004-12-29 18:40:54 +00:00
Jonathan Ernst
ca749d32d9
make use of the new constants of the config file for db connection and base path
2004-12-23 01:12:03 +00:00
Jonathan Ernst
d3d9e853d9
- replaced tons of tabs with spaces
...
- replaced <? with <?php for compatibility sake (see TODO and CODING_STANDARD to know more)
- improved overall code lisibility
2004-12-12 03:51:51 +00:00
Jonathan Ernst
bd91db228c
- access most globals by their $_XYZ['varname'] name
...
- fix some code errors and typos (missing $ in front of variable names
and so on)
- fixed a lot of warnings that would have been thrown when error_reporting
is set to show notices (if(isset($variable))) instead of if($variable) for
example)
2004-12-10 01:07:45 +00:00
Jeremy Newman
1c7384ae38
Get the IDs from $_REQUEST and check if they are numeric.
2004-03-15 20:39:12 +00:00
Jeremy Newman
8f28ae10c4
Initial revision
2004-03-15 16:22:00 +00:00