Browse code

Neue Icons für PHP 5.2 und 5.3

git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@1844 87cf0b9e-d624-0410-a070-f6ee81989793

bernd authored on15/11/2010 15:28:22
Showing3 changed files
1 1
new file mode 100644
2 2
Binary files /dev/null and b/images/ok-warning.png differ
... ...
@@ -10,10 +10,10 @@ function icon_warning($title = '')
10 10
 
11 11
 
12 12
 
13
-function icon_enabled_php53($title = '')
13
+function icon_enabled_warning($title = '')
14 14
 {
15 15
   global $prefix;
16
-  return "<img src=\"{$prefix}images/ok-php53.png\" style=\"height: 16px; width: 16px;\" alt=\"{$title}\" title=\"{$title}\" />";
16
+  return "<img src=\"{$prefix}images/ok-warning.png\" style=\"height: 16px; width: 16px;\" alt=\"{$title}\" title=\"{$title}\" />";
17 17
 }
18 18
 
19 19
 function icon_enabled($title = '')
... ...
@@ -93,10 +93,10 @@ if (count($vhosts) > 0)
93 93
           $php = icon_warning('[mod_php] Veraltet, bitte umstellen!').' Apache-Modul';
94 94
           break;
95 95
         case 'fastcgi':
96
-          $php = icon_enabled('PHP eingeschaltet (PHP 5.2)');
96
+          $php = icon_enabled_warning('PHP in veralteter Version aktiviert');
97 97
           break;
98 98
         case 'php53':
99
-          $php = icon_enabled_php53('PHP eingeschaltet (PHP 5.3)');
99
+          $php = icon_enabled('PHP eingeschaltet');
100 100
           break;
101 101
       }
102 102
       output("<td>{$php}</td>");