mirror of
https://github.com/owncloud/bookmarks.git
synced 2025-02-26 23:54:25 +01:00
ported the oc_template class
This commit is contained in:
parent
bf63fc4b9e
commit
d5a90dd8e9
@ -32,6 +32,6 @@ OCP\App::setActiveNavigationEntry( 'bookmarks_index' );
|
||||
OCP\Util::addscript('bookmarks','bookmarks');
|
||||
OCP\Util::addStyle('bookmarks', 'bookmarks');
|
||||
|
||||
$tmpl = new OC_Template( 'bookmarks', 'list', 'user' );
|
||||
$tmpl = new OCP\Template( 'bookmarks', 'list', 'user' );
|
||||
|
||||
$tmpl->printPage();
|
||||
|
2
settings.php
Normal file → Executable file
2
settings.php
Normal file → Executable file
@ -6,6 +6,6 @@
|
||||
* See the COPYING-README file.
|
||||
*/
|
||||
|
||||
$tmpl = new OC_Template( 'bookmarks', 'settings');
|
||||
$tmpl = new OCP\Template( 'bookmarks', 'settings');
|
||||
|
||||
return $tmpl->fetchPage();
|
||||
|
Loading…
x
Reference in New Issue
Block a user