none
[openafs-wiki.git] / TWiki / TWikiVariables.mdwn
index 4d2b587..e929469 100644 (file)
@@ -7,21 +7,33 @@ TWiki expands the following variables enclosed in % percent signs:
   </tr>
   <tr>
     <td><code>%WIKIHOMEURL%</code></td>
-    <td> The base script URL of TWiki, link of Home icon in upper left corner is <b>%WIKIHOMEURL%</b></td>
+    <td> The base script URL of TWiki, link of Home icon in upper left corner, is <b>%WIKIHOMEURL%</b></td>
   </tr>
   <tr>
     <td><code>%SCRIPTURL%</code></td>
-    <td> The base script URL of TWiki, is <b>http://www.dementia.org/twiki/</b></td>
+    <td> The script URL of TWiki, is <b>http://www.dementia.org/twiki/</b></td>
+  </tr>
+  <tr>
+    <td><code>%SCRIPTURLPATH%</code></td>
+    <td> The path of the script URL of TWiki, is <b>http://www.dementia.org/twiki/</b></td>
   </tr>
   <tr>
     <td><code>%PUBURL%</code></td>
-    <td> The base public URL of TWiki, is <b>http://www.dementia.org/twiki//view</b></td>
+    <td> The public URL of TWiki, is <b>http://www.dementia.org/twiki//view</b></td>
+  </tr>
+  <tr>
+    <td><code>%PUBURLPATH%</code></td>
+    <td> The path of the public URL of TWiki, is <b>http://www.dementia.org/twiki//view</b></td>
   </tr>
   <tr>
     <td><code>%ATTACHURL%</code></td>
     <td> The attachment URL of the current topic, is <b>http://www.dementia.org/twiki//view</b><br /> Example: If you attach a file you can refer to it as <code><b>%ATTACHURL%/image.gif</b></code></td>
   </tr>
   <tr>
+    <td><code>%ATTACHURLPATH%</code></td>
+    <td> The path of the attachment URL of the current topic, is <b>http://www.dementia.org/twiki//view</b></td>
+  </tr>
+  <tr>
     <td><code>%WIKITOOLNAME%</code></td>
     <td> Name of wiki tool, is <b>%WIKITOOLNAME%</b></td>
   </tr>
@@ -47,7 +59,27 @@ TWiki expands the following variables enclosed in % percent signs:
   </tr>
   <tr>
     <td><code>%DATE%</code></td>
-    <td> Todays date, is <b>29 Jun 2010</b></td>
+    <td> Todays date (local server time), is <b>29 Jun 2010</b></td>
+  </tr>
+  <tr>
+    <td><code>%GMTIME%</code></td>
+    <td> Todays date (GM time), is <b>29 Jun 2010 - 15:24</b></td>
+  </tr>
+  <tr>
+    <td><code>%HTTP_HOST%</code></td>
+    <td> HTTP_HOST environment variable, is <b></b></td>
+  </tr>
+  <tr>
+    <td><code>%REMOTE_ADDR%</code></td>
+    <td> REMOTE_ADDR environment variable, is <b></b></td>
+  </tr>
+  <tr>
+    <td><code>%REMOTE_PORT%</code></td>
+    <td> REMOTE_PORT environment variable, is <b></b></td>
+  </tr>
+  <tr>
+    <td><code>%REMOTE_USER%</code></td>
+    <td> REMOTE_USER environment variable, is <b></b></td>
   </tr>
   <tr>
     <td><code>%INCLUDE{"file.ext"}%</code></td>
@@ -143,4 +175,11 @@ Additional variables are defined in the preferences ( site-level ( **_SL_** ) in
     <td><strong><em>SL</em></strong> , <strong><em>UL</em></strong></td>
     <td> Vertical size of edit box, is <b> <code>%EDITBOXHEIGHT%</code> </b></td>
   </tr>
+  <tr>
+    <td><code>%ATTACHLINKBOX%</code></td>
+    <td><strong><em>SL</em></strong> , <strong><em>UL</em></strong></td>
+    <td> Default state of the link check box in the attach file page. Check box is initially checked if value is set to <code>CHECKED</code> , unchecked if empty. If checked, a link is created to the attached file at the end of the topic. Value is: <b><code>%ATTACHLINKBOX%</code></b></td>
+  </tr>
 </table>
+
+-- [[PeterThoeny]] - 29 May 2000 <br />