2009-02-04 03:02:57 +03:00
|
|
|
<?php
|
|
|
|
/*
|
2009-06-04 02:44:32 +04:00
|
|
|
* This file is part of Mibew Messenger project.
|
2009-08-04 20:30:39 +04:00
|
|
|
*
|
2009-06-04 02:44:32 +04:00
|
|
|
* Copyright (c) 2005-2009 Mibew Messenger Community
|
2009-08-04 19:03:27 +04:00
|
|
|
* All rights reserved. The contents of this file are subject to 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
|
2009-08-04 20:30:39 +04:00
|
|
|
*
|
2009-08-04 17:38:37 +04:00
|
|
|
* Alternatively, the contents of this file may be used under the terms of
|
|
|
|
* the GNU General Public License Version 2 or later (the "GPL"), in which case
|
|
|
|
* the provisions of the GPL are applicable instead of those above. If you wish
|
|
|
|
* to allow use of your version of this file only under the terms of the GPL, and
|
|
|
|
* not to allow others to use your version of this file under the terms of the
|
|
|
|
* EPL, indicate your decision by deleting the provisions above and replace them
|
|
|
|
* with the notice and other provisions required by the GPL.
|
2009-08-04 20:30:39 +04:00
|
|
|
*
|
2009-02-04 03:02:57 +03:00
|
|
|
* Contributors:
|
|
|
|
* Evgeny Gryaznov - initial API and implementation
|
|
|
|
*/
|
|
|
|
|
2009-03-12 04:07:35 +03:00
|
|
|
require_once("inc_menu.php");
|
|
|
|
$page['title'] = getlocal("updates.title");
|
2009-04-09 02:40:26 +04:00
|
|
|
$page['menuid'] = "updates";
|
2009-02-04 03:02:57 +03:00
|
|
|
|
2009-03-17 02:53:28 +03:00
|
|
|
function tpl_header() { global $page, $webimroot;
|
|
|
|
?>
|
|
|
|
<script type="text/javascript" language="javascript" src="<?php echo $webimroot ?>/js/jquery-1.3.2.min.js"></script>
|
|
|
|
<script type="text/javascript" language="javascript" src="http://openwebim.org/latestWebim.js"></script>
|
|
|
|
<script type="text/javascript" language="javascript" src="<?php echo $webimroot ?>/js/update.js"></script>
|
|
|
|
<?php
|
|
|
|
}
|
|
|
|
|
2009-03-12 04:07:35 +03:00
|
|
|
function tpl_content() { global $page, $webimroot;
|
|
|
|
?>
|
2009-02-04 03:02:57 +03:00
|
|
|
|
2009-03-12 04:07:35 +03:00
|
|
|
<?php echo getlocal("updates.intro") ?>
|
2009-02-04 03:02:57 +03:00
|
|
|
<br />
|
|
|
|
<br />
|
2009-03-12 04:07:35 +03:00
|
|
|
<div>
|
|
|
|
<div class="mform"><div class="formtop"><div class="formtopi"></div></div><div class="forminner">
|
2009-03-17 02:53:28 +03:00
|
|
|
|
2009-04-10 01:43:25 +04:00
|
|
|
<?php echo getlocal("updates.news")?><br/>
|
2009-03-17 02:53:28 +03:00
|
|
|
<div id="news">
|
|
|
|
</div>
|
|
|
|
|
2009-04-10 01:43:25 +04:00
|
|
|
<?php echo getlocal("updates.current")?><br/>
|
2009-03-17 02:53:28 +03:00
|
|
|
<div id="cver"><?php echo $page['version'] ?></div>
|
2009-03-12 04:07:35 +03:00
|
|
|
|
2009-03-17 02:53:28 +03:00
|
|
|
<br/>
|
|
|
|
|
2009-04-10 01:43:25 +04:00
|
|
|
<?php echo getlocal("updates.latest")?>
|
2009-03-17 02:53:28 +03:00
|
|
|
<div id="lver"></div>
|
|
|
|
|
|
|
|
<br/>
|
2009-03-12 04:07:35 +03:00
|
|
|
|
2009-04-10 01:43:25 +04:00
|
|
|
<?php echo getlocal("updates.installed_locales")?><br/>
|
2009-02-04 03:02:57 +03:00
|
|
|
<?php foreach( $page['localizations'] as $loc ) { ?>
|
|
|
|
<?php echo $loc ?>
|
|
|
|
<?php } ?>
|
2009-03-12 04:07:35 +03:00
|
|
|
|
|
|
|
<br/><br/>
|
|
|
|
|
2009-04-10 01:43:25 +04:00
|
|
|
<?php echo getlocal("updates.env")?><br/>
|
2009-02-04 03:02:57 +03:00
|
|
|
PHP <?php echo $page['phpVersion'] ?>
|
2009-03-17 02:53:28 +03:00
|
|
|
|
2009-03-12 04:07:35 +03:00
|
|
|
</div><div class="formbottom"><div class="formbottomi"></div></div></div>
|
|
|
|
</div>
|
2009-02-04 03:02:57 +03:00
|
|
|
|
2009-03-12 04:07:35 +03:00
|
|
|
<?php
|
|
|
|
} /* content */
|
2009-02-04 03:02:57 +03:00
|
|
|
|
2009-03-12 04:07:35 +03:00
|
|
|
require_once('inc_main.php');
|
2009-08-04 20:30:39 +04:00
|
|
|
?>
|