projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move paiement db in x4dat (tables payment*).
[platal.git]
/
templates
/
gadgets
/
ig-minifiche.tpl
diff --git
a/templates/gadgets/ig-minifiche.tpl
b/templates/gadgets/ig-minifiche.tpl
index
9ad99bd
..
591f22c
100644
(file)
--- a/
templates/gadgets/ig-minifiche.tpl
+++ b/
templates/gadgets/ig-minifiche.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 *}
@@
-20,13
+20,13
@@
{* *}
{**************************************************************************}
{* *}
{**************************************************************************}
-{if
!$c.inscrit
|| $c.dcd}<div class='grayed'>{/if}
+{if
(!$c.inscrit && $smarty.session.auth ge AUTH_COOKIE)
|| $c.dcd}<div class='grayed'>{/if}
<div class="contact" {if $c.inscrit}{if $smarty.session.auth ge AUTH_COOKIE}title="Fiche mise à jour le {$c.date|date_format}"{/if}{/if}>
<div class="nom">
{if $c.sexe}•{/if}
<div class="contact" {if $c.inscrit}{if $smarty.session.auth ge AUTH_COOKIE}title="Fiche mise à jour le {$c.date|date_format}"{/if}{/if}>
<div class="nom">
{if $c.sexe}•{/if}
- {if !$c.dcd &&
$c.inscrit}<a href="profile/{$c.forlife
}" class="popup2">{/if}
+ {if !$c.dcd &&
($c.inscrit || $smarty.session.auth eq AUTH_PUBLIC)}<a href="profile/{$c.hruid
}" class="popup2">{/if}
{if $c.nom_usage}{$c.nom_usage} {$c.prenom}<br />({$c.nom}){else}{$c.nom} {$c.prenom}{/if}
{if $c.nom_usage}{$c.nom_usage} {$c.prenom}<br />({$c.nom}){else}{$c.nom} {$c.prenom}{/if}
- {if !$c.dcd &&
$c.inscrit
}</a>{/if}
+ {if !$c.dcd &&
($c.inscrit || $smarty.session.auth eq AUTH_PUBLIC)
}</a>{/if}
</div>
<div class="autre">
{if $c.iso3166_1}
</div>
<div class="autre">
{if $c.iso3166_1}
@@
-50,13
+50,13
@@
*}{icon name=cross title="Retirer de la liste de mes surveillances"}</a>
{/if}
{elseif $c.wasinscrit && !$c.dcd}
*}{icon name=cross title="Retirer de la liste de mes surveillances"}</a>
{/if}
{elseif $c.wasinscrit && !$c.dcd}
- <a href="vcard/{$c.
forlife
}.vcf">{*
+ <a href="vcard/{$c.
hruid
}.vcf">{*
*}{icon name=vcard title="Afficher la carte de visite"}</a>
{if $show_action eq ajouter}
*}{icon name=vcard title="Afficher la carte de visite"}</a>
{if $show_action eq ajouter}
- <a href="carnet/contacts?action={$show_action}&user={$c.
forlife
}&token={xsrf_token}" target="_top">{*
+ <a href="carnet/contacts?action={$show_action}&user={$c.
hruid
}&token={xsrf_token}" target="_top">{*
*}{icon name=add title="Ajouter à mes contacts"}</a>
{else}
*}{icon name=add title="Ajouter à mes contacts"}</a>
{else}
- <a href="carnet/contacts?action={$show_action}&user={$c.
forlife
}&token={xsrf_token}" target="_top">{*
+ <a href="carnet/contacts?action={$show_action}&user={$c.
hruid
}&token={xsrf_token}" target="_top">{*
*}{icon name=cross title="Retirer de mes contacts"}</a>
{/if}
{/if}
*}{icon name=cross title="Retirer de mes contacts"}</a>
{/if}
{/if}
@@
-68,13
+68,13
@@
<table cellspacing="0" cellpadding="0">
{if $c.countrytxt || $c.city}
<tr>
<table cellspacing="0" cellpadding="0">
{if $c.countrytxt || $c.city}
<tr>
- <td class="lt">Géographie:</td>
+ <td class="lt">Géographie
:</td>
<td class="rt">{$c.city}{if $c.city && $c.countrytxt}, {/if}{$c.countrytxt}</td>
</tr>
{/if}
{if $c.mobile && !$c.dcd}
<tr>
<td class="rt">{$c.city}{if $c.city && $c.countrytxt}, {/if}{$c.countrytxt}</td>
</tr>
{/if}
{if $c.mobile && !$c.dcd}
<tr>
- <td class="lt">Mobile:</td>
+ <td class="lt">Mobile
:</td>
<td class="rt">{$c.mobile}</td>
</tr>
{/if}
<td class="rt">{$c.mobile}</td>
</tr>
{/if}