From 7b64cc7438eba834c765eef056628e2f1e6ea823 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Sun, 9 Nov 2008 14:52:29 +0100 Subject: [PATCH] Add a 'deleteonly' flag to pltableeditor --- templates/table-editor.tpl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/templates/table-editor.tpl b/templates/table-editor.tpl index e16826e..3915794 100644 --- a/templates/table-editor.tpl +++ b/templates/table-editor.tpl @@ -40,7 +40,7 @@ action {/if} -{if !$readonly} +{if !$readonly and !$deleteonly} @@ -73,8 +73,10 @@ {/if}{/foreach} {if !$hideactions} - {if !$readonly} + {if !$readonly and !$deleteonly} {icon name=page_edit title='éditer'} + {/if} + {if !$readonly} {icon name=delete title='supprimer'} {/if} -- 2.1.4