/html/espanol/simple/header.html
HTML | 280 lines | 171 code | 49 blank | 60 comment | 0 complexity | a7326ba7441174cb945f1ec39760c140 MD5 | raw file
1<html>
2<head>
3<!-- if($this->username && $this->pop3host) { -->
4<title>$pref['brandname'] - $this->username@$this->pop3host $var['extratitle']</title>
5<!-- } -->
6
7<!-- if(!$this->username || !$this->pop3host) { -->
8<title>$pref['brandname'] - Login</title>
9<!-- } -->
10
11<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
12<link rel="stylesheet" href="html/css/calendar_simple.css" type="text/css">
13
14$var['atmailstyle']
15
16
17
18<script>
19var InterfaceStyle = "Simple";
20var InterfaceHeaderOffSet = 52;
21var SharedCal = "$pref['GlobalAbook']";
22var allow_EmailForwarding = "$pref['allow_EmailForwarding']";
23var allow_HtmlEditor = "$this->HtmlEditor";
24
25var agt=navigator.userAgent.toLowerCase();
26var safari = agt.indexOf("like gecko");
27if(safari != -1) {
28document.write('<style>.tablewidth { width: 100%;} .maintable {BACKGROUND-COLOR: #96BDE0; width:99%;} .iframewidth {width:500px; } </style>');
29} else {
30document.write('<style>.tablewidth { width: 100%;} .maintable {BACKGROUND-COLOR: #96BDE0; width:99%;} .iframewidth {width:100%; }</style>');
31}
32
33function toggleLayer( whichLayer )
34{
35 var elem, vis;
36 if( document.getElementById ) // this is the way the standards work
37 elem = document.getElementById( whichLayer );
38 else if( document.all ) // this is the way old msie versions work
39 elem = document.all[whichLayer];
40 else if( document.layers ) // this is the way nn4 works
41 elem = document.layers[whichLayer];
42 vis = elem.style;
43 // if the style.display value is blank we try to figure it out here
44 if(vis.display==''&&elem.offsetWidth!=undefined&&elem.offsetHeight!=undefined)
45 vis.display = (elem.offsetWidth!=0&&elem.offsetHeight!=0)?'block':'none';
46 vis.display = (vis.display==''||vis.display=='block')?'none':'block';
47}
48
49
50function logout_simple() {
51<!-- if($this->EmptyTrash) { -->
52location.href='util.php?func=logout';
53}
54<!-- } -->
55
56<!-- if(!$this->EmptyTrash) { -->
57location.href='index.php?func=logout';
58}
59<!-- } -->
60</script>
61
62<script language="Javascript" src="javascript/webtoolkit.url.js"></script>
63
64<!-- if(!$this->Ajax) { -->
65<MAP NAME="button_composemail_Map">
66<AREA SHAPE="rect" ALT="Redactar Mensaje" title="Redactar Mensaje" COORDS="5,30,47,64" HREF="compose.php?func=new">
67</MAP>
68
69<MAP NAME="button_checkmail_Map">
70<AREA SHAPE="rect" ALT="Leer email" title="Leer email" COORDS="5,6,59,40" HREF="showmail.php?Folder=Inbox">
71
72<MAP NAME="button_settings_Map">
73<AREA SHAPE="rect" ALT="Preferencias" title="Preferencias" COORDS="103,7,147,44" HREF="util.php?func=settings">
74</MAP>
75
76<MAP NAME="button_findmail_Map">
77<AREA SHAPE="rect" ALT="Buscar email" title="Buscar email" COORDS="121,4,160,40" href="javascript:opensearch();">
78</MAP>
79
80<script language="Javascript" src="javascript/opensearch.js"></script>
81<!-- } -->
82
83<!-- if($this->Ajax) { -->
84<script language="JavaScript" src="html/$this->Language/javascript/ajax-lang.js"></script>
85<script language="JavaScript" src="javascript/ajax/ajax-int.js"></script>
86<!-- } -->
87
88<!-- if($this->Ajax && file_exists('cal.php')) { -->
89<script type="text/javascript" src="parse.php?file=javascript/ajax/cal_loader.js"></script>
90<!-- } -->
91
92<!-- if(!$this->Ajax) { -->
93<script language="Javascript" src="html/$this->Language/javascript/menubar-big.js"></script>
94<!-- } -->
95
96<script language="Javascript" src="html/$this->Language/javascript/composewin.js"></script>
97</head>
98
99<!-- Ajax interface -->
100
101<!-- if(preg_match('/compose\.php/', $_SERVER['SCRIPT_NAME']) && $this->AutoComplete && $this->Ajax) { -->
102<body bgcolor="#ffffff" vlink="#5B83A7" link="#5B83A7" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0" onresize="resize_iframe();" onclick="liveSearchHide();" onload="resize_iframe()">
103<!-- } -->
104
105<!-- if(preg_match('/compose\.php/', $_SERVER['SCRIPT_NAME']) && !$this->AutoComplete && $this->Ajax) { -->
106<body bgcolor="#ffffff" vlink="#5B83A7" link="#5B83A7" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0" onresize="resize_iframe();" onload="resize_iframe()">
107<!-- } -->
108
109<!-- if(!preg_match('/compose\.php/', $_SERVER['SCRIPT_NAME']) && $this->Ajax && $var['Ajax']) { -->
110<body scroll="yes" onload="PageLoaded('$var['func']', '$var['To']', '$var['Cc']', '$var['Bcc']');" onresize="FixShowMail();" bgcolor="#ffffff" vlink="#5B83A7" link="#5B83A7" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0">
111<!-- } -->
112
113<!-- if(!preg_match('/compose\.php/', $_SERVER['SCRIPT_NAME']) && $this->Ajax && !$var['Ajax']) { -->
114<body scroll="yes" onload="" bgcolor="#ffffff" vlink="#5B83A7" link="#5B83A7" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0">
115<!-- } -->
116
117<!-- Non Ajax interface -->
118
119<!-- if(preg_match('/compose\.php/', $_SERVER['SCRIPT_NAME']) && $this->AutoComplete && !$this->Ajax) { -->
120<body bgcolor="#ffffff" vlink="#5B83A7" link="#5B83A7" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0" onresize="resize_iframe();" onload="resize_iframe()">
121<!-- } -->
122
123<!-- if(preg_match('/compose\.php/', $_SERVER['SCRIPT_NAME']) && !$this->AutoComplete && !$this->Ajax) { -->
124<body bgcolor="#ffffff" vlink="#5B83A7" link="#5B83A7" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0" onresize="resize_iframe();" onload="resize_iframe()">
125<!-- } -->
126
127<!-- if(!preg_match('/compose\.php/', $_SERVER['SCRIPT_NAME']) && !$this->Ajax) { -->
128<body bgcolor="#ffffff" vlink="#5B83A7" link="#5B83A7" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0">
129<!-- } -->
130
131<div id="EmailSentNotice" style="display: none; position: absolute; top: 5px; right: 125px; font: menu; background-color: #deeaf6; color: #5b83a7; border: 1px solid #85b2dc; padding: 5px;">Mensaje enviado</div>
132
133<div id="CalendarBox"></div>
134<!-- Hide quota bar if user has not enabled option -->
135<!-- if(!$pref['quota_bar']) { -->
136<style>
137div#QuotaBar { visibility:hidden; }
138div#QuotaLabel { visibility:hidden; }
139div#QuotaBarFill { visibility:hidden; }
140</style>
141<!-- } -->
142
143<!-- Hide quota bar if quota is not set -->
144<!-- if ($var['usedquota'] == 0) { -->
145<style>
146div#QuotaBar { visibility:hidden; }
147div#QuotaLabel { visibility:hidden; }
148div#QuotaBarFill { visibility:hidden; }
149</style>
150<!-- } -->
151
152<!-- Displays the percentage as pretty bar -->
153<!-- if (!$var['used_percent']) { -->
154<!-- no variable so no display at all -->
155<!-- } -->
156<!-- if (($var['used_percent']) && ($var['used_percent'] < 50)) { -->
157<div style="position:absolute;right:235;top:15;color:#5b83a7;font:menu;" id="QuotaLabel">Space Used:</div>
158<div style="border-left: 1px #96BDE0 solid;border-right: 1px #96BDE0 solid;border-bottom:1px #96BDE0 solid;border-top:1px #96BDE0 solid;border-spacing:0px;width:100px;height:21px;position:absolute;right:125;top:10;" id="QuotaBar">
159<div style="background-color:#00ff00;height:21px;width:$var['used_percent']px;" id="QuotaBarFill"> </div>
160<div style="font:menu;color:#999999;position:absolute; text-align:center;width:100px;left:0; top:3;">$var['used_percent']%</div>
161</div>
162<!-- } -->
163<!-- if (($var['used_percent']) && ($var['used_percent'] > 50 ) && ($var['used_percent'] < 75)) { -->
164<div style="position:absolute;right:235;top:15;color:#5b83a7;font:menu;" id="QuotaLabel">Space Used:</div>
165<div style="border-left: 1px #96BDE0 solid;border-right: 1px #96BDE0 solid;border-bottom:1px #96BDE0 solid;border-top:1px #96BDE0 solid;border-spacing:0px;width:100px;height:21px;position:absolute;right:125;top:10;" id="QuotaBar">
166<div style="background-color:#ffff00;height:21px;width:$var['used_percent']px;" id="QuotaBarFill"> </div>
167<div style="font:menu;color:#999999;position:absolute; text-align:center;width:100px;left:0; top:3;">$var['used_percent']%</div>
168</div>
169<!-- } -->
170<!-- if (($var['used_percent']) && ($var['used_percent'] > 75 )) { -->
171<div style="position:absolute;right:235;top:15;color:#5b83a7;font:menu;" id="QuotaLabel">Space Used:</div>
172<div style="border-left: 1px #96BDE0 solid;border-right: 1px #96BDE0 solid;border-bottom:1px #96BDE0 solid;border-top:1px #96BDE0 solid;border-spacing:0px;width:100px;height:21px;position:absolute;right:125;top:10;" id="QuotaBar">
173<div style="background-color:#ff0000;height:21px;width:$var['used_percent']px;" id="QuotaBarFill"> </div>
174<div style="font:menu;color:#ffffff;font-weight:bold;position:absolute; text-align:center;width:100px;left:0; top:3;">$var['used_percent']%</div>
175</div>
176<!-- } -->
177<!-- if (($var['used_percent']) && ($var['used_percent'] > $pref['quota_alert_over'] )) { -->
178<div style="z-index:1;margin-left:auto;margin-right:auto;background-color:red;color:white;font:menu;border:2px solid black;width:100%;height:180px;position:absolute;" id="QuotaWarning">
179$pref['quota_alert_html']
180<p style="text-align:center;font-size:24px;">
181<a style="color:white;" href="javascript:void(0);" onclick="javascript:toggleLayer('QuotaWarning');">Dismiss</a>
182</p>
183</div>
184<!-- } -->
185
186<div id="SimpleInterface">
187
188
189<!-- if(preg_match('/MSIE/', $_SERVER['HTTP_USER_AGENT']) && $this->Ajax) { -->
190<div id="MainNavCompose" onmouseover="GrowPNG('MainNavCompose', true);" onmouseout="GrowPNG('MainNavCompose', false);" onclick="ComposeMsg();" style="cursor: pointer; position: absolute; top: 118px; left: 4px; width: 51px; height: 44px; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='imgs/simple/icon_compose.png', sizingMethod='scale');" title="Redactar Mensaje"></div>
191
192<div id="MainNavChkMail" onmouseover="GrowPNG('MainNavChkMail', true);" onmouseout="GrowPNG('MainNavChkMail', false);" onclick="LoadFolders(); LoadMsgs();" style="cursor: pointer; position: absolute; top: 94px; left: 57px; width: 64px; height: 44px; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='imgs/simple/icon_chkmail.png', sizingMethod='scale');" title="Leer email"></div>
193
194<div id="MainNavSettings" onmouseover="GrowPNG('MainNavSettings', true);" onmouseout="GrowPNG('MainNavSettings', false);" onclick="window.location.href = 'util.php?func=settings';" style="cursor: pointer; position: absolute; top: 50px; left: 99px; width: 49px; height: 44px; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='imgs/simple/icon_settings.png', sizingMethod='scale');" title="Preferencias"></div>
195
196<div id="MainNavSearch" onmouseover="GrowPNG('MainNavSearch', true);" onmouseout="GrowPNG('MainNavSearch', false);" onclick="ToggleSearchRow();" style="cursor: pointer; position: absolute; top: 3px; left: 117px; width: 51px; height: 44px; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='imgs/simple/icon_search.png', sizingMethod='scale');" title="Buscar email"></div>
197<!-- } -->
198
199<!-- if(!preg_match('/MSIE/', $_SERVER['HTTP_USER_AGENT']) && $this->Ajax) { -->
200<div id="MainNavCompose" onmouseover="GrowPNG('MainNavCompose', true);" onmouseout="GrowPNG('MainNavCompose', false);" onclick="ComposeMsg();" style="cursor: pointer; position: absolute; top: 118px; left: 4px; width: 51px; height: 44px;"><img id="MainNavComposeImg" src="imgs/simple/icon_compose.png" width="51" height="44" border="0" title="Redactar Mensaje"></div>
201
202<div id="MainNavChkMail" onmouseover="GrowPNG('MainNavChkMail', true);" onmouseout="GrowPNG('MainNavChkMail', false);" onclick="LoadFolders(); LoadMsgs();" style="cursor: pointer; position: absolute; top: 94px; left: 57px; width: 64px; height: 44px;"><img id="MainNavChkMailImg" src="imgs/simple/icon_chkmail.png" width="64" height="44" border="0" title="Leer email"></div>
203
204<div id="MainNavSettings" onmouseover="GrowPNG('MainNavSettings', true);" onmouseout="GrowPNG('MainNavSettings', false);" onclick="window.location.href = 'util.php?func=settings';" style="cursor: pointer; position: absolute; top: 50px; left: 99px; width: 49px; height: 44px;"><img id="MainNavSettingsImg" src="imgs/simple/icon_settings.png" width="49" height="44" border="0" title="Preferencias"></div>
205
206<div id="MainNavSearch" onmouseover="GrowPNG('MainNavSearch', true);" onmouseout="GrowPNG('MainNavSearch', false);" onclick="ToggleSearchRow();" style="cursor: pointer; position: absolute; top: 3px; left: 117px; width: 51px; height: 44px;"><img id="MainNavSearchImg" src="imgs/simple/icon_search.png" width="51" height="44" border="0" title="Buscar email"></div>
207<!-- } -->
208
209<!-- if($this->Ajax && $var['Ajax']) { -->
210<table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0">
211 <tr>
212 <td width="163" valign="top">
213 <table width="163" cellpadding="0" cellspacing="0" border="0">
214 <tr>
215 <td class="ajaximage_findmail" colspan="2"></td>
216 </tr>
217 <tr>
218 <td class="ajaximage_settings" colspan="2"></td>
219 </tr>
220 <tr>
221 <td class="ajaximage_compose"></td>
222 <td class="ajaximage_checkmail"></td>
223 </tr>
224 </table>
225 <div id="FolderBox" style="width: 150px;">
226 <table width="150" cellpadding="0" cellspacing="0" border="0">
227 <tr>
228 <td width="38" bgcolor="#DEEBF6"><img src="imgs/simple/shim.gif" width="38" height="5" border="0"></td>
229 <td width="129"><img src="imgs/simple/shim.gif" width="125" height="12" border="0"></td>
230 </tr>
231 <tr>
232 <td width="38" bgcolor="#DEEBF6"><img src="imgs/simple/shim.gif" width="38" height="10" border="0"></td>
233 <td width="125"><img src="imgs/simple/shim.gif" width="125" height="10" border="0"></td>
234 </tr>
235 <tr>
236 <td width="38"><img src="imgs/simple/sidebar_bottom_tile.gif" width="38" height="95" border="0"></td>
237 <td width="125"><img src="imgs/simple/shim.gif" width="125" height="95" border="0"></td>
238 </tr>
239 </table>
240 </div>
241 </td>
242<!-- } -->
243
244<!-- if($this->Ajax && !$var['Ajax']) { -->
245<table cellpadding="0" cellspacing="0" border="0">
246<tr>
247<td width="163" valign="top">
248<table width="163" cellpadding="0" cellspacing="0" border="0">
249<tr>
250 <td class="ajaximage_findmail" colspan="2"></td>
251</tr>
252<tr>
253 <td class="ajaximage_settings" colspan="2"></td>
254</tr>
255<tr>
256 <td class="ajaximage_compose"></td>
257 <td class="ajaximage_checkmail"></td>
258</tr>
259</table>
260
261<!-- } -->
262
263<!-- if(!$this->Ajax) { -->
264<table cellpadding="0" cellspacing="0" border="0">
265<tr>
266<td width="163" valign="top">
267<table width="163" cellpadding="0" cellspacing="0" border="0">
268<tr>
269 <td colspan="2"><img src="imgs/simple/button_findmail.gif" width="163" height="45" border="0" USEMAP="#button_findmail_Map"></td>
270</tr>
271<tr>
272 <td colspan="2"><img src="imgs/simple/button_settings.gif" width="163" height="45" border="0" USEMAP="#button_settings_Map"></td>
273</tr>
274<tr>
275 <td><img src="imgs/simple/button_composemail.gif" width="55" height="105" border="0" USEMAP="#button_composemail_Map"></td>
276 <td><img src="imgs/simple/button_checkmail.gif" width="108" height="105" border="0" USEMAP="#button_checkmail_Map"></td>
277</tr>
278</table>
279
280<!-- } -->