3ef995c2108fe77d22c0b556fb9717cb848bc48f
bernd Rudimentäres Newsletter-Arc...

bernd authored 14 years ago

1) <?php
Hanno Böck Add newlines before comment...

Hanno Böck authored 11 months ago

2) 
Bernd Wurst Added license tags for CC0,...

Bernd Wurst authored 13 years ago

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

Hanno Böck authored 3 years ago

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

Bernd Wurst authored 13 years ago

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

Hanno Böck authored 3 years ago

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

Bernd Wurst authored 13 years ago

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

bernd authored 14 years ago

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

bernd authored 14 years ago

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

bernd authored 14 years ago

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

Hanno Böck authored 2 years ago

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

Hanno authored 7 years ago

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

bernd authored 14 years ago

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

Hanno Böck authored 2 years ago

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

bernd authored 14 years ago

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

Hanno Böck authored 2 years ago

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

bernd authored 14 years ago

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

Hanno Böck authored 2 years ago

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

bernd authored 14 years ago

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

Hanno Böck authored 2 years ago

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

bernd authored 14 years ago

33)