Author: andreas
Date: Tue Jan 27 16:32:15 2009
New Revision: 738135
URL: http://svn.apache.org/viewvc?rev=738135&view=rev
Log:
[minor change] code formatting
Modified:
lenya/trunk/src/modules-core/administration/usecases/addGroup.jx
lenya/trunk/src/modules-core/administration/usecases/addUser.jx
lenya/trunk/src/modules-core/administration/usecases/deleteGroup.jx
lenya/trunk/src/modules-core/administration/usecases/deleteUser.jx
lenya/trunk/src/modules-core/administration/usecases/emptyTrash.jx
lenya/trunk/src/modules-core/administration/usecases/forceLiveCheckIn.jx
lenya/trunk/src/modules-core/administration/usecases/group.jx
lenya/trunk/src/modules-core/administration/usecases/groupMembers.jx
lenya/trunk/src/modules-core/administration/usecases/groupProfile.jx
lenya/trunk/src/modules-core/administration/usecases/groups.jx
lenya/trunk/src/modules-core/administration/usecases/ipRange.jx
lenya/trunk/src/modules-core/administration/usecases/ipRangeGroups.jx
lenya/trunk/src/modules-core/administration/usecases/ipRangeProfile.jx
lenya/trunk/src/modules-core/administration/usecases/ipRanges.jx
lenya/trunk/src/modules-core/administration/usecases/passwordForm.jx
lenya/trunk/src/modules-core/administration/usecases/showPubConf.jx
lenya/trunk/src/modules-core/administration/usecases/usecases.jx
lenya/trunk/src/modules-core/administration/usecases/user.jx
lenya/trunk/src/modules-core/administration/usecases/userGroups.jx
lenya/trunk/src/modules-core/administration/usecases/userProfile.jx
lenya/trunk/src/modules-core/administration/usecases/users.jx
Modified: lenya/trunk/src/modules-core/administration/usecases/addGroup.jx
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules-core/administration/usecases/addGroup.jx?rev=738135&r1=738134&r2=738135&view=diff
==============================================================================
--- lenya/trunk/src/modules-core/administration/usecases/addGroup.jx (original)
+++ lenya/trunk/src/modules-core/administration/usecases/addGroup.jx Tue Jan 27 16:32:15 2009
@@ -6,9 +6,9 @@
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -28,42 +28,42 @@
<jx:import uri="fallback://lenya/modules/usecase/templates/tabs.jx"/>
<div id="contentblock1" class="lenya-tab">
<h1><i18n:text>Add Group</i18n:text></h1>
-
- <form id="form-add_group" action="${usecase.getSourceURL()}" method="post">
- <input type="hidden" name="lenya.continuation" value="${continuation.id}"/>
- <input type="hidden" name="lenya.usecase" value="${request.getParameter('lenya.usecase')}"/>
-
- <table class="lenya-table-noborder">
- <tr>
- <td colspan="2">
- <jx:import uri="fallback://lenya/modules/usecase/templates/messages.jx"/>
- </td>
- </tr>
- <tr>
- <td class="lenya-entry-caption"><label for="groupId"><i18n:text>Group ID</i18n:text> *</label></td>
- <td><input type="text" name="groupId" class="lenya-form-element" value="${request.getParameter('groupId')}"/></td>
- </tr>
- <tr>
- <td class="lenya-entry-caption"><label for="name"><i18n:text>Name</i18n:text></label></td>
- <td><input type="text" name="name" class="lenya-form-element" value="${request.getParameter('name')}"/></td>
- </tr>
- <tr>
- <td valign="top" class="lenya-entry-caption"><label for="description"><i18n:text>Description</i18n:text></label></td>
- <td>
- <!-- N.B.: do not put spaces or carriage returns inside the
- textarea element - these would be rendered -->
- <textarea name="description" class="lenya-form-element"><jx:out value="${request.getParameter('description')}"/></textarea>
- </td>
- </tr>
- <tr>
- <td/>
- <td>
- <input i18n:attr="value" type="submit" name="submit" value="Add"/>
- <input i18n:attr="value" type="submit" name="cancel" value="Cancel"/>
- </td>
- </tr>
- </table>
- </form>
+
+ <form id="form-add_group" action="${usecase.getSourceURL()}" method="post">
+ <input type="hidden" name="lenya.continuation" value="${continuation.id}"/>
+ <input type="hidden" name="lenya.usecase" value="${request.getParameter('lenya.usecase')}"/>
+
+ <table class="lenya-table-noborder">
+ <tr>
+ <td colspan="2">
+ <jx:import uri="fallback://lenya/modules/usecase/templates/messages.jx"/>
+ </td>
+ </tr>
+ <tr>
+ <td class="lenya-entry-caption"><label for="groupId"><i18n:text>Group ID</i18n:text> *</label></td>
+ <td><input type="text" name="groupId" class="lenya-form-element" value="${request.getParameter('groupId')}"/></td>
+ </tr>
+ <tr>
+ <td class="lenya-entry-caption"><label for="name"><i18n:text>Name</i18n:text></label></td>
+ <td><input type="text" name="name" class="lenya-form-element" value="${request.getParameter('name')}"/></td>
+ </tr>
+ <tr>
+ <td valign="top" class="lenya-entry-caption"><label for="description"><i18n:text>Description</i18n:text></label></td>
+ <td>
+ <!-- N.B.: do not put spaces or carriage returns inside the
+ textarea element - these would be rendered -->
+ <textarea name="description" class="lenya-form-element"><jx:out value="${request.getParameter('description')}"/></textarea>
+ </td>
+ </tr>
+ <tr>
+ <td/>
+ <td>
+ <input i18n:attr="value" type="submit" name="submit" value="Add"/>
+ <input i18n:attr="value" type="submit" name="cancel" value="Cancel"/>
+ </td>
+ </tr>
+ </table>
+ </form>
</div>
</page:body>
</page:page>
\ No newline at end of file
Modified: lenya/trunk/src/modules-core/administration/usecases/addUser.jx
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules-core/administration/usecases/addUser.jx?rev=738135&r1=738134&r2=738135&view=diff
==============================================================================
--- lenya/trunk/src/modules-core/administration/usecases/addUser.jx (original)
+++ lenya/trunk/src/modules-core/administration/usecases/addUser.jx Tue Jan 27 16:32:15 2009
@@ -6,9 +6,9 @@
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -27,75 +27,75 @@
<page:body>
<jx:import uri="fallback://lenya/modules/usecase/templates/tabs.jx"/>
<div id="contentblock1" class="lenya-tab">
-
- <h1>
- <i18n:translate>
- <i18n:text>add-user</i18n:text>
- <i18n:param><i18n:text><jx:out value="${request.getParameter('userType')}"/></i18n:text></i18n:param>
- </i18n:translate>
- </h1>
-
+
+ <h1>
+ <i18n:translate>
+ <i18n:text>add-user</i18n:text>
+ <i18n:param><i18n:text><jx:out value="${request.getParameter('userType')}"/></i18n:text></i18n:param>
+ </i18n:translate>
+ </h1>
+
<form id="form-add_user" method="post" action="${usecase.getSourceURL()}">
- <input type="hidden" name="lenya.continuation" value="${continuation.id}"/>
- <input type="hidden" name="lenya.usecase" value="${request.getParameter('lenya.usecase')}"/>
-
- <table class="lenya-table-noborder">
- <tr>
- <td colspan="2">
- <jx:import uri="fallback://lenya/modules/usecase/templates/messages.jx"/>
- </td>
- </tr>
- <tr>
- <td class="lenya-entry-caption"><label for="userId"><i18n:text>User ID</i18n:text> *</label></td>
- <td><input type="text" name="userId" class="lenya-form-element" value="${request.getParameter('userId')}"/></td>
- </tr>
+ <input type="hidden" name="lenya.continuation" value="${continuation.id}"/>
+ <input type="hidden" name="lenya.usecase" value="${request.getParameter('lenya.usecase')}"/>
- <jx:if test="${request.getParameter('className') == 'org.apache.lenya.ac.ldap.LDAPUser'}">
+ <table class="lenya-table-noborder">
<tr>
- <td class="lenya-entry-caption"><label for="ldapId"><i18n:text>LDAP ID</i18n:text> *</label></td>
- <td><input type="text" name="ldapId" class="lenya-form-element" value="${request.getParameter('ldapId')}"/></td>
+ <td colspan="2">
+ <jx:import uri="fallback://lenya/modules/usecase/templates/messages.jx"/>
+ </td>
</tr>
- </jx:if>
-
- <tr>
- <td class="lenya-entry-caption"><label for="fullName"><i18n:text>Name</i18n:text></label></td>
- <td><input type="text" name="fullName" class="lenya-form-element" value="${request.getParameter('fullName')}"/></td>
- </tr>
- <tr>
- <td valign="top" class="lenya-entry-caption"><label for="description"><i18n:text>Description</i18n:text></label></td>
- <td>
- <!-- N.B.: do not put spaces or carriage returns inside the
- textare element - these would be rendered -->
- <textarea name="description" class="lenya-form-element"><jx:out value="${request.getParameter('description')}"/></textarea>
- </td>
- </tr>
- <tr>
- <td class="lenya-entry-caption"><label for="email"><i18n:text>E-Mail</i18n:text> *</label></td>
- <td><input type="text" name="email" class="lenya-form-element" value="${request.getParameter('email')}"/></td>
- </tr>
-
- <jx:if test="${request.getParameter('className') != 'org.apache.lenya.ac.ldap.LDAPUser'}">
- <tr>
- <td class="lenya-entry-caption"><label for="newPassword"><i18n:text>Password</i18n:text> *</label></td>
- <td><input type="password" name="newPassword" class="lenya-form-element" value="${request.getParameter('newPassword')}"/></td>
- </tr>
- <tr>
- <td class="lenya-entry-caption"><label for="confirmPassword"><i18n:text>Confirm password</i18n:text> *</label></td>
- <td><input type="password" name="confirmPassword" class="lenya-form-element" value="${request.getParameter('confirmPassword')}"/></td>
- </tr>
- </jx:if>
-
- <tr>
- <td/>
- <td>
- <input i18n:attr="value" type="submit" name="submit" value="Add"/>
- <a href="?lenya.usecase=admin.users">
- <input type="button" name="cancel" value="Cancel" i18n:attr="value"/>
- </a>
- </td>
- </tr>
- </table>
- </form>
+ <tr>
+ <td class="lenya-entry-caption"><label for="userId"><i18n:text>User ID</i18n:text> *</label></td>
+ <td><input type="text" name="userId" class="lenya-form-element" value="${request.getParameter('userId')}"/></td>
+ </tr>
+
+ <jx:if test="${request.getParameter('className') == 'org.apache.lenya.ac.ldap.LDAPUser'}">
+ <tr>
+ <td class="lenya-entry-caption"><label for="ldapId"><i18n:text>LDAP ID</i18n:text> *</label></td>
+ <td><input type="text" name="ldapId" class="lenya-form-element" value="${request.getParameter('ldapId')}"/></td>
+ </tr>
+ </jx:if>
+
+ <tr>
+ <td class="lenya-entry-caption"><label for="fullName"><i18n:text>Name</i18n:text></label></td>
+ <td><input type="text" name="fullName" class="lenya-form-element" value="${request.getParameter('fullName')}"/></td>
+ </tr>
+ <tr>
+ <td valign="top" class="lenya-entry-caption"><label for="description"><i18n:text>Description</i18n:text></label></td>
+ <td>
+ <!-- N.B.: do not put spaces or carriage returns inside the
+ textare element - these would be rendered -->
+ <textarea name="description" class="lenya-form-element"><jx:out value="${request.getParameter('description')}"/></textarea>
+ </td>
+ </tr>
+ <tr>
+ <td class="lenya-entry-caption"><label for="email"><i18n:text>E-Mail</i18n:text> *</label></td>
+ <td><input type="text" name="email" class="lenya-form-element" value="${request.getParameter('email')}"/></td>
+ </tr>
+
+ <jx:if test="${request.getParameter('className') != 'org.apache.lenya.ac.ldap.LDAPUser'}">
+ <tr>
+ <td class="lenya-entry-caption"><label for="newPassword"><i18n:text>Password</i18n:text> *</label></td>
+ <td><input type="password" name="newPassword" class="lenya-form-element" value="${request.getParameter('newPassword')}"/></td>
+ </tr>
+ <tr>
+ <td class="lenya-entry-caption"><label for="confirmPassword"><i18n:text>Confirm password</i18n:text> *</label></td>
+ <td><input type="password" name="confirmPassword" class="lenya-form-element" value="${request.getParameter('confirmPassword')}"/></td>
+ </tr>
+ </jx:if>
+
+ <tr>
+ <td/>
+ <td>
+ <input i18n:attr="value" type="submit" name="submit" value="Add"/>
+ <a href="?lenya.usecase=admin.users">
+ <input type="button" name="cancel" value="Cancel" i18n:attr="value"/>
+ </a>
+ </td>
+ </tr>
+ </table>
+ </form>
</div>
</page:body>
</page:page>
\ No newline at end of file
Modified: lenya/trunk/src/modules-core/administration/usecases/deleteGroup.jx
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules-core/administration/usecases/deleteGroup.jx?rev=738135&r1=738134&r2=738135&view=diff
==============================================================================
--- lenya/trunk/src/modules-core/administration/usecases/deleteGroup.jx (original)
+++ lenya/trunk/src/modules-core/administration/usecases/deleteGroup.jx Tue Jan 27 16:32:15 2009
@@ -6,9 +6,9 @@
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -27,36 +27,36 @@
<page:body>
<jx:import uri="fallback://lenya/modules/usecase/templates/tabs.jx"/>
<div id="contentblock1" class="lenya-tab">
- <h1><i18n:text>Delete Group</i18n:text></h1>
-
+ <h1><i18n:text>Delete Group</i18n:text></h1>
+
<form id="form-delete_group" action="${usecase.getSourceURL()}" method="post">
- <input type="hidden" name="lenya.continuation" value="${continuation.id}"/>
- <input type="hidden" name="lenya.usecase" value="${request.getParameter('lenya.usecase')}"/>
-
- <table class="lenya-table-noborder">
- <tr>
- <td colspan="2">
- <jx:import uri="fallback://lenya/modules/usecase/templates/messages.jx"/>
- </td>
- </tr>
- <tr>
- <td/>
- <td>
- <i18n:translate>
- <i18n:text i18n:key="delete-object?"/>
- <i18n:param><i18n:text>group</i18n:text> <q><jx:out value="${request.getParameter('groupId')}"/></q></i18n:param>
- </i18n:translate>
- </td>
- </tr>
- <tr>
- <td/>
- <td>
- <input i18n:attr="value" type="submit" name="submit" value="Yes"/>
- <input i18n:attr="value" type="submit" name="cancel" value="No"/>
- </td>
- </tr>
- </table>
- </form>
+ <input type="hidden" name="lenya.continuation" value="${continuation.id}"/>
+ <input type="hidden" name="lenya.usecase" value="${request.getParameter('lenya.usecase')}"/>
+
+ <table class="lenya-table-noborder">
+ <tr>
+ <td colspan="2">
+ <jx:import uri="fallback://lenya/modules/usecase/templates/messages.jx"/>
+ </td>
+ </tr>
+ <tr>
+ <td/>
+ <td>
+ <i18n:translate>
+ <i18n:text i18n:key="delete-object?"/>
+ <i18n:param><i18n:text>group</i18n:text> <q><jx:out value="${request.getParameter('groupId')}"/></q></i18n:param>
+ </i18n:translate>
+ </td>
+ </tr>
+ <tr>
+ <td/>
+ <td>
+ <input i18n:attr="value" type="submit" name="submit" value="Yes"/>
+ <input i18n:attr="value" type="submit" name="cancel" value="No"/>
+ </td>
+ </tr>
+ </table>
+ </form>
</div>
</page:body>
</page:page>
\ No newline at end of file
Modified: lenya/trunk/src/modules-core/administration/usecases/deleteUser.jx
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules-core/administration/usecases/deleteUser.jx?rev=738135&r1=738134&r2=738135&view=diff
==============================================================================
--- lenya/trunk/src/modules-core/administration/usecases/deleteUser.jx (original)
+++ lenya/trunk/src/modules-core/administration/usecases/deleteUser.jx Tue Jan 27 16:32:15 2009
@@ -6,9 +6,9 @@
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -27,35 +27,35 @@
<page:body>
<jx:import uri="fallback://lenya/modules/usecase/templates/tabs.jx"/>
<div id="contentblock1" class="lenya-tab">
- <h1><i18n:text>Delete User</i18n:text></h1>
+ <h1><i18n:text>Delete User</i18n:text></h1>
<form id="form-delete_user" action="${usecase.getSourceURL()}" method="post">
- <input type="hidden" name="lenya.continuation" value="${continuation.id}"/>
- <input type="hidden" name="lenya.usecase" value="${request.getParameter('lenya.usecase')}"/>
-
- <table class="lenya-table-noborder">
- <tr>
- <td colspan="2">
- <jx:import uri="fallback://lenya/modules/usecase/templates/messages.jx"/>
- </td>
- </tr>
- <tr>
- <td/>
- <td>
- <i18n:translate>
- <i18n:text i18n:key="delete-object?"/>
- <i18n:param><i18n:text>user</i18n:text> <q><jx:out value="${request.getParameter('userId')}"/></q></i18n:param>
- </i18n:translate>
- </td>
- </tr>
- <tr>
- <td/>
- <td>
- <input i18n:attr="value" type="submit" name="submit" value="Yes"/>
- <input i18n:attr="value" type="submit" name="cancel" value="No"/>
- </td>
- </tr>
- </table>
- </form>
+ <input type="hidden" name="lenya.continuation" value="${continuation.id}"/>
+ <input type="hidden" name="lenya.usecase" value="${request.getParameter('lenya.usecase')}"/>
+
+ <table class="lenya-table-noborder">
+ <tr>
+ <td colspan="2">
+ <jx:import uri="fallback://lenya/modules/usecase/templates/messages.jx"/>
+ </td>
+ </tr>
+ <tr>
+ <td/>
+ <td>
+ <i18n:translate>
+ <i18n:text i18n:key="delete-object?"/>
+ <i18n:param><i18n:text>user</i18n:text> <q><jx:out value="${request.getParameter('userId')}"/></q></i18n:param>
+ </i18n:translate>
+ </td>
+ </tr>
+ <tr>
+ <td/>
+ <td>
+ <input i18n:attr="value" type="submit" name="submit" value="Yes"/>
+ <input i18n:attr="value" type="submit" name="cancel" value="No"/>
+ </td>
+ </tr>
+ </table>
+ </form>
</div>
</page:body>
</page:page>
\ No newline at end of file
Modified: lenya/trunk/src/modules-core/administration/usecases/emptyTrash.jx
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules-core/administration/usecases/emptyTrash.jx?rev=738135&r1=738134&r2=738135&view=diff
==============================================================================
--- lenya/trunk/src/modules-core/administration/usecases/emptyTrash.jx (original)
+++ lenya/trunk/src/modules-core/administration/usecases/emptyTrash.jx Tue Jan 27 16:32:15 2009
@@ -6,9 +6,9 @@
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -27,47 +27,47 @@
<page:body>
<jx:import uri="fallback://lenya/modules/usecase/templates/tabs.jx"/>
<div id="contentblock1" class="lenya-tab">
- <h1><i18n:text>Delete Trash</i18n:text></h1>
+ <h1><i18n:text>Delete Trash</i18n:text></h1>
<jx:import uri="fallback://lenya/modules/usecase/templates/messages.jx"/>
<p>
- <jx:choose>
- <jx:when test="${usecase.getParameter('documents').isEmpty()}">
- <i18n:text>The trash is empty.</i18n:text>
- </jx:when>
- <jx:otherwise>
- <table class="lenya-table-list-noborder">
- <tr>
- <th colspan="2"><i18n:text>Documents in trash</i18n:text></th>
- </tr>
- <jx:forEach var="document" items="${usecase.getParameter('documents')}">
+ <jx:choose>
+ <jx:when test="${usecase.getParameter('documents').isEmpty()}">
+ <i18n:text>The trash is empty.</i18n:text>
+ </jx:when>
+ <jx:otherwise>
+ <table class="lenya-table-list-noborder">
<tr>
- <td>
- <jx:if test="${document.hasLink()}">
- <jx:out value="${document.getPath()}"/>
- </jx:if>
- </td>
- <td>
- <jx:out value="${document.getMetaData('http://purl.org/dc/elements/1.1/').getFirstValue('title')}"/>
- </td>
+ <th colspan="2"><i18n:text>Documents in trash</i18n:text></th>
</tr>
- </jx:forEach>
- </table>
- </jx:otherwise>
- </jx:choose>
- </p>
+ <jx:forEach var="document" items="${usecase.getParameter('documents')}">
+ <tr>
+ <td>
+ <jx:if test="${document.hasLink()}">
+ <jx:out value="${document.getPath()}"/>
+ </jx:if>
+ </td>
+ <td>
+ <jx:out value="${document.getMetaData('http://purl.org/dc/elements/1.1/').getFirstValue('title')}"/>
+ </td>
+ </tr>
+ </jx:forEach>
+ </table>
+ </jx:otherwise>
+ </jx:choose>
+ </p>
<form id="form-delete_trash" style="margin-top: 20px" action="${usecase.getSourceURL()}" method="post">
- <input type="hidden" name="lenya.continuation" value="${continuation.id}"/>
- <input type="hidden" name="lenya.usecase" value="${request.getParameter('lenya.usecase')}"/>
- <jx:choose>
- <jx:when test="${usecase.getParameter('documents').isEmpty()}">
- <input i18n:attr="value" name="submit" type="submit" value="Delete" disabled="disabled"/>
- </jx:when>
- <jx:otherwise>
- <input i18n:attr="value" name="submit" type="submit" value="Delete"/>
- </jx:otherwise>
- </jx:choose>
- </form>
+ <input type="hidden" name="lenya.continuation" value="${continuation.id}"/>
+ <input type="hidden" name="lenya.usecase" value="${request.getParameter('lenya.usecase')}"/>
+ <jx:choose>
+ <jx:when test="${usecase.getParameter('documents').isEmpty()}">
+ <input i18n:attr="value" name="submit" type="submit" value="Delete" disabled="disabled"/>
+ </jx:when>
+ <jx:otherwise>
+ <input i18n:attr="value" name="submit" type="submit" value="Delete"/>
+ </jx:otherwise>
+ </jx:choose>
+ </form>
</div>
</page:body>
</page:page>
\ No newline at end of file
Modified: lenya/trunk/src/modules-core/administration/usecases/forceLiveCheckIn.jx
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules-core/administration/usecases/forceLiveCheckIn.jx?rev=738135&r1=738134&r2=738135&view=diff
==============================================================================
--- lenya/trunk/src/modules-core/administration/usecases/forceLiveCheckIn.jx (original)
+++ lenya/trunk/src/modules-core/administration/usecases/forceLiveCheckIn.jx Tue Jan 27 16:32:15 2009
@@ -6,9 +6,9 @@
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -27,14 +27,14 @@
<page:body>
<jx:import uri="fallback://lenya/modules/usecase/templates/tabs.jx"/>
<div id="contentblock1" class="lenya-tab">
- <h1><i18n:text>Live CheckIn</i18n:text></h1>
+ <h1><i18n:text>Live CheckIn</i18n:text></h1>
<jx:import uri="fallback://lenya/modules/usecase/templates/messages.jx"/>
<form id="form-live_checkin" style="margin-top: 20px" method="post" action="${usecase.getSourceURL()}">
- <input type="hidden" name="lenya.continuation" value="${continuation.id}"/>
- <input type="hidden" name="lenya.usecase" value="${request.getParameter('lenya.usecase')}"/>
- <input i18n:attr="value" name="submit" type="submit" value="Submit"/>
- </form>
+ <input type="hidden" name="lenya.continuation" value="${continuation.id}"/>
+ <input type="hidden" name="lenya.usecase" value="${request.getParameter('lenya.usecase')}"/>
+ <input i18n:attr="value" name="submit" type="submit" value="Submit"/>
+ </form>
</div>
</page:body>
</page:page>
Modified: lenya/trunk/src/modules-core/administration/usecases/group.jx
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules-core/administration/usecases/group.jx?rev=738135&r1=738134&r2=738135&view=diff
==============================================================================
--- lenya/trunk/src/modules-core/administration/usecases/group.jx (original)
+++ lenya/trunk/src/modules-core/administration/usecases/group.jx Tue Jan 27 16:32:15 2009
@@ -6,9 +6,9 @@
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -27,10 +27,10 @@
<page:body>
<jx:import uri="fallback://lenya/modules/usecase/templates/tabs.jx"/>
<div id="contentblock1" class="lenya-tab">
- <h1><i18n:text>Group Profile</i18n:text></h1>
+ <h1><i18n:text>Group Profile</i18n:text></h1>
<jx:set var="group" value="${usecase.getParameter('group')}"/>
-
+
<table class="lenya-table-noborder">
<tr>
<td colspan="2">
@@ -49,7 +49,7 @@
<td valign="top" class="lenya-entry-caption"><i18n:text>Description</i18n:text>:</td>
<td>
<!-- N.B.: do not put spaces or carriage returns inside the
- textarea element - these would be rendered -->
+ textarea element - these would be rendered -->
<jx:out value="${group.getDescription()}"/>
</td>
</tr>
Modified: lenya/trunk/src/modules-core/administration/usecases/groupMembers.jx
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules-core/administration/usecases/groupMembers.jx?rev=738135&r1=738134&r2=738135&view=diff
==============================================================================
--- lenya/trunk/src/modules-core/administration/usecases/groupMembers.jx (original)
+++ lenya/trunk/src/modules-core/administration/usecases/groupMembers.jx Tue Jan 27 16:32:15 2009
@@ -6,9 +6,9 @@
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -27,65 +27,65 @@
<page:body>
<jx:import uri="fallback://lenya/modules/usecase/templates/tabs.jx"/>
<div id="contentblock1" class="lenya-tab">
- <h1><i18n:text>Group Affiliation</i18n:text></h1>
-
+ <h1><i18n:text>Group Affiliation</i18n:text></h1>
+
<form method="post" id="form-group_affiliation" action="${usecase.getSourceURL()}" method="post">
- <input type="hidden" name="lenya.continuation" value="${continuation.id}"/>
- <input type="hidden" name="lenya.usecase" value="${request.getParameter('lenya.usecase')}"/>
-
- <table class="lenya-table-noborder">
- <tr>
- <td colspan="2">
- <jx:import uri="fallback://lenya/modules/usecase/templates/messages.jx"/>
- </td>
- </tr>
- </table>
-
- <table class="lenya-table-noborder-nopadding">
- <tr>
- <td>
- <strong>
- <i18n:text>Group Users</i18n:text>
- </strong>
- </td>
- <td/>
- <td>
- <strong>
- <i18n:text>All Users</i18n:text>
- </strong>
- </td>
- </tr>
- <tr>
- <td valign="middle">
- <select name="groupUser" size="15" class="lenya-form-element-narrow">
- <jx:forEach var="user" items="${usecase.getParameter('groupUsers')}">
- <option value="${user}"><jx:out value="${user}"/></option>
- </jx:forEach>
- </select>
- </td>
- <td valign="middle">
- <input name="add" type="submit" value="<"/>
- <br/>
- <input name="remove" type="submit" value=">"/>
- </td>
- <td valign="middle">
- <select name="otherUser" size="15" class="lenya-form-element-narrow">
- <jx:forEach var="otherUser" items="${usecase.getParameter('otherUsers')}">
- <option value="${otherUser}"><jx:out value="${otherUser}"/></option>
- </jx:forEach>
- </select>
- </td>
- </tr>
- <tr>
- <td colspan="3" style="text-align: center">
- <br/>
- <input i18n:attr="value" type="submit" name="submit" value="Save"/>
- <input i18n:attr="value" type="submit" name="cancel" value="Cancel"/>
- </td>
- </tr>
- </table>
-
- </form>
+ <input type="hidden" name="lenya.continuation" value="${continuation.id}"/>
+ <input type="hidden" name="lenya.usecase" value="${request.getParameter('lenya.usecase')}"/>
+
+ <table class="lenya-table-noborder">
+ <tr>
+ <td colspan="2">
+ <jx:import uri="fallback://lenya/modules/usecase/templates/messages.jx"/>
+ </td>
+ </tr>
+ </table>
+
+ <table class="lenya-table-noborder-nopadding">
+ <tr>
+ <td>
+ <strong>
+ <i18n:text>Group Users</i18n:text>
+ </strong>
+ </td>
+ <td/>
+ <td>
+ <strong>
+ <i18n:text>All Users</i18n:text>
+ </strong>
+ </td>
+ </tr>
+ <tr>
+ <td valign="middle">
+ <select name="groupUser" size="15" class="lenya-form-element-narrow">
+ <jx:forEach var="user" items="${usecase.getParameter('groupUsers')}">
+ <option value="${user}"><jx:out value="${user}"/></option>
+ </jx:forEach>
+ </select>
+ </td>
+ <td valign="middle">
+ <input name="add" type="submit" value="<"/>
+ <br/>
+ <input name="remove" type="submit" value=">"/>
+ </td>
+ <td valign="middle">
+ <select name="otherUser" size="15" class="lenya-form-element-narrow">
+ <jx:forEach var="otherUser" items="${usecase.getParameter('otherUsers')}">
+ <option value="${otherUser}"><jx:out value="${otherUser}"/></option>
+ </jx:forEach>
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="3" style="text-align: center">
+ <br/>
+ <input i18n:attr="value" type="submit" name="submit" value="Save"/>
+ <input i18n:attr="value" type="submit" name="cancel" value="Cancel"/>
+ </td>
+ </tr>
+ </table>
+
+ </form>
</div>
</page:body>
</page:page>
\ No newline at end of file
Modified: lenya/trunk/src/modules-core/administration/usecases/groupProfile.jx
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules-core/administration/usecases/groupProfile.jx?rev=738135&r1=738134&r2=738135&view=diff
==============================================================================
--- lenya/trunk/src/modules-core/administration/usecases/groupProfile.jx (original)
+++ lenya/trunk/src/modules-core/administration/usecases/groupProfile.jx Tue Jan 27 16:32:15 2009
@@ -6,9 +6,9 @@
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -27,44 +27,44 @@
<page:body>
<jx:import uri="fallback://lenya/modules/usecase/templates/tabs.jx"/>
<div id="contentblock1" class="lenya-tab">
- <h1><i18n:text>Edit Group Profile</i18n:text></h1>
-
+ <h1><i18n:text>Edit Group Profile</i18n:text></h1>
+
<form id="form-edit_group_profile" action="${usecase.getSourceURL()}" method="post">
- <input type="hidden" name="lenya.continuation" value="${continuation.id}"/>
- <input type="hidden" name="lenya.usecase" value="${request.getParameter('lenya.usecase')}"/>
-
- <table class="lenya-table-noborder">
- <tr>
- <td colspan="2">
- <jx:import uri="fallback://lenya/modules/usecase/templates/messages.jx"/>
- </td>
- </tr>
- <tr>
- <td class="lenya-entry-caption"><i18n:text>Group ID</i18n:text>:</td>
- <td><jx:out value="${usecase.getParameter('groupId')}"/></td>
- </tr>
- <tr>
- <td class="lenya-entry-caption"><label for="name"><i18n:text>Name</i18n:text>:</label></td>
- <td><input type="text" name="name" class="lenya-form-element" value="${usecase.getParameter('name')}"/></td>
- </tr>
- <tr>
- <td valign="top" class="lenya-entry-caption"><label for="description"><i18n:text>Description</i18n:text>:</label></td>
- <td>
- <!-- N.B.: do not put spaces or carriage returns inside the
- textarea element - these would be rendered -->
- <textarea name="description" class="lenya-form-element"><jx:out value="${usecase.getParameter('description')}"/></textarea>
- </td>
- </tr>
+ <input type="hidden" name="lenya.continuation" value="${continuation.id}"/>
+ <input type="hidden" name="lenya.usecase" value="${request.getParameter('lenya.usecase')}"/>
- <tr>
- <td/>
- <td>
- <input i18n:attr="value" type="submit" name="submit" value="Save"/>
- <input i18n:attr="value" type="submit" name="cancel" value="Cancel"/>
- </td>
- </tr>
- </table>
- </form>
+ <table class="lenya-table-noborder">
+ <tr>
+ <td colspan="2">
+ <jx:import uri="fallback://lenya/modules/usecase/templates/messages.jx"/>
+ </td>
+ </tr>
+ <tr>
+ <td class="lenya-entry-caption"><i18n:text>Group ID</i18n:text>:</td>
+ <td><jx:out value="${usecase.getParameter('groupId')}"/></td>
+ </tr>
+ <tr>
+ <td class="lenya-entry-caption"><label for="name"><i18n:text>Name</i18n:text>:</label></td>
+ <td><input type="text" name="name" class="lenya-form-element" value="${usecase.getParameter('name')}"/></td>
+ </tr>
+ <tr>
+ <td valign="top" class="lenya-entry-caption"><label for="description"><i18n:text>Description</i18n:text>:</label></td>
+ <td>
+ <!-- N.B.: do not put spaces or carriage returns inside the
+ textarea element - these would be rendered -->
+ <textarea name="description" class="lenya-form-element"><jx:out value="${usecase.getParameter('description')}"/></textarea>
+ </td>
+ </tr>
+
+ <tr>
+ <td/>
+ <td>
+ <input i18n:attr="value" type="submit" name="submit" value="Save"/>
+ <input i18n:attr="value" type="submit" name="cancel" value="Cancel"/>
+ </td>
+ </tr>
+ </table>
+ </form>
</div>
</page:body>
</page:page>
\ No newline at end of file
Modified: lenya/trunk/src/modules-core/administration/usecases/groups.jx
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules-core/administration/usecases/groups.jx?rev=738135&r1=738134&r2=738135&view=diff
==============================================================================
--- lenya/trunk/src/modules-core/administration/usecases/groups.jx (original)
+++ lenya/trunk/src/modules-core/administration/usecases/groups.jx Tue Jan 27 16:32:15 2009
@@ -6,9 +6,9 @@
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -29,7 +29,7 @@
<div id="contentblock1" class="lenya-tab">
<h1><i18n:text>Groups</i18n:text></h1>
-
+
<table class="lenya-table-noborder">
<tr>
<td colspan="2">
@@ -40,7 +40,7 @@
<div style="margin-bottom: 10px">
<table class="lenya-table-noborder">
- <tr>
+ <tr>
<td style="padding: 0px">
<form method="get" id="form-add_group" action="${usecase.getSourceURL()}">
<input type="hidden" name="lenya.usecase" value="admin.addGroup"/>
Modified: lenya/trunk/src/modules-core/administration/usecases/ipRange.jx
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules-core/administration/usecases/ipRange.jx?rev=738135&r1=738134&r2=738135&view=diff
==============================================================================
--- lenya/trunk/src/modules-core/administration/usecases/ipRange.jx (original)
+++ lenya/trunk/src/modules-core/administration/usecases/ipRange.jx Tue Jan 27 16:32:15 2009
@@ -6,9 +6,9 @@
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -27,10 +27,10 @@
<page:body>
<jx:import uri="fallback://lenya/modules/usecase/templates/tabs.jx"/>
<div id="contentblock1" class="lenya-tab">
- <h1><i18n:text>IP Range Profile</i18n:text></h1>
-
+ <h1><i18n:text>IP Range Profile</i18n:text></h1>
+
<jx:set var="ipRange" value="${usecase.getParameter('ipRange')}"/>
-
+
<table class="lenya-table-noborder">
<tr>
<td colspan="2">
@@ -63,7 +63,7 @@
<jx:out value="${ipRange.getSubnetMask().getHostAddress()}"/>
</td>
</tr>
-
+
<tr>
<td/>
<td>
Modified: lenya/trunk/src/modules-core/administration/usecases/ipRangeGroups.jx
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules-core/administration/usecases/ipRangeGroups.jx?rev=738135&r1=738134&r2=738135&view=diff
==============================================================================
--- lenya/trunk/src/modules-core/administration/usecases/ipRangeGroups.jx (original)
+++ lenya/trunk/src/modules-core/administration/usecases/ipRangeGroups.jx Tue Jan 27 16:32:15 2009
@@ -6,9 +6,9 @@
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -29,62 +29,62 @@
<div id="contentblock1" class="lenya-tab">
<h1><i18n:text>Group Affiliation</i18n:text></h1>
<form method="post" id="form-group_affiliation" action="${usecase.getSourceURL()}">
- <input type="hidden" name="lenya.continuation" value="${continuation.id}"/>
- <input type="hidden" name="lenya.usecase" value="${request.getParameter('lenya.usecase')}"/>
-
- <table class="lenya-table-noborder">
- <tr>
- <td colspan="2">
- <jx:import uri="fallback://lenya/modules/usecase/templates/messages.jx"/>
- </td>
- </tr>
- </table>
-
- <table class="lenya-table-noborder-nopadding">
- <tr>
- <td>
- <strong>
- <i18n:text>IP Range Groups</i18n:text>
- </strong>
- </td>
- <td/>
- <td>
- <strong>
- <i18n:text>All Groups</i18n:text>
- </strong>
- </td>
- </tr>
- <tr>
- <td valign="middle">
- <select name="ipRangeGroup" size="15" class="lenya-form-element-narrow">
- <jx:forEach var="group" items="${usecase.getParameter('ipRangeGroups')}">
- <option value="${group}"><jx:out value="${group}"/></option>
- </jx:forEach>
- </select>
- </td>
- <td valign="middle">
- <input name="add" type="submit" value="<"/>
- <br/>
- <input name="remove" type="submit" value=">"/>
- </td>
- <td valign="middle">
- <select name="otherGroup" size="15" class="lenya-form-element-narrow">
- <jx:forEach var="otherGroup" items="${usecase.getParameter('otherGroups')}">
- <option value="${otherGroup}"><jx:out value="${otherGroup}"/></option>
- </jx:forEach>
- </select>
- </td>
- </tr>
- <tr>
- <td colspan="3" style="text-align: center">
- <br/>
- <input i18n:attr="value" type="submit" name="submit" value="Save"/>
- <input i18n:attr="value" type="submit" name="cancel" value="Cancel"/>
- </td>
- </tr>
- </table>
-
- </form>
+ <input type="hidden" name="lenya.continuation" value="${continuation.id}"/>
+ <input type="hidden" name="lenya.usecase" value="${request.getParameter('lenya.usecase')}"/>
+
+ <table class="lenya-table-noborder">
+ <tr>
+ <td colspan="2">
+ <jx:import uri="fallback://lenya/modules/usecase/templates/messages.jx"/>
+ </td>
+ </tr>
+ </table>
+
+ <table class="lenya-table-noborder-nopadding">
+ <tr>
+ <td>
+ <strong>
+ <i18n:text>IP Range Groups</i18n:text>
+ </strong>
+ </td>
+ <td/>
+ <td>
+ <strong>
+ <i18n:text>All Groups</i18n:text>
+ </strong>
+ </td>
+ </tr>
+ <tr>
+ <td valign="middle">
+ <select name="ipRangeGroup" size="15" class="lenya-form-element-narrow">
+ <jx:forEach var="group" items="${usecase.getParameter('ipRangeGroups')}">
+ <option value="${group}"><jx:out value="${group}"/></option>
+ </jx:forEach>
+ </select>
+ </td>
+ <td valign="middle">
+ <input name="add" type="submit" value="<"/>
+ <br/>
+ <input name="remove" type="submit" value=">"/>
+ </td>
+ <td valign="middle">
+ <select name="otherGroup" size="15" class="lenya-form-element-narrow">
+ <jx:forEach var="otherGroup" items="${usecase.getParameter('otherGroups')}">
+ <option value="${otherGroup}"><jx:out value="${otherGroup}"/></option>
+ </jx:forEach>
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="3" style="text-align: center">
+ <br/>
+ <input i18n:attr="value" type="submit" name="submit" value="Save"/>
+ <input i18n:attr="value" type="submit" name="cancel" value="Cancel"/>
+ </td>
+ </tr>
+ </table>
+
+ </form>
</div>
</page:body>
</page:page>
\ No newline at end of file
Modified: lenya/trunk/src/modules-core/administration/usecases/ipRangeProfile.jx
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules-core/administration/usecases/ipRangeProfile.jx?rev=738135&r1=738134&r2=738135&view=diff
==============================================================================
--- lenya/trunk/src/modules-core/administration/usecases/ipRangeProfile.jx (original)
+++ lenya/trunk/src/modules-core/administration/usecases/ipRangeProfile.jx Tue Jan 27 16:32:15 2009
@@ -6,9 +6,9 @@
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -26,82 +26,82 @@
<jx:import uri="fallback://lenya/modules/usecase/templates/tabs.jx"/>
<div id="contentblock1" class="lenya-tab">
- <h1><i18n:text>IP Range Profile</i18n:text></h1>
-
- <form id="form-iprange_profile" action="${usecase.getSourceURL()}">
- <input type="hidden" name="lenya.continuation" value="${continuation.id}"/>
- <input type="hidden" name="lenya.usecase" value="${request.getParameter('lenya.usecase')}"/>
+ <h1><i18n:text>IP Range Profile</i18n:text></h1>
- <table class="lenya-table-noborder">
- <tr>
- <td colspan="2">
- <jx:import uri="fallback://lenya/modules/usecase/templates/messages.jx"/>
- </td>
- </tr>
- <tr>
- <td class="lenya-entry-caption"><i18n:text>IP Range ID</i18n:text>:</td>
- <td><jx:out value="${usecase.getParameter('ipRangeId')}"/></td>
- </tr>
+ <form id="form-iprange_profile" action="${usecase.getSourceURL()}">
+ <input type="hidden" name="lenya.continuation" value="${continuation.id}"/>
+ <input type="hidden" name="lenya.usecase" value="${request.getParameter('lenya.usecase')}"/>
- <tr>
- <td class="lenya-entry-caption"><i18n:text>Name</i18n:text>:</td>
- <td><input type="text" name="name" class="lenya-form-entry" value="${usecase.getParameter('name')}"/></td>
- </tr>
- <tr>
- <td valign="top" class="lenya-entry-caption"><i18n:text>Description</i18n:text>:</td>
- <td>
- <textarea name="description" class="lenya-form-entry"><jx:out value="${usecase.getParameter('description')}"/></textarea>
- </td>
- </tr>
-
- <tr>
- <td class="lenya-entry-caption"><i18n:text>Network Address</i18n:text>:</td>
- <td>
- <jx:forEach var="part" items="${usecase.getParameter('partNumbers')}">
- <jx:choose>
- <jx:when test="${usecase.getParameter('networkAddress-' + part).isValid()}">
- <input type="text" name="networkAddress-${part}" size="3" maxlength="3"
- value="${usecase.getParameter('networkAddress-' + part).getValue()}"
- style="text-align: right"/>
- </jx:when>
- <jx:otherwise>
- <input type="text" name="networkAddress-${part}" size="3" maxlength="3"
- value="${usecase.getParameter('networkAddress-' + part).getValue()}"
- style="background-color: #FF9999; text-align: right;"/>
- </jx:otherwise>
- </jx:choose>
- </jx:forEach>
- </td>
- </tr>
- <tr>
- <td class="lenya-entry-caption"><i18n:text>Subnet Mask</i18n:text>:</td>
- <td>
- <jx:forEach var="part" items="${usecase.getParameter('partNumbers')}">
- <jx:choose>
- <jx:when test="${usecase.getParameter('subnetMask-' + part).isValid()}">
- <input type="text" name="subnetMask-${part}" size="3" maxlength="3"
- value="${usecase.getParameter('subnetMask-' + part).getValue()}"
- style="text-align: right"/>
- </jx:when>
- <jx:otherwise>
- <input type="text" name="subnetMask-${part}" size="3" maxlength="3"
- value="${usecase.getParameter('subnetMask-' + part).getValue()}"
- style="background-color: #FF9999; text-align: right;"/>
- </jx:otherwise>
- </jx:choose>
- </jx:forEach>
- </td>
- </tr>
-
- <tr>
- <td/>
- <td>
- <input i18n:attr="value" type="submit" name="submit" value="Save"/>
- <input i18n:attr="value" type="submit" name="cancel" value="Cancel"/>
- </td>
- </tr>
- </table>
- </form>
+ <table class="lenya-table-noborder">
+ <tr>
+ <td colspan="2">
+ <jx:import uri="fallback://lenya/modules/usecase/templates/messages.jx"/>
+ </td>
+ </tr>
+ <tr>
+ <td class="lenya-entry-caption"><i18n:text>IP Range ID</i18n:text>:</td>
+ <td><jx:out value="${usecase.getParameter('ipRangeId')}"/></td>
+ </tr>
+
+ <tr>
+ <td class="lenya-entry-caption"><i18n:text>Name</i18n:text>:</td>
+ <td><input type="text" name="name" class="lenya-form-entry" value="${usecase.getParameter('name')}"/></td>
+ </tr>
+ <tr>
+ <td valign="top" class="lenya-entry-caption"><i18n:text>Description</i18n:text>:</td>
+ <td>
+ <textarea name="description" class="lenya-form-entry"><jx:out value="${usecase.getParameter('description')}"/></textarea>
+ </td>
+ </tr>
+
+ <tr>
+ <td class="lenya-entry-caption"><i18n:text>Network Address</i18n:text>:</td>
+ <td>
+ <jx:forEach var="part" items="${usecase.getParameter('partNumbers')}">
+ <jx:choose>
+ <jx:when test="${usecase.getParameter('networkAddress-' + part).isValid()}">
+ <input type="text" name="networkAddress-${part}" size="3" maxlength="3"
+ value="${usecase.getParameter('networkAddress-' + part).getValue()}"
+ style="text-align: right"/>
+ </jx:when>
+ <jx:otherwise>
+ <input type="text" name="networkAddress-${part}" size="3" maxlength="3"
+ value="${usecase.getParameter('networkAddress-' + part).getValue()}"
+ style="background-color: #FF9999; text-align: right;"/>
+ </jx:otherwise>
+ </jx:choose>
+ </jx:forEach>
+ </td>
+ </tr>
+ <tr>
+ <td class="lenya-entry-caption"><i18n:text>Subnet Mask</i18n:text>:</td>
+ <td>
+ <jx:forEach var="part" items="${usecase.getParameter('partNumbers')}">
+ <jx:choose>
+ <jx:when test="${usecase.getParameter('subnetMask-' + part).isValid()}">
+ <input type="text" name="subnetMask-${part}" size="3" maxlength="3"
+ value="${usecase.getParameter('subnetMask-' + part).getValue()}"
+ style="text-align: right"/>
+ </jx:when>
+ <jx:otherwise>
+ <input type="text" name="subnetMask-${part}" size="3" maxlength="3"
+ value="${usecase.getParameter('subnetMask-' + part).getValue()}"
+ style="background-color: #FF9999; text-align: right;"/>
+ </jx:otherwise>
+ </jx:choose>
+ </jx:forEach>
+ </td>
+ </tr>
+
+ <tr>
+ <td/>
+ <td>
+ <input i18n:attr="value" type="submit" name="submit" value="Save"/>
+ <input i18n:attr="value" type="submit" name="cancel" value="Cancel"/>
+ </td>
+ </tr>
+ </table>
+ </form>
</div>
</page:body>
</page:page>
\ No newline at end of file
Modified: lenya/trunk/src/modules-core/administration/usecases/ipRanges.jx
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules-core/administration/usecases/ipRanges.jx?rev=738135&r1=738134&r2=738135&view=diff
==============================================================================
--- lenya/trunk/src/modules-core/administration/usecases/ipRanges.jx (original)
+++ lenya/trunk/src/modules-core/administration/usecases/ipRanges.jx Tue Jan 27 16:32:15 2009
@@ -6,9 +6,9 @@
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -29,7 +29,7 @@
<div id="contentblock1" class="lenya-tab">
<h1><i18n:text>IP Ranges</i18n:text></h1>
-
+
<table class="lenya-table-noborder">
<tr>
<td colspan="2">
@@ -76,7 +76,7 @@
</tr>
</jx:forEach>
</table>
-
- </div>
+
+ </div>
</page:body>
</page:page>
\ No newline at end of file
Modified: lenya/trunk/src/modules-core/administration/usecases/passwordForm.jx
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules-core/administration/usecases/passwordForm.jx?rev=738135&r1=738134&r2=738135&view=diff
==============================================================================
--- lenya/trunk/src/modules-core/administration/usecases/passwordForm.jx (original)
+++ lenya/trunk/src/modules-core/administration/usecases/passwordForm.jx Tue Jan 27 16:32:15 2009
@@ -6,9 +6,9 @@
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -21,7 +21,7 @@
xmlns:i18n="http://apache.org/cocoon/i18n/2.1"
xmlns="http://www.w3.org/1999/xhtml"
name="">
-
+
<form id="form-change_password" action="${usecase.getSourceURL()}" method="post">
<input type="hidden" name="lenya.continuation" value="${continuation.id}"/>
<input type="hidden" name="lenya.usecase" value="${request.getParameter('lenya.usecase')}"/>
Modified: lenya/trunk/src/modules-core/administration/usecases/showPubConf.jx
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules-core/administration/usecases/showPubConf.jx?rev=738135&r1=738134&r2=738135&view=diff
==============================================================================
--- lenya/trunk/src/modules-core/administration/usecases/showPubConf.jx (original)
+++ lenya/trunk/src/modules-core/administration/usecases/showPubConf.jx Tue Jan 27 16:32:15 2009
@@ -6,9 +6,9 @@
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -30,7 +30,7 @@
<h1><i18n:text>show-pub-conf</i18n:text></h1>
<jx:set var="pub" value="${usecase.getParameter('publication')}"/>
-
+
<table class="lenya-table-noborder">
<tr>
<td colspan="2">
Modified: lenya/trunk/src/modules-core/administration/usecases/usecases.jx
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules-core/administration/usecases/usecases.jx?rev=738135&r1=738134&r2=738135&view=diff
==============================================================================
--- lenya/trunk/src/modules-core/administration/usecases/usecases.jx (original)
+++ lenya/trunk/src/modules-core/administration/usecases/usecases.jx Tue Jan 27 16:32:15 2009
@@ -40,7 +40,7 @@
If you want to change the inherited usecase permissions of a template publication, please go
to the administration GUI of the template
(
- <a href="${'/' + usecase.getParameter('template') + '/authoring/index.html?lenya.usecase=admin.usecases'}"><jx:out value="${usecase.getParameter('template')}"/></a>
+ <a href="${'/' + usecase.getParameter('template') + '/authoring/index.html?lenya.usecase=admin.usecases'}"><jx:out value="${usecase.getParameter('template')}"/></a>
).
</p>
</jx:if>
Modified: lenya/trunk/src/modules-core/administration/usecases/user.jx
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules-core/administration/usecases/user.jx?rev=738135&r1=738134&r2=738135&view=diff
==============================================================================
--- lenya/trunk/src/modules-core/administration/usecases/user.jx (original)
+++ lenya/trunk/src/modules-core/administration/usecases/user.jx Tue Jan 27 16:32:15 2009
@@ -6,9 +6,9 @@
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -27,8 +27,8 @@
<page:body>
<jx:import uri="fallback://lenya/modules/usecase/templates/tabs.jx"/>
<div id="contentblock1" class="lenya-tab">
- <h1><i18n:text>User Profile</i18n:text></h1>
-
+ <h1><i18n:text>User Profile</i18n:text></h1>
+
<jx:choose>
<jx:when test="${usecase.getParameter('user')}">
<jx:set var="user" value="${usecase.getParameter('user')}"/>
@@ -84,7 +84,7 @@
</form>
</td>
</tr>
-
+
<jx:if test="${user.canChangePassword() == 'true'}">
<tr>
<td/>
@@ -97,7 +97,7 @@
</td>
</tr>
</jx:if>
-
+
<tr>
<td class="lenya-entry-caption"><i18n:text>Groups</i18n:text>:</td>
<td>
@@ -149,7 +149,7 @@
</p>
</jx:otherwise>
</jx:choose>
-
+
</div>
</page:body>
</page:page>
Modified: lenya/trunk/src/modules-core/administration/usecases/userGroups.jx
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules-core/administration/usecases/userGroups.jx?rev=738135&r1=738134&r2=738135&view=diff
==============================================================================
--- lenya/trunk/src/modules-core/administration/usecases/userGroups.jx (original)
+++ lenya/trunk/src/modules-core/administration/usecases/userGroups.jx Tue Jan 27 16:32:15 2009
@@ -6,9 +6,9 @@
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -29,62 +29,62 @@
<div id="contentblock1" class="lenya-tab">
<h1><i18n:text>Group Affiliation</i18n:text></h1>
<form method="post" id="form-user_group_affiliation" action="${usecase.getSourceURL()}">
- <input type="hidden" name="lenya.continuation" value="${continuation.id}"/>
- <input type="hidden" name="lenya.usecase" value="${request.getParameter('lenya.usecase')}"/>
-
- <table class="lenya-table-noborder">
- <tr>
- <td colspan="2">
- <jx:import uri="fallback://lenya/modules/usecase/templates/messages.jx"/>
- </td>
- </tr>
- </table>
-
- <table class="lenya-table-noborder-nopadding">
- <tr>
- <td>
- <strong>
- <i18n:text>User Groups</i18n:text>
- </strong>
- </td>
- <td/>
- <td>
- <strong>
- <i18n:text>All Groups</i18n:text>
- </strong>
- </td>
- </tr>
- <tr>
- <td valign="middle">
- <select name="userGroup" size="15" class="lenya-form-element-narrow">
- <jx:forEach var="group" items="${usecase.getParameter('userGroups')}">
- <option value="${group}"><jx:out value="${group}"/></option>
- </jx:forEach>
- </select>
- </td>
- <td valign="middle">
- <input name="add" type="submit" value="<"/>
- <br/>
- <input name="remove" type="submit" value=">"/>
- </td>
- <td valign="middle">
- <select name="otherGroup" size="15" class="lenya-form-element-narrow">
- <jx:forEach var="otherGroup" items="${usecase.getParameter('otherGroups')}">
- <option value="${otherGroup}"><jx:out value="${otherGroup}"/></option>
- </jx:forEach>
- </select>
- </td>
- </tr>
- <tr>
- <td colspan="3" style="text-align: center">
- <br/>
- <input i18n:attr="value" type="submit" name="submit" value="Save"/>
- <input i18n:attr="value" type="submit" name="cancel" value="Cancel"/>
- </td>
- </tr>
- </table>
-
- </form>
+ <input type="hidden" name="lenya.continuation" value="${continuation.id}"/>
+ <input type="hidden" name="lenya.usecase" value="${request.getParameter('lenya.usecase')}"/>
+
+ <table class="lenya-table-noborder">
+ <tr>
+ <td colspan="2">
+ <jx:import uri="fallback://lenya/modules/usecase/templates/messages.jx"/>
+ </td>
+ </tr>
+ </table>
+
+ <table class="lenya-table-noborder-nopadding">
+ <tr>
+ <td>
+ <strong>
+ <i18n:text>User Groups</i18n:text>
+ </strong>
+ </td>
+ <td/>
+ <td>
+ <strong>
+ <i18n:text>All Groups</i18n:text>
+ </strong>
+ </td>
+ </tr>
+ <tr>
+ <td valign="middle">
+ <select name="userGroup" size="15" class="lenya-form-element-narrow">
+ <jx:forEach var="group" items="${usecase.getParameter('userGroups')}">
+ <option value="${group}"><jx:out value="${group}"/></option>
+ </jx:forEach>
+ </select>
+ </td>
+ <td valign="middle">
+ <input name="add" type="submit" value="<"/>
+ <br/>
+ <input name="remove" type="submit" value=">"/>
+ </td>
+ <td valign="middle">
+ <select name="otherGroup" size="15" class="lenya-form-element-narrow">
+ <jx:forEach var="otherGroup" items="${usecase.getParameter('otherGroups')}">
+ <option value="${otherGroup}"><jx:out value="${otherGroup}"/></option>
+ </jx:forEach>
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="3" style="text-align: center">
+ <br/>
+ <input i18n:attr="value" type="submit" name="submit" value="Save"/>
+ <input i18n:attr="value" type="submit" name="cancel" value="Cancel"/>
+ </td>
+ </tr>
+ </table>
+
+ </form>
</div>
</page:body>
</page:page>
\ No newline at end of file
Modified: lenya/trunk/src/modules-core/administration/usecases/userProfile.jx
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules-core/administration/usecases/userProfile.jx?rev=738135&r1=738134&r2=738135&view=diff
==============================================================================
--- lenya/trunk/src/modules-core/administration/usecases/userProfile.jx (original)
+++ lenya/trunk/src/modules-core/administration/usecases/userProfile.jx Tue Jan 27 16:32:15 2009
@@ -6,9 +6,9 @@
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -27,59 +27,59 @@
<page:body>
<jx:import uri="fallback://lenya/modules/usecase/templates/tabs.jx"/>
<div id="contentblock1" class="lenya-tab">
- <h1><i18n:text>Edit User Profile</i18n:text></h1>
-
+ <h1><i18n:text>Edit User Profile</i18n:text></h1>
+
<form id="form-edit_user_profile" action="${usecase.getSourceURL()}">
- <input type="hidden" name="lenya.continuation" value="${continuation.id}"/>
- <input type="hidden" name="lenya.usecase" value="${request.getParameter('lenya.usecase')}"/>
-
- <table class="lenya-table-noborder">
- <tr>
- <td colspan="2">
- <jx:import uri="fallback://lenya/modules/usecase/templates/messages.jx"/>
- </td>
- </tr>
- <tr>
- <td class="lenya-entry-caption"><i18n:text>User ID</i18n:text>:</td>
- <td><jx:out value="${usecase.getParameter('userId')}"/></td>
- </tr>
- <tr>
- <td class="lenya-entry-caption"><label for="name"><i18n:text>Name</i18n:text></label>:</td>
- <td><input type="text" name="fullName" class="lenya-form-element" value="${usecase.getParameter('fullName')}"/></td>
- </tr>
- <tr>
- <td valign="top" class="lenya-entry-caption"><label for="description"><i18n:text>Description</i18n:text>:</label></td>
- <td>
- <!-- N.B.: do not put spaces or carriage returns inside the
- textarea element - these would be rendered -->
- <textarea name="description" class="lenya-form-element"><jx:out value="${usecase.getParameter('description')}"/></textarea>
- </td>
- </tr>
-
- <tr>
- <td class="lenya-entry-caption"><label for="email"><i18n:text>E-Mail</i18n:text> *</label>:</td>
- <td><input type="text" name="email" class="lenya-form-element" value="${usecase.getParameter('email')}"/></td>
- </tr>
-
- <tr>
- <td class="lenya-entry-caption"><label for="defaultMenuLocale"><i18n:text>Default Menu Locale</i18n:text>:</label></td>
- <td><input type="text" name="defaultMenuLocale" class="lenya-form-element" value="${usecase.getParameter('defaultMenuLocale')}"/></td>
- </tr>
-
- <tr>
- <td class="lenya-entry-caption"><label for="defaultDocumentLocale"><i18n:text>Default Document Locale</i18n:text>:</label></td>
- <td><input type="text" name="defaultDocumentLocale" class="lenya-form-element" value="${usecase.getParameter('defaultDocumentLocale')}"/></td>
- </tr>
+ <input type="hidden" name="lenya.continuation" value="${continuation.id}"/>
+ <input type="hidden" name="lenya.usecase" value="${request.getParameter('lenya.usecase')}"/>
- <tr>
- <td/>
- <td>
- <input i18n:attr="value" type="submit" name="submit" value="Save"/>
- <input i18n:attr="value" type="submit" name="cancel" value="Cancel"/>
- </td>
- </tr>
- </table>
- </form>
+ <table class="lenya-table-noborder">
+ <tr>
+ <td colspan="2">
+ <jx:import uri="fallback://lenya/modules/usecase/templates/messages.jx"/>
+ </td>
+ </tr>
+ <tr>
+ <td class="lenya-entry-caption"><i18n:text>User ID</i18n:text>:</td>
+ <td><jx:out value="${usecase.getParameter('userId')}"/></td>
+ </tr>
+ <tr>
+ <td class="lenya-entry-caption"><label for="name"><i18n:text>Name</i18n:text></label>:</td>
+ <td><input type="text" name="fullName" class="lenya-form-element" value="${usecase.getParameter('fullName')}"/></td>
+ </tr>
+ <tr>
+ <td valign="top" class="lenya-entry-caption"><label for="description"><i18n:text>Description</i18n:text>:</label></td>
+ <td>
+ <!-- N.B.: do not put spaces or carriage returns inside the
+ textarea element - these would be rendered -->
+ <textarea name="description" class="lenya-form-element"><jx:out value="${usecase.getParameter('description')}"/></textarea>
+ </td>
+ </tr>
+
+ <tr>
+ <td class="lenya-entry-caption"><label for="email"><i18n:text>E-Mail</i18n:text> *</label>:</td>
+ <td><input type="text" name="email" class="lenya-form-element" value="${usecase.getParameter('email')}"/></td>
+ </tr>
+
+ <tr>
+ <td class="lenya-entry-caption"><label for="defaultMenuLocale"><i18n:text>Default Menu Locale</i18n:text>:</label></td>
+ <td><input type="text" name="defaultMenuLocale" class="lenya-form-element" value="${usecase.getParameter('defaultMenuLocale')}"/></td>
+ </tr>
+
+ <tr>
+ <td class="lenya-entry-caption"><label for="defaultDocumentLocale"><i18n:text>Default Document Locale</i18n:text>:</label></td>
+ <td><input type="text" name="defaultDocumentLocale" class="lenya-form-element" value="${usecase.getParameter('defaultDocumentLocale')}"/></td>
+ </tr>
+
+ <tr>
+ <td/>
+ <td>
+ <input i18n:attr="value" type="submit" name="submit" value="Save"/>
+ <input i18n:attr="value" type="submit" name="cancel" value="Cancel"/>
+ </td>
+ </tr>
+ </table>
+ </form>
</div>
</page:body>
</page:page>
Modified: lenya/trunk/src/modules-core/administration/usecases/users.jx
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules-core/administration/usecases/users.jx?rev=738135&r1=738134&r2=738135&view=diff
==============================================================================
--- lenya/trunk/src/modules-core/administration/usecases/users.jx (original)
+++ lenya/trunk/src/modules-core/administration/usecases/users.jx Tue Jan 27 16:32:15 2009
@@ -6,9 +6,9 @@
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -27,7 +27,7 @@
<div id="contentblock1" class="lenya-tab">
<h1><i18n:text>Users</i18n:text></h1>
-
+
<table class="lenya-table-noborder">
<tr>
<td colspan="2">
@@ -38,20 +38,20 @@
<div style="margin-bottom: 10px;">
<table class="lenya-table-noborder">
- <tr>
- <td style="padding: 0; margin: 0 10px 0 0;">
- <i18n:text>Add User</i18n:text>: 
- </td>
- <jx:forEach var="type" items="${usecase.getParameter('userTypes')}">
- <td style="padding: 0; margin: 0 10px 0 0;">
- <form method="get" id="form-add_user" action="${usecase.getSourceURL()}">
- <input type="hidden" name="lenya.usecase" value="${type.getCreateUseCase()}"/>
- <input type="hidden" name="className" value="${type.getClassName()}"/>
- <input type="hidden" name="userType" value="${type.getKey()}"/>
- <input i18n:attr="value" type="submit" value="${type.getKey()}" name="input-add_user"/>
- </form>
- </td>
- </jx:forEach>
+ <tr>
+ <td style="padding: 0; margin: 0 10px 0 0;">
+ <i18n:text>Add User</i18n:text>: 
+ </td>
+ <jx:forEach var="type" items="${usecase.getParameter('userTypes')}">
+ <td style="padding: 0; margin: 0 10px 0 0;">
+ <form method="get" id="form-add_user" action="${usecase.getSourceURL()}">
+ <input type="hidden" name="lenya.usecase" value="${type.getCreateUseCase()}"/>
+ <input type="hidden" name="className" value="${type.getClassName()}"/>
+ <input type="hidden" name="userType" value="${type.getKey()}"/>
+ <input i18n:attr="value" type="submit" value="${type.getKey()}" name="input-add_user"/>
+ </form>
+ </td>
+ </jx:forEach>
</tr>
</table>
</div>
@@ -97,7 +97,7 @@
</tr>
</jx:forEach>
</table>
-
- </div>
+
+ </div>
</page:body>
</page:page>
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.