Changeset 1111 for trunk/www/url.php


Ignore:
Timestamp:
03/19/10 18:29:25 (2 years ago)
Author:
wefgef
Message:

Added task ratings functionality and changed the task edit related pages UI.

  • Replaced all the edit links in a task page with a single edit link.
  • All the task related edit pages are grouped together using tabs.
  • Created a task ratings page
  • Included a script to create/update necessary database tables.

REVIEW URL http://reviewboard.infoarena.ro/r/140/

Includes changes from http://reviewboard.infoarena.ro/r/137/

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/url.php

    r1095 r1111  
    255255} 
    256256 
    257 function url_task_edit($task_id) { 
     257function url_task_edit($task_id, $action = 'edit') { 
    258258    log_assert(is_task_id($task_id)); 
    259     return url_complex("admin/problema/$task_id"); 
    260 } 
    261  
    262 function url_task_edit_tags($task_id) { 
    263     log_assert(is_task_id($task_id)); 
    264     return url_complex("admin/problema/{$task_id}", array( 'action' => 'tag-edit')); 
     259    return url_complex("problema/$task_id", array('action' => $action)); 
    265260} 
    266261 
Note: See TracChangeset for help on using the changeset viewer.