/[smecontribs]/rpms/smeserver-gollem/contribs7/smeserver-gollem-1.0-5.menusettings.include.patch
ViewVC logotype

Annotation of /rpms/smeserver-gollem/contribs7/smeserver-gollem-1.0-5.menusettings.include.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (hide annotations) (download)
Tue Nov 25 16:20:23 2008 UTC (16 years ago) by slords
Branch: MAIN
CVS Tags: smeserver-gollem-1_0-18_el4_sme, smeserver-gollem-1_0-16_el4_sme, smeserver-gollem-1_0-15_el4_sme, smeserver-gollem-1_0-17_el4_sme, smeserver-gollem-1_0-14_el4_sme, HEAD
Changes since 1.2: +0 -0 lines
Restore

1 slords 1.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     -}

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed