2013-01-18 12:11:29 +00:00
|
|
|
<?php
|
2015-03-26 10:44:34 +00:00
|
|
|
/**
|
|
|
|
* @author Bart Visscher <bartv@thisnet.nl>
|
|
|
|
* @author Björn Schießle <schiessle@owncloud.com>
|
|
|
|
* @author Christopher Schäpers <kondou@ts.unde.re>
|
|
|
|
* @author Florin Peter <github@florin-peter.de>
|
|
|
|
* @author Robin Appelman <icewind@owncloud.com>
|
|
|
|
* @author Vincent Petry <pvince81@owncloud.com>
|
|
|
|
*
|
|
|
|
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
|
|
|
* @license AGPL-3.0
|
|
|
|
*
|
|
|
|
* This code is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
|
|
* as published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU Affero General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
|
|
*
|
|
|
|
*/
|
2014-08-31 08:05:59 +00:00
|
|
|
$l = \OC::$server->getL10N('files_trashbin');
|
2013-02-22 16:21:57 +00:00
|
|
|
|
2013-05-22 21:50:45 +00:00
|
|
|
// register hooks
|
2013-08-18 09:02:08 +00:00
|
|
|
\OCA\Files_Trashbin\Trashbin::registerHooks();
|
2014-05-08 14:24:24 +00:00
|
|
|
|
|
|
|
\OCA\Files\App::getNavigationManager()->add(
|
2014-05-08 20:06:30 +00:00
|
|
|
array(
|
|
|
|
"id" => 'trashbin',
|
|
|
|
"appname" => 'files_trashbin',
|
2014-05-12 17:54:20 +00:00
|
|
|
"script" => 'list.php',
|
2014-05-20 09:06:09 +00:00
|
|
|
"order" => 50,
|
2014-05-08 20:06:30 +00:00
|
|
|
"name" => $l->t('Deleted files')
|
|
|
|
)
|
2014-05-08 14:24:24 +00:00
|
|
|
);
|