From 18949aaa0b35f89a19e7eb77ba0564dadf13081c Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Sat, 30 Jul 2011 22:22:41 +0200 Subject: [PATCH] move public links to a subentry of files --- apps/files_publiclink/admin.php | 2 +- apps/files_publiclink/appinfo/app.php | 2 +- files/css/files.css | 2 +- 3 files changed, 3 insertions(+), 3 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 @@ "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" ))); ?> diff --git a/files/css/files.css b/files/css/files.css index 4aaca82f124..d7d681e66a3 100644 --- a/files/css/files.css +++ b/files/css/files.css @@ -48,4 +48,4 @@ table td.filename form { float:left; font-size:.85em; } .selectedActions a:hover, a.file_action:hover { background:#fff; -moz-box-shadow:0 0 10px #fff; -webkit-box-shadow:0 0 10px #fff; box-shadow:0 0 10px #fff; -moz-border-radius:10px; -webkit-border-radius:10px; border-radius:10px; } /* add breadcrumb divider to the File item in navigation panel */ -#plugins li:first-child { background-position:15.7em 0px; background-repeat:no-repeat; background-image:url("/owncloud/core/img/breadcrumb-divider-start.png"); width:15.7em; padding-right:11px; } +#plugins>ul>li:first-child { background-position:15.7em 0px; background-repeat:no-repeat; background-image:url("/owncloud/core/img/breadcrumb-divider-start.png"); width:15.7em; padding-right:11px; }