Changeset 2048


Ignore:
Timestamp:
Jun 30, 2007, 3:40:19 AM (17 years ago)
Author:
rvelices
Message:
  • fix help files
  • feature 695 added action loc_user_profile_updated in profile.php
  • added event allow_increment_element_hit_count in picture.php
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/language/en_UK.iso-8859-1/help/configuration.html

    r2032 r2048  
    2525  gallery.</li>
    2626
     27  <li><strong>Rating</strong>: Picture rating feature is enabled.</li>
     28
     29  <li><strong>Rating by guests</strong>: Even non registered users can rate images.</li>
     30
    2731  <li><strong>Allow user registration</strong>: Registration is free for all.</li>
    2832
    2933  <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 
    31   <li><strong>Rating</strong>: Picture rating feature is enabled.</li>
    32 
    33   <li><strong>Rating by guests</strong>: Even non registered users can
    34 rate images.</li>
    3534
    3635  <li><strong>Email admins when a new user registers</strong>: Administrators will be received mail for each registration.</li>
  • trunk/language/fr_FR.iso-8859-1/help/configuration.html

    r2032 r2048  
    2525galerie.</li>
    2626
     27  <li><strong>Notation</strong>: La notation des photos est possible.</li>
     28
     29  <li><strong>Notation par les visiteurs</strong>: Même les utilisateurs non enregistrés peuvent noter les images.</li>
     30
    2731  <li><strong>Permettre l'enregistrement des utilisateurs</strong>: L'inscription est libre pour tous.</li>
    2832
    2933  <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 
    31   <li><strong>Notation</strong>: La notation des photos est possible.</li>
    32 
    33   <li><strong>Notation par les visiteurs</strong>: Même les utilisateurs
    34 non enregistrés peuvent noter les images.</li>
    3534
    3635  <li><strong>Notifier les administrateurs lors de l'inscription d'un utilisateur</strong>: Les administrateurs recevront un courriel à chaque inscription.</li>
  • trunk/picture.php

    r2029 r2048  
    242242
    243243// incrementation of the number of hits, we do this only if no action
    244 $query = '
     244if (trigger_event('allow_increment_element_hit_count', true) )
     245{
     246  $query = '
    245247UPDATE
    246248  '.IMAGES_TABLE.'
     
    248250  WHERE id = '.$page['image_id'].'
    249251;';
    250 pwg_query($query);
    251 
     252  pwg_query($query);
     253}
    252254//---------------------------------------------------------- related categories
    253255$query = '
  • trunk/profile.php

    r2029 r2048  
    195195                 array($data));
    196196
    197     // redirection
     197    trigger_action( 'loc_user_profile_updated', $_POST['userid'] );
     198   
    198199    if (!empty($_POST['redirect']))
    199200    {
Note: See TracChangeset for help on using the changeset viewer.