diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/7.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/7.php b/templates/7.php index 06c73b277..8450eca7c 100644 --- a/templates/7.php +++ b/templates/7.php @@ -12,10 +12,10 @@ function script($app, $file) { if(is_array($file)) { foreach($file as $f) { - OC_Util::addScript($app, $f); + \OCP\Util::addScript($app, $f); } } else { - OC_Util::addScript($app, $file); + \OCP\Util::addScript($app, $file); } } @@ -28,10 +28,10 @@ function script($app, $file) { function style($app, $file) { if(is_array($file)) { foreach($file as $f) { - OC_Util::addStyle($app, $f); + \OCP\Util::addStyle($app, $f); } } else { - OC_Util::addStyle($app, $file); + \OCP\Util::addStyle($app, $file); } } @@ -45,10 +45,10 @@ function component($app, $file) { if(is_array($file)) { foreach($file as $f) { $url = link_to($app, 'component/' . $f . '.html'); - OC_Util::addHeader('link', array('rel' => 'import', 'href' => $url)); + \OCP\Util::addHeader('link', array('rel' => 'import', 'href' => $url)); } } else { $url = link_to($app, 'component/' . $file . '.html'); - OC_Util::addHeader('link', array('rel' => 'import', 'href' => $url)); + \OCP\Util::addHeader('link', array('rel' => 'import', 'href' => $url)); } }
\ No newline at end of file |