X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fskin%2Fcommon.menu.tpl;h=57b687a17ad18f647bb845ca667df5dc8f968187;hb=4d9b63f8ec02d84eabd554234a32718758bf9e21;hp=29b2fc56292baab12d509621a76a87b995cfb29c;hpb=5f30b30e8b2657ade5c727e98de286386ee002d8;p=platal.git diff --git a/templates/skin/common.menu.tpl b/templates/skin/common.menu.tpl index 29b2fc5..57b687a 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-2010 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -24,16 +24,15 @@ - + - - + @@ -46,26 +45,46 @@ {/if} +{if hasPerm('mail')} +{/if} +{if $smarty.session.user->hasProfile()} +{/if} +{if hasPerm('directory_private')} +{/if} - +{if hasPerm('mail')} + +{/if} +{if hasPerm('forums')} +{/if} +{if $smarty.session.user->googleapps} + +{/if} +{if hasPerm('payment')} +{/if} +{if hasPerm('mail')} +{/if} - - +{if hasPerm('directory_private')} + +{/if} +{if hasPerm('groups')} +{/if} @@ -73,19 +92,43 @@ - + {if hasPerm('admin')} - - + +
+ {xsrf_token_field} + +
+
+ {xsrf_token_field} + +
- +
Valid
Validations
@@ -96,6 +139,13 @@
{/if} +{if hasPerm('edit_directory')} + + + + +{/if} + {/if} {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}