| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| 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. |
| --> |
| <document |
| xmlns:jx="http://apache.org/cocoon/templates/jx/1.0" |
| xmlns:i18n="http://apache.org/cocoon/i18n/2.1" |
| > |
| |
| <header> |
| <title><i18n:text i18n:catalogue="local">person.title</i18n:text></title> |
| <authors> |
| <person name="Jeremy Quinn" email="jeremy@apache.org"/> |
| </authors> |
| <subtitle>A person in the Addressbook</subtitle> |
| <abstract>LDAP Entry</abstract> |
| </header> |
| |
| <body> |
| <section> |
| <title><i18n:text i18n:catalogue="local">person.title</i18n:text></title> |
| <jx:choose> |
| <jx:when test="${person!=null}"> |
| <p><i18n:text i18n:catalogue="local">department.title</i18n:text>: <b><a href="people.html?dn=ou=${person.dept}"><i18n:text i18n:catalogue="local">ou=${person.dept}</i18n:text></a></b></p> |
| <table class="person"> |
| <tr valign="top"> |
| <th><i18n:text i18n:catalogue="local">field.fullname</i18n:text></th> |
| <td><b>${person.firstname} ${person.lastname}</b></td> |
| <td class="plain">${person.uid}</td> |
| </tr> |
| <tr valign="top"> |
| <th><i18n:text i18n:catalogue="local">field.email</i18n:text></th> |
| <td><a href="mailto:${person.email}">${person.email}</a></td> |
| </tr> |
| <tr valign="top"> |
| <th><i18n:text i18n:catalogue="local">field.address</i18n:text></th> |
| <td> |
| ${person.deptName}<br /> |
| ${person.address1}<br /> |
| ${person.address2}<br /> |
| ${person.address3}<br /> |
| ${person.postcode} |
| </td> |
| </tr> |
| <tr valign="top"> |
| <th><i18n:text i18n:catalogue="local">field.ophone</i18n:text></th> |
| <td>${person.ophone}</td> |
| </tr> |
| <tr valign="top"> |
| <th><i18n:text i18n:catalogue="local">field.fphone</i18n:text></th> |
| <td>${person.fphone}</td> |
| </tr> |
| <tr valign="top"> |
| <th><i18n:text i18n:catalogue="local">field.mphone</i18n:text></th> |
| <td>${person.mphone}</td> |
| </tr> |
| <tr valign="top"> |
| <th><i18n:text i18n:catalogue="local">field.hphone</i18n:text></th> |
| <td>${person.hphone}</td> |
| </tr> |
| <tr valign="top"> |
| <th><i18n:text i18n:catalogue="local">field.pager</i18n:text></th> |
| <td>${person.pager}</td> |
| </tr> |
| </table> |
| </jx:when> |
| <jx:otherwise> |
| <i18n:text i18n:catalogue="local">person.none</i18n:text> |
| </jx:otherwise> |
| </jx:choose> |
| <p> |
| <a href="updateperson.html?dn=${person.uid}"><i18n:text i18n:catalogue="local">update.person.title</i18n:text></a> |
| | |
| <a href="delete.html?dn=${person.uid}"><i18n:text i18n:catalogue="local">delete.person.title</i18n:text></a> |
| </p> |
| </section> |
| </body> |
| </document> |