Missing file for 5a8a7dad52b11bee51d21887efcfe38050e28494
authorStéphane Jacob <sj@m4x.org>
Thu, 3 Nov 2011 09:56:36 +0000 (10:56 +0100)
committerStéphane Jacob <sj@m4x.org>
Thu, 3 Nov 2011 09:57:37 +0000 (10:57 +0100)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
templates/newsletter/header.tpl [new file with mode: 0644]

diff --git a/templates/newsletter/header.tpl b/templates/newsletter/header.tpl
new file mode 100644 (file)
index 0000000..82c531e
--- /dev/null
@@ -0,0 +1,34 @@
+{**************************************************************************}
+{*                                                                        *}
+{*  Copyright (C) 2003-2011 Polytechnique.org                             *}
+{*  http://opensource.polytechnique.org/                                  *}
+{*                                                                        *}
+{*  This program is free software; you can redistribute it and/or modify  *}
+{*  it under the terms of the GNU General Public License as published by  *}
+{*  the Free Software Foundation; either version 2 of the License, or     *}
+{*  (at your option) any later version.                                   *}
+{*                                                                        *}
+{*  This program is distributed in the hope that it will be useful,       *}
+{*  but WITHOUT ANY WARRANTY; without even the implied warranty of        *}
+{*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *}
+{*  GNU General Public License for more details.                          *}
+{*                                                                        *}
+{*  You should have received a copy of the GNU General Public License     *}
+{*  along with this program; if not, write to the Free Software           *}
+{*  Foundation, Inc.,                                                     *}
+{*  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA               *}
+{*                                                                        *}
+{**************************************************************************}
+
+<h1>
+  {$nl->name}
+{if $nl->mayEdit() && $nl->adminLinksEnabled()}
+  [&nbsp;{foreach from=$nl->adminLinks() item=link key=key}
+  {if t($has_prev)}&nbsp;|&nbsp;{/if}
+  {if $current neq $key}<a href="{$link.link}">{/if}{$link.title}{if $current neq $key}</a>{/if}
+  {assign var=has_prev value=true}
+  {/foreach}&nbsp;]
+{/if}
+</h1>
+
+{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}