X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fskin%2Fcommon.menu.tpl;h=d5eda4f8411f4e1055b72cdc09a145ee1ecbec7d;hb=5cfb3dd10421468779a740595b3e5e68aba9838e;hp=0c3b785c60f25f8470335f884507c2e67abba5f8;hpb=2925df1bd6cb08c1f29822019fcb82e59f63f8a3;p=platal.git diff --git a/templates/skin/common.menu.tpl b/templates/skin/common.menu.tpl index 0c3b785..d5eda4f 100644 --- a/templates/skin/common.menu.tpl +++ b/templates/skin/common.menu.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2008 Polytechnique.org *} +{* Copyright (C) 2003-2011 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -24,7 +24,7 @@ - + @@ -45,35 +45,53 @@ {/if} +{if hasPerm('mail')} +{/if} +{if $smarty.session.user->hasProfile()} +{/if} +{if hasPerm('directory_private')} +{/if} - +{if hasPerm('mail')} + +{/if} +{if hasPerm('forums')} -{if $smarty.session.googleapps} - +{/if} +{if $smarty.session.user->googleapps} + {/if} +{if hasPerm('payment')} +{/if} +{if hasPerm('mail')} +{/if} - - +{if hasPerm('directory_private')} + +{/if} +{if hasPerm('groups')} +{/if} + @@ -82,12 +100,36 @@ - +
+ {xsrf_token_field} + +
+
+ {xsrf_token_field} + +
- +
Valid
Validations
@@ -98,6 +140,13 @@
{/if} +{if hasPerm('edit_directory')} + + + + +{/if} + {/if} {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}