mirror of
https://github.com/Mibew/i18n.git
synced 2025-01-22 21:40:28 +03:00
js versioning
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@618 c66351dc-e62f-0410-b875-e3a5c0b9693f
This commit is contained in:
parent
2f2120e21a
commit
997e6d81ab
@ -3,9 +3,9 @@ window.attachEvent('onresize', mkwidth);
|
||||
|
||||
function mkwidth(){
|
||||
if(document.getElementById("wrap700")) {
|
||||
document.getElementById("wrap700").style.width = document.documentElement.clientWidth < 700 ? "700px" : "100%";
|
||||
document.getElementById("wrap700").style.width = document.documentElement.clientWidth < 700 ? "750px" : "100%";
|
||||
}
|
||||
if(document.getElementById("wrap400")) {
|
||||
document.getElementById("wrap400").style.width = document.documentElement.clientWidth < 400 ? "400px" : "100%";
|
||||
document.getElementById("wrap400").style.width = document.documentElement.clientWidth < 400 ? "450px" : "100%";
|
||||
}
|
||||
};
|
1
src/messenger/webim/js/source/.htaccess
Normal file
1
src/messenger/webim/js/source/.htaccess
Normal file
@ -0,0 +1 @@
|
||||
Deny from all
|
@ -3,7 +3,7 @@
|
||||
|
||||
<project basedir="." default="update" name="Obfuscator">
|
||||
<property name="obfuscator.location" value="." />
|
||||
<property name="webim.location" value="../" />
|
||||
<property name="webim.location" value="../162" />
|
||||
|
||||
<target name="update" depends="build">
|
||||
<java classname="JSO" fork="true" error="${obfuscator.location}/bin/obfuscation.log">
|
||||
|
@ -25,6 +25,7 @@ require_once(dirname(__FILE__).'/converter.php');
|
||||
require_once(dirname(__FILE__).'/config.php');
|
||||
|
||||
$version = '1.6.2';
|
||||
$jsver = "162";
|
||||
|
||||
function myiconv($in_enc, $out_enc, $string) {
|
||||
global $_utf8win1251, $_win1251utf8;
|
||||
@ -620,4 +621,9 @@ function getchatstyle() {
|
||||
return $settings['chatstyle'];
|
||||
}
|
||||
|
||||
function jspath() {
|
||||
global $jsver;
|
||||
return "js/$jsver";
|
||||
}
|
||||
|
||||
?>
|
@ -4,13 +4,13 @@
|
||||
<title>${msg:chat.window.title.agent}</title>
|
||||
<link rel="shortcut icon" href="${webimroot}/images/favicon.ico" type="image/x-icon">
|
||||
<link rel="stylesheet" type="text/css" href="${tplroot}/chat.css">
|
||||
<script type="text/javascript" language="javascript" src="${webimroot}/js/common.js?v=161"></script>
|
||||
<script type="text/javascript" language="javascript" src="${webimroot}/js/brws.js?v=161"></script>
|
||||
<script type="text/javascript" language="javascript" src="${webimroot}/js/${jsver}/common.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="${webimroot}/js/${jsver}/brws.js"></script>
|
||||
<script type="text/javascript" language="javascript"><!--
|
||||
var threadParams = { servl:"${webimroot}/thread.php",wroot:"${webimroot}",frequency:${page:frequency},${if:user}user:"true",${endif:user}threadid:${page:ct.chatThreadId},token:${page:ct.token},cssfile:"${tplroot}/chat.css",ignorectrl:${page:ignorectrl} };
|
||||
//-->
|
||||
</script>
|
||||
<script type="text/javascript" language="javascript" src="${webimroot}/js/chat.js?v=161"></script>
|
||||
<script type="text/javascript" language="javascript" src="${webimroot}/js/${jsver}/chat.js"></script>
|
||||
<style type="text/css">
|
||||
#header{
|
||||
height:50px;
|
||||
|
@ -4,7 +4,7 @@
|
||||
<title>${msg:chat.window.title.user}</title>
|
||||
<link rel="shortcut icon" href="${webimroot}/images/favicon.ico" type="image/x-icon">
|
||||
<link rel="stylesheet" type="text/css" href="${tplroot}/chat.css">
|
||||
<script type="text/javascript" language="javascript" src="${webimroot}/js/brws.js?v=161"></script>
|
||||
<script type="text/javascript" language="javascript" src="${webimroot}/js/${jsver}/brws.js"></script>
|
||||
</head>
|
||||
|
||||
<body bgcolor="#FFFFFF" text="#000000" link="#C28400" vlink="#C28400" alink="#C28400">
|
||||
|
@ -4,13 +4,13 @@
|
||||
<title>${msg:chat.window.title.agent}</title>
|
||||
<link rel="shortcut icon" href="${webimroot}/images/favicon.ico" type="image/x-icon">
|
||||
<link rel="stylesheet" type="text/css" href="${tplroot}/chat.css">
|
||||
<script type="text/javascript" language="javascript" src="${webimroot}/js/common.js?v=161"></script>
|
||||
<script type="text/javascript" language="javascript" src="${webimroot}/js/brws.js?v=161"></script>
|
||||
<script type="text/javascript" language="javascript" src="${webimroot}/js/${jsver}/common.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="${webimroot}/js/${jsver}/brws.js"></script>
|
||||
<script type="text/javascript" language="javascript"><!--
|
||||
var threadParams = { servl:"${webimroot}/thread.php",wroot:"${webimroot}",frequency:${page:frequency},${if:user}user:"true",${endif:user}threadid:${page:ct.chatThreadId},token:${page:ct.token},cssfile:"${tplroot}/chat.css",ignorectrl:${page:ignorectrl} };
|
||||
//-->
|
||||
</script>
|
||||
<script type="text/javascript" language="javascript" src="${webimroot}/js/chat.js?v=161"></script>
|
||||
<script type="text/javascript" language="javascript" src="${webimroot}/js/${jsver}/chat.js"></script>
|
||||
<style type="text/css">
|
||||
.tplimage {
|
||||
background: transparent url(${tplroot}/images/wmchat.png) no-repeat scroll 0px 0px;
|
||||
|
@ -4,7 +4,7 @@
|
||||
<title>${msg:chat.window.title.user}</title>
|
||||
<link rel="shortcut icon" href="${webimroot}/images/favicon.ico" type="image/x-icon">
|
||||
<link rel="stylesheet" type="text/css" href="${tplroot}/chat.css">
|
||||
<script type="text/javascript" language="javascript" src="${webimroot}/js/brws.js?v=161"></script>
|
||||
<script type="text/javascript" language="javascript" src="${webimroot}/js/${jsver}/brws.js"></script>
|
||||
</head>
|
||||
|
||||
<body bgcolor="#FFFFFF" style="background-image: url(${tplroot}/images/bg.gif); margin: 0px;" text="#000000" link="#C28400" vlink="#C28400" alink="#C28400">
|
||||
|
@ -4,13 +4,13 @@
|
||||
<title>${msg:chat.window.title.agent}</title>
|
||||
<link rel="shortcut icon" href="${webimroot}/images/favicon.ico" type="image/x-icon">
|
||||
<link rel="stylesheet" type="text/css" href="${tplroot}/chat.css">
|
||||
<script type="text/javascript" language="javascript" src="${webimroot}/js/common.js?v=161"></script>
|
||||
<script type="text/javascript" language="javascript" src="${webimroot}/js/brws.js?v=161"></script>
|
||||
<script type="text/javascript" language="javascript" src="${webimroot}/js/${jsver}/common.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="${webimroot}/js/${jsver}/brws.js"></script>
|
||||
<script type="text/javascript" language="javascript"><!--
|
||||
var threadParams = { servl:"${webimroot}/thread.php",wroot:"${webimroot}",frequency:${page:frequency},${if:user}user:"true",${endif:user}threadid:${page:ct.chatThreadId},token:${page:ct.token},cssfile:"${tplroot}/chat.css",ignorectrl:${page:ignorectrl} };
|
||||
//-->
|
||||
</script>
|
||||
<script type="text/javascript" language="javascript" src="${webimroot}/js/chat.js?v=161"></script>
|
||||
<script type="text/javascript" language="javascript" src="${webimroot}/js/${jsver}/chat.js"></script>
|
||||
<style type="text/css">
|
||||
.isound { background: url(${tplroot}/images/buttons/sound.gif) no-repeat; width: 19px; height: 19px; }
|
||||
.inosound { background: url(${tplroot}/images/buttons/nosound.gif) no-repeat; width: 19px; height: 19px; }
|
||||
|
@ -4,7 +4,7 @@
|
||||
<title>${msg:chat.window.title.user}</title>
|
||||
<link rel="shortcut icon" href="${webimroot}/images/favicon.ico" type="image/x-icon">
|
||||
<link rel="stylesheet" type="text/css" href="${tplroot}/chat.css">
|
||||
<script type="text/javascript" language="javascript" src="${webimroot}/js/brws.js?v=161"></script>
|
||||
<script type="text/javascript" language="javascript" src="${webimroot}/js/${jsver}/brws.js"></script>
|
||||
</head>
|
||||
<body style="background:#EFEFEF;">
|
||||
<div id="greybg">
|
||||
|
@ -34,7 +34,7 @@ $isrtl = getlocal("localedirection") == 'rtl';
|
||||
<?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]-->
|
||||
<!--[if lte IE 6]><script language="JavaScript" type="text/javascript" src="<?php echo $webimroot ?>/<?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") ?>">
|
||||
|
@ -23,11 +23,11 @@ require_once("inc_menu.php");
|
||||
$page['title'] = getlocal("topMenu.admin");
|
||||
$page['menuid'] = "main";
|
||||
|
||||
function tpl_header() { global $page, $webimroot;
|
||||
function tpl_header() { global $page, $webimroot, $jsver;
|
||||
if(isset($page) && isset($page['localeLinks'])) {
|
||||
?>
|
||||
<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="<?php echo $webimroot ?>/js/locale.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="<?php echo $webimroot ?>/js/<?php echo $jsver ?>/locale.js"></script>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
|
@ -24,9 +24,9 @@ $page['title'] = getlocal("clients.title");
|
||||
$page['menuid'] = "users";
|
||||
|
||||
|
||||
function tpl_header() { global $page, $webimroot;
|
||||
function tpl_header() { global $page, $webimroot, $jsver;
|
||||
?>
|
||||
<script type="text/javascript" language="javascript" src="<?php echo $webimroot ?>/js/common.js?v=161"></script>
|
||||
<script type="text/javascript" language="javascript" src="<?php echo $webimroot ?>/js/<?php echo $jsver ?>/common.js"></script>
|
||||
<script type="text/javascript" language="javascript"><!--
|
||||
var localized = new Array(
|
||||
"<?php echo getlocal("pending.table.speak") ?>",
|
||||
@ -41,7 +41,7 @@ var updaterOptions = {
|
||||
agentservl:"<?php echo $webimroot ?>/operator/agent.php", frequency:<?php echo $page['frequency'] ?>, istatus:<?php echo $page['istatus'] ?>,
|
||||
noclients:"<?php echo getlocal("clients.no_clients") ?>", havemenu: <?php echo $page['havemenu'] ?>, showpopup: <?php echo $page['showpopup'] ?> };
|
||||
//--></script>
|
||||
<script type="text/javascript" language="javascript" src="<?php echo $webimroot ?>/js/users.js?v=161"></script>
|
||||
<script type="text/javascript" language="javascript" src="<?php echo $webimroot ?>/js/<?php echo $jsver ?>/users.js"></script>
|
||||
<?php
|
||||
}
|
||||
|
||||
|
@ -23,11 +23,11 @@ require_once("inc_menu.php");
|
||||
$page['title'] = getlocal("updates.title");
|
||||
$page['menuid'] = "updates";
|
||||
|
||||
function tpl_header() { global $page, $webimroot;
|
||||
function tpl_header() { global $page, $webimroot, $jsver;
|
||||
?>
|
||||
<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>
|
||||
<script type="text/javascript" language="javascript" src="<?php echo $webimroot ?>/js/<?php echo $jsver ?>/update.js"></script>
|
||||
<?php
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user