aboutsummaryrefslogtreecommitdiffstats
path: root/apps/gallery/templates
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gallery/templates')
-rwxr-xr-xapps/gallery/templates/index.php10
-rwxr-xr-x[-rw-r--r--]apps/gallery/templates/view_album.php8
2 files changed, 9 insertions, 9 deletions
diff --git a/apps/gallery/templates/index.php b/apps/gallery/templates/index.php
index 078333ab21e..b550d262a0a 100755
--- a/apps/gallery/templates/index.php
+++ b/apps/gallery/templates/index.php
@@ -1,11 +1,11 @@
<?php
OCP\Util::addStyle('gallery', 'styles');
-OC_Util::addScript('gallery', 'albums');
-OC_Util::addScript('gallery', 'scanner');
-OC_Util::addScript('gallery', 'album_cover');
+OCP\Util::addscript('gallery', 'albums');
+OCP\Util::addscript('gallery', 'scanner');
+OCP\Util::addscript('gallery', 'album_cover');
OCP\Util::addStyle('files', 'files');
-OC_Util::addScript('files_imageviewer', 'jquery.mousewheel-3.0.4.pack');
-OC_Util::addScript('files_imageviewer', 'jquery.fancybox-1.3.4.pack');
+OCP\Util::addscript('files_imageviewer', 'jquery.mousewheel-3.0.4.pack');
+OCP\Util::addscript('files_imageviewer', 'jquery.fancybox-1.3.4.pack');
OCP\Util::addStyle( 'files_imageviewer', 'jquery.fancybox-1.3.4' );
$l = OC_L10N::get('gallery');
?>
diff --git a/apps/gallery/templates/view_album.php b/apps/gallery/templates/view_album.php
index 9abfef901d2..c16ed69c065 100644..100755
--- a/apps/gallery/templates/view_album.php
+++ b/apps/gallery/templates/view_album.php
@@ -1,9 +1,9 @@
<?php
OCP\Util::addStyle('gallery', 'styles');
-OC_Util::addScript('gallery', 'albums');
-OC_Util::addScript('gallery', 'album_cover');
-OC_Util::addScript('files_imageviewer', 'jquery.mousewheel-3.0.4.pack');
-OC_Util::addScript('files_imageviewer', 'jquery.fancybox-1.3.4.pack');
+OCP\Util::addscript('gallery', 'albums');
+OCP\Util::addscript('gallery', 'album_cover');
+OCP\Util::addscript('files_imageviewer', 'jquery.mousewheel-3.0.4.pack');
+OCP\Util::addscript('files_imageviewer', 'jquery.fancybox-1.3.4.pack');
OCP\Util::addStyle( 'files_imageviewer', 'jquery.fancybox-1.3.4' );
$l = OC_L10N::get('gallery');
?>