PageRenderTime 79ms CodeModel.GetById 35ms RepoModel.GetById 1ms app.codeStats 0ms

/html/espanol/simple/header.html

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