home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cricao de Sites - 650 Layouts Prontos
/
WebMasters.iso
/
Servidores
/
JanaSetup.exe
/
admin
/
seiten_js
/
menu.js
< prev
next >
Wrap
Text File
|
2006-05-08
|
12KB
|
256 lines
function login(page)
{
parent.header.document.dummy.page.value = page;
parent.main.location.replace('/jana-admin/email/logon.htm');
}
/**/
var IE = (document.all);
var DOM = (document.getElementById && !document.all);
aktiv = '';
function on(name, hov)
{
if (aktiv != name)
{
if (IE)
document.all.tags('a')[name].style.color = hov;
if (DOM || IE)
document.getElementsByTagName('a')[name].style.color = hov;
}
}
/**/
function off(name, lin)
{
if (aktiv != name)
{
if (IE)
document.all.tags('a')[name].style.color = lin;
if (DOM || IE)
document.getElementsByTagName('a')[name].style.color = lin;
}
}
/**/
function klick(name, akt, lin)
{
if (IE)
document.all.tags('a')[name].style.color = akt;
if (DOM || IE)
document.getElementsByTagName('a')[name].style.color = akt;
if (aktiv != name)
{
if (aktiv != '')
{
if (IE)
document.all.tags('a')[aktiv].style.color = lin;
if (DOM || IE)
document.getElementsByTagName('a')[aktiv].style.color = lin;
}
}
aktiv = name;
}
/**/
function benutz()
{
with (document)
{
write('<a id="l1" href="/jana-admin/email/menue/info_menu.htm" onmouseover="on(\'l1\', hov);" onmouseout="off(\'l1\', lin);" onclick="klick(\'l1\', akt, lin);">' + txt[14][1] + '</a><br />'
+ '<img src="/jana-admin/jana_skin/images/linie.gif" border="0" width="107" height="1" vspace="5" alt=""><br />'
+ '<a id="l2" href="/jana-admin/admin.dll?load=email/benutzer_pass" onmouseover="on(\'l2\', hov);" onmouseout="off(\'l2\', lin);" onclick="klick(\'l2\', akt, lin);">' + txt[16][3] + '</a><br />'
+ '<a id="l3" href="/jana-admin/admin.dll?load=email/pass" onmouseover="on(\'l3\', hov);" onmouseout="off(\'l3\', lin);" onclick="klick(\'l3\', akt, lin);">' + txt[5][10] + '</a><br />'
+ '<a id="l4" href="javascript:login(\'umleitung_user\');" target="_self" onmouseover="on(\'l4\', hov);" onmouseout="off(\'l4\', lin);" onclick="klick(\'l4\', akt, lin);">' + txt[16][6] + '</a><br />'
+ '<a id="l5" href="javascript:login(\'responder\');" target="_self" onmouseover="on(\'l5\', hov);" onmouseout="off(\'l5\', lin);" onclick="klick(\'l5\', akt, lin);">' + txt[16][13] + '</a><br />');
}
}
/**/
function start(w)
{
with (document)
{
if (w == 1)
{
write('<a id="l1" href="/jana-admin/admin/info/welcome.htm" target="main" onmouseover="on(\'l1\', hov);" onmouseout="off(\'l1\', lin);" onclick="klick(\'l1\', akt, lin);">' + txt[13][1] + '</a><br />'
+ '<a id="l2" href="/jana-admin/admin.dll?load=admin/loggfileselect" target="main" onmouseover="on(\'l2\', hov);" onmouseout="off(\'l2\', lin);" onclick="klick(\'l2\', akt, lin);">' + txt[13][2] + '</a><br />'
+ '<a id="l3" href="javascript:fenster(\'/jana-admin/admin/monitor.shtml\', 490);" onmouseover="on(\'l3\', hov);" onmouseout="off(\'l3\', lin);" onclick="klick(\'l3\', akt, lin);">' + txt[13][3] + '</a><br />');
}
if (w == 2)
{
var _url = '/jana-admin/admin/menue/';
_link = new Array();
_link[1] = new Array(_url + 'info_allgemein.htm', _url + 'menue_allgemein.htm', txt[13][5]);
_link[2] = new Array(_url + 'info_server.htm', _url + 'menue_server.htm', txt[13][6]);
_link[3] = new Array(_url + 'info_email.htm', _url + 'menue_email.htm', txt[13][7]);
_link[4] = new Array(_url + 'info_passwort.htm', _url + 'menue_passwort.htm', txt[13][8]);
for (g = 1; g <= 4; g++)
write('<a href="javascript:zweiseit(\'' + g + '\', \'' + _link[g][0] + '\', \'' + _link[g][1] + '\');" target="_self">' + _link[g][2] + '</a><br />');
}
if (w == 3)
{
var _url = '/jana-admin/admin/info/';
write('<a id="l4" href="javascript:fenster(\'/jana-admin/admin/help/\', 540);" onmouseover="on(\'l4\', hov);" onmouseout="off(\'l4\', lin);" onclick="klick(\'l4\', akt, lin);">' + txt[13][10] + '</a><br />'
+ '<a id="l5" href="http://www.janaserver.de/" target="_blank" onmouseover="on(\'l5\', hov);" onmouseout="off(\'l5\', lin);" onclick="klick(\'l5\', akt, lin);">' + txt[13][11] + '</a><br />'
+ '<a id="l6" href="http://www.janaforum.de/" target="_blank" onmouseover="on(\'l6\', hov);" onmouseout="off(\'l6\', lin);" onclick="klick(\'l6\', akt, lin);">' + txt[13][12] + '</a><br />'
+ '<img src="/jana-admin/jana_skin/images/linie.gif" border="0" width="107" height="1" vspace="5" alt=""><br />'
+ '<a id="l7" href="' + _url + 'info_page.htm" target="main" onmouseover="on(\'l7\', hov);" onmouseout="off(\'l7\', lin);" onclick="klick(\'l7\', akt, lin);">' + txt[13][13] + '</a><br />'
+ '<a id="l8" href="' + _url + 'lizenz.htm" target="main" onmouseover="on(\'l8\', hov);" onmouseout="off(\'l8\', lin);" onclick="klick(\'l8\', akt, lin);">' + txt[13][14] + '</a><br />');
}
}
}
/**/
function allgemein()
{
var _url = '/jana-admin/admin.dll?load=admin/';
with (document)
{
write('<a id="l1" href="' + _url + 'allgemeine_server_parameter" onmouseover="on(\'l1\', hov);" onmouseout="off(\'l1\', lin);" onclick="klick(\'l1\', akt, lin);">' + txt[14][8] + '</a><br />'
+ '<a id="l2" href="' + _url + 'IPAdress" onmouseover="on(\'l2\', hov);" onmouseout="off(\'l2\', lin);" onclick="klick(\'l2\', akt, lin);">' + txt[14][3] + '</a><br />'
+ '<a id="l3" href="' + _url + 'portnummern" onmouseover="on(\'l3\', hov);" onmouseout="off(\'l3\', lin);" onclick="klick(\'l3\', akt, lin);">' + txt[14][4] + '</a><br />'
+ '<a id="l4" href="' + _url + 'rasparameter" onmouseover="on(\'l4\', hov);" onmouseout="off(\'l4\', lin);" onclick="klick(\'l4\', akt, lin);">' + txt[14][5] + '</a><br />'
+ '<a id="l5" href="' + _url + 'extra_gateways" onmouseover="on(\'l5\', hov);" onmouseout="off(\'l5\', lin);" onclick="klick(\'l5\', akt, lin);">' + txt[14][6] + '</a><br />'
+ '<a id="l6" href="' + _url + 'loggfiles" onmouseover="on(\'l6\', hov);" onmouseout="off(\'l6\', lin);" onclick="klick(\'l6\', akt, lin);">' + txt[13][2] + '</a><br />'
+ '<a id="l7" href="' + _url + 'user_rights" onmouseover="on(\'l7\', hov);" onmouseout="off(\'l7\', lin);" onclick="klick(\'l7\', akt, lin);">' + txt[14][7] + '</a><br />');
}
}
/**/
function server()
{
var _url = '/jana-admin/admin.dll?load=admin/';
with (document)
{
write('<a id="l1" href="' + _url + 'proxy_einstellungen" onmouseover="on(\'l1\', hov);" onmouseout="off(\'l1\', lin);" onclick="klick(\'l1\', akt, lin);">' + txt[15][1] + '</a><br />'
+ '<a id="l2" href="' + _url + 'httpserver" onmouseover="on(\'l2\', hov);" onmouseout="off(\'l2\', lin);" onclick="klick(\'l2\', akt, lin);">' + txt[15][2] + '</a><br />'
+ '<a id="l3" href="' + _url + 'ftp_users" onmouseover="on(\'l3\', hov);" onmouseout="off(\'l3\', lin);" onclick="klick(\'l3\', akt, lin);">' + txt[15][3] + '</a><br />'
+ '<a id="l4" href="' + _url + 'news_server" onmouseover="on(\'l4\', hov);" onmouseout="off(\'l4\', lin);" onclick="klick(\'l4\', akt, lin);">' + txt[15][4] + '</a><br />'
+ '<a id="l5" href="' + _url + 'sntp_server" onmouseover="on(\'l5\', hov);" onmouseout="off(\'l5\', lin);" onclick="klick(\'l5\', akt, lin);">' + txt[15][5] + '</a><br />'
+ '<a id="l6" href="' + _url + 'dns_server" onmouseover="on(\'l6\', hov);" onmouseout="off(\'l6\', lin);" onclick="klick(\'l6\', akt, lin);">' + txt[15][6] + '</a><br />'
+ '<a id="l7" href="' + _url + 'mime_type" onmouseover="on(\'l7\', hov);" onmouseout="off(\'l7\', lin);" onclick="klick(\'l7\', akt, lin);">' + txt[15][7] + '</a><br />');
}
}
/**/
function email()
{
var _url = '/jana-admin/admin.dll?load=admin/';
with (document)
{
if (parent.header.document.dummy.mail.value == 1)
{
write('<a id="l1" href="' + _url + 'generelle_email_parameter" onmouseover="on(\'l1\', hov);" onmouseout="off(\'l1\', lin);" onclick="klick(\'l1\', akt, lin);">' + txt[14][8] + '</a><br />'
+ '<a id="l2" href="' + _url + 'email_users_einfach" onmouseover="on(\'l2\', hov);" onmouseout="off(\'l2\', lin);" onclick="klick(\'l2\', akt, lin);">' + txt[16][3] + '</a><br />');
}
else
{
write('<a id="l1" href="' + _url + 'generelle_email_parameter" onmouseover="on(\'l1\', hov);" onmouseout="off(\'l1\', lin);" onclick="klick(\'l1\', akt, lin);">' + txt[14][8] + '</a><br />'
+ '<a id="l2" href="' + _url + 'pop3_servers" onmouseover="on(\'l2\', hov);" onmouseout="off(\'l2\', lin);" onclick="klick(\'l2\', akt, lin);">' + txt[16][1] + '</a><br />'
+ '<a id="l3" href="' + _url + 'smtp_servers" onmouseover="on(\'l3\', hov);" onmouseout="off(\'l3\', lin);" onclick="klick(\'l3\', akt, lin);">' + txt[16][2] + '</a><br />'
+ '<a id="l4" href="' + _url + 'email_users" onmouseover="on(\'l4\', hov);" onmouseout="off(\'l4\', lin);" onclick="klick(\'l4\', akt, lin);">' + txt[16][3] + '</a><br />'
+ '<a id="l5" href="' + _url + 'email_verteilung" onmouseover="on(\'l5\', hov);" onmouseout="off(\'l5\', lin);" onclick="klick(\'l5\', akt, lin);">' + txt[16][5] + '</a><br />'
+ '<a id="l6" href="' + _url + 'email_user_groups" onmouseover="on(\'l6\', hov);" onmouseout="off(\'l6\', lin);" onclick="klick(\'l6\', akt, lin);">' + txt[16][4] + '</a><br />'
+ '<a id="l7" href="' + _url + 'umleitung" onmouseover="on(\'l7\', hov);" onmouseout="off(\'l7\', lin);" onclick="klick(\'l7\', akt, lin);">' + txt[16][6] + '</a><br />'
+ '<a id="l8" href="' + _url + 'bcc_send" onmouseover="on(\'l8\', hov);" onmouseout="off(\'l8\', lin);" onclick="klick(\'l8\', akt, lin);">' + txt[16][7] + '</a><br />'
+ '<a id="l9" href="' + _url + 'bcc_recive" onmouseover="on(\'l9\', hov);" onmouseout="off(\'l9\', lin);" onclick="klick(\'l9\', akt, lin);">' + txt[16][8] + '</a><br />'
+ '<a id="l10" href="' + _url + 'email_alias" onmouseover="on(\'l10\', hov);" onmouseout="off(\'l10\', lin);" onclick="klick(\'l10\', akt, lin);">' + txt[16][9] + '</a><br />');
}
}
}
/**/
function passwort()
{
var _url = '/jana-admin/admin.dll?load=admin/passwort/';
with (document)
{
write('<a id="l1" href="' + _url + 'htaccess" onmouseover="on(\'l1\', hov);" onmouseout="off(\'l1\', lin);" onclick="klick(\'l1\', akt, lin);">' + txt[67][1] + '</a><br />'
+ '<a id="l2" href="' + _url + 'htpasswd" onmouseover="on(\'l2\', hov);" onmouseout="off(\'l2\', lin);" onclick="klick(\'l2\', akt, lin);">' + txt[67][2] + '</a><br />');
}
}
/**/
function home()
{
var _url = '/jana-admin/admin/menue/';
with (document)
{
write('<a href="javascript:zweiseit(\'0\', \'/jana-admin/admin/info/welcome.htm\', \'' + _url + 'menue.htm\');" target="_self">' + txt[14][1] + '</a><br />'
+ '<img src="/jana-admin/jana_skin/images/linie.gif" border="0" width="107" height="1" vspace="5" alt=""><br />');
_link = new Array();
_link[1] = new Array(_url + 'info_allgemein.htm', _url + 'menue_allgemein.htm', txt[13][5]);
_link[2] = new Array(_url + 'info_server.htm', _url + 'menue_server.htm', txt[13][6]);
_link[3] = new Array(_url + 'info_email.htm', _url + 'menue_email.htm', txt[13][7]);
_link[4] = new Array(_url + 'info_passwort.htm', _url + 'menue_passwort.htm', txt[13][8]);
for (g = 1; g <= 4; g++)
{
write('<a href="javascript:zweiseit(\'' + g + '\', \'' + _link[g][0] + '\', \'' + _link[g][1] + '\');" target="_self">');
if (g == parent.header.document.dummy.menu.value)
write('<font class="modus">' + _link[g][2] + '</font>');
else
write(_link[g][2]);
write('</a><br />');
}
}
}
/**/
function modus()
{
with (document)
{
_link = new Array();
_link[0] = new Array(txt[16][12]);
_link[1] = new Array(txt[16][11]);
for (h = 1; h > -1; h--)
{
write('<a href="javascript:mailkonfig(' + h + ');" target="_self">');
if (h == parent.header.document.dummy.mail.value)
write('<font class="modus">' + _link[h][0] + '</font>');
else
write(_link[h][0]);
write('</a><br />');
}
}
}