Lines 31-40
Link Here
|
31 |
<script type="text/javascript"> |
31 |
<script type="text/javascript"> |
32 |
//<![CDATA[ |
32 |
//<![CDATA[ |
33 |
$(document).ready(function(){ |
33 |
$(document).ready(function(){ |
34 |
addItemsButton = new YAHOO.widget.Button("add_items"); |
|
|
35 |
editCourseButton = new YAHOO.widget.Button("edit_course"); |
36 |
deleteCourseButton = new YAHOO.widget.Button("delete_course"); |
37 |
|
38 |
deleteCourseButton.on("click", confirmDelete ); |
34 |
deleteCourseButton.on("click", confirmDelete ); |
39 |
}); |
35 |
}); |
40 |
|
36 |
|
Lines 47-55
Link Here
|
47 |
//]]> |
43 |
//]]> |
48 |
</script> |
44 |
</script> |
49 |
<ul class="toolbar"> |
45 |
<ul class="toolbar"> |
50 |
[% IF CAN_user_coursereserves_add_reserves %]<li><a id="add_items" href="/cgi-bin/koha/course_reserves/add_items.pl?course_id=[% course.course_id %]">Add reserves</a></li>[% END %] |
46 |
[% IF CAN_user_coursereserves_add_reserves %]<li><a class="btn" id="add_items" href="/cgi-bin/koha/course_reserves/add_items.pl?course_id=[% course.course_id %]">Add reserves</a></li>[% END %] |
51 |
[% IF ( CAN_user_coursereserves_manage_courses ) %]<li><a id="edit_course" href="/cgi-bin/koha/course_reserves/course.pl?course_id=[% course.course_id %]">Edit course</a></li>[% END %] |
47 |
[% IF ( CAN_user_coursereserves_manage_courses ) %]<li><a class="btn" id="edit_course" href="/cgi-bin/koha/course_reserves/course.pl?course_id=[% course.course_id %]">Edit course</a></li>[% END %] |
52 |
[% IF ( CAN_user_coursereserves_manage_courses ) %]<li><a id="delete_course" href="/cgi-bin/koha/course_reserves/mod_course.pl?course_id=[% course.course_id %]&action=del">Delete course</a></li>[% END %] |
48 |
[% IF ( CAN_user_coursereserves_manage_courses ) %]<li><a class="btn" id="delete_course" href="/cgi-bin/koha/course_reserves/mod_course.pl?course_id=[% course.course_id %]&action=del">Delete course</a></li>[% END %] |
53 |
</ul> |
49 |
</ul> |
54 |
</div><!-- /toolbar --> |
50 |
</div><!-- /toolbar --> |
55 |
|
51 |
|