Exemple #1
0
				$('#non_attendees ol.dragdrop').append('<li personnel_id="'+person.personnel_id+'" data-personnel_id="'+person.personnel_id+'">'+person.rank+' '+person.lastname+', '+person.firstname+'</li>'); 
		}
	});
	
	<?php 
    echo $ATC->user_has_permission(ATC_PERMISSION_ACTIVITIES_EDIT) ? '$("#attendees ol.dragdrop,#non_attendees ol.dragdrop").sortable({ connectWith: ".dragdrop.attendees" }).disableSelection();' : '';
    ?>
 
	
	
</script>
<?php 
    exit;
}
$ATC->gui_output_page_header('Activities');
$activities = $ATC->get_activities();
?>
	
	<a href="?action=icallinks" class="button external ical"> Load this calendar into my device </a>
	<form name="activitylist" id="activitylist" method="POST" style="clear:right;">
		<input type="hidden" name="activitylist" value="1" />
		<table class="tablesorter">
			<thead>
				<tr>
					<th rowspan="2"> Activity </th>
					<th rowspan="2"> Officer In Charge </th>
					<th rowspan="2"> 2<sup>nd</sup> Contact </th>
					<th colspan="2"> Date </th>
					<th colspan="2"> Attendance </th>
					<td>
						<?php