Changeset 2032
- Timestamp:
- Jun 11, 2007, 12:01:18 AM (17 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/configuration.php
r2021 r2032 50 50 51 51 $main_checkboxes = array( 52 'allow_user_registration', 53 'obligatory_user_mail_address', 52 54 'rate', 53 55 'rate_anonymous', 54 56 'email_admin_on_new_user', 55 'allow_user_registration',56 57 'email_admin_on_picture_uploaded', 57 58 ); -
trunk/include/functions_user.inc.php
r2029 r2032 32 32 function validate_mail_address( $mail_address ) 33 33 { 34 global $lang; 35 36 if ( $mail_address == '' ) 34 global $lang, $conf; 35 36 if (empty($mail_address) and 37 !($conf['obligatory_user_mail_address'] and in_array(script_basename(), array('register', 'profile')))) 37 38 { 38 39 return ''; -
trunk/install/config.sql
r1926 r2032 24 24 INSERT INTO phpwebgallery_config (param,value,comment) VALUES ('email_admin_on_comment_validation','false','Send an email to the administrators when a comment requires validation'); 25 25 INSERT INTO phpwebgallery_config (param,value,comment) VALUES ('email_admin_on_picture_uploaded','false','Send an email to the administrators when a picture is uploaded'); 26 INSERT INTO phpwebgallery_config (param,value,comment) VALUES ('obligatory_user_mail_address','false','Mail address is obligatory for users'); -
trunk/language/en_UK.iso-8859-1/admin.lang.php
r2024 r2032 617 617 $lang['Guest cannot be deleted'] = 'Guest cannot be deleted'; 618 618 $lang['Default user cannot be deleted'] = 'Default user cannot be deleted'; 619 $lang['obligatory_user_mail_address'] = 'Mail address is obligatory for all users'; 619 620 ?> -
trunk/language/en_UK.iso-8859-1/help/configuration.html
r1901 r2032 25 25 gallery.</li> 26 26 27 <li><strong>Allow user registration</strong>: Registration is free for all.</li> 28 29 <li><strong>Mail address is obligatory for all users</strong>: Mail address will checked on registration or profile update except if the action is done on administration part.</li> 30 27 31 <li><strong>Rating</strong>: Picture rating feature is enabled.</li> 28 32 … … 31 35 32 36 <li><strong>Email admins when a new user registers</strong>: Administrators will be received mail for each registration.</li> 33 34 <li><strong>Allow user registration</strong>: Registration is free for all.</li>35 37 36 38 <li><strong>Email adminis when a picture is uploaded</strong>: Administrators will be received mail for each picture uploaded by a user.</li> -
trunk/language/fr_FR.iso-8859-1/admin.lang.php
r2024 r2032 618 618 $lang['Guest cannot be deleted'] = 'L\'invité ne peut pas être supprimé'; 619 619 $lang['Default user cannot be deleted'] = 'L\'utilisateur par défaut ne peut pas être supprimé'; 620 $lang['obligatory_user_mail_address'] = 'L\'adresse mail est obligatoire pour tous les utilisateurs'; 620 621 ?> -
trunk/language/fr_FR.iso-8859-1/help/configuration.html
r1901 r2032 25 25 galerie.</li> 26 26 27 <li><strong>Permettre l'enregistrement des utilisateurs</strong>: L'inscription est libre pour tous.</li> 28 29 <li><strong>L'adresse mail est obligatoire pour tous les utilisateurs</strong>: L'adresse mail sera vérifié lors des inscriptions ou de la mise à jour des profils sauf si l'action est effectuée dans la partie administration.</li> 30 27 31 <li><strong>Notation</strong>: La notation des photos est possible.</li> 28 32 … … 31 35 32 36 <li><strong>Notifier les administrateurs lors de l'inscription d'un utilisateur</strong>: Les administrateurs recevront un courriel à chaque inscription.</li> 33 34 <li><strong>Permettre l'enregistrement des utilisateurs</strong>: L'inscription est libre pour tous.</li>35 37 36 38 <li><strong>Notifier les administrateurs quand une image est téléchargée</strong>: Les administrateurs recevront un courriel à chaque image mis à disposition par un utilisateur.</li> -
trunk/plugins
- Property svn:ignore
-
old new 5 5 look_like_gbo 6 6 secureImages 7 my_phpwebheader 8 personal
-
- Property svn:ignore
-
trunk/template/yoga/admin/configuration.tpl
r1926 r2032 44 44 <fieldset id="mainConfCheck"> 45 45 <ul> 46 <li> 47 <label for="allow_user_registration"> 48 <span class="property">{lang:Allow user registration}</span> 49 <input type="checkbox" name="allow_user_registration" id="allow_user_registration" {main.ALLOW_USER_REGISTRATION} /> 50 </label> 51 </li> 52 53 <li> 54 <label for="obligatory_user_mail_address"> 55 <span class="property">{lang:obligatory_user_mail_address}</span> 56 <input type="checkbox" name="obligatory_user_mail_address" id="obligatory_user_mail_address" {main.OBLIGATORY_USER_MAIL_ADDRESS} /> 57 </label> 58 </li> 46 59 47 60 <li> … … 53 66 <span class="property">{lang:Rating by guests}</span> 54 67 <input type="checkbox" name="rate_anonymous" {main.RATE_ANONYMOUS} /> 55 </li>56 57 <li>58 <label for="allow_user_registration">59 <span class="property">{lang:Allow user registration}</span>60 <input type="checkbox" name="allow_user_registration" id="allow_user_registration" {main.ALLOW_USER_REGISTRATION} />61 </label>62 68 </li> 63 69
Note: See TracChangeset
for help on using the changeset viewer.