Advertisement
ratclma

form_template.xml file used by MT-Access driver

Aug 11th, 2014
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.08 KB | None | 0 0
  1. FORM_TEMPLATE.XML
  2.  
  3. <!--
  4. This is a sample template for use with the
  5. DirXML Manual Task Driver.
  6.  
  7. This template creates an HTML web page in which a user
  8. can enter approve or deny.
  9. -->
  10. <html xmlns:form="http://www.novell.com/dirxml/mtask/form">
  11. <head>
  12. <title>ACP Enable Request for $subject-name$</title>
  13. <style type="text/css">
  14. form.myform {text-align: left}
  15. table.formtable {align: center}
  16. </style>
  17. </head>
  18. <body>
  19. <img src="logo.gif" alt="Logo" width="265" height="110"/>
  20. <br/><br/><br/><br/>
  21. <link href="default.css" rel="stylesheet" type="text/css"/>
  22. <br/><br/><br/><br/>
  23. <table cellspacing="10" cellpadding="8" align="center" border="4">
  24. <tr>
  25. <td valign="top">
  26.  
  27. <form class="myform" METHOD="POST" ACTION="$url-base$/process_template.xsl">
  28. <table cellpadding="5" cellspacing="10" border="1" align="center">
  29. <input TYPE="hidden" name="template" value="access/post_modify_template.xml"/>
  30. <input TYPE="hidden" name="response-template" value="post_response_template.xml"/>
  31. <input TYPE="hidden" name="auth-template" value="post_invalid_auth_template.xml"/>
  32. <input TYPE="hidden" name="subject-name" value="$subject-name$"/>
  33. <input TYPE="hidden" name="association" value="$association$"/>
  34. <input TYPE="hidden" name="protected-data" value="$protected-data$"/>
  35. <input TYPE="hidden" name="responder-dn" value="$responder-dn$"/>
  36. <tr><td>
  37. ACP WorkSpace request for $subject-name$
  38. </td></tr>
  39. <tr><td>
  40. Enter your password: <br/><input name="password" TYPE="password" SIZE="20" MAXLENGTH="40"/>
  41. </td></tr>
  42. <tr><td>
  43. Select the appropriate radio button in order to approve/deny this request:<br/>
  44. <input TYPE="radio" NAME="allowAccess" SIZE="20" MAXLENGTH="20" checked="on" value="True"/>Approve<br/>
  45. <input TYPE="radio" NAME="allowAccess" SIZE="20" MAXLENGTH="20" value="False"/>Deny
  46. </td></tr>
  47. <tr><td>
  48. <input TYPE="submit" value="Submit"/> <input TYPE="reset" value="Clear"/>
  49. </td></tr>
  50. </table>
  51. </form>
  52.  
  53. </td>
  54. </tr>
  55. </table>
  56. </body>
  57. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement