some icon corrections
|
@ -8,7 +8,7 @@ OC_App::addNavigationEntry( array(
|
|||
'id' => 'gallery_index',
|
||||
'order' => 20,
|
||||
'href' => OC_Helper::linkTo('gallery', 'index.php'),
|
||||
'icon' => OC_Helper::linkTo('', 'core/img/filetypes/image.png'),
|
||||
'icon' => OC_Helper::imagePath('core', 'places/picture.svg'),
|
||||
'name' => 'Gallery'));
|
||||
|
||||
class OC_GallerySearchProvider extends OC_Search_Provider{
|
||||
|
@ -17,7 +17,7 @@ OC_App::addNavigationEntry( array(
|
|||
$result = $stmt->execute(array(OC_User::getUser(),'%'.$query.'%'));
|
||||
$results=array();
|
||||
while($row=$result->fetchRow()){
|
||||
$results[]=new OC_Search_Result($row['album_name'],'',OC_Helper::linkTo( 'apps/gallery', 'index.php?view='.$row['album_name']),'Galleries');
|
||||
$results[]=new OC_Search_Result($row['album_name'],'',OC_Helper::linkTo('apps/gallery', 'index.php?view='.$row['album_name']),'Galleries');
|
||||
}
|
||||
return $results;
|
||||
}
|
||||
|
|
|
@ -29,5 +29,5 @@ OC_APP::registerPersonal('media','settings');
|
|||
|
||||
OC_App::register( array( 'order' => 3, 'id' => 'media', 'name' => 'Media' ));
|
||||
|
||||
OC_App::addNavigationEntry( array( 'id' => 'media_index', 'order' => 2, 'href' => OC_Helper::linkTo( 'media', 'index.php' ), 'icon' => OC_Helper::imagePath( 'core', 'filetypes/audio.svg' ), 'name' => $l->t('Music') ));
|
||||
OC_App::addNavigationEntry(array('id' => 'media_index', 'order' => 2, 'href' => OC_Helper::linkTo('media', 'index.php'), 'icon' => OC_Helper::imagePath('core', 'places/music.svg'), 'name' => $l->t('Music')));
|
||||
?>
|
||||
|
|
Before Width: | Height: | Size: 770 B |
After Width: | Height: | Size: 294 B |
Before Width: | Height: | Size: 588 B After Width: | Height: | Size: 519 B |
Before Width: | Height: | Size: 307 B After Width: | Height: | Size: 307 B |
Before Width: | Height: | Size: 52 KiB After Width: | Height: | Size: 52 KiB |