initial support for the "emoticons" or "smileys" - defined the config file

here so we can change over all the custom venice-config.xml and ui-config.xml
files before going any further
This commit is contained in:
Eric J. Bowersox
2004-07-27 04:53:30 +00:00
parent 7060b5ff76
commit 8a745717e1
19 changed files with 333 additions and 3 deletions

79
etc/emoticon.xml Normal file
View File

@@ -0,0 +1,79 @@
<?xml version="1.0"?>
<!--
The contents of this file are subject to the Mozilla Public License Version 1.1
(the "License"); you may not use this file except in compliance with the License.
You may obtain a copy of the License at <http://www.mozilla.org/MPL/>.
Software distributed under the License is distributed on an "AS IS" basis, WITHOUT
WARRANTY OF ANY KIND, either express or implied. See the License for the specific
language governing rights and limitations under the License.
The Original Code is the Venice Web Communities System.
The Initial Developer of the Original Code is Eric J. Bowersox <erbo@ricochet.com>,
for Silverwrist Design Studios. Portions created by Eric J. Bowersox are
Copyright (C) 2001-2004 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
Contributor(s):
-->
<!-- Configure the emoticons -->
<emoticon-config>
<prefix-chars>:;</prefix-chars>
<icon name="smile">
<pattern>:)</pattern>
<image width="15" height="15" fixup="true">emote/ei_smile.gif</image>
<text>Smile!</text>
</icon>
<icon name="frown">
<pattern>:(</pattern>
<image width="15" height="15" fixup="true">emote/ei_frown.gif</image>
<text>frown...</text>
</icon>
<icon name="redface">
<pattern>:o</pattern>
<pattern>:O</pattern>
<image width="15" height="15" fixup="true">emote/ei_redface.gif</image>
<text>Boy, is my face red!</text>
</icon>
<icon name="biggrin">
<pattern>:D</pattern>
<image width="15" height="15" fixup="true">emote/ei_biggrin.gif</image>
<text>Grinnin'...</text>
</icon>
<icon name="wink">
<pattern>;)</pattern>
<image width="15" height="15" fixup="true">emote/ei_wink.gif</image>
<text>Wink wink, nudge nudge</text>
</icon>
<icon name="tongue">
<pattern>:p</pattern>
<pattern>:P</pattern>
<image width="15" height="15" fixup="true">emote/ei_tongue.gif</image>
<text>Bleah!</text>
</icon>
<icon name="cool">
<pattern>:cool:</pattern>
<image width="15" height="15" fixup="true">emote/ei_cool.gif</image>
<text>Cool!</text>
</icon>
<icon name="rolleyes">
<pattern>:rolleyes:</pattern>
<image width="15" height="15" fixup="true">emote/ei_rolleyes.gif</image>
<text>Rolling my eyes</text>
</icon>
<icon name="mad">
<pattern>:mad:</pattern>
<image width="15" height="15" fixup="true">emote/ei_mad.gif</image>
<text>I'm mad!</text>
</icon>
<icon name="eek">
<pattern>:eek:</pattern>
<image width="15" height="15" fixup="true">emote/ei_eek.gif</image>
<text>EEK!</text>
</icon>
<icon name="confused">
<pattern>:confused:</pattern>
<image width="15" height="22" fixup="true">emote/ei_confused.gif</image>
<text>Huh???</text>
</icon>
</emoticon-config>

View File

@@ -25,6 +25,9 @@
<!-- The location of the services configuration file, relative to the application root. -->
<services-config>WEB-INF/services-config.xml</services-config>
<!-- The pathname of the emoticons configuration file, relative to the Web application root directory. -->
<emoticon-config>WEB-INF/emoticon.xml</emoticon-config>
<!-- The location of the scripts directory, relative to the application root. -->
<script-dir>WEB-INF/scripts</script-dir>

View File

@@ -30,6 +30,9 @@
<!-- The pathname of the services config file, relative to the Web application root directory. -->
<services-config>WEB-INF/services-config.xml</services-config>
<!-- The pathname of the emoticons configuration file, relative to the Web application root directory. -->
<emoticon-config>WEB-INF/emoticon.xml</emoticon-config>
<!-- If this property is set, these addresses are considered "privileged" and able to log in
as any user -->
<!-- <privileged-addresses>10.29.99.1,127.0.0.1</privileged-addresses> -->