summaryrefslogtreecommitdiffstats
path: root/apps/gallery
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-05-01 20:03:41 +0200
committerFrank Karlitschek <frank@owncloud.org>2012-05-01 20:03:41 +0200
commit1a2bbd2ee49db8ec2c83b87718c943f47f91be28 (patch)
treec0f4cd83c6864728f4710566b929f48ef3168852 /apps/gallery
parent254b8b95065b4e2f27a8d2620f26bef65269957b (diff)
downloadnextcloud-server-1a2bbd2ee49db8ec2c83b87718c943f47f91be28.tar.gz
nextcloud-server-1a2bbd2ee49db8ec2c83b87718c943f47f91be28.zip
ported addSyript and other small stuff
Diffstat (limited to 'apps/gallery')
-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');
?>