88ebb15f1d
Apps can now register navigation items into the sidebar of the files app. For every sidebar item there is a container. The container's content is rendered based on the script name given at registration time.
14 lines
280 B
PHP
14 lines
280 B
PHP
<?php
|
|
$l = OC_L10N::get('files_trashbin');
|
|
|
|
// register hooks
|
|
\OCA\Files_Trashbin\Trashbin::registerHooks();
|
|
|
|
\OCA\Files\App::getNavigationManager()->add(
|
|
array(
|
|
"appname" => 'files_trashbin',
|
|
"script" => 'index.php',
|
|
"order" => 1,
|
|
"name" => $l->t('Deleted files')
|
|
)
|
|
);
|