Use 'page style' instead of 'operator pages style'
@ -427,7 +427,7 @@ function setup_chatview(Thread $thread) {
|
||||
= $style_config['mail']['window_params'];
|
||||
|
||||
// Load core style options
|
||||
$style_config = get_core_style_config(get_operator_pages_style());
|
||||
$style_config = get_core_style_config(get_page_style());
|
||||
$data['chat']['windowsParams']['history']
|
||||
= $style_config['history']['window_params'];
|
||||
|
||||
|
@ -67,7 +67,7 @@ Class Settings {
|
||||
'usernamepattern' => '{name}',
|
||||
'chat_style' => 'default',
|
||||
'invitationstyle' => 'default',
|
||||
'operator_pages_style' => 'default',
|
||||
'page_style' => 'default',
|
||||
'chattitle' => 'Live Support',
|
||||
'geolink' => 'http://api.hostip.info/get_html.php?ip={ip}',
|
||||
'geolinkparams' => 'width=440,height=100,toolbar=0,scrollbars=0,location=0,status=1,menubar=0,resizable=1',
|
||||
|
@ -39,7 +39,7 @@ function get_core_style_config($style) {
|
||||
$base_path = realpath(dirname(dirname(dirname(__FILE__))));
|
||||
|
||||
// Load config
|
||||
$config = read_config_file($base_path.'/styles/operator_pages/' . $style . '/config.ini');
|
||||
$config = read_config_file($base_path.'/styles/pages/' . $style . '/config.ini');
|
||||
|
||||
// Set default values
|
||||
$config = ($config === false) ? array() : $config;
|
||||
|
@ -81,8 +81,8 @@ function is_secure_request()
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
function get_operator_pages_style() {
|
||||
return Settings::get('operator_pages_style');
|
||||
function get_page_style() {
|
||||
return Settings::get('page_style');
|
||||
}
|
||||
|
||||
?>
|
@ -22,7 +22,7 @@ function setup_settings_tabs($active)
|
||||
getlocal("page_settings.tab.main") => $active != 0 ? "$mibewroot/operator/settings.php" : "",
|
||||
getlocal("page_settings.tab.features") => $active != 1 ? "$mibewroot/operator/features.php" : "",
|
||||
getlocal("page_settings.tab.performance") => $active != 2 ? "$mibewroot/operator/performance.php" : "",
|
||||
getlocal("page_settings.tab.operator_pages_themes") => $active != 3 ? "$mibewroot/operator/operator_pages_themes.php" : "",
|
||||
getlocal("page_settings.tab.page_themes") => $active != 3 ? "$mibewroot/operator/page_themes.php" : "",
|
||||
getlocal("page_settings.tab.themes") => $active != 4 ? "$mibewroot/operator/themes.php" : "",
|
||||
);
|
||||
if (Settings::get('enabletracking')) {
|
||||
|
@ -22,11 +22,11 @@ require_once(dirname(__FILE__).'/common/request.php');
|
||||
/**
|
||||
* Renders a view for an operator page
|
||||
*
|
||||
* All views are stored in "styles/operator_pages/<style_name>" folders.
|
||||
* All views are stored in "styles/pages/<style_name>" folders.
|
||||
*
|
||||
* $view_name param should include neither full view's path nor its extension.
|
||||
* Just view name. For example, to render and output
|
||||
* "styles/operator_pages/default/agents.php" view one should use "agents" as
|
||||
* "styles/pages/default/agents.php" view one should use "agents" as
|
||||
* the view name.
|
||||
*
|
||||
* @param string $view_name Name of the view to render.
|
||||
@ -45,7 +45,7 @@ function render_view($view_name, $style_name = NULL) {
|
||||
// Settings classes. Just use "default" style for installation pages.
|
||||
$style_name = 'default';
|
||||
} else {
|
||||
$style_name = get_operator_pages_style();
|
||||
$style_name = get_page_style();
|
||||
}
|
||||
}
|
||||
|
||||
@ -55,7 +55,7 @@ function render_view($view_name, $style_name = NULL) {
|
||||
// Build full view name. Remove '\' and '/' characters form the specified
|
||||
// view name
|
||||
$full_view_name = dirname(dirname(__FILE__)) .
|
||||
'/styles/operator_pages/' . $style_name . '/views/' .
|
||||
'/styles/pages/' . $style_name . '/views/' .
|
||||
str_replace("/\\", '', $view_name) . '.php';
|
||||
|
||||
// Load and execute the view
|
||||
|
@ -417,8 +417,8 @@ page_search.type.visitor=by visitor
|
||||
page_settings.intro=Specify options affecting chat window and common system behavior.
|
||||
page_settings.tab.features=Optional Services
|
||||
page_settings.tab.main=General
|
||||
page_settings.tab.page_themes=Operator pages themes preview
|
||||
page_settings.tab.performance=Performance
|
||||
page_settings.tab.operator_pages_themes=Operator pages themes preview
|
||||
page_settings.tab.themes=Chat themes preview
|
||||
page_settings.tab.invitationthemes=Invitation themes preview
|
||||
pending.errors.network=Network problems detected. Please refresh the page.
|
||||
@ -560,8 +560,8 @@ settings.onehostconnections.description=0 allows any number of connections
|
||||
settings.onehostconnections=Max number of threads from one address
|
||||
settings.onlinetimeout.description=Set the number of seconds to show an operator as online. Default is 30 seconds.
|
||||
settings.onlinetimeout=Operator online time threshold
|
||||
settings.operator_pages_style.description=A preview for each style is available <a href="operator_pages_themes.php">here</a>
|
||||
settings.operator_pages_style=Select a style for your operator pages
|
||||
settings.page_style.description=A preview for each style is available <a href="page_themes.php">here</a>
|
||||
settings.page_style=Select a style for your operator pages
|
||||
settings.popup_notification.description=Small dialog appears to attract your attention.
|
||||
settings.popup_notification=Enable "Popup dialog notification of the new visitor".
|
||||
settings.saved=Changes saved
|
||||
|
@ -23,7 +23,7 @@ require_once(dirname(dirname(__FILE__)).'/libs/view.php');
|
||||
|
||||
$operator = check_login();
|
||||
|
||||
$stylelist = get_style_list(dirname(dirname(__FILE__)).'/styles/operator_pages');
|
||||
$stylelist = get_style_list(dirname(dirname(__FILE__)).'/styles/pages');
|
||||
|
||||
$preview = verifyparam("preview", "/^\w+$/", "default");
|
||||
if (!in_array($preview, $stylelist)) {
|
||||
@ -37,7 +37,7 @@ $screenshots = array();
|
||||
foreach($style_config['screenshots'] as $name => $desc) {
|
||||
$screenshots[] = array(
|
||||
'name' => $name,
|
||||
'file' => $mibewroot . '/styles/operator_pages/' . $preview
|
||||
'file' => $mibewroot . '/styles/pages/' . $preview
|
||||
. '/screenshots/' . $name . '.png',
|
||||
'description' => $desc
|
||||
);
|
||||
@ -49,6 +49,6 @@ $page['screenshotsList'] = $screenshots;
|
||||
|
||||
prepare_menu($operator);
|
||||
setup_settings_tabs(3);
|
||||
render_view('operator_pages_themes');
|
||||
render_view('page_themes');
|
||||
|
||||
?>
|
@ -33,7 +33,7 @@ $page = array('agentId' => '');
|
||||
$errors = array();
|
||||
|
||||
$stylelist = ChatStyle::availableStyles();
|
||||
$operator_pages_style_list = get_style_list(dirname(dirname(__FILE__)).'/styles/operator_pages');
|
||||
$page_style_list = get_style_list(dirname(dirname(__FILE__)).'/styles/pages');
|
||||
|
||||
$options = array(
|
||||
'email',
|
||||
@ -41,7 +41,7 @@ $options = array(
|
||||
'logo',
|
||||
'hosturl',
|
||||
'usernamepattern',
|
||||
'operator_pages_style',
|
||||
'page_style',
|
||||
'chat_style',
|
||||
'chattitle',
|
||||
'geolink',
|
||||
@ -77,9 +77,9 @@ if (isset($_POST['email']) && isset($_POST['title']) && isset($_POST['logo'])) {
|
||||
$params['chat_style'] = $stylelist[0];
|
||||
}
|
||||
|
||||
$params['operator_pages_style'] = verifyparam("operator_pages_style", "/^\w+$/", $params['operator_pages_style']);
|
||||
if (!in_array($params['operator_pages_style'], $operator_pages_style_list)) {
|
||||
$params['operator_pages_style'] = $operator_pages_style_list[0];
|
||||
$params['page_style'] = verifyparam("page_style", "/^\w+$/", $params['page_style']);
|
||||
if (!in_array($params['page_style'], $page_style_list)) {
|
||||
$params['page_style'] = $page_style_list[0];
|
||||
}
|
||||
|
||||
if (Settings::get('enabletracking')) {
|
||||
@ -122,8 +122,8 @@ $page['formhosturl'] = topage($params['hosturl']);
|
||||
$page['formgeolink'] = topage($params['geolink']);
|
||||
$page['formgeolinkparams'] = topage($params['geolinkparams']);
|
||||
$page['formusernamepattern'] = topage($params['usernamepattern']);
|
||||
$page['formoperatorpagesstyle'] = $params['operator_pages_style'];
|
||||
$page['availableOperatorPagesStyles'] = $operator_pages_style_list;
|
||||
$page['formpagestyle'] = $params['page_style'];
|
||||
$page['availablePageStyles'] = $page_style_list;
|
||||
$page['formchatstyle'] = $params['chat_style'];
|
||||
$page['formchattitle'] = topage($params['chattitle']);
|
||||
$page['formsendmessagekey'] = $params['sendmessagekey'];
|
||||
|
@ -49,7 +49,7 @@ $style_config = $chat_style->configurations();
|
||||
$page['chatStyles.chatWindowParams'] = $style_config['chat']['window_params'];
|
||||
|
||||
// Load core style options
|
||||
$style_config = get_core_style_config(get_operator_pages_style());
|
||||
$style_config = get_core_style_config(get_page_style());
|
||||
$page['coreStyles.threadTag'] = $style_config['users']['thread_tag'];
|
||||
$page['coreStyles.visitorTag'] = $style_config['users']['visitor_tag'];
|
||||
$page['coreStyles.trackedUserWindowParams'] = $style_config['tracked']['user_window_params'];
|
||||
|
Before Width: | Height: | Size: 372 B After Width: | Height: | Size: 372 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 732 B After Width: | Height: | Size: 732 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 340 B After Width: | Height: | Size: 340 B |
Before Width: | Height: | Size: 728 B After Width: | Height: | Size: 728 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 604 B After Width: | Height: | Size: 604 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 894 B After Width: | Height: | Size: 894 B |
Before Width: | Height: | Size: 162 B After Width: | Height: | Size: 162 B |
Before Width: | Height: | Size: 43 B After Width: | Height: | Size: 43 B |
Before Width: | Height: | Size: 49 B After Width: | Height: | Size: 49 B |
Before Width: | Height: | Size: 43 B After Width: | Height: | Size: 43 B |
Before Width: | Height: | Size: 162 B After Width: | Height: | Size: 162 B |
Before Width: | Height: | Size: 713 B After Width: | Height: | Size: 713 B |
Before Width: | Height: | Size: 60 B After Width: | Height: | Size: 60 B |
Before Width: | Height: | Size: 377 B After Width: | Height: | Size: 377 B |
Before Width: | Height: | Size: 68 B After Width: | Height: | Size: 68 B |
Before Width: | Height: | Size: 148 B After Width: | Height: | Size: 148 B |
Before Width: | Height: | Size: 199 B After Width: | Height: | Size: 199 B |
Before Width: | Height: | Size: 139 B After Width: | Height: | Size: 139 B |
Before Width: | Height: | Size: 142 B After Width: | Height: | Size: 142 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 915 B After Width: | Height: | Size: 915 B |
Before Width: | Height: | Size: 905 B After Width: | Height: | Size: 905 B |
Before Width: | Height: | Size: 906 B After Width: | Height: | Size: 906 B |
Before Width: | Height: | Size: 914 B After Width: | Height: | Size: 914 B |
Before Width: | Height: | Size: 75 B After Width: | Height: | Size: 75 B |
Before Width: | Height: | Size: 74 B After Width: | Height: | Size: 74 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 55 B After Width: | Height: | Size: 55 B |
Before Width: | Height: | Size: 89 B After Width: | Height: | Size: 89 B |
Before Width: | Height: | Size: 43 B After Width: | Height: | Size: 43 B |
Before Width: | Height: | Size: 92 B After Width: | Height: | Size: 92 B |
Before Width: | Height: | Size: 329 B After Width: | Height: | Size: 329 B |
Before Width: | Height: | Size: 309 B After Width: | Height: | Size: 309 B |
Before Width: | Height: | Size: 291 B After Width: | Height: | Size: 291 B |
Before Width: | Height: | Size: 554 B After Width: | Height: | Size: 554 B |
Before Width: | Height: | Size: 338 B After Width: | Height: | Size: 338 B |
Before Width: | Height: | Size: 640 B After Width: | Height: | Size: 640 B |
Before Width: | Height: | Size: 53 B After Width: | Height: | Size: 53 B |
Before Width: | Height: | Size: 70 B After Width: | Height: | Size: 70 B |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
@ -63,7 +63,7 @@ require_once(dirname(__FILE__).'/inc_errors.php');
|
||||
|
||||
<?php if($page['canmodify']) { ?>
|
||||
<div class="tabletool">
|
||||
<img src='<?php echo $mibewroot ?>/styles/operator_pages/default/images/buttons/createagent.gif' border="0" alt="" />
|
||||
<img src='<?php echo $mibewroot ?>/styles/pages/default/images/buttons/createagent.gif' border="0" alt="" />
|
||||
<a href='<?php echo $mibewroot ?>/operator/operator.php' title="<?php echo getlocal("page_agents.new_agent") ?>">
|
||||
<?php echo getlocal("page_agents.new_agent") ?>
|
||||
</a>
|
@ -36,7 +36,7 @@ require_once(dirname(__FILE__).'/inc_errors.php');
|
||||
?>
|
||||
|
||||
<div class="tabletool">
|
||||
<img src="<?php echo $mibewroot ?>/styles/operator_pages/default/images/buttons/createban.gif" border="0" alt=""/>
|
||||
<img src="<?php echo $mibewroot ?>/styles/pages/default/images/buttons/createban.gif" border="0" alt=""/>
|
||||
<a href="<?php echo $mibewroot ?>/operator/ban.php" title="<?php echo getlocal("page_bans.add") ?>"
|
||||
onclick="this.newWindow = window.open('<?php echo $mibewroot ?>/operator/ban.php', '', 'toolbar=0,scrollbars=1,location=0,status=1,menubar=0,width=640,height=480,resizable=1');this.newWindow.focus();this.newWindow.opener=window;return false;"><?php echo getlocal("page_bans.add") ?></a>
|
||||
</div>
|
@ -57,7 +57,7 @@ require_once(dirname(__FILE__).'/inc_errors.php');
|
||||
<br/>
|
||||
|
||||
<div class="tabletool">
|
||||
<img src="<?php echo $mibewroot ?>/styles/operator_pages/default/images/buttons/createban.gif" border="0" alt=""/>
|
||||
<img src="<?php echo $mibewroot ?>/styles/pages/default/images/buttons/createban.gif" border="0" alt=""/>
|
||||
<a href="<?php echo $mibewroot ?>/operator/cannededit.php?lang=<?php echo form_value("lang") ?>&group=<?php echo form_value("group")?>" target="_blank"
|
||||
onclick="this.newWindow = window.open('<?php echo $mibewroot ?>/operator/cannededit.php?lang=<?php echo form_value("lang") ?>&group=<?php echo form_value("group")?>', '', 'toolbar=0,scrollbars=1,location=0,status=1,menubar=0,width=640,height=480,resizable=1');this.newWindow.focus();this.newWindow.opener=window;return false;">
|
||||
<?php echo getlocal("canned.add") ?>
|
@ -29,20 +29,20 @@ function tpl_content() { global $page, $mibewroot;
|
||||
<div>
|
||||
<table class="nicebutton"><tr>
|
||||
<td><a href="<?php echo $page['link'] ?>">
|
||||
<img src='<?php echo $mibewroot ?>/styles/operator_pages/default/images/submit.gif' width="40" height="35" border="0" alt="" /></a></td>
|
||||
<img src='<?php echo $mibewroot ?>/styles/pages/default/images/submit.gif' width="40" height="35" border="0" alt="" /></a></td>
|
||||
<td class="submit"><a href="<?php echo $page['link'] ?>">
|
||||
<?php echo getlocal("confirm.take.yes") ?></a></td>
|
||||
<td><a href="<?php echo $page['link'] ?>">
|
||||
<img src='<?php echo $mibewroot ?>/styles/operator_pages/default/images/submitrest.gif' width="10" height="35" border="0" alt="" /></a></td>
|
||||
<img src='<?php echo $mibewroot ?>/styles/pages/default/images/submitrest.gif' width="10" height="35" border="0" alt="" /></a></td>
|
||||
</tr></table>
|
||||
|
||||
<table class="nicebutton"><tr>
|
||||
<td><a href="javascript:window.close();">
|
||||
<img src='<?php echo $mibewroot ?>/styles/operator_pages/default/images/submit.gif' width="40" height="35" border="0" alt="" /></a></td>
|
||||
<img src='<?php echo $mibewroot ?>/styles/pages/default/images/submit.gif' width="40" height="35" border="0" alt="" /></a></td>
|
||||
<td class="submit"><a href="javascript:window.close();">
|
||||
<?php echo getlocal("confirm.take.no") ?></a></td>
|
||||
<td><a href="javascript:window.close();">
|
||||
<img src='<?php echo $mibewroot ?>/styles/operator_pages/default/images/submitrest.gif' width="10" height="35" border="0" alt="" /></a></td>
|
||||
<img src='<?php echo $mibewroot ?>/styles/pages/default/images/submitrest.gif' width="10" height="35" border="0" alt="" /></a></td>
|
||||
</tr></table>
|
||||
|
||||
<br clear="all"/>
|
@ -63,7 +63,7 @@ require_once(dirname(__FILE__).'/inc_errors.php');
|
||||
|
||||
<?php if($page['canmodify']) { ?>
|
||||
<div class="tabletool">
|
||||
<img src='<?php echo $mibewroot ?>/styles/operator_pages/default/images/buttons/createdep.gif' border="0" alt="" />
|
||||
<img src='<?php echo $mibewroot ?>/styles/pages/default/images/buttons/createdep.gif' border="0" alt="" />
|
||||
<a href='<?php echo $mibewroot ?>/operator/group.php' title="<?php echo getlocal("page.groups.new") ?>">
|
||||
<?php echo getlocal("page.groups.new") ?>
|
||||
</a>
|
@ -17,7 +17,7 @@
|
||||
|
||||
if( isset($errors) && count($errors) > 0 ) { ?>
|
||||
<div class="errinfo">
|
||||
<img src='<?php echo $mibewroot ?>/styles/operator_pages/default/images/icon_err.gif' width="40" height="40" border="0" alt="" class="left"/>
|
||||
<img src='<?php echo $mibewroot ?>/styles/pages/default/images/icon_err.gif' width="40" height="40" border="0" alt="" class="left"/>
|
||||
<?php
|
||||
print getlocal("errors.header");
|
||||
foreach( $errors as $e ) {
|
@ -21,7 +21,7 @@ $isrtl = getlocal("localedirection") == 'rtl';
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"<?php if($isrtl) { ?> dir="rtl"<?php } ?>>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link rel="shortcut icon" href="<?php echo $mibewroot ?>/styles/operator_pages/default/images/favicon.ico" type="image/x-icon"/>
|
||||
<link rel="shortcut icon" href="<?php echo $mibewroot ?>/styles/pages/default/images/favicon.ico" type="image/x-icon"/>
|
||||
<?php
|
||||
if(function_exists('tpl_header'))
|
||||
tpl_header();
|
||||
@ -29,15 +29,15 @@ $isrtl = getlocal("localedirection") == 'rtl';
|
||||
<title>
|
||||
<?php echo $page['title'] ?> - <?php echo getlocal("app.title") ?>
|
||||
</title>
|
||||
<link href="<?php echo $mibewroot ?>/styles/operator_pages/default/css/default.css" rel="stylesheet" type="text/css" />
|
||||
<!--[if lte IE 7]><link href="<?php echo $mibewroot ?>/styles/operator_pages/default/css/default_ie.css" rel="stylesheet" type="text/css" /><![endif] -->
|
||||
<link href="<?php echo $mibewroot ?>/styles/pages/default/css/default.css" rel="stylesheet" type="text/css" />
|
||||
<!--[if lte IE 7]><link href="<?php echo $mibewroot ?>/styles/pages/default/css/default_ie.css" rel="stylesheet" type="text/css" /><![endif] -->
|
||||
<!--[if lte IE 6]><script language="JavaScript" type="text/javascript" src="<?php echo $mibewroot ?>/<?php echo jspath() ?>/ie.js"></script><![endif]-->
|
||||
</head>
|
||||
<body<?php if(!function_exists('tpl_menu')) { ?> style="min-width: 400px;"<?php } ?>>
|
||||
<div id="<?php echo (isset($page) && isset($page['fixedwrap'])) ? "fixedwrap" : (function_exists('tpl_menu') ? "wrap700" : "wrap400" )?>" class="l<?php echo getlocal("localedirection") ?>">
|
||||
<div id="header">
|
||||
<div id="title">
|
||||
<h1><img src="<?php echo $mibewroot ?>/styles/operator_pages/default/images/logo.png" alt="" width="32" height="32" class="left logo" />
|
||||
<h1><img src="<?php echo $mibewroot ?>/styles/pages/default/images/logo.png" alt="" width="32" height="32" class="left logo" />
|
||||
<a href="#"><?php echo isset($page['headertitle']) ? $page['headertitle'] : $page['title'] ?></a></h1>
|
||||
</div>
|
||||
<?php if(isset($page) && isset($page['operator'])) { ?>
|
@ -26,7 +26,7 @@ function menuli($name) {
|
||||
function tpl_menu() { global $page, $mibewroot, $errors;
|
||||
if(isset($page['isOnline']) && !$page['isOnline']) { ?>
|
||||
<li id="offwarn">
|
||||
<img src="<?php echo $mibewroot ?>/styles/operator_pages/default/images/dash/warn.gif" alt="" width="24" height="24"/>
|
||||
<img src="<?php echo $mibewroot ?>/styles/pages/default/images/dash/warn.gif" alt="" width="24" height="24"/>
|
||||
<p><?php echo getlocal2("menu.goonline",array($mibewroot."/operator/users.php?nomenu")) ?></p>
|
||||
</li>
|
||||
<?php }
|
@ -53,14 +53,14 @@ function tpl_content() { global $page, $mibewroot, $current_locale, $menuItemsCo
|
||||
<table id="dashboard">
|
||||
<tr>
|
||||
<td class="dashitem">
|
||||
<img src="<?php echo $mibewroot ?>/styles/operator_pages/default/images/dash/visitors.gif" alt=""/>
|
||||
<img src="<?php echo $mibewroot ?>/styles/pages/default/images/dash/visitors.gif" alt=""/>
|
||||
<a href='<?php echo $mibewroot ?>/operator/users.php'>
|
||||
<?php echo getlocal('topMenu.users') ?></a>
|
||||
<?php echo getlocal('page_client.pending_users') ?>
|
||||
</td>
|
||||
|
||||
<td class="dashitem">
|
||||
<img src="<?php echo $mibewroot ?>/styles/operator_pages/default/images/dash/history.gif" alt=""/>
|
||||
<img src="<?php echo $mibewroot ?>/styles/pages/default/images/dash/history.gif" alt=""/>
|
||||
<a href='<?php echo $mibewroot ?>/operator/history.php'>
|
||||
<?php echo getlocal('page_analysis.search.title') ?></a>
|
||||
<?php echo getlocal('content.history') ?>
|
||||
@ -71,7 +71,7 @@ $menuItemsCount = 2;
|
||||
|
||||
<?php if($page['showstat']) { ?>
|
||||
<td class="dashitem">
|
||||
<img src="<?php echo $mibewroot ?>/styles/operator_pages/default/images/dash/stat.gif" alt=""/>
|
||||
<img src="<?php echo $mibewroot ?>/styles/pages/default/images/dash/stat.gif" alt=""/>
|
||||
<a href='<?php echo $mibewroot ?>/operator/statistics.php'>
|
||||
<?php echo getlocal('statistics.title') ?></a>
|
||||
<?php echo getlocal('statistics.description') ?>
|
||||
@ -81,7 +81,7 @@ $menuItemsCount = 2;
|
||||
|
||||
<?php if( $page['showban'] ) { ?>
|
||||
<td class="dashitem">
|
||||
<img src="<?php echo $mibewroot ?>/styles/operator_pages/default/images/dash/blocked.gif" alt=""/>
|
||||
<img src="<?php echo $mibewroot ?>/styles/pages/default/images/dash/blocked.gif" alt=""/>
|
||||
<a href='<?php echo $mibewroot ?>/operator/blocked.php'>
|
||||
<?php echo getlocal('menu.blocked') ?></a>
|
||||
<?php echo getlocal('content.blocked') ?>
|
||||
@ -90,7 +90,7 @@ $menuItemsCount = 2;
|
||||
<?php } ?>
|
||||
|
||||
<td class="dashitem">
|
||||
<img src="<?php echo $mibewroot ?>/styles/operator_pages/default/images/dash/canned.gif" alt=""/>
|
||||
<img src="<?php echo $mibewroot ?>/styles/pages/default/images/dash/canned.gif" alt=""/>
|
||||
<a href='<?php echo $mibewroot ?>/operator/canned.php'>
|
||||
<?php echo getlocal('menu.canned') ?></a>
|
||||
<?php echo getlocal('canned.descr') ?>
|
||||
@ -99,7 +99,7 @@ $menuItemsCount = 2;
|
||||
|
||||
<?php if( $page['showadmin'] ) { ?>
|
||||
<td class="dashitem">
|
||||
<img src="<?php echo $mibewroot ?>/styles/operator_pages/default/images/dash/getcode.gif" alt=""/>
|
||||
<img src="<?php echo $mibewroot ?>/styles/pages/default/images/dash/getcode.gif" alt=""/>
|
||||
<a href='<?php echo $mibewroot ?>/operator/getcode.php'>
|
||||
<?php echo getlocal('leftMenu.client_gen_button') ?></a>
|
||||
<?php echo getlocal('admin.content.client_gen_button') ?>
|
||||
@ -107,7 +107,7 @@ $menuItemsCount = 2;
|
||||
<?php menuseparator(); ?>
|
||||
|
||||
<td class="dashitem">
|
||||
<img src="<?php echo $mibewroot ?>/styles/operator_pages/default/images/dash/operators.gif" alt=""/>
|
||||
<img src="<?php echo $mibewroot ?>/styles/pages/default/images/dash/operators.gif" alt=""/>
|
||||
<a href='<?php echo $mibewroot ?>/operator/operators.php'>
|
||||
<?php echo getlocal('leftMenu.client_agents') ?></a>
|
||||
<?php echo getlocal('admin.content.client_agents') ?>
|
||||
@ -115,7 +115,7 @@ $menuItemsCount = 2;
|
||||
<?php menuseparator(); ?>
|
||||
|
||||
<td class="dashitem">
|
||||
<img src="<?php echo $mibewroot ?>/styles/operator_pages/default/images/dash/dep.gif" alt=""/>
|
||||
<img src="<?php echo $mibewroot ?>/styles/pages/default/images/dash/dep.gif" alt=""/>
|
||||
<a href='<?php echo $mibewroot ?>/operator/groups.php'>
|
||||
<?php echo getlocal('menu.groups') ?></a>
|
||||
<?php echo getlocal('menu.groups.content') ?>
|
||||
@ -123,7 +123,7 @@ $menuItemsCount = 2;
|
||||
<?php menuseparator(); ?>
|
||||
|
||||
<td class="dashitem">
|
||||
<img src="<?php echo $mibewroot ?>/styles/operator_pages/default/images/dash/settings.gif" alt=""/>
|
||||
<img src="<?php echo $mibewroot ?>/styles/pages/default/images/dash/settings.gif" alt=""/>
|
||||
<a href='<?php echo $mibewroot ?>/operator/settings.php'>
|
||||
<?php echo getlocal('leftMenu.client_settings') ?></a>
|
||||
<?php echo getlocal('admin.content.client_settings') ?>
|
||||
@ -133,7 +133,7 @@ $menuItemsCount = 2;
|
||||
|
||||
<?php if(isset($page['currentopid']) && $page['currentopid']) {?>
|
||||
<td class="dashitem">
|
||||
<img src="<?php echo $mibewroot ?>/styles/operator_pages/default/images/dash/profile.gif" alt=""/>
|
||||
<img src="<?php echo $mibewroot ?>/styles/pages/default/images/dash/profile.gif" alt=""/>
|
||||
<a href='<?php echo $mibewroot ?>/operator/operator.php?op=<?php echo $page['currentopid'] ?>'>
|
||||
<?php echo getlocal('menu.profile') ?></a>
|
||||
<?php echo getlocal('menu.profile.content') ?>
|
||||
@ -143,7 +143,7 @@ $menuItemsCount = 2;
|
||||
|
||||
<?php if(isset($page) && isset($page['localeLinks'])) { ?>
|
||||
<td class="dashitem">
|
||||
<img src="<?php echo $mibewroot ?>/styles/operator_pages/default/images/dash/locale.gif" alt=""/>
|
||||
<img src="<?php echo $mibewroot ?>/styles/pages/default/images/dash/locale.gif" alt=""/>
|
||||
<a href='#' id="changelang">
|
||||
<?php echo getlocal('menu.locale') ?></a>
|
||||
<?php echo getlocal('menu.locale.content') ?>
|
||||
@ -153,7 +153,7 @@ $menuItemsCount = 2;
|
||||
|
||||
<?php if( $page['showadmin'] ) { ?>
|
||||
<td class="dashitem">
|
||||
<img src="<?php echo $mibewroot ?>/styles/operator_pages/default/images/dash/updates.gif" alt=""/>
|
||||
<img src="<?php echo $mibewroot ?>/styles/pages/default/images/dash/updates.gif" alt=""/>
|
||||
<a href='<?php echo $mibewroot ?>/operator/updates.php'>
|
||||
<?php echo getlocal('menu.updates') ?></a>
|
||||
<?php echo getlocal('menu.updates.content') ?>
|
||||
@ -162,7 +162,7 @@ $menuItemsCount = 2;
|
||||
<?php } ?>
|
||||
|
||||
<td class="dashitem">
|
||||
<img src="<?php echo $mibewroot ?>/styles/operator_pages/default/images/dash/exit.gif" alt=""/>
|
||||
<img src="<?php echo $mibewroot ?>/styles/pages/default/images/dash/exit.gif" alt=""/>
|
||||
<a href='<?php echo $mibewroot ?>/operator/logout.php'>
|
||||
<?php echo getlocal('topMenu.logoff') ?></a>
|
||||
<?php echo getlocal('content.logoff') ?>
|
||||
@ -173,8 +173,8 @@ $menuItemsCount = 2;
|
||||
|
||||
<?php if(isset($page) && isset($page['localeLinks'])) { ?>
|
||||
<div id="dashlocalesPopup">
|
||||
<a href="#" id="dashlocalesPopupClose"><img src="<?php echo $mibewroot ?>/styles/operator_pages/default/images/dash/close.gif" alt="X"/></a>
|
||||
<h2><img src="<?php echo $mibewroot ?>/styles/operator_pages/default/images/dash/locale.gif" alt=""/>
|
||||
<a href="#" id="dashlocalesPopupClose"><img src="<?php echo $mibewroot ?>/styles/pages/default/images/dash/close.gif" alt="X"/></a>
|
||||
<h2><img src="<?php echo $mibewroot ?>/styles/pages/default/images/dash/locale.gif" alt=""/>
|
||||
<b><?php echo getlocal("lang.choose") ?></b></h2>
|
||||
<ul class="locales">
|
||||
<?php foreach($page['localeLinks'] as $id => $title) { ?>
|
@ -28,7 +28,7 @@ function tpl_content() { global $page, $mibewroot;
|
||||
<br />
|
||||
<br />
|
||||
|
||||
<form name="preview" method="get" action="<?php echo $mibewroot ?>/operator/operator_pages_themes.php">
|
||||
<form name="preview" method="get" action="<?php echo $mibewroot ?>/operator/page_themes.php">
|
||||
<div>
|
||||
<?php print_tabbar(); ?>
|
||||
<div class="mform"><div class="formtop"><div class="formtopi"></div></div><div class="forminner">
|