[dev] Re: [cvs] commit: gollem/templates/login login.inc imp/templates/login login.inc horde/templates/login login.inc

Pavel Chytil pchytil at bme.ogi.edu
Sun Nov 7 09:12:39 PST 2004


Hello,

I think that this line:

require_once 'Horde/Menu.php';

is missing in the file:

gollem/templates/login/login.inc

I have placed on line 56:

<div id="menu">
  <span style="float:right">
   <?php
   require_once 'Horde/Menu.php';
   $menu = &new Menu(false, false, false);
   echo $menu->render();
   ?>
  </span>
  <h1><?php printf(_("%s Login"), $registry->get('name')) ?></h1>
</div>

seems to be working for me, otherwise I get error:

Fatal error: Cannot instantiate non-existent class: menu in
/usr/local/apache2/htdocs/horde/gollem/templates/login/login.inc on line 56

I am using one day old cvs and using imp as a authentication.

Pavel


Quoting Chuck Hagenbuch <chuck at horde.org>:

> chuck       2004-11-05 12:31:28 PST
>
>   Modified files:
>     templates/login      login.inc
>     templates/login      login.inc
>     templates/login      login.inc
>   Log:
>   Fix menus, better $reason styling.
>
>   Revision  Changes    Path
>   1.58      +10 -29    gollem/templates/login/login.inc
>   2.62      +1 -1      horde/templates/login/login.inc
>   2.167     +1 -2      imp/templates/login/login.inc
>
>   Chora Links:
>   
> http://cvs.horde.org/diff.php/gollem/templates/login/login.inc?r1=1.57&r2=1.58&ty=u
>   
> http://cvs.horde.org/diff.php/horde/templates/login/login.inc?r1=2.61&r2=2.62&ty=u
>   
> http://cvs.horde.org/diff.php/imp/templates/login/login.inc?r1=2.166&r2=2.167&ty=u
>
> --
> To unsubscribe, mail: cvs-unsubscribe at lists.horde.org
>


More information about the dev mailing list