b2evolution

Multilingual multiuser multiblog engine

b2evolution Technical Documentation (0.9.x) [ class tree: plugins ] [ index: plugins ] [ all elements ]

Source for file _smilies.conf.php

Documentation is available at _smilies.conf.php

  1. <?php
  2. /**
  3.  * This file hold the configuration for the Image Smilies plugins for b2evolution.
  4.  * These settings apply to both the renderer and the toolbar Smilies plugin.
  5.  *
  6.  * b2evolution - {@link http://b2evolution.net/}
  7.  * Released under GNU GPL License - {@link http://b2evolution.net/about/license.html}
  8.  * @copyright (c)2003-2005 by Francois PLANQUE - {@link http://fplanque.net/}
  9.  *
  10.  * @package plugins
  11.  */
  12. if!defined('DB_USER') ) die'Please, do not access this page directly.' );
  13.  
  14. global $img_url;
  15.  
  16. # the directory where your smilies are (no trailing slash)
  17. $this->smilies_path $img_url.'/smilies';
  18.  
  19. # here's the conversion table, you can modify it if you know what you're doing
  20. # smilies will be displayed in their order of appearance
  21. $this->smilies array(
  22.                                         '=>'                => 'icon_arrow.gif',
  23.                                 //    ':!:'                => 'icon_exclaim.gif',
  24.                                 //    ':?:'                => 'icon_question.gif',
  25.                                         ':idea:'        => 'icon_idea.gif',
  26.                                         ':)'                => 'icon_smile.gif',
  27.                                         ':D'                => 'icon_biggrin.gif',
  28.                                 //    ':DD'                => 'icon_lol.gif',
  29.                                 //    ':]'                => 'icon_cheeze.gif',
  30.                                         ':p'                => 'icon_razz.gif',
  31.                                         'B)'                => 'icon_cool.gif',
  32.                                         ';)'                => 'icon_wink.gif',
  33.                                         ':>'                => 'icon_twisted.gif',
  34.                                 //    ':o'                => 'icon_surprised.gif',
  35.                                 //    '8|'                => 'icon_eek.gif',
  36.                                 //    '>:-['            => 'icon_evil.gif',
  37.                                         ':roll:'        => 'icon_rolleyes.gif',
  38.                                         ':oops:'        => 'icon_redface.gif',
  39.                                         ':|'                => 'icon_neutral.gif',
  40.                                         ':-/'                => 'icon_confused.gif',
  41.                                         ':('                => 'icon_sad.gif',
  42.                                         '>:('                => 'icon_mad.gif',
  43.                                         ':\'('            => 'icon_cry.gif',
  44.                                         '|-|'                => 'icon_wth.gif',
  45.                                         ':>>'                => 'icon_mrgreen.gif',
  46.                                 //    ':)'                => 'graysmile.gif',
  47.                                 //    ':yes:'            => 'grayyes.gif',
  48.                                         ';D'                => 'graysmilewinkgrin.gif',
  49.                                 //    ':b'                => 'grayrazz.gif',
  50.                                         ':P'                => 'graybigrazz.gif',
  51.                                         ':))'                => 'graylaugh.gif',
  52.                                         '88|'                => 'graybigeek.gif',
  53.                                 //    ')-o'                => 'grayembarrassed.gif',
  54.                                         ':.'                => 'grayshy.gif',
  55.                                 //    'U-('                => 'grayuhoh.gif',
  56.                                 //    ':('                => 'graysad.gif',
  57.                                 //    ':**:'            => 'graysigh.gif',             // alternative: graysighw.gif
  58.                                 //    ':??:'            => 'grayconfused.gif',  // alternative: grayconfusedw.gif
  59.                                 //    ':no:'            => 'grayno.gif',
  60.                                 //    ':`('                => 'graycry.gif',
  61.                                 //    '>:-('            => 'graymad.gif',
  62.                                 //    ':##'                => 'grayupset.gif',            // alternative: grayupsetw.gif
  63.                                         'XX('                => 'graydead.gif',
  64.                                 //    ':zz:'            => 'graysleep.gif',         // alternative: graysleepw.gif
  65.                                 //    ':yawn:'        => 'icon_yawn.gif',
  66.                                 //    ':wave:'        => 'icon_wave.gif',
  67.                                         ':lalala:'    => 'icon_lalala.gif',
  68.                                         ':crazy:'        => 'icon_crazy.gif',
  69.                                 //    '>:XX'            => 'icon_censored.gif',
  70.                                     );
  71.  
  72. // echo 'Smilies: ', count( $this->smilies );
  73.  
  74. ?>

Documentation generated on Tue, 20 May 2008 01:55:44 +0200 by phpDocumentor 1.4.2