Nejedná se o heslo, ale o přezdívku. Zapomně jsem to uvést. Jedná se o jazykovou proměnnou ze souboru
*/languages/en/ucp.php:
Kód: Vybrat vše
'USERNAME_ALPHA_ONLY_EXPLAIN' => 'Username must be between %1$d and %2$d chars long and use only alphanumeric characters.',
'USERNAME_ALPHA_SPACERS_EXPLAIN'=> 'Username must be between %1$d and %2$d chars long and use alphanumeric, space or -+_[] characters.',
'USERNAME_ASCII_EXPLAIN' => 'Username must be between %1$d and %2$d chars long and use only ASCII characters, so no special symbols.',
'USERNAME_LETTER_NUM_EXPLAIN' => 'Username must be between %1$d and %2$d chars long and use only letter or number characters.',
'USERNAME_LETTER_NUM_SPACERS_EXPLAIN'=> 'Username must be between %1$d and %2$d chars long and use letter, number, space or -+_[] characters.',
Z toho to chápu takto:
Lze použít pouze ASCII znaky
Kód: Vybrat vše
'USERNAME_ASCII_EXPLAIN' => 'Username must be between %1$d and %2$d chars long and use only ASCII characters, so no special symbols.',
V překladu by to znamenalo, že lze použít pouze písmena či čísla, ale registrace mi povolí písmena i čísla
Kód: Vybrat vše
'USERNAME_LETTER_NUM_EXPLAIN' => 'Username must be between %1$d and %2$d chars long and use only letter or number characters.',
Stejné jako předchozí, pouze lze použít i mezeru a uvedené znaky
Kód: Vybrat vše
'USERNAME_LETTER_NUM_SPACERS_EXPLAIN'=> 'Username must be between %1$d and %2$d chars long and use letter, number, space or -+_[] characters.',
Ale u těchto dvou opravdu nevím, co si představit pod pojmem
alfanumerické znaky jelikož strýček
Google mi prozradil, že se jedná o písmena a čísla:
Kód: Vybrat vše
'USERNAME_ALPHA_ONLY_EXPLAIN' => 'Username must be between %1$d and %2$d chars long and use only alphanumeric characters.',
'USERNAME_ALPHA_SPACERS_EXPLAIN'=> 'Username must be between %1$d and %2$d chars long and use alphanumeric, space or -+_[] characters.',
U hesla je to popsané takto:
Kód: Vybrat vše
'PASS_TYPE_ALPHA_EXPLAIN' => 'Password must be between %1$d and %2$d characters long, must contain letters in mixed case and must contain numbers.',