]> git.mjollnir.org Git - s9y.git/commitdiff
added custom extensions for serendipity_event_emoticate
authorflotsam <flotsam>
Fri, 2 Dec 2005 12:00:34 +0000 (12:00 +0000)
committerflotsam <flotsam>
Fri, 2 Dec 2005 12:00:34 +0000 (12:00 +0000)
20 files changed:
plugins/serendipity_event_emoticate/UTF-8/lang_bg.inc.php
plugins/serendipity_event_emoticate/UTF-8/lang_de.inc.php
plugins/serendipity_event_emoticate/UTF-8/lang_es.inc.php
plugins/serendipity_event_emoticate/UTF-8/lang_fr.inc.php
plugins/serendipity_event_emoticate/UTF-8/lang_is.inc.php
plugins/serendipity_event_emoticate/UTF-8/lang_ja.inc.php
plugins/serendipity_event_emoticate/UTF-8/lang_ko.inc.php
plugins/serendipity_event_emoticate/UTF-8/lang_pt_PT.inc.php
plugins/serendipity_event_emoticate/UTF-8/lang_tn.inc.php
plugins/serendipity_event_emoticate/lang_bg.inc.php
plugins/serendipity_event_emoticate/lang_de.inc.php
plugins/serendipity_event_emoticate/lang_en.inc.php
plugins/serendipity_event_emoticate/lang_es.inc.php
plugins/serendipity_event_emoticate/lang_fr.inc.php
plugins/serendipity_event_emoticate/lang_is.inc.php
plugins/serendipity_event_emoticate/lang_ja.inc.php
plugins/serendipity_event_emoticate/lang_ko.inc.php
plugins/serendipity_event_emoticate/lang_pt_PT.inc.php
plugins/serendipity_event_emoticate/lang_tn.inc.php
plugins/serendipity_event_emoticate/serendipity_event_emoticate.php

index 57903daa162420104fe092f5c2a7f76f0549ec1d..702936df68d66eba4fc49d47c397a565e739955c 100644 (file)
@@ -3,4 +3,6 @@
         @define('PLUGIN_EVENT_EMOTICATE_NAME', 'Форматиране на текст: Усмивки');
         @define('PLUGIN_EVENT_EMOTICATE_DESC', 'Конвертира стандартните знаци за изразяване на емоции в графични изображения');
         @define('PLUGIN_EVENT_EMOTICATE_TRANSFORM', 'Стандартните знаци :) и ;) се конвертират в графични изображения');
-
+@define('PLUGIN_EVENT_EMOTICATE_EXTENSION', 'File extension');
+@define('PLUGIN_EVENT_EMOTICATE_EXTENSION_BLAHBLAH', 'The file extension of your emoticons. This is case sensitive.');
+?>
index aab5474ee8e1bbefadb7f06200aba9041e7885a9..bae39d214fa583c8716a190021c284b077e41f75 100644 (file)
@@ -3,3 +3,6 @@
         @define('PLUGIN_EVENT_EMOTICATE_NAME', 'Textformatierung: Smilies');
         @define('PLUGIN_EVENT_EMOTICATE_DESC', 'Standard Text-Smilies in Grafiken konvertieren');
         @define('PLUGIN_EVENT_EMOTICATE_TRANSFORM', 'Standard-Text Smilies wie :-) und ;-) werden zu Bildern konvertiert.');
+@define('PLUGIN_EVENT_EMOTICATE_EXTENSION', 'Dateinamenerweiterung');
+@define('PLUGIN_EVENT_EMOTICATE_EXTENSION_BLAHBLAH', 'Die Dateinamenerweiterung der Emoticons. Groß-/Kleinschreibung beachten.');
+?>
\ No newline at end of file
index f16a06405c0fba5f7b98b4e649c84c8a6816c1cf..bbb8fb8aa0bc8ab6694f2f3c2de71275f0cc22f4 100644 (file)
@@ -7,5 +7,6 @@
 @define('PLUGIN_EVENT_EMOTICATE_NAME', 'Formato: Smilies');
 @define('PLUGIN_EVENT_EMOTICATE_DESC', 'Convertir smilies normales en imágenes');
 @define('PLUGIN_EVENT_EMOTICATE_TRANSFORM', 'Smilies normales como :-) y ;-) son convertidos en imágenes.');
