cvs: peardoc /fr/package/authentication/auth intro.xml

From: Date: Sat, 22 Oct 2005 08:24:20 +0000
Subject: cvs: peardoc /fr/package/authentication/auth intro.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-7030@lists.php.net to get a copy of this message
moosh Sat Oct 22 04:24:20 2005 EDT Modified files: /peardoc/fr/package/authentication/auth intro.xml Log: - sync to EN-1.10 - translate http://cvs.php.net/diff.php/peardoc/fr/package/authentication/auth/intro.xml?r1=1.4&r2=1.5&ty=u Index: peardoc/fr/package/authentication/auth/intro.xml diff -u peardoc/fr/package/authentication/auth/intro.xml:1.4 peardoc/fr/package/authentication/auth/intro.xml:1.5 --- peardoc/fr/package/authentication/auth/intro.xml:1.4 Sat Oct 22 04:14:03 2005 +++ peardoc/fr/package/authentication/auth/intro.xml Sat Oct 22 04:24:19 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- EN-Revision: 1.9 Maintainer: moosh Status: start --> <refentry id="package.authentication.auth.intro"> <refnamediv> @@ -26,8 +26,7 @@ function loginFunction() { /* - * Change the HTML output so that it fits to your - * application. + * Changez la sortie HTML pour que cela s'intègre à votre application. */ echo "<form method=\"post\" action=\"test.php\">"; echo "<input type=\"text\" name=\"username\">"; @@ -86,16 +85,18 @@ The third parameter is the name of our function that we defined at the beginning of the script. - It prints the login form. + Cela affiche le formulaire d'authentification </para> <para> - Now our authentication object is initialized and we need to check - if the user is logged in. + Maintenant notre objet d'authentification est initialisé + et nous devons vérifier si l'utilisateur est déjà connecté. - This is done via the method + Ce que nous faisons avec <function>checkAuth</function>. - If it returns &true;, we can pass the content of our page to the user. + S'il retourne &true;, + Nous pouvons passer le contenu de votre page + à l'utilisateur. </para> <para> <warning> @@ -114,7 +115,7 @@ </para> </example> <example> - <title>Using optional authentication</title> + <title>Utilisation d'une authentification optionelle</title> <programlisting role="php"> <![CDATA[ // In this test, the file is named "test.php". @@ -179,6 +180,8 @@ if ($_GET['action'] == "logout" && $myauth->checkAuth()) { $myauth->logout(); } +$myauth->start(); + </programlisting> </example>

« previous php.pear.doc (#7030) next »