projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove call-time pass-by-reference code which produces fatal error with PHP>=5.4
[platal.git]
/
templates
/
gadgets
/
ig-search.tpl
diff --git
a/templates/gadgets/ig-search.tpl
b/templates/gadgets/ig-search.tpl
index
73a8c5a
..
5483e9e
100644
(file)
--- a/
templates/gadgets/ig-search.tpl
+++ b/
templates/gadgets/ig-search.tpl
@@
-1,6
+1,6
@@
{**************************************************************************}
{* *}
{**************************************************************************}
{* *}
-{* Copyright (C) 2003-20
09
Polytechnique.org *}
+{* Copyright (C) 2003-20
13
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 *}
@@
-25,11
+25,7
@@
{elseif $set}
<div class="contact-list">
{foreach from=$set item=res}
{elseif $set}
<div class="contact-list">
{foreach from=$set item=res}
- {if $res.contact}
- {include file="gadgets/ig-minifiche.tpl" c=$res show_action="retirer"}
- {else}
- {include file="gadgets/ig-minifiche.tpl" c=$res show_action="ajouter"}
- {/if}
+ {include file="gadgets/ig-minifiche.tpl" profile=$res}
{/foreach}
</div>
<div class="more">
{/foreach}
</div>
<div class="more">