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
58f9d7642d
Enable filtering in addcomment.php
2006-07-07 16:22:04 +00:00
Jonathan Ernst
d165070342
Remove unused originator
2006-07-07 16:04:55 +00:00
Chris Morgan
4152e763d5
Fix adding new comments. We were using 'body' instead of 'sBody'
2006-07-06 23:44:52 +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
e3f9e5371a
Use query_parameters() in SQL select, update and delete statements to protect against
...
sql injection attacks
2006-06-27 19:16:27 +00:00
Jonathan Ernst
c138da9766
Html attributes and values are lowercase to be forward compatible with xhtml
2006-06-27 16:54:22 +00:00
Chris Morgan
67550405c3
Make code more consistent by making it follow the appdb coding standards. Fix some spaces vs. tabs odd indenting.
2006-06-21 01:04:12 +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
Jonathan Ernst
b79965941d
Remove duplicated includes to avoid fatal errors
2005-02-09 23:52:49 +00:00
Jonathan Ernst
03c0c145c5
- new Comment class
...
- improved performances (much less duplicated mysql queries)
- less code and better error handling
- informs the whole thread when posting new comment
- fix various bugs
2005-02-02 03:01:29 +00:00
Jonathan Ernst
7ce5895681
- fix notifications
...
- improves notifications
2005-02-02 00:14:01 +00:00
Jonathan Ernst
1200dca8d7
Fix sending mail to people that don't want them
2005-02-01 01:58:09 +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
0a839e359a
- use mail_appdb() instead of mail() for better error handling and to avoid code duplication
...
- use \r\n as line separator in mail (RFC compliant)
2005-01-30 00:57:34 +00:00
Jonathan Ernst
aba584ff93
fix a typo (mesage -> message)
2005-01-19 04:58:12 +00:00
Paul van Schayck
30aeda85d6
Security fixes
2005-01-15 05:59:21 +00:00
Jonathan Ernst
d9826427da
This patch make email address the user's username as requested in the TODO.
...
query_users.php is modified even if we will drop it in the future to be sure it works everywhere.
2005-01-10 22:54:04 +00:00
Francois Gouget
8fab7880b4
Assorted spelling fixes.
...
Small wording tweaks.
Capitalize Wine when referring to the project.
2005-01-10 22:15:44 +00:00
Eric Blade
ffeeaef807
Clean up HTML and PHP, remove extranious checks for loggedin()
2004-12-29 20:21:31 +00:00
Jonathan Ernst
487bcb9264
- addcomment.php uses include/db.php for mysql queries and error handling
...
- deletecomment.php uses include/db.php for mysql queries and error handling
- minor fixes (superglobals, indentation, typos)
2004-12-29 03:42:22 +00:00
Jonathan Ernst
4082220f9c
- when a comment is deleted, one can state the reason why he did this.
...
- the user that made the comment get's an e-mail
2004-12-14 04:30:41 +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
WineHQ
134aca7e3a
Authors: Jonathan Ernst <Jonathan@ernstfamily.ch>, Chris Morgan <cmorgan@alum.wpi.edu>
...
- stop annoymous comments submitions
- code cleanup (more php style than c style + better indentation + comments + replaced globally registered vars)
2004-12-11 04:07:40 +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
Tony Lambregts
e9e177705b
send an email to the original poster if this is a reply.
2004-11-17 23:05:36 +00:00
Chris Morgan
1e06cab9d9
use datetime instead of timestamp
2004-11-17 22:54:30 +00:00
Tony Lambregts
90ac967f43
Set up notify system. Send notify emails for ad and delete Coments
2004-11-09 22:42:12 +00:00
Jeremy Newman
8f28ae10c4
Initial revision
2004-03-15 16:22:00 +00:00