-
+@define('PLUGIN_EVENT_EMOTICATE_EXTENSION', 'File extension');
+@define('PLUGIN_EVENT_EMOTICATE_EXTENSION_BLAHBLAH', 'The file extension of your emoticons. This is case sensitive.');
 ?>
\ No newline at end of file
index 8304e731fd695109ed7e997f0841bd3b685906ff..393ad3237783fafd817257ee9d2040342fcf92cc 100644 (file)
@@ -16,6 +16,7 @@
 @define('PLUGIN_EVENT_EMOTICATE_NAME', 'Balises: Smilies');
 @define('PLUGIN_EVENT_EMOTICATE_DESC', 'Convertit les smilies standard en images');
 @define('PLUGIN_EVENT_EMOTICATE_TRANSFORM', 'Les smilies standard comme :-) et ;-) sont convertis en images.');
-
+@define('PLUGIN_EVENT_EMOTICATE_EXTENSION', 'File extension');
+@define('PLUGIN_EVENT_EMOTICATE_EXTENSION_BLAHBLAH', 'The file extension of your emoticons. This is case sensitive.');
 /* vim: set sts=4 ts=4 expandtab : */
 ?>
\ No newline at end of file
index 96aac2abca306865f91cc6816c3912201fff0747..010718a6c8c0f4feea1080212752aac4dba90c73 100644 (file)
@@ -3,6 +3,7 @@
         @define('PLUGIN_EVENT_EMOTICATE_NAME', 'Textabreyting: Tilfinningavæða');
         @define('PLUGIN_EVENT_EMOTICATE_DESC', 'Breyta venjulegum textabrosköllum í grafískar myndir');
         @define('PLUGIN_EVENT_EMOTICATE_TRANSFORM', 'Venjulegum brosköllum, eins og :-) og ;-), verður breytt í myndir.');
-
+@define('PLUGIN_EVENT_EMOTICATE_EXTENSION', 'File extension');
+@define('PLUGIN_EVENT_EMOTICATE_EXTENSION_BLAHBLAH', 'The file extension of your emoticons. This is case sensitive.');
 /* vim: set sts=4 ts=4 expandtab : */
 ?>
\ No newline at end of file
index d6be8cd67ee686796d30bde2eb2e8ed4caedf324..366dddadd8ae5cf3073594579c8d63ee4f9966ea 100644 (file)
@@ -9,6 +9,7 @@
 @define('PLUGIN_EVENT_EMOTICATE_NAME', 'マークアップ: 感情表現');
 @define('PLUGIN_EVENT_EMOTICATE_DESC', '標準的な感情表現を画像に変換します。');
 @define('PLUGIN_EVENT_EMOTICATE_TRANSFORM', '標準的な感情表現、 :-) や ;-) といったものは画像に変換します。');
-
+@define('PLUGIN_EVENT_EMOTICATE_EXTENSION', 'File extension');
+@define('PLUGIN_EVENT_EMOTICATE_EXTENSION_BLAHBLAH', 'The file extension of your emoticons. This is case sensitive.');
 /* vim: set sts=4 ts=4 expandtab : */
 ?>
index 0ed37c93ca2a00a831b21991cb92b796eb6372f1..72c55896ed82572e891f8342bd30180405faccec 100644 (file)
@@ -5,5 +5,6 @@
         @define('PLUGIN_EVENT_EMOTICATE_NAME', '마크업: 이모티콘');
         @define('PLUGIN_EVENT_EMOTICATE_DESC', '표준 이모티콘을 그림으로 바꿈');
         @define('PLUGIN_EVENT_EMOTICATE_TRANSFORM', ':-) 이나 ;-) 와 같은 표준 이모티콘은 그림으로 바뀝니다.');
