Installation guide

Table Of Contents
Entry-Related Directives
Appendix B Gateway Directives 117
<!-- DS_SAVEBUTTON "checksubmit=formDataValid()" -->
DS_EDITASBUTTON
Displays a button which, when clicked, allows editing of an entry using a non-default
template. This directive must appear within a
DS_ENTRYBEGIN... DS_ENTRYEND block.
Arguments
label=text. Use text as the label on the button. If not provided, the text Edit As is used.
template=template-name. Use the template name
template-name when editing.
Example
A button to bring up edit-passwd.html template:
<!-- DS_EDITASBUTTON "label=Change Password" "template=passwd" -->
DS_NEWPASSWORD
Displays an HTML password INPUT field. This directive must appear within a
DS_ENTRYBEGIN...DS_ENTRYEND block.
Arguments
None.
DS_CONFIRM_NEWPASSWORD
Displays an HTML password INPUT field. The gateway compares the value supplied by
the user in this field to the value in the
DS_NEWPASSWORD field and saves only the new
password value if the two match. This directive must appear within a
DS_ENTRYBEGIN...DS_ENTRYEND block.
Arguments
None.