mirror of
https://github.com/Mibew/i18n.git
synced 2025-01-22 21:40:28 +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) {
|
foreach(explode("\n", getlocal_('chat.predefined_answers', $thread['locale'])) as $answer) {
|
||||||
$predefinedres .= "<option>$answer</option>";
|
$predefinedres .= "<option>$answer</option>";
|
||||||
}
|
}
|
||||||
$page['predefinedAnswers'] = $predefinedres;
|
$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;
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ function expand_condition($matches) {
|
|||||||
if($value) {
|
if($value) {
|
||||||
return preg_replace_callback($ifregexp, "expand_condition", $matches[3]);
|
return preg_replace_callback($ifregexp, "expand_condition", $matches[3]);
|
||||||
} else if(isset($matches[4])) {
|
} 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 "";
|
return "";
|
||||||
}
|
}
|
||||||
@ -50,7 +50,7 @@ function expand_var($matches) {
|
|||||||
}
|
}
|
||||||
$result .= getlocal("errors.footer");
|
$result .= getlocal("errors.footer");
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
} else if($prefix == 'msg:') {
|
} else if($prefix == 'msg:') {
|
||||||
|
@ -69,7 +69,7 @@ $pparam = verifyparam( "act", "/^(redirect)$/", "default");
|
|||||||
if( $pparam == "redirect" ) {
|
if( $pparam == "redirect" ) {
|
||||||
$found = get_operators();
|
$found = get_operators();
|
||||||
setup_pagination($found);
|
setup_pagination($found);
|
||||||
|
|
||||||
$agent_list = "";
|
$agent_list = "";
|
||||||
$params = array('thread' => $threadid, 'token' => $token);
|
$params = array('thread' => $threadid, 'token' => $token);
|
||||||
for( $indagent = 0; $indagent < count($page['pagination.items']); $indagent += 1 ) {
|
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>";
|
$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;
|
$page['pagination_list'] = $agent_list;
|
||||||
|
|
||||||
expand("../design/default/redirect.tpl");
|
expand("../design/default/redirect.tpl");
|
||||||
} else {
|
} else {
|
||||||
expand("../design/default/chat.tpl");
|
expand("../design/default/chat.tpl");
|
||||||
|
Loading…
Reference in New Issue
Block a user