-
+@define('PLUGIN_EVENT_EMOTICATE_EXTENSION', 'File extension');
+@define('PLUGIN_EVENT_EMOTICATE_EXTENSION_BLAHBLAH', 'The file extension of your emoticons. This is case sensitive.');
 ?>
index d090301150ee81ffc3056926f9650b074f6ab2ee..dd2f820fc2a8a4217cf0827ee001bc389ce3b99d 100644 (file)
@@ -8,5 +8,6 @@
 @define('PLUGIN_EVENT_EMOTICATE_NAME', 'Formato: Smilies');
 @define('PLUGIN_EVENT_EMOTICATE_DESC', 'Converter smilies normais em imagens');
 @define('PLUGIN_EVENT_EMOTICATE_TRANSFORM', 'Smilies normais como :-) e ;-) são convertidos em imagens.');
-
+@define('PLUGIN_EVENT_EMOTICATE_EXTENSION', 'File extension');
+@define('PLUGIN_EVENT_EMOTICATE_EXTENSION_BLAHBLAH', 'The file extension of your emoticons. This is case sensitive.');
 ?>
index 849e6694fa8bc57ec3756c1737cf75240fdb0aef..04b3d13f62e42e2a10514390302a60dae704e6d8 100644 (file)
@@ -1,19 +1,20 @@
-<?php\r
-##########################################################################\r
-# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity    #\r
-# Developer Team) All rights reserved.  See LICENSE file for licensing   #\r
-# details                                                                                               #\r
-#                                                                        #\r
-# (c) 2003 Jannis Hermanns <J@hacked.it>                                 #\r
-# http://www.jannis.to/programming/serendipity.html                      #\r
-#                                                                        #\r
-# Translated by                                                          #\r
-# (c) 2004-2005 CapriSkye <admin@capriskye.com>                          #\r
-#               http://open.38.com                                       #\r
-##########################################################################\r
-\r
-        @define('PLUGIN_EVENT_EMOTICATE_NAME', '標記語言: 表情圖案');\r
-        @define('PLUGIN_EVENT_EMOTICATE_DESC', '轉換字串成表情圖案');\r
-        @define('PLUGIN_EVENT_EMOTICATE_TRANSFORM', '字串像 :-) 和 ;-) 會轉換成圖案。');\r
-\r
+<?php
+##########################################################################
+# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity    #
+# Developer Team) All rights reserved.  See LICENSE file for licensing   #
+# details                                                                                               #
+#                                                                        #
+# (c) 2003 Jannis Hermanns <J@hacked.it>                                 #
+# http://www.jannis.to/programming/serendipity.html                      #
+#                                                                        #
+# Translated by                                                          #
+# (c) 2004-2005 CapriSkye <admin@capriskye.com>                          #
+#               http://open.38.com                                       #
+##########################################################################
+
+        @define('PLUGIN_EVENT_EMOTICATE_NAME', '標記語言: 表情圖案');
+        @define('PLUGIN_EVENT_EMOTICATE_DESC', '轉換字串成表情圖案');
+        @define('PLUGIN_EVENT_EMOTICATE_TRANSFORM', '字串像 :-) 和 ;-) 會轉換成圖案。');
+@define('PLUGIN_EVENT_EMOTICATE_EXTENSION', 'File extension');
+@define('PLUGIN_EVENT_EMOTICATE_EXTENSION_BLAHBLAH', 'The file extension of your emoticons. This is case sensitive.');
 ?>
