projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Makes the forum link available for all logged users.
[platal.git]
/
templates
/
newsletter
/
show.tpl
diff --git
a/templates/newsletter/show.tpl
b/templates/newsletter/show.tpl
index
6bbac35
..
d81ff65
100644
(file)
--- a/
templates/newsletter/show.tpl
+++ b/
templates/newsletter/show.tpl
@@
-1,6
+1,6
@@
{**************************************************************************}
{* *}
{**************************************************************************}
{* *}
-{* Copyright (C) 2003-20
09
Polytechnique.org *}
+{* Copyright (C) 2003-20
11
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 *}
@@
-21,21
+21,21
@@
{**************************************************************************}
<h1 style="clear: both">
{**************************************************************************}
<h1 style="clear: both">
-
Lettre de Polytechnique.org du {$nl->_
date|date_format}
+
{$issue->nl->name} du {$issue->
date|date_format}
</h1>
<p style="float: left">
{if $smarty.get.text}
</h1>
<p style="float: left">
{if $smarty.get.text}
- [<a href='
nl/show/{$nl
->id()}'>version HTML</a>]
+ [<a href='
{$nl->prefix()}/show/{$issue
->id()}'>version HTML</a>]
{else}
{else}
- [<a href='
nl/show/{$nl
->id()}?text=1'>version Texte</a>]
+ [<a href='
{$nl->prefix()}/show/{$issue
->id()}?text=1'>version Texte</a>]
{/if}
{/if}
- {if
hasPerm('admin'
)}
- [<a href='
admin/newsletter/edit/{$nl
->id()}'>Éditer</a>]
+ {if
$nl->mayEdit(
)}
+ [<a href='
{$nl->adminPrefix()}/edit/{$issue
->id()}'>Éditer</a>]
{/if}
</p>
{/if}
</p>
-{include file="include/massmailer-nav.tpl"
mm=$nl base=
nl}
+{include file="include/massmailer-nav.tpl"
issue=$issue nl=$
nl}
<form method="post" action="{$platal->path}">
<div class='center' style="clear: both">
<form method="post" action="{$platal->path}">
<div class='center' style="clear: both">
@@
-44,10
+44,10
@@
</form>
<table class="bicol">
</form>
<table class="bicol">
- <tr><th>{$
nl
->title(true)}</th></tr>
+ <tr><th>{$
issue
->title(true)}</th></tr>
<tr>
<td>
<tr>
<td>
- {include file=
"newsletter/nl.mail.tpl"
escape=true}
+ {include file=
$nl->tplFile()
escape=true}
</td>
</tr>
</table>
</td>
</tr>
</table>