X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fskin%2Fcommon.menu.tpl;h=d5eda4f8411f4e1055b72cdc09a145ee1ecbec7d;hb=927ad552b3cb7ec6ce73172ccca94adfe074cf06;hp=4965e51f3eaac18afcbb4b9aaebc30a428cb0c90;hpb=a7de4ef724d1a3b0bf978a50ce7cc9d23412c7a0;p=platal.git diff --git a/templates/skin/common.menu.tpl b/templates/skin/common.menu.tpl index 4965e51..d5eda4f 100644 --- a/templates/skin/common.menu.tpl +++ b/templates/skin/common.menu.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2007 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 @@ - + @@ -32,7 +32,7 @@ - + @@ -45,52 +45,108 @@ {/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} + + - + -{if $smarty.session.perms eq admin} +{if hasPerm('admin')} - - + +
+ {xsrf_token_field} + +
+
+ {xsrf_token_field} + +
- + - +
Valid
Validations
{insert name="mkStats"} + + {if $globals->core->NbValid|smarty:nodefaults eq 0}-{else}{$globals->core->NbValid|default:'-'}{/if} + +
{/if} +{if hasPerm('edit_directory')} + + + + +{/if} + {/if} {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}