Use 'page style' instead of 'operator pages style'
@ -427,7 +427,7 @@ function setup_chatview(Thread $thread) {
 | 
				
			|||||||
		= $style_config['mail']['window_params'];
 | 
							= $style_config['mail']['window_params'];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// Load core style options
 | 
						// 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']
 | 
						$data['chat']['windowsParams']['history']
 | 
				
			||||||
		= $style_config['history']['window_params'];
 | 
							= $style_config['history']['window_params'];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -67,7 +67,7 @@ Class Settings {
 | 
				
			|||||||
			'usernamepattern' => '{name}',
 | 
								'usernamepattern' => '{name}',
 | 
				
			||||||
			'chat_style' => 'default',
 | 
								'chat_style' => 'default',
 | 
				
			||||||
			'invitationstyle' => 'default',
 | 
								'invitationstyle' => 'default',
 | 
				
			||||||
			'operator_pages_style' => 'default',
 | 
								'page_style' => 'default',
 | 
				
			||||||
			'chattitle' => 'Live Support',
 | 
								'chattitle' => 'Live Support',
 | 
				
			||||||
			'geolink' => 'http://api.hostip.info/get_html.php?ip={ip}',
 | 
								'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',
 | 
								'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__))));
 | 
						$base_path = realpath(dirname(dirname(dirname(__FILE__))));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// Load config
 | 
						// 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
 | 
						// Set default values
 | 
				
			||||||
	$config = ($config === false) ? array() : $config;
 | 
						$config = ($config === false) ? array() : $config;
 | 
				
			||||||
 | 
				
			|||||||
@ -81,8 +81,8 @@ function is_secure_request()
 | 
				
			|||||||
 *
 | 
					 *
 | 
				
			||||||
 * @return string
 | 
					 * @return string
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
function get_operator_pages_style() {
 | 
					function get_page_style() {
 | 
				
			||||||
	return Settings::get('operator_pages_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.main") => $active != 0 ? "$mibewroot/operator/settings.php" : "",
 | 
				
			||||||
		getlocal("page_settings.tab.features") => $active != 1 ? "$mibewroot/operator/features.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.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" : "",
 | 
							getlocal("page_settings.tab.themes") => $active != 4 ? "$mibewroot/operator/themes.php" : "",
 | 
				
			||||||
	);
 | 
						);
 | 
				
			||||||
	if (Settings::get('enabletracking')) {
 | 
						if (Settings::get('enabletracking')) {
 | 
				
			||||||
 | 
				
			|||||||
@ -22,11 +22,11 @@ require_once(dirname(__FILE__).'/common/request.php');
 | 
				
			|||||||
/**
 | 
					/**
 | 
				
			||||||
 * Renders a view for an operator page
 | 
					 * 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.
 | 
					 * $view_name param should include neither full view's path nor its extension.
 | 
				
			||||||
 * Just view name. For example, to render and output
 | 
					 * 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.
 | 
					 * the view name.
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * @param string $view_name Name of the view to render.
 | 
					 * @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.
 | 
								// Settings classes. Just use "default" style for installation pages.
 | 
				
			||||||
			$style_name = 'default';
 | 
								$style_name = 'default';
 | 
				
			||||||
		} else {
 | 
							} 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
 | 
						// Build full view name. Remove '\' and '/' characters form the specified
 | 
				
			||||||
	// view name
 | 
						// view name
 | 
				
			||||||
	$full_view_name = dirname(dirname(__FILE__)) .
 | 
						$full_view_name = dirname(dirname(__FILE__)) .
 | 
				
			||||||
		'/styles/operator_pages/' . $style_name . '/views/' .
 | 
							'/styles/pages/' . $style_name . '/views/' .
 | 
				
			||||||
		str_replace("/\\", '', $view_name) . '.php';
 | 
							str_replace("/\\", '', $view_name) . '.php';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// Load and execute the view
 | 
						// 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.intro=Specify options affecting chat window and common system behavior.
 | 
				
			||||||
page_settings.tab.features=Optional Services
 | 
					page_settings.tab.features=Optional Services
 | 
				
			||||||
page_settings.tab.main=General
 | 
					page_settings.tab.main=General
 | 
				
			||||||
 | 
					page_settings.tab.page_themes=Operator pages themes preview
 | 
				
			||||||
page_settings.tab.performance=Performance
 | 
					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.themes=Chat themes preview
 | 
				
			||||||
page_settings.tab.invitationthemes=Invitation themes preview
 | 
					page_settings.tab.invitationthemes=Invitation themes preview
 | 
				
			||||||
pending.errors.network=Network problems detected. Please refresh the page.
 | 
					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.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.description=Set the number of seconds to show an operator as online. Default is 30 seconds.
 | 
				
			||||||
settings.onlinetimeout=Operator online time threshold
 | 
					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.page_style.description=A preview for each style is available <a href="page_themes.php">here</a>
 | 
				
			||||||
settings.operator_pages_style=Select a style for your operator pages
 | 
					settings.page_style=Select a style for your operator pages
 | 
				
			||||||
settings.popup_notification.description=Small dialog appears to attract your attention.  
 | 
					settings.popup_notification.description=Small dialog appears to attract your attention.  
 | 
				
			||||||
settings.popup_notification=Enable "Popup dialog notification of the new visitor".
 | 
					settings.popup_notification=Enable "Popup dialog notification of the new visitor".
 | 
				
			||||||
settings.saved=Changes saved
 | 
					settings.saved=Changes saved
 | 
				
			||||||
 | 
				
			|||||||
@ -23,7 +23,7 @@ require_once(dirname(dirname(__FILE__)).'/libs/view.php');
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
$operator = check_login();
 | 
					$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");
 | 
					$preview = verifyparam("preview", "/^\w+$/", "default");
 | 
				
			||||||
if (!in_array($preview, $stylelist)) {
 | 
					if (!in_array($preview, $stylelist)) {
 | 
				
			||||||
@ -37,7 +37,7 @@ $screenshots = array();
 | 
				
			|||||||
foreach($style_config['screenshots'] as $name => $desc) {
 | 
					foreach($style_config['screenshots'] as $name => $desc) {
 | 
				
			||||||
	$screenshots[] = array(
 | 
						$screenshots[] = array(
 | 
				
			||||||
		'name' => $name,
 | 
							'name' => $name,
 | 
				
			||||||
		'file' => $mibewroot . '/styles/operator_pages/' . $preview
 | 
							'file' => $mibewroot . '/styles/pages/' . $preview
 | 
				
			||||||
			. '/screenshots/' . $name . '.png',
 | 
								. '/screenshots/' . $name . '.png',
 | 
				
			||||||
		'description' => $desc
 | 
							'description' => $desc
 | 
				
			||||||
	);
 | 
						);
 | 
				
			||||||
@ -49,6 +49,6 @@ $page['screenshotsList'] = $screenshots;
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
prepare_menu($operator);
 | 
					prepare_menu($operator);
 | 
				
			||||||
setup_settings_tabs(3);
 | 
					setup_settings_tabs(3);
 | 
				
			||||||
render_view('operator_pages_themes');
 | 
					render_view('page_themes');
 | 
				
			||||||
 | 
					
 | 
				
			||||||
?>
 | 
					?>
 | 
				
			||||||
@ -33,7 +33,7 @@ $page = array('agentId' => '');
 | 
				
			|||||||
$errors = array();
 | 
					$errors = array();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
$stylelist = ChatStyle::availableStyles();
 | 
					$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(
 | 
					$options = array(
 | 
				
			||||||
	'email',
 | 
						'email',
 | 
				
			||||||
@ -41,7 +41,7 @@ $options = array(
 | 
				
			|||||||
	'logo',
 | 
						'logo',
 | 
				
			||||||
	'hosturl',
 | 
						'hosturl',
 | 
				
			||||||
	'usernamepattern',
 | 
						'usernamepattern',
 | 
				
			||||||
	'operator_pages_style',
 | 
						'page_style',
 | 
				
			||||||
	'chat_style',
 | 
						'chat_style',
 | 
				
			||||||
	'chattitle',
 | 
						'chattitle',
 | 
				
			||||||
	'geolink',
 | 
						'geolink',
 | 
				
			||||||
@ -77,9 +77,9 @@ if (isset($_POST['email']) && isset($_POST['title']) && isset($_POST['logo'])) {
 | 
				
			|||||||
		$params['chat_style'] = $stylelist[0];
 | 
							$params['chat_style'] = $stylelist[0];
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	$params['operator_pages_style'] = verifyparam("operator_pages_style", "/^\w+$/", $params['operator_pages_style']);
 | 
						$params['page_style'] = verifyparam("page_style", "/^\w+$/", $params['page_style']);
 | 
				
			||||||
	if (!in_array($params['operator_pages_style'], $operator_pages_style_list)) {
 | 
						if (!in_array($params['page_style'], $page_style_list)) {
 | 
				
			||||||
		$params['operator_pages_style'] = $operator_pages_style_list[0];
 | 
							$params['page_style'] = $page_style_list[0];
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (Settings::get('enabletracking')) {
 | 
						if (Settings::get('enabletracking')) {
 | 
				
			||||||
@ -122,8 +122,8 @@ $page['formhosturl'] = topage($params['hosturl']);
 | 
				
			|||||||
$page['formgeolink'] = topage($params['geolink']);
 | 
					$page['formgeolink'] = topage($params['geolink']);
 | 
				
			||||||
$page['formgeolinkparams'] = topage($params['geolinkparams']);
 | 
					$page['formgeolinkparams'] = topage($params['geolinkparams']);
 | 
				
			||||||
$page['formusernamepattern'] = topage($params['usernamepattern']);
 | 
					$page['formusernamepattern'] = topage($params['usernamepattern']);
 | 
				
			||||||
$page['formoperatorpagesstyle'] = $params['operator_pages_style'];
 | 
					$page['formpagestyle'] = $params['page_style'];
 | 
				
			||||||
$page['availableOperatorPagesStyles'] = $operator_pages_style_list;
 | 
					$page['availablePageStyles'] = $page_style_list;
 | 
				
			||||||
$page['formchatstyle'] = $params['chat_style'];
 | 
					$page['formchatstyle'] = $params['chat_style'];
 | 
				
			||||||
$page['formchattitle'] = topage($params['chattitle']);
 | 
					$page['formchattitle'] = topage($params['chattitle']);
 | 
				
			||||||
$page['formsendmessagekey'] = $params['sendmessagekey'];
 | 
					$page['formsendmessagekey'] = $params['sendmessagekey'];
 | 
				
			||||||
 | 
				
			|||||||
@ -49,7 +49,7 @@ $style_config = $chat_style->configurations();
 | 
				
			|||||||
$page['chatStyles.chatWindowParams'] = $style_config['chat']['window_params'];
 | 
					$page['chatStyles.chatWindowParams'] = $style_config['chat']['window_params'];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Load core style options
 | 
					// 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.threadTag'] = $style_config['users']['thread_tag'];
 | 
				
			||||||
$page['coreStyles.visitorTag'] = $style_config['users']['visitor_tag'];
 | 
					$page['coreStyles.visitorTag'] = $style_config['users']['visitor_tag'];
 | 
				
			||||||
$page['coreStyles.trackedUserWindowParams'] = $style_config['tracked']['user_window_params'];
 | 
					$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']) { ?>
 | 
					<?php if($page['canmodify']) { ?>
 | 
				
			||||||
<div class="tabletool">
 | 
					<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") ?>">
 | 
						<a href='<?php echo $mibewroot ?>/operator/operator.php' title="<?php echo getlocal("page_agents.new_agent") ?>">
 | 
				
			||||||
		<?php echo getlocal("page_agents.new_agent") ?>
 | 
							<?php echo getlocal("page_agents.new_agent") ?>
 | 
				
			||||||
	</a>
 | 
						</a>
 | 
				
			||||||
@ -36,7 +36,7 @@ require_once(dirname(__FILE__).'/inc_errors.php');
 | 
				
			|||||||
?>
 | 
					?>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<div class="tabletool">
 | 
					<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") ?>"
 | 
						<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>
 | 
						    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>
 | 
					</div>
 | 
				
			||||||
@ -57,7 +57,7 @@ require_once(dirname(__FILE__).'/inc_errors.php');
 | 
				
			|||||||
<br/>
 | 
					<br/>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<div class="tabletool">
 | 
					<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" 
 | 
						<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;">
 | 
									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") ?>
 | 
							<?php echo getlocal("canned.add") ?>
 | 
				
			||||||
@ -29,20 +29,20 @@ function tpl_content() { global $page, $mibewroot;
 | 
				
			|||||||
		<div>
 | 
							<div>
 | 
				
			||||||
		<table class="nicebutton"><tr>
 | 
							<table class="nicebutton"><tr>
 | 
				
			||||||
			<td><a href="<?php echo $page['link'] ?>">
 | 
								<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'] ?>">
 | 
								<td class="submit"><a href="<?php echo $page['link'] ?>">
 | 
				
			||||||
				<?php echo getlocal("confirm.take.yes") ?></a></td>
 | 
									<?php echo getlocal("confirm.take.yes") ?></a></td>
 | 
				
			||||||
			<td><a href="<?php echo $page['link'] ?>">
 | 
								<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>
 | 
							</tr></table>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		<table class="nicebutton"><tr>
 | 
							<table class="nicebutton"><tr>
 | 
				
			||||||
			<td><a href="javascript:window.close();">
 | 
								<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();">
 | 
								<td class="submit"><a href="javascript:window.close();">
 | 
				
			||||||
				<?php echo getlocal("confirm.take.no") ?></a></td>
 | 
									<?php echo getlocal("confirm.take.no") ?></a></td>
 | 
				
			||||||
			<td><a href="javascript:window.close();">
 | 
								<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>
 | 
							</tr></table>
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
		<br clear="all"/>
 | 
							<br clear="all"/>
 | 
				
			||||||
@ -63,7 +63,7 @@ require_once(dirname(__FILE__).'/inc_errors.php');
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
<?php if($page['canmodify']) { ?>
 | 
					<?php if($page['canmodify']) { ?>
 | 
				
			||||||
<div class="tabletool">
 | 
					<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") ?>">
 | 
						<a href='<?php echo $mibewroot ?>/operator/group.php' title="<?php echo getlocal("page.groups.new") ?>">
 | 
				
			||||||
		<?php echo getlocal("page.groups.new") ?>
 | 
							<?php echo getlocal("page.groups.new") ?>
 | 
				
			||||||
	</a>
 | 
						</a>
 | 
				
			||||||
@ -17,7 +17,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
if( isset($errors) && count($errors) > 0 ) { ?>
 | 
					if( isset($errors) && count($errors) > 0 ) { ?>
 | 
				
			||||||
	<div class="errinfo">
 | 
						<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
 | 
					<?php
 | 
				
			||||||
		print getlocal("errors.header");
 | 
							print getlocal("errors.header");
 | 
				
			||||||
		foreach( $errors as $e ) {
 | 
							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 } ?>>
 | 
					<html xmlns="http://www.w3.org/1999/xhtml"<?php if($isrtl) { ?> dir="rtl"<?php } ?>>
 | 
				
			||||||
<head>
 | 
					<head>
 | 
				
			||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 | 
					<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
 | 
					<?php
 | 
				
			||||||
	if(function_exists('tpl_header'))
 | 
						if(function_exists('tpl_header'))
 | 
				
			||||||
		tpl_header(); 
 | 
							tpl_header(); 
 | 
				
			||||||
@ -29,15 +29,15 @@ $isrtl = getlocal("localedirection") == 'rtl';
 | 
				
			|||||||
<title>
 | 
					<title>
 | 
				
			||||||
	<?php echo $page['title'] ?> - <?php echo getlocal("app.title") ?>
 | 
						<?php echo $page['title'] ?> - <?php echo getlocal("app.title") ?>
 | 
				
			||||||
</title>
 | 
					</title>
 | 
				
			||||||
<link href="<?php echo $mibewroot ?>/styles/operator_pages/default/css/default.css" rel="stylesheet" type="text/css" />
 | 
					<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/operator_pages/default/css/default_ie.css" rel="stylesheet" type="text/css" /><![endif] -->
 | 
					<!--[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]-->
 | 
					<!--[if lte IE 6]><script language="JavaScript" type="text/javascript" src="<?php echo $mibewroot ?>/<?php echo jspath() ?>/ie.js"></script><![endif]-->
 | 
				
			||||||
</head>
 | 
					</head>
 | 
				
			||||||
<body<?php if(!function_exists('tpl_menu')) { ?> style="min-width: 400px;"<?php } ?>>
 | 
					<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="<?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="header">
 | 
				
			||||||
		<div id="title">
 | 
							<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>
 | 
									<a href="#"><?php echo isset($page['headertitle']) ? $page['headertitle'] : $page['title'] ?></a></h1>
 | 
				
			||||||
		</div>
 | 
							</div>
 | 
				
			||||||
<?php if(isset($page) && isset($page['operator'])) { ?>
 | 
					<?php if(isset($page) && isset($page['operator'])) { ?>
 | 
				
			||||||
@ -26,7 +26,7 @@ function menuli($name) {
 | 
				
			|||||||
function tpl_menu() { global $page, $mibewroot, $errors;
 | 
					function tpl_menu() { global $page, $mibewroot, $errors;
 | 
				
			||||||
	if(isset($page['isOnline']) && !$page['isOnline']) { ?>
 | 
						if(isset($page['isOnline']) && !$page['isOnline']) { ?>
 | 
				
			||||||
			<li id="offwarn">
 | 
								<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>
 | 
									<p><?php echo getlocal2("menu.goonline",array($mibewroot."/operator/users.php?nomenu")) ?></p>
 | 
				
			||||||
			</li>		
 | 
								</li>		
 | 
				
			||||||
<?php }
 | 
					<?php }
 | 
				
			||||||
@ -53,14 +53,14 @@ function tpl_content() { global $page, $mibewroot, $current_locale, $menuItemsCo
 | 
				
			|||||||
<table id="dashboard">
 | 
					<table id="dashboard">
 | 
				
			||||||
<tr>
 | 
					<tr>
 | 
				
			||||||
	<td class="dashitem">
 | 
						<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'>
 | 
							<a href='<?php echo $mibewroot ?>/operator/users.php'>
 | 
				
			||||||
			<?php echo getlocal('topMenu.users') ?></a>
 | 
								<?php echo getlocal('topMenu.users') ?></a>
 | 
				
			||||||
		<?php echo getlocal('page_client.pending_users') ?>
 | 
							<?php echo getlocal('page_client.pending_users') ?>
 | 
				
			||||||
	</td>	
 | 
						</td>	
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	<td class="dashitem">
 | 
						<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'>
 | 
							<a href='<?php echo $mibewroot ?>/operator/history.php'>
 | 
				
			||||||
			<?php echo getlocal('page_analysis.search.title') ?></a>
 | 
								<?php echo getlocal('page_analysis.search.title') ?></a>
 | 
				
			||||||
		<?php echo getlocal('content.history') ?>
 | 
							<?php echo getlocal('content.history') ?>
 | 
				
			||||||
@ -71,7 +71,7 @@ $menuItemsCount = 2;
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
<?php if($page['showstat']) { ?>
 | 
					<?php if($page['showstat']) { ?>
 | 
				
			||||||
	<td class="dashitem">
 | 
						<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'>
 | 
							<a href='<?php echo $mibewroot ?>/operator/statistics.php'>
 | 
				
			||||||
			<?php echo getlocal('statistics.title') ?></a>
 | 
								<?php echo getlocal('statistics.title') ?></a>
 | 
				
			||||||
		<?php echo getlocal('statistics.description') ?>
 | 
							<?php echo getlocal('statistics.description') ?>
 | 
				
			||||||
@ -81,7 +81,7 @@ $menuItemsCount = 2;
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
<?php if( $page['showban'] ) { ?>	
 | 
					<?php if( $page['showban'] ) { ?>	
 | 
				
			||||||
	<td class="dashitem">
 | 
						<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'>
 | 
							<a href='<?php echo $mibewroot ?>/operator/blocked.php'>
 | 
				
			||||||
			<?php echo getlocal('menu.blocked') ?></a>
 | 
								<?php echo getlocal('menu.blocked') ?></a>
 | 
				
			||||||
		<?php echo getlocal('content.blocked') ?>
 | 
							<?php echo getlocal('content.blocked') ?>
 | 
				
			||||||
@ -90,7 +90,7 @@ $menuItemsCount = 2;
 | 
				
			|||||||
<?php } ?>
 | 
					<?php } ?>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	<td class="dashitem">
 | 
						<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'>
 | 
							<a href='<?php echo $mibewroot ?>/operator/canned.php'>
 | 
				
			||||||
			<?php echo getlocal('menu.canned') ?></a>
 | 
								<?php echo getlocal('menu.canned') ?></a>
 | 
				
			||||||
		<?php echo getlocal('canned.descr') ?>
 | 
							<?php echo getlocal('canned.descr') ?>
 | 
				
			||||||
@ -99,7 +99,7 @@ $menuItemsCount = 2;
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
<?php if( $page['showadmin'] ) { ?>
 | 
					<?php if( $page['showadmin'] ) { ?>
 | 
				
			||||||
	<td class="dashitem">
 | 
						<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'>
 | 
							<a href='<?php echo $mibewroot ?>/operator/getcode.php'>
 | 
				
			||||||
			<?php echo getlocal('leftMenu.client_gen_button') ?></a>
 | 
								<?php echo getlocal('leftMenu.client_gen_button') ?></a>
 | 
				
			||||||
		<?php echo getlocal('admin.content.client_gen_button') ?>
 | 
							<?php echo getlocal('admin.content.client_gen_button') ?>
 | 
				
			||||||
@ -107,7 +107,7 @@ $menuItemsCount = 2;
 | 
				
			|||||||
	<?php menuseparator(); ?>
 | 
						<?php menuseparator(); ?>
 | 
				
			||||||
	
 | 
						
 | 
				
			||||||
	<td class="dashitem">
 | 
						<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'>
 | 
							<a href='<?php echo $mibewroot ?>/operator/operators.php'>
 | 
				
			||||||
			<?php echo getlocal('leftMenu.client_agents') ?></a>
 | 
								<?php echo getlocal('leftMenu.client_agents') ?></a>
 | 
				
			||||||
		<?php echo getlocal('admin.content.client_agents') ?>
 | 
							<?php echo getlocal('admin.content.client_agents') ?>
 | 
				
			||||||
@ -115,7 +115,7 @@ $menuItemsCount = 2;
 | 
				
			|||||||
	<?php menuseparator(); ?>
 | 
						<?php menuseparator(); ?>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	<td class="dashitem">
 | 
						<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'>
 | 
							<a href='<?php echo $mibewroot ?>/operator/groups.php'>
 | 
				
			||||||
			<?php echo getlocal('menu.groups') ?></a>
 | 
								<?php echo getlocal('menu.groups') ?></a>
 | 
				
			||||||
		<?php echo getlocal('menu.groups.content') ?>
 | 
							<?php echo getlocal('menu.groups.content') ?>
 | 
				
			||||||
@ -123,7 +123,7 @@ $menuItemsCount = 2;
 | 
				
			|||||||
	<?php menuseparator(); ?>
 | 
						<?php menuseparator(); ?>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	<td class="dashitem">
 | 
						<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'>
 | 
							<a href='<?php echo $mibewroot ?>/operator/settings.php'>
 | 
				
			||||||
			<?php echo getlocal('leftMenu.client_settings') ?></a>
 | 
								<?php echo getlocal('leftMenu.client_settings') ?></a>
 | 
				
			||||||
		<?php echo getlocal('admin.content.client_settings') ?>
 | 
							<?php echo getlocal('admin.content.client_settings') ?>
 | 
				
			||||||
@ -133,7 +133,7 @@ $menuItemsCount = 2;
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
<?php if(isset($page['currentopid']) && $page['currentopid']) {?>
 | 
					<?php if(isset($page['currentopid']) && $page['currentopid']) {?>
 | 
				
			||||||
	<td class="dashitem">
 | 
						<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'] ?>'>
 | 
							<a href='<?php echo $mibewroot ?>/operator/operator.php?op=<?php echo $page['currentopid'] ?>'>
 | 
				
			||||||
			<?php echo getlocal('menu.profile') ?></a>
 | 
								<?php echo getlocal('menu.profile') ?></a>
 | 
				
			||||||
		<?php echo getlocal('menu.profile.content') ?>
 | 
							<?php echo getlocal('menu.profile.content') ?>
 | 
				
			||||||
@ -143,7 +143,7 @@ $menuItemsCount = 2;
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
<?php if(isset($page) && isset($page['localeLinks'])) { ?>
 | 
					<?php if(isset($page) && isset($page['localeLinks'])) { ?>
 | 
				
			||||||
	<td class="dashitem">
 | 
						<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">
 | 
							<a href='#' id="changelang">
 | 
				
			||||||
			<?php echo getlocal('menu.locale') ?></a>
 | 
								<?php echo getlocal('menu.locale') ?></a>
 | 
				
			||||||
		<?php echo getlocal('menu.locale.content') ?>
 | 
							<?php echo getlocal('menu.locale.content') ?>
 | 
				
			||||||
@ -153,7 +153,7 @@ $menuItemsCount = 2;
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
<?php if( $page['showadmin'] ) { ?>
 | 
					<?php if( $page['showadmin'] ) { ?>
 | 
				
			||||||
	<td class="dashitem">
 | 
						<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'>
 | 
							<a href='<?php echo $mibewroot ?>/operator/updates.php'>
 | 
				
			||||||
			<?php echo getlocal('menu.updates') ?></a>
 | 
								<?php echo getlocal('menu.updates') ?></a>
 | 
				
			||||||
		<?php echo getlocal('menu.updates.content') ?>
 | 
							<?php echo getlocal('menu.updates.content') ?>
 | 
				
			||||||
@ -162,7 +162,7 @@ $menuItemsCount = 2;
 | 
				
			|||||||
<?php } ?>
 | 
					<?php } ?>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	<td class="dashitem">
 | 
						<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'>
 | 
							<a href='<?php echo $mibewroot ?>/operator/logout.php'>
 | 
				
			||||||
			<?php echo getlocal('topMenu.logoff') ?></a>
 | 
								<?php echo getlocal('topMenu.logoff') ?></a>
 | 
				
			||||||
		<?php echo getlocal('content.logoff') ?>
 | 
							<?php echo getlocal('content.logoff') ?>
 | 
				
			||||||
@ -173,8 +173,8 @@ $menuItemsCount = 2;
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
<?php if(isset($page) && isset($page['localeLinks'])) { ?>
 | 
					<?php if(isset($page) && isset($page['localeLinks'])) { ?>
 | 
				
			||||||
<div id="dashlocalesPopup">
 | 
					<div id="dashlocalesPopup">
 | 
				
			||||||
	<a href="#" id="dashlocalesPopupClose"><img src="<?php echo $mibewroot ?>/styles/operator_pages/default/images/dash/close.gif" alt="X"/></a>
 | 
						<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/operator_pages/default/images/dash/locale.gif"  alt=""/>
 | 
						<h2><img src="<?php echo $mibewroot ?>/styles/pages/default/images/dash/locale.gif"  alt=""/>
 | 
				
			||||||
	<b><?php echo getlocal("lang.choose") ?></b></h2>
 | 
						<b><?php echo getlocal("lang.choose") ?></b></h2>
 | 
				
			||||||
	<ul class="locales">
 | 
						<ul class="locales">
 | 
				
			||||||
<?php foreach($page['localeLinks'] as $id => $title) { ?>
 | 
					<?php foreach($page['localeLinks'] as $id => $title) { ?>
 | 
				
			||||||
@ -28,7 +28,7 @@ function tpl_content() { global $page, $mibewroot;
 | 
				
			|||||||
<br />
 | 
					<br />
 | 
				
			||||||
<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>
 | 
						<div>
 | 
				
			||||||
<?php print_tabbar(); ?>
 | 
					<?php print_tabbar(); ?>
 | 
				
			||||||
	<div class="mform"><div class="formtop"><div class="formtopi"></div></div><div class="forminner">
 | 
						<div class="mform"><div class="formtop"><div class="formtopi"></div></div><div class="forminner">
 | 
				
			||||||