Ignore:
Timestamp:
Feb 28, 2011, 3:49:27 PM (14 years ago)
Author:
mistic100
Message:

[extensions] ContestResults

  • add messages on admin pages
File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/ContestResults/admin/results.php

    r9200 r9419  
    2626        }
    2727       
    28         redirect(CR_ADMIN . '&tab=results&contest_id=' . $_GET['contest_id']);
     28        redirect(CR_ADMIN . '&tab=results&msg=saved&contest_id=' . $_GET['contest_id']);
    2929}
    3030
     
    3232//                              Affichage des résultats
    3333// +-----------------------------------------------------------------------+
     34if (isset($_GET['msg']) AND $_GET['msg'] == 'saved')
     35        array_push($page['infos'], l10n('CR_results_saved'));
     36       
     37       
    3438// Nom du concours
    3539$query = "SELECT name FROM " . CR_TABLE_1 . " WHERE id = " . $_GET['contest_id'] . ";";
Note: See TracChangeset for help on using the changeset viewer.