[pLog-svn] r5949 - plugins/branches/lifetype-1.2/tagcloud
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Mon Sep 24 14:55:28 EDT 2007
Author: jondaley
Date: 2007-09-24 14:55:28 -0400 (Mon, 24 Sep 2007)
New Revision: 5949
Modified:
plugins/branches/lifetype-1.2/tagcloud/plugintagcloud.class.php
Log:
oops - making changes at the last second
Modified: plugins/branches/lifetype-1.2/tagcloud/plugintagcloud.class.php
===================================================================
--- plugins/branches/lifetype-1.2/tagcloud/plugintagcloud.class.php 2007-09-24 18:50:43 UTC (rev 5948)
+++ plugins/branches/lifetype-1.2/tagcloud/plugintagcloud.class.php 2007-09-24 18:55:28 UTC (rev 5949)
@@ -176,7 +176,7 @@
// 2. Make the number of occurrences allowed a configuration
// option
$text_limited = array();
- $words = preg_split(FILTER_REGEXP, strtolower($row['normalized_text']));
+ $words = preg_split(TAGCLOUD_FILTER_REGEXP, strtolower($row['normalized_text']));
foreach($words as $word){
if(empty($text_limited[$word])){
$text_limited[$word] = 1;
@@ -193,7 +193,7 @@
$data = implode(' ',$data);
// Split keywords
- $words = preg_split(FILTER_REGEXP, strtolower($data));
+ $words = preg_split(TAGCLOUD_FILTER_REGEXP, strtolower($data));
$acv = array_count_values( $words );
// Remove unwanted keywords
More information about the pLog-svn
mailing list