X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fskin%2Fcommon.menu.tpl;h=fd3370ca627e232ea93b291c696641b1fd83d046;hb=f610b6f555f56675a8df9dd5fd45c8ccf76bfb75;hp=073c6a01909eab099e00072bedbdd3b2db3da8b0;hpb=86f0a6af68bfec7f19d65b86f549689a2b33a53f;p=platal.git diff --git a/templates/skin/common.menu.tpl b/templates/skin/common.menu.tpl index 073c6a0..fd3370c 100644 --- a/templates/skin/common.menu.tpl +++ b/templates/skin/common.menu.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2006 Polytechnique.org *} +{* Copyright (C) 2003-2014 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -22,9 +22,9 @@ {if !$smarty.session.auth}
- + - + @@ -32,63 +32,132 @@ - - - + + + {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 $globals->geoloc->use_map} - +{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 $smarty.session.perms eq admin} +{if hasPerm('admin')} - + + +Valid | |
---|---|
Validations | |
{insert name="mkStats"} | ++ + {if $globals->core->NbValid|smarty:nodefaults eq 0}-{else}{$globals->core->NbValid|default:'-'}{/if} + + |