nextcloud/apps/tasks/appinfo/app.php

17 lines
470 B
PHP
Raw Normal View History

2011-09-12 23:28:28 +04:00
<?php
$l=new OC_L10N('tasks');
OC::$CLASSPATH['OC_Calendar_Calendar'] = 'apps/calendar/lib/calendar.php';
OC::$CLASSPATH['OC_Task_App'] = 'apps/tasks/lib/app.php';
2011-09-12 23:28:28 +04:00
2012-05-04 22:20:37 +04:00
OCP\App::register( array(
2011-09-12 23:28:28 +04:00
'order' => 11,
'id' => 'tasks',
'name' => 'Tasks' ));
2012-05-04 22:20:37 +04:00
OCP\App::addNavigationEntry( array(
2011-09-12 23:28:28 +04:00
'id' => 'tasks_index',
'order' => 11,
2012-05-04 22:20:37 +04:00
'href' => OCP\Util::linkTo( 'tasks', 'index.php' ),
'icon' => OCP\Util::imagePath( 'tasks', 'icon.png' ),
2011-09-12 23:28:28 +04:00
'name' => $l->t('Tasks')));