projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Edition link on tips
[platal.git]
/
templates
/
include
/
tips.tpl
diff --git
a/templates/include/tips.tpl
b/templates/include/tips.tpl
index
69b106b
..
cba139f
100644
(file)
--- a/
templates/include/tips.tpl
+++ b/
templates/include/tips.tpl
@@
-26,6
+26,9
@@
{/if}
<legend>{icon name=lightbulb} {if !$tips.special}
Astuce : {$tips.titre}
{/if}
<legend>{icon name=lightbulb} {if !$tips.special}
Astuce : {$tips.titre}
+ {if $smarty.session.perms->hasFlag('admin') && !$tips.special && !$nochange}
+ <a href="admin/tips/edit/{$tips.id}">{icon name="page_edit" title="Editer"}</a>
+ {/if}
{else}
<span style="color: red; font-weight: bold;">{$tips.titre}</span>
{/if}
{else}
<span style="color: red; font-weight: bold;">{$tips.titre}</span>
{/if}