From 174e3376793daa4c0d75a33b88f38fd8857f0da2 Mon Sep 17 00:00:00 2001 From: garvinhicking Date: Mon, 17 Apr 2006 18:55:02 +0000 Subject: [PATCH] fix config error --- .../serendipity_plugin_comments.php | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/plugins/serendipity_plugin_comments/serendipity_plugin_comments.php b/plugins/serendipity_plugin_comments/serendipity_plugin_comments.php index 12d8953..03c6808 100644 --- a/plugins/serendipity_plugin_comments/serendipity_plugin_comments.php +++ b/plugins/serendipity_plugin_comments/serendipity_plugin_comments.php @@ -22,7 +22,7 @@ class serendipity_plugin_comments extends serendipity_plugin $propbag->add('description', PLUGIN_COMMENTS_BLAHBLAH); $propbag->add('stackable', true); $propbag->add('author', 'Garvin Hicking/Tadashi Jokagi/Judebert'); - $propbag->add('version', '1.7'); + $propbag->add('version', '1.8'); $propbag->add('requirements', array( 'serendipity' => '0.8', 'smarty' => '2.6.7', @@ -52,11 +52,6 @@ class serendipity_plugin_comments extends serendipity_plugin $propbag->add('description', ''); $propbag->add('select_values', $types); $propbag->add('default', 'all'); - - $propbag->add('type', 'string'); - $propbag->add('name', TITLE); - $propbag->add('description', ''); - $propbag->add('default', COMMENTS); break; case 'title': @@ -177,7 +172,7 @@ class serendipity_plugin_comments extends serendipity_plugin { $user = PLUGIN_COMMENTS_ANONYMOUS; } - + if ( $serendipity['lang'] == "ja" && function_exists( 'mb_strimwidth')) { $pos = 0; $parts = array(); -- 2.39.5