mirror of
https://github.com/Mibew/java.git
synced 2025-01-22 17:40:35 +03:00
preview.php -> themes.php
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@462 c66351dc-e62f-0410-b875-e3a5c0b9693f
This commit is contained in:
parent
d58c58cc9c
commit
5c7b5b0aea
@ -47,7 +47,7 @@ if($showerrors) {
|
|||||||
|
|
||||||
if($show == 'chat' || $show == 'mail' || $show == 'leavemessage' || $show == 'leavemessagesent' || $show == 'chatsimple' || $show == 'nochat') {
|
if($show == 'chat' || $show == 'mail' || $show == 'leavemessage' || $show == 'leavemessagesent' || $show == 'chatsimple' || $show == 'nochat') {
|
||||||
setup_chatview_for_user(array('threadid' => 0,'userName' => getstring("chat.default.username"), 'ltoken' => 123), "ajaxed");
|
setup_chatview_for_user(array('threadid' => 0,'userName' => getstring("chat.default.username"), 'ltoken' => 123), "ajaxed");
|
||||||
$page['mailLink'] = "$webimroot/operator/preview.php?preview=$preview&show=mail";
|
$page['mailLink'] = "$webimroot/operator/themes.php?preview=$preview&show=mail";
|
||||||
$page['info'] = "";
|
$page['info'] = "";
|
||||||
expand("../styles", "$preview", "$show.tpl");
|
expand("../styles", "$preview", "$show.tpl");
|
||||||
exit;
|
exit;
|
||||||
@ -83,7 +83,7 @@ if($show == 'redirect' || $show == 'redirected' || $show == 'agentchat' || $show
|
|||||||
} elseif($show=='redirected') {
|
} elseif($show=='redirected') {
|
||||||
$page['message'] = getlocal2("chat.redirected.content",array("Administrator"));
|
$page['message'] = getlocal2("chat.redirected.content",array("Administrator"));
|
||||||
}
|
}
|
||||||
$page['redirectLink'] = "$webimroot/operator/preview.php?preview=$preview&show=redirect";
|
$page['redirectLink'] = "$webimroot/operator/themes.php?preview=$preview&show=redirect";
|
||||||
expand("../styles", "$preview", "$show.tpl");
|
expand("../styles", "$preview", "$show.tpl");
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
@ -118,7 +118,7 @@ $page['availableTemplates'] = array(
|
|||||||
"agentchat", "agentrochat",
|
"agentchat", "agentrochat",
|
||||||
"all");
|
"all");
|
||||||
|
|
||||||
$page['showlink'] = "$webimroot/operator/preview.php?preview=$preview&".($showerrors?"showerr=on&":"")."show=";
|
$page['showlink'] = "$webimroot/operator/themes.php?preview=$preview&".($showerrors?"showerr=on&":"")."show=";
|
||||||
|
|
||||||
$page['previewList'] = array();
|
$page['previewList'] = array();
|
||||||
foreach($templateList as $tpl) {
|
foreach($templateList as $tpl) {
|
||||||
@ -130,5 +130,5 @@ foreach($templateList as $tpl) {
|
|||||||
prepare_menu($operator);
|
prepare_menu($operator);
|
||||||
start_html_output();
|
start_html_output();
|
||||||
setup_settings_tabs(2);
|
setup_settings_tabs(2);
|
||||||
require('../view/preview.php');
|
require('../view/themes.php');
|
||||||
?>
|
?>
|
@ -23,7 +23,7 @@ function tpl_content() { global $page, $webimroot;
|
|||||||
<br />
|
<br />
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<form name="preview" method="get" action="<?php echo $webimroot ?>/operator/preview.php">
|
<form name="preview" method="get" action="<?php echo $webimroot ?>/operator/themes.php">
|
||||||
<div>
|
<div>
|
||||||
<?php if($page['tabs']) { ?>
|
<?php if($page['tabs']) { ?>
|
||||||
<ul class="tabs">
|
<ul class="tabs">
|
Loading…
Reference in New Issue
Block a user