From cf71a4677eff547c9cedeb1871fc109ae181b0c2 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Sat, 17 Mar 2007 16:30:41 -0400
Subject: [PATCH] Rebuild the complete interface to use ajax.
---
interface/web/themes/default/templates/main.tpl.htm | 100 +++++++++++++++++++++++++-------------------------
1 files changed, 50 insertions(+), 50 deletions(-)
diff --git a/interface/web/themes/default/templates/main.tpl.htm b/interface/web/themes/default/templates/main.tpl.htm
index d3dcfcc..e264733 100644
--- a/interface/web/themes/default/templates/main.tpl.htm
+++ b/interface/web/themes/default/templates/main.tpl.htm
@@ -1,51 +1,51 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title><tmpl_var name="app_title"></title>
-<meta http-equiv="Content-Type" content="{tmpl_var name='html_content_encoding'}">
-<link href="themes/{tmpl_var name="theme"}/style.css" rel="stylesheet" type="text/css">
-<script language= "JavaScript">
-function breakout()
-{
-if (window.top != window.self)
- {
- window.top.location="index.php"
- }
-}
-</script>
-</head>
-
-<body bgcolor="#FFFFFF" leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 onload="breakout()">
-<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
- <tr bgcolor="#496FA8">
- <td height="30" colspan="2" align="right" valign="top" background="themes/{tmpl_var name="theme"}/images/bg_nav_1.jpg"><tmpl_var name="logo"></td>
- </tr>
- <tr bgcolor="#FFFFFF">
- <td height="1" colspan="2" align="center" valign="bottom"><img src="themes/{tmpl_var name="theme"}/images/x.gif" width="1" height="1"></td>
- </tr>
- <tr>
- <td width="128" height="18" align="left" valign="middle" bgcolor="#496FA8"><img src="themes/{tmpl_var name='theme'}/images/login_logout.gif" width="115" height="10" border="0" usemap="#Map"><br>
- </td>
- <td height="18" align="left" valign="bottom" bgcolor="#496FA8">
- <table width="100%" height="18" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <tmpl_loop name="nav_top">
- <tmpl_if name="active">
- <td width="{tmpl_var name='tab_width'}" class="navTopSelected"><a href="#" class="txtNavTopSelected"><tmpl_var name="title"></a></td>
- <tmpl_else>
- <td width="{tmpl_var name='tab_width'}" class="navTopDefault"><a href="capp.php?mod=<tmpl_var name='module'>&phpsessid=<tmpl_var name='phpsessid'>" class="txtNavTopDefault"><tmpl_var name="title"></a></td>
- </tmpl_if>
- </tmpl_loop>
- <td align="right" valign="middle" class="navTop"><img src="themes/{tmpl_var name="theme"}/images/x.gif" width="123" height="1"> </td>
- </tr>
- </table>
- </td>
- </tr>
- <tmpl_dyninclude name="module_tpl">
-</table>
-<map name="Map">
-<area shape="rect" coords="68,2,108,20" href="login/logout.php?phpsessid=<tmpl_var name='phpsessid'>">
-<area shape="rect" coords="8,2,50,7" href="help/index.php?phpsessid=<tmpl_var name='phpsessid'>" target="content">
-</map>
-</body>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<title>ISPConfig</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<link href="themes/default/style.css" rel="stylesheet" type="text/css">
+<script src="js/yui/yahoo/yahoo-min.js"></script>
+<script src="js/yui/connection/connection-min.js"></script>
+<!-- Dependencies -->
+ <script type="text/javascript" src="http://yui.yahooapis.com/2.2.0/build/yahoo-dom-event/yahoo-dom-event.js"></script>
+
+ <!-- OPTIONAL: Connection (not required if not using Dialog/SimpleDialog) -->
+ <script type="text/javascript" src="http://yui.yahooapis.com/2.2.0/build/connection/connection-min.js"></script>
+
+ <!-- OPTIONAL: Animation (not required if not enabling animation) -->
+ <script type="text/javascript" src="http://yui.yahooapis.com/2.2.0/build/animation/animation-min.js"></script>
+
+ <!-- Source file -->
+ <script type="text/javascript" src="http://yui.yahooapis.com/2.2.0/build/container/container-min.js"></script>
+<script src="js/scrigo.js"></script>
+</head>
+<body bgcolor="#FFFFFF" leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 onLoad="loadInitContent()">
+<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr bgcolor="#496FA8">
+ <td height="30" colspan="2" align="right" valign="top" background="themes/default/images/bg_nav_1.jpg"><img src="themes/default/images/mydnsconfig_logo.gif" border="0" alt=""></td>
+ </tr>
+ <tr bgcolor="#FFFFFF">
+ <td height="1" colspan="2" align="center" valign="bottom"><img src="themes/default/images/x.gif" width="1" height="1"></td>
+ </tr>
+ <tr>
+ <td width="128" height="18" align="left" valign="middle" bgcolor="#496FA8"><img src="themes/default/images/login_logout.gif" width="115" height="10" border="0" usemap="#Map"><br>
+ </td>
+ <td height="18" align="left" valign="bottom" bgcolor="#496FA8"><div id="topNav"> </div></td>
+ </tr>
+ <tr>
+ <td width="128" height="26" background="themes/default/images/nav_top_bg.gif"> </td>
+ <td rowspan="3" class="mainContent"><form method="post" action="" id="pageForm" name="pageForm" enctype="multipart/form-data" style="margin:10px; width:99%; height:100%;"><div id="pageContent" style="width:100%; height:100%;"></div></form></td>
+ </tr>
+ <tr>
+ <td width="128" align="right" valign="top" bgcolor="#DEE4F2"><div id="sideNav"> </div></td>
+ </tr>
+ <tr>
+ <td align="left" valign="bottom" bgcolor="#DEE4F2"> </td>
+ </tr>
+</table>
+<map name="Map">
+ <area shape="rect" coords="66,1,106,19" href="login/logout.php?phpsessid=d4307711e9e4905b0bf590198a1fc4a5">
+ <area shape="rect" coords="5,1,50,10" href="help/index.php?phpsessid=d4307711e9e4905b0bf590198a1fc4a5" target="content">
+</map>
+</body>
</html>
\ No newline at end of file
--
Gitblit v1.9.1