diff options
author | Jakob Sack <kde@jakobsack.de> | 2011-03-03 23:08:11 +0100 |
---|---|---|
committer | Jakob Sack <kde@jakobsack.de> | 2011-03-03 23:08:11 +0100 |
commit | f7f957abb92e5ce359d7eafa136406822fee0a51 (patch) | |
tree | 3e101065ee9f29335ffbc8ab48253237eb6c441d /files | |
parent | ae5dc3efdffef75c48e5ef7cac6b40cd5720442b (diff) | |
download | nextcloud-server-f7f957abb92e5ce359d7eafa136406822fee0a51.tar.gz nextcloud-server-f7f957abb92e5ce359d7eafa136406822fee0a51.zip |
Base for a more flexible navigation
Diffstat (limited to 'files')
-rw-r--r-- | files/appinfo/app.php | 7 | ||||
-rw-r--r-- | files/img/navicon.png | bin | 0 -> 635 bytes |
2 files changed, 4 insertions, 3 deletions
diff --git a/files/appinfo/app.php b/files/appinfo/app.php index aa0054fc43d..8b1a806b7be 100644 --- a/files/appinfo/app.php +++ b/files/appinfo/app.php @@ -1,7 +1,8 @@ <?php -OC_APP::register( array( "id" => "files", "name" => "Files" )); -OC_UTIL::addNavigationEntry( array( "app" => "files", "file" => "index.php", "name" => "Files" )); -OC_UTIL::addAdminPage( array( "app" => "files", "file" => "admin.php", "name" => "Files" )); +OC_APP::register( array( "order" => 2, "id" => "files", "name" => "Files" )); + +OC_UTIL::addNavigationEntry( array( "id" => "files_index", "order" => 1, "href" => OC_HELPER::linkTo( "files", "index.php" ), "icon" => OC_HELPER::imagePath( "files", "navicon.png" ), "name" => "Files" )); +OC_UTIL::addAdminPage( array( "order" => 1, "href" => OC_HELPER::linkTo( "files", "admin.php" ), "name" => "Files" )); ?> diff --git a/files/img/navicon.png b/files/img/navicon.png Binary files differnew file mode 100644 index 00000000000..9ee717c8b12 --- /dev/null +++ b/files/img/navicon.png |