projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix networking display on profiles
[platal.git]
/
templates
/
profile
/
general.tpl
diff --git
a/templates/profile/general.tpl
b/templates/profile/general.tpl
index
7c5a079
..
aae79e1
100644
(file)
--- a/
templates/profile/general.tpl
+++ b/
templates/profile/general.tpl
@@
-73,7
+73,7
@@
<tr class="names_advanced" id="searchname" {if !$errors.search_names}style="display: none"{/if}>
<td colspan="2">
<div id="sn_add" class="center">
<tr class="names_advanced" id="searchname" {if !$errors.search_names}style="display: none"{/if}>
<td colspan="2">
<div id="sn_add" class="center">
- <a href="javascript:addSearchName();">
+ <a href="javascript:addSearchName(
{$isFemale}
);">
{icon name=add title="Ajouter un nom"} Ajouter un nom
</a>
</div>
{icon name=add title="Ajouter un nom"} Ajouter un nom
</a>
</div>
@@
-176,10
+176,6
@@
{cycle values="impair, pair" assign=class}
{include file="profile/general.edu.tpl" eduid=$eduid edu=$edu edu_fields=$edu_fields class=$class}
{/foreach}
{cycle values="impair, pair" assign=class}
{include file="profile/general.edu.tpl" eduid=$eduid edu=$edu edu_fields=$edu_fields class=$class}
{/foreach}
- {if $edus|@count eq 0}
- {cycle values="impair, pair" assign=class}
- {include file="profile/general.edu.tpl" eduid=0 edu=0 class=$class}
- {/if}
{cycle values="impair, pair" assign=class}
{assign var=eduaddid value=$edus|@count}
<tr id="edu_add" class="edu_{$eduaddid} {$class}">
{cycle values="impair, pair" assign=class}
{assign var=eduaddid value=$edus|@count}
<tr id="edu_add" class="edu_{$eduaddid} {$class}">
@@
-233,7
+229,7
@@
quelque part (sur ton ordinateur ou sur Internet) d'une photo
d'identité (dans un fichier au format JPEG, PNG ou GIF).<br />
<div class="center">
quelque part (sur ton ordinateur ou sur Internet) d'une photo
d'identité (dans un fichier au format JPEG, PNG ou GIF).<br />
<div class="center">
- <a href="photo/change">Éditer ta photo</a>
+ <a href="photo/change
/{$profile->hrid()}
">Éditer ta photo</a>
</div>
</td>
</tr>
</div>
</td>
</tr>
@@
-264,7
+260,7
@@
</div>
{/if}
<div id="tels_add" class="center" style="clear: both; padding-top: 4px;">
</div>
{/if}
<div id="tels_add" class="center" style="clear: both; padding-top: 4px;">
- <a href="javascript:addTel('tels',
'tels');">
+ <a href="javascript:addTel('tels','tels');">
{icon name=add title="Ajouter un téléphone"} Ajouter un téléphone
</a>
</div>
{icon name=add title="Ajouter un téléphone"} Ajouter un téléphone
</a>
</div>
@@
-282,13
+278,13
@@
{include file="profile/general.networking.tpl" nw=$network i=$id}
{/foreach}
<tr id="networking">
{include file="profile/general.networking.tpl" nw=$network i=$id}
{/foreach}
<tr id="networking">
- <script type="text/javascript">//<![CDATA[
- var nw_list = new Array();
- {foreach from=$network_list item=network}
- nw_list['{$network.name}'] = {$network.type};
- {/foreach}
- //]]></script>
<td colspan="2">
<td colspan="2">
+ <script type="text/javascript">//<![CDATA[
+ var nw_list = new Array();
+ {foreach from=$network_list item=network}
+ nw_list['{$network.name}'] = {$network.type};
+ {/foreach}
+ //]]></script>
<div id="nw_add" class="center">
<a href="javascript:addNetworking();">
{icon name=add title="Ajouter une adresse"} Ajouter une adresse
<div id="nw_add" class="center">
<a href="javascript:addNetworking();">
{icon name=add title="Ajouter une adresse"} Ajouter une adresse