mirror of
https://github.com/Mibew/java.git
synced 2025-01-23 01:50:34 +03:00
template fixes
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@171 c66351dc-e62f-0410-b875-e3a5c0b9693f
This commit is contained in:
parent
9ce1e28226
commit
d159b7ac35
@ -34,7 +34,7 @@ var threadParams = { servl:"${webimroot}/thread.php",wroot:"${webimroot}",freque
|
|||||||
<td align="center">
|
<td align="center">
|
||||||
${if:ct.company.chatLogoURL}
|
${if:ct.company.chatLogoURL}
|
||||||
${if:webimHost}
|
${if:webimHost}
|
||||||
<a onclick="window.open('${page:webimHost}');return false;" href="_blank">
|
<a onclick="window.open('${page:webimHost}');return false;" href="${page:webimHost}">
|
||||||
<img src="${page:ct.company.chatLogoURL}" border="0" alt="">
|
<img src="${page:ct.company.chatLogoURL}" border="0" alt="">
|
||||||
</a>
|
</a>
|
||||||
${else:webimHost}
|
${else:webimHost}
|
||||||
@ -50,7 +50,7 @@ var threadParams = { servl:"${webimroot}/thread.php",wroot:"${webimroot}",freque
|
|||||||
<tr>
|
<tr>
|
||||||
<td align="center" class="text">
|
<td align="center" class="text">
|
||||||
${if:webimHost}
|
${if:webimHost}
|
||||||
<a onclick="window.open('${page:webimHost}');return false;" href="_blank">${page:ct.company.name}</a>
|
<a onclick="window.open('${page:webimHost}');return false;" href="${page:webimHost}">${page:ct.company.name}</a>
|
||||||
${else:webimHost}
|
${else:webimHost}
|
||||||
${page:ct.company.name}
|
${page:ct.company.name}
|
||||||
${endif:webimHost}
|
${endif:webimHost}
|
||||||
@ -237,7 +237,7 @@ ${if:agent}${if:canpost}
|
|||||||
<td>
|
<td>
|
||||||
<select id="predefined" size="1" class="answer">
|
<select id="predefined" size="1" class="answer">
|
||||||
<option>${msg:chat.window.predefined.select_answer}</option>
|
<option>${msg:chat.window.predefined.select_answer}</option>
|
||||||
${predefinedAnswers}
|
${page:predefinedAnswers}
|
||||||
</select>
|
</select>
|
||||||
</td>
|
</td>
|
||||||
${endif:canpost}${endif:agent}
|
${endif:canpost}${endif:agent}
|
||||||
|
@ -300,7 +300,11 @@ function setup_chatview_for_operator($thread,$operator) {
|
|||||||
$page['neediframesrc'] = needsFramesrc();
|
$page['neediframesrc'] = needsFramesrc();
|
||||||
$page['historyParams'] = array("userid" => "".$thread['userid']);
|
$page['historyParams'] = array("userid" => "".$thread['userid']);
|
||||||
$page['historyParamsLink'] = add_params($webimroot."/operator/userhistory.php",$page['historyParams']);
|
$page['historyParamsLink'] = add_params($webimroot."/operator/userhistory.php",$page['historyParams']);
|
||||||
$page['predefinedList'] = explode("\n", getlocal_('chat.predefined_answers', $thread['locale']));
|
$predefinedres = "";
|
||||||
|
foreach(explode("\n", getlocal_('chat.predefined_answers', $thread['locale'])) as $answer) {
|
||||||
|
$predefinedres .= "<option>$answer</option>";
|
||||||
|
}
|
||||||
|
$page['predefinedAnswers'] = $predefinedres;
|
||||||
$params = "thread=".$thread['threadid']."&token=".$thread['ltoken'];
|
$params = "thread=".$thread['threadid']."&token=".$thread['ltoken'];
|
||||||
$page['selfLink'] = "$webimroot/operator/agent.php?".$params;
|
$page['selfLink'] = "$webimroot/operator/agent.php?".$params;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user