[turba] Actions Show Contacts / Lists don't appear with Turba 2.1.3

Jan Schneider jan at horde.org
Wed Jan 17 14:52:10 PST 2007


Zitat von eugenio vota <eugenio.vota at arpnet.it>:

> Hi all, setting up lastest stable release of  Turba 2.1.3 ( Horde 3.1.3),
> I found that now browsing the Personal Address Book (mysql for my  
> environment),
> don't appear the actions Show Lists, Show Contacts and Show All, on  
> top of the column heading.
>
> Looking for the trouble , it seems that the test (near row 51 of the  
> file   turba/templates/browse/action.inc )
> is every time false, but I don't know why?
>
>
>        <?php
>        $browse_link =
>        Util::addParameter(Horde::applicationUrl('browse.php'),
>        'source', $source);
>        if ($this->getType() == 'directory' &&
>        !empty($cfgSources[$source]['map']['__type'])) {
>            printf(_("Show %s"),
>        Horde::widget(Util::addParameter($browse_link, 'show','lists'),
>        _("Show Lists"), 'widget', '', '', _("_Lists")) . ', ' .
>                Horde::widget(Util::addParameter($browse_link, 'show',
>        'contacts'), _("Show Contacts"), 'widget', '', '',
>        _("_Contacts")) . ', ' .
>                Horde::widget(Util::addParameter($browse_link, 'show',
>        'all'), _("Show All"), 'widget', '', '', _("All")));
>        }
>        ?>
>
> Anyone knows if it's a configuration issue ?

No, a bug. It has to be $GLOBALS['cfgSources'], not $cfgSources. Fixed in CVS.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the turba mailing list