X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fskin%2Fcommon.menu.tpl;h=fd3370ca627e232ea93b291c696641b1fd83d046;hb=f610b6f555f56675a8df9dd5fd45c8ccf76bfb75;hp=c26852e02a481b10aa26885cca8de18d51fb10e2;hpb=61e0e8619a9e391d9536d1af3c8cd441491bbc99;p=platal.git diff --git a/templates/skin/common.menu.tpl b/templates/skin/common.menu.tpl index c26852e..fd3370c 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-2014 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -24,7 +24,7 @@
- + @@ -38,53 +38,108 @@ {else} -{if $smarty.session.auth == AUTH_MDP} +{if $smarty.session.auth == AUTH_PASSWD} {elseif $smarty.cookies.ORGaccess} {/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('user')} - +{/if} +{if hasPerm('mail')} +{/if} - - +{if hasPerm('directory_private,edit_directory')} + +{/if} +{if hasPerm('directory_private')} + +{/if} +{if hasPerm('groups')} +{/if} +{if hasPerm('directory_private') && $smarty.session.user->hasProfile()} + {assign var='profile' value=$smarty.session.user->profile()} + {if $profile->isDeltaTenEnabled(#Profile::DELTATEN_YOUNG#)} + + {/if} +{/if} + + + - + {if hasPerm('admin')} - + +Valid |
---|
Validations |
@@ -95,6 +150,14 @@ |