summaryrefslogtreecommitdiff
path: root/plugins/IEView/docs/ieview-templates.txt
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2012-05-15 10:38:20 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2012-05-15 10:38:20 +0000
commit48540940b6c28bb4378abfeb500ec45a625b37b6 (patch)
tree2ef294c0763e802f91d868bdef4229b6868527de /plugins/IEView/docs/ieview-templates.txt
parent5c350913f011e119127baeb32a6aedeb4f0d33bc (diff)
initial commit
git-svn-id: http://svn.miranda-ng.org/main/trunk@2 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/IEView/docs/ieview-templates.txt')
-rw-r--r--plugins/IEView/docs/ieview-templates.txt92
1 files changed, 92 insertions, 0 deletions
diff --git a/plugins/IEView/docs/ieview-templates.txt b/plugins/IEView/docs/ieview-templates.txt
new file mode 100644
index 0000000000..e17303a900
--- /dev/null
+++ b/plugins/IEView/docs/ieview-templates.txt
@@ -0,0 +1,92 @@
+Each template begins with template name, which is a special kind of HTML comment, for instance:
+<!--HTMLStart-->
+or
+<!--MessageIn-->
+A template ends whenever a new template begins or EOF is reached.
+
+The following templates may be defined:
+
+<!--HTMLStart-->
+<!--MessageIn-->
+<!--hMessageIn-->
+<!--MessageOut-->
+<!--hMessageOut-->
+<!--File-->
+<!--hFile-->
+<!--URL-->
+<!--hURL-->
+<!--Status-->
+<!--hStatus-->
+<!--MessageInGroupStart-->
+<!--MessageInGroupInner-->
+<!--MessageInGroupEnd-->
+<!--hMessageInGroupStart-->
+<!--hMessageInGroupInner-->
+<!--hMessageInGroupEnd-->
+<!--MessageOutGroupStart-->
+<!--MessageOutGroupInner-->
+<!--MessageOutGroupEnd-->
+<!--hMessageOutGroupStart-->
+<!--hMessageOutGroupInner-->
+<!--hMessageOutGroupEnd-->
+
+<!--HTMLStartRTL-->
+<!--MessageInRTL-->
+<!--hMessageInRTL-->
+<!--MessageOutRTL-->
+<!--hMessageOutRTL-->
+<!--MessageInGroupStartRTL-->
+<!--MessageInGroupInnerRTL-->
+<!--MessageInGroupEndRTL-->
+<!--hMessageInGroupStartRTL-->
+<!--hMessageInGroupInnerRTL-->
+<!--hMessageInGroupEndRTL-->
+<!--MessageOutGroupStartRTL-->
+<!--MessageOutGroupInnerRTL-->
+<!--MessageOutGroupEndRTL-->
+<!--hMessageOutGroupStartRTL-->
+<!--hMessageOutGroupInnerRTL-->
+<!--hMessageOutGroupEndRTL-->
+
+
+All templates of which names begin with 'h' are used to display historical events.
+
+If a template is not present the corresponding event will not be shown in the log at all !
+
+The following variables are available in all templates EXCEPT HTMLStart:
+%base% - base URL
+%name% - contact's name or user's name (depends on context)
+%time% - event's time
+%date% - event's date
+%text% - event's text
+%cid% - contact's ID or user's ID (depends on context)
+%avatar% - link to contact's picture file or user's picure file (depends on context)
+%avatarIn% - link to contact's picture
+%avatarOut% - link to user's picture
+%nameIn% - contact's name
+%nameOut% - users's name
+%proto% - protocol name
+%uin% - contact's ID or user's ID
+%uinIn% - contact's ID
+%uinOut% - user's ID
+%nick% - contact's nick name or user's nick name
+%nickIn% - contact's nick name
+%nickOut% - user's nick name
+%statusMsg% - contact's status message
+%fileDesc% - file description
+
+The following variables are available in HTMLStart:
+%base% - base URL (this variable should be used in <base> tag)
+%avatarIn% - link to contact's picture
+%avatarOut% - link to user's picture
+%nameIn% - contact's name
+%nameOut% - users's name
+%nickIn% - contact's nick name
+%nickOut% - user's nick name
+%uinIn% - contact's ID
+%uinOut% - user's ID
+%proto% - protocol name
+
+All tokens are also available in Javascript friendly (escaped) form.
+In that case please use the follwoing token names: %\base%, %\time%, %\name% etc.
+