X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fplatal%2Freview.tpl;h=dce045819323c69b8e5a58a6c765a05b116749b8;hb=003fafc0087083e13ec21e2ac9d01f0016600b30;hp=daddfd6e2c6fc570d297ba583af3969adff28309;hpb=16703e553d2616c5a8c20a0ed11dd985552f8991;p=platal.git diff --git a/templates/platal/review.tpl b/templates/platal/review.tpl index daddfd6..dce0458 100644 --- a/templates/platal/review.tpl +++ b/templates/platal/review.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2007 Polytechnique.org *} +{* Copyright (C) 2003-2009 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -20,9 +20,15 @@ {* *} {**************************************************************************} + {if $cacheExists} {include wiki=$article} -{elseif $smarty.session.perms->hasFlag('admin')} +{if hasPerm('admin')} +
+ {icon name="page_edit" title="Editer la page"} Mettre à jour la page +
+{/if} +{elseif hasPerm('admin')} La page wiki associée n'existe pas. Il faut l'éditer. {else}

La page n'existe pas