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/views/task_tag_edit.php

    r1089 r1111  
    11<?php 
     2    require_once(IA_ROOT_DIR."www/views/task_edit_header.php"); 
     3 
    24    include('header.php'); 
     5    $task_id = $view['task']['id']; 
    36    $task_link = url_task($view['task']['id']); 
    47    $task_title = $view['task']['title']; 
    5     $action_link = url_task_edit_tags($view['task']['id']); 
     8    $action_link = url_task_edit($view['task']['id'], 'task-edit-tags'); 
    69    $task_tags = $view['task_tags']; 
     10 
     11    echo task_edit_tabs($task_id, request("action")); 
    712?> 
    8 <h1>Taguri pentru problema <a href="<?= $task_link ?>"><?= $task_title ?></a></h1> 
     13 
     14<h1>Editare taguri <a href="<?= $task_link ?>"><?= $task_id ?></a></h1> 
    915<form name="task_tags" action="<?= $action_link ?>" method="post"> 
    1016<?php 
     
    2834    } 
    2935?> 
    30 <input type="submit" class="button important" value="Submit" /> 
     36<input type="submit" class="button important" value="Salveaza" /> 
    3137</form> 
    3238 
Note: See TracChangeset for help on using the changeset viewer.