2007-10-10 19:15:47 +04:00
|
|
|
<?php
|
|
|
|
/*
|
|
|
|
* This file is part of Web Instant Messenger project.
|
|
|
|
*
|
2009-01-14 01:00:34 +03:00
|
|
|
* Copyright (c) 2005-2009 Web Messenger Community
|
2007-10-10 19:15:47 +04:00
|
|
|
* All rights reserved. This program and the accompanying materials
|
|
|
|
* are made available under the terms of the Eclipse Public License v1.0
|
|
|
|
* which accompanies this distribution, and is available at
|
|
|
|
* http://www.eclipse.org/legal/epl-v10.html
|
|
|
|
*
|
|
|
|
* Contributors:
|
|
|
|
* Evgeny Gryaznov - initial API and implementation
|
|
|
|
*/
|
|
|
|
|
2009-03-12 04:07:35 +03:00
|
|
|
require_once("inc_menu.php");
|
|
|
|
$page['title'] = getlocal("topMenu.admin");
|
|
|
|
$page['menuid'] = "main";
|
2008-09-30 03:07:06 +04:00
|
|
|
|
2009-03-12 04:07:35 +03:00
|
|
|
function tpl_content() { global $page, $webimroot;
|
|
|
|
?>
|
2007-10-10 19:15:47 +04:00
|
|
|
|
2008-05-06 15:08:21 +04:00
|
|
|
<?php echo getlocal("admin.content.description") ?>
|
2009-03-12 04:07:35 +03:00
|
|
|
<br/>
|
|
|
|
<br/>
|
2009-02-04 03:31:26 +03:00
|
|
|
<?php if( $page['needUpdate'] ) { ?>
|
|
|
|
<div id="formmessage"><?php echo getlocal2("install.updatedb",array($page['updateWizard'])) ?></div>
|
|
|
|
<br/>
|
|
|
|
<?php } ?>
|
2007-10-10 19:15:47 +04:00
|
|
|
|
2009-03-12 04:07:35 +03:00
|
|
|
<div id="dashboard">
|
2007-10-10 19:15:47 +04:00
|
|
|
|
2009-03-12 04:07:35 +03:00
|
|
|
<div class="dashitem">
|
|
|
|
<a href='<?php echo $webimroot ?>/operator/users.php'>
|
|
|
|
<?php echo getlocal('topMenu.users') ?></a>
|
|
|
|
<?php echo getlocal('page_client.pending_users') ?>
|
|
|
|
</div>
|
2007-10-10 19:15:47 +04:00
|
|
|
|
2009-03-12 04:07:35 +03:00
|
|
|
<div class="dashitem">
|
|
|
|
<a href='<?php echo $webimroot ?>/operator/history.php'>
|
|
|
|
<?php echo getlocal('page_analysis.search.title') ?></a>
|
|
|
|
<?php echo getlocal('content.history') ?>
|
|
|
|
</div>
|
2008-10-04 03:35:17 +04:00
|
|
|
<?php if( $page['showban'] ) { ?>
|
2009-03-12 04:07:35 +03:00
|
|
|
|
|
|
|
<div class="dashitem">
|
|
|
|
<a href='<?php echo $webimroot ?>/operator/blocked.php'>
|
|
|
|
<?php echo getlocal('menu.blocked') ?></a>
|
|
|
|
<?php echo getlocal('content.blocked') ?>
|
|
|
|
</div>
|
2008-10-04 03:35:17 +04:00
|
|
|
<?php } ?>
|
2009-03-12 04:07:35 +03:00
|
|
|
|
2008-12-09 02:47:40 +03:00
|
|
|
<?php if( $page['showadmin'] ) { ?>
|
2009-03-12 04:07:35 +03:00
|
|
|
<br clear="all"/>
|
|
|
|
|
|
|
|
<div class="dashitem">
|
|
|
|
<a href='<?php echo $webimroot ?>/operator/operators.php'>
|
|
|
|
<?php echo getlocal('leftMenu.client_agents') ?></a>
|
|
|
|
<?php echo getlocal('admin.content.client_agents') ?>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="dashitem">
|
|
|
|
<a href='<?php echo $webimroot ?>/operator/getcode.php'>
|
|
|
|
<?php echo getlocal('leftMenu.client_gen_button') ?></a>
|
|
|
|
<?php echo getlocal('admin.content.client_gen_button') ?>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="dashitem">
|
|
|
|
<a href='<?php echo $webimroot ?>/operator/settings.php'>
|
|
|
|
<?php echo getlocal('leftMenu.client_settings') ?></a>
|
|
|
|
<?php echo getlocal('admin.content.client_settings') ?>
|
|
|
|
</div>
|
2008-12-09 02:47:40 +03:00
|
|
|
<?php } ?>
|
2008-09-30 03:07:06 +04:00
|
|
|
|
2009-03-12 04:07:35 +03:00
|
|
|
<br clear="all"/>
|
2007-10-10 19:15:47 +04:00
|
|
|
|
2009-03-12 04:07:35 +03:00
|
|
|
<div class="dashitem">
|
|
|
|
<a href='<?php echo $webimroot ?>/operator/logout.php'>
|
|
|
|
<?php echo getlocal('topMenu.logoff') ?></a>
|
|
|
|
<?php echo getlocal('content.logoff') ?>
|
|
|
|
</div>
|
2007-10-10 19:15:47 +04:00
|
|
|
|
2009-03-12 04:07:35 +03:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<?php
|
|
|
|
} /* content */
|
2007-10-10 19:15:47 +04:00
|
|
|
|
2009-03-12 04:07:35 +03:00
|
|
|
require_once('inc_main.php');
|
|
|
|
?>
|