2003-06-13 00:44:37 +02:00
|
|
|
<?php
|
2003-07-23 23:38:10 +02:00
|
|
|
// this file contains customizable arrays for smilies, weekdays and month names.
|
|
|
|
|
|
|
|
|
|
|
|
// the weekdays and the months.. translate them if necessary
|
|
|
|
$weekday[0]='Sunday';
|
|
|
|
$weekday[1]='Monday';
|
|
|
|
$weekday[2]='Tuesday';
|
|
|
|
$weekday[3]='Wednesday';
|
|
|
|
$weekday[4]='Thursday';
|
|
|
|
$weekday[5]='Friday';
|
|
|
|
$weekday[6]='Saturday';
|
|
|
|
|
|
|
|
// the months, translate them if necessary - note: this isn't active everywhere yet
|
|
|
|
$month['01']='January';
|
|
|
|
$month['02']='February';
|
|
|
|
$month['03']='March';
|
|
|
|
$month['04']='April';
|
|
|
|
$month['05']='May';
|
|
|
|
$month['06']='June';
|
|
|
|
$month['07']='July';
|
|
|
|
$month['08']='August';
|
|
|
|
$month['09']='September';
|
|
|
|
$month['10']='October';
|
|
|
|
$month['11']='November';
|
|
|
|
$month['12']='December';
|
|
|
|
|
2003-06-13 00:44:37 +02:00
|
|
|
// here's the conversion table, you can modify it if you know what you're doing
|
|
|
|
$b2smiliestrans = array(
|
2003-09-17 16:05:32 +02:00
|
|
|
' :)' => 'icon_smile.gif',
|
|
|
|
' :D' => 'icon_biggrin.gif',
|
|
|
|
' :-D' => 'icon_biggrin.gif',
|
2003-06-13 00:44:37 +02:00
|
|
|
':grin:' => 'icon_biggrin.gif',
|
2003-09-17 16:05:32 +02:00
|
|
|
' :)' => 'icon_smile.gif',
|
|
|
|
' :-)' => 'icon_smile.gif',
|
2003-06-13 00:44:37 +02:00
|
|
|
':smile:' => 'icon_smile.gif',
|
2003-09-17 16:05:32 +02:00
|
|
|
' :(' => 'icon_sad.gif',
|
|
|
|
' :-(' => 'icon_sad.gif',
|
2003-06-13 00:44:37 +02:00
|
|
|
':sad:' => 'icon_sad.gif',
|
2003-09-17 16:05:32 +02:00
|
|
|
' :o' => 'icon_surprised.gif',
|
|
|
|
' :-o' => 'icon_surprised.gif',
|
2003-06-13 00:44:37 +02:00
|
|
|
':eek:' => 'icon_surprised.gif',
|
2003-09-17 16:05:32 +02:00
|
|
|
' 8O' => 'icon_eek.gif',
|
|
|
|
' 8-O' => 'icon_eek.gif',
|
2003-06-13 00:44:37 +02:00
|
|
|
':shock:' => 'icon_eek.gif',
|
2003-09-17 16:05:32 +02:00
|
|
|
' :?' => 'icon_confused.gif',
|
|
|
|
' :-?' => 'icon_confused.gif',
|
|
|
|
' :???:' => 'icon_confused.gif',
|
|
|
|
' 8)' => 'icon_cool.gif',
|
|
|
|
' 8-)' => 'icon_cool.gif',
|
2003-06-13 00:44:37 +02:00
|
|
|
':cool:' => 'icon_cool.gif',
|
|
|
|
':lol:' => 'icon_lol.gif',
|
2003-09-17 16:05:32 +02:00
|
|
|
' :x' => 'icon_mad.gif',
|
|
|
|
' :-x' => 'icon_mad.gif',
|
2003-06-13 00:44:37 +02:00
|
|
|
':mad:' => 'icon_mad.gif',
|
2003-09-17 16:05:32 +02:00
|
|
|
' :P' => 'icon_razz.gif',
|
|
|
|
' :-P' => 'icon_razz.gif',
|
2003-06-13 00:44:37 +02:00
|
|
|
':razz:' => 'icon_razz.gif',
|
|
|
|
':oops:' => 'icon_redface.gif',
|
|
|
|
':cry:' => 'icon_cry.gif',
|
|
|
|
':evil:' => 'icon_evil.gif',
|
|
|
|
':twisted:' => 'icon_twisted.gif',
|
|
|
|
':roll:' => 'icon_rolleyes.gif',
|
|
|
|
':wink:' => 'icon_wink.gif',
|
2003-09-17 16:05:32 +02:00
|
|
|
' ;)' => 'icon_wink.gif',
|
|
|
|
' ;-)' => 'icon_wink.gif',
|
2003-06-13 00:44:37 +02:00
|
|
|
':!:' => 'icon_exclaim.gif',
|
|
|
|
':?:' => 'icon_question.gif',
|
|
|
|
':idea:' => 'icon_idea.gif',
|
|
|
|
':arrow:' => 'icon_arrow.gif',
|
2003-09-17 16:05:32 +02:00
|
|
|
' :|' => 'icon_neutral.gif',
|
|
|
|
' :-|' => 'icon_neutral.gif',
|
2003-06-13 00:44:37 +02:00
|
|
|
':neutral:' => 'icon_neutral.gif',
|
|
|
|
':mrgreen:' => 'icon_mrgreen.gif',
|
|
|
|
);
|
2003-07-23 23:38:10 +02:00
|
|
|
|
2003-06-13 00:44:37 +02:00
|
|
|
?>
|