mirror of
https://github.com/Mibew/design.git
synced 2024-11-16 01:44:11 +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">
|
||||
${if:ct.company.chatLogoURL}
|
||||
${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="">
|
||||
</a>
|
||||
${else:webimHost}
|
||||
@ -50,7 +50,7 @@ var threadParams = { servl:"${webimroot}/thread.php",wroot:"${webimroot}",freque
|
||||
<tr>
|
||||
<td align="center" class="text">
|
||||
${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}
|
||||
${page:ct.company.name}
|
||||
${endif:webimHost}
|
||||
@ -237,7 +237,7 @@ ${if:agent}${if:canpost}
|
||||
<td>
|
||||
<select id="predefined" size="1" class="answer">
|
||||
<option>${msg:chat.window.predefined.select_answer}</option>
|
||||
${predefinedAnswers}
|
||||
${page:predefinedAnswers}
|
||||
</select>
|
||||
</td>
|
||||
${endif:canpost}${endif:agent}
|
||||
|
@ -300,7 +300,11 @@ function setup_chatview_for_operator($thread,$operator) {
|
||||
$page['neediframesrc'] = needsFramesrc();
|
||||
$page['historyParams'] = array("userid" => "".$thread['userid']);
|
||||
$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'];
|
||||
$page['selfLink'] = "$webimroot/operator/agent.php?".$params;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user