\ No newline at end of file
index 54f06e18f3ed962ea8ea19b2637f2f3dcd628af7..e6ea2b96ff6f813051f090c3cc4d11a38f3df7ea 100644 (file)
@@ -1,6 +1,8 @@
-<?php # $Id: serendipity_event_emoticate.php 235 2005-07-08 13:29:39Z garvinhicking $\r
-\r
-        @define('PLUGIN_EVENT_EMOTICATE_NAME', 'Ôîðìàòèðàíå íà òåêñò: Óñìèâêè');\r
-        @define('PLUGIN_EVENT_EMOTICATE_DESC', 'Êîíâåðòèðà ñòàíäàðòíèòå çíàöè çà èçðàçÿâàíå íà åìîöèè â ãðàôè÷íè èçîáðàæåíèÿ');\r
-        @define('PLUGIN_EVENT_EMOTICATE_TRANSFORM', 'Ñòàíäàðòíèòå çíàöè :) è ;) ñå êîíâåðòèðàò â ãðàôè÷íè èçîáðàæåíèÿ');\r
-\r
+<?php # $Id: serendipity_event_emoticate.php 235 2005-07-08 13:29:39Z garvinhicking $
+
+        @define('PLUGIN_EVENT_EMOTICATE_NAME', 'Ôîðìàòèðàíå íà òåêñò: Óñìèâêè');
+        @define('PLUGIN_EVENT_EMOTICATE_DESC', 'Êîíâåðòèðà ñòàíäàðòíèòå çíàöè çà èçðàçÿâàíå íà åìîöèè â ãðàôè÷íè èçîáðàæåíèÿ');
+        @define('PLUGIN_EVENT_EMOTICATE_TRANSFORM', 'Ñòàíäàðòíèòå çíàöè :) è ;) ñå êîíâåðòèðàò â ãðàôè÷íè èçîáðàæåíèÿ');
+@define('PLUGIN_EVENT_EMOTICATE_EXTENSION', 'Ðàçøèðåíèå íà ôàéëà');
+@define('PLUGIN_EVENT_EMOTICATE_EXTENSION_BLAHBLAH', 'Ðàçøèðåíèå íà ôàéëîâåòå çà óñìèâêè. Ìàëêèòå è ãëàâíèòå áóêâè èìàò çíà÷åíèå.');
+?>
\ No newline at end of file
index aab5474ee8e1bbefadb7f06200aba9041e7885a9..cf4dc99f3ccede64b08a72cc075bbf6f3c851ae9 100644 (file)
@@ -1,5 +1,7 @@
 <?php # $Id: serendipity_event_emoticate.php 235 2005-07-08 13:29:39Z garvinhicking $
 
-        @define('PLUGIN_EVENT_EMOTICATE_NAME', 'Textformatierung: Smilies');
-        @define('PLUGIN_EVENT_EMOTICATE_DESC', 'Standard Text-Smilies in Grafiken konvertieren');
-        @define('PLUGIN_EVENT_EMOTICATE_TRANSFORM', 'Standard-Text Smilies wie :-) und ;-) werden zu Bildern konvertiert.');
+@define('PLUGIN_EVENT_EMOTICATE_NAME', 'Textformatierung: Smilies');
+@define('PLUGIN_EVENT_EMOTICATE_DESC', 'Standard Text-Smilies in Grafiken konvertieren');
+@define('PLUGIN_EVENT_EMOTICATE_TRANSFORM', 'Standard-Text Smilies wie :-) und ;-) werden zu Bildern konvertiert.');
+@define('PLUGIN_EVENT_EMOTICATE_EXTENSION', 'Dateinamenerweiterung');
+@define('PLUGIN_EVENT_EMOTICATE_EXTENSION_BLAHBLAH', 'Die Dateinamenerweiterung der Emoticons. Groß-/Kleinschreibung beachten.');
index 228be63aed658c78775ea48bda0c3c1319ea8e75..930f5c583ab3d2acc76ae248bc53edf8767fbe4b 100644 (file)
@@ -9,5 +9,6 @@
 @define('PLUGIN_EVENT_EMOTICATE_NAME', 'Markup: Emoticate');
 @define('PLUGIN_EVENT_EMOTICATE_DESC', 'Convert standard emoticons into graphic images');
 @define('PLUGIN_EVENT_EMOTICATE_TRANSFORM', 'Standard emoticons like :-) and ;-) are converted to images.');
