Changeset 4247 in subversion
- Timestamp:
- Nov 22, 2010 5:18:46 AM (3 years ago)
- Location:
- trunk/plugins
- Files:
-
- 3 added
- 1 deleted
- 1 edited
- 1 copied
-
kolab_addressbook/config.inc.php.dist (deleted)
-
kolab_addressbook/kolab_addressbook.php (modified) (2 diffs)
-
kolab_core (added)
-
kolab_core/config.inc.php.dist (added)
-
kolab_core/kolab_core.php (added)
-
kolab_core/rcube_kolab.php (copied) (copied from trunk/plugins/kolab_addressbook/lib/rcube_kolab.php)
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/kolab_addressbook/kolab_addressbook.php
r4244 r4247 7 7 * 8 8 * Sample plugin to add a new address book source with data from Kolab storage 9 *10 9 * This is work-in-progress for the Roundcube+Kolab integration. 11 * The library part is to be moved into a separate PEAR package or plugin12 * that this and other Kolab-related plugins will depend on.13 10 * 14 11 * @author Thomas Bruederli <roundcube@gmail.com> … … 25 22 public function init() 26 23 { 27 // load local config28 $this-> load_config();24 // load required plugin 25 $this->require_plugin('kolab_core'); 29 26 27 // register hooks 30 28 $this->add_hook('addressbooks_list', array($this, 'address_sources')); 31 29 $this->add_hook('addressbook_get', array($this, 'get_address_book')); 32 30 $this->add_hook('contact_form', array($this, 'contact_form')); 33 34 // extend include path to load bundled Horde classes 35 $include_path = $this->home . '/lib' . PATH_SEPARATOR . ini_get('include_path'); 36 set_include_path($include_path); 37 31 38 32 // extend list of address sources to be used for autocompletion 39 33 $rcmail = rcmail::get_instance();
Note: See TracChangeset
for help on using the changeset viewer.
