mirror of
https://github.com/Mibew/i18n.git
synced 2025-01-22 21:40:28 +03:00
separate prefix for URL messages
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@175 c66351dc-e62f-0410-b875-e3a5c0b9693f
This commit is contained in:
parent
4f06e5a3db
commit
ded5ac9888
@ -177,7 +177,7 @@ ${endif:agent}
|
||||
|
||||
<table width="100%" height="100%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tr>
|
||||
<td width="20" valign="top"><img src='${webimroot}${msg:image.chat.history}' width="20" height="80" border="0" alt="" /></td>
|
||||
<td width="20" valign="top"><img src='${webimroot}${url:image.chat.history}' width="20" height="80" border="0" alt="" /></td>
|
||||
<td colspan="2" width="100%" height="100%" valign="top" id="chatwndtd">
|
||||
<table width="100%" height="100%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tr>
|
||||
@ -204,7 +204,7 @@ ${if:canpost}
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width="20" valign="top"><img src='${webimroot}${msg:image.chat.message}' width="20" height="85" border="0" alt="" /></td>
|
||||
<td width="20" valign="top"><img src='${webimroot}${url:image.chat.message}' width="20" height="85" border="0" alt="" /></td>
|
||||
${if:isOpera95}
|
||||
<td width="100%" height="60%" valign="top" id="msgwndtd">
|
||||
${else:isOpera95}
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user