X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=templates%2Fadmin%2Fvalidation.tpl;h=d0135a74133714e71d88c0b4062ebc1350336858;hb=4ed7a2fdf41ae328c97543316c04c3af7967d4bd;hp=b043382f5323a0853c5623512bf32bba474e8ce6;hpb=e33b29e5c75ec3dd8ddcc2fac2509f862bb18596;p=platal.git diff --git a/templates/admin/validation.tpl b/templates/admin/validation.tpl index b043382..d0135a7 100644 --- a/templates/admin/validation.tpl +++ b/templates/admin/validation.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2010 Polytechnique.org *} +{* Copyright (C) 2003-2011 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -51,10 +51,12 @@ function toggleField(name, id, obj) { {/if} {$valid->user->fullName("promo")} + {if $valid->user->hasProfile()} + {/if} - {if $valid->profile && !$valid->userIsProfileOwner} + {if t($valid->profile) && !$valid->userIsProfileOwner}