Red Hat DIRECTORY SERVER 7.1 - GATEWAY CUSTOMIZATION Guida di Installazione Pagina 107

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 132
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 106
Entry-Related Directives
Appendix B Gateway Directives 115
DS_SORTENTRIES
Specifies that entries should be sorted; typically used within list templates. This directive
must appear within a
DS_ENTRYBEGIN...DS_ENTRYEND block. Up to two
DS_SORTENTRIES directives are honored (the attribute from the first one that appears is
used as the primary sort key, and the second one is used as a secondary sort key).
Arguments
attr=attrname. Sort the entries in ascending order by attrname.
Example
To sort a list of entries by common name:
<!-- DS_SORTENTRIES "attr=cn" -->
DS_SEARCHDESC
Specifies that text describing the type of search done should be displayed. For example,
“Found 14 entries where the phone number ends with '25.'
Arguments
None.
DS_POSTEDVALUE
Echoes the contents of an arbitrary posted form variable within a VALUE= parameter.
Arguments
name=varname. The name of the form variable.
Example
If a variable called searchstring is posted and contains the text John Doe, the directive
<!-- DS_POSTED_VALUE "name=searchstring" -->
will produce the following
HTML: VALUE="John Doe"
Vedere la pagina 106
1 2 ... 102 103 104 105 106 107 108 109 110 111 112 ... 131 132

Commenti su questo manuale

Nessun commento