mirror of
https://github.com/Mibew/i18n.git
synced 2025-01-24 14:10:28 +03:00
85b2166d20
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@520 c66351dc-e62f-0410-b875-e3a5c0b9693f
73 lines
2.6 KiB
PHP
73 lines
2.6 KiB
PHP
<?php
|
|
$isrtl = getlocal("localedirection") == 'rtl';
|
|
?>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<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 $webimroot ?>/images/favicon.ico" type="image/x-icon"/>
|
|
<?php
|
|
if(function_exists('tpl_header'))
|
|
tpl_header();
|
|
?>
|
|
<title>
|
|
<?php echo $page['title'] ?> - <?php echo getlocal("app.title") ?>
|
|
</title>
|
|
<link href="<?php echo $webimroot ?>/default.css" rel="stylesheet" type="text/css" />
|
|
<!--[if lte IE 6]><script language="JavaScript" type="text/javascript" src="<?php echo $webimroot ?>/js/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 $webimroot ?>/images/logo.gif" alt="" width="32" height="32" class="left" />
|
|
<a href="#"><?php echo isset($page['headertitle']) ? $page['headertitle'] : $page['title'] ?></a></h1>
|
|
</div>
|
|
<?php if(isset($page) && isset($page['operator'])) { ?>
|
|
<div id="path"><p><?php echo getlocal2("menu.operator",array($page['operator'])) ?></p></div>
|
|
<?php } else if(isset($page) && isset($page['show_small_login'])) { ?>
|
|
<div id="loginsmallpane">
|
|
<form name="smallLogin" method="post" action="<?php echo $webimroot ?>/operator/login.php">
|
|
<?php echo getlocal("page_login.login") ?>
|
|
<input type="text" name="login" size="8" class="formauth"/>
|
|
<input type="password" name="password" size="8" class="formauth"/>
|
|
<input type="hidden" name="isRemember" value=""/>
|
|
<input type="submit" value=">>" class="butt"/>
|
|
</form>
|
|
|
|
</div>
|
|
<?php } ?>
|
|
</div>
|
|
|
|
<br clear="all"/>
|
|
|
|
<div class="contentdiv">
|
|
<?php if(function_exists('tpl_menu')) { ?>
|
|
<div id="wcontent" class="contentinner">
|
|
<?php } else { ?>
|
|
<div id="wcontent" class="contentnomenu">
|
|
<?php } ?>
|
|
<?php
|
|
tpl_content();
|
|
?>
|
|
</div>
|
|
</div>
|
|
|
|
<?php if(function_exists('tpl_menu')) { ?>
|
|
<div id="sidebar">
|
|
<ul>
|
|
<?php
|
|
tpl_menu();
|
|
?>
|
|
</ul>
|
|
</div>
|
|
<?php } ?>
|
|
<div style="clear: both;"> </div>
|
|
|
|
<div class="empty_inner" style=""> </div>
|
|
</div>
|
|
<div id="footer">
|
|
<p id="legal"><a href="http://openwebim.org/" class="flink">Mibew Messenger</a> <?php echo $version ?> | (c) 2009 openwebim.org</p>
|
|
</div>
|
|
</body>
|
|
</html>
|