Commit Graph

16 Commits

Author SHA1 Message Date
David Anderson d764eb5873 - web: clean up stuff related to stripslashes():
1) it's not correct to apply stripslashes() to all form input.
        That should be done only if magic quotes is on.
        I fixed this by adding a function undo_magic_quotes()
        that does the right thing.
    2) There's no reason to strip backslashes from user-supplied text
        (forum titles and bodies, private messages, passwords etc.)
        I'm not sure why this was being done.
        It prevented messages from containing backslashes.

svn path=/trunk/boinc/; revision=15364
2008-06-05 20:32:21 +00:00
David Anderson 0dadf8d62f - admin web: fix profile screen form formatting
- web: remove get_transform_settings_from_user().
    There's only get_output_options()

    NOTE: why is text_transform() doing stripslashes()?
    The slashes shouldn't be in the DB in the first place.
    There's some fundamental confusion here.

- web: fix uotd.php


svn path=/trunk/boinc/; revision=14866
2008-03-07 04:38:06 +00:00
David Anderson 9041fd8507 - user web: use forum prefs (e.g. display images as links)
when displaying PMs.  fixes #497

svn path=/trunk/boinc/; revision=14264
2007-11-20 00:55:35 +00:00
Rytis Slatkevičius 0379a5a655 Fix #114: update BBCode to allow easy linking to Trac tickets, wiki and changesets.
svn path=/trunk/boinc/; revision=12632
2007-05-09 19:30:46 +00:00
Rytis Slatkevičius dd9f10a2db Add rel="nofollow" to URLs in the forum because of spammers
svn path=/trunk/boinc/; revision=12509
2007-04-30 17:23:44 +00:00
Rytis Slatkevičius 606263161d Fix for ticket #125 - problems with websites using PHP setting short_open_tag
svn path=/trunk/boinc/; revision=12475
2007-04-25 19:05:12 +00:00
Rytis Slatkevičius 49841b2ef6 Change behaviour of BBCode [code] tag: get rid of multiple newlines, change <pre> to <div>, alter CSS so that long strings no longer break layout.
svn path=/trunk/boinc/; revision=12442
2007-04-21 12:10:15 +00:00
Rytis Slatkevičius 5f5bd66eae Make BBCode [url] accept HTTPS links
svn path=/trunk/boinc/; revision=11823
2007-01-10 18:42:01 +00:00
Rytis Slatkevičius 0870cce03d Signature encoding issues
svn path=/trunk/boinc/; revision=11719
2006-12-23 15:35:49 +00:00
David Anderson 1de783dd7d *** empty log message ***
svn path=/trunk/boinc/; revision=10842
2006-08-04 21:39:03 +00:00
David Anderson 6e4da982f7 *** empty log message ***
svn path=/trunk/boinc/; revision=10809
2006-08-01 21:45:05 +00:00
David Anderson 091b57c6c1 *** empty log message ***
svn path=/trunk/boinc/; revision=10380
2006-06-16 23:53:56 +00:00
Janus B. Kristensen bfbd0d6bd1 More layout moved to CSS and corrections in the text transformer.
svn path=/trunk/boinc/; revision=8924
2005-11-24 16:26:05 +00:00
Janus B. Kristensen fb4a35889c Added BOINC-doc code as [[something]], html is off by default.
svn path=/trunk/boinc/; revision=7766
2005-09-05 11:52:20 +00:00
David Anderson ccf355877c *** empty log message ***
svn path=/trunk/boinc/; revision=6520
2005-07-05 09:02:55 +00:00
Janus B. Kristensen 1b7975ad33 *** empty log message ***
svn path=/trunk/boinc/; revision=6146
2005-05-13 19:13:30 +00:00