git.schokokeks.org
Repositories
Help
Report an Issue
webinterface.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
354c05a
Branches
Tags
master
ticket
webinterface.git
modules
newsletter
read.php
Spaces between string concat (.) operator, new PER codingstyle
Hanno Böck
commited
354c05a
at 2023-10-31 17:49:30
read.php
Blame
History
Raw
<?php /* This file belongs to the Webinterface of schokokeks.org Hosting Written by schokokeks.org Hosting, namely Bernd Wurst <bernd@schokokeks.org> Hanno Böck <hanno@schokokeks.org> This code is published under a 0BSD license. Nevertheless, in case you use a significant part of this code, we ask (but not require, see the license) that you keep the authors' names in place and return your changes to the public. We would be especially happy if you tell us what you're going to do with this code. */ require_once("includes/newsletter.php"); require_once("inc/base.php"); require_role(ROLE_CUSTOMER); if (!isset($_REQUEST['id'])) { system_failure("Keine ID!"); } $item = get_news_item($_REQUEST['id']); $section = 'newsletter_newsletter'; title("Newsletter vom " . $item ['date']); output("<h4>" . $item['subject'] . "</h4>"); output("<p>" . internal_link("newsletter", "<em>Zurück zur Übersicht</em>") . "</p>"); output("<pre style=\"margin-left: 2em;\">" . $item['content'] . "</pre>"); output("<p>" . internal_link("newsletter", "<em>Zurück zur Übersicht</em>") . "</p>");