~[SetPostValue:idm_attendanceMode=~[displaypref:idm_attendanceMode]]

~[if#override.pref.idm_schoolOverride=1]
	~[if#schoolOverride.prefschool.idm_attendanceModeOverride=1]
		~[SetPostValue:idm_attendanceMode=~[displayprefschool:idm_attendanceMode]]
	[/if#schoolOverride]
[/if#override]

~[if#meetingEnabled.~(gpv.idm_attendanceMode)=meeting]
	<div class="hide" id="idmFOTMLink">
		<div class="button-row">
			<a class="button" href="idm_scanAttendance.html">~[text:psx.htmlc.idmFOTM.minute_based_scanning_meeting]</a>
		</div>
	</div>

	<script>
		$j(document).ready(function() {
			$j("#content-main ul.tabs").after($j("#idmFOTMLink").children())
		})
	</script>
[/if#meetingEnabled]