projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Only remains promo importer to rewrite in modules/admin.php.
[platal.git]
/
templates
/
profile
/
adresses.address.tpl
diff --git
a/templates/profile/adresses.address.tpl
b/templates/profile/adresses.address.tpl
index
c0b7287
..
118b56a
100644
(file)
--- a/
templates/profile/adresses.address.tpl
+++ b/
templates/profile/adresses.address.tpl
@@
-1,6
+1,6
@@
{**************************************************************************}
{* *}
{**************************************************************************}
{* *}
-{* Copyright (C) 2003-200
8
Polytechnique.org *}
+{* Copyright (C) 2003-200
9
Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
@@
-73,23
+73,27
@@
{if $adr.mail}checked="checked"{/if} />
<label for="{$adid}_mail">on peut m'y envoyer du courrier par la poste</label>
</div>
{if $adr.mail}checked="checked"{/if} />
<label for="{$adid}_mail">on peut m'y envoyer du courrier par la poste</label>
</div>
+ <div>
+ <label for="{$adpref}[comment]">Commentaire : </label>
+ <input type="text" size="35" maxlength="100" name="{$adpref}[comment]" id="{$adpref}_comment" value="{$adr.comment}" />
+ </div>
</div>
</td>
</tr>
<tr class="pair">
<td>
{foreach from=$adr.tel key=t item=tel}
</div>
</td>
</tr>
<tr class="pair">
<td>
{foreach from=$adr.tel key=t item=tel}
- <div id="{"`$adid`_tel_`$t`"}" style="clear: both">
-
{include file="profile/adresses.tel.tpl" t
=$t tel=$tel}
- </div>
+
<div id="{"`$adid`_tel_`$t`"}" style="clear: both">
+
{include file="profile/phone.tpl" prefname="`$adpref`[tel]" prefid="`$adid`_tel" telid
=$t tel=$tel}
+
</div>
{/foreach}
{if $adr.tel|@count eq 0}
{/foreach}
{if $adr.tel|@count eq 0}
- <div id="{"`$adid`_tel_0"}" style="clear: both">
-
{include file="profile/adresses.tel.tpl" t
=0 tel=0}
- </div>
+
<div id="{"`$adid`_tel_0"}" style="clear: both">
+
{include file="profile/phone.tpl" prefname="`$adpref`[tel]" prefid="`$adid`_tel" telid
=0 tel=0}
+
</div>
{/if}
{/if}
- <div id="{$adid}_
add_tel" class="center" style="clear: both
">
- <a href="javascript:addTel(
{$i}
)">
+ <div id="{$adid}_
tel_add" class="center" style="clear: both; padding-top: 4px
">
+ <a href="javascript:addTel(
'{$adid}_tel', '{$adpref}[tel]'
)">
{icon name=add title="Ajouter un numéro de téléphone"} Ajouter un numéro de téléphone
</a>
</div>
{icon name=add title="Ajouter un numéro de téléphone"} Ajouter un numéro de téléphone
</a>
</div>