[Rt-devel] [PATCH 3.7-RTIR-RELENG] xhtml: <form> started at wrong place

Jason Long jlong at messiah.edu
Fri Nov 2 12:24:41 EDT 2007


This is a case of a XHTML element nesting problem.
The <form> was started after the beginning of the first "title box",
but not closed until after the end of the second "title box".

This patch moves the <form> opening tag to come before the first
title box, so that both are inside the <form>...</form> structure.
---

 html/Admin/Groups/Members.html |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

(Patch is attached)
-------------- next part --------------
diff --git a/html/Admin/Groups/Members.html b/html/Admin/Groups/Members.html
index 000e9a2..8648fbc 100755
--- a/html/Admin/Groups/Members.html
+++ b/html/Admin/Groups/Members.html
@@ -52,10 +52,10 @@
 <& /Elements/ListActions, actions => \@results &>
 
 
-<&| /Widgets/TitleBox, title => loc('Editing membership for group [_1]', $Group->Name) &>
-
 <form action="<%RT->Config->Get('WebPath')%>/Admin/Groups/Members.html" method="post">
 <input type="hidden" class="hidden" name="id" value="<%$Group->Id%>" />
+
+<&| /Widgets/TitleBox, title => loc('Editing membership for group [_1]', $Group->Name) &>
 <table width="100%">
 <tr>
 <td>



More information about the Rt-devel mailing list