Ignore:
Timestamp:
Jan 27, 2011, 8:46:55 PM (13 years ago)
Author:
tiico
Message:

Prepare v2.0.0 for Concours photo plugin :

  • Add exaequo checking for the result (beta)
  • Add EN language
  • Correct "concours not displayed" when no group is selected in admin page. Now, concours is available for all registered user (not depending on the group appartenance)
  • Add option to allow author to vote for their photos (disable check based on username=authorname)
  • Add option to allow user to change the score after a validation
  • Add to guest the possibility to vote for a concours (BETA)
  • Some correction (code and database structure)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/ConcoursPhoto/admin/params.php

    r4428 r8946  
    1515  $concours->my_config['mask_author'] = isset($_POST['mask_author']);
    1616  $concours->my_config['thumb_note'] = isset($_POST['thumb_note']);
    17   $concours->my_config['mask_exif'] = isset($_POST['mask_exif']);
     17
     18  $concours->my_config['check_exaequo'] = isset($_POST['check_exaequo']);
     19
     20  $concours->my_config['author_vote_available'] = isset($_POST['author_vote_available']);
     21  $concours->my_config['concours_change_score'] = isset($_POST['concours_change_score']);
    1822
    1923  $concours->save_config();
     
    3135    'MASK_AUTHOR'                       => ($concours->my_config['mask_author'] ? 'checked="checked"' : ''),
    3236    'THUMB_NOTE'                        => ($concours->my_config['thumb_note'] ? 'checked="checked"' : ''),
    33     'MASK_EXIF'                         => ($concours->my_config['mask_exif'] ? 'checked="checked"' : ''),
    34                         ));
     37    'CHECK_EXAEQUO'         => ($concours->my_config['check_exaequo'] ? 'checked="checked"' : ''),
     38    'AUTHOR_VOTE_AVAILABLE' => ($concours->my_config['author_vote_available'] ? 'checked="checked"' : ''),
     39    'CHANGE_SCORE'          => ($concours->my_config['concours_change_score'] ? 'checked="checked"' : ''),
     40
     41        ));
    3542
    3643$result = array();
Note: See TracChangeset for help on using the changeset viewer.