- Timestamp:
- Jan 14, 2012, 4:02:02 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/themes/default/template/install.tpl
r12885 r12886 286 286 <label> 287 287 <input type="checkbox" name="send_password_by_mail" checked="checked"> 288 {'Send my passwordby email'|@translate}288 {'Send my connection settings by email'|@translate} 289 289 </label> 290 290 </td> -
trunk/admin/themes/default/template/user_list.tpl
r12877 r12886 14 14 {/if} 15 15 <label>{'Email address'|@translate} <input type="text" name="email"></label> 16 <label>{'Send connection settings by email'|@translate} <input type="checkbox" name="send_password_by_mail" value="1" checked="checked"></label> 16 17 <label> <input class="submit" type="submit" name="submit_add" value="{'Submit'|@translate}"></label> 17 18 </fieldset> -
trunk/admin/user_list.php
r12877 r12886 241 241 } 242 242 } 243 } 244 245 // email notification 246 if ( 247 isset($_POST['submit_add']) 248 and count($page['errors']) == 0 249 and !empty($_POST['email']) 250 and isset($_POST['send_password_by_mail']) 251 ) 252 { 253 include_once(PHPWG_ROOT_PATH.'include/functions_mail.inc.php'); 254 255 $keyargs_content = array( 256 get_l10n_args('Hello %s,', $_POST['login']), 257 get_l10n_args('Thank you for registering at %s!', $conf['gallery_title']), 258 get_l10n_args('', ''), 259 get_l10n_args('Here are your connection settings', ''), 260 get_l10n_args('Username: %s', $_POST['login']), 261 get_l10n_args('Password: %s', $_POST['password']), 262 get_l10n_args('Email: %s', $_POST['email']), 263 get_l10n_args('', ''), 264 get_l10n_args('If you think you\'ve received this email in error, please contact us at %s', get_webmaster_mail_address()), 265 ); 266 267 pwg_mail( 268 $_POST['email'], 269 array( 270 'subject' => '['.$conf['gallery_title'].'] '.l10n('Registration'), 271 'content' => l10n_args($keyargs_content), 272 'content_format' => 'text/plain', 273 ) 274 ); 243 275 } 244 276 -
trunk/install.php
r12885 r12886 470 470 get_l10n_args('Welcome to your new installation of Piwigo!', ''), 471 471 get_l10n_args('', ''), 472 get_l10n_args('Here is your password: %s', $admin_pass1), 472 get_l10n_args('Here are your connection settings', ''), 473 get_l10n_args('Username: %s', $admin_name), 474 get_l10n_args('Password: %s', $admin_pass1), 475 get_l10n_args('Email: %s', $admin_mail), 473 476 get_l10n_args('', ''), 474 477 get_l10n_args('Don\'t hesitate to consult our forums for any help: %s', PHPWG_URL), … … 478 481 $admin_mail, 479 482 array( 480 'subject' => 'Just another Piwigo gallery',483 'subject' => l10n('Just another Piwigo gallery'), 481 484 'content' => l10n_args($keyargs_content), 482 485 'content_format' => 'text/plain', -
trunk/language/en_UK/admin.lang.php
r12879 r12886 647 647 $lang['Send mail on HTML format'] = "Send mail in HTML format"; 648 648 $lang['Send mail to users'] = "Send mail to users"; 649 $lang['Send connection settings by email'] = 'Send connection settings by email'; 649 650 $lang['Send'] = "Send"; 650 651 $lang['Set as default language for unregistered and new users'] = 'Set as default language for unregistered and new users'; -
trunk/language/en_UK/common.lang.php
r12885 r12886 308 308 $lang['searched words : %s'] = "searched words : %s"; 309 309 $lang['Sent by'] = "Sent by"; 310 $lang['Send my password by email'] = 'Send my passwordby email';310 $lang['Send my connection settings by email'] = 'Send my connection settings by email'; 311 311 $lang['set as album representative'] = "set as album thumbnail"; 312 312 $lang['Show file metadata'] = "Show file metadata"; … … 319 319 $lang['Sort by'] = "Sort by"; 320 320 $lang['Sort order'] = "Sort order"; 321 $lang['Successfully registered, an email with your password has been sent to you. Welcome!'] = 'Successfully registered, an email with your password has been sent to you. Welcome!';321 $lang['Successfully registered, you will soon receive an email with your connection settings. Welcome!'] = 'Successfully registered, you will soon receive an email with your connection settings. Welcome!'; 322 322 $lang['Specials'] = "Specials"; 323 323 $lang['SQL queries in'] = "SQL queries in"; … … 377 377 $lang['original'] = "Original"; 378 378 $lang['Thank you for registering at %s!'] = 'Thank you for registering at %s!'; 379 $lang['Here is your password: %s'] = 'Here is your password: %s'; 379 $lang['Here are your connection settings'] = 'Here are your connection settings'; 380 $lang['Password: %s'] = 'Password: %s'; 381 $lang['Username: %s'] = 'Username: %s'; 382 $lang['Email: %s'] = 'Email: %s'; 380 383 $lang['If you think you\'ve received this email in error, please contact us at %s'] = 'If you think you\'ve received this email in error, please contact us at %s'; 381 384 -
trunk/language/fr_CA/admin.lang.php
r12879 r12886 844 844 $lang['An error has occured during upgrade.'] = 'Une erreur est survenue pendant la mise à jour.'; 845 845 $lang['An error has occured during extract. Please check files permissions of your piwigo installation.<br><a href="%s">Click here to show log error</a>.'] = 'Impossible d\'extraire les fichiers. Veuillez vérifier les permissions des fichiers de votre installation.<br><a href="%s">Cliquez ici pour voir le rapport d\'erreur</a>.'; 846 $lang['Piwigo cannot retrieve upgrade file from server'] = 'Piwigo ne peut pas récupérer le fichier de mise à jour depuis le serveur'; 846 $lang['Piwigo cannot retrieve upgrade file from server'] = 'Piwigo ne peut pas récupérer le fichier de mise à jour depuis le serveur'; 847 $lang['Send connection settings by email'] = 'Envoyer les identifiants par email'; 848 847 849 ?> -
trunk/language/fr_CA/common.lang.php
r12885 r12886 370 370 $lang['Hello %s,'] = 'Bonjour %s,'; 371 371 $lang['Thank you for registering at %s!'] = 'Merci pour votre inscription sur %s !'; 372 $lang['Here is your password: %s'] = 'Votre mot de passe est : %s'; 372 $lang['Here are your connection settings'] = 'Voici vos identifiants'; 373 $lang['Password: %s'] = 'Mot de passe : %s'; 374 $lang['Username: %s'] = 'Nom d\'utilisateur : %s'; 375 $lang['Email: %s'] = 'Email: %s'; 373 376 $lang['If you think you\'ve received this email in error, please contact us at %s'] = 'Si vous pensez avoir reçu cet email par erreur, veuillez nous contacter %s'; 374 $lang['Successfully registered, an email with your password has been sent to you. Welcome!'] = 'Inscription réussie, un email avec votre mot de passe vient de vous être envoyé. Bienvenue !';375 $lang['Send my password by email'] = 'Recevoir mon mot de passepar email';377 $lang['Successfully registered, you will soon receive an email with your connection settings. Welcome!'] = 'Inscription réussie, vous recevrez bientôt un email avec vos identifiants. Bienvenue !'; 378 $lang['Send my connection settings by email'] = 'Recevoir mes identifiants par email'; 376 379 377 380 ?> -
trunk/language/fr_FR/admin.lang.php
r12879 r12886 844 844 $lang['Photo Sizes'] = 'Tailles de photo'; 845 845 $lang['Original Size'] = 'Taille originale'; 846 $lang['Send connection settings by email'] = 'Envoyer les identifiants par email'; 847 846 848 ?> -
trunk/language/fr_FR/common.lang.php
r12885 r12886 308 308 $lang['searched words : %s'] = 'mots recherchés : %s'; 309 309 $lang['Sent by'] = 'Envoyé par'; 310 $lang['Send my password by email'] = 'Recevoir mon mot de passepar email';310 $lang['Send my connection settings by email'] = 'Recevoir mes identifiants par email'; 311 311 $lang['set as album representative'] = 'Choisir comme représentante de cet album'; 312 312 $lang['Show file metadata'] = 'Montrer les méta-données du fichier'; … … 319 319 $lang['Sort by'] = 'Trier selon'; 320 320 $lang['Sort order'] = 'Ordre de tri'; 321 $lang['Successfully registered, an email with your password has been sent to you. Welcome!'] = 'Inscription réussie, un email avec votre mot de passe vient de vous être envoyé. Bienvenue !';321 $lang['Successfully registered, you will soon receive an email with your connection settings. Welcome!'] = 'Inscription réussie, vous recevrez bientôt un email avec vos identifiants. Bienvenue !'; 322 322 $lang['Specials'] = 'Spéciales'; 323 323 $lang['SQL queries in'] = 'requêtes SQL en'; … … 370 370 $lang['original'] = "Original"; 371 371 $lang['Thank you for registering at %s!'] = 'Merci pour votre inscription sur %s !'; 372 $lang['Here is your password: %s'] = 'Votre mot de passe est : %s'; 372 $lang['Here are your connection settings'] = 'Voici vos identifiants'; 373 $lang['Password: %s'] = 'Mot de passe : %s'; 374 $lang['Username: %s'] = 'Nom d\'utilisateur : %s'; 375 $lang['Email: %s'] = 'Email: %s'; 373 376 $lang['If you think you\'ve received this email in error, please contact us at %s'] = 'Si vous pensez avoir reçu cet email par erreur, veuillez nous contacter %s'; 374 377 -
trunk/register.php
r12885 r12886 69 69 get_l10n_args('Thank you for registering at %s!', $conf['gallery_title']), 70 70 get_l10n_args('', ''), 71 get_l10n_args('Here is your password: %s', $_POST['password']), 71 get_l10n_args('Here are your connection settings', ''), 72 get_l10n_args('Username: %s', $_POST['login']), 73 get_l10n_args('Password: %s', $_POST['password']), 74 get_l10n_args('Email: %s', $_POST['mail_address']), 72 75 get_l10n_args('', ''), 73 76 get_l10n_args('If you think you\'ve received this email in error, please contact us at %s', get_webmaster_mail_address()), … … 83 86 ); 84 87 85 $_SESSION['page_infos'][] = l10n('Successfully registered, an email with your password has been sent to you. Welcome!');88 $_SESSION['page_infos'][] = l10n('Successfully registered, you will soon receive an email with your connection settings. Welcome!'); 86 89 } 87 90 -
trunk/themes/default/template/register.tpl
r12885 r12886 49 49 <li> 50 50 <span class="property"> 51 <label for="send_password_by_mail">{'Send my passwordby email'|@translate}</label>51 <label for="send_password_by_mail">{'Send my connection settings by email'|@translate}</label> 52 52 </span> 53 53 <input type="checkbox" name="send_password_by_mail" id="send_password_by_mail" value="1" checked="checked">
Note: See TracChangeset
for help on using the changeset viewer.