Changeset 9253 for extensions/NBC_UserAdvManager/trunk
- Timestamp:
- Feb 16, 2011, 7:28:44 PM (14 years ago)
- Location:
- extensions/NBC_UserAdvManager/trunk
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/NBC_UserAdvManager/trunk/ConfirmMail.php
r9197 r9253 68 68 // Management of Extension flags ([username], [mygallery], [myurl]) 69 69 $patterns[] = '#\[username\]#i'; 70 $replacements[] = $ username;70 $replacements[] = $result['username']; 71 71 $patterns[] = '#\[mygallery\]#i'; 72 72 $replacements[] = $conf['gallery_title']; … … 100 100 // Management of Extension flags ([username], [mygallery], [myurl]) 101 101 $patterns[] = '#\[username\]#i'; 102 $replacements[] = $ username;102 $replacements[] = $result['username']; 103 103 $patterns[] = '#\[mygallery\]#i'; 104 104 $replacements[] = $conf['gallery_title']; -
extensions/NBC_UserAdvManager/trunk/admin/UAM_admin.php
r9177 r9253 105 105 case 'global': 106 106 107 if (isset($_POST['submit']) and isset($_POST['UAM_Mail_Info']) and isset($_POST['UAM_Username_Char']) and isset($_POST['UAM_Confirm_Mail']) and isset($_POST['UAM_No_Comment_Anonymous']) and isset($_POST['UAM_Password_Enforced']) and isset($_POST['UAM_AdminPassword_Enforced']) and isset($_POST['UAM_GhostUser_Tracker']) and isset($_POST['UAM_Admin_ConfMail']) and isset($_POST['UAM_RedirToProfile']) and isset($_POST['UAM_GTAuto']) and isset($_POST['UAM_ CustomPasswRetr']))107 if (isset($_POST['submit']) and isset($_POST['UAM_Mail_Info']) and isset($_POST['UAM_Username_Char']) and isset($_POST['UAM_Confirm_Mail']) and isset($_POST['UAM_No_Comment_Anonymous']) and isset($_POST['UAM_Password_Enforced']) and isset($_POST['UAM_AdminPassword_Enforced']) and isset($_POST['UAM_GhostUser_Tracker']) and isset($_POST['UAM_Admin_ConfMail']) and isset($_POST['UAM_RedirToProfile']) and isset($_POST['UAM_GTAuto']) and isset($_POST['UAM_GTAutoMail']) and isset($_POST['UAM_CustomPasswRetr']) and isset($_POST['UAM_USRAuto']) and isset($_POST['UAM_USRAutoMail'])) 108 108 { 109 109 … … 551 551 } 552 552 553 // Avoid jquery accordeon menu bug when there is no users to display 554 if (empty($visible_user_list)) 553 // Avoid jquery accordion menu bug when there is no users to display 554 // Pending because it causes php warnings when no users are listed (when $visible_user_list[] is empty) 555 /*if (empty($visible_user_list)) 555 556 { 556 557 $visible_user_list[] = null; 557 } 558 }*/ 558 559 559 560 foreach ($visible_user_list as $local_user) … … 1029 1030 1030 1031 // Avoid jquery accordeon menu bug when there is no users to display 1031 if (empty($visible_user_list)) 1032 // Pending because it causes php warnings when no users are listed (when $visible_user_list[] is empty) 1033 /*if (empty($visible_user_list)) 1032 1034 { 1033 1035 $visible_user_list[] = null; 1034 } 1036 }*/ 1035 1037 1036 1038 foreach ($visible_user_list as $local_user) … … 1353 1355 } 1354 1356 1355 if (isset($_POST['GhostTracker_Init'])) 1356 { 1357 //Reset is only allowed for admins ! 1358 if (is_admin()) 1359 { 1360 $query1 = ' 1357 if (isset($_POST['GhostTracker_Init']) and is_admin()) //Reset is only allowed for admins ! 1358 { 1359 $query1 = ' 1361 1360 SELECT * 1362 1361 FROM '.USER_LASTVISIT_TABLE.';'; 1363 1362 1364 1365 1366 1367 1368 1363 $count = pwg_db_num_rows(pwg_query($query1)); 1364 1365 if ($count <> 0) 1366 { 1367 $query = ' 1369 1368 SELECT DISTINCT u.id, 1370 1369 ui.status AS status … … 1379 1378 ;'; 1380 1379 1381 1380 $result = pwg_query($query); 1382 1381 1383 1384 1385 1382 while ($row = pwg_db_fetch_assoc($result)) 1383 { 1384 list($dbnow) = pwg_db_fetch_row(pwg_query('SELECT NOW();')); 1386 1385 1387 1386 $query = " 1388 1387 INSERT INTO ".USER_LASTVISIT_TABLE." (user_id, lastvisit, reminder) 1389 1388 VALUES ('".$row['id']."','".$dbnow."','false') 1390 1389 ;"; 1391 pwg_query($query); 1392 } 1390 pwg_query($query); 1393 1391 } 1394 else if ($count == 0) 1395 { 1396 $query = ' 1392 } 1393 else if ($count == 0) 1394 { 1395 $query = ' 1397 1396 SELECT DISTINCT u.id, 1398 1397 ui.status AS status … … 1406 1405 ;'; 1407 1406 1408 1407 $result = pwg_query($query); 1409 1408 1410 1411 1412 1409 while($row = pwg_db_fetch_assoc($result)) 1410 { 1411 list($dbnow) = pwg_db_fetch_row(pwg_query('SELECT NOW();')); 1413 1412 1414 1413 $query = " 1415 1414 INSERT INTO ".USER_LASTVISIT_TABLE." (user_id, lastvisit, reminder) 1416 1415 VALUES ('".$row['id']."','".$dbnow."','false') 1417 1416 ;"; 1418 pwg_query($query); 1419 } 1417 pwg_query($query); 1420 1418 } 1419 } 1421 1420 1422 array_push($page['infos'], l10n('UAM_GhostTracker_Init_OK')); 1423 } 1421 array_push($page['infos'], l10n('UAM_GhostTracker_Init_OK')); 1424 1422 } 1425 1423 -
extensions/NBC_UserAdvManager/trunk/changelog.txt.php
r9197 r9253 229 229 Bug 2186 fixed - JQuery accordion menu when no users are listed in UAM tables 230 230 Bug 2188 fixed - Avoid translation flags conflicts 231 Bug 2192 fixed - GT Automated tasks improvement and refactory 231 232 232 233 */ -
extensions/NBC_UserAdvManager/trunk/del_account.php
r9197 r9253 4 4 5 5 include_once( PHPWG_ROOT_PATH.'include/common.inc.php' ); 6 include_once( PHPWG_ROOT_PATH.'include/functions_mail.inc.php' );7 6 8 7 include_once (UAM_PATH.'include/constants.php'); … … 17 16 18 17 19 18 global $user, $lang, $conf, $errors; 20 19 21 20 22 21 $conf_UAM = unserialize($conf['UserAdvManager']); 23 22 24 if (isset($conf_UAM[24]) and $conf_UAM[24] <> '') 23 if (isset($conf_UAM[24]) and $conf_UAM[24] <> '') 24 { 25 // Management of Extension flags ([mygallery], [myurl]) - [username] flag can't be used here 26 $patterns[] = '#\[mygallery\]#i'; 27 $replacements[] = $conf['gallery_title']; 28 $patterns[] = '#\[myurl\]#i'; 29 $replacements[] = $conf['gallery_url']; 30 31 if (function_exists('get_user_language_desc')) 25 32 { 26 // Management of Extension flags ([username], [mygallery], [myurl]) 27 $patterns[] = '#\[username\]#i'; 28 $replacements[] = $username; 29 $patterns[] = '#\[mygallery\]#i'; 30 $replacements[] = $conf['gallery_title']; 31 $patterns[] = '#\[myurl\]#i'; 32 $replacements[] = $conf['gallery_url']; 33 34 if (function_exists('get_user_language_desc')) 35 { 36 $custom_text = get_user_language_desc(preg_replace($patterns, $replacements, $conf_UAM[24])); 37 } 38 else $custom_text = l10n(preg_replace($patterns, $replacements, $conf_UAM[24])); 33 $custom_text = get_user_language_desc(preg_replace($patterns, $replacements, $conf_UAM[24])); 39 34 } 35 else $custom_text = l10n(preg_replace($patterns, $replacements, $conf_UAM[24])); 36 } 40 37 41 42 43 44 45 46 38 $template->assign( 39 array( 40 'GALLERY_URL' => make_index_url(), 41 'CUSTOM_REDIR_MSG' => $custom_text, 42 ) 43 ); 47 44 48 45 if (isset($lang['Theme: '.$user['theme']])) -
extensions/NBC_UserAdvManager/trunk/include/functions.inc.php
r9197 r9253 322 322 $conf_UAM = unserialize($conf['UserAdvManager']); 323 323 324 // Performing scheduled tasks324 // Performing GhostTracker scheduled tasks 325 325 if ((isset($conf_UAM[22]) and $conf_UAM[22] == 'true')) 326 326 { 327 UAM_ ScheduledTasks();327 UAM_GT_ScheduledTasks(); 328 328 } 329 329 … … 350 350 * Triggered on UAM_LoginTasks() 351 351 * 352 * Executes optional post-login tasks 353 * 354 */ 355 function UAM_ ScheduledTasks()352 * Executes optional post-login tasks for Ghost users 353 * 354 */ 355 function UAM_GT_ScheduledTasks() 356 356 { 357 357 global $conf, $user, $page; 358 358 359 if (!defined('PHPWG_ROOT_PATH')) 360 { 361 die('Hacking attempt!'); 362 } 363 364 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); 365 359 366 $conf_UAM = unserialize($conf['UserAdvManager']); 360 367 … … 377 384 if (in_array($user['id'], $collection)) 378 385 { 379 foreach ($collection as $user_id) 380 { 381 // Check lastvisit reminder state 382 $query = ' 386 // Check lastvisit reminder state 387 $query = ' 383 388 SELECT reminder 384 389 FROM '.USER_LASTVISIT_TABLE.' 385 WHERE user_id = '.$user_id.';'; 386 387 $result = pwg_db_fetch_assoc(pwg_query($query)); 388 389 if (isset($result['reminder']) and $result['reminder'] == 'true') 390 { 391 $reminder = true; 392 } 393 else 394 { 395 $reminder = false; 396 } 397 398 // If never reminded before, set reminder True 399 if (!$reminder) 400 { 401 // Reset of lastvisit date 402 list($dbnow) = pwg_db_fetch_row(pwg_query('SELECT NOW();')); 403 404 $query = " 405 UPDATE ".USER_LASTVISIT_TABLE." 406 SET lastvisit='".$dbnow."' 407 WHERE user_id = '".$user_id."' 408 ;"; 409 pwg_query($query); 410 411 // Auto change group and / or status 412 // Delete user from all groups 413 $query = " 414 DELETE FROM ".USER_GROUP_TABLE." 415 WHERE user_id = '".$user_id."' 416 AND ( 417 group_id = '".$conf_UAM[2]."' 418 OR 419 group_id = '".$conf_UAM[3]."' 420 ) 421 ;"; 422 423 pwg_query($query); 424 425 // Change user status 426 if ($conf_UAM[27] <> -1) 427 { 428 $query = " 429 UPDATE ".USER_INFOS_TABLE." 430 SET status = '".$conf_UAM[27]."' 431 WHERE user_id = '".$user_id."' 432 ;"; 433 pwg_query($query); 434 } 435 436 // Change user group 437 if ($conf_UAM[26] <> -1) 438 { 439 $query = " 440 INSERT INTO ".USER_GROUP_TABLE." 441 (user_id, group_id) 442 VALUES 443 ('".$user_id."', '".$conf_UAM[26]."') 444 ;"; 445 pwg_query($query); 446 } 447 448 // Auto send email notification on group / status downgrade only if never reminded before 449 if (isset($conf_UAM[23]) and $conf_UAM[23] == 'true') 450 { 451 // Set reminder true 452 $query = " 453 UPDATE ".USER_LASTVISIT_TABLE." 454 SET reminder = 'true' 455 WHERE user_id = '".$user_id."' 456 ;"; 457 pwg_query($query); 458 459 // Reset confirmed user date_check 460 $query = ' 461 UPDATE '.USER_CONFIRM_MAIL_TABLE.' 462 SET date_check = NULL 463 WHERE user_id = "'.$user_id.'" 464 ;'; 465 pwg_query($query); 466 467 // Get users information for email notification 468 $query = ' 469 SELECT username, mail_address 470 FROM '.USERS_TABLE.' 471 WHERE id = '.$user_id.' 472 ;'; 473 $data = pwg_db_fetch_assoc(pwg_query($query)); 474 475 demotion_mail($user_id, $data['username'], $data['mail_address']); 476 } 477 } 478 elseif ($reminder) // If user already reminded for ghost account 479 { 480 // delete account 481 delete_user($user_id); 482 } 390 WHERE user_id = '.$user['id'].';'; 391 392 $result = pwg_db_fetch_assoc(pwg_query($query)); 393 394 if (isset($result['reminder']) and $result['reminder'] == 'true') 395 { 396 $reminder = true; 483 397 } 484 485 if (!$reminder) // If user never reminded for ghost account 398 else 486 399 { 487 // Logged-in user cleanup 400 $reminder = false; 401 } 402 403 // If never reminded before, set reminder True 404 if ($reminder) // If user already reminded for ghost account 405 { 406 // delete account 407 delete_user($user['id']); 408 409 // Logged-in user cleanup, session destruction and redirected to custom page 488 410 invalidate_user_cache(); 489 log_user($user['id'], false); 490 redirect(make_index_url()); 491 } 492 elseif ($reminder) // If user already reminded for ghost account 493 { 494 // Logged-in user cleanup 495 invalidate_user_cache(); 496 log_user($user['id'], false); 411 logout_user(); 497 412 redirect(UAM_PATH.'del_account.php'); 498 413 } … … 1097 1012 // Management of Extension flags ([username], [mygallery], [myurl]) 1098 1013 $patterns[] = '#\[username\]#i'; 1099 $replacements[] = $username;1014 $replacements[] = stripslashes($username); 1100 1015 $patterns[] = '#\[mygallery\]#i'; 1101 1016 $replacements[] = $conf['gallery_title']; … … 1122 1037 ); 1123 1038 1039 resetlastvisit($id); 1124 1040 1125 1041 // Sending the email with subject and contents … … 1196 1112 // Management of Extension flags ([username], [mygallery], [myurl]) 1197 1113 $patterns[] = '#\[username\]#i'; 1198 $replacements[] = $ username;1114 $replacements[] = $result['username']; 1199 1115 $patterns[] = '#\[mygallery\]#i'; 1200 1116 $replacements[] = $conf['gallery_title']; … … 2197 2113 $score = $step1 * $step2; 2198 2114 2199 // Multiplication du r ésultat par la longueur de la chaîne - Multiplying the result by the length of the chain2115 // Multiplication du resultat par la longueur de la chaine - Multiplying the result by the length of the string 2200 2116 $finalscore = $score * $length; 2201 2117 -
extensions/NBC_UserAdvManager/trunk/include/upgradedb.inc.php
r9135 r9253 336 336 $Newconf_UAM[29] = 'false'; 337 337 $Newconf_UAM[30] = 'You have requested a password reset on our gallery. Please, find below your new connection settings.'; 338 $Newconf_UAM[31] = 'false'; 339 $Newconf_UAM[32] = 'Sorry [username], your account has been deleted because you have not validated your registration in requested time. Please, try registration with a valid and non blocked email account.'; 340 $Newconf_UAM[33] = 'false'; 338 341 339 342 $update_conf = serialize($Newconf_UAM); -
extensions/NBC_UserAdvManager/trunk/language/de_DE/help/plugin.lang.php
r9197 r9253 220 220 /*TODO*/$lang['UAM_GTAutoDelTitle_d'] = 'Dies ist nur gültig, wenn der Benutzer, dessen Konto ist abgelaufen selbst löst die Streichung Mechanismus (selten, aber möglich). Er ist dann der Galerie getrennt und umgeleitet auf eine Seite mit der Löschung seines Accounts und gegebenenfalls die Gründe für die Streichung dieses Absatzes. 221 221 <br><br> 222 Further customize the content with special inserted tags : Use <b style="color: red;">[ username]</b> to automatically insert the name of the destination user of the email. Use <b style="color: red;">[mygallery]</b> to insert the title of your gallery. Use <b style="color: red;">[myurl]</b> to insert your gallery URL if set in Piwigo\'s configuration options.222 Further customize the content with special inserted tags : Use <b style="color: red;">[mygallery]</b> to insert the title of your gallery. Use <b style="color: red;">[myurl]</b> to insert your gallery URL if set in Piwigo\'s configuration options. <b style="color: red;">[username]</b> is not available here because concerned user has been deleted. 223 223 <br><br> 224 224 Custom Text für die Weiterleitungsseite können in dieses Feld eingegeben werden dass ist kompatibel mit den FCK-Editor und, um mehrere Sprachen zu benutzen, können Sie die Extended description Plugin-Tags verwenden, wenn er aktiv ist.'; -
extensions/NBC_UserAdvManager/trunk/language/en_UK/help/plugin.lang.php
r9197 r9253 220 220 $lang['UAM_GTAutoDelTitle_d'] = 'This is only valid when the user whose account has expired itself triggers the deletion mechanism (rare but possible). he\'s then disconnected of the gallery and redirected to a page showing the deletion of his account and, possibly, the reasons for this deletion. 221 221 <br><br> 222 Further customize the content with special inserted tags : Use <b style="color: red;">[ username]</b> to automatically insert the name of the destination user of the email. Use <b style="color: red;">[mygallery]</b> to insert the title of your gallery. Use <b style="color: red;">[myurl]</b> to insert your gallery URL if set in Piwigo\'s configuration options.222 Further customize the content with special inserted tags : Use <b style="color: red;">[mygallery]</b> to insert the title of your gallery. Use <b style="color: red;">[myurl]</b> to insert your gallery URL if set in Piwigo\'s configuration options. <b style="color: red;">[username]</b> is not available here because concerned user has been deleted. 223 223 <br><br> 224 224 Custom text for the redirect page can be entered in this field that is compatible with the FCK Editor and, for multi-languages, you can use the tags [lang] of the plugin Extended description if it\'s active.'; -
extensions/NBC_UserAdvManager/trunk/language/es_ES/help/plugin.lang.php
r9197 r9253 216 216 /*TODO*/$lang['UAM_GTAutoDelTitle_d'] = 'This is only valid when the user whose account has expired itself triggers the deletion mechanism (rare but possible). he\'s then disconnected of the gallery and redirected to a page showing the deletion of his account and, possibly, the reasons for this deletion. 217 217 <br><br> 218 Further customize the content with special inserted tags : Use <b style="color: red;">[ username]</b> to automatically insert the name of the destination user of the email. Use <b style="color: red;">[mygallery]</b> to insert the title of your gallery. Use <b style="color: red;">[myurl]</b> to insert your gallery URL if set in Piwigo\'s configuration options.218 Further customize the content with special inserted tags : Use <b style="color: red;">[mygallery]</b> to insert the title of your gallery. Use <b style="color: red;">[myurl]</b> to insert your gallery URL if set in Piwigo\'s configuration options. <b style="color: red;">[username]</b> is not available here because concerned user has been deleted. 219 219 <br><br> 220 220 Custom text for the redirect page can be entered in this field that is compatible with the FCK Editor and, for multi-languages, you can use the tags [lang] of the plugin Extended description if it\'s active.'; -
extensions/NBC_UserAdvManager/trunk/language/fr_FR/help/plugin.lang.php
r9197 r9253 43 43 Cette option n\'est utilisable qu\'une fois l\'option "Confirmation d\'inscription" activée'; 44 44 $lang['UAM_remailTitle'] = 'Mail de rappel aux inscrits non validés'; 45 $lang['UAM_remailTitle_d'] = 'Cette option permet d\'envoyer un email de rappel aux utilisateurs n\'ayant pas validé leur inscription dans les temps. Elle n\'a d\'effet qu\'une fois l\'option "Confirmation d\'inscription" activée.<br><br>46 2 types d\'email peuvent être envoyés : Avec ou sans régénération de la clef de validation. En fonction du cas, le contenu des emails peut être personnalisé.<br><br>47 Reportez-vous à l\'onglet "Suivi des validations".';48 45 $lang['UAM_remailtxt1Title'] = 'Message de rappel avec regénération de clé'; 49 46 $lang['UAM_remailtxt2Title'] = 'Message de rappel sans regénération de clé'; … … 217 214 $lang['UAM_GTAutoDelTitle_d'] = 'Ceci n\'est valable que lorsque l\'utilisateur dont le compte a expiré déclenche lui même le mécanisme de suppression (cas rare mais possible). Il est alors déconnecté de force de la galerie et redirigé vers une page indiquant la suppression de son compte et, éventuellement, les raisons de cette suppression. 218 215 <br><br> 219 Personnalisez encore plus le contenu avec les balises d\'insertion spéciales : Utilisez la balise <b style="color: red;">[ username]</b> pour insérer automatiquement le nom de l\'utilisateur destinataire de l\'email. Utilisez la balise <b style="color: red;">[mygallery]</b> pour insérer le titre de votre galerie. Utilisez la balise <b style="color: red;">[myurl]</b> pour insérer l\'URL de votre galerie si renseigné dans les options de configuration de Piwigo.216 Personnalisez encore plus le contenu avec les balises d\'insertion spéciales : Utilisez la balise <b style="color: red;">[mygallery]</b> pour insérer le titre de votre galerie. Utilisez la balise <b style="color: red;">[myurl]</b> pour insérer l\'URL de votre galerie si renseigné dans les options de configuration de Piwigo. La balise <b style="color: red;">[username]</b> n\'est pas disponible ici puisque l\'utilisateur en question a été supprimé (CQFD !). 220 217 <br><br> 221 218 Un texte personnalisé pour cette page de redirection peut être saisi dans le champ ci-dessous qui est compatible avec l\'extension FCK Editor. Pour une utilisation multi-langues, vous pouvez utiliser les balises [lang] du plugin Extended Description si celui-ci est actif.'; … … 238 235 <br><br> 239 236 Pour une utilisation multi-langues, vous pouvez utiliser les balises [lang] du plugin Extended Description si celui-ci est actif.'; 237 $lang['UAM_validationlimitTitle_d'] = 'Cette option permet de limiter le nombre de jours pendant lequel un nouvel utilisateur peut valider son inscription. Une fois ce délai expiré, le lien de validation sera invalide, et ne pourra plus être employé. 238 <br><br> 239 Cette option n\'est utilisable qu\'une fois l\'option "Confirmation d\'inscription" activée. 240 <br><br> 241 Si cette option et l\'option "Mail de rappel aux inscrits non validés" sont activées, de nouvelles options apparaitront plus bas dans cette section pour permettre l\'automatisation de la gestion des visiteurs non validés.'; 242 $lang['UAM_remailTitle_d'] = 'Cette option permet d\'envoyer un email de rappel aux utilisateurs n\'ayant pas validé leur inscription dans les temps. Elle n\'a d\'effet qu\'une fois l\'option "Confirmation d\'inscription" activée.<br><br> 243 2 types d\'email peuvent être envoyés : Avec ou sans régénération de la clef de validation. En fonction du cas, le contenu des emails peut être personnalisé.<br><br> 244 Reportez-vous à l\'onglet "Suivi des validations". 245 <br><br> 246 Si cette option et l\'option "Mail de rappel aux inscrits non validés" sont activées, de nouvelles options apparaitront plus bas dans cette section pour permettre l\'automatisation de la gestion des visiteurs non validés.'; 247 $lang['UAM_USRAutoTitle'] = 'Gestion automatique des visiteurs non validés'; 248 $lang['UAM_USRAutoTitle_d'] = 'La gestion automatique des visiteurs non validés est déclenchée à chaque connexion à la galerie et fonctionne ainsi : 249 <br><br> 250 - Suppression automatique des comptes non validés dans le temps imparti sans envoi automatique de mail de relance -> "Limitation du délai de validation d\'inscription" <b><u>est actif</u></b> et "Mail de rappel aux inscrits non validés" <b><u>est inactif</u></b>. 251 <br><br> 252 - Envoi automatique d\'un message de rappel avec génération d\'une nouvelle clé de validation puis suppression automatique des comptes non validés dans le temps imparti après l\'envoi de la relance -> "Limitation du délai de validation d\'inscription" <b><u>est actif</u></b> et "Mail de rappel aux inscrits non validés" <b><u>est actif</u></b>.'; 253 $lang['UAM_USRAutoDelTitle'] = 'Message à la suppressions automatiques des comptes'; 254 $lang['UAM_USRAutoDelTitle_d'] = 'Ceci n\'est valable que lorsque l\'utilisateur dont le compte est à supprimer déclenche lui même le mécanisme de suppression (cas rare mais possible). Il est alors déconnecté de force de la galerie et redirigé vers une page indiquant la suppression de son compte et, éventuellement, les raisons de cette suppression. 255 <br><br> 256 Un texte pour cette page de redirection est donné à titre d\'exemple, ci-dessous, et peut être personnalisé. Ce champ est compatible avec le plugin FCK Editor. Pour une utilisation multi-langues, vous pouvez utiliser les balises [lang] du plugin Extended Description si celui-ci est actif. 257 <br><br> 258 Personnalisez encore plus le contenu avec les balises d\'insertion spéciales : Utilisez la balise <b style="color: red;">[username]</b> pour insérer automatiquement le nom de l\'utilisateur destinataire de l\'email. Utilisez la balise <b style="color: red;">[mygallery]</b> pour insérer le titre de votre galerie. Utilisez la balise <b style="color: red;">[myurl]</b> pour insérer l\'URL de votre galerie si renseigné dans les options de configuration de Piwigo.'; 259 $lang['UAM_USRAutoMailTitle'] = 'Message de rappel automatique'; 260 $lang['UAM_USRAutoMailTitle_d'] = 'Lorsque activée, cette fonction enverra automatiquement le contenu personnalisé dans "Message de rappel avec regénération de clé" aux visiteurs répondant au critère.'; 240 261 // --------- End: New or revised $lang ---- from version 2.20.0 241 262 ?> -
extensions/NBC_UserAdvManager/trunk/language/fr_FR/plugin.lang.php
r9177 r9253 289 289 $lang['UAM_CustomPasswRetr_false'] = ' Désactiver (valeur par défaut)'; 290 290 $lang['UAM_CustomPasswRetr_true'] = ' Activer'; 291 $lang['UAM_USRAuto'] = 'Gestion automatique des visiteurs non validés'; 292 $lang['UAM_USRAuto_false'] = ' Désactiver (valeur par défaut)'; 293 $lang['UAM_USRAuto_true'] = ' Activer'; 294 $lang['UAM_USRAutoDel'] = 'Message à la suppressions automatiques des comptes'; 295 $lang['UAM_USRAutoMail'] = 'Message de rappel automatique'; 296 $lang['UAM_USRAutoMail_false'] = ' Désactiver (valeur par défaut)'; 297 $lang['UAM_USRAutoMail_true'] = ' Activer'; 291 298 // --------- End: New or revised $lang ---- from version 2.20.0 292 299 ?> -
extensions/NBC_UserAdvManager/trunk/language/it_IT/help/plugin.lang.php
r9197 r9253 207 207 /* TODO */$lang['UAM_GTAutoDelTitle_d'] = 'This is only valid when the user whose account has expired itself triggers the deletion mechanism (rare but possible). he\'s then disconnected of the gallery and redirected to a page showing the deletion of his account and, possibly, the reasons for this deletion. 208 208 <br><br> 209 Further customize the content with special inserted tags : Use <b style="color: red;">[ username]</b> to automatically insert the name of the destination user of the email. Use <b style="color: red;">[mygallery]</b> to insert the title of your gallery. Use <b style="color: red;">[myurl]</b> to insert your gallery URL if set in Piwigo\'s configuration options.209 Further customize the content with special inserted tags : Use <b style="color: red;">[mygallery]</b> to insert the title of your gallery. Use <b style="color: red;">[myurl]</b> to insert your gallery URL if set in Piwigo\'s configuration options. <b style="color: red;">[username]</b> is not available here because concerned user has been deleted. 210 210 <br><br> 211 211 Custom text for the redirect page can be entered in this field that is compatible with the FCK Editor and, for multi-languages, you can use the tags [lang] of the plugin Extended description if it\'s active.'; -
extensions/NBC_UserAdvManager/trunk/language/lv_LV/help/plugin.lang.php
r9197 r9253 241 241 /* TODO */$lang['UAM_GTAutoDelTitle_d'] = 'Šis variants ir iespējams tikai tad, ja lietotājs, kura konta derīguma termiņš ir beidzies, pats ieslēdz dzēšanas mehānismu (rets, bet iespējams gadījums). Tad viņš tiek atslēgts no galerijas un novirzīts uz lapu, kas atspoguļo viņa konta dzēšanas faktu un iespējamo šīs dzēšanas iemeslu. 242 242 <br><br> 243 Further customize the content with special inserted tags : Use <b style="color: red;">[ username]</b> to automatically insert the name of the destination user of the email. Use <b style="color: red;">[mygallery]</b> to insert the title of your gallery. Use <b style="color: red;">[myurl]</b> to insert your gallery URL if set in Piwigo\'s configuration options.243 Further customize the content with special inserted tags : Use <b style="color: red;">[mygallery]</b> to insert the title of your gallery. Use <b style="color: red;">[myurl]</b> to insert your gallery URL if set in Piwigo\'s configuration options. <b style="color: red;">[username]</b> is not available here because concerned user has been deleted. 244 244 <br><br> 245 245 Pāradresācijas lapai paredzēto pielāgoto tekstu var ievadīt šajā laukā, savietojams ar FCK Redaktora standartu, lai izmantotu multi-valodu režīmu, lietojiet spraudņa paplašinātais apraksts Extended description iezīmes [lang], tikai gadījumā, ja spraudnis aktīvs.'; -
extensions/NBC_UserAdvManager/trunk/maintain.inc.php
r9197 r9253 26 26 Best regards, 27 27 28 The admin of the gallery.','false','false','false','false','false','Sorry [username], your account has been deleted due to a too long time passed since your last visit at [mygallery].','Sorry [username], your account has been deprecated due to a too long time passed since your last visit at [mygallery]. Please, use the following link to revalidate your account.',-1,-1,'Thank you for registering at [mygallery]. Your account has been manually validated by _admin_. You may now log in at _link_to_site_ and make any appropriate changes to your profile. Welcome to _name_of_site_!','false','You have requested a password reset on our gallery. Please, find below your new connection settings.' );28 The admin of the gallery.','false','false','false','false','false','Sorry [username], your account has been deleted due to a too long time passed since your last visit at [mygallery].','Sorry [username], your account has been deprecated due to a too long time passed since your last visit at [mygallery]. Please, use the following link to revalidate your account.',-1,-1,'Thank you for registering at [mygallery]. Your account has been manually validated by _admin_. You may now log in at _link_to_site_ and make any appropriate changes to your profile. Welcome to _name_of_site_!','false','You have requested a password reset on our gallery. Please, find below your new connection settings.','false','Sorry, your account has been deleted because you have not validated your registration in requested time. Please, try registration with a valid and non blocked email account.','false'); 29 29 30 30 $q = '
Note: See TracChangeset
for help on using the changeset viewer.