projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Drops update time from profile_addresses.
[platal.git]
/
templates
/
lists
/
create.tpl
diff --git
a/templates/lists/create.tpl
b/templates/lists/create.tpl
index
144d34b
..
b5395cc
100644
(file)
--- a/
templates/lists/create.tpl
+++ b/
templates/lists/create.tpl
@@
-62,7
+62,8
@@
liste :
<tr class='promo'>
<td class='titre'>Promotion :</td>
<td><input type='text' name='promo' size='4' maxlength='4'
<tr class='promo'>
<td class='titre'>Promotion :</td>
<td><input type='text' name='promo' size='4' maxlength='4'
- {if $smarty.post.promo}value='{$smarty.post.promo}'{else}value='{$smarty.session.promo}'{/if} /></td>
+ {assign var="profile" value=$smarty.session.user->profile()}
+ {if $smarty.post.promo}value='{$smarty.post.promo}'{else}value='{$profile->yearpromo()}'{/if} /></td>
<td class='smaller' colspan='3'>Par exemple : 2004</td>
</tr>
<tr class='groupex'>
<td class='smaller' colspan='3'>Par exemple : 2004</td>
</tr>
<tr class='groupex'>