Changeset 10391 for extensions
- Timestamp:
- Apr 15, 2011, 9:41:42 PM (13 years ago)
- Location:
- extensions/UserAdvManager/trunk
- Files:
-
- 19 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/UserAdvManager/trunk/admin/UAM_admin.php
r10359 r10391 106 106 case 'global': 107 107 108 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']) and isset($_POST['UAM_Stuffs']) )108 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']) and isset($_POST['UAM_Stuffs']) and isset($_POST['UAM_HidePassw'])) 109 109 { 110 110 … … 178 178 $_POST['UAM_USRAutoDelText'], 179 179 $_POST['UAM_USRAutoMail'], 180 $_POST['UAM_Stuffs'] 180 $_POST['UAM_Stuffs'], 181 $_POST['UAM_HidePassw'] 181 182 ); 182 183 … … 446 447 'UAM_STUFFS_TRUE' => $conf_UAM[34]=='true' ? 'checked="checked"' : '' , 447 448 'UAM_STUFFS_FALSE' => $conf_UAM[34]=='false' ? 'checked="checked"' : '' , 449 'UAM_HIDEPASSW_TRUE' => $conf_UAM[35]=='true' ? 'checked="checked"' : '' , 450 'UAM_HIDEPASSW_FALSE' => $conf_UAM[35]=='false' ? 'checked="checked"' : '' , 448 451 'UAM_PASSWORD_TEST_SCORE' => $UAM_Password_Test_Score, 449 452 'UAM_ERROR_REPORTS4' => $UAM_Exclusionlist_Error, -
extensions/UserAdvManager/trunk/admin/template/global.tpl
r10359 r10391 184 184 <fieldset> 185 185 <ul> 186 <li> 187 <label class="cluetip" title="{'UAM_HidePasswTitle'|translate}|{'UAM_HidePasswTitle_d'|translate}"> 188 {'UAM_HidePassw'|@translate} 189 </label> 190 <br><br> 191 <input type="radio" value="false" {$UAM_HIDEPASSW_FALSE} name="UAM_HidePassw"> 192 {'UAM_Disable'|@translate} 193 <br> 194 <input type="radio" value="true" {$UAM_HIDEPASSW_TRUE} name="UAM_HidePassw"> 195 {'UAM_Enable'|@translate} 196 <br><br> 197 </li> 198 186 199 <li> 187 200 <label class="cluetip" title="{'UAM_infotxtTitle'|translate}|{'UAM_infotxtTitle_d'|translate}"> -
extensions/UserAdvManager/trunk/changelog.txt.php
r10359 r10391 242 242 Bug 2258 fixed - New feature to backup UAM configuration and personnal settings 243 243 244 -- 2.20.4 : Bug 2265 fixed - Add new option to display or not user's password in information email 244 245 */ 245 246 ?> -
extensions/UserAdvManager/trunk/include/functions.inc.php
r10342 r10391 858 858 if (isset($conf_UAM[0]) and $conf_UAM[0] == 'true') 859 859 { 860 $infos1 = array( 861 get_l10n_args('UAM_infos_mail %s', stripslashes($username)), 862 get_l10n_args('UAM_User: %s', stripslashes($username)), 863 get_l10n_args('UAM_Password: %s', $password), 864 get_l10n_args('Email: %s', $email), 865 get_l10n_args('', ''), 866 ); 867 } 868 860 if (isset($conf_UAM[35]) and $conf_UAM[35] == 'false') // Allow display of clear password in email 861 { 862 $infos1 = array( 863 get_l10n_args('UAM_infos_mail %s', stripslashes($username)), 864 get_l10n_args('UAM_User: %s', stripslashes($username)), 865 get_l10n_args('UAM_Password: %s', $password), 866 get_l10n_args('Email: %s', $email), 867 get_l10n_args('', ''), 868 ); 869 } 870 else // Do not allow display of clear password in email 871 { 872 $infos1 = array( 873 get_l10n_args('UAM_infos_mail %s', stripslashes($username)), 874 get_l10n_args('UAM_User: %s', stripslashes($username)), 875 get_l10n_args('Email: %s', $email), 876 get_l10n_args('', ''), 877 ); 878 } 879 } 869 880 870 881 if ( isset($conf_UAM[1]) and $conf_UAM[1] == 'true' and $confirm) -
extensions/UserAdvManager/trunk/include/upgradedb.inc.php
r10144 r10391 398 398 } 399 399 } 400 401 /* upgrade from 2.20.3 to 2.20.4 */ 402 /* ***************************** */ 403 function upgrade_2203_2204() 404 { 405 global $conf; 406 407 // Upgrading options 408 $query = ' 409 SELECT value 410 FROM '.CONFIG_TABLE.' 411 WHERE param = "UserAdvManager" 412 ;'; 413 414 $result = pwg_query($query); 415 $conf_UAM = pwg_db_fetch_assoc($result); 416 417 $Newconf_UAM = unserialize($conf_UAM['value']); 418 419 $Newconf_UAM[35] = 'false'; 420 421 $update_conf = serialize($Newconf_UAM); 422 423 $query = ' 424 UPDATE '.CONFIG_TABLE.' 425 SET value="'.addslashes($update_conf).'" 426 WHERE param="UserAdvManager" 427 LIMIT 1 428 ;'; 429 430 pwg_query($query); 431 } 400 432 ?> -
extensions/UserAdvManager/trunk/language/de_DE/help/plugin.lang.php
r10342 r10391 279 279 Die Erholung von dieser Schnittstelle wird nicht unterstützt. Verwenden Sie Tools wie phpMyAdmin.'; 280 280 // --------- End: New or revised $lang ---- from version 2.20.3 281 282 283 // --------- Starting below: New or revised $lang ---- from version 2.20.4 284 $lang['UAM_HidePasswTitle'] = 'Passwort im Klartext in der Informations-E-Mail'; 285 /*TODO*/$lang['UAM_HidePasswTitle_d'] = 'Choose here if you want to display the password chosen by the visitor in the information email. If you enable the option, the password will then appear in clear text. If you disable the password will not appear at all.'; 286 // --------- End: New or revised $lang ---- from version 2.20.4 281 287 ?> -
extensions/UserAdvManager/trunk/language/de_DE/plugin.lang.php
r10342 r10391 325 325 $lang['UAM_Dump_NOK'] = 'Fehler: Backup-Datei kann nicht erstellt werden !'; 326 326 // --------- End: New or revised $lang ---- from version 2.20.3 327 328 329 // --------- Starting below: New or revised $lang ---- from version 2.20.4 330 $lang['UAM_HidePassw'] = 'Passwort im Klartext in der Informations-E-Mail'; 331 // --------- End: New or revised $lang ---- from version 2.20.4 327 332 ?> -
extensions/UserAdvManager/trunk/language/en_UK/help/plugin.lang.php
r10342 r10391 279 279 The recovery from this interface is not supported. Use tools like phpMyAdmin.'; 280 280 // --------- End: New or revised $lang ---- from version 2.20.3 281 282 283 // --------- Starting below: New or revised $lang ---- from version 2.20.4 284 $lang['UAM_HidePasswTitle'] = 'Password in clear text in the information email'; 285 $lang['UAM_HidePasswTitle_d'] = 'Choose here if you want to display the password chosen by the visitor in the information email. If you enable the option, the password will then appear in clear text. If you disable the password will not appear at all.'; 286 // --------- End: New or revised $lang ---- from version 2.20.4 281 287 ?> -
extensions/UserAdvManager/trunk/language/en_UK/plugin.lang.php
r10342 r10391 327 327 $lang['UAM_Dump_NOK'] = 'Error: Unable to create backup file !'; 328 328 // --------- End: New or revised $lang ---- from version 2.20.3 329 330 331 // --------- Starting below: New or revised $lang ---- from version 2.20.4 332 $lang['UAM_HidePassw'] = 'Password in clear text in the information email'; 333 // --------- End: New or revised $lang ---- from version 2.20.4 329 334 ?> -
extensions/UserAdvManager/trunk/language/es_ES/help/plugin.lang.php
r10342 r10391 275 275 The recovery from this interface is not supported. Use tools like phpMyAdmin.'; 276 276 // --------- End: New or revised $lang ---- from version 2.20.3 277 278 279 // --------- Starting below: New or revised $lang ---- from version 2.20.4 280 $lang['UAM_HidePasswTitle'] = 'Contraseña en texto claro en la información del correo electrónico'; 281 /*TODO*/$lang['UAM_HidePasswTitle_d'] = 'Choose here if you want to display the password chosen by the visitor in the information email. If you enable the option, the password will then appear in clear text. If you disable the password will not appear at all.'; 282 // --------- End: New or revised $lang ---- from version 2.20.4 277 283 ?> -
extensions/UserAdvManager/trunk/language/es_ES/plugin.lang.php
r10342 r10391 365 365 /*TODO*/$lang['UAM_Dump_NOK'] = 'Error: Unable to create backup file !'; 366 366 // --------- End: New or revised $lang ---- from version 2.20.3 367 368 369 // --------- Starting below: New or revised $lang ---- from version 2.20.4 370 $lang['UAM_HidePassw'] = 'Contraseña en texto claro en la información del correo electrónico'; 371 // --------- End: New or revised $lang ---- from version 2.20.4 367 372 ?> -
extensions/UserAdvManager/trunk/language/fr_FR/help/plugin.lang.php
r10342 r10391 275 275 La restauration à partir de cette interface n\'est pas prise en charge. Utilisez des outils comme PhpMyAdmin.'; 276 276 // --------- End: New or revised $lang ---- from version 2.20.3 277 278 279 // --------- Starting below: New or revised $lang ---- from version 2.20.4 280 $lang['UAM_HidePasswTitle'] = 'Mot de passe en clair dans le mail d\'information'; 281 $lang['UAM_HidePasswTitle_d'] = 'Choisissez ici si vous souhaitez faire afficher le mot de passe choisi par le visiteur dans le mail d\'information. Si vous activez l\'option, le mot de passe apparaitra alors en clair. Si vous la désactivez, le mot de passe n\'apparaitra pas du tout.'; 282 // --------- End: New or revised $lang ---- from version 2.20.4 277 283 ?> -
extensions/UserAdvManager/trunk/language/fr_FR/plugin.lang.php
r10342 r10391 326 326 $lang['UAM_Dump_NOK'] = 'Erreur : Impossible de créer le fichier de sauvegarde !'; 327 327 // --------- End: New or revised $lang ---- from version 2.20.3 328 329 330 // --------- Starting below: New or revised $lang ---- from version 2.20.4 331 $lang['UAM_HidePassw'] = 'Mot de passe en clair dans le mail d\'information'; 332 // --------- End: New or revised $lang ---- from version 2.20.4 328 333 ?> -
extensions/UserAdvManager/trunk/language/it_IT/help/plugin.lang.php
r10342 r10391 266 266 The recovery from this interface is not supported. Use tools like phpMyAdmin.'; 267 267 // --------- End: New or revised $lang ---- from version 2.20.3 268 269 270 // --------- Starting below: New or revised $lang ---- from version 2.20.4 271 $lang['UAM_HidePasswTitle'] = 'Password in chiaro nelle informazioni e-mail'; 272 /*TODO*/$lang['UAM_HidePasswTitle_d'] = 'Choose here if you want to display the password chosen by the visitor in the information email. If you enable the option, the password will then appear in clear text. If you disable the password will not appear at all.'; 273 // --------- End: New or revised $lang ---- from version 2.20.4 268 274 ?> -
extensions/UserAdvManager/trunk/language/it_IT/plugin.lang.php
r10342 r10391 324 324 /*TODO*/$lang['UAM_Dump_NOK'] = 'Error: Unable to create backup file !'; 325 325 // --------- End: New or revised $lang ---- from version 2.20.3 326 327 328 // --------- Starting below: New or revised $lang ---- from version 2.20.4 329 $lang['UAM_HidePassw'] = 'Password in chiaro nelle informazioni e-mail'; 330 // --------- End: New or revised $lang ---- from version 2.20.4 326 331 ?> -
extensions/UserAdvManager/trunk/language/lv_LV/help/plugin.lang.php
r10342 r10391 301 301 The recovery from this interface is not supported. Use tools like phpMyAdmin.'; 302 302 // --------- End: New or revised $lang ---- from version 2.20.3 303 304 305 // --------- Starting below: New or revised $lang ---- from version 2.20.4 306 /*TODO*/$lang['UAM_HidePasswTitle'] = 'Password in clear text in the information email'; 307 /*TODO*/$lang['UAM_HidePasswTitle_d'] = 'Choose here if you want to display the password chosen by the visitor in the information email. If you enable the option, the password will then appear in clear text. If you disable the password will not appear at all.'; 308 // --------- End: New or revised $lang ---- from version 2.20.4 303 309 ?> -
extensions/UserAdvManager/trunk/language/lv_LV/plugin.lang.php
r10342 r10391 362 362 /*TODO*/$lang['UAM_Dump_NOK'] = 'Error: Unable to create backup file !'; 363 363 // --------- End: New or revised $lang ---- from version 2.20.3 364 365 366 // --------- Starting below: New or revised $lang ---- from version 2.20.4 367 /*TODO*/$lang['UAM_HidePassw'] = 'Clear password in information email'; 368 // --------- End: New or revised $lang ---- from version 2.20.4 364 369 ?> -
extensions/UserAdvManager/trunk/main.inc.php
r10342 r10391 2 2 /* 3 3 Plugin Name: UserAdvManager 4 Version: 2.20. 34 Version: 2.20.4 5 5 Description: Renforcer la gestion des utilisateurs - Enforce users management 6 6 Plugin URI: http://piwigo.org/ext/extension_view.php?eid=216 -
extensions/UserAdvManager/trunk/maintain.inc.php
r10168 r10391 22 22 Best regards, 23 23 24 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','false' );24 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','false','false'); 25 25 26 26 $query = ' … … 238 238 /* Check for upgrade from 2.16 to 2.20 */ 239 239 /* *********************************** */ 240 if (isset($conf['UserAdvManager_Version']) and $conf['UserAdvManager_Version'] == '2.16.0')240 if (isset($conf['UserAdvManager_Version']) and strcmp($conf['UserAdvManager_Version'], '2.20.0') < 0) 241 241 { 242 242 /* upgrade from branch 2.16 to 2.20 */ 243 243 /* ******************************** */ 244 244 upgrade_216_220(); 245 } 246 247 /* Check for upgrade from 2.20.3 to 2.20.4 */ 248 /* *************************************** */ 249 if (isset($conf['UserAdvManager_Version']) and strcmp($conf['UserAdvManager_Version'], '2.20.4') < 0) 250 { 251 /* upgrade from branch 2.16 to 2.20 */ 252 /* ******************************** */ 253 upgrade_2203_2204(); 245 254 } 246 255
Note: See TracChangeset
for help on using the changeset viewer.