Skip to content

Commit efa6ba4

Browse files
author
rbowen
committed
Rebuild
git-svn-id: http://svn.apache.org/repos/asf/httpd/httpd/trunk@1602703 13f79535-47bb-0310-9956-ffa450edef68
1 parent 4d45b2b commit efa6ba4

File tree

6 files changed

+25
-29
lines changed

6 files changed

+25
-29
lines changed

docs/manual/howto/ssi.html.en

Lines changed: 19 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -435,36 +435,30 @@ modified?</a></h3>
435435
the ``truth'' of a particular value. (A given string is true if
436436
it is nonempty.) For a full list of the comparison operators
437437
available to you, see the <code class="module"><a href="../mod/mod_include.html">mod_include</a></code>
438-
documentation. Here are some examples of how one might use this
439-
construct.</p>
438+
documentation.</p>
439+
440+
<p>For example, if you wish to customize the text on your web page
441+
based on the time of day, you could use the following recipe, placed
442+
in the HTML page:</p>
440443

441-
<p>In your configuration file, you could put the following
442-
line:</p>
443-
<pre class="prettyprint lang-config"> BrowserMatchNoCase macintosh Mac<br />
444-
BrowserMatchNoCase MSIE InternetExplorer</pre>
445-
446-
447-
<p>This will set environment variables ``Mac'' and
448-
``InternetExplorer'' to true, if the client is running Internet
449-
Explorer on a Macintosh.</p>
450-
451-
<p>Then, in your SSI-enabled document, you might do the
452-
following:</p>
453-
<div class="example"><p><code>
454-
&lt;!--#if expr="-T reqenv('Mac') &amp;&amp;
455-
-T reqenv('InternetExplorer')" --&gt;<br />
456-
Apologetic text goes here<br />
457-
&lt;!--#else --&gt;<br />
458-
Cool JavaScript code goes here<br />
459-
&lt;!--#endif --&gt;
460-
</code></p></div>
444+
<div class="example"><p><code>
445+
Good
446+
&lt;!--#if expr="%{TIME_HOUR} &gt;=12" --&gt;<br />
447+
morning!<br />
448+
&lt;!--#else --&gt;<br />
449+
afternoon!<br />
450+
&lt;!--#endif --&gt;<br />
451+
</code></p></div>
461452

462453
<p>Any other variable (either ones that you define, or normal
463454
environment variables) can be used in conditional statements.
464-
With Apache's ability to set environment variables with the
455+
See <a href="../expr.html">Expressions in Apache HTTP Server</a> for
456+
more information on the expression evaluation engine.</p>
457+
458+
<p>With Apache's ability to set environment variables with the
465459
<code>SetEnvIf</code> directives, and other related directives,
466-
this functionality can let you do some pretty involved dynamic
467-
stuff without ever resorting to CGI.</p>
460+
this functionality can let you do a wide variety of dynamic content
461+
on the server side without resorting a full web application.</p>
468462

469463
</div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
470464
<div class="section">

docs/manual/howto/ssi.html.fr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
<a href="../ja/howto/ssi.html" hreflang="ja" rel="alternate" title="Japanese">&nbsp;ja&nbsp;</a> |
2929
<a href="../ko/howto/ssi.html" hreflang="ko" rel="alternate" title="Korean">&nbsp;ko&nbsp;</a></p>
3030
</div>
31+
<div class="outofdate">Cette traduction peut être périmée. Vérifiez la version
32+
anglaise pour les changements récents.</div>
3133

3234
<p>Les SSI permettent d'ajouter du contenu dynamique à des documents
3335
HTML préexistants.</p>

docs/manual/howto/ssi.xml.fr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="ISO-8859-1" ?>
22
<!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
33
<?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
4-
<!-- English Revision : 1440751 -->
4+
<!-- English Revision: 1440751:1602702 (outdated) -->
55
<!-- French translation : Lucien GENTIS -->
66
<!-- Reviewed by : Vincent Deffontaines -->
77

docs/manual/howto/ssi.xml.ja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8" ?>
22
<!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
33
<?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?>
4-
<!-- English Revision: 659902:1440751 (outdated) -->
4+
<!-- English Revision: 659902:1602702 (outdated) -->
55

66
<!--
77
Licensed to the Apache Software Foundation (ASF) under one or more

docs/manual/howto/ssi.xml.ko

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version='1.0' encoding='EUC-KR' ?>
22
<!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
33
<?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
4-
<!-- English Revision: 659902:1440751 (outdated) -->
4+
<!-- English Revision: 659902:1602702 (outdated) -->
55

66
<!--
77
Licensed to the Apache Software Foundation (ASF) under one or more

docs/manual/howto/ssi.xml.meta

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<variants>
1010
<variant>en</variant>
11-
<variant>fr</variant>
11+
<variant outdated="yes">fr</variant>
1212
<variant outdated="yes">ja</variant>
1313
<variant outdated="yes">ko</variant>
1414
</variants>

0 commit comments

Comments
 (0)