aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/functions_display.php31
-rw-r--r--phpBB/includes/functions_posting.php30
-rw-r--r--phpBB/includes/message_parser.php2
3 files changed, 24 insertions, 39 deletions
diff --git a/phpBB/includes/functions_display.php b/phpBB/includes/functions_display.php
index 7ed65d5968..cc3010f03d 100644
--- a/phpBB/includes/functions_display.php
+++ b/phpBB/includes/functions_display.php
@@ -1,23 +1,15 @@
<?php
-/***************************************************************************
- * functions_display.php
- * ------------------
- * begin : Saturday, Feb 13, 2001
- * copyright : (C) 2001 The phpBB Group
- * email : support@phpbb.com
- *
- * $Id$
- *
- ***************************************************************************/
-
-/***************************************************************************
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- ***************************************************************************/
+// -------------------------------------------------------------
+//
+// $Id$
+//
+// FILENAME : functions_display.php
+// STARTED : Thu Nov 07, 2002
+// COPYRIGHT : © 2001, 2003 phpBB Group
+// WWW : http://www.phpbb.com/
+// LICENCE : GPL vs2.0 [ see /docs/COPYING ]
+//
+// -------------------------------------------------------------
function display_forums($root_data = '', $display_moderators = TRUE)
{
@@ -332,6 +324,7 @@ function display_attachments($attachment_data, &$update_count, $force_physical =
$display_name = $attachment['real_filename'];
$comment = stripslashes(trim(str_replace("\n", '<br />', $attachment['comment'])));
+ $comment = htmlspecialchars(str_replace("\\'", "'", $comment));
$denied = FALSE;
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php
index f06da1e412..22ef3c66ff 100644
--- a/phpBB/includes/functions_posting.php
+++ b/phpBB/includes/functions_posting.php
@@ -1,23 +1,15 @@
<?php
-/***************************************************************************
- * functions_posting.php
- * -------------------
- * begin : Saturday, Feb 13, 2001
- * copyright : (C) 2001 The phpBB Group
- * email : support@phpbb.com
- *
- * $Id$
- *
- ***************************************************************************/
-
-/***************************************************************************
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- ***************************************************************************/
+// -------------------------------------------------------------
+//
+// $Id$
+//
+// FILENAME : functions_posting.php
+// STARTED : Sun Jul 14, 2002
+// COPYRIGHT : © 2001, 2003 phpBB Group
+// WWW : http://www.phpbb.com/
+// LICENCE : GPL vs2.0 [ see /docs/COPYING ]
+//
+// -------------------------------------------------------------
// Fill smiley templates (or just the variables) with smileys, either in a window or inline
function generate_smilies($mode)
diff --git a/phpBB/includes/message_parser.php b/phpBB/includes/message_parser.php
index 450656d8e7..fb7cb66320 100644
--- a/phpBB/includes/message_parser.php
+++ b/phpBB/includes/message_parser.php
@@ -4,7 +4,7 @@
// $Id$
//
// FILENAME : message_parser.php
-// STARTED : Sat Feb 13, 2001
+// STARTED : Fri Feb 28, 2003
// COPYRIGHT : © 2003 phpBB Group
// WWW : http://www.phpbb.com/
// LICENCE : GPL vs2.0 [ see /docs/COPYING ]