<?php$u=new User();//gets current user objectif($u->isLoggedIn()){// if a user is logged in, disable Mootools ?>
<!-- <script type="text/javascript" src="mootools.js"></script> -->
<?php}else{?>
<script type="text/javascript" src="mootools.js"></script>
<?php}?>
Code
Post Reply
Delete Post
You are allowed to delete your post for 5 minutes after it's posted.
http://www.concrete5.org/community/forums/customizing_c5/discrimina...
It works great.