mirror of
https://github.com/Mibew/tray.git
synced 2025-01-22 18:10:34 +03:00
minor: fix spaces
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@174 c66351dc-e62f-0410-b875-e3a5c0b9693f
This commit is contained in:
parent
08697a76f7
commit
4f06e5a3db
@ -304,7 +304,7 @@ function setup_chatview_for_operator($thread,$operator) {
|
||||
foreach(explode("\n", getlocal_('chat.predefined_answers', $thread['locale'])) as $answer) {
|
||||
$predefinedres .= "<option>$answer</option>";
|
||||
}
|
||||
$page['predefinedAnswers'] = $predefinedres;
|
||||
$page['predefinedAnswers'] = $predefinedres;
|
||||
$params = "thread=".$thread['threadid']."&token=".$thread['ltoken'];
|
||||
$page['selfLink'] = "$webimroot/operator/agent.php?".$params;
|
||||
|
||||
|
@ -28,7 +28,7 @@ function expand_condition($matches) {
|
||||
if($value) {
|
||||
return preg_replace_callback($ifregexp, "expand_condition", $matches[3]);
|
||||
} else if(isset($matches[4])) {
|
||||
return preg_replace_callback($ifregexp, "expand_condition", substr($matches[4],strpos($matches[4],"}")+1));
|
||||
return preg_replace_callback($ifregexp, "expand_condition", substr($matches[4],strpos($matches[4],"}")+1));
|
||||
}
|
||||
return "";
|
||||
}
|
||||
@ -50,7 +50,7 @@ function expand_var($matches) {
|
||||
}
|
||||
$result .= getlocal("errors.footer");
|
||||
return $result;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
} else if($prefix == 'msg:') {
|
||||
|
@ -69,7 +69,7 @@ $pparam = verifyparam( "act", "/^(redirect)$/", "default");
|
||||
if( $pparam == "redirect" ) {
|
||||
$found = get_operators();
|
||||
setup_pagination($found);
|
||||
|
||||
|
||||
$agent_list = "";
|
||||
$params = array('thread' => $threadid, 'token' => $token);
|
||||
for( $indagent = 0; $indagent < count($page['pagination.items']); $indagent += 1 ) {
|
||||
@ -78,7 +78,7 @@ if( $pparam == "redirect" ) {
|
||||
$agent_list .= "<li><a href=\"".add_params($webimroot."/operator/redirect.php",$params)."\" title=\"".topage($agent['vclocalename'])."\">".topage($agent['vclocalename'])."</a>";
|
||||
}
|
||||
$page['pagination_list'] = $agent_list;
|
||||
|
||||
|
||||
expand("../design/default/redirect.tpl");
|
||||
} else {
|
||||
expand("../design/default/chat.tpl");
|
||||
|
Loading…
Reference in New Issue
Block a user