Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jbutters/e068564b8461ab66ea59 to your computer and use it in GitHub Desktop.
Save jbutters/e068564b8461ab66ea59 to your computer and use it in GitHub Desktop.
page fragment to insert into admin student header
<!-- Start of custom alert -->
&nbsp&nbsp~[if.~([Students.U_Info]Alertcustomalert)="1"]<a class="dialogDivC" title="custom alert Student" href="#hiddenDivDialog"><img src="/images/alert_customalertfield.gif"></a>
<div id="hiddenDivDialog" class="hide">
<<div class="studentAlert" id="alert-customalert~(studentfrn)">
<img class="alertImage" src="/images/alert_customalert.gif" />
<div class="alertContent">
<p class="alertHeader">~(studentname)</p>
<p>~([Students.U_Info]Alertcustomalert;if.fieldvalue.1.then=CustomAlert)<br>&nbsp;<br><a href="/admin/students/misc.html?frn=~(studentfrn)"> Other information</a></p>
</div>
</div>
[/if]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment