fb10bf4048
- added new OCA.Files namespace for files classes - the sidebar can now switch between views/containers - the trashbin renders in its own container but currently doesn't work due to overrides - added app.js as entry point for JS code (ideally all other files should only contain classes and not trigger anything)
15 lines
302 B
PHP
15 lines
302 B
PHP
<?php
|
|
$l = OC_L10N::get('files_trashbin');
|
|
|
|
// register hooks
|
|
\OCA\Files_Trashbin\Trashbin::registerHooks();
|
|
|
|
\OCA\Files\App::getNavigationManager()->add(
|
|
array(
|
|
"id" => 'trashbin',
|
|
"appname" => 'files_trashbin',
|
|
"script" => 'index.php',
|
|
"order" => 1,
|
|
"name" => $l->t('Deleted files')
|
|
)
|
|
);
|