From a017011b5f32bc5cfa7c891bfd524607e40038eb Mon Sep 17 00:00:00 2001 From: Evgeny Gryaznov Date: Fri, 10 Oct 2008 21:30:17 +0000 Subject: [PATCH] templates for chat window started git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@163 c66351dc-e62f-0410-b875-e3a5c0b9693f --- src/messenger/webim/design/.htaccess | 1 + src/messenger/webim/design/default/chat.tpl | 284 ++++++++++++++++++ .../webim/design/default/leavemessage.tpl | 124 ++++++++ .../webim/design/default/leavemessagesent.tpl | 86 ++++++ 4 files changed, 495 insertions(+) create mode 100644 src/messenger/webim/design/.htaccess create mode 100644 src/messenger/webim/design/default/chat.tpl create mode 100644 src/messenger/webim/design/default/leavemessage.tpl create mode 100644 src/messenger/webim/design/default/leavemessagesent.tpl diff --git a/src/messenger/webim/design/.htaccess b/src/messenger/webim/design/.htaccess new file mode 100644 index 00000000..14249c50 --- /dev/null +++ b/src/messenger/webim/design/.htaccess @@ -0,0 +1 @@ +Deny from all \ No newline at end of file diff --git a/src/messenger/webim/design/default/chat.tpl b/src/messenger/webim/design/default/chat.tpl new file mode 100644 index 00000000..34417883 --- /dev/null +++ b/src/messenger/webim/design/default/chat.tpl @@ -0,0 +1,284 @@ + + + +${msg:chat.window.title.agent} + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ + + + + + + + + + + ${ifnot:ct.company.chatLogoURL} + + + + ${endif:ct.company.chatLogoURL} +
+ ${if:ct.company.chatLogoURL} + ${if:webimHost} + + + + ${else:webimHost} + + ${endif:webimHost} + ${endif:ct.company.chatLogoURL} +
+ ${if:webimHost} + ${page:ct.company.name} + ${else:webimHost} + ${page:ct.company.name} + ${endif:webimHost} +
+
+ + + + + + + + + + + + + +
+ + + + + + + + + + +
${msg:chat.window.product_name} + + + + +
${msg:site.title}
+
+ +
+ + + +${if:agent} + +${endif:agent} +${if:user} + ${if:canChangeName} + + ${else:canChangeName} + + ${endif:canChangeName} + +${if:agent} + + +${endif:agent} + + +${if:user} + +${endif:user} +${if:agent} +${if:canpost} + +${endif:canpost} +${if:historyParams} + +${endif:historyParams} +${endif:agent} + + + + +
+ ${if:historyParams} + ${msg:chat.window.chatting_with} + ${print:ct.user.name} + ${else:historyParams} + ${msg:chat.window.chatting_with} ${print:ct.user.name} + ${endif:historyParams} + +
+ + + + + + +
${msg:chat.client.name}>>
+
+
+ + + + +
${page:ct.user.name}
+
+
+ ${msg:chat.client.name} ${page:ct.user.name} + + Mail  + Redirect History  + Refresh 
+ +
+ + +
+
+
+ + + + + + +${if:canpost} + + + + + + + ${if:isOpera95} + + + +${endif:canpost} +
+ + + + + + + + + + + + +
+ +
+
+ ${else:isOpera95} + + ${endif:isOpera95} +
+ +
+
+ +
+ + + + + + +
+ + + + +${if:agent}${if:canpost} + +${endif:canpost}${endif:agent} + +
+ +
+
${msg:chat.window.poweredby} ${msg:chat.window.poweredreftext} + +${if:canpost} + + + + + + + + +
+
+
+
+${endif:canpost} +
+
+ +
+ + + + diff --git a/src/messenger/webim/design/default/leavemessage.tpl b/src/messenger/webim/design/default/leavemessage.tpl new file mode 100644 index 00000000..2a98a0b3 --- /dev/null +++ b/src/messenger/webim/design/default/leavemessage.tpl @@ -0,0 +1,124 @@ + + + +${msg:leavemessage.title} + + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

${msg:leavemessage.title}

+
+${if:errors} + + + + + + +
+ ${errors} +
+${endif:errors} +
+ +
+ + + + + + + + + + + + + + + + + + + + + +
${msg:leavemessage.descr}
${msg:form.field.email}:
${msg:form.field.name}:
${msg:form.field.message}:
+ +
+ +
+ + + + + + + + + +
+ + + + + + +
+
+ ${msg:leavemessage.perform}
+
+
${msg:chat.window.poweredby} ${msg:chat.window.poweredreftext} + + + + + + +
${msg:leavemessage.close}
+
+ +
+ +
+ +
+ + diff --git a/src/messenger/webim/design/default/leavemessagesent.tpl b/src/messenger/webim/design/default/leavemessagesent.tpl new file mode 100644 index 00000000..59ebd6a6 --- /dev/null +++ b/src/messenger/webim/design/default/leavemessagesent.tpl @@ -0,0 +1,86 @@ + + + +${msg:leavemessage.sent.title} + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+

${msg:leavemessage.sent.title}

+
+ + + + + + + + + + + + + + + + + + + +
+ + ${msg:leavemessage.sent.message}
+
+ +
+ + + + + +
+ + + + + + +
${msg:chat.mailthread.sent.close}
+
+ +
+ +
+ + \ No newline at end of file