1 |
diff -Nur -x '*.orig' -x '*.rej' smeserver-gollem-1.0/root/etc/e-smith/templates/home/httpd/html/horde/gollem/config/conf.php/120MenuSettings mezzanine_patched_smeserver-gollem-1.0/root/etc/e-smith/templates/home/httpd/html/horde/gollem/config/conf.php/120MenuSettings |
2 |
--- smeserver-gollem-1.0/root/etc/e-smith/templates/home/httpd/html/horde/gollem/config/conf.php/120MenuSettings 2006-02-23 15:31:35.000000000 -0600 |
3 |
+++ mezzanine_patched_smeserver-gollem-1.0/root/etc/e-smith/templates/home/httpd/html/horde/gollem/config/conf.php/120MenuSettings 2006-03-22 19:32:41.000000000 -0600 |
4 |
@@ -1,27 +1,3 @@ |
5 |
//120MenuSettings |
6 |
-{ |
7 |
-$OUT = '$conf[\'menu\'][\'apps\'] = array('; |
8 |
+include '/home/httpd/html/horde/conf.menu.apps.php'; |
9 |
|
10 |
-use esmith::ConfigDB; |
11 |
-my $c = esmith::ConfigDB->open_ro; |
12 |
- |
13 |
-my $record = $c->get('horde'); |
14 |
- |
15 |
-foreach $component (qw/ accounts agora chora forwards genie giapeta goops gollem hermes ingo imp |
16 |
- jeta jonah juno kronolith klutz luxor merk midas mimp mnemo mottle nag occam orator passwd |
17 |
- rakim sam scry sork swoosh trean thor troll turba vacation ulaform vilma whups wicked /) { |
18 |
- |
19 |
- my $status = $record->prop($component); |
20 |
- |
21 |
- if (!defined ($status)) { |
22 |
- $status = ''; |
23 |
- } |
24 |
- |
25 |
- if ($status eq 'installed') { |
26 |
- $OUT .= '\'' . $component . '\', ' |
27 |
- } |
28 |
-} |
29 |
- |
30 |
-$OUT = substr($OUT, 0, length($OUT) - 2) . ");\n"; |
31 |
- |
32 |
-} |