16 lines
598 B
PHP
16 lines
598 B
PHP
<?php
|
|
/*
|
|
* This file is required. It makes owncloud aware of the app.
|
|
*/
|
|
|
|
// Hello, we are here
|
|
OC_App::register( array( "id" => "skeleton", "name" => "Files", "order" => 1000 ));
|
|
|
|
// Add application to navigation
|
|
OC_Util::addNavigationEntry( array( "id" => "skeleton_index", "order" => 1000, "href" => OC_Helper::linkTo( "skeleton", "index.php" ), "icon" => OC_Helper::imagePath( "skeleton", "app.png" ), "name" => "Example app" ));
|
|
|
|
// Add an admin page
|
|
OC_Util::addAdminPage( array( "order" => 1, "href" => OC_Helper::linkTo( "skeleton", "admin.php" ), "name" => "Example app options" ));
|
|
|
|
?>
|