Справочник Пользователя для Red Hat Version4.1

Скачать
Страница из 156
Entry-Related Directives
102 Netscape Directory Server Gateway Customization Guide
Examples
<!-- DS_SAVEBUTTON "label=Save Changes" -->
<!-- DS_SAVEBUTTON "checksubmit=formDataValid()" -->
DS_EDITASBUTTON
Description
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_ENTRY_END 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
Description
Displays an HTML password INPUT field. This directive must appear within a 
DS_ENTRYBEGIN...DS_ENTRY_END block. 
Arguments
None.