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 >
Text File  |  1996-12-30  |  2KB  |  57 lines

  1.  
  2. <h1>Add a custom REPLACEment variable</h1>
  3.  
  4. <b>REPLACE</b>ment variables are used in 
  5. <!-- REPLACE label --> server side includes. They allow
  6. you to easily define short messages to be included in a variety
  7. of documents.
  8.  
  9. <p>
  10. <FORM ACTION="/srefconf" METHOD="GET">
  11. <input type="hidden" name="SET" value="add_custom">
  12.  
  13. <LI>Enter the REPLACE</b>ment variable <em>label</em>:<INPUT TYPE="text" NAME="variable"
  14.  VALUE=""  SIZE=20 MAXLENGTH=20>
  15. <LI>Enter the <em>replacement</em>:<INPUT TYPE="text" NAME="value"
  16.  VALUE=""  SIZE=60 MAXLENGTH=100>
  17. </ul>
  18.  
  19.  
  20. <BR><INPUT TYPE="submit" VALUE="Add this Entry">
  21.  
  22.  
  23. </FORM>
  24.  
  25. $CANCEL
  26.  
  27. <hr>
  28.  
  29. <h2> Notes </h2>
  30.  The <b>REPLACE</b>ment variables  are used by SRE-Filter's
  31. <!-- REPLACE label --> server side include facility.  They are
  32. a convenient means of specifying short strings to be included in
  33. your various HTML documents.
  34. <ul>
  35. <LI> The <em>replacement</em>  should be a one-line string (of arbitrary length),
  36. <LI> The label should be a single word (with <b>no</b> embedded spaces).
  37. <LI> When a <em>label</em> is found in a  <!-- REPLACE label --> keyphrase,
  38. it is replaced by the the corresponding <em>replacement</em>.
  39. <p>
  40. <LI> The <b>REPLACE</b>ment variables are stored in: $replace_file
  41. </ul>
  42.  
  43. <h3>Examples</h3>
  44. <dl>
  45. <dt>    PHONEME  Contact Joe at 202-222-1515 for more information!
  46. <dd>  <menu><li>When a <!-- REPLACE PHONEME--> element occurs in your HTML
  47. document file, it is replaced by:
  48. <LI>  Contact Joe  at 202-222-15151 for more information!</menu>
  49.  
  50. <dt>TODAY_MESSAGE  <!-- INCLUDE MESSAGE.C30 -->
  51. <dd> This replaces a <!-- REPLACE  TODAY_MESSAGE--> keyphrase with a
  52. <!-- INCLUDE MESSAGE.C30 --> keyphrase. Since SRE-Filter processes
  53. server side includes recursively, the net effect is to <b>include</b>
  54. <code>MESSAGE.C30</code> in the document.<br>
  55. </dl>
  56.  
  57.