some icon corrections
|
@ -8,7 +8,7 @@ OC_App::addNavigationEntry( array(
|
||||||
'id' => 'gallery_index',
|
'id' => 'gallery_index',
|
||||||
'order' => 20,
|
'order' => 20,
|
||||||
'href' => OC_Helper::linkTo('gallery', 'index.php'),
|
'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'));
|
'name' => 'Gallery'));
|
||||||
|
|
||||||
class OC_GallerySearchProvider extends OC_Search_Provider{
|
class OC_GallerySearchProvider extends OC_Search_Provider{
|
||||||
|
@ -17,7 +17,7 @@ OC_App::addNavigationEntry( array(
|
||||||
$result = $stmt->execute(array(OC_User::getUser(),'%'.$query.'%'));
|
$result = $stmt->execute(array(OC_User::getUser(),'%'.$query.'%'));
|
||||||
$results=array();
|
$results=array();
|
||||||
while($row=$result->fetchRow()){
|
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;
|
return $results;
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,5 +29,5 @@ OC_APP::registerPersonal('media','settings');
|
||||||
|
|
||||||
OC_App::register( array( 'order' => 3, 'id' => 'media', 'name' => 'Media' ));
|
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 |