]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/fr/web.texi
Merge remote-tracking branch 'origin/translation'
[lilypond.git] / Documentation / fr / web.texi
index 57f6d734fdfe396815488494534f1ddcbb40fd8d..f9352743fe360f03a085376f75499bdaf1ff81a6 100644 (file)
@@ -1,6 +1,6 @@
 \input texinfo @c -*- coding: utf-8; mode: texinfo; documentlanguage: fr -*-
 @ignore
-    Translation of GIT committish: 04a1f20da162cd0fec86bddbd14f167a695da480
+    Translation of GIT committish: 2f50167dc8769e690b985c3b92cabdc35a725344
 
     When revising a translation, copy the HEAD committish of the
     version that you are working on.  For details, see the Contributors'
@@ -15,7 +15,7 @@
 
 @c `Web' was imported 2009-08-05 with git commit b938d71...
 @c @macro copyrightDeclare
-@c Copyright @copyright{} 2009--2012 par les auteurs.
+@c Copyright @copyright{} 2009--2014 par les auteurs.
 @c @end macro
 
 @set FDL
@@ -37,7 +37,7 @@
 @c Translators checkers: Jean-Charles Malahieude
 
 @copying
-Copyright @copyright{} 2009--2012 par les auteurs.
+Copyright @copyright{} 2009--2014 par les auteurs.
 
 @c next line is necessary for broken pre-4.13 texinfo's
 @c install-info, so leave it there until we officially
@@ -148,6 +148,48 @@ Plus sur LilyPond dans notre @ref{Introduction} !
 @divEnd
 
 
+@ifclear web_version
+  @c do nothing
+@end ifclear
+@ifset web_version
+  @c make the box:
+@divId{wildCardBox}
+@subheading DĂ©pĂȘches
+@divId{wildCardText}
+
+@divEnd
+@divEnd
+@end ifset
+
+@html
+
+<script language="JavaScript" type="text/javascript">
+  function loadXMLDoc(dname)
+    {
+      if (window.XMLHttpRequest)
+        {
+          xhttp=new XMLHttpRequest();
+        }
+      else
+        {
+          xhttp=new ActiveXObject("Microsoft.XMLHTTP");
+        }
+      xhttp.open("GET",dname,false);
+      xhttp.send();
+      return xhttp.responseXML;
+    }
+
+  var xmlDoc = loadXMLDoc("tweets.xml");
+  var tweets = xmlDoc.getElementsByTagName("tweet");
+  var index = Math.floor(Math.random() * tweets.length);
+  var tweet = tweets[index];
+  var text = tweet.childNodes[0];
+  document.getElementById("wildCardText").innerHTML = text.nodeValue;
+</script>
+
+@end html
+
+
 @ifclear web_version
   @c do nothing
 @end ifclear