rtl support, get rid of hsplitter in js

git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@483 c66351dc-e62f-0410-b875-e3a5c0b9693f
This commit is contained in:
Evgeny Gryaznov 2009-04-24 14:19:11 +00:00
parent 891723f794
commit 6f5074deba
33 changed files with 118 additions and 100 deletions

View File

@ -108,6 +108,11 @@ a {
text-decoration: underline;
}
#togglediv {
float:right;
padding-right:10px;
}
/* Header */
#header {
@ -778,3 +783,50 @@ table.awaiting td.visitor {
.newstext {
margin-bottom:1em;
}
/* rtl rules */
.lrtl .dashitem img, .lrtl #dashlocalesPopup h2 img {
float: right;
padding-right:0px;
padding-left:10px;
}
.lrtl .fleftlabel {
float: right;
width: 100px;
}
.lrtl .fdescr {
float:right;
padding-right:10px;
}
.lrtl .field .subfield {
padding-right: 30px;
background: url(images/subitem_rtl.gif) no-repeat 99% 2px;
}
.lrtl .fvalue {
float: right;
}
.lrtl .logpane .wlabel {
float: right;
margin-left:10px;
}
.lrtl .logpane .wvalue {
float: right;
}
.lrtl .fvaluewithta {
float: right;
}
.lrtl #togglediv {
float:left;
padding-left:10px;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 B

View File

@ -1 +1 @@
var myAgent="";var kk=0;var myRealAgent="";function lk(){var ok=["opera","msie","safari","firefox","netscape","mozilla"];var gj=navigator.userAgent.toLowerCase();for(var i=0;i<ok.length;i++){var pk=ok[i];if(gj.indexOf(pk)!=-1){myAgent=pk;if(!window.RegExp)break;var dk=new RegExp(pk+"[ \/]?([0-9]+(\.[0-9]+)?)");if(dk.exec(gj)!=null){kk=parseFloat(RegExp.$1);} break;} } myRealAgent=myAgent;if(navigator.product=="Gecko")myAgent="moz";} lk();function getEl(name){return document.getElementById(name);}
var myAgent="";var xj=0;var myRealAgent="";function yj(){var zj=["opera","msie","safari","firefox","netscape","mozilla"];var qj=navigator.userAgent.toLowerCase();for(var i=0;i<zj.length;i++){var $j=zj[i];if(qj.indexOf($j)!=-1){myAgent=$j;if(!window.RegExp)break;var _j=new RegExp($j+"[ \/]?([0-9]+(\.[0-9]+)?)");if(_j.exec(qj)!=null){xj=parseFloat(RegExp.$1);} break;} } myRealAgent=myAgent;if(navigator.product=="Gecko")myAgent="moz";} yj();function getEl(name){return document.getElementById(name);}

File diff suppressed because one or more lines are too long

View File

