Changeset 9788


Ignore:
Timestamp:
03/20/11 14:26:03 (9 years ago)
Author:
mistic100
Message:

[extensions] Contest Results

Location:
extensions/ContestResults
Files:
4 edited

Legend:

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

    r9745 r9788  
    3333 
    3434        $template->append('contests_'.$contest['status'], array( 
    35                 'NAME' =>               trigger_event('render_CR_content', $contest['name']), 
    36                 'VISIBLE' =>    $contest['visible'], 
     35                'NAME' => trigger_event('render_CR_content', $contest['name']), 
     36                'VISIBLE' => $contest['visible'], 
    3737                'DATE_BEGIN' => format_date($contest['date_begin']), 
    38                 'DATE_END' =>   format_date($contest['date_end']), 
    39                 'LOGO' =>               $contest['logo'], 
    40                 'U_RESULTS' =>  CR_ADMIN . '-results&contest_id=' . $contest['id'], 
    41                 'U_EDIT' =>     CR_ADMIN . '-edit&contest_id=' . $contest['id'], 
    42                 'U_DELETE' =>   CR_ADMIN . '-manage&delete_contest=' . $contest['id'], 
    43                 'URL' =>                CR_PUBLIC . $contest['id'] . '-' . str2url(trigger_event('render_CR_content', $contest['name'])), 
    44                 'DAYS' =>               $contest['days'], 
     38                'DATE_END' => format_date($contest['date_end']), 
     39                'LOGO' => $contest['logo'], 
     40                'U_RESULTS' => CR_ADMIN . '-results&contest_id=' . $contest['id'], 
     41                'U_EDIT' => CR_ADMIN . '-edit&contest_id=' . $contest['id'], 
     42                'U_DELETE' => CR_ADMIN . '-manage&delete_contest=' . $contest['id'], 
     43                'URL' => CR_PUBLIC . $contest['id'] . '-' . str2url(trigger_event('render_CR_content', $contest['name'])), 
     44                'DAYS' => $contest['days'], 
    4545        )); 
    4646} 
  • extensions/ContestResults/admin/template/config.tpl

    r9745 r9788  
    11{combine_css path=$CR_PATH|@cat:'admin/template/style.css'} 
    22 
    3 {footer_script require='jquery'} 
     3{footer_script require="jquery"} 
    44{literal} 
    55        function ToggleConfig(sel, section) { 
  • extensions/ContestResults/admin/template/style.css

    r9745 r9788  
    3030        vertical-align:top; 
    3131} 
    32 div.textareas span.title.cluetip{ 
     32.textareas .title.cluetip{ 
    3333        text-align:center; 
    3434        margin:20px 0 -10px 0; 
    3535        font-size:1.2em; 
    3636} 
    37 input.inputdate { 
     37.inputdate { 
    3838        background-image:url('image/calendar.png'); 
    3939        background-repeat:no-repeat; 
  • extensions/ContestResults/include/cr_menubar.php

    r9745 r9788  
    2424function CR_menubar_apply($menu_ref_arr) { 
    2525        global $template, $conf; 
    26         //$config = unserialize($conf['ContestResults']); 
    2726        $menu = &$menu_ref_arr[0]; 
    2827         
Note: See TracChangeset for help on using the changeset viewer.