]> granicus.if.org Git - apache/commitdiff
Build HTML
authorRich Bowen <rbowen@apache.org>
Sun, 15 Jun 2014 15:23:50 +0000 (15:23 +0000)
committerRich Bowen <rbowen@apache.org>
Sun, 15 Jun 2014 15:23:50 +0000 (15:23 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1602706 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/howto/ssi.html.en
docs/manual/howto/ssi.html.fr
docs/manual/howto/ssi.xml.fr
docs/manual/howto/ssi.xml.ja
docs/manual/howto/ssi.xml.ko
docs/manual/howto/ssi.xml.meta

index 4c2626738cbca0051e3a728cbd7d0014189f1525..ead2cddedee05e8353920dd6ab5d449f9fe0f454 100644 (file)
@@ -435,36 +435,30 @@ modified?</a></h3>
     the ``truth'' of a particular value. (A given string is true if
     it is nonempty.) For a full list of the comparison operators
     available to you, see the <code class="module"><a href="../mod/mod_include.html">mod_include</a></code>
-    documentation. Here are some examples of how one might use this
-    construct.</p>
+    documentation.</p>
+   
+    <p>For example, if you wish to customize the text on your web page
+    based on the time of day, you could use the following recipe, placed
+    in the HTML page:</p>
 
-    <p>In your configuration file, you could put the following
-    line:</p>
-<pre class="prettyprint lang-config">        BrowserMatchNoCase macintosh Mac<br />
-        BrowserMatchNoCase MSIE InternetExplorer</pre>
-
-
-    <p>This will set environment variables ``Mac'' and
-    ``InternetExplorer'' to true, if the client is running Internet
-    Explorer on a Macintosh.</p>
-
-    <p>Then, in your SSI-enabled document, you might do the
-    following:</p>
-<div class="example"><p><code>
-        &lt;!--#if expr="-T reqenv('Mac') &amp;&amp;
-                         -T reqenv('InternetExplorer')" --&gt;<br />
-        Apologetic text goes here<br />
-        &lt;!--#else --&gt;<br />
-        Cool JavaScript code goes here<br />
-        &lt;!--#endif --&gt;
-</code></p></div>
+    <div class="example"><p><code>
+    Good
+    &lt;!--#if expr="%{TIME_HOUR} &gt;=12" --&gt;<br />
+    morning!<br />
+    &lt;!--#else --&gt;<br />
+    afternoon!<br />
+    &lt;!--#endif --&gt;<br />
+    </code></p></div>
 
     <p>Any other variable (either ones that you define, or normal
     environment variables) can be used in conditional statements.
-    With Apache's ability to set environment variables with the
+    See <a href="../expr.html">Expressions in Apache HTTP Server</a> for
+    more information on the expression evaluation engine.</p>
+
+    <p>With Apache's ability to set environment variables with the
     <code>SetEnvIf</code> directives, and other related directives,
-    this functionality can let you do some pretty involved dynamic
-    stuff without ever resorting to CGI.</p>
+    this functionality can let you do a wide variety of dynamic content
+    on the server side without resorting a full web application.</p>
 
 </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
 <div class="section">
index 02ceb65339af609779b53c0d54ccf2fab9fa612a..dbf643104c1b0f0034bec0ab187595973df08d30 100644 (file)
@@ -28,6 +28,8 @@
 <a href="../ja/howto/ssi.html" hreflang="ja" rel="alternate" title="Japanese">&nbsp;ja&nbsp;</a> |
 <a href="../ko/howto/ssi.html" hreflang="ko" rel="alternate" title="Korean">&nbsp;ko&nbsp;</a></p>
 </div>
+<div class="outofdate">Cette traduction peut être périmée. Vérifiez la version
+            anglaise pour les changements récents.</div>
 
 <p>Les SSI permettent d'ajouter du contenu dynamique à des documents
 HTML préexistants.</p>
index 41055386a6b81ea1ef93c7c7dc8a9828166a1708..68b97a6c8fb9de9a999d40af2d10aac516df479f 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="ISO-8859-1" ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
-<!-- English Revision : 1440754 -->
+<!-- English Revision: 1440754:1602705 (outdated) -->
 <!-- French translation : Lucien GENTIS -->
 <!-- Reviewed by : Vincent Deffontaines -->
 
index 1b63b1c87df2a7c91dd4ecb238b08a9f59472ba9..4d59e66ccc62ca0b47b7c72c962932dd428a1bb9 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?>
-<!-- English Revision: 659902:1440754 (outdated) -->
+<!-- English Revision: 659902:1602705 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 04b43bf5618c7b01ba350091b50a390f1a2c0013..9202163dabcd7e76dc73cb5d135992809575350d 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='EUC-KR' ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
-<!-- English Revision: 659902:1440754 (outdated) -->
+<!-- English Revision: 659902:1602705 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 0d8deb802c38f150156d34339ef19d927cf41150..1c020635eb5d849c17e027dedfbc2d0ce5bed1d7 100644 (file)
@@ -8,7 +8,7 @@
 
   <variants>
     <variant>en</variant>
-    <variant>fr</variant>
+    <variant outdated="yes">fr</variant>
     <variant outdated="yes">ja</variant>
     <variant outdated="yes">ko</variant>
   </variants>