c208bd906b3991555db11b9229846c4601ca408c
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) 
5) Written 2008-2012 by schokokeks.org Hosting, namely
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) 
11) You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see 
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) {
21)   global $prefix;
22)   return "<img src=\"{$prefix}images/warning.png\" style=\"height: 16px; width: 16px;\" alt=\"{$title}\" title=\"{$title}\" />";
23) }
24) 
25) 
26) 
bernd Neue Icons für PHP 5.2 und 5.3

bernd authored 14 years ago

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

bernd authored 15 years ago

28) {
29)   global $prefix;
bernd Neue Icons für PHP 5.2 und 5.3

bernd authored 14 years ago

30)   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

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

bernd authored 15 years ago

33) function icon_enabled($title = '')
34) {
35)   global $prefix;
36)   return "<img src=\"{$prefix}images/ok.png\" style=\"height: 16px; width: 16px;\" alt=\"{$title}\" title=\"{$title}\" />";
37) }
38) 
39) 
40) function icon_disabled($title = '')
41) {
42)   global $prefix;
43)   return "";
44)   //return "<img src=\"{$prefix}images/disabled.png\" style=\"height: 16px; width: 16px;\" alt=\"{$title}\" title=\"{$title}\" />";
45) }
46) 
47) 
48) function icon_ok($title = '')
49) {
50)   global $prefix;
51)   return "<img src=\"{$prefix}images/ok.png\" style=\"height: 16px; width: 16px;\" alt=\"{$title}\" title=\"{$title}\" />";
52) }
53) 
54) 
55) 
56) function icon_error($title = '')
57) {
58)   global $prefix;
59)   return "<img src=\"{$prefix}images/error.png\" style=\"height: 16px; width: 16px;\" alt=\"{$title}\" title=\"{$title}\" />";
60) }
61) 
bernd Überarbeitetes Systemuser-M...

bernd authored 14 years ago

62) function icon_edit($title = '')
63) {
64)   global $prefix;
65)   return "<img src=\"{$prefix}images/edit.png\" style=\"height: 16px; width: 16px;\" alt=\"{$title}\" title=\"{$title}\" />";
66) }
67) 
bernd neue Bilder, mehr SSL-Zerti...

bernd authored 15 years ago

68) function icon_pwchange($title = '')
69) {
70)   global $prefix;
71)   return "<img src=\"{$prefix}images/pwchange.png\" style=\"height: 16px; width: 16px;\" alt=\"{$title}\" title=\"{$title}\" />";
72) }
73) 
74) 
75) function icon_add($title = '')
76) {
77)   global $prefix;
78)   return "<img src=\"{$prefix}images/add.png\" style=\"height: 16px; width: 16px;\" alt=\"{$title}\" title=\"{$title}\" />";
79) }
80) 
81) 
82) 
83) function icon_delete($title = '')
84) {
85)   global $prefix;
86)   return "<img src=\"{$prefix}images/delete.png\" style=\"height: 16px; width: 16px;\" alt=\"{$title}\" title=\"{$title}\" />";
87) }
88) 
89) 
90)