From ded5ac98887fe7cf386013f3e054088c75a655aa Mon Sep 17 00:00:00 2001 From: Evgeny Gryaznov Date: Sun, 12 Oct 2008 00:43:14 +0000 Subject: [PATCH] separate prefix for URL messages git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@175 c66351dc-e62f-0410-b875-e3a5c0b9693f --- src/messenger/webim/design/default/chat.tpl | 4 ++-- src/messenger/webim/libs/expand.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/messenger/webim/design/default/chat.tpl b/src/messenger/webim/design/default/chat.tpl index 01d99a8b..39bb2cd9 100644 --- a/src/messenger/webim/design/default/chat.tpl +++ b/src/messenger/webim/design/default/chat.tpl @@ -177,7 +177,7 @@ ${endif:agent} - +
@@ -204,7 +204,7 @@ ${if:canpost} - + ${if:isOpera95}
${else:isOpera95} diff --git a/src/messenger/webim/libs/expand.php b/src/messenger/webim/libs/expand.php index 18fe84af..aef55a9f 100644 --- a/src/messenger/webim/libs/expand.php +++ b/src/messenger/webim/libs/expand.php @@ -53,7 +53,7 @@ function expand_var($matches) { } } - } else if($prefix == 'msg:') { + } else if($prefix == 'msg:' || $prefix == 'url:') { if(strpos($var,",")!==false) { $pos = strpos($var,","); $param = substr($var, $pos+1);