-
+@define('PLUGIN_EVENT_EMOTICATE_EXTENSION', 'File extension');
+@define('PLUGIN_EVENT_EMOTICATE_EXTENSION_BLAHBLAH', 'The file extension of your emoticons. This is case sensitive.');
 ?>
index 425edd91ab370995921955389cd1f337361650cd..cc189f4f4b020b0cdfa12e82861e8890c35d6c98 100644 (file)
@@ -7,5 +7,6 @@
 @define('PLUGIN_EVENT_EMOTICATE_NAME', 'Formato: Smilies');
 @define('PLUGIN_EVENT_EMOTICATE_DESC', 'Convertir smilies normales en imágenes');
 @define('PLUGIN_EVENT_EMOTICATE_TRANSFORM', 'Smilies normales como :-) y ;-) son convertidos en imágenes.');
-
+@define('PLUGIN_EVENT_EMOTICATE_EXTENSION', 'File extension');
+@define('PLUGIN_EVENT_EMOTICATE_EXTENSION_BLAHBLAH', 'The file extension of your emoticons. This is case sensitive.');
 ?>
\ No newline at end of file
index 8304e731fd695109ed7e997f0841bd3b685906ff..393ad3237783fafd817257ee9d2040342fcf92cc 100644 (file)
@@ -16,6 +16,7 @@
 @define('PLUGIN_EVENT_EMOTICATE_NAME', 'Balises: Smilies');
 @define('PLUGIN_EVENT_EMOTICATE_DESC', 'Convertit les smilies standard en images');
 @define('PLUGIN_EVENT_EMOTICATE_TRANSFORM', 'Les smilies standard comme :-) et ;-) sont convertis en images.');
-
+@define('PLUGIN_EVENT_EMOTICATE_EXTENSION', 'File extension');
+@define('PLUGIN_EVENT_EMOTICATE_EXTENSION_BLAHBLAH', 'The file extension of your emoticons. This is case sensitive.');
 /* vim: set sts=4 ts=4 expandtab : */
 ?>
\ No newline at end of file
index edcb274b03f090e0ab26388edc5564e8981ec6e0..01f7d3b44824610299cf48164251dbf6992ab5c4 100644 (file)
@@ -3,6 +3,7 @@
         @define('PLUGIN_EVENT_EMOTICATE_NAME', 'Textabreyting: Tilfinningavæða');
         @define('PLUGIN_EVENT_EMOTICATE_DESC', 'Breyta venjulegum textabrosköllum í grafískar myndir');
         @define('PLUGIN_EVENT_EMOTICATE_TRANSFORM', 'Venjulegum brosköllum, eins og :-) og ;-), verður breytt í myndir.');
-
+@define('PLUGIN_EVENT_EMOTICATE_EXTENSION', 'File extension');
+@define('PLUGIN_EVENT_EMOTICATE_EXTENSION_BLAHBLAH', 'The file extension of your emoticons. This is case sensitive.');
 /* vim: set sts=4 ts=4 expandtab : */
 ?>
\ No newline at end of file
index 466f25114eff1c2dd6197f1653cff140891c1214..ab9fe0059046ca32ea1a8c07423244f37c058941 100644 (file)
@@ -9,6 +9,7 @@
 @define('PLUGIN_EVENT_EMOTICATE_NAME', 'マークアップ: 感情表現');
 @define('PLUGIN_EVENT_EMOTICATE_DESC', '標準的な感情表現を画像に変換します。');
 @define('PLUGIN_EVENT_EMOTICATE_TRANSFORM', '標準的な感情表現、 :-) や ;-) といったものは画像に変換します。');
-
+@define('PLUGIN_EVENT_EMOTICATE_EXTENSION', 'File extension');
+@define('PLUGIN_EVENT_EMOTICATE_EXTENSION_BLAHBLAH', 'The file extension of your emoticons. This is case sensitive.');
 /* vim: set sts=4 ts=4 expandtab : */
 ?>
