app.php 470 B

1234567891011121314151617
  1. <?php
  2. $l=new OC_L10N('tasks');
  3. OC::$CLASSPATH['OC_Calendar_Calendar'] = 'apps/calendar/lib/calendar.php';
  4. OC::$CLASSPATH['OC_Task_App'] = 'apps/tasks/lib/app.php';
  5. OCP\App::register( array(
  6. 'order' => 11,
  7. 'id' => 'tasks',
  8. 'name' => 'Tasks' ));
  9. OCP\App::addNavigationEntry( array(
  10. 'id' => 'tasks_index',
  11. 'order' => 11,
  12. 'href' => OCP\Util::linkTo( 'tasks', 'index.php' ),
  13. 'icon' => OCP\Util::imagePath( 'tasks', 'icon.png' ),
  14. 'name' => $l->t('Tasks')));