Files
ocs/mss/main/conf/ewsLeftMenu.conf
2025-03-03 11:01:26 +08:00

273 lines
8.8 KiB
Plaintext
Raw Blame History

<html>
<style type="text/css">
<!--
body { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt}
th { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt; font-weight: bold; background-color: #D3DCE3;}
td { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt;}
form { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt}
textarea{font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt; BACKGROUND-COLOR: white; BORDER-BOTTOM: #000000 1px solid; BORDER-LEFT: #000000 1px solid; BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid;}
input.text {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt; BACKGROUND-COLOR: white; BORDER-BOTTOM: #000000 1px solid; BORDER-LEFT: #000000 1px solid; BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid;}
input.button {font-family: Verdana; font-size: 8pt}
select { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt; BACKGROUND-COLOR: white; BORDER-BOTTOM: #000000 1px solid; BORDER-LEFT: #000000 1px solid; BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid;}
h1 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 16pt; font-weight: bold}
A:link { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt; text-decoration: none; color: #0000FF}
A:visited { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt; text-decoration: none; color: #0000FF}
A:hover { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt; text-decoration: underline; color: #FF0000}
A:link.nav { font-family: Verdana, Arial, Helvetica, sans-serif; color: #0000FF}
A:visited.nav { font-family: Verdana, Arial, Helvetica, sans-serif; color: #0000FF}
A:hover.nav { font-family: Verdana, Arial, Helvetica, sans-serif; color: #FF0000}
.nav { font-family: Verdana, Arial, Helvetica, sans-serif; color: #000000}
-->
</style>
<base target="contents">
<style type="text/css">
<!--
A:link{ color: #000000}
A:visited {color: #000000}
A:hover {color: #FFFFFF; background:#858585; text-decoration: underline;}
A:active {color: #FFFFFF; background:#858585;}
.parent {color: #000000;}
-->
</style>
<!-- OMC Sever's timezone must is GMT0-->
<script LANGUAGE="JavaScript" language="JavaScript1.2">
var server_timestamp=<DATA time>;
var now = new Date();
var client_timestamp = now.getTime() / 1000;
var diff_seconds = server_timestamp - client_timestamp;
function clock()
{
now = new Date();
var timeZoneOffsetMin = now.getTimezoneOffset();
var years = now.getFullYear();
var months = now.getMonth();
var days = now.getDate();
var hours = now.getHours();
var minutes = now.getMinutes()+timeZoneOffsetMin;
var seconds = now.getSeconds()+diff_seconds;
theDate=new Date(Date.UTC(years,months,days,hours,minutes,seconds));
var DateYear=theDate.getFullYear();
var DateMonth=theDate.getUTCMonth()+1;
DateMonth=((DateMonth < 10) ? "0" : "")+DateMonth;
var DateDay=theDate.getUTCDate();
DateDay=((DateDay < 10) ? "0" : "")+DateDay;
var DateHour=theDate.getUTCHours();
DateHour=((DateHour < 10) ? "0" : "")+DateHour;
var DateMinute=theDate.getUTCMinutes();
DateMinute=((DateMinute < 10) ? "0" : "")+DateMinute;
var DateSecond=theDate.getUTCSeconds();
DateSecond=((DateSecond < 10) ? "0" : "")+DateSecond;
var Time=" "+DateYear+"-"+DateMonth+"-"+DateDay+" "+DateHour+":"+DateMinute+":"+DateSecond;
document.clock.time.value=Time;
Timer = setTimeout("clock()",1000);
}
</script>
</head>
<!--
<body onLoad="clock();initIt();">
-->
<body topmargin="5" leftmargin="0" onLoad="clock();initIt();">
<form name="clock">
<table border="0" cellpadding="0" cellspacing="0">
<tr><td align="center" title="OMC Server's time">
<INPUT TYPE="text" NAME="time" SIZE="20" style="border-left:medium none;border-right:medium none;border-top:medium none;border-bottom:medium none;font-size: 9pt" READONLY VALUE="">
</td></tr>
<!-- <tr><td align="center" title="Field Name"><font size=2><DATA serverName></font></td></tr>
<tr><td align="center"> User: [<DATA user>]</td></tr> -->
</table>
</form>
<script LANGUAGE="JavaScript" type="text/javascript">
<!--
<!--<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>汾2-->
var NS=((navigator.appName=="Netscape")&&(parseInt(navigator.appVersion)>=3))?1:0;
var IE=((navigator.appName=="Microsoft Internet Explorer")&&(parseInt(navigator.appVersion)>=3))?1:0;
<!--window.document.write("<br>NS="+NS+",IE="+IE);-->
var bV=parseInt(navigator.appVersion);
//NS4=(document.layers) ? true : false;
//IE4=((document.all)&&(bV>=4)) ? true : false;
DOM=(!document.layers && !document.all && bV>=4) ? true : false; // A hack to guess if the browser supports the DOM
capable = (NS || IE || DOM) ? true : false;
function expandIt(){return}
function expandAll(){return}
//-->
</script>
<script language="JavaScript1.2" type="text/javascript">
<!--
isExpanded = false;
function getIndex(ID) {
ind = null;
for (i=0; i<document.layers.length; i++) {
whichID = document.layers[i];
if (whichID.id == ID) {
ind = i;
break;
}
}
return ind;
}
function arrange() {
nextY = document.layers[firstInd].pageY + document.layers[firstInd].document.height;
for (i=firstInd+1; i<document.layers.length; i++) {
whichID = document.layers[i];
if (whichID.visibility != "hide") {
whichID.pageY = nextY;
nextY += whichID.document.height;
}
}
}
function initIt(){
if (NS) {
for (i=0; i<document.layers.length; i++) {
whichID = document.layers[i];
if (whichID.id.indexOf("Child") != -1) whichID.visibility = "hide";
}
arrange();
} else if(IE) {
tempColl = document.all.tags("DIV");
for (i=0; i<tempColl.length; i++) {
if (tempColl(i).className == "child") tempColl(i).style.display = "none";
}
} else if(DOM) {
tempColl = document.getElementsByTagName("DIV");
for (i=0; i<tempColl.length; i++) {
if (tempColl(i).className == "child") tempColl(i).style.visibility = "hidden";
}
}
}
function expandIt(ID) {
if (!capable) return;
if (IE) {
expandIE(ID);
} else if(NS) {
expandNS(ID);
} else if(DOM) {
expandDOM(ID);
}
}
function expandIE(ID) {
whichEl = eval(ID + "Child");
// Modified Tobias Ratschiller 01-01-99:
// event.srcElement obviously only works when clicking directly
// on the image. Changed that to use the images's ID instead (so
// you've to provide a valid ID!).
//whichIm = event.srcElement;
whichIm = eval("Img" + ID);
if (whichEl.style.display == "none") {
whichEl.style.display = "block";
whichIm.src = "midminus.gif";
} else {
whichEl.style.display = "none";
whichIm.src = "midplus.gif";
}
window.event.cancelBubble = true ;
}
function expandNS(ID) {
whichEl = eval("document." + ID + "Child");
whichIm = eval("document." + ID + "Parent.document.images['imEx']");
if (whichEl.visibility == "hide") {
whichEl.visibility = "show";
whichIm.src = "midminus.gif";
} else {
whichEl.visibility = "hide";
whichIm.src = "midplus.gif";
}
arrange();
}
function expandDOM(ID)
{
whichEl = document.getElementById(ID + "Child");
whichIm = document.getElementById("Img"+ID);
if (whichEl.style.visibility != "visible") {
whichEl.style.visibility = "visible";
whichIm.src = "midminus.gif";
} else {
whichEl.style.visibility = "hidden";
whichIm.src = "midplus.gif";
}
}
function expandAll()
{
// Brian Birtles 7-Jun-00 : This fn might be unnecessary (for phpMyAdmin).
// My changes are certainly untested.
newSrc = (isExpanded) ? "midplus.gif" : "midminus.gif";
if (NS) {
// TR-02-01-99: Don't need that
// document.images["imEx"].src = newSrc;
for (i=firstInd; i<document.layers.length; i++) {
whichID = document.layers[i];
if (whichID.id.indexOf("Parent") != -1) {
whichID.document.images["imEx"].src = newSrc;
}
if (whichID.id.indexOf("Child") != -1) {
whichID.visibility = (isExpanded) ? "hide" : "show";
}
}
arrange();
if (isExpanded) scrollTo(0,document.layers[firstInd].pageY);
} else if(IE) {
if(divColl = document.all.tags("DIV")){
for (i=0; i<divColl.length; i++) {
if (divColl(i).className == "child") {
divColl(i).style.display = (isExpanded) ? "none" : "block";
}
}
}
if(imColl = document.images.item("imEx")){
for (i=0; i<imColl.length; i++) {
imColl(i).src = newSrc;
}
}
} else if(DOM) {
divColl = document.getElementsByTagName("DIV");
for (i=0; i<divColl.length; i++) {
if (divColl(i).className == "child") {
divColl(i).style.visibility = (isExpanded) ? "hidden" : "visible";
}
}
imColl = document.getElementsByName("imEx");
for (i=0; i<imColl.length; i++) {
imColl(i).src = newSrc;
}
}
isExpanded = !isExpanded;
}
//-->
</script>
<DATA leftMenu>
</body>
</html>