3ff36bc993c9f6914b0448263a567fb9389c9f2e
bernd neue Bilder, mehr SSL-Zerti...

bernd authored 15 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) 
Bernd Wurst Copyright year update

Bernd Wurst authored 6 years ago

5) Written 2008-2018 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) 
9) To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty.
10) 
Hanno Fix coding style with php-c...

Hanno authored 6 years ago

11) You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see
Bernd Wurst Added license tags for CC0,...

Bernd Wurst authored 12 years ago

12) http://creativecommons.org/publicdomain/zero/1.0/
13) 
14) 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.
15) */
bernd neue Bilder, mehr SSL-Zerti...

bernd authored 15 years ago

16) 
17) require_once('inc/base.php');
18) 
19) function icon_warning($title = '')
20) {
Hanno Fix coding style with php-c...

Hanno authored 6 years ago

21)     global $prefix;
22)     return "<img src=\"{$prefix}images/warning.png\" style=\"height: 16px; width: 16px;\" alt=\"{$title}\" title=\"{$title}\" />";
bernd neue Bilder, mehr SSL-Zerti...

bernd authored 15 years ago

23) }
24) 
Bernd Wurst PHP 8.0 compatibility

Bernd Wurst authored 4 years ago

25) function icon_enabled_phpxx($title, $major, $minor)
Hanno Böck übrige Änderungen für php55

Hanno Böck authored 11 years ago

26) {
Hanno Fix coding style with php-c...

Hanno authored 6 years ago

27)     global $prefix;
28)     return "<img src=\"{$prefix}images/ok-php$major$minor.png\" style=\"height: 16px; width: 16px;\" alt=\"{$title}\" title=\"{$title}\" />";
Hanno Böck übrige Änderungen für php55

Hanno Böck authored 11 years ago

29) }
30) 
bernd Neue Icons für PHP 5.2 und 5.3

bernd authored 14 years ago

31) function icon_enabled_warning($title = '')
bernd Separates Icon für PHP 5.3

bernd authored 15 years ago

32) {
Hanno Fix coding style with php-c...

Hanno authored 6 years ago

33)     global $prefix;
34)     return "<img src=\"{$prefix}images/ok-warning.png\" style=\"height: 16px; width: 16px;\" alt=\"{$title}\" title=\"{$title}\" />";
bernd Separates Icon für PHP 5.3

bernd authored 15 years ago

35) }
36) 
bernd neue Bilder, mehr SSL-Zerti...

bernd authored 15 years ago

37) function icon_enabled($title = '')
38) {
Hanno Fix coding style with php-c...

Hanno authored 6 years ago

39)     global $prefix;
40)     return "<img src=\"{$prefix}images/ok.png\" style=\"height: 16px; width: 16px;\" alt=\"{$title}\" title=\"{$title}\" />";
bernd neue Bilder, mehr SSL-Zerti...

bernd authored 15 years ago

41) }
42) 
43) 
44) function icon_disabled($title = '')
45) {
Hanno Fix coding style with php-c...

Hanno authored 6 years ago

46)     global $prefix;
47)     //return "";
48)     return "<img src=\"{$prefix}images/disabled.png\" style=\"height: 16px; width: 16px;\" alt=\"{$title}\" title=\"{$title}\" />";
bernd neue Bilder, mehr SSL-Zerti...

bernd authored 15 years ago

49) }
50) 
51) 
52) function icon_ok($title = '')
53) {
Hanno Fix coding style with php-c...

Hanno authored 6 years ago

54)     global $prefix;
55)     return "<img src=\"{$prefix}images/ok.png\" style=\"height: 16px; width: 16px;\" alt=\"{$title}\" title=\"{$title}\" />";
bernd neue Bilder, mehr SSL-Zerti...

bernd authored 15 years ago

56) }
57) 
58) 
59) 
60) function icon_error($title = '')
61) {
Hanno Fix coding style with php-c...

Hanno authored 6 years ago

62)     global $prefix;
63)     return "<img src=\"{$prefix}images/error.png\" style=\"height: 16px; width: 16px;\" alt=\"{$title}\" title=\"{$title}\" />";
bernd neue Bilder, mehr SSL-Zerti...

bernd authored 15 years ago

64) }
65) 
bernd Überarbeitetes Systemuser-M...

bernd authored 14 years ago

66) function icon_edit($title = '')
67) {
Hanno Fix coding style with php-c...

Hanno authored 6 years ago

68)     global $prefix;
69)     return "<img src=\"{$prefix}images/edit.png\" style=\"height: 16px; width: 16px;\" alt=\"{$title}\" title=\"{$title}\" />";
bernd Überarbeitetes Systemuser-M...

bernd authored 14 years ago

70) }
71) 
bernd neue Bilder, mehr SSL-Zerti...

bernd authored 15 years ago

72) function icon_pwchange($title = '')
73) {
Hanno Fix coding style with php-c...

Hanno authored 6 years ago

74)     global $prefix;
75)     return "<img src=\"{$prefix}images/pwchange.png\" style=\"height: 16px; width: 16px;\" alt=\"{$title}\" title=\"{$title}\" />";
bernd neue Bilder, mehr SSL-Zerti...

bernd authored 15 years ago

76) }
77) 
78) 
79) function icon_add($title = '')
80) {
Hanno Fix coding style with php-c...

Hanno authored 6 years ago

81)     global $prefix;
82)     return "<img src=\"{$prefix}images/add.png\" style=\"height: 16px; width: 16px;\" alt=\"{$title}\" title=\"{$title}\" />";
bernd neue Bilder, mehr SSL-Zerti...

bernd authored 15 years ago

83) }
84) 
85) 
86) 
87) function icon_delete($title = '')
88) {
Hanno Fix coding style with php-c...

Hanno authored 6 years ago

89)     global $prefix;
90)     return "<img src=\"{$prefix}images/delete.png\" style=\"height: 16px; width: 16px;\" alt=\"{$title}\" title=\"{$title}\" />";
bernd neue Bilder, mehr SSL-Zerti...

bernd authored 15 years ago

91) }
92) 
93) 
94) 
bernd Webalizer/Statistik-Funktio...

bernd authored 14 years ago

95) function other_icon($filename, $title = '')
96) {
Hanno Fix coding style with php-c...

Hanno authored 6 years ago

97)     global $prefix;
98)     return "<img src=\"{$prefix}images/{$filename}\" style=\"height: 16px; width: 16px;\" alt=\"{$title}\" title=\"{$title}\" />";