data/TWiki/SmiliesPlugin.txt,v
changeset 0 414e01d06fd5
equal deleted inserted replaced
-1:000000000000 0:414e01d06fd5
       
     1 head	1.7;
       
     2 access;
       
     3 symbols;
       
     4 locks; strict;
       
     5 comment	@# @;
       
     6 
       
     7 
       
     8 1.7
       
     9 date	2008.01.22.03.21.33;	author TWikiContributor;	state Exp;
       
    10 branches;
       
    11 next	1.6;
       
    12 
       
    13 1.6
       
    14 date	2007.01.16.04.11.56;	author TWikiContributor;	state Exp;
       
    15 branches;
       
    16 next	1.5;
       
    17 
       
    18 1.5
       
    19 date	2006.04.01.05.55.33;	author TWikiContributor;	state Exp;
       
    20 branches;
       
    21 next	1.4;
       
    22 
       
    23 1.4
       
    24 date	2006.02.01.12.01.23;	author TWikiContributor;	state Exp;
       
    25 branches;
       
    26 next	1.3;
       
    27 
       
    28 1.3
       
    29 date	2004.08.21.21.46.12;	author PeterThoeny;	state Exp;
       
    30 branches;
       
    31 next	1.2;
       
    32 
       
    33 1.2
       
    34 date	2004.02.17.07.17.00;	author PeterThoeny;	state Exp;
       
    35 branches;
       
    36 next	1.1;
       
    37 
       
    38 1.1
       
    39 date	2003.12.12.08.29.00;	author PeterThoeny;	state Exp;
       
    40 branches;
       
    41 next	;
       
    42 
       
    43 
       
    44 desc
       
    45 @none
       
    46 @
       
    47 
       
    48 
       
    49 1.7
       
    50 log
       
    51 @buildrelease
       
    52 @
       
    53 text
       
    54 @%META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.0" version="7"}%
       
    55 ---+ The Smilies Plugin <nop>:-)
       
    56 
       
    57 Smilies are common in e-mail messages and bulletin board posts. They are used to convey an emotion, such as a smile :<nop>-) or a frown :<nop>-( . This plugin automatically converts certain smilies to a nice small icon.
       
    58 
       
    59 Here is the list of smilies supported by this plugin. To add others, attach new icons to this topic and tweak the table below.
       
    60 
       
    61 | *You type*      | *You see*                 | *Emotion* |
       
    62 | <nop>:-)          | %ATTACHURL%/smile.gif       | "smile" |
       
    63 | <nop>:)         | %ATTACHURL%/smile.gif       | "smile" |
       
    64 | <nop>8-)          | %ATTACHURL%/cool.gif        | "cool!" |
       
    65 | <nop>:cool:       | %ATTACHURL%/cool.gif        | "cool!" |
       
    66 | <nop>:-I          | %ATTACHURL%/indifferent.gif | "indifferent" |
       
    67 | <nop>:(         | %ATTACHURL%/frown.gif       | "frown" |
       
    68 | <nop>:-(          | %ATTACHURL%/frown.gif       | "frown" |
       
    69 | <nop>:o         | %ATTACHURL%/redface.gif     | "embarrassment" |
       
    70 | <nop>:D         | %ATTACHURL%/biggrin.gif     | "big grin" |
       
    71 | <nop>:-D          | %ATTACHURL%/biggrin.gif     | "big grin" |
       
    72 | <nop>;)         | %ATTACHURL%/wink.gif        | "wink" |
       
    73 | <nop>;-)          | %ATTACHURL%/wink.gif        | "wink" |
       
    74 | <nop>:p         | %ATTACHURL%/tongue.gif      | "stick out tongue" |
       
    75 | <nop>:-p         | %ATTACHURL%/tongue.gif      | "stick out tongue" |
       
    76 | <nop>:rolleyes:   | %ATTACHURL%/rolleyes.gif    | "roll eyes (sarcastic)" |
       
    77 | <nop>:mad:      | %ATTACHURL%/mad.gif         | "mad!" |
       
    78 | <nop>:eek:      | %ATTACHURL%/eek.gif         | "eek!" |
       
    79 | <nop>:confused:   | %ATTACHURL%/confused.gif    | "confused" |
       
    80 | <nop>&nbsp;>:-)   | %ATTACHURL%/devil.gif       | "hehe!" |
       
    81 | <nop>:devil:      | %ATTACHURL%/devil.gif       | "hehe!" |
       
    82 | <nop>&nbsp;>;-)   | %ATTACHURL%/devilwink.gif   | "hehe! (friendly)" |
       
    83 | <nop>:devilish:   | %ATTACHURL%/devilwink.gif   | "hehe! (friendly)" |
       
    84 | <nop>:-X          | %ATTACHURL%/sealed.gif      | "sealed lips" |
       
    85 | <nop>:ok:         | %ATTACHURL%/thumbs.gif      | "thumbs up" |
       
    86 | <nop>:yes:      | %ATTACHURL%/yes.gif         | "yes" |
       
    87 | <nop>:no:         | %ATTACHURL%/no.gif          | "no" |
       
    88 | <nop>:love:       | %ATTACHURL%/love.gif        | "I love it!" |
       
    89 | <nop>:skull:      | %ATTACHURL%/skull.gif       | "dead!" |
       
    90 
       
    91 ---++ <nop>%TOPIC% Global Settings
       
    92 
       
    93 Plugin settings are stored as preferences variables. To reference
       
    94 a plugin setting write ==%<nop>&lt;plugin&gt;_&lt;setting&gt;%==, for example, ==%<nop>INTERWIKIPLUGIN_SHORTDESCRIPTION%==
       
    95 
       
    96 	* One line description, shown in the %TWIKIWEB%.TextFormattingRules topic:
       
    97 	* Set SHORTDESCRIPTION = Render smilies as icons, like :-) for =&nbsp;:-)= or :eek: for =&nbsp;:eek:=
       
    98 
       
    99 	* The name of the topic containig your Smilies. Default: ==%WEB%.SmiliesPlugin==
       
   100 	* #Set TOPIC = %TWIKIWEB%.SmiliesPlugin
       
   101 
       
   102 	* The way the _emoticon_ is displayed. You can use ==$emoticon== (e.g. =:<nop>D=), ==$url== (e.g. =%<nop>ATTACHURL%/biggrin.gif=) and ==$tooltip== (e.g. ="big grin"=). Default: ==&lt;img src="$url" alt="$tooltip" title="$tooltip" border="0" /&gt;==
       
   103 <verbatim>
       
   104 	* #Set FORMAT = <img src="$url" alt="$emoticon" title="$emoticon" border="0" />
       
   105 </verbatim>
       
   106 
       
   107 ---++ Plugin Installation Instructions
       
   108 This plugin is installed by default with a TWiki release. You should not need to install the plugin unless it is for an upgrade.
       
   109 	* Download the ZIP file from the Plugin web (see below)
       
   110 	* Unzip ==%TOPIC%.zip== in your twiki installation directory. Content:
       
   111      | *File:* | *Description:* |
       
   112      | ==data/TWiki/%TOPIC%.txt== | Plugin topic |
       
   113      | ==data/TWiki/%TOPIC%.txt,v== | Plugin topic repository |
       
   114      | ==lib/TWiki/Plugins/%TOPIC%.pm== | Plugin Perl module |
       
   115      | ==pub/TWiki/%TOPIC%/*.gif== | Plugin icon files |
       
   116 	* (Dakar) Visit =configure= in your TWiki installation, and enable the plugin in the {Plugins} section.
       
   117 	* Test if the plugin is correctly installed:
       
   118 	* You will see a series of icons on next line: <br />
       
   119         :-) :) :cool: :( :o :D ;) :p :rolleyes: :mad: :eek: :confused: >:-) >;-) :-X :ok: :yes: :no: :love: :skull:
       
   120 
       
   121 ---++ Plugin Info
       
   122 
       
   123 |  Plugin Author: | TWiki:Main.AndreaSterbini, TWiki:Main.PeterThoeny |
       
   124 |  Copyright: | &copy; 2001-2007, Andrea Sterbini, Peter Thoeny, TWiki Contributors |
       
   125 |  Plugin Version: | 21 Nov 2007 |
       
   126 |  Change History: | <!-- specify latest version first -->&nbsp; |
       
   127 |  21 Nov 2007: | Doc improvements |
       
   128 |  16 Mar 2005: | Fixed typo "scull" |
       
   129 |  5 Mar 2005   | 1.004 Crawford Currie prepared for Dakar |
       
   130 |  21 Nov 2004: | Added benchmarks (no code changes) |
       
   131 |  21 Aug 2004: | Fixed tooltip for Netscape; added "sealed lips", "thumbs up", "yes" "no", "in love", "skull" |
       
   132 |  16 Feb 2004: | Added "devil" and "devilwink" smilies (by TWiki:Main.CrawfordCurrie) |
       
   133 |  26 Feb 2003: | Added "indifferent" smilie |
       
   134 |  20 Oct 2002: | Fixed STDERR warning for non-initialized Plugin |
       
   135 |  20 Apr 2002: | Improved performance; removed non-standard Plugin API dependencies; added standard plugin topic content -- TWiki:Main.PeterThoeny |
       
   136 |  23 Nov 2001: | Added TOPIC and FORMAT setting |
       
   137 |  10 Jun 2001: | Packaged into ZIP |
       
   138 |  28 Feb 2001: | Initial version |
       
   139 |  CPAN Dependencies: | none |
       
   140 |  Other Dependencies: | none |
       
   141 |  Perl Version: | 5.0 |
       
   142 |  TWiki:Plugins/Benchmark: | %TWIKIWEB%.GoodStyle 96%, %TWIKIWEB%.FormattedSearch 98%, SmiliesPlugin 96% |
       
   143 |  Plugin Home: | http://TWiki.org/cgi-bin/view/Plugins/%TOPIC% |
       
   144 |  Feedback: | http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%Dev |
       
   145 |  Appraisal: | http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%Appraisal |
       
   146 
       
   147 __Related Topics:__ %TWIKIWEB%.TWikiPreferences, %TWIKIWEB%.TWikiPlugins
       
   148 
       
   149 %META:FILEATTACHMENT{name="biggrin.gif" attr="h" comment="" date="1071216488" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\biggrin.gif" size="152" user="TWikiContributor" version="1.1"}%
       
   150 %META:FILEATTACHMENT{name="confused.gif" attr="h" comment="" date="1071216502" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\confused.gif" size="110" user="TWikiContributor" version="1.1"}%
       
   151 %META:FILEATTACHMENT{name="cool.gif" attr="h" comment="" date="1071216522" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\cool.gif" size="124" user="TWikiContributor" version="1.1"}%
       
   152 %META:FILEATTACHMENT{name="eek.gif" attr="h" comment="" date="1071216532" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\eek.gif" size="1264" user="TWikiContributor" version="1.1"}%
       
   153 %META:FILEATTACHMENT{name="frown.gif" attr="h" comment="" date="1071216543" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\frown.gif" size="94" user="TWikiContributor" version="1.1"}%
       
   154 %META:FILEATTACHMENT{name="indifferent.gif" attr="h" comment="" date="1071216555" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\indifferent.gif" size="132" user="TWikiContributor" version="1.1"}%
       
   155 %META:FILEATTACHMENT{name="mad.gif" attr="h" comment="" date="1071216566" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\mad.gif" size="154" user="TWikiContributor" version="1.1"}%
       
   156 %META:FILEATTACHMENT{name="redface.gif" attr="h" comment="" date="1071216576" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\redface.gif" size="136" user="TWikiContributor" version="1.1"}%
       
   157 %META:FILEATTACHMENT{name="rolleyes.gif" attr="h" comment="" date="1071216591" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\rolleyes.gif" size="1784" user="TWikiContributor" version="1.1"}%
       
   158 %META:FILEATTACHMENT{name="smile.gif" attr="h" comment="" date="1071216609" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\smile.gif" size="93" user="TWikiContributor" version="1.1"}%
       
   159 %META:FILEATTACHMENT{name="tongue.gif" attr="h" comment="" date="1071216632" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\tongue.gif" size="338" user="TWikiContributor" version="1.1"}%
       
   160 %META:FILEATTACHMENT{name="wink.gif" attr="h" comment="" date="1071216641" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\wink.gif" size="135" user="TWikiContributor" version="1.1"}%
       
   161 %META:FILEATTACHMENT{name="devil.gif" attr="h" comment="" date="1077002192" path="C:\Data\Temp\devil.gif" size="139" user="TWikiContributor" version="1.1"}%
       
   162 %META:FILEATTACHMENT{name="devilwink.gif" attr="h" comment="" date="1077002138" path="C:\Data\Temp\devilwink.gif" size="141" user="TWikiContributor" version="1.1"}%
       
   163 %META:FILEATTACHMENT{name="sealed.gif" attr="h" comment="" date="1093124420" path="C:\Data\Temp\1\sealed.gif" size="142" user="TWikiContributor" version="1.1"}%
       
   164 %META:FILEATTACHMENT{name="thumbs.gif" attr="h" comment="" date="1093124440" path="C:\Data\Temp\1\thumbs.gif" size="166" user="TWikiContributor" version="1.1"}%
       
   165 %META:FILEATTACHMENT{name="yes.gif" attr="h" comment="" date="1093124449" path="C:\Data\Temp\1\yes.gif" size="262" user="TWikiContributor" version="1.1"}%
       
   166 %META:FILEATTACHMENT{name="no.gif" attr="h" comment="" date="1093124458" path="C:\Data\Temp\1\no.gif" size="468" user="TWikiContributor" version="1.1"}%
       
   167 %META:FILEATTACHMENT{name="love.gif" attr="h" comment="" date="1093124471" path="C:\Data\Temp\1\love.gif" size="379" user="TWikiContributor" version="1.1"}%
       
   168 %META:FILEATTACHMENT{name="skull.gif" attr="h" comment="" date="1093124482" path="C:\Data\Temp\1\skull.gif" size="1006" user="TWikiContributor" version="1.1"}%
       
   169 @
       
   170 
       
   171 
       
   172 1.6
       
   173 log
       
   174 @buildrelease
       
   175 @
       
   176 text
       
   177 @d1 1
       
   178 a1 2
       
   179 %META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.0" version="6"}%
       
   180 
       
   181 d35 2
       
   182 a36 2
       
   183 | <nop>:love:       | %ATTACHURL%/love.gif        | "in love" |
       
   184 | <nop>:skull:      | %ATTACHURL%/skull.gif       | "skull" |
       
   185 d71 2
       
   186 a72 1
       
   187 |  Plugin Version: | 1.004 |
       
   188 d74 1
       
   189 a95 3
       
   190 
       
   191 
       
   192 
       
   193 @
       
   194 
       
   195 
       
   196 1.5
       
   197 log
       
   198 @buildrelease
       
   199 @
       
   200 text
       
   201 @d1 1
       
   202 a1 1
       
   203 %META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.0" version="5"}%
       
   204 d45 1
       
   205 a45 1
       
   206 	* Set SHORTDESCRIPTION = Render smilies as icons, like =&nbsp;:-)= for :-) or =&nbsp;:cool:= for :cool:
       
   207 @
       
   208 
       
   209 
       
   210 1.4
       
   211 log
       
   212 @buildrelease
       
   213 @
       
   214 text
       
   215 @d1 1
       
   216 a1 1
       
   217 %META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.0" version="4"}%
       
   218 d9 29
       
   219 a37 29
       
   220 | *You type*		| *You see*					  | *Emotion* |
       
   221 | <nop>:-)			 | %ATTACHURL%/smile.gif		 | "smile" |
       
   222 | <nop>:)			| %ATTACHURL%/smile.gif		 | "smile" |
       
   223 | <nop>8-)			 | %ATTACHURL%/cool.gif		  | "cool!" |
       
   224 | <nop>:cool:		 | %ATTACHURL%/cool.gif		  | "cool!" |
       
   225 | <nop>:-I			 | %ATTACHURL%/indifferent.gif | "indifferent" |
       
   226 | <nop>:(			| %ATTACHURL%/frown.gif		 | "frown" |
       
   227 | <nop>:-(			 | %ATTACHURL%/frown.gif		 | "frown" |
       
   228 | <nop>:o			| %ATTACHURL%/redface.gif	  | "embarrassment" |
       
   229 | <nop>:D			| %ATTACHURL%/biggrin.gif	  | "big grin" |
       
   230 | <nop>:-D			 | %ATTACHURL%/biggrin.gif	  | "big grin" |
       
   231 | <nop>;)			| %ATTACHURL%/wink.gif		  | "wink" |
       
   232 | <nop>;-)			 | %ATTACHURL%/wink.gif		  | "wink" |
       
   233 | <nop>:p			| %ATTACHURL%/tongue.gif		| "stick out tongue" |
       
   234 | <nop>:-p			| %ATTACHURL%/tongue.gif		| "stick out tongue" |
       
   235 | <nop>:rolleyes:	| %ATTACHURL%/rolleyes.gif	 | "roll eyes (sarcastic)" |
       
   236 | <nop>:mad:		| %ATTACHURL%/mad.gif			| "mad!" |
       
   237 | <nop>:eek:		| %ATTACHURL%/eek.gif			| "eek!" |
       
   238 | <nop>:confused:	| %ATTACHURL%/confused.gif	 | "confused" |
       
   239 | <nop>&nbsp;>:-)	| %ATTACHURL%/devil.gif		 | "hehe!" |
       
   240 | <nop>:devil:		| %ATTACHURL%/devil.gif		 | "hehe!" |
       
   241 | <nop>&nbsp;>;-)	| %ATTACHURL%/devilwink.gif	| "hehe! (friendly)" |
       
   242 | <nop>:devilish:	| %ATTACHURL%/devilwink.gif	| "hehe! (friendly)" |
       
   243 | <nop>:-X			 | %ATTACHURL%/sealed.gif		| "sealed lips" |
       
   244 | <nop>:ok:			| %ATTACHURL%/thumbs.gif		| "thumbs up" |
       
   245 | <nop>:yes:		| %ATTACHURL%/yes.gif			| "yes" |
       
   246 | <nop>:no:			| %ATTACHURL%/no.gif			 | "no" |
       
   247 | <nop>:love:		 | %ATTACHURL%/love.gif		  | "in love" |
       
   248 | <nop>:skull:		| %ATTACHURL%/skull.gif		 | "skull" |
       
   249 d59 5
       
   250 a63 5
       
   251 	  | *File:* | *Description:* |
       
   252 	  | ==data/TWiki/%TOPIC%.txt== | Plugin topic |
       
   253 	  | ==data/TWiki/%TOPIC%.txt,v== | Plugin topic repository |
       
   254 	  | ==lib/TWiki/Plugins/%TOPIC%.pm== | Plugin Perl module |
       
   255 	  | ==pub/TWiki/%TOPIC%/*.gif== | Plugin icon files |
       
   256 d67 1
       
   257 a67 1
       
   258 		  :-) :) :cool: :( :o :D ;) :p :rolleyes: :mad: :eek: :confused: >:-) >;-) :-X :ok: :yes: :no: :love: :skull:
       
   259 d75 1
       
   260 a75 1
       
   261 |  5 Mar 2005	| 1.004 Crawford Currie prepared for Dakar |
       
   262 @
       
   263 
       
   264 
       
   265 1.3
       
   266 log
       
   267 @none
       
   268 @
       
   269 text
       
   270 @d1 2
       
   271 a2 1
       
   272 %META:TOPICINFO{author="PeterThoeny" date="1093124772" format="1.0" version="1.3"}%
       
   273 d9 29
       
   274 a37 30
       
   275 | *You type*		| *You see*					 | *Emotion* |
       
   276 | <nop>:-)		  | %ATTACHURL%/smile.gif	 | "smile" |
       
   277 | <nop>:)			| %ATTACHURL%/smile.gif	 | "smile" |
       
   278 | <nop>8-)		  | %ATTACHURL%/cool.gif	  | "cool!" |
       
   279 | <nop>:cool:	  | %ATTACHURL%/cool.gif	  | "cool!" |
       
   280 | <nop>:-I		  | %ATTACHURL%/indifferent.gif | "indifferent" |
       
   281 | <nop>:(			| %ATTACHURL%/frown.gif	 | "frown" |
       
   282 | <nop>:-(		  | %ATTACHURL%/frown.gif	 | "frown" |
       
   283 | <nop>:o			| %ATTACHURL%/redface.gif  | "embarrassment" |
       
   284 | <nop>:D			| %ATTACHURL%/biggrin.gif  | "big grin" |
       
   285 | <nop>:-D		  | %ATTACHURL%/biggrin.gif  | "big grin" |
       
   286 | <nop>;)			| %ATTACHURL%/wink.gif	  | "wink" |
       
   287 | <nop>;-)		  | %ATTACHURL%/wink.gif	  | "wink" |
       
   288 | <nop>:p			| %ATTACHURL%/tongue.gif	| "stick out tongue" |
       
   289 | <nop>:-p			| %ATTACHURL%/tongue.gif	| "stick out tongue" |
       
   290 | <nop>:rolleyes: | %ATTACHURL%/rolleyes.gif | "roll eyes (sarcastic)" |
       
   291 | <nop>:mad:		| %ATTACHURL%/mad.gif		| "mad!" |
       
   292 | <nop>:eek:		| %ATTACHURL%/eek.gif		| "eek!" |
       
   293 | <nop>:confused: | %ATTACHURL%/confused.gif | "confused" |
       
   294 | <nop>&nbsp;>:-) | %ATTACHURL%/devil.gif	 | "hehe!" |
       
   295 | <nop>:devil:	 | %ATTACHURL%/devil.gif	 | "hehe!" |
       
   296 | <nop>&nbsp;>;-) | %ATTACHURL%/devilwink.gif | "hehe! (friendly)" |
       
   297 | <nop>:devilish: | %ATTACHURL%/devilwink.gif | "hehe! (friendly)" |
       
   298 | <nop>:-X		  | %ATTACHURL%/sealed.gif	| "sealed lips" |
       
   299 | <nop>:ok:		 | %ATTACHURL%/thumbs.gif	| "thumbs up" |
       
   300 | <nop>:yes:		| %ATTACHURL%/yes.gif		| "yes" |
       
   301 | <nop>:no:		 | %ATTACHURL%/no.gif		 | "no" |
       
   302 | <nop>:love:	  | %ATTACHURL%/love.gif	  | "in love" |
       
   303 | <nop>:scull:	 | %ATTACHURL%/scull.gif	 | "scull" |
       
   304 
       
   305 d45 1
       
   306 a45 4
       
   307 		* Set SHORTDESCRIPTION = Render smilies as icons, like =&nbsp;:-)= for :-) or =&nbsp;:cool:= for :cool:
       
   308 
       
   309 	* Set DEBUG to 1 to get debug messages in =data/debug.txt=. Default: =0=
       
   310 		* Set DEBUG = 0
       
   311 d48 1
       
   312 a48 1
       
   313 		* #Set TOPIC = TWiki.SmiliesPlugin
       
   314 d52 1
       
   315 a52 1
       
   316 		* #Set FORMAT = <img src="$url" alt="$emoticon" title="$emoticon" border="0" />
       
   317 a54 1
       
   318 
       
   319 d56 1
       
   320 a56 1
       
   321 
       
   322 d64 1
       
   323 d66 2
       
   324 a67 2
       
   325 		* You will see a series of icons on next line: <br />
       
   326 		  :-) :) :cool: :( :o :D ;) :p :rolleyes: :mad: :eek: :confused: >:-) >;-) :-X :ok: :yes: :no: :love: :scull:
       
   327 d72 1
       
   328 a72 1
       
   329 |  Plugin Version: | 21 Aug 2004 (v1.003) |
       
   330 d74 4
       
   331 a77 1
       
   332 |  21 Aug 2004: | Fixed tooltip for Netscape; added "sealed lips", "thumbs up", "yes" "no", "in love", "scull" |
       
   333 d88 1
       
   334 d91 1
       
   335 a94 2
       
   336 -- TWiki:Main.AndreaSterbini - 28 Dec 2000 <br />
       
   337 -- TWiki:Main.PeterThoeny - 21 Aug 2004
       
   338 d96 22
       
   339 a117 20
       
   340 %META:FILEATTACHMENT{name="biggrin.gif" attr="h" comment="" date="1071216488" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\biggrin.gif" size="152" user="PeterThoeny" version="1.1"}%
       
   341 %META:FILEATTACHMENT{name="confused.gif" attr="h" comment="" date="1071216502" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\confused.gif" size="110" user="PeterThoeny" version="1.1"}%
       
   342 %META:FILEATTACHMENT{name="cool.gif" attr="h" comment="" date="1071216522" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\cool.gif" size="124" user="PeterThoeny" version="1.1"}%
       
   343 %META:FILEATTACHMENT{name="eek.gif" attr="h" comment="" date="1071216532" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\eek.gif" size="1264" user="PeterThoeny" version="1.1"}%
       
   344 %META:FILEATTACHMENT{name="frown.gif" attr="h" comment="" date="1071216543" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\frown.gif" size="94" user="PeterThoeny" version="1.1"}%
       
   345 %META:FILEATTACHMENT{name="indifferent.gif" attr="h" comment="" date="1071216555" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\indifferent.gif" size="132" user="PeterThoeny" version="1.1"}%
       
   346 %META:FILEATTACHMENT{name="mad.gif" attr="h" comment="" date="1071216566" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\mad.gif" size="154" user="PeterThoeny" version="1.1"}%
       
   347 %META:FILEATTACHMENT{name="redface.gif" attr="h" comment="" date="1071216576" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\redface.gif" size="136" user="PeterThoeny" version="1.1"}%
       
   348 %META:FILEATTACHMENT{name="rolleyes.gif" attr="h" comment="" date="1071216591" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\rolleyes.gif" size="1784" user="PeterThoeny" version="1.1"}%
       
   349 %META:FILEATTACHMENT{name="smile.gif" attr="h" comment="" date="1071216609" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\smile.gif" size="93" user="PeterThoeny" version="1.1"}%
       
   350 %META:FILEATTACHMENT{name="tongue.gif" attr="h" comment="" date="1071216632" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\tongue.gif" size="338" user="PeterThoeny" version="1.1"}%
       
   351 %META:FILEATTACHMENT{name="wink.gif" attr="h" comment="" date="1071216641" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\wink.gif" size="135" user="PeterThoeny" version="1.1"}%
       
   352 %META:FILEATTACHMENT{name="devil.gif" attr="h" comment="" date="1077002192" path="C:\Data\Temp\devil.gif" size="139" user="PeterThoeny" version="1.1"}%
       
   353 %META:FILEATTACHMENT{name="devilwink.gif" attr="h" comment="" date="1077002138" path="C:\Data\Temp\devilwink.gif" size="141" user="PeterThoeny" version="1.1"}%
       
   354 %META:FILEATTACHMENT{name="sealed.gif" attr="h" comment="" date="1093124420" path="C:\Data\Temp\1\sealed.gif" size="142" user="PeterThoeny" version="1.1"}%
       
   355 %META:FILEATTACHMENT{name="thumbs.gif" attr="h" comment="" date="1093124440" path="C:\Data\Temp\1\thumbs.gif" size="166" user="PeterThoeny" version="1.1"}%
       
   356 %META:FILEATTACHMENT{name="yes.gif" attr="h" comment="" date="1093124449" path="C:\Data\Temp\1\yes.gif" size="262" user="PeterThoeny" version="1.1"}%
       
   357 %META:FILEATTACHMENT{name="no.gif" attr="h" comment="" date="1093124458" path="C:\Data\Temp\1\no.gif" size="468" user="PeterThoeny" version="1.1"}%
       
   358 %META:FILEATTACHMENT{name="love.gif" attr="h" comment="" date="1093124471" path="C:\Data\Temp\1\love.gif" size="379" user="PeterThoeny" version="1.1"}%
       
   359 %META:FILEATTACHMENT{name="scull.gif" attr="h" comment="" date="1093124482" path="C:\Data\Temp\1\scull.gif" size="1006" user="PeterThoeny" version="1.1"}%
       
   360 @
       
   361 
       
   362 
       
   363 1.2
       
   364 log
       
   365 @none
       
   366 @
       
   367 text
       
   368 @d1 95
       
   369 a95 87
       
   370 %META:TOPICINFO{author="PeterThoeny" date="1077002220" format="1.0" version="1.2"}%
       
   371 ---+ The Smilies Plugin <nop>:-)
       
   372 
       
   373 Smilies are common in e-mail messages and bulletin board posts. They are used to convey an emotion, such as a smile :<nop>-) or a frown :<nop>-( . This plugin automatically converts certain smilies to a nice small icon.
       
   374 
       
   375 Here is the list of smilies supported by this plugin. To add others, attach new icons to this topic and tweak the table below.
       
   376 
       
   377 | *You type*		| *You see*					 | *Emotion* |
       
   378 | <nop>:-)		  | %ATTACHURL%/smile.gif	 | "smile" |
       
   379 | <nop>:)			| %ATTACHURL%/smile.gif	 | "smile" |
       
   380 | <nop>8-)		  | %ATTACHURL%/cool.gif	  | "cool!" |
       
   381 | <nop>:cool:	  | %ATTACHURL%/cool.gif	  | "cool!" |
       
   382 | <nop>:-I		  | %ATTACHURL%/indifferent.gif | "indifferent" |
       
   383 | <nop>:(			| %ATTACHURL%/frown.gif	 | "frown" |
       
   384 | <nop>:-(		  | %ATTACHURL%/frown.gif	 | "frown" |
       
   385 | <nop>:o			| %ATTACHURL%/redface.gif  | "embarrassment" |
       
   386 | <nop>:D			| %ATTACHURL%/biggrin.gif  | "big grin" |
       
   387 | <nop>:-D		  | %ATTACHURL%/biggrin.gif  | "big grin" |
       
   388 | <nop>;)			| %ATTACHURL%/wink.gif	  | "wink" |
       
   389 | <nop>;-)		  | %ATTACHURL%/wink.gif	  | "wink" |
       
   390 | <nop>:p			| %ATTACHURL%/tongue.gif	| "razz (stick out tongue)" |
       
   391 | <nop>:rolleyes: | %ATTACHURL%/rolleyes.gif | "roll eyes (sarcastic)" |
       
   392 | <nop>:mad:		| %ATTACHURL%/mad.gif		| "mad!" |
       
   393 | <nop>:eek:		| %ATTACHURL%/eek.gif		| "eek!" |
       
   394 | <nop>:confused: | %ATTACHURL%/confused.gif | "confused" |
       
   395 | <nop>&nbsp;>:-) | %ATTACHURL%/devil.gif	 | "hehe!" |
       
   396 | <nop>:devil:	 | %ATTACHURL%/devil.gif	 | "hehe!" |
       
   397 | <nop>&nbsp;>;-) | %ATTACHURL%/devilwink.gif | "hehe! (friendly)" |
       
   398 | <nop>:devilish: | %ATTACHURL%/devilwink.gif | "hehe! (friendly)" |
       
   399 
       
   400 
       
   401 ---++ <nop>%TOPIC% Global Settings
       
   402 
       
   403 Plugin settings are stored as preferences variables. To reference
       
   404 a plugin setting write ==%<nop>&lt;plugin&gt;_&lt;setting&gt;%==, for example, ==%<nop>INTERWIKIPLUGIN_SHORTDESCRIPTION%==
       
   405 
       
   406 	* One line description, shown in the %TWIKIWEB%.TextFormattingRules topic:
       
   407 		* Set SHORTDESCRIPTION = Render smilies as icons, like =&nbsp;:-)= for :-) or =&nbsp;:cool:= for :cool:
       
   408 
       
   409 	* Set DEBUG to 1 to get debug messages in =data/debug.txt=. Default: =0=
       
   410 		* Set DEBUG = 0
       
   411 
       
   412 	* The name of the topic containig your Smilies. Default: ==%WEB%.SmiliesPlugin==
       
   413 		* #Set TOPIC = TWiki.SmiliesPlugin
       
   414 
       
   415 	* The way the _emoticon_ is displayed. You can use ==$emoticon== (e.g. =:<nop>D=), ==$url== (e.g. =%<nop>ATTACHURL%/biggrin.gif=) and ==$tooltip== (e.g. ="big grin"=). Default: ==&lt;img src="$url" alt="$tooltip" /&gt;==
       
   416 <verbatim>
       
   417 		* #Set FORMAT = <img src="$url" alt="$emoticon" />
       
   418 </verbatim>
       
   419 
       
   420 
       
   421 ---++ Plugin Installation Instructions
       
   422 
       
   423 	* Download the ZIP file from the Plugin web (see below)
       
   424 	* Unzip ==%TOPIC%.zip== in your twiki installation directory. Content:
       
   425 	  | *File:* | *Description:* |
       
   426 	  | ==data/TWiki/%TOPIC%.txt== | Plugin topic |
       
   427 	  | ==data/TWiki/%TOPIC%.txt,v== | Plugin topic repository |
       
   428 	  | ==lib/TWiki/Plugins/%TOPIC%.pm== | Plugin Perl module |
       
   429 	  | ==pub/TWiki/%TOPIC%/*.gif== | Plugin icon files |
       
   430 	* Test if the plugin is correctly installed:
       
   431 		* You will see a series of icons on next line: <br />
       
   432 		  :-) :) :cool: :( :o :D ;) :p :rolleyes: :mad: :eek: :confused: >:-) >;-)
       
   433 
       
   434 
       
   435 ---++ Plugin Info
       
   436 
       
   437 |  Plugin Author: | TWiki:Main.AndreaSterbini |
       
   438 |  Plugin Version: | 16 Feb 2004 (v1.002) |
       
   439 |  Change History: | <!-- specify latest version first -->&nbsp; |
       
   440 |  16 Feb 2004: | Added "devil" and "devilwink" smilies (by TWiki:Main.CrawfordCurrie) |
       
   441 |  26 Feb 2003: | Added "indifferent" smilie |
       
   442 |  20 Oct 2002: | Fixed STDERR warning for non-initialized Plugin |
       
   443 |  20 Apr 2002: | Improved performance; removed non-standard Plugin API dependencies; added standard plugin topic content -- TWiki:Main.PeterThoeny |
       
   444 |  23 Nov 2001: | Added TOPIC and FORMAT setting |
       
   445 |  10 Jun 2001: | Packaged into ZIP |
       
   446 |  28 Feb 2001: | Initial version |
       
   447 |  CPAN Dependencies: | none |
       
   448 |  Other Dependencies: | none |
       
   449 |  Perl Version: | 5.0 |
       
   450 |  Plugin Home: | http://TWiki.org/cgi-bin/view/Plugins/%TOPIC% |
       
   451 |  Feedback: | http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%Dev |
       
   452 
       
   453 __Related Topics:__ %TWIKIWEB%.TWikiPreferences, %TWIKIWEB%.TWikiPlugins
       
   454 
       
   455 -- TWiki:Main.AndreaSterbini - 28 Dec 2000 <br />
       
   456 -- TWiki:Main.PeterThoeny - 16 Feb 2004
       
   457 d110 6
       
   458 @
       
   459 
       
   460 
       
   461 1.1
       
   462 log
       
   463 @none
       
   464 @
       
   465 text
       
   466 @d1 2
       
   467 a2 2
       
   468 %META:TOPICINFO{author="PeterThoeny" date="1071217740" format="1.0" version="1.1"}%
       
   469 ---+ The Smilies Plugin
       
   470 d26 4
       
   471 d63 1
       
   472 a63 1
       
   473 		  :-) :) :cool: :( :o :D ;) :p :rolleyes: :mad: :eek: :confused:
       
   474 d68 2
       
   475 a69 2
       
   476 |  Plugin Author: | %TWIKIWEB%.AndreaSterbini |
       
   477 |  Plugin Version: | 26 Feb 2003 |
       
   478 d71 1
       
   479 d74 1
       
   480 a74 1
       
   481 |  20 Apr 2002: | Improved performance; removed non-standard Plugin API dependencies; added standard plugin topic content -- %TWIKIWEB%.PeterThoeny |
       
   482 d86 2
       
   483 a87 2
       
   484 -- %TWIKIWEB%.AndreaSterbini - 28 Dec 2000 <br />
       
   485 -- %TWIKIWEB%.PeterThoeny - 26 Feb 2003
       
   486 d100 2
       
   487 @