index 0ed37c93ca2a00a831b21991cb92b796eb6372f1..72c55896ed82572e891f8342bd30180405faccec 100644 (file)
@@ -5,5 +5,6 @@
         @define('PLUGIN_EVENT_EMOTICATE_NAME', '마크업: 이모티콘');
         @define('PLUGIN_EVENT_EMOTICATE_DESC', '표준 이모티콘을 그림으로 바꿈');
         @define('PLUGIN_EVENT_EMOTICATE_TRANSFORM', ':-) 이나 ;-) 와 같은 표준 이모티콘은 그림으로 바뀝니다.');
-
+@define('PLUGIN_EVENT_EMOTICATE_EXTENSION', 'File extension');
+@define('PLUGIN_EVENT_EMOTICATE_EXTENSION_BLAHBLAH', 'The file extension of your emoticons. This is case sensitive.');
 ?>
index e4d798b613e48b606f6d0c615a62874937f28bb0..0e3b5bee59a4a3b134c412b0ac695415e17d5e06 100644 (file)
@@ -8,5 +8,6 @@
 @define('PLUGIN_EVENT_EMOTICATE_NAME', 'Formato: Smilies');
 @define('PLUGIN_EVENT_EMOTICATE_DESC', 'Converter smilies normais em imagens');
 @define('PLUGIN_EVENT_EMOTICATE_TRANSFORM', 'Smilies normais como :-) e ;-) são convertidos em imagens.');
-
+@define('PLUGIN_EVENT_EMOTICATE_EXTENSION', 'File extension');
+@define('PLUGIN_EVENT_EMOTICATE_EXTENSION_BLAHBLAH', 'The file extension of your emoticons. This is case sensitive.');
 ?>
index 849e6694fa8bc57ec3756c1737cf75240fdb0aef..04b3d13f62e42e2a10514390302a60dae704e6d8 100644 (file)
@@ -1,19 +1,20 @@
-<?php\r
-##########################################################################\r
-# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity    #\r
-# Developer Team) All rights reserved.  See LICENSE file for licensing   #\r
-# details                                                                                               #\r
-#                                                                        #\r
-# (c) 2003 Jannis Hermanns <J@hacked.it>                                 #\r
-# http://www.jannis.to/programming/serendipity.html                      #\r
-#                                                                        #\r
-# Translated by                                                          #\r
-# (c) 2004-2005 CapriSkye <admin@capriskye.com>                          #\r
-#               http://open.38.com                                       #\r
-##########################################################################\r
-\r
-        @define('PLUGIN_EVENT_EMOTICATE_NAME', '標記語言: 表情圖案');\r
-        @define('PLUGIN_EVENT_EMOTICATE_DESC', '轉換字串成表情圖案');\r
-        @define('PLUGIN_EVENT_EMOTICATE_TRANSFORM', '字串像 :-) 和 ;-) 會轉換成圖案。');\r
-\r
+<?php
+##########################################################################
+# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity    #
+# Developer Team) All rights reserved.  See LICENSE file for licensing   #
+# details                                                                                               #
+#                                                                        #
+# (c) 2003 Jannis Hermanns <J@hacked.it>                                 #
+# http://www.jannis.to/programming/serendipity.html                      #
+#                                                                        #
+# Translated by                                                          #
+# (c) 2004-2005 CapriSkye <admin@capriskye.com>                          #
+#               http://open.38.com                                       #
+##########################################################################
+
+        @define('PLUGIN_EVENT_EMOTICATE_NAME', '標記語言: 表情圖案');
+        @define('PLUGIN_EVENT_EMOTICATE_DESC', '轉換字串成表情圖案');
+        @define('PLUGIN_EVENT_EMOTICATE_TRANSFORM', '字串像 :-) 和 ;-) 會轉換成圖案。');
+@define('PLUGIN_EVENT_EMOTICATE_EXTENSION', 'File extension');
+@define('PLUGIN_EVENT_EMOTICATE_EXTENSION_BLAHBLAH', 'The file extension of your emoticons. This is case sensitive.');
 ?>
