2011-03-02 01:20:16 +03:00
|
|
|
<?php
|
|
|
|
|
2011-03-04 01:08:11 +03:00
|
|
|
OC_APP::register( array( "order" => 1, "id" => "admin", "name" => "Administration" ));
|
2011-03-02 01:20:16 +03:00
|
|
|
if( OC_USER::ingroup( $_SESSION['username'], 'admin' ))
|
|
|
|
{
|
2011-03-04 01:08:11 +03:00
|
|
|
OC_UTIL::addNavigationEntry( array( "id" => "admin_index", "order" => 1, "href" => OC_HELPER::linkTo( "admin", "index.php" ), "icon" => OC_HELPER::imagePath( "admin", "navicon.png" ), "name" => "Administration" ));
|
2011-03-02 01:20:16 +03:00
|
|
|
}
|
2011-03-04 01:08:11 +03:00
|
|
|
OC_UTIL::addAdminPage( array( "order" => 1, "href" => OC_HELPER::linkTo( "admin", "system.php" ), "name" => "System settings" ));
|
|
|
|
OC_UTIL::addAdminPage( array( "order" => 2, "href" => OC_HELPER::linkTo( "admin", "users.php" ), "name" => "Users" ));
|
|
|
|
OC_UTIL::addAdminPage( array( "order" => 3, "href" => OC_HELPER::linkTo( "admin", "plugins.php" ), "name" => "Plugins" ));
|
2011-03-02 01:20:16 +03:00
|
|
|
|
|
|
|
?>
|