aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_convert.php
diff options
context:
space:
mode:
authorHenry Sudhof <kellanved@phpbb.com>2007-05-27 15:07:47 +0000
committerHenry Sudhof <kellanved@phpbb.com>2007-05-27 15:07:47 +0000
commit9c0c1e14b6e56bd34d1b567bff65292aecac4f6f (patch)
treed983791d64e67d803d93702cf5863a72a90d366c /phpBB/includes/functions_convert.php
parent3ee5b28d3bf2bcfd88bfd5430ad04ca5daddd1b9 (diff)
downloadforums-9c0c1e14b6e56bd34d1b567bff65292aecac4f6f.tar
forums-9c0c1e14b6e56bd34d1b567bff65292aecac4f6f.tar.gz
forums-9c0c1e14b6e56bd34d1b567bff65292aecac4f6f.tar.bz2
forums-9c0c1e14b6e56bd34d1b567bff65292aecac4f6f.tar.xz
forums-9c0c1e14b6e56bd34d1b567bff65292aecac4f6f.zip
Some fixes and improvements.
#11817 #11851 #11801 #11461 git-svn-id: file:///svn/phpbb/trunk@7692 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_convert.php')
-rw-r--r--phpBB/includes/functions_convert.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/phpBB/includes/functions_convert.php b/phpBB/includes/functions_convert.php
index 5da10236c2..e2b50306e8 100644
--- a/phpBB/includes/functions_convert.php
+++ b/phpBB/includes/functions_convert.php
@@ -2405,4 +2405,11 @@ function relative_base($path, $is_relative = true, $line = false, $file = false)
return $convert->options['forum_path'] . '/' . $path;
}
+function get_smiley_display()
+{
+ static $smiley_count = 0;
+ $smiley_count++;
+ return ($smiley_count < 50) ? 1 : 0;
+}
+
?> \ No newline at end of file