--- config/registry.php.dist.orig Tue May 6 14:28:01 2003 +++ config/registry.php.dist Sat Aug 9 15:09:34 2003 @@ -20,8 +20,8 @@ * IMP handle the authentication for Horde. This avoids the * "double login" while accessing IMP. */ -// $this->registry['auth']['login'] = 'imp'; -// $this->registry['auth']['logout'] = 'imp'; +//UNCOMMENTWHENINSTIMP$this->registry['auth']['login'] = 'imp'; +//UNCOMMENTWHENINSTIMP$this->registry['auth']['logout'] = 'imp'; /* mail: Handler for sending mail. */ $this->registry['mail']['compose'] = 'imp'; @@ -33,11 +33,11 @@ $this->registry['contacts']['sources'] = 'turba'; $this->registry['contacts']['fields'] = 'turba'; /* These handlers are available with Turba 1.2 */ -// $this->registry['contacts']['add_field'] = 'turba'; -// $this->registry['contacts']['delete_field'] = 'turba'; -// $this->registry['contacts']['get_field'] = 'turba'; -// $this->registry['contacts']['list_field'] = 'turba'; -// $this->registry['contacts']['import_vcard'] = 'turba'; +//UNCOMMENTWHENINSTTURBA $this->registry['contacts']['add_field'] = 'turba'; +//UNCOMMENTWHENINSTTURBA $this->registry['contacts']['delete_field'] = 'turba'; +//UNCOMMENTWHENINSTTURBA $this->registry['contacts']['get_field'] = 'turba'; +//UNCOMMENTWHENINSTTURBA $this->registry['contacts']['list_field'] = 'turba'; +//UNCOMMENTWHENINSTTURBA $this->registry['contacts']['import_vcard'] = 'turba'; /* events: Handler for events. */ $this->registry['events']['show'] = 'kronolith'; @@ -111,78 +111,95 @@ 'status' => 'notoolbar' ); -$this->applications['imp'] = array( - 'fileroot' => dirname(__FILE__) . '/../imp', - 'webroot' => $this->applications['horde']['webroot'] . '/imp', - 'icon' => $this->applications['horde']['webroot'] . '/imp/graphics/imp.gif', - 'name' => _("Mail"), - 'allow_guests' => false, - 'status' => 'inactive' -); - -$this->applications['ingo'] = array( - 'fileroot' => dirname(__FILE__) . '/../ingo', - 'webroot' => $this->applications['horde']['webroot'] . '/ingo', - 'icon' => $this->applications['horde']['webroot'] . '/ingo/graphics/ingo.gif', - 'name' => _("Filters"), - 'allow_guests' => false, - 'status' => 'inactive' -); - -$this->applications['turba'] = array( - 'fileroot' => dirname(__FILE__) . '/../turba', - 'webroot' => $this->applications['horde']['webroot'] . '/turba', - 'icon' => $this->applications['horde']['webroot'] . '/turba/graphics/turba.gif', - 'name' => _("Address Book"), - 'allow_guests' => false, - 'status' => 'inactive' -); - -$this->applications['kronolith'] = array( - 'fileroot' => dirname(__FILE__) . '/../kronolith', - 'webroot' => $this->applications['horde']['webroot'] . '/kronolith', - 'icon' => $this->applications['horde']['webroot'] . '/kronolith/graphics/kronolith.gif', - 'name' => _("Calendar"), - 'allow_guests' => false, - 'status' => 'inactive' -); - -$this->applications['mnemo'] = array( - 'fileroot' => dirname(__FILE__) . '/../mnemo', - 'webroot' => $this->applications['horde']['webroot'] . '/mnemo', - 'icon' => $this->applications['horde']['webroot'] . '/mnemo/graphics/mnemo.gif', - 'name' => _("Memos"), - 'allow_guests' => false, - 'status' => 'inactive' -); - -$this->applications['nag'] = array( - 'fileroot' => dirname(__FILE__) . '/../nag', - 'webroot' => $this->applications['horde']['webroot'] . '/nag', - 'icon' => $this->applications['horde']['webroot'] . '/nag/graphics/nag.gif', - 'name' => _("Tasks"), - 'allow_guests' => false, - 'status' => 'inactive' -); - -$this->applications['chora'] = array( - 'fileroot' => dirname(__FILE__) . '/../chora', - 'webroot' => $this->applications['horde']['webroot'] . '/chora', - 'icon' => $this->applications['horde']['webroot'] . '/chora/graphics/chora.gif', - 'name' => _("CVS"), - 'allow_guests' => false, - 'status' => 'inactive' -); - -$this->applications['klutz'] = array( - 'fileroot' => dirname(__FILE__) . '/../klutz', - 'webroot' => $this->applications['horde']['webroot'] . '/klutz', - 'icon' => $this->applications['horde']['webroot'] . '/klutz/graphics/klutz.gif', - 'name' => _("Comics"), - 'allow_guests' => false, - 'status' => 'inactive' -); - +//UNCOMMENTWHENINSTIMP$this->applications['imp'] = array( +//UNCOMMENTWHENINSTIMP 'fileroot' => dirname(__FILE__) . '/../imp', +//UNCOMMENTWHENINSTIMP 'webroot' => $this->applications['horde']['webroot'] . '/imp', +//UNCOMMENTWHENINSTIMP 'icon' => $this->applications['horde']['webroot'] . '/imp/graphics/imp.gif', +//UNCOMMENTWHENINSTIMP 'name' => _("Mail"), +//UNCOMMENTWHENINSTIMP 'allow_guests' => false, +//UNCOMMENTWHENINSTIMP 'status' => 'active' +//UNCOMMENTWHENINSTIMP); + +//UNCOMMENTWHENINSTINGO$this->applications['ingo'] = array( +//UNCOMMENTWHENINSTINGO 'fileroot' => dirname(__FILE__) . '/../ingo', +//UNCOMMENTWHENINSTINGO 'webroot' => $this->applications['horde']['webroot'] . '/ingo', +//UNCOMMENTWHENINSTINGO 'icon' => $this->applications['horde']['webroot'] . '/ingo/graphics/ingo.gif', +//UNCOMMENTWHENINSTINGO 'name' => _("Filters"), +//UNCOMMENTWHENINSTINGO 'allow_guests' => false, +//UNCOMMENTWHENINSTINGO 'status' => 'active' +//UNCOMMENTWHENINSTINGO); + +//UNCOMMENTWHENINSTTURBA$this->applications['turba'] = array( +//UNCOMMENTWHENINSTTURBA 'fileroot' => dirname(__FILE__) . '/../turba', +//UNCOMMENTWHENINSTTURBA 'webroot' => $this->applications['horde']['webroot'] . '/turba', +//UNCOMMENTWHENINSTTURBA 'icon' => $this->applications['horde']['webroot'] . '/turba/graphics/turba.gif', +//UNCOMMENTWHENINSTTURBA 'name' => _("Address Book"), +//UNCOMMENTWHENINSTTURBA 'allow_guests' => false, +//UNCOMMENTWHENINSTTURBA 'status' => 'active' +//UNCOMMENTWHENINSTTURBA); + +//UNCOMMENTWHENINSTKRONOLITH$this->applications['kronolith'] = array( +//UNCOMMENTWHENINSTKRONOLITH 'fileroot' => dirname(__FILE__) . '/../kronolith', +//UNCOMMENTWHENINSTKRONOLITH 'webroot' => $this->applications['horde']['webroot'] . '/kronolith', +//UNCOMMENTWHENINSTKRONOLITH 'icon' => $this->applications['horde']['webroot'] . '/kronolith/graphics/kronolith.gif', +//UNCOMMENTWHENINSTKRONOLITH 'name' => _("Calendar"), +//UNCOMMENTWHENINSTKRONOLITH 'allow_guests' => false, +//UNCOMMENTWHENINSTKRONOLITH 'status' => 'active' +//UNCOMMENTWHENINSTKRONOLITH); + +//UNCOMMENTWHENINSTMNEMO$this->applications['mnemo'] = array( +//UNCOMMENTWHENINSTMNEMO 'fileroot' => dirname(__FILE__) . '/../mnemo', +//UNCOMMENTWHENINSTMNEMO 'webroot' => $this->applications['horde']['webroot'] . '/mnemo', +//UNCOMMENTWHENINSTMNEMO 'icon' => $this->applications['horde']['webroot'] . '/mnemo/graphics/mnemo.gif', +//UNCOMMENTWHENINSTMNEMO 'name' => _("Memos"), +//UNCOMMENTWHENINSTMNEMO 'allow_guests' => false, +//UNCOMMENTWHENINSTMNEMO 'status' => 'active' +//UNCOMMENTWHENINSTMNEMO); + +//UNCOMMENTWHENINSTNAG$this->applications['nag'] = array( +//UNCOMMENTWHENINSTNAG 'fileroot' => dirname(__FILE__) . '/../nag', +//UNCOMMENTWHENINSTNAG 'webroot' => $this->applications['horde']['webroot'] . '/nag', +//UNCOMMENTWHENINSTNAG 'icon' => $this->applications['horde']['webroot'] . '/nag/graphics/nag.gif', +//UNCOMMENTWHENINSTNAG 'name' => _("Tasks"), +//UNCOMMENTWHENINSTNAG 'allow_guests' => false, +//UNCOMMENTWHENINSTNAG 'status' => 'active' +//UNCOMMENTWHENINSTNAG); + +//UNCOMMENTWHENINSTCHORA$this->applications['chora'] = array( +//UNCOMMENTWHENINSTCHORA 'fileroot' => dirname(__FILE__) . '/../chora', +//UNCOMMENTWHENINSTCHORA 'webroot' => $this->applications['horde']['webroot'] . '/chora', +//UNCOMMENTWHENINSTCHORA 'icon' => $this->applications['horde']['webroot'] . '/chora/graphics/chora.gif', +//UNCOMMENTWHENINSTCHORA 'name' => _("CVS"), +//UNCOMMENTWHENINSTCHORA 'allow_guests' => false, +//UNCOMMENTWHENINSTCHORA 'status' => 'active' +//UNCOMMENTWHENINSTCHORA); + +//UNCOMMENTWHENINSTKLUTZ$this->applications['klutz'] = array( +//UNCOMMENTWHENINSTKLUTZ 'fileroot' => dirname(__FILE__) . '/../klutz', +//UNCOMMENTWHENINSTKLUTZ 'webroot' => $this->applications['horde']['webroot'] . '/klutz', +//UNCOMMENTWHENINSTKLUTZ 'icon' => $this->applications['horde']['webroot'] . '/klutz/graphics/klutz.gif', +//UNCOMMENTWHENINSTKLUTZ 'name' => _("Comics"), +//UNCOMMENTWHENINSTKLUTZ 'allow_guests' => false, +//UNCOMMENTWHENINSTKLUTZ 'status' => 'active' +//UNCOMMENTWHENINSTKLUTZ); + +//UNCOMMENTWHENINSTNIC$this->applications['nic'] = array( +//UNCOMMENTWHENINSTNIC 'fileroot' => dirname(__FILE__) . '/../nic', +//UNCOMMENTWHENINSTNIC 'webroot' => '/horde/nic', +//UNCOMMENTWHENINSTNIC 'icon' => '/horde/nic/graphics/nic.gif', +//UNCOMMENTWHENINSTNIC 'name' => _("Network"), +//UNCOMMENTWHENINSTNIC 'allow_guests' => false, +//UNCOMMENTWHENINSTNIC 'status' => 'active' +//UNCOMMENTWHENINSTNIC); + +//UNCOMMENTWHENINSTJONAH$this->applications['jonah'] = array( +//UNCOMMENTWHENINSTJONAH 'fileroot' => dirname(__FILE__) . '/../jonah', +//UNCOMMENTWHENINSTJONAH 'webroot' => '/horde/jonah', +//UNCOMMENTWHENINSTJONAH 'icon' => '/horde/jonah/graphics/jonah.gif', +//UNCOMMENTWHENINSTJONAH 'name' => _("Headlines"), +//UNCOMMENTWHENINSTJONAH 'allow_guests' => true, +//UNCOMMENTWHENINSTJONAH 'status' => 'active' +//UNCOMMENTWHENINSTJONAH); /** * Service registry @@ -326,6 +343,29 @@ $this->services['nag']['horde']['summary'] = array( 'file' => '%application%/lib/api.php', 'function' => 'nagSummary', + 'args' => array(), + 'type' => 'string' +); +$this->services['nic']['net']['finger'] = array( + 'link' => "%application%/finger.php?address=|address|" +); + + +$this->services['whups']['projects']['list'] = array( + 'file' => '%application%/lib/api.php', + 'function' => 'whupsListModules', + 'args' => array(), + 'type' => 'array' +); +$this->services['whups']['projects']['add'] = array( + 'file' => '%application%/lib/api.php', + 'function' => 'whupsAddModule', + 'args' => array('name'), + 'type' => 'integer' +); +$this->services['whups']['horde']['summary'] = array( + 'file' => '%application%/lib/api.php', + 'function' => 'whupsSummary', 'args' => array(), 'type' => 'string' );