[cvs] [Wiki] created: DynamicLogin

Wiki Guest wikiguest at horde.org
Mon Sep 3 19:16:07 UTC 2007


guest [65.26.220.76]  Mon, 03 Sep 2007 12:16:07 -0700

Created page: http://wiki.horde.org/DynamicLogin

To make the mode "Dynamic" at the login screen you need to edit the
./imp/login.php file.  Search for the code that looks like this:

<code>
/* If DIMP/MIMP are available, show selection of alternate views. */
$views = array();
if (!empty($conf['user']['select_view'])) {
    $apps = $registry->listApps(null, true);
    if (isset($apps['dimp']) || isset($apps['mimp'])) {
        $views[] = array('sel' => false, 'val' => 'imp', 'name' =>
_("Traditional"));
        if (isset($apps['dimp'])) {
            $views[] = array('sel' => true, 'val' => 'dimp', 'name' =>
_("Dynamic"));
        }
        if (isset($apps['mimp'])) {
            $views[] = array('sel' => false, 'val' => 'mimp', 'name' =>
_("Minimalist"));
        }
    }
}
</code>


More information about the cvs mailing list