bernd commited on 2009-11-27 08:38:39
Zeige 3 geänderte Dateien mit 8 Einfügungen und 2 Löschungen.
git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@1523 87cf0b9e-d624-0410-a070-f6ee81989793
... | ... |
@@ -10,6 +10,12 @@ function icon_warning($title = '') |
10 | 10 |
|
11 | 11 |
|
12 | 12 |
|
13 |
+function icon_enabled_php53($title = '') |
|
14 |
+{ |
|
15 |
+ global $prefix; |
|
16 |
+ return "<img src=\"{$prefix}images/ok-php53.png\" style=\"height: 16px; width: 16px;\" alt=\"{$title}\" title=\"{$title}\" />"; |
|
17 |
+} |
|
18 |
+ |
|
13 | 19 |
function icon_enabled($title = '') |
14 | 20 |
{ |
15 | 21 |
global $prefix; |
... | ... |
@@ -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)').'5.2'; |
|
96 |
+ $php = icon_enabled('PHP eingeschaltet (PHP 5.2)'); |
|
97 | 97 |
break; |
98 | 98 |
case 'php53': |
99 |
- $php = icon_enabled('PHP eingeschaltet (PHP 5.3)').'5.3'; |
|
99 |
+ $php = icon_enabled_php53('PHP eingeschaltet (PHP 5.3)'); |
|
100 | 100 |
break; |
101 | 101 |
} |
102 | 102 |
output("<td>{$php}</td>"); |
103 | 103 |