projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Typo
[platal.git]
/
templates
/
include
/
tips.tpl
diff --git
a/templates/include/tips.tpl
b/templates/include/tips.tpl
index
b1867bc
..
532f461
100644
(file)
--- a/
templates/include/tips.tpl
+++ b/
templates/include/tips.tpl
@@
-1,6
+1,6
@@
{**************************************************************************}
{* *}
{**************************************************************************}
{* *}
-{* Copyright (C) 2003-200
7
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 *}
@@
-24,8
+24,11
@@
{if $full}
<fieldset id="tod">
{/if}
{if $full}
<fieldset id="tod">
{/if}
- <legend>{icon name=lightbulb}{if !$tips.special}
+ <legend>{icon name=lightbulb}
{if !$tips.special}
Astuce : {$tips.titre}
Astuce : {$tips.titre}
+ {if hasPerm('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}