| |
1 |
1 |
<p> |
| |
2 |
2 |
[ |
| |
3 |
|
<a href="/admin/site-map/parameter-set?package%5fid=@package_id@">Package parameters</a> |
| |
|
3 |
<a href="/admin/site-map/parameter-set?@export_vars@">Package parameters</a> |
| |
4 |
4 |
| |
| |
5 |
5 |
<a href="/permissions/one?object%5fid=@package_id@">Package permissions</a> |
| |
6 |
6 |
] |
| |
7 |
7 |
</p> |
| |
8 |
8 |
<if @curriculums:rowcount@ ne 0> |
| |
9 |
9 |
<p align="right"> |
| |
10 |
10 |
<a href="thorough-flush">I'm done now, update the bar for everyone! (Use sparingly)</a> |
| |
11 |
11 |
</p> |
| |
12 |
12 |
<table border="0" width="100%"> |
| |
13 |
13 |
<tr bgcolor="#cccccc" border="0" cellpadding="0" cellspacing="0" width="100%"> |
| |
14 |
14 |
<th width="20%">Name</th> |
| |
15 |
15 |
<th width="50%">Description</th> |
| |
16 |
16 |
<th width="10%">State</th> |
| |
17 |
17 |
<th width="15%">Actions</th> |
| |
18 |
18 |
<th width="5%">Move</th> |
| |
19 |
19 |
</tr> |
| |
20 |
20 |
</table> |
| |
21 |
21 |
<br /> |
| |
22 |
22 |
<multiple name="curriculums"> |
| |
23 |
23 |
<tcl> |
|
| |
34 |
34 |
</td> |
| |
35 |
35 |
<td width="50%"> |
| |
36 |
36 |
@curriculums.curriculum_desc;noquote@ |
| |
37 |
37 |
<if @curriculums.curr_desc_trunc_p@> |
| |
38 |
38 |
... |
| |
39 |
39 |
[<a href="curriculum-ave?curriculum_id=@curriculums.curriculum_id@" title="Complete description">more</a>] |
| |
40 |
40 |
</if> |
| |
41 |
41 |
</td> |
| |
42 |
42 |
<td width="10%"> |
| |
43 |
43 |
@curriculums.pretty_state@ |
| |
44 |
44 |
</td> |
| |
45 |
45 |
<td width="15%"> |
| |
46 |
46 |
<a href="@notification_url@" title="@notification_title@">@notification_label@</a> |
| |
47 |
47 |
<a href="curriculum-delete?@curriculums.curriculum_id_export@" onclick="return confirm('Are you sure you want to delete this curriculum?');" title="Delete"> |
| |
48 |
48 |
<img src="/shared/images/Delete16.gif" border="0" width="16" height="16"> |
| |
49 |
49 |
</a> |
| |
50 |
50 |
</td> |
| |
51 |
51 |
<td width="5%"> |
| |
52 |
52 |
<if @curriculums.rownum@ gt 1> |
| |
53 |
53 |
<a href="curriculum-swap?sort_order=@curriculums.curriculum_sort_order@&direction=up" alt="^" title="Move up"> |
| |
54 |
|
<img src="../graphics/up.gif" border="0" width="15" height="15"> |
| |
55 |
|
</a> |
| |
|
54 |
<img src="../graphics/up.gif" border="0" width="15" height="15"></a> |
| |
56 |
55 |
</if> |
| |
57 |
56 |
<if @curriculums.curriculum_sort_order@ lt @curriculum_count@> |
| |
58 |
57 |
<a href="curriculum-swap?sort_order=@curriculums.curriculum_sort_order@&direction=down" alt="v" title="Move down"> |
| |
59 |
58 |
<img src="../graphics/down.gif" border="0" width="15" height="15"> |
| |
60 |
59 |
</a> |
| |
61 |
60 |
</if> |
| |
62 |
61 |
</td> |
| |
63 |
62 |
</tr> |
| |
64 |
63 |
<tr> |
| |
65 |
64 |
<td colspan="5"> |
| |
66 |
65 |
|
| |
67 |
66 |
<table border="0" cellpadding="2" cellspacing="1" width="100%"> |
| |
68 |
67 |
|
| |
69 |
68 |
<if @curriculums.element_id@ not nil> |
| |
70 |
69 |
<group column="curriculum_id"> |
| |
71 |
70 |
<if @curriculums.groupnum@ even><tr bgcolor="#eeeedd"></if><else><tr bgcolor="#eeeeee"></else> |
| |
72 |
71 |
<td width="20%"> |
| |
73 |
72 |
<li> |
| |
74 |
73 |
<a href="element-ave?@curriculums.curriculum_id_export@&@curriculums.element_id_export@">@curriculums.element_name@</a> |
| |
75 |
74 |
</li> |
|
| |
84 |
83 |
<td width="10%"> |
| |
85 |
84 |
<if @curriculums.element_enabled_p@> |
| |
86 |
85 |
Enabled |
| |
87 |
86 |
</td> |
| |
88 |
87 |
<td width="15%"> |
| |
89 |
88 |
<a href="element-disable?@curriculums.element_id_export@">Disable</a> |
| |
90 |
89 |
</if> |
| |
91 |
90 |
<else> |
| |
92 |
91 |
Disabled |
| |
93 |
92 |
</td> |
| |
94 |
93 |
<td width="15%"> |
| |
95 |
94 |
<a href="element-enable?@curriculums.element_id_export@">Enable</a> |
| |
96 |
95 |
<a href="element-delete?@curriculums.element_id_export@" onclick="return confirm('Are you sure you want to delete this element?');" title="Delete"> |
| |
97 |
96 |
<img src="/shared/images/Delete16.gif" border="0" width="16" height="16"> |
| |
98 |
97 |
</a> |
| |
99 |
98 |
</else> |
| |
100 |
99 |
</td> |
| |
101 |
100 |
<td width="20%"> |
| |
102 |
101 |
<if @curriculums.groupnum@ gt 1> |
| |
103 |
102 |
<a href="element-swap?@curriculums.curriculum_id_export@&sort_order=@curriculums.element_sort_order@&direction=up" alt="^" title="Move up"> |
| |
104 |
|
<img src="../graphics/up.gif" border="0" width="15" height="15"> |
| |
105 |
|
</a> |
| |
|
103 |
<img src="../graphics/up.gif" border="0" width="15" height="15"></a> |
| |
106 |
104 |
</if> |
| |
107 |
105 |
<if @curriculums.groupnum_last_p@ false> |
| |
108 |
106 |
<a href="element-swap?@curriculums.curriculum_id_export@&sort_order=@curriculums.element_sort_order@&direction=down" alt="v" title="Move down"> |
| |
109 |
107 |
<img src="../graphics/down.gif" border="0" width="15" height="15"> |
| |
110 |
108 |
</a> |
| |
111 |
109 |
</if> |
| |
112 |
110 |
</td> |
| |
113 |
111 |
</tr> |
| |
114 |
112 |
</group> |
| |
115 |
113 |
</if> |
| |
116 |
114 |
<else> |
| |
117 |
115 |
<tr bgcolor="#eeeedd"> |
| |
118 |
116 |
<td colspan="5"> |
| |
119 |
117 |
<li> |
| |
120 |
118 |
<i>No elements</i> |
| |
121 |
119 |
</li> |
| |
122 |
120 |
</td> |
| |
123 |
121 |
</tr> |
| |
124 |
122 |
</else> |
| |
125 |
123 |
<tr> |