X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=plugins%2Ffunction.profile.php;h=77909bdbb5dedc9d52ea83c853ad096ae98cb444;hb=c76545c351fae4e2298624ff9ee5bf854dc5a5b6;hp=a355f8f1c6a74e8196c8c419072833fc043e9f41;hpb=09e54905d120cbd7cc885d0b1f6c0c464eaf1f82;p=platal.git diff --git a/plugins/function.profile.php b/plugins/function.profile.php index a355f8f..77909bd 100644 --- a/plugins/function.profile.php +++ b/plugins/function.profile.php @@ -47,6 +47,9 @@ function smarty_function_profile($params, &$smarty) $name = '' . $name . ''; } } + if ($user->lost) { + $name .= ' Patte cassée'; + } if ($with_groupperms && $user instanceof User && $user->group_perms == 'admin' && !empty($name)) { $name = '' . $name . ''; }