dcc202fb249a446ac15c7cf413b9f1b4a3f31b58
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) 
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) */
bernd neue Bilder, mehr SSL-Zerti...

bernd authored 15 years ago

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

Hanno authored 6 years ago

18)     global $prefix;
19)     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

20) }
21) 
Bernd Wurst PHP 8.0 compatibility

Bernd Wurst authored 4 years ago

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

Hanno Böck authored 11 years ago

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

Hanno authored 6 years ago

24)     global $prefix;
25)     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

26) }
27) 
bernd Neue Icons für PHP 5.2 und 5.3

bernd authored 14 years ago

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

bernd authored 15 years ago

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

Hanno authored 6 years ago

30)     global $prefix;
31)     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

32) }
33) 
bernd neue Bilder, mehr SSL-Zerti...

bernd authored 15 years ago

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

Hanno authored 6 years ago

36)     global $prefix;
37)     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

38) }
39) 
40) 
41) function icon_disabled($title = '')
42) {
Hanno Fix coding style with php-c...

Hanno authored 6 years ago

43)     global $prefix;
44)     //return "";
45)     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

46) }
47) 
48) 
49) function icon_ok($title = '')
50) {
Hanno Fix coding style with php-c...

Hanno authored 6 years ago

51)     global $prefix;
52)     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

53) }
54) 
55) 
56) 
57) function icon_error($title = '')
58) {
Hanno Fix coding style with php-c...

Hanno authored 6 years ago

59)     global $prefix;
60)     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

61) }
62) 
bernd Überarbeitetes Systemuser-M...

bernd authored 14 years ago

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

Hanno authored 6 years ago

65)     global $prefix;
66)     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

67) }
68) 
bernd neue Bilder, mehr SSL-Zerti...

bernd authored 15 years ago

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

Hanno authored 6 years ago

71)     global $prefix;
72)     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

73) }
74) 
75) 
76) function icon_add($title = '')
77) {
Hanno Fix coding style with php-c...

Hanno authored 6 years ago

78)     global $prefix;
79)     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

80) }
81) 
82) 
83) 
84) function icon_delete($title = '')
85) {
Hanno Fix coding style with php-c...

Hanno authored 6 years ago

86)     global $prefix;
87)     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

88) }
89) 
90) 
91) 
bernd Webalizer/Statistik-Funktio...

bernd authored 14 years ago

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

Hanno authored 6 years ago

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