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/textblock_edit.php

    r1077 r1111  
    66include('views/header.php'); 
    77include('views/tags_header.php'); 
     8 
     9// insert task edit tabs 
     10if (($task_id = textblock_security_is_task($page['security'])) && 
     11    (identity_can('task-edit', task_get($task_id)))) { 
     12    require_once(IA_ROOT_DIR."www/views/task_edit_header.php"); 
     13    echo task_edit_tabs($task_id, request("action")); 
    814?> 
     15<h1>Editare enunț <a href="<?= html_escape(url_task($task_id)) ?>"> 
     16<?= html_escape($task_id) ?></a></h1> 
     17<?php } ?> 
    918 
    1019<form accept-charset="utf-8" action="<?= html_escape(url_textblock_edit($page_name)) ?>" method="post" id="form_wikiedit" <?= tag_form_event() ?>> 
Note: See TracChangeset for help on using the changeset viewer.