You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
518 B

<?php
// (c) 2014 Trinity Desktop Project
// All Rights Reserved
// Authors: Timothy Pearson and Calvin Morrison
?>
<script type="text/javascript">
function toggle(showHideDiv, switchTextDiv) {
var ele = document.getElementById(showHideDiv);
var text = document.getElementById(switchTextDiv);
if(ele.style.display == "block") {
ele.style.display = "none";
text.innerHTML = "show all text of this entry";
}
else {
ele.style.display = "block";
text.innerHTML = "shrink entry";
}
}
</script>