@ -291,57 +291,8 @@ Class.inherit( Ajax.ChatThreadUpdater, Ajax.Base, {
});
HSplitter = Class.create();
HSplitter.prototype = {
initialize: function(_options) {
this._options = _options;
this.captured = 0;
if( this._options.first && this._options.second && this._options.control ) {
this._options.control.onmousedown = this.onmousedownEvent.bind(this);
this._options.control.onmouseup = this.onmouseupEvent.bind(this);
this._options.control.onmousemove = this.onmouseMoveEvent.bind(this);
}
},
onmousedownEvent: function(e) {
var ev = e || event;
if( this._options.control.setCapture )
this._options.control.setCapture();
this.start_height = this._options.first.style.pixelHeight || this._options.first.clientHeight;
this.start_offset = ev.screenY;
this._options.maxfirst = this._options.first.style.pixelHeight + this._options.second.clientHeight - this._options.minsec;
this.captured = 1;
},
onmouseupEvent: function() {
if( this.captured ) {
if( this._options.control.releaseCapture )
this._options.control.releaseCapture();
this.captured = 0;
}
},
onmouseMoveEvent: function(e) {
var ev = e || event;
if( this.captured ) {
var new_height = this.start_height - (ev.screenY - this.start_offset);
if( new_height > this._options.maxfirst )
new_height = this._options.maxfirst;
else if( new_height < this._options.minfirst )
new_height = this._options.minfirst;
if( myAgent == 'moz' )
this._options.first.style.height=new_height+'px';
else
this._options.first.style.pixelHeight = new_height;
}
}
};
var Chat = {
threadUpdater : {},
hSplitter : {},
applyName: function() {
Chat.threadUpdater.changeName($('uname').value);
@ -431,6 +382,5 @@ Behaviour.register({
EventHelper.register(window, 'onload', function(){
Chat.webimRoot = threadParams.wroot;
Chat.cssfile = threadParams.cssfile;
Chat.hSplitter = new HSplitter({control:$("spl1"), first:$("msgwndtd"), second:$("chatwndtd"), minfirst:30, minsec:30});
Chat.threadUpdater = new Ajax.ChatThreadUpdater(({container:myRealAgent=='safari'?self.frames[0]:$("chatwnd"),avatar:$("avatarwnd"),message:$("msgwnd")}).extend( threadParams || {} ));
});

File diff suppressed because one or more lines are too long

View File

@ -190,6 +190,7 @@ leftMenu.client_agents=Agenten
leftMenu.client_gen_button=Button Code
leftMenu.client_settings=Einstellungen
localeid=Deutsch (de)
localedirection=ltr
mail.user.history.body=Hallo, {0}!\n\nIhre Chat-Protokoll: \n\n{1}\n--- \nMit freundlichen Gruessen,\nIhr Support Team
mail.user.history.subject=Web Messenger: Chat-Protokoll
mailthread.close=schliessen...

View File

@ -190,6 +190,7 @@ leftMenu.client_agents=Operators
leftMenu.client_gen_button=Button code
leftMenu.client_settings=Settings
localeid=English (en)
localedirection=ltr
mail.user.history.body=Hello, {0}!\n\nYour chat history: \n\n{1}\n--- \nKind Regards,\nWeb Messenger
mail.user.history.subject=Web Messenger: dialog history
mailthread.close=Close...

View File

@ -153,6 +153,7 @@ leftMenu.client_agents=Agents
leftMenu.client_gen_button=Code du bouton
leftMenu.client_settings=Paramètres
localeid=Français (fr)
localedirection=ltr
mail.user.history.body=Bonjour, {0}!\n\nVotre historique de dialogue: \n\n{1}\n--- \nCordialement,\nLe Messager Web
mail.user.history.subject=Web Messager: historique du dialogue
mailthread.close=Fermer...

View File

@ -190,6 +190,7 @@ leftMenu.client_agents=סוכנים
leftMenu.client_gen_button=הקוד של הכפתור
leftMenu.client_settings=העדפות
localeid=Hebrew (he)
localedirection=rtl
mail.user.history.body=שלום לך, {0}!\n\nבהמשך לבקשתך, זאת ההיסטוריה: \n\n{1}\n--- \nבכבוד רב,\nמסנגר
mail.user.history.subject=מסנגר: היסטוריית השיחות
mailthread.close=סגור...

View File

@ -190,6 +190,7 @@ leftMenu.client_agents=Assistenti
leftMenu.client_gen_button=Codice bottone
leftMenu.client_settings=Impostazioni
localeid=Italiano (it)
localedirection=ltr
mail.user.history.body=Ciao, {0}!\n\nLa tua cronologia: \n\n{1}\n--- \nKind Regards,\nWeb Messenger
mail.user.history.subject=Web Messenger: dialog history
mailthread.close=Chiudi...

View File

@ -116,6 +116,7 @@ leftMenu.client_agents=Operatori
leftMenu.client_gen_button=Pogas kods
leftMenu.client_settings=Iestatījumi
localeid=Latvian (lv)
localedirection=ltr
mail.user.history.body=Labdien, {0}!\n\nPēc Jūsu pieprasījuma izsūtam vēsturi: \n\n{1}\n--- \nAr cieņu,\nWeb Messenger
mail.user.history.subject=Web Messenger: dialoga vēsture
mailthread.close=Aizvērt...

View File

@ -190,6 +190,7 @@ leftMenu.client_agents=Konsultanci
leftMenu.client_gen_button=Kod przycisku
leftMenu.client_settings=Ustawienia
localeid=Polski (pl)
localedirection=ltr
mail.user.history.body=Witaj, {0}!\n\nTwoja historia rozmowy: \n\n{1}\n--- \nPozdrawiamy,\nWeb Komunikator
mail.user.history.subject=Web Komunikator: historia rozmowy
mailthread.close=Zamknij...

View File

@ -156,6 +156,7 @@ leftMenu.client_agents=Agentes
leftMenu.client_gen_button=Botão
leftMenu.client_settings=Configurações
localeid=Português Brasil (pt-br)
localedirection=ltr
mail.user.history.body=Olá, {0}!\n\nSeu histórico do chat: \n\n{1}\n--- \nObrigado,\nWeb Messenger
mail.user.history.subject=Web Messenger: Histórico de conversa
mailthread.close=Fechar...

View File

@ -190,6 +190,7 @@ leftMenu.client_agents=
leftMenu.client_gen_button=Êîä êíîïêè
leftMenu.client_settings=Íàñòðîéêè
localeid=Russian (ru)
localedirection=ltr
mail.user.history.body=Çäðàñòâóéòå, {0}!\n\nÏî Âàøåìó çàïðîñó, âûñûëàåì èñòîðèþ: \n\n{1}\n--- \nÑ óâàæåíèåì,\nÂåá Ìåññåíäæåð
mail.user.history.subject=Âåá Ìåññåíäæåð: èñòîðèÿ äèàëîãà
mailthread.close=Çàêðûòü...

View File

@ -188,6 +188,7 @@ leftMenu.client_agents=Agentes
leftMenu.client_gen_button=Código del Botón
leftMenu.client_settings=Configuraciones
localeid=Español (es)
localedirection=ltr
mail.user.history.body=Hola {0}!\n\nSu conversación: \n\n{1}\n--- \nKind Regards,\nWeb Messenger
mail.user.history.subject=Web Messenger: Histórico de conversación
mailthread.close=Cerrar...

View File

@ -151,6 +151,7 @@ leftMenu.client_agents=Yetkililer
leftMenu.client_gen_button=HTML Kodu
leftMenu.client_settings=Ayarlar
localeid=Türkçe (tr)
localedirection=ltr
mail.user.history.body=Merhaba, {0}!\n\nİleti Geçmişiniz: \n\n{1}\n--- \nİyi Günler,\nMüşteri Hizmetleri
mail.user.history.subject=Müşteri Hizmetleri: İleti Geçmişi
mailthread.close=Kapat...

View File

@ -113,6 +113,7 @@ leavemessage.title=
leftMenu.client_agents=Оператори
leftMenu.client_gen_button=Код кнопки
localeid=Ukrainian (ua)
localedirection=ltr
mail.user.history.body=Доброго дня, {0}!\n\nЗгідно Вашого запиту, висилаємо історію: \n\n{1}\n--- \nЗ повагою,\nВеб Месенджер
mail.user.history.subject=Веб Месенджер: історія діалогу
mailthread.close=Закрити...

View File

@ -155,6 +155,7 @@ leftMenu.client_agents=客服人员
leftMenu.client_gen_button=图片语法
leftMenu.client_settings=设定
localeid=Chinese (Simplified)
localedirection=ltr
mail.user.history.body=哈喽, {0}!\n\n您的对话纪录如下: \n\n{1}\n--- \n祝 安康,\n网站即时通
mail.user.history.subject=网站即时通: 对话纪录
mailthread.close=关闭...

View File

@ -181,6 +181,7 @@ leftMenu.client_agents=客服人員
leftMenu.client_gen_button=圖片語法
leftMenu.client_settings=設定
localeid=Chinese (Traditional)
localedirection=ltr
mail.user.history.body=哈嘍, {0}!\n\n您的對話紀錄如下: \n\n{1}\n--- \n祝 安康,\n網站即時通
mail.user.history.subject=網站即時通: 對話紀錄
mailthread.close=關閉...

View File

@ -3,7 +3,6 @@
<head>
<title>${msg:chat.window.title.agent}</title>
<link rel="shortcut icon" href="${webimroot}/images/favicon.ico" type="image/x-icon"/>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1251">
<link rel="stylesheet" type="text/css" href="${tplroot}/chat.css" />
<script type="text/javascript" language="javascript" src="${webimroot}/js/common.js?v=160a1"></script>
<script type="text/javascript" language="javascript" src="${webimroot}/js/brws.js?v=160a1"></script>

View File

@ -55,7 +55,7 @@ require_once('inc_errors.php');
<input type="text" name="login" size="40" value="<?php echo form_value('login') ?>" class="formauth"/>
</div>
<div class="fdescr"> &mdash; <?php echo getlocal('form.field.login.description') ?></div>
<br clear="left"/>
<br clear="all"/>
</div>
<div class="field">
@ -64,7 +64,7 @@ require_once('inc_errors.php');
<input type="password" name="password" size="40" value="" class="formauth"/>
</div>
<div class="fdescr"> &mdash; <?php echo getlocal('form.field.password.description') ?></div>
<br clear="left"/>
<br clear="all"/>
</div>
<div class="field">
@ -73,7 +73,7 @@ require_once('inc_errors.php');
<input type="password" name="passwordConfirm" size="40" value="" class="formauth"/>
</div>
<div class="fdescr"> &mdash; <?php echo getlocal('form.field.password_confirm.description') ?></div>
<br clear="left"/>
<br clear="all"/>
</div>
<div class="field">
@ -82,7 +82,7 @@ require_once('inc_errors.php');
<input type="text" name="name" size="40" value="<?php echo form_value('name') ?>" class="formauth"/>
</div>
<div class="fdescr"> &mdash; <?php echo getlocal('form.field.agent_name.description') ?></div>
<br clear="left"/>
<br clear="all"/>
</div>
<div class="field">
@ -91,7 +91,7 @@ require_once('inc_errors.php');
<input type="text" name="commonname" size="40" value="<?php echo form_value('commonname') ?>" class="formauth"/>
</div>
<div class="fdescr"> &mdash; <?php echo getlocal('form.field.agent_commonname.description') ?></div>
<br clear="left"/>
<br clear="all"/>
</div>
<div class="fbutton">

View File

@ -41,7 +41,7 @@ require_once('inc_errors.php');
<div class="mform"><div class="formtop"><div class="formtopi"></div></div><div class="forminner">
<p>
<b><?php echo $page['currentop'] ?></b>
<b><?php echo $page['currentop'] ?>&lrm;</b>
</p>
<div class="fieldForm">
@ -56,7 +56,7 @@ require_once('inc_errors.php');
</a>
</div>
<div class="fdescr"> &mdash; <?php echo getlocal('form.field.avatar.current.description') ?></div>
<br clear="left"/>
<br clear="all"/>
</div>
<?php } ?>
@ -66,7 +66,7 @@ require_once('inc_errors.php');
<input type="file" name="avatarFile" size="40" value="<?php echo form_value('avatarFile') ?>" class="formauth"/>
</div>
<div class="fdescr"> &mdash; <?php echo getlocal('form.field.avatar.upload.description') ?></div>
<br clear="left"/>
<br clear="all"/>
</div>
<div class="fbutton">

View File

@ -52,7 +52,7 @@ require_once('inc_errors.php');
<input type="text" name="address" size="40" value="<?php echo form_value('address') ?>" class="formauth"/>
</div>
<div class="fdescr"> &mdash; <?php echo getlocal('form.field.address.description') ?></div>
<br clear="left"/>
<br clear="all"/>
</div>
<div class="field">
@ -61,7 +61,7 @@ require_once('inc_errors.php');
<input type="text" name="days" size="4" value="<?php echo form_value('days') ?>" class="formauth"/>
</div>
<div class="fdescr"> &mdash; <?php echo getlocal('form.field.ban_days.description') ?></div>
<br clear="left"/>
<br clear="all"/>
</div>
<div class="field">
@ -70,7 +70,7 @@ require_once('inc_errors.php');
<input type="text" name="comment" size="40" value="<?php echo form_value('comment') ?>" class="formauth"/>
</div>
<div class="fdescr"> &mdash; <?php echo getlocal('form.field.ban_comment.description') ?></div>
<br clear="left"/>
<br clear="all"/>
</div>
<div class="fbutton">

View File

@ -84,7 +84,7 @@ require_once('inc_errors.php');
<input type="checkbox" name="usercanchangename" value="on"<?php echo form_value_cb('usercanchangename') ? " checked=\"checked\"" : "" ?>/>
</div>
<div class="fdescr"> &mdash; <?php echo getlocal('settings.usercanchangename.description') ?></div>
<br clear="left"/>
<br clear="all"/>
</div>
<div class="field">
@ -93,7 +93,7 @@ require_once('inc_errors.php');
<input id="enablessl" type="checkbox" name="enablessl" value="on"<?php echo form_value_cb('enablessl') ? " checked=\"checked\"" : "" ?>/>
</div>
<div class="fdescr"> &mdash; <?php echo getlocal('settings.enablessl.description') ?></div>
<br clear="left"/>
<br clear="all"/>
<div class="subfield underssl">
<div class="flabel"><?php echo getlocal('settings.forcessl') ?></div>
@ -101,7 +101,7 @@ require_once('inc_errors.php');
<input type="checkbox" name="forcessl" value="on"<?php echo form_value_cb('forcessl') ? " checked=\"checked\"" : "" ?>/>
</div>
<div class="fdescr"> &mdash; <?php echo getlocal('settings.forcessl.description') ?></div>
<br clear="left"/>
<br clear="all"/>
</div>
</div>
@ -111,7 +111,7 @@ require_once('inc_errors.php');
<input type="checkbox" name="enableban" value="on"<?php echo form_value_cb('enableban') ? " checked=\"checked\"" : "" ?>/>
</div>
<div class="fdescr"> &mdash; <?php echo getlocal('settings.enableban.description') ?></div>
<br clear="left"/>
<br clear="all"/>
</div>
<div class="field">
@ -120,7 +120,7 @@ require_once('inc_errors.php');
<input type="checkbox" name="enablegroups" value="on"<?php echo form_value_cb('enablegroups') ? " checked=\"checked\"" : "" ?>/>
</div>
<div class="fdescr"> &mdash; <?php echo getlocal('settings.enablegroups.description') ?></div>
<br clear="left"/>
<br clear="all"/>
</div>
<div class="field">
@ -129,7 +129,7 @@ require_once('inc_errors.php');
<input type="checkbox" name="enablestatistics" value="on"<?php echo form_value_cb('enablestatistics') ? " checked=\"checked\"" : "" ?>/>
</div>
<div class="fdescr"> &mdash; <?php echo getlocal('settings.enablestatistics.description') ?></div>
<br clear="left"/>
<br clear="all"/>
</div>
<div class="field">
@ -138,7 +138,7 @@ require_once('inc_errors.php');
<input id="enablepresurvey" type="checkbox" name="enablepresurvey" value="on"<?php echo form_value_cb('enablepresurvey') ? " checked=\"checked\"" : "" ?>/>
</div>
<div class="fdescr"> &mdash; <?php echo getlocal('settings.enablepresurvey.description') ?></div>
<br clear="left"/>
<br clear="all"/>
<div class="subfield undersurvey">
<div class="flabel"><?php echo getlocal('settings.survey.askmail') ?></div>
@ -146,7 +146,7 @@ require_once('inc_errors.php');
<input type="checkbox" name="surveyaskmail" value="on"<?php echo form_value_cb('surveyaskmail') ? " checked=\"checked\"" : "" ?>/>
</div>
<div class="fdescr"> &mdash; <?php echo getlocal('settings.survey.askmail.description') ?></div>
<br clear="left"/>
<br clear="all"/>
</div>
<div class="subfield undersurvey">
@ -155,7 +155,7 @@ require_once('inc_errors.php');
<input type="checkbox" name="surveyaskgroup" value="on"<?php echo form_value_cb('surveyaskgroup') ? " checked=\"checked\"" : "" ?>/>
</div>
<div class="fdescr"> &mdash; <?php echo getlocal('settings.survey.askgroup.description') ?></div>
<br clear="left"/>
<br clear="all"/>
</div>
<div class="subfield undersurvey">
@ -164,7 +164,7 @@ require_once('inc_errors.php');
<input type="checkbox" name="surveyaskmessage" value="on"<?php echo form_value_cb('surveyaskmessage') ? " checked=\"checked\"" : "" ?>/>
</div>
<div class="fdescr"> &mdash; <?php echo getlocal('settings.survey.askmessage.description') ?></div>
<br clear="left"/>
<br clear="all"/>
</div>
</div>
@ -174,7 +174,7 @@ require_once('inc_errors.php');
<input type="checkbox" name="enablepopupnotification" value="on"<?php echo form_value_cb('enablepopupnotification') ? " checked=\"checked\"" : "" ?>/>
</div>
<div class="fdescr"> &mdash; <?php echo getlocal('settings.popup_notification.description') ?></div>
<br clear="left"/>
<br clear="all"/>
</div>
<div class="fbutton">

View File

@ -83,7 +83,7 @@ require_once('inc_errors.php');
<textarea cols="44" rows="15"><?php echo htmlspecialchars($page['buttonCode']) ?></textarea>
</div>
<div class="fdescr"><?php echo getlocal("page.gen_button.code.description") ?></div>
<br clear="left"/>
<br clear="all"/>
</div>
<div class="field">

View File

@ -55,7 +55,7 @@ require_once('inc_errors.php');
<input type="text" name="name" size="40" value="<?php echo form_value('name') ?>" class="formauth"/>
</div>
<div class="fdescr"> &mdash; <?php echo getlocal('form.field.groupname.description') ?></div>
<br clear="left"/>
<br clear="all"/>
</div>
<div class="field">
@ -64,7 +64,7 @@ require_once('inc_errors.php');
<input type="text" name="description" size="40" value="<?php echo form_value('description') ?>" class="formauth"/>
</div>
<div class="fdescr"> &mdash; <?php echo getlocal('form.field.groupdesc.description') ?></div>
<br clear="left"/>
<br clear="all"/>
</div>
<div class="field">
@ -73,7 +73,7 @@ require_once('inc_errors.php');
<input type="text" name="commonname" size="40" value="<?php echo form_value('commonname') ?>" class="formauth"/>
</div>
<div class="fdescr"> &mdash; <?php echo getlocal('form.field.groupcommonname.description') ?></div>
<br clear="left"/>
<br clear="all"/>
</div>
<div class="field">
@ -82,7 +82,7 @@ require_once('inc_errors.php');
<input type="text" name="commondescription" size="40" value="<?php echo form_value('commondescription') ?>" class="formauth"/>
</div>
<div class="fdescr"> &mdash; <?php echo getlocal('form.field.groupcommondesc.description') ?></div>
<br clear="left"/>
<br clear="all"/>
</div>
<div class="fbutton">

View File

@ -1,5 +1,8 @@
<?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">
<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"/>
@ -14,7 +17,7 @@
<!--[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" )?>">
<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" />

View File

@ -47,7 +47,7 @@ require_once('inc_errors.php');
<div class="fvalue">
<input type="text" name="login" size="25" value="<?php echo form_value('login') ?>" class="formauth"/>
</div>
<br clear="left"/>
<br clear="all"/>
</div>
<div class="field">
@ -55,7 +55,7 @@ require_once('inc_errors.php');
<div class="fvalue">
<input type="password" name="password" size="25" value="" class="formauth"/>
</div>
<br clear="left"/>
<br clear="all"/>
</div>
<div class="field">
@ -65,7 +65,7 @@ require_once('inc_errors.php');
<input type="checkbox" name="isRemember" value="on"<?php echo form_value_cb('isRemember') ? " checked=\"checked\"" : "" ?> />
<?php echo getlocal("page_login.remember") ?></label>
</div>
<br clear="left"/>
<br clear="all"/>
</div>
<div class="fbutton">

View File

@ -44,7 +44,7 @@ require_once('inc_errors.php');
<div class="mform"><div class="formtop"><div class="formtopi"></div></div><div class="forminner">
<p>
<b><?php echo $page['currentop'] ?></b>
<b><?php echo $page['currentop'] ?>&lrm;</b>
</p>
<?php foreach( $page['groups'] as $pm ) { ?>
<div class="field">
@ -53,7 +53,7 @@ require_once('inc_errors.php');
<input type="checkbox" name="group<?php echo $pm['groupid'] ?>" value="on"<?php echo form_value_mb('group',$pm['groupid']) ? " checked=\"checked\"" : "" ?>/>
</div>
<div class="fdescr"> &mdash; <?php echo $pm['vclocaldescription'] ? htmlspecialchars(topage($pm['vclocaldescription'])) : getlocal("operator.group.no_description") ?></div>
<br clear="left"/>
<br clear="all"/>
</div>
<?php } ?>

View File

@ -42,7 +42,7 @@ function tpl_content() { global $page, $webimroot;
?>
<div>
<div style="float:right;padding-right:10px;">
<div id="togglediv">
<a href="#" id="togglemenu"></a>
</div>
<?php echo getlocal("clients.intro") ?>

View File

@ -44,7 +44,7 @@ require_once('inc_errors.php');
<div class="mform"><div class="formtop"><div class="formtopi"></div></div><div class="forminner">
<p>
<b><?php echo $page['currentop'] ?></b>
<b><?php echo $page['currentop'] ?>&lrm;</b>
</p>
<?php foreach( $page['permissionsList'] as $pm ) { ?>
<label>

View File

@ -50,7 +50,7 @@ require_once('inc_errors.php');
<input type="text" name="email" size="40" value="<?php echo form_value('email') ?>" class="formauth"/>
</div>
<div class="fdescr"> &mdash; <?php echo getlocal('settings.email.description') ?></div>
<br clear="left"/>
<br clear="all"/>
</div>
<div class="field">
@ -59,7 +59,7 @@ require_once('inc_errors.php');
<input type="text" name="title" size="40" value="<?php echo form_value('title') ?>" class="formauth"/>
</div>
<div class="fdescr"> &mdash; <?php echo getlocal('settings.company.title.description') ?></div>
<br clear="left"/>
<br clear="all"/>
</div>
<div class="field">
@ -68,7 +68,7 @@ require_once('inc_errors.php');
<input type="text" name="chattitle" size="40" value="<?php echo form_value('chattitle') ?>" class="formauth"/>
</div>
<div class="fdescr"> &mdash; <?php echo getlocal('settings.chat.title.description') ?></div>
<br clear="left"/>
<br clear="all"/>
</div>
<div class="field">
@ -77,7 +77,7 @@ require_once('inc_errors.php');
<input type="text" name="logo" size="40" value="<?php echo form_value('logo') ?>" class="formauth"/>
</div>
<div class="fdescr"> &mdash; <?php echo getlocal('settings.logo.description') ?></div>
<br clear="left"/>
<br clear="all"/>
</div>
<div class="field">
@ -86,7 +86,7 @@ require_once('inc_errors.php');
<input type="text" name="hosturl" size="40" value="<?php echo form_value('hosturl') ?>" class="formauth"/>
</div>
<div class="fdescr"> &mdash; <?php echo getlocal('settings.host.description') ?></div>
<br clear="left"/>
<br clear="all"/>
</div>
<div class="field">
@ -95,7 +95,7 @@ require_once('inc_errors.php');
<input type="text" name="geolink" size="40" value="<?php echo form_value('geolink') ?>" class="formauth"/>
</div>
<div class="fdescr"> &mdash; <?php echo getlocal('settings.geolink.description') ?></div>
<br clear="left"/>
<br clear="all"/>
</div>
<div class="field">
@ -104,7 +104,7 @@ require_once('inc_errors.php');
<input type="text" name="geolinkparams" size="40" value="<?php echo form_value('geolinkparams') ?>" class="formauth"/>
</div>
<div class="fdescr"> &mdash; <?php echo getlocal('settings.geolinkparams.description') ?></div>
<br clear="left"/>
<br clear="all"/>
</div>
<div class="field">
@ -113,7 +113,7 @@ require_once('inc_errors.php');
<input type="text" name="usernamepattern" size="40" value="<?php echo form_value('usernamepattern') ?>" class="formauth"/>
</div>
<div class="fdescr"> &mdash; <?php echo getlocal('settings.usernamepattern.description') ?></div>
<br clear="left"/>
<br clear="all"/>
</div>
<div class="field">
@ -122,7 +122,7 @@ require_once('inc_errors.php');
<input type="text" name="onehostconnections" size="10" value="<?php echo form_value('onehostconnections') ?>" class="formauth"/>
</div>
<div class="fdescr"> &mdash; <?php echo getlocal('settings.onehostconnections.description') ?></div>
<br clear="left"/>
<br clear="all"/>
</div>
<div class="field">
@ -131,7 +131,7 @@ require_once('inc_errors.php');
<select name="chatstyle" ><?php foreach($page['availableStyles'] as $k) { echo "<option value=\"".$k."\"".($k == form_value("chatstyle") ? " selected=\"selected\"" : "").">".$k."</option>"; } ?></select>
</div>
<div class="fdescr"> &mdash; <?php echo getlocal('settings.chatstyle.description') ?></div>
<br clear="left"/>
<br clear="all"/>
</div>
<div class="field">