In your template :

<?php if ($sf_user->hasCredentials(...)): ?>
<?php use_javascript(...) ?>
<?php endif ?>

2009/10/21 Konrad <[email protected]>

>
> Hi,
>
> does anybody know how to include specific js script (file) for
> specific module/action only for authorized users in a nice/proper way?
>
> thx in advance.
> Konrad
>
> >
>


-- 
Alexandre Salomé -- [email protected]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to