From 8b5ccd302bd1497de721a25e4ce086bebf95173f Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Sun, 08 Jun 2008 15:32:42 -0400
Subject: [PATCH] Fixed a problem with the logout when the php session has ended.

---
 interface/web/designer/templates/module_nav_edit.htm |   50 ++++++++++++++++++++++++--------------------------
 1 files changed, 24 insertions(+), 26 deletions(-)

diff --git a/interface/web/designer/templates/module_nav_edit.htm b/interface/web/designer/templates/module_nav_edit.htm
index b4c6682..3b2007a 100644
--- a/interface/web/designer/templates/module_nav_edit.htm
+++ b/interface/web/designer/templates/module_nav_edit.htm
@@ -1,26 +1,24 @@
-<form method="POST" action="module_nav_edit.php">
-<div class="frmTextHead"><tmpl_var name="header_txt"></div><br />
-<table width="500" border="0" cellspacing="0" cellpadding="2">
-  <tr>
-    <td width="126" class="frmText11"><tmpl_var name="title_txt">:</td>
-    <td width="366" class="frmText11"><input name="nav[title]" type="text" class="text" value="{tmpl_var name='title'}" size="30" maxlength="255"></td>
-  </tr>
-  <tr>
-    <td colspan="2" class="frmText11">&nbsp;<inp</td>
-  </tr>
-  <tr>
-    <td>&nbsp;</td>
-    <td><input name="Speichern" type="submit" class="button" value="{tmpl_var name='save_txt'}">
-      <input name="Abbrechen" type="button" class="button" value="{tmpl_var name='cancel_txt'}" onClick="self.location.href='module_list.php';">
-    </td>
-  </tr>
-  <tr>
-    <td colspan="2" class="frmText11"><tmpl_var name="description_txt"></td>
-  </tr>
-  <tr>
-    <td colspan="2" class="frmText11">&nbsp;</td>
-  </tr>
-</table>
-<input type="hidden" name="nav_id" value="{tmpl_var name='nav_id'}">
-<input type="hidden" name="module_name" value="{tmpl_var name='module_name'}">
-</form>
\ No newline at end of file
+<div class="frmTextHead"><tmpl_var name="header_txt"></div><br />
+<table width="500" border="0" cellspacing="0" cellpadding="2">
+  <tr>
+    <td width="126" class="frmText11"><tmpl_var name="title_txt">:</td>
+    <td width="366" class="frmText11"><input name="nav[title]" type="text" class="text" value="{tmpl_var name='title'}" size="30" maxlength="255"></td>
+  </tr>
+  <tr>
+    <td colspan="2" class="frmText11">&nbsp;<inp</td>
+  </tr>
+  <tr>
+    <td>&nbsp;</td>
+    <td><input name="Speichern" type="button" class="button" value="{tmpl_var name='save_txt'}" onClick="submitForm('pageForm','designer/module_nav_edit.php');"><div class="buttonEnding"></div>
+      <input name="Abbrechen" type="button" class="button" value="{tmpl_var name='cancel_txt'}" onClick="loadContent('designer/module_list.php');"><div class="buttonEnding"></div>
+    </td>
+  </tr>
+  <tr>
+    <td colspan="2" class="frmText11"><tmpl_var name="description_txt"></td>
+  </tr>
+  <tr>
+    <td colspan="2" class="frmText11">&nbsp;</td>
+  </tr>
+</table>
+<input type="hidden" name="nav_id" value="{tmpl_var name='nav_id'}">
+<input type="hidden" name="module_name" value="{tmpl_var name='module_name'}">
\ No newline at end of file

--
Gitblit v1.9.1