diff options
author | Robin Appelman <icewind1991@gmail.com> | 2011-07-30 22:22:41 +0200 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2011-07-30 22:22:57 +0200 |
commit | 18949aaa0b35f89a19e7eb77ba0564dadf13081c (patch) | |
tree | 0a7360b42bf3d3f71972959c101ffe01dd0ac0a9 /apps/files_publiclink | |
parent | d6faa89ed720da7319923cba33a83d0210216d57 (diff) | |
download | nextcloud-server-18949aaa0b35f89a19e7eb77ba0564dadf13081c.tar.gz nextcloud-server-18949aaa0b35f89a19e7eb77ba0564dadf13081c.zip |
move public links to a subentry of files
Diffstat (limited to 'apps/files_publiclink')
-rw-r--r-- | apps/files_publiclink/admin.php | 2 | ||||
-rw-r--r-- | apps/files_publiclink/appinfo/app.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_publiclink/admin.php b/apps/files_publiclink/admin.php index 8187039c3a6..c095cf14409 100644 --- a/apps/files_publiclink/admin.php +++ b/apps/files_publiclink/admin.php @@ -46,7 +46,7 @@ if(isset($_SERVER['HTTPS'])) { // return template -$tmpl = new OC_Template( "files_publiclink", "admin", "admin" ); +$tmpl = new OC_Template( "files_publiclink", "admin", "user" ); $tmpl->assign( 'links', OC_PublicLink::getLinks()); $tmpl->assign('baseUrl',$baseUrl); $tmpl->printPage(); diff --git a/apps/files_publiclink/appinfo/app.php b/apps/files_publiclink/appinfo/app.php index 314a3bf896a..28a398f7278 100644 --- a/apps/files_publiclink/appinfo/app.php +++ b/apps/files_publiclink/appinfo/app.php @@ -1,6 +1,6 @@ <?php -OC_App::addSettingsPage( array( "id" => "files_publiclink_administration", "order" => 1, "href" => OC_Helper::linkTo( "files_publiclink", "admin.php" ), "name" => "Public Links", "icon" => OC_Helper::imagePath( "files_publiclink", "share.png" ))); +OC_App::addNavigationSubEntry('files_index', array( "id" => "files_publiclink_administration", "order" => 1, "href" => OC_Helper::linkTo( "files_publiclink", "admin.php" ), "name" => "Public Links", "icon" => OC_Helper::imagePath( "files_publiclink", "share.png" ))); ?> |