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_edit.php

    r1084 r1111  
    33require_once(IA_ROOT_DIR."common/tags.php"); 
    44require_once(IA_ROOT_DIR."www/format/form.php"); 
     5require_once(IA_ROOT_DIR."www/views/task_edit_header.php"); 
    56 
    67$view['head'] = getattr($view, 'head'). 
     
    910include('views/header.php'); 
    1011include('views/tags_header.php'); 
     12 
     13echo task_edit_tabs($view['task_id'], request("action")); 
    1114 
    1215// Validate task. 
     
    9598?> 
    9699 
    97 <h1>Editare <a href="<?= html_escape(url_task($view['task_id'])) ?>"><?= html_escape($view['title']) ?></a></h1> 
     100<h1>Editare parametri <a href="<?= html_escape(url_task($view['task_id'])) ?>"> 
     101<?= html_escape($view['task_id']) ?></a></h1> 
    98102 
    99103<?php if (identity_can("task-delete", $task)) { ?> 
     
    104108<?php } ?> 
    105109 
    106 <form action="<?= html_escape(url_task_edit($task_id)) ?>" 
     110<form action="<?= html_escape(url_task_edit($task_id, 'task-edit-params')) ?>" 
    107111      method="post" 
    108112      class="task" 
Note: See TracChangeset for help on using the changeset viewer.