display-orgperson.html 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532
  1. <!-- --- BEGIN COPYRIGHT BLOCK ---
  2. This Program is free software; you can redistribute it and/or modify it under
  3. the terms of the GNU General Public License as published by the Free Software
  4. Foundation; version 2 of the License.
  5. This Program is distributed in the hope that it will be useful, but WITHOUT
  6. ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
  7. FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  8. You should have received a copy of the GNU General Public License along with
  9. this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
  10. Place, Suite 330, Boston, MA 02111-1307 USA.
  11. In addition, as a special exception, Red Hat, Inc. gives You the additional
  12. right to link the code of this Program with code not covered under the GNU
  13. General Public License ("Non-GPL Code") and to distribute linked combinations
  14. including the two, subject to the limitations in this paragraph. Non-GPL Code
  15. permitted under this exception must only link to the code of this Program
  16. through those well defined interfaces identified in the file named EXCEPTION
  17. found in the source code files (the "Approved Interfaces"). The files of
  18. Non-GPL Code may instantiate templates or use macros or inline functions from
  19. the Approved Interfaces without causing the resulting work to be covered by
  20. the GNU General Public License. Only Red Hat, Inc. may make changes or
  21. additions to the list of Approved Interfaces. You must obey the GNU General
  22. Public License in all respects for all of the Program code and other code used
  23. in conjunction with the Program except the Non-GPL Code covered by this
  24. exception. If you modify this file, you may extend this exception to your
  25. version of the file, but you are not obligated to do so. If you do not wish to
  26. provide this exception without modification, you must delete this exception
  27. statement from your version and license this file solely under the GPL without
  28. exception.
  29. Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
  30. Copyright (C) 2005 Red Hat, Inc.
  31. All rights reserved.
  32. --- END COPYRIGHT BLOCK --- -->
  33. <HTML>
  34. <!-- HEAD -->
  35. <!-- inet. organizational person directory entry -->
  36. <!-- DS_OBJECTCLASS "value=person,inetOrgPerson" -->
  37. <!-- DS_ENTRYBEGIN -->
  38. <TITLE>
  39. <!-- IF "Adding" -->
  40. New
  41. <!-- ENDIF // Adding -->
  42. Person Entry -
  43. <!-- DS_ATTRIBUTE "attr=dn" "syntax=dn" "options=nolink" -->
  44. </TITLE>
  45. <SCRIPT LANGUAGE="JavaScript">
  46. <!-- Hide from non-JavaScript-capable browsers
  47. function showVCard()
  48. {
  49. <!-- DS_ATTRIBUTE "attr=_vcard" "options=link" "mimetype=text/x-vcard" "prefix=var cardurl=" "suffix=";" -->
  50. document.location.href = cardurl;
  51. }
  52. function showAimIcon()
  53. {
  54. var aimStatusText = "";
  55. var aimID = "";
  56. <!-- IF "DisplayAimPresence" -->
  57. aimStatusText =
  58. <!-- DS_ATTRIBUTE "attr=nsaimstatustext" "options=quoted" -->
  59. ;
  60. aimID =
  61. <!-- DS_ATTRIBUTE "attr=nsaimid" "options=quoted" -->
  62. ;
  63. <!-- ENDIF -->
  64. if (aimStatusText == "" || aimID == "" || aimStatusText != "ONLINE") {
  65. return;
  66. }
  67. document.write('<a href=\"aim:goim?Screenname=' + aimID.replace(/ /,"+") + '\"><IMG SRC=\"lang?<!-- GCONTEXT -->&file=aim-online.gif\" ALT=\"Click to send an AIM to this person\" BORDER=0 HSPACE=5></a>');
  68. }
  69. // End hiding -->
  70. </SCRIPT>
  71. <LINK REL=stylesheet TYPE="text/css" HREF="/clients/dsgw/bin/lang?<!-- GCONTEXT -->&file=style.css">
  72. </HEAD>
  73. <!-- IF "!Displaying" -->
  74. <body bgcolor="#FFFFFF" marginheight=0 marginwidth=0 leftmargin="0" topmargin="0" rightmargin="0">
  75. <table width="100%" class="bgColor1" cellspacing="0" cellpadding="0" border="0">
  76. <tr width="100%" class="bgColor1">
  77. <TD valign="top" class="bgColor1"><IMG src="/clients/dsgw/bin/lang?<!-- GCONTEXT -->&file=clear.gif" width="10" height="45" border="0"></TD>
  78. <TD valign="middle" align="left" class="text15" width="100%">Person Entry</td>
  79. </tr>
  80. </table>
  81. <table cellspacing="0" cellpadding="0">
  82. <tr>
  83. <td><IMG src="/clients/dsgw/bin/lang?<!-- GCONTEXT -->&file=clear.gif" width="1" height="10" border="0"></td>
  84. </tr>
  85. </table>
  86. <!-- ELSE -->
  87. <body bgcolor="#FFFFFF">
  88. <!-- ENDIF -->
  89. <div class="text22">
  90. <!-- DS_LAST_OP_INFO -->
  91. </div>
  92. <!-- DS_BEGIN_ENTRYFORM -->
  93. <TABLE><TR>
  94. <TD>
  95. <!-- DS_ATTRIBUTE "attr=jpegPhoto" "type=hidden" "options=typeonly" -->
  96. <!-- IF "AttributeHasValues" "jpegPhoto" -->
  97. <IMG SRC=
  98. <!-- DS_ATTRIBUTE "attr=jpegPhoto" "options=link" "mimetype=image/jpeg" -->
  99. BORDER=0></TD>
  100. <TD>
  101. <!-- ENDIF -->
  102. <A HREF="javascript:showVCard()">
  103. <IMG SRC="lang?<!-- GCONTEXT -->&file=person.gif" ALT="Person (click to show card)"
  104. BORDER=0 HSPACE=5></A>
  105. </TD>
  106. <!-- IF "DisplayOrgChart" -->
  107. <TD>
  108. <A HREF=
  109. <!-- DS_ORGCHARTLINK -->
  110. >
  111. <IMG SRC="lang?<!-- GCONTEXT -->&file=orgicon.gif" BORDER=0 ALT="Click to display organization chart" HSPACE=5></a>
  112. </TD>
  113. <!-- ENDIF -->
  114. <TD class="boldbig">
  115. <!-- IF "Adding" -->
  116. New Person -
  117. <!-- ENDIF // Adding -->
  118. <!-- DS_ATTRIBUTE "attr=dn" "syntax=dn" "dncomponents=2" "options=nolink" -->
  119. </TD></TR></TABLE>
  120. <!-- DS_ATTRIBUTE "attr=userCertificate;binary" "type=hidden" "options=typeonly" -->
  121. <!-- IF "AttributeHasValues" "userCertificate;binary" -->
  122. <A HREF=
  123. <!-- DS_ATTRIBUTE "attr=userCertificate;binary" "options=link" "mimetype=application/x-x509-email-cert" -->
  124. >Download Certificate</A>
  125. <!-- ENDIF -->
  126. <!-- DS_ATTRIBUTE "attr=audio" "type=hidden" "options=typeonly" -->
  127. <!-- IF "AttributeHasValues" "audio" -->
  128. &nbsp;&nbsp;
  129. <A HREF=
  130. <!-- DS_ATTRIBUTE "attr=audio" "options=link" "mimetype=audio/basic" -->
  131. >Play Audio Clip</A>
  132. <!-- ENDIF -->
  133. <TABLE><TR><TD>
  134. <!-- IF "Displaying" -->
  135. <INPUT TYPE="button" VALUE="Show Card" onClick="showVCard()">
  136. </TD><TD>&nbsp;&nbsp;</TD><TD>
  137. <!-- DS_EDITBUTTON "label=Edit Person" -->
  138. <!-- ELIF "Adding" -->
  139. <!-- DS_SAVEBUTTON "label=Save New Person" -->
  140. <!-- ELIF "Editing" -->
  141. <!-- DS_SAVEBUTTON -->
  142. <!-- ENDIF // Editing -->
  143. </TD><TD>&nbsp;&nbsp;</TD><TD>
  144. <!-- IF "!Displaying" -->
  145. <!-- DS_CLOSEBUTTON "label=Cancel" -->
  146. <!-- ENDIF // !Displaying -->
  147. </TD><TD>&nbsp;&nbsp;</TD><TD>
  148. <!-- IF "Editing" -->
  149. <!-- DS_HELPBUTTON "topic=EDIT_ORGPERSON" -->
  150. <!-- ELIF "Adding" -->
  151. <!-- DS_HELPBUTTON "topic=ADD_ORGPERSON" -->
  152. <!-- ENDIF // Adding -->
  153. </TD>
  154. <!-- IF "Editing" -->
  155. <TD>&nbsp;&nbsp;</TD><TD>
  156. <!-- DS_EDITASBUTTON "label=Change Password" "template=passwd" -->
  157. </TD><TD>
  158. <!-- DS_RENAMEBUTTON "label=Rename Person" "prompt=Enter a new name for this person:" -->
  159. </TD><TD>
  160. <!-- DS_DELETEBUTTON "label=Delete Person" "prompt=Delete this person?" -->
  161. </TD>
  162. <!-- ENDIF // Editing -->
  163. </TR></TABLE>
  164. <!-- IF "Adding" -->
  165. <INPUT TYPE="hidden" NAME="add_objectClass" VALUE="top">
  166. <INPUT TYPE="hidden" NAME="add_objectClass" VALUE="person">
  167. <INPUT TYPE="hidden" NAME="add_objectClass" VALUE="organizationalPerson">
  168. <INPUT TYPE="hidden" NAME="add_objectClass" VALUE="inetOrgPerson">
  169. <INPUT TYPE="hidden" NAME="add_objectClass" VALUE="nsaimpresence">
  170. <!-- ENDIF // Adding -->
  171. <!-- PCONTEXT -->
  172. <INPUT TYPE="hidden" NAME="quiet" VALUE="true">
  173. <!-- DS_STD_COMPLETION_JS -->
  174. <!-- IF "!Displaying" -->
  175. <div class="text22"><B>&nbsp; * Indicates a required field<BR></B></div>
  176. <!-- ENDIF -->
  177. <TABLE CELLSPACING="2" BGCOLOR=#FFFFFF WIDTH=95%>
  178. <TR>
  179. <TH COLSPAN=4 align=left>
  180. Contact Information
  181. </TH>
  182. </TR>
  183. <TR>
  184. <TD VALIGN="top" NOWRAP
  185. <!-- IF "Displaying" -->
  186. class="bold"
  187. <!-- ENDIF -->
  188. >First Name:</TD>
  189. <TD VALIGN="top" NOWRAP>
  190. <!-- DS_ATTRIBUTE "attr=givenName" "cols=>16" -->
  191. </TD>
  192. <TD VALIGN="top" NOWRAP
  193. <!-- IF "Displaying" -->
  194. class="bold"
  195. <!-- ENDIF -->
  196. >Common Name:
  197. <!-- IF "!Displaying" -->
  198. <B>*</B>
  199. <!-- ENDIF -->
  200. </TD>
  201. <TD VALIGN="top" NOWRAP>
  202. <!-- DS_ATTRIBUTE "attr=cn" "numfields=+1" "cols=>23" -->
  203. </TD></TR>
  204. <TR>
  205. <TD VALIGN="top" NOWRAP
  206. <!-- IF "Displaying" -->
  207. class="bold"
  208. <!-- ENDIF -->
  209. >Last Name:
  210. <!-- IF "!Displaying" -->
  211. <B>*</B>
  212. <!-- ENDIF -->
  213. </TD>
  214. <TD VALIGN="top" NOWRAP>
  215. <!-- DS_ATTRIBUTE "attr=sn" "cols=>16" -->
  216. </TD>
  217. <TD VALIGN="TOP" NOWRAP
  218. <!-- IF "Displaying" -->
  219. class="bold"
  220. <!-- ENDIF -->
  221. >E-Mail Address:</TD>
  222. <TD VALIGN="TOP" NOWRAP>
  223. <!-- DS_ATTRIBUTE "attr=mail" "syntax=mail" "cols=>23" -->
  224. </TD>
  225. </TR>
  226. <!-- IF "Adding" -->
  227. <TR>
  228. <TD>Password:</TD><TD>
  229. <!-- DS_NEWPASSWORD "cols=>16" -->
  230. </TD>
  231. <TD> Repeat password to confirm:</TD><TD>
  232. <!-- DS_CONFIRM_NEWPASSWORD "cols=>16" -->
  233. </TD></TR>
  234. <!-- ENDIF // Adding -->
  235. <TR>
  236. <TD VALIGN="TOP"
  237. <!-- IF "Displaying" -->
  238. class="bold"
  239. <!-- ENDIF -->
  240. >Phone:</TD>
  241. <TD VALIGN="TOP" NOWRAP>
  242. <!-- DS_ATTRIBUTE "attr=telephoneNumber" "syntax=tel" "cols=>16" "numfields=+1" -->
  243. </TD>
  244. <TD VALIGN="TOP"
  245. <!-- IF "Displaying" -->
  246. class="bold"
  247. <!-- ENDIF -->
  248. >AIM ID:</TD>
  249. <TD VALIGN="TOP" NOWRAP>
  250. <!-- DS_ATTRIBUTE "attr=nsaimid" "cols=>16" -->
  251. <!-- IF "DisplayAimPresence" -->
  252. <SCRIPT LANGUAGE="JavaScript">
  253. <!-- Hide from non-JavaScript-capable browsers
  254. showAimIcon();
  255. // End hiding -->
  256. </SCRIPT>
  257. <!-- ENDIF -->
  258. </TD>
  259. </TR>
  260. <TR>
  261. <TD VALIGN="TOP"
  262. <!-- IF "Displaying" -->
  263. class="bold"
  264. <!-- ENDIF -->
  265. >Fax:</TD>
  266. <TD VALIGN="TOP" NOWRAP>
  267. <!-- DS_ATTRIBUTE "attr=facsimiletelephonenumber" "syntax=tel" "cols=>16" -->
  268. </TD>
  269. <TD VALIGN="TOP" NOWRAP
  270. <!-- IF "Displaying" -->
  271. class="bold"
  272. <!-- ENDIF -->
  273. >User ID:</TD>
  274. <TD VALIGN="TOP" NOWRAP>
  275. <!-- DS_ATTRIBUTE "attr=uid" "cols=>16" "options=unique" -->
  276. </TD></TR>
  277. <INPUT TYPE="hidden" NAME="desc_uid" VALUE="user id">
  278. <!-- PCONTEXT -->
  279. <TR>
  280. <TD VALIGN="TOP" NOWRAP
  281. <!-- IF "Displaying" -->
  282. class="bold"
  283. <!-- ENDIF -->
  284. >Pager:</TD>
  285. <TD VALIGN="TOP" NOWRAP>
  286. <!-- DS_ATTRIBUTE "attr=pager" "syntax=tel" "cols=>16" -->
  287. </TD>
  288. <TD VALIGN="TOP" NOWRAP
  289. <!-- IF "Displaying" -->
  290. class="bold"
  291. <!-- ENDIF -->
  292. >Mobile Phone:<TD VALIGN="TOP" NOWRAP>
  293. <!-- DS_ATTRIBUTE "attr=mobile" "syntax=tel" "cols=>16" -->
  294. </TD></TR>
  295. </TABLE>
  296. <TABLE CELLSPACING="2" BGCOLOR=#FFFFFF WIDTH=95%>
  297. <TR>
  298. <TH align=left COLSPAN=4>
  299. Business and Location Information</TH>
  300. </TR>
  301. <TR>
  302. <TD VALIGN="TOP"
  303. <!-- IF "Displaying" -->
  304. class="bold"
  305. <!-- ENDIF -->
  306. >Business Category:</TD>
  307. <TD VALIGN="TOP" NOWRAP>
  308. <!-- DS_ATTRIBUTE "attr=businesscategory" -->
  309. </TD>
  310. <TD VALIGN="TOP"
  311. <!-- IF "Displaying" -->
  312. class="bold"
  313. <!-- ENDIF -->
  314. >Title:</TD>
  315. <TD VALIGN="TOP" NOWRAP>
  316. <!-- DS_ATTRIBUTE "attr=title" -->
  317. </TD></TR>
  318. <TR>
  319. <TD VALIGN="TOP"
  320. <!-- IF "Displaying" -->
  321. class="bold"
  322. <!-- ENDIF -->
  323. >Organizational Unit:</TD>
  324. <TD VALIGN="TOP" NOWRAP>
  325. <!-- DS_ATTRIBUTE "attr=ou" -->
  326. </TD>
  327. <TD VALIGN="TOP"
  328. <!-- IF "Displaying" -->
  329. class="bold"
  330. <!-- ENDIF -->
  331. >Manager:<BR>
  332. <!-- IF "!Adding" -->
  333. <!-- DS_DNEDITBUTTON "label=Edit..." "template=dneditpeople" "attr=manager" "desc=Manager" -->
  334. <!-- ENDIF // !Adding -->
  335. </TD>
  336. <!-- IF "Adding" -->
  337. <TD VALIGN="TOP" ROWSPAN=2>
  338. <I>You must save this entry before you can edit these fields.</I>
  339. <!-- ELSE // !Adding -->
  340. <TD VALIGN="TOP" NOWRAP>
  341. <!-- DS_ATTRIBUTE "attr=manager" "syntax=dn" "options=readonly" -->
  342. <!-- ENDIF // !Adding -->
  343. </TD></TR>
  344. <TR>
  345. <TD VALIGN="TOP"
  346. <!-- IF "Displaying" -->
  347. class="bold"
  348. <!-- ENDIF -->
  349. >Room Number:</TD>
  350. <TD VALIGN="TOP" NOWRAP">
  351. <!-- DS_ATTRIBUTE "attr=roomNumber" "cols=>8" -->
  352. </TD>
  353. <TD VALIGN="TOP"
  354. <!-- IF "Displaying" -->
  355. class="bold"
  356. <!-- ENDIF -->
  357. >Admin.:<BR>
  358. <!-- IF "!Adding" -->
  359. <!-- DS_DNEDITBUTTON "label=Edit..." "template=dneditpeople" "attr=secretary" "desc=Admin." -->
  360. <!-- ENDIF // !Adding -->
  361. </TD>
  362. <!-- IF "!Adding" -->
  363. <TD VALIGN="TOP" NOWRAP>
  364. <!-- DS_ATTRIBUTE "attr=secretary" "syntax=dn" "options=readonly" -->
  365. </TD>
  366. <!-- ENDIF // !Adding -->
  367. </TR>
  368. <TR>
  369. <TD VALIGN="TOP"
  370. <!-- IF "Displaying" -->
  371. class="bold"
  372. <!-- ENDIF -->
  373. >Dept#:</TD>
  374. <TD VALIGN="TOP">
  375. <!-- DS_ATTRIBUTE "attr=departmentnumber" "cols=>8" -->
  376. </TD>
  377. <TD VALIGN="TOP"
  378. <!-- IF "Displaying" -->
  379. class="bold"
  380. <!-- ENDIF -->
  381. >Emp#:</TD>
  382. <TD VALIGN="TOP">
  383. <!-- DS_ATTRIBUTE "attr=employeenumber" "cols=>6" -->
  384. </TD></TR>
  385. <TR>
  386. <TD VALIGN="TOP"
  387. <!-- IF "Displaying" -->
  388. class="bold"
  389. <!-- ENDIF -->
  390. >Car License#:</TD>
  391. <TD VALIGN="TOP">
  392. <!-- DS_ATTRIBUTE "attr=carlicense" "cols=>8" -->
  393. </TD>
  394. <!-- Note: need to include two cells that contain a non-breaking space
  395. character so table background colors, etc. are rendered correctly -->
  396. <TD>&nbsp;&nbsp;</TD>
  397. <TD>&nbsp;&nbsp;</TD>
  398. </TR>
  399. <TR>
  400. <TD VALIGN="TOP"
  401. <!-- IF "Displaying" -->
  402. class="bold"
  403. <!-- ENDIF -->
  404. >Mailing Address:</TD>
  405. <TD VALIGN="TOP" COLSPAN="3" NOWRAP>
  406. <!-- DS_ATTRIBUTE "attr=postalAddress" "syntax=mls" "type=TEXTAREA" "cols=>40" "rows=>4" -->
  407. </TD></TR>
  408. </TABLE>
  409. <TABLE CELLSPACING="2" BGCOLOR=#FFFFFF WIDTH=95%>
  410. <TR>
  411. <TH align=left COLSPAN=2>
  412. Additional Information</TH>
  413. </TR>
  414. <TR>
  415. <TD VALIGN="TOP"
  416. <!-- IF "Displaying" -->
  417. class="bold"
  418. <!-- ENDIF -->
  419. >Description:</TD>
  420. <TD VALIGN="TOP" NOWRAP>
  421. <!-- DS_ATTRIBUTE "attr=description" "cols=>50" -->
  422. </TR>
  423. <TR>
  424. <TD VALIGN="TOP"
  425. <!-- IF "Displaying" -->
  426. class="bold"
  427. <!-- ENDIF -->
  428. >See Also:<BR>
  429. <!-- IF "!Adding" -->
  430. <!-- DS_DNEDITBUTTON "label=Edit..." "template=dnedit" "attr=seeAlso" "desc=See Also" -->
  431. <!-- ENDIF // !Adding -->
  432. </TD>
  433. <TD VALIGN="TOP" NOWRAP>
  434. <!-- IF "Adding" -->
  435. <I>You must save this entry before you can edit this field.</I>
  436. <!-- ELSE // !Adding -->
  437. <!-- DS_ATTRIBUTE "attr=seeAlso" "syntax=dn" "options=readonly" -->
  438. <!-- ENDIF // !Adding -->
  439. </TD></TR>
  440. <TR>
  441. <TD VALIGN="TOP"
  442. <!-- IF "Displaying" -->
  443. class="bold"
  444. <!-- ENDIF -->
  445. >URL:</TD>
  446. <TD VALIGN="TOP" NOWRAP>
  447. <!-- DS_ATTRIBUTE "attr=labeledURI" "syntax=url" "cols=>50" "options=sort" -->
  448. </TR>
  449. <!-- The following attribute should only be uncommented if you have
  450. a need to allow editing of the x500UniqueIdentifier attribute.
  451. Most installations will not need this functionality.
  452. <TR>
  453. <TD VALIGN="TOP"
  454. <!-- IF "Displaying" -->
  455. class="bold"
  456. <!-- ENDIF -->
  457. >Unique ID:</TD>
  458. <TD VALIGN="TOP" NOWRAP>
  459. <!-- DS_ATTRIBUTE "attr=x500uniqueidentifier" "cols=>50" -->
  460. </TR>
  461. -->
  462. <tr><td colspan="2" class="bgColor9">&nbsp;</td></tr>
  463. </TABLE>
  464. <!-- IF "!Adding" -->
  465. <div class="text22">
  466. &nbsp; This entry was last modified on <B>
  467. <!-- DS_ATTRIBUTE "attr=modifyTimestamp" "syntax=time" "defaultvalue=N/A" "options=readonly" -->
  468. </B> by <B>
  469. <!-- DS_ATTRIBUTE "attr=modifiersName" "syntax=dn" "defaultvalue=N/A" "options=readonly" -->
  470. </B>
  471. </div>
  472. <!-- ENDIF // !Adding -->
  473. <!-- DS_END_ENTRYFORM -->
  474. <!-- DS_ENTRYEND -->
  475. <!-- ENDHTML -->