/[smecontribs]/rpms/smeserver-mimp/contribs7/smeserver-mimp-1.0-6.mimp-template.patch
ViewVC logotype

Contents of /rpms/smeserver-mimp/contribs7/smeserver-mimp-1.0-6.mimp-template.patch

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


Revision 1.2 - (show annotations) (download)
Thu Jun 26 18:11:51 2008 UTC (15 years, 10 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
* Sat Jun 7 2008 John H. Bennett III <bennettj@johnbennettservices.com> 1.1-1
- Initial production build
- Jump in package name to reflect new version of mimp

1 diff -Nur -x '*.orig' -x '*.rej' smeserver-mimp-1.0/root/etc/e-smith/templates/home/httpd/html/horde/config/conf.php/999mimp mezzanine_patched_smeserver-mimp-1.0/root/etc/e-smith/templates/home/httpd/html/horde/config/conf.php/999mimp
2 --- smeserver-mimp-1.0/root/etc/e-smith/templates/home/httpd/html/horde/config/conf.php/999mimp 1969-12-31 18:00:00.000000000 -0600
3 +++ mezzanine_patched_smeserver-mimp-1.0/root/etc/e-smith/templates/home/httpd/html/horde/config/conf.php/999mimp 2006-07-19 20:34:33.000000000 -0500
4 @@ -0,0 +1,24 @@
5 +// 999mimp
6 +{
7 +my $Mimp = $mimp{'status'} || "#Mimp login is currently not enabled. To enable - config set mimp service status enabled"; return ""
8 + unless ($Mimp eq "enabled");
9 +$OUT = '$conf[\'auth\'][\'params\'][\'drivers\'] = array(
10 + \'imp\' => array(\'driver\' => \'application\',
11 + \'params\' => array(\'app\' => \'imp\')),
12 + \'mimp\' => array(\'driver\' => \'application\',
13 + \'params\' => array(\'app\' => \'mimp\')));
14 +$conf[\'auth\'][\'params\'][\'loginscreen_switch\'] = \'_horde_select_loginscreen\';
15 +
16 +if (!function_exists(\'_horde_select_loginscreen\')) \{
17 + function _horde_select_loginscreen()
18 + \{
19 + require_once \'Horde/Browser.php\';
20 + $browser = &new Browser();
21 + if ($browser->isMobile()) \{
22 + return \'mimp\';
23 + \}
24 + return \'imp\';
25 + \}
26 +\}'
27 +}
28 +

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