home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Spezial
/
SPEZIAL2_97.zip
/
SPEZIAL2_97.iso
/
ANWEND
/
ONLINE
/
SREFV12J
/
CONFIGS.ZIP
/
addcust.cnf
< prev
next >
Wrap
Text File
|
1996-12-30
|
2KB
|
57 lines
<h1>Add a custom REPLACEment variable</h1>
<b>REPLACE</b>ment variables are used in
<!-- REPLACE label --> server side includes. They allow
you to easily define short messages to be included in a variety
of documents.
<p>
<FORM ACTION="/srefconf" METHOD="GET">
<input type="hidden" name="SET" value="add_custom">
<LI>Enter the REPLACE</b>ment variable <em>label</em>:<INPUT TYPE="text" NAME="variable"
VALUE="" SIZE=20 MAXLENGTH=20>
<LI>Enter the <em>replacement</em>:<INPUT TYPE="text" NAME="value"
VALUE="" SIZE=60 MAXLENGTH=100>
</ul>
<BR><INPUT TYPE="submit" VALUE="Add this Entry">
</FORM>
$CANCEL
<hr>
<h2> Notes </h2>
The <b>REPLACE</b>ment variables are used by SRE-Filter's
<!-- REPLACE label --> server side include facility. They are
a convenient means of specifying short strings to be included in
your various HTML documents.
<ul>
<LI> The <em>replacement</em> should be a one-line string (of arbitrary length),
<LI> The label should be a single word (with <b>no</b> embedded spaces).
<LI> When a <em>label</em> is found in a <!-- REPLACE label --> keyphrase,
it is replaced by the the corresponding <em>replacement</em>.
<p>
<LI> The <b>REPLACE</b>ment variables are stored in: $replace_file
</ul>
<h3>Examples</h3>
<dl>
<dt> PHONEME Contact Joe at 202-222-1515 for more information!
<dd> <menu><li>When a <!-- REPLACE PHONEME--> element occurs in your HTML
document file, it is replaced by:
<LI> Contact Joe at 202-222-15151 for more information!</menu>
<dt>TODAY_MESSAGE <!-- INCLUDE MESSAGE.C30 -->
<dd> This replaces a <!-- REPLACE TODAY_MESSAGE--> keyphrase with a
<!-- INCLUDE MESSAGE.C30 --> keyphrase. Since SRE-Filter processes
server side includes recursively, the net effect is to <b>include</b>
<code>MESSAGE.C30</code> in the document.<br>
</dl>