2009-08-26 5 views

답변

2

(테스트되지 않은)

글로벌 $ 사용자;

<?php if (!in_array('anonymous', array_values($user->roles)) && $show_messages && $messages): ?> 
     <?php print $messages; ?>   
    <?php endif; ?> 
+0

감사합니다. – BrianV

관련 문제