Neue Icons für PHP 5.2 und 5.3
bernd

bernd commited on 2010-11-15 15:28:22
Zeige 3 geänderte Dateien mit 4 Einfügungen und 4 Löschungen.


git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@1844 87cf0b9e-d624-0410-a070-f6ee81989793
... ...
@@ -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>");
103 103