svn: /phpdoc/es/trunk/reference/strings/functions/ crypt.xml md5.xml sha1.xml sprintf.xml
| From: | Juan Pablo Berdejo | Date: | Mon, 18 Jul 2011 15:49:40 +0000 |
| Subject: | svn: /phpdoc/es/trunk/reference/strings/functions/ crypt.xml md5.xml sha1.xml sprintf.xml | ||
| Groups: | php.doc.es | ||
| Request: | Send a blank email to doc-es+get-4604@lists.php.net to get a copy of this message | ||
jpberdejo Mon, 18 Jul 2011 15:49:40 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=313393
Log:
English version update
Changed paths:
U phpdoc/es/trunk/reference/strings/functions/crypt.xml
U phpdoc/es/trunk/reference/strings/functions/md5.xml
U phpdoc/es/trunk/reference/strings/functions/sha1.xml
U phpdoc/es/trunk/reference/strings/functions/sprintf.xml
Modified: phpdoc/es/trunk/reference/strings/functions/crypt.xml
===================================================================
--- phpdoc/es/trunk/reference/strings/functions/crypt.xml 2011-07-18 15:44:59 UTC (rev 313392)
+++ phpdoc/es/trunk/reference/strings/functions/crypt.xml 2011-07-18 15:49:40 UTC (rev 313393)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 312628 Maintainer: jpberdejo Status: ready -->
+<!-- EN-Revision: 313299 Maintainer: jpberdejo Status: ready -->
<refentry xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://docbook.org/ns/docbook"
xml:id="function.crypt">
<refnamediv>
<refname>crypt</refname>
@@ -67,7 +67,7 @@
<listitem>
<simpara>
<constant>CRYPT_BLOWFISH</constant> - Hash Blowfish con un salt como sigue:
- "$2a$", un parámetro de costo de dos dígitos, "$" y 22 dígitos del
alfabeto en base64
+ "$2a$", un parámetro de costo de dos dígitos, "$" y 22 dígitos del
alfabeto
"./0-9A-Za-z". Utilizar caracteres fuera de este rango en el salt causará que
crypt()
devuelva un string de longitud cero. Los dos dígitos del parámetro de costo es el logaritmo
en base-2 del
conteo de iteración para el algoritmetro hash subyacente basado en Blowfish y debe estar en
el
Modified: phpdoc/es/trunk/reference/strings/functions/md5.xml
===================================================================
--- phpdoc/es/trunk/reference/strings/functions/md5.xml 2011-07-18 15:44:59 UTC (rev 313392)
+++ phpdoc/es/trunk/reference/strings/functions/md5.xml 2011-07-18 15:49:40 UTC (rev 313393)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: jpberdejo Status: ready -->
+<!-- EN-Revision: 313306 Maintainer: jpberdejo Status: ready -->
<refentry xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://docbook.org/ns/docbook"
xml:id="function.md5">
<refnamediv>
<refname>md5</refname>
@@ -97,6 +97,11 @@
</example>
</para>
</refsect1>
+
+ <refsect1 role="notes">
+ &reftitle.notes;
+ ¬e.passwordhashing;
+ </refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
Modified: phpdoc/es/trunk/reference/strings/functions/sha1.xml
===================================================================
--- phpdoc/es/trunk/reference/strings/functions/sha1.xml 2011-07-18 15:44:59 UTC (rev 313392)
+++ phpdoc/es/trunk/reference/strings/functions/sha1.xml 2011-07-18 15:49:40 UTC (rev 313393)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: jpberdejo Status: ready -->
+<!-- EN-Revision: 313306 Maintainer: jpberdejo Status: ready -->
<refentry xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://docbook.org/ns/docbook"
xml:id="function.sha1">
<refnamediv>
<refname>sha1</refname>
@@ -97,6 +97,11 @@
</example>
</para>
</refsect1>
+
+ <refsect1 role="notes">
+ &reftitle.notes;
+ ¬e.passwordhashing;
+ </refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
Modified: phpdoc/es/trunk/reference/strings/functions/sprintf.xml
===================================================================
--- phpdoc/es/trunk/reference/strings/functions/sprintf.xml 2011-07-18 15:44:59 UTC (rev 313392)
+++ phpdoc/es/trunk/reference/strings/functions/sprintf.xml 2011-07-18 15:49:40 UTC (rev 313393)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 309965 Maintainer: jpberdejo Status: ready -->
+<!-- EN-Revision: 313279 Maintainer: jpberdejo Status: ready -->
<refentry xmlns="http://docbook.org/ns/docbook"
xml:id="function.sprintf">
<refnamediv>
<refname>sprintf</refname>
@@ -224,6 +224,27 @@
]]>
</programlisting>
</example>
+ Cuando se utiliza intercambio de argumentos, el <emphasis>especificador de
posición</emphasis>
+ <literal>n$</literal> debe venir inmediatamente
+ después del signo de porcentaje (<literal>%</literal>), antes de cualquier otro
+ especificador, tal como se muestra en el ejemplo siguiente.
+ <example>
+ <title>Especificador de posición con otros especificadores</title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+$format= 'The %2$s contains %1$04d monkeys';
+printf($format, $num, $location);
+?>
+]]>
+ </programlisting>
+ &example.outputs;
+ <screen>
+<![CDATA[
+The tree contains 0005 monkeys
+]]>
+ </screen>
+ </example>
</para>
</listitem>
</varlistentry>