354c05a4ddd678c49bcbba458bffa7d13482139a
bernd Rudimentäres Newsletter-Arc...

bernd authored 13 years ago

1) <?php
Bernd Wurst Added license tags for CC0,...

Bernd Wurst authored 12 years ago

2) /*
3) This file belongs to the Webinterface of schokokeks.org Hosting
4) 
Hanno Böck Change license from CC0 to...

Hanno Böck authored 2 years ago

5) Written by schokokeks.org Hosting, namely
Bernd Wurst Added license tags for CC0,...

Bernd Wurst authored 12 years ago

6)   Bernd Wurst <bernd@schokokeks.org>
7)   Hanno Böck <hanno@schokokeks.org>
8) 
Hanno Böck Change license from CC0 to...

Hanno Böck authored 2 years ago

9) This code is published under a 0BSD license.
Bernd Wurst Added license tags for CC0,...

Bernd Wurst authored 12 years ago

10) 
11) 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.
12) */
13) 
bernd Rudimentäres Newsletter-Arc...

bernd authored 13 years ago

14) require_once("includes/newsletter.php");
15) require_once("inc/base.php");
bernd Newsletter-Modul nur für ei...

bernd authored 13 years ago

16) require_role(ROLE_CUSTOMER);
bernd Rudimentäres Newsletter-Arc...

bernd authored 13 years ago

17) 
Hanno Böck Fix not operator (!) spaces

Hanno Böck authored 1 year ago

18) if (!isset($_REQUEST['id'])) {
Hanno Fix coding style with php-c...

Hanno authored 6 years ago

19)     system_failure("Keine ID!");
bernd Rudimentäres Newsletter-Arc...

bernd authored 13 years ago

20) }
21) 
22) $item = get_news_item($_REQUEST['id']);
23) 
24) $section = 'newsletter_newsletter';
Hanno Böck Spaces between string conca...

Hanno Böck authored 1 year ago

25) title("Newsletter vom " . $item ['date']);
bernd Rudimentäres Newsletter-Arc...

bernd authored 13 years ago

26) 
Hanno Böck Spaces between string conca...

Hanno Böck authored 1 year ago

27) output("<h4>" . $item['subject'] . "</h4>");
bernd Rudimentäres Newsletter-Arc...

bernd authored 13 years ago

28) 
Hanno Böck Spaces between string conca...

Hanno Böck authored 1 year ago

29) output("<p>" . internal_link("newsletter", "<em>Zurück zur Übersicht</em>") . "</p>");
bernd Rudimentäres Newsletter-Arc...

bernd authored 13 years ago

30) 
Hanno Böck Spaces between string conca...

Hanno Böck authored 1 year ago

31) output("<pre style=\"margin-left: 2em;\">" . $item['content'] . "</pre>");
bernd Rudimentäres Newsletter-Arc...

bernd authored 13 years ago

32)