Commit Graph

32 Commits

Author SHA1 Message Date
Alexander Nicolaysen Sørnes
89535dbe01 Use objectMakeLink()/Url() in more places 2007-04-03 02:08:44 +00:00
Chris Morgan
a1a41d6b87 Fix and enable input filtering through include/filter.php 2007-01-04 02:35:01 +00:00
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
e28e2d66fd Enable filtering in commentview.php and deletecomment.php 2006-07-07 17:16: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
Jonathan Ernst
c138da9766 Html attributes and values are lowercase to be forward compatible with xhtml 2006-06-27 16:54:22 +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
12a7858235 - people can tell why they delete comments again 2005-03-12 17:13:08 +00:00
Jonathan Ernst
cd54d6d02b Remove deletecomment.php 2005-03-12 01:10:29 +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
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
Jonathan Ernst
d3ad0dba41 - replaced mysql_query() with query_appdb()
- removed opendb()
- removed query_userdb()
- removed error handling from the code as it is done with query_appdb()
2005-01-12 16:22:55 +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
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
099a172b00 Fix header patch typo 2004-12-27 23:54:55 +00:00
Jonathan Ernst
f5741ea108 Uniform headers 2004-12-25 20:08:00 +00:00
Chris Morgan
77a038d4f9 Remove isMaintainer() and isSuperMaintainer and instead use the user
classes is_maintainer() and is_super_maintainer.
2004-12-19 19:30:27 +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
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
1e797f9364 added static defines to incl.php (for emails)
updated email sent out on delete comment to include the correct URL
2004-12-01 22:25:21 +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
Chris Morgan
c81eebd949 add support for application maintainers 2004-11-09 22:41:18 +00:00
Chris Morgan
b9db13f6a8 add a delete button to comments when the user is an admin 2004-10-21 19:52:35 +00:00