\ No newline at end of file
index f9d59cd7003c511676378aca653469e4489d6cd8..80d1b4ace241456b0d959013c2ba2549f309d362 100644 (file)
@@ -20,7 +20,7 @@ class serendipity_event_emoticate extends serendipity_event
         $propbag->add('description',   PLUGIN_EVENT_EMOTICATE_DESC);
         $propbag->add('stackable',     false);
         $propbag->add('author',        'Serendipity Team');
-        $propbag->add('version',       '1.1');
+        $propbag->add('version',       '1.2');
         $propbag->add('requirements',  array(
             'serendipity' => '0.8',
             'smarty'      => '2.6.7',
@@ -52,6 +52,7 @@ class serendipity_event_emoticate extends serendipity_event
         foreach($this->markup_elements as $element) {
             $conf_array[] = $element['name'];
         }
+        $conf_array[] = 'extension';
         $propbag->add('configuration', $conf_array);
 
     }
@@ -90,24 +91,25 @@ class serendipity_event_emoticate extends serendipity_event
         }
 
         if (!isset($this->smilies)) {
+            $ext = $this->get_config('extension', 'png');
             $this->smilies = array(
-                "\:'\("    => serendipity_getTemplateFile('img/emoticons/cry.png'),
+                "\:'\("    => serendipity_getTemplateFile('img/emoticons/cry.'.$ext),
 
-                '\:\-?\)'  => serendipity_getTemplateFile('img/emoticons/smile.png'),
+                '\:\-?\)'  => serendipity_getTemplateFile('img/emoticons/smile.'.$ext),
 
-                '\:\|'     => serendipity_getTemplateFile('img/emoticons/normal.png'),
+                '\:\|'     => serendipity_getTemplateFile('img/emoticons/normal.'.$ext),
 
-                '\:\-?O'  => serendipity_getTemplateFile('img/emoticons/eek.png'),
+                '\:\-?O'  => serendipity_getTemplateFile('img/emoticons/eek.'.$ext),
 
-                '\:\-?\('  => serendipity_getTemplateFile('img/emoticons/sad.png'),
+                '\:\-?\('  => serendipity_getTemplateFile('img/emoticons/sad.'.$ext),
 
-                '8\-?\)'  => serendipity_getTemplateFile('img/emoticons/cool.png'),
+                '8\-?\)'  => serendipity_getTemplateFile('img/emoticons/cool.'.$ext),
 
-                '\:\-?D'  => serendipity_getTemplateFile('img/emoticons/laugh.png'),
+                '\:\-?D'  => serendipity_getTemplateFile('img/emoticons/laugh.'.$ext),
 
-                '\:\-?P'  => serendipity_getTemplateFile('img/emoticons/tongue.png'),
+                '\:\-?P'  => serendipity_getTemplateFile('img/emoticons/tongue.'.$ext),
 
-                ';\-?\)'  => serendipity_getTemplateFile('img/emoticons/wink.png'),
+                ';\-?\)'  => serendipity_getTemplateFile('img/emoticons/wink.'.$ext),
             );
         }
 
@@ -138,10 +140,19 @@ class serendipity_event_emoticate extends serendipity_event
 
     function introspect_config_item($name, &$propbag)
     {
-        $propbag->add('type',        'boolean');
-        $propbag->add('name',        constant($name));
-        $propbag->add('description', sprintf(APPLY_MARKUP_TO, constant($name)));
-        $propbag->add('default', 'true');
+        switch($name) {
+        case 'extension':
+            $propbag->add('type', 'string');
+            $propbag->add('name',        PLUGIN_EVENT_EMOTICATE_EXTENSION);
+            $propbag->add('description', PLUGIN_EVENT_EMOTICATE_EXTENSION_BLAHBLAH);
+            $propbag->add('default', 'png');
+            break;
+        default:
+            $propbag->add('type',        'boolean');
+            $propbag->add('name',        constant($name));
+            $propbag->add('description', sprintf(APPLY_MARKUP_TO, constant($name)));
+            $propbag->add('default', 'true');
+        }
         return true;
     }