From e4b735a1982fe8640b381de812e3c8acdebe0c7a Mon Sep 17 00:00:00 2001 From: Evgeny Gryaznov Date: Fri, 10 Oct 2008 21:43:22 +0000 Subject: [PATCH] switch leavemessagesent to template git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@165 c66351dc-e62f-0410-b875-e3a5c0b9693f --- src/messenger/webim/leavemessage.php | 3 +- src/messenger/webim/view/chat_leavemsg.php | 148 ------------------ .../webim/view/chat_leavemsgsent.php | 101 ------------ 3 files changed, 1 insertion(+), 251 deletions(-) delete mode 100644 src/messenger/webim/view/chat_leavemsg.php delete mode 100644 src/messenger/webim/view/chat_leavemsgsent.php diff --git a/src/messenger/webim/leavemessage.php b/src/messenger/webim/leavemessage.php index 1d19b557..34f8c234 100644 --- a/src/messenger/webim/leavemessage.php +++ b/src/messenger/webim/leavemessage.php @@ -53,6 +53,5 @@ if($inbox_mail) { webim_mail($inbox_mail, $email, $subject, $body); } -start_html_output(); -require('view/chat_leavemsgsent.php'); +expand("design/default/leavemessagesent.tpl"); ?> \ No newline at end of file diff --git a/src/messenger/webim/view/chat_leavemsg.php b/src/messenger/webim/view/chat_leavemsg.php deleted file mode 100644 index fddd6b71..00000000 --- a/src/messenger/webim/view/chat_leavemsg.php +++ /dev/null @@ -1,148 +0,0 @@ - - - - -<?php echo getlocal("leavemessage.title") ?> - - - - - - - - -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

-
- 0 ) { ?> - - - - - - -
- 0 ) { - print getlocal("errors.header"); - foreach( $errors as $e ) { - print getlocal("errors.prefix"); - print $e; - print getlocal("errors.suffix"); - } - print getlocal("errors.footer"); - } ?> - -
- -
- -
- - - - - - - - - - - - - - - - - - - - - -
:
:
:
- -
- -
- - - - - - - - - -
- - - - - - -
"> -
- ">
-
">
-
" title="" target="_blank"> - - - - - - -
">">
-
- -
- -
- -
- - - diff --git a/src/messenger/webim/view/chat_leavemsgsent.php b/src/messenger/webim/view/chat_leavemsgsent.php deleted file mode 100644 index 2a0ecb83..00000000 --- a/src/messenger/webim/view/chat_leavemsgsent.php +++ /dev/null @@ -1,101 +0,0 @@ - - - - -<?php echo getlocal("leavemessage.sent.title") ?> - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - -
-

-
- - - - - - - - - - - - - - - - - - - -
- -
-
- -
- - - - - -
- - - - - - -
">">
-
- -
- -
- - -