Changeset 3873 for extensions/NBC_UserAdvManager/branches
- Timestamp:
- Sep 19, 2009, 1:26:32 AM (15 years ago)
- Location:
- extensions/NBC_UserAdvManager/branches/2.11
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/NBC_UserAdvManager/branches/2.11/admin/UserAdvManager_admin.php
r3859 r3873 342 342 'UserAdvManager_CONFIRMMAIL_TIMEOUT_FALSE' => $conf_nbc_UserAdvManager_ConfirmMail[0]=='false' ? 'checked="checked"' : '' , 343 343 'UserAdvManager_CONFIRMMAIL_DELAY' => $conf_nbc_UserAdvManager_ConfirmMail[1], 344 'UserAdvManager_CONFIRMMAIL_REMAIL_TRUE' => $conf_nbc_UserAdvManager_ConfirmMail[3]=='true' ? 'checked="checked"' : '', 345 'UserAdvManager_CONFIRMMAIL_REMAIL_FALSE' => $conf_nbc_UserAdvManager_ConfirmMail[3]=='false' ? 'checked="checked"' : '', 344 346 'UserAdvManager_CONFIRMMAIL_REMAIL_TXT1' => $conf_nbc_UserAdvManager_ConfirmMail[2], 345 347 'UserAdvManager_CONFIRMMAIL_REMAIL_TXT2' => $conf_nbc_UserAdvManager_ConfirmMail[4], 346 'UserAdvManager_CONFIRMMAIL_REMAIL_TRUE' => $conf_nbc_UserAdvManager_ConfirmMail[3]=='true' ? 'checked="checked"' : '',347 'UserAdvManager_CONFIRMMAIL_REMAIL_FALSE' => $conf_nbc_UserAdvManager_ConfirmMail[3]=='false' ? 'checked="checked"' : '',348 348 ) 349 349 ); -
extensions/NBC_UserAdvManager/branches/2.11/language/en_UK/plugin.lang.php
r3859 r3873 55 55 $lang['UserAdvManager_ConfirmMail_Remail_true'] = 'Enable email reminder'; 56 56 $lang['UserAdvManager_ConfirmMail_Remail_false'] = 'Disable email reminder'; 57 $lang['UserAdvManager_ConfirmMail_ReMail_Txt1'] = 'Custom content of the recall message with regeneration of validation key.<br>If left blank, the recall mail will include only the validation link. It is therefore strongly advised to take a little explanatory text. (NB: The text pre-filled with the installation of the plugin is given as an example)<br><br>(!!! <b style="text-decoration: blink underline;">WARNING !</b> Use the multi language tags from Extended Description plugin if this plugin is activated !!!)';58 $lang['UserAdvManager_ConfirmMail_ReMail_Txt2'] = 'Custom content of the recall message without regeneration of validation key.<br>If left blank, the recall mail will include only the validation link. It is therefore strongly advised to take a little explanatory text. (NB: The text pre-filled with the installation of the plugin is given as an example)<br><br>(!!! <b style="text-decoration: blink underline;">WARNING !</b> Use the multi language tags from Extended Description plugin if this plugin is activated !!!)';57 $lang['UserAdvManager_ConfirmMail_ReMail_Txt1'] = 'Custom content of the recall message with regeneration of validation key.<br>If left blank, the recall mail will include only the validation link. It is therefore strongly advised to take a little explanatory text. (NB: The text pre-filled with the installation of the plugin is given as an example)<br><br>(!!! <b style="text-decoration: blink underline;">WARNING !</b> Text modification is available <b>ONLY</b> if email reminder is enabled. Use the multi language tags from Extended Description plugin if this plugin is activated !!!)'; 58 $lang['UserAdvManager_ConfirmMail_ReMail_Txt2'] = 'Custom content of the recall message without regeneration of validation key.<br>If left blank, the recall mail will include only the validation link. It is therefore strongly advised to take a little explanatory text. (NB: The text pre-filled with the installation of the plugin is given as an example)<br><br>(!!! <b style="text-decoration: blink underline;">WARNING !</b> Text modification is available <b>ONLY</b> if email reminder is enabled. Use the multi language tags from Extended Description plugin if this plugin is activated !!!)'; 59 59 60 60 -
extensions/NBC_UserAdvManager/branches/2.11/language/fr_FR/plugin.lang.php
r3859 r3873 55 55 $lang['UserAdvManager_ConfirmMail_Remail_true'] = 'Activer le rappel par mail'; 56 56 $lang['UserAdvManager_ConfirmMail_Remail_false'] = 'Désactiver le rappel par mail'; 57 $lang['UserAdvManager_ConfirmMail_ReMail_Txt1'] = 'Contenu personnalisé du message de rappel avec regénération de clé de validation.<br>Si laissé vide, le mail de rappel ne comportera que le lien de validation. Il est donc vivement conseillé de saisir un petit texte explicatif. (NB : Le texte pré renseigné à l\'installation du plugin est donné en exemple)<br><br>(!!! <b style="text-decoration: blink underline;">ATTENTION !</b> Utilisez la méthode multi language du plugin Extended Description si celui-ci est activé !!!)';58 $lang['UserAdvManager_ConfirmMail_ReMail_Txt2'] = 'Contenu personnalisé du message de rappel sans regénération de clé de validation.<br>Si laissé vide, le mail de rappel sera vide. Il est donc vivement conseillé de saisir un petit texte explicatif. (NB : Le texte pré renseigné à l\'installation du plugin est donné en exemple)<br><br>(!!! <b style="text-decoration: blink underline;">ATTENTION !</b> Utilisez la méthode multi language du plugin Extended Description si celui-ci est activé !!!)';57 $lang['UserAdvManager_ConfirmMail_ReMail_Txt1'] = 'Contenu personnalisé du message de rappel avec regénération de clé de validation.<br>Si laissé vide, le mail de rappel ne comportera que le lien de validation. Il est donc vivement conseillé de saisir un petit texte explicatif. (NB : Le texte pré renseigné à l\'installation du plugin est donné en exemple)<br><br>(!!! <b style="text-decoration: blink underline;">ATTENTION !</b> La modification du texte n\'est possible <b>QUE</b> si le rappel par email est activé. Utilisez la méthode multi language du plugin Extended Description si celui-ci est activé !!!)'; 58 $lang['UserAdvManager_ConfirmMail_ReMail_Txt2'] = 'Contenu personnalisé du message de rappel sans regénération de clé de validation.<br>Si laissé vide, le mail de rappel sera vide. Il est donc vivement conseillé de saisir un petit texte explicatif. (NB : Le texte pré renseigné à l\'installation du plugin est donné en exemple)<br><br>(!!! <b style="text-decoration: blink underline;">ATTENTION !</b> La modification du texte n\'est possible <b>QUE</b> si le rappel par email est activé. Utilisez la méthode multi language du plugin Extended Description si celui-ci est activé !!!)'; 59 59 60 60 -
extensions/NBC_UserAdvManager/branches/2.11/main.inc.php
r3859 r3873 2 2 /* 3 3 Plugin Name: NBC UserAdvManager 4 Version: 2.11. 04 Version: 2.11.1 5 5 Description: Permet de renforcer les possibilités de gestion des utilisateurs - Enforce users management 6 6 Plugin URI: http://fr.piwigo.org/ext/extension_view.php?eid=216 … … 52 52 -- 2.11.0 : New tabsheet menu to manage ConfirMail functions (setting a timeout without validation, Cleanup expired user's accounts, Force confirmation, Renew validation key, list unvalidated users,...) 53 53 Beautify plugin's main admin panel 54 55 -- 2.11.1 : Bug fixed with install and upgrade functions 56 Language files correction 54 57 55 58 */ -
extensions/NBC_UserAdvManager/branches/2.11/maintain.inc.php
r3859 r3873 8 8 function plugin_install() 9 9 { 10 global $conf; 11 10 12 $q = ' 11 13 INSERT INTO '.CONFIG_TABLE.' (param, value, comment) … … 16 18 $q = ' 17 19 INSERT INTO '.CONFIG_TABLE.' (param, value, comment) 18 VALUES ("nbc_UserAdvManager_ConfirmMail","false;5;false;Hello.<br>This is a reminder message because you registered on our gallery but you do not validate your registration and your validation key has expired. To still allow you to access to our gallery, your validation period has been reset. You have again 5 days to validate your registration.<br><br>Note: After this period, your account will be permanently deleted.;Hello.<br>This is a reminder message because you registered on our gallery but you do not validate your registration and your validation key will expire. To allow you access to our gallery, you have 2 days to confirm your registration by clicking on the link in the message you should have received when you registered.<br><br>Note: After this period, your account will be permanently deleted.","Parametres nbc_UserAdvManager - ConfirmMail;") 20 VALUES ("nbc_UserAdvManager_ConfirmMail","true;5;Hello. 21 22 This is a reminder message because you registered on our gallery but you do not validate your registration and your 23 24 validation key has expired. To still allow you to access to our gallery, your validation period has been reset. You 25 26 have again 5 days to validate your registration. 27 28 Note: After this period, your account will be permanently deleted.;true;Hello. 29 30 This is a reminder message because you registered on our gallery but you do not validate your registration and your 31 32 validation key will expire. To allow you access to our gallery, you have 2 days to confirm your registration by 33 34 clicking on the link in the message you should have received when you registered. 35 36 Note: After this period, your account will be permanently deleted.","Parametres nbc_UserAdvManager - ConfirmMail") 19 37 ;'; 20 38 pwg_query($q); … … 33 51 } 34 52 35 53 function plugin_activate() 54 { 55 global $conf; 56 57 /* Check for upgrade */ 58 $query = ' 59 SELECT *, COUNT (*) 60 FROM '.CONFIG_TABLE.' 61 WHERE param = "nbc_UserAdvManager_ConfirmMail" 62 ;'; 63 list($count) = mysql_fetch_row(pwg_query($query)); 64 65 /* upgrade from branch 2.10 */ 66 if ($count == 0) 67 { 68 upgrade_UserAdvManager(); 69 } 70 } 36 71 37 72 function plugin_uninstall() … … 53 88 pwg_query( $q ); 54 89 } 90 91 function upgrade_UserAdvManager() 92 { 93 global $conf; 94 95 $q = ' 96 INSERT INTO '.CONFIG_TABLE.' (param, value, comment) 97 VALUES ("nbc_UserAdvManager_ConfirmMail","true;5;Hello. 98 99 This is a reminder message because you registered on our gallery but you do not validate your registration and your 100 101 validation key has expired. To still allow you to access to our gallery, your validation period has been reset. You 102 103 have again 5 days to validate your registration. 104 105 Note: After this period, your account will be permanently deleted.;true;Hello. 106 107 This is a reminder message because you registered on our gallery but you do not validate your registration and your 108 109 validation key will expire. To allow you access to our gallery, you have 2 days to confirm your registration by 110 111 clicking on the link in the message you should have received when you registered. 112 113 Note: After this period, your account will be permanently deleted.","Parametres nbc_UserAdvManager - ConfirmMail") 114 ;'; 115 pwg_query($q); 116 } 55 117 ?>
Note: See TracChangeset
for help on using the changeset viewer.