| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| 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 |
| |
| 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. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <%-- Groups List --%> |
| |
| <table class="back-table" border="0" cellspacing="0" cellpadding="1" |
| width="100%"><tr><td> |
| |
| <table class="front-table" border="1" |
| cellspacing="0" cellpadding="0" width="100%"> |
| <tr class="header-row"> |
| <logic:present name="checkboxes"> |
| <th scope="col" width="5%"><div align="left" class="table-header-text"> |
| |
| </th> |
| </logic:present> |
| <th scope="col" width="20%"><div align="left" class="table-header-text"> |
| <bean:message key="users.list.groupname"/> |
| </div></th> |
| <th scope="col"><div align="left" class="table-header-text"> |
| <bean:message key="users.list.description"/> |
| </div></th> |
| </tr> |
| <logic:present name="groupsForm"> |
| <logic:iterate name="groupsForm" property="groups" |
| id="group" type="java.lang.String"> |
| <tr class="line-row"> |
| <logic:present name="checkboxes"> |
| <td scope="row"><div align="center" class="table-normal-text"> |
| <logic:present name="userForm"> |
| <label for="groups"></label> |
| <html:multibox property="groups" value='<%= group %>' styleId="groups"/> |
| </logic:present> |
| <logic:notPresent name="userForm"> |
| <label for="groups"></label> |
| <input type="checkbox" name="groups" |
| value='<%= group %>' styleId="groups"> |
| </logic:notPresent> |
| </td> |
| </logic:present> |
| <td scope="row"><div align="left" class="table-normal-text"> |
| <html:link page='<%= "/users/setUpGroup.do?objectName=" + |
| URLEncoder.encode(group,"UTF-8") + |
| "&databaseName=" + |
| URLEncoder.encode(request.getParameter("databaseName"),"UTF-8") %>'> |
| <controls:attribute name="group" attribute="groupname"/> |
| </html:link> |
| </div></td> |
| <td scope="row"><div align="left" class="table-normal-text"> |
| <controls:attribute name="group" attribute="description"/> |
| </div></td> |
| </tr> |
| </logic:iterate> |
| </logic:present> |
| </table> |
| |
| </td></tr></table> |