josee
committed
on 16 May 06
1. adding the runs (imsld instances) table
1.1. every property, role and instance is related with the run instead of the imsld_id
1.2. in th… Show more
1. adding the runs (imsld instances) table

1.1. every property, role and instance is related with the run instead of the imsld_id

1.2. in the status table, the run_id is also stored

1.3. adding the UI to add and remove runs

1.4. passing as an argument the run_id in every function that has to do with the player

2. instantiating properties for new run

3. instantiating activity attributes and classes for each new run

Show less

openacs-4/packages/tasks/www/contact.tcl (+3 -5)
1 1 ad_page_contract {
2 2
3 3     Main view page for tasks.
4 4
5 5     @author jader@bread.com
6 6     @creation-date 2003-12-03
7 7     @cvs-id $Id$
8 8
9 9     @return title Page title.
10 10     @return context Context bar.
11 11     @return tasks Multirow data set of tasks
12       @return task_term Terminology for tasks
13       @return task_term_lower Terminology for tasks (lower case)
14       @return project_term Terminology for projects
15       @return project_term_lower Terminology for projects (lower case)
16 12
17 13     @param mine_p is used to make the default be the user, but
18 14     still allow people to view everyone.
19 15
20 16 } {
21 17     {orderby ""}
  18     {page:optional "1"}
  19     {page_size:optional "25"}
22 20     {party_id ""}
23 21     {searchterm ""}
24 22     {mine_p "t"}
25 23     {status_id "1"}
26 24     {process_instance:integer,optional}
27 25 } -properties {
28 26     task_term:onevalue
29 27     context:onevalue
30 28     tasks:multirow
31 29     hidden_vars:onevalue
32 30 }
33 31
34 32 set user_id [ad_conn user_id]
35 33 set package_id [ad_conn package_id]
36 34 set admin_p [permission::permission_p -object_id $package_id -privilege admin]
37